From 6266be0edf508a3eb1c0ff51728fa8d4a27c24e8 Mon Sep 17 00:00:00 2001 From: NeilClack Date: Wed, 8 Jul 2026 12:59:55 -0500 Subject: [PATCH] admin: category drag-and-drop reorder + modal-based license key management - Add sortOrder column to ProclamationCategory with migration - Implement drag-and-drop reorder in AdminTable with persist-to-DB - Refactor AdminTable to use $derived + dragOverride (no $effect sync) - Replace window.location.reload with invalidateAll for reorder - Convert license key create to modal with subscription level dropdown - Add LicenseKeyForm.svelte following the CategoryForm pattern - Add replace action (delete + generate new key with same level) - Remove deactivateOld checkbox; each key has its own level - Use use:enhance with update() to refresh list after create/replace --- .../migration.sql | 2 + prisma/schema.prisma | 1 + src/lib/components/admin/AdminTable.svelte | 82 +- src/lib/generated/prisma/browser.ts | 70 +- src/lib/generated/prisma/client.ts | 94 +- src/lib/generated/prisma/commonInputTypes.ts | 666 +-- src/lib/generated/prisma/enums.ts | 15 +- src/lib/generated/prisma/internal/class.ts | 557 ++- .../prisma/internal/prismaNamespace.ts | 3157 +++++++------ .../prisma/internal/prismaNamespaceBrowser.ts | 341 +- src/lib/generated/prisma/models.ts | 32 +- src/lib/generated/prisma/models/Account.ts | 3126 ++++++------ src/lib/generated/prisma/models/Address.ts | 2972 ++++++------ src/lib/generated/prisma/models/LicenseKey.ts | 2573 +++++----- .../generated/prisma/models/Proclamation.ts | 3553 ++++++-------- .../prisma/models/ProclamationCategory.ts | 3204 ++++++------- .../ProclamationCategorySubscriptionLevel.ts | 1399 ++++++ src/lib/generated/prisma/models/Profile.ts | 2753 +++++------ src/lib/generated/prisma/models/Session.ts | 2752 +++++------ .../prisma/models/SolfeggioFrequency.ts | 2468 +++++----- .../prisma/models/SubscriptionLevel.ts | 2560 +++++----- src/lib/generated/prisma/models/User.ts | 4172 ++++++++--------- .../prisma/models/UserProclamations.ts | 2799 +++++------ src/lib/generated/prisma/models/UserRole.ts | 2362 +++++----- .../generated/prisma/models/Verification.ts | 2239 ++++----- src/lib/svelte-admin/registry.ts | 3 +- .../admin/license-keys/+page.server.ts | 63 +- .../admin/license-keys/+page.svelte | 158 +- .../admin/license-keys/LicenseKeyForm.svelte | 91 + .../proclamation-categories/+page.server.ts | 45 +- .../proclamation-categories/+page.svelte | 10 + 31 files changed, 21102 insertions(+), 23217 deletions(-) create mode 100644 prisma/migrations/20260708153915_add_sort_order_to_category/migration.sql create mode 100644 src/lib/generated/prisma/models/ProclamationCategorySubscriptionLevel.ts create mode 100644 src/routes/(protected)/admin/license-keys/LicenseKeyForm.svelte diff --git a/prisma/migrations/20260708153915_add_sort_order_to_category/migration.sql b/prisma/migrations/20260708153915_add_sort_order_to_category/migration.sql new file mode 100644 index 0000000..db0d2ad --- /dev/null +++ b/prisma/migrations/20260708153915_add_sort_order_to_category/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "ProclamationCategory" ADD COLUMN "sortOrder" INTEGER NOT NULL DEFAULT 0; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index a635a79..aa4b517 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -149,6 +149,7 @@ model SolfeggioFrequency { model ProclamationCategory { id Int @id @default(autoincrement()) name String + sortOrder Int @default(0) parentId Int? parent ProclamationCategory? @relation("CategoryHierarchy", fields: [parentId], references: [id]) children ProclamationCategory[] @relation("CategoryHierarchy") diff --git a/src/lib/components/admin/AdminTable.svelte b/src/lib/components/admin/AdminTable.svelte index 3960d1c..d522f4e 100644 --- a/src/lib/components/admin/AdminTable.svelte +++ b/src/lib/components/admin/AdminTable.svelte @@ -8,16 +8,20 @@ searchFields = [], fieldTypes = {} as Record, singular = 'record', + draggable = false, onRowClick, - onNew + onNew, + onReorder }: { records: Record[]; listFields: string[]; searchFields?: string[]; fieldTypes?: Record; singular?: string; + draggable?: boolean; onRowClick?: (record: Record) => void; onNew?: () => void; + onReorder?: (ids: (string | number)[]) => void; } = $props(); let search = $state(''); @@ -48,6 +52,15 @@ : filtered ); + let isDragging = $state(false); + + let dragOverride = $state[] | null>(null); + + let rows = $derived(dragOverride ?? sorted); + + let dragIndex = $state(null); + let hoverIndex = $state(null); + function toggleSort(field: string) { if (sortCol === field) { sortAsc = !sortAsc; @@ -57,6 +70,45 @@ } } + function handleDragStart(e: DragEvent, i: number) { + dragOverride = sorted; + isDragging = true; + dragIndex = i; + hoverIndex = i; + e.dataTransfer!.effectAllowed = 'move'; + e.dataTransfer!.setData('text/plain', ''); + } + + function handleDragOver(e: DragEvent, i: number) { + if (dragIndex === null) return; + e.preventDefault(); + if (i === hoverIndex) return; + e.dataTransfer!.dropEffect = 'move'; + + const reordered = rows.slice(); + const [moved] = reordered.splice(dragIndex, 1); + reordered.splice(i, 0, moved); + dragOverride = reordered; + dragIndex = i; + hoverIndex = i; + } + + async function handleDrop() { + if (dragIndex === null) return; + const ids = rows.map((r) => r.id as string | number); + await onReorder?.(ids); + isDragging = false; + dragIndex = null; + hoverIndex = null; + } + + function handleDragEnd() { + dragOverride = null; + isDragging = false; + dragIndex = null; + hoverIndex = null; + } + function formatCellValue(v: unknown, field: string): string { if (v == null) return ''; const ft = fieldTypes[field]; @@ -100,6 +152,9 @@ + {#if draggable} + + {/if} {#each listFields as field (field)} - {#each sorted as record, i ((record['id'] as string) ?? (record['key'] as string) ?? i)} + {#each rows as record, i ((record['id'] as string) ?? (record['key'] as string) ?? i)} handleDragStart(e, i)} + ondragover={(e) => handleDragOver(e, i)} + ondrop={handleDrop} + ondragend={handleDragEnd} onclick={() => onRowClick?.(record)} - class="cursor-pointer border-b border-gray-200 hover:bg-gray-100 dark:border-gray-700 dark:text-gray-100 dark:hover:bg-gray-800" + class="border-b border-gray-200 hover:bg-gray-100 dark:border-gray-700 dark:text-gray-100 dark:hover:bg-gray-800 {draggable && + isDragging && + dragIndex === i + ? 'opacity-40' + : ''} {draggable && isDragging && hoverIndex === i + ? 'border-t-2 border-t-blue-500' + : ''}" > + {#if draggable} + + {/if} {#each listFields as field (field)}
e.stopPropagation()} + > + ⠿ + {formatCellValue(resolveFieldValue(record, field), field)} @@ -129,7 +203,7 @@ {:else}
No {singular}s found. diff --git a/src/lib/generated/prisma/browser.ts b/src/lib/generated/prisma/browser.ts index 60098d1..336735f 100644 --- a/src/lib/generated/prisma/browser.ts +++ b/src/lib/generated/prisma/browser.ts @@ -1,83 +1,89 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* - * This file should be your main import to use Prisma-related types and utilities in a browser. + * This file should be your main import to use Prisma-related types and utilities in a browser. * Use it to get access to models, enums, and input types. - * + * * This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only. * See `client.ts` for the standard, server-side entry point. * * 🟢 You can import this file directly. */ -import * as Prisma from './internal/prismaNamespaceBrowser.ts'; -export { Prisma }; -export * as $Enums from './enums.ts'; +import * as Prisma from './internal/prismaNamespaceBrowser.ts' +export { Prisma } +export * as $Enums from './enums.ts' export * from './enums.ts'; /** * Model User - * + * */ -export type User = Prisma.UserModel; +export type User = Prisma.UserModel /** * Model Profile - * + * */ -export type Profile = Prisma.ProfileModel; +export type Profile = Prisma.ProfileModel /** * Model Address - * + * */ -export type Address = Prisma.AddressModel; +export type Address = Prisma.AddressModel /** * Model Session - * + * */ -export type Session = Prisma.SessionModel; +export type Session = Prisma.SessionModel /** * Model Account - * + * */ -export type Account = Prisma.AccountModel; +export type Account = Prisma.AccountModel /** * Model UserRole - * + * */ -export type UserRole = Prisma.UserRoleModel; +export type UserRole = Prisma.UserRoleModel /** * Model Verification - * + * */ -export type Verification = Prisma.VerificationModel; +export type Verification = Prisma.VerificationModel /** * Model Proclamation - * + * */ -export type Proclamation = Prisma.ProclamationModel; +export type Proclamation = Prisma.ProclamationModel /** * Model UserProclamations - * + * */ -export type UserProclamations = Prisma.UserProclamationsModel; +export type UserProclamations = Prisma.UserProclamationsModel /** * Model SolfeggioFrequency - * + * */ -export type SolfeggioFrequency = Prisma.SolfeggioFrequencyModel; +export type SolfeggioFrequency = Prisma.SolfeggioFrequencyModel /** * Model ProclamationCategory - * + * */ -export type ProclamationCategory = Prisma.ProclamationCategoryModel; +export type ProclamationCategory = Prisma.ProclamationCategoryModel +/** + * Model ProclamationCategorySubscriptionLevel + * + */ +export type ProclamationCategorySubscriptionLevel = Prisma.ProclamationCategorySubscriptionLevelModel /** * Model LicenseKey - * + * */ -export type LicenseKey = Prisma.LicenseKeyModel; +export type LicenseKey = Prisma.LicenseKeyModel /** * Model SubscriptionLevel - * + * */ -export type SubscriptionLevel = Prisma.SubscriptionLevelModel; +export type SubscriptionLevel = Prisma.SubscriptionLevelModel diff --git a/src/lib/generated/prisma/client.ts b/src/lib/generated/prisma/client.ts index ca17c29..bedd3ee 100644 --- a/src/lib/generated/prisma/client.ts +++ b/src/lib/generated/prisma/client.ts @@ -1,7 +1,8 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types. * If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead. @@ -9,21 +10,21 @@ * 🟢 You can import this file directly. */ -import * as process from 'node:process'; -import * as path from 'node:path'; -import { fileURLToPath } from 'node:url'; -globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url)); +import * as process from 'node:process' +import * as path from 'node:path' +import { fileURLToPath } from 'node:url' +globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url)) -import * as runtime from '@prisma/client/runtime/client'; -import * as $Enums from './enums.ts'; -import * as $Class from './internal/class.ts'; -import * as Prisma from './internal/prismaNamespace.ts'; +import * as runtime from "@prisma/client/runtime/client" +import * as $Enums from "./enums.ts" +import * as $Class from "./internal/class.ts" +import * as Prisma from "./internal/prismaNamespace.ts" -export * as $Enums from './enums.ts'; -export * from './enums.ts'; +export * as $Enums from './enums.ts' +export * from "./enums.ts" /** * ## Prisma Client - * + * * Type-safe database client for TypeScript * @example * ``` @@ -33,79 +34,80 @@ export * from './enums.ts'; * // Fetch zero or more Users * const users = await prisma.user.findMany() * ``` - * + * * Read more in our [docs](https://pris.ly/d/client). */ -export const PrismaClient = $Class.getPrismaClientClass(); -export type PrismaClient< - LogOpts extends Prisma.LogLevel = never, - OmitOpts extends Prisma.PrismaClientOptions['omit'] = Prisma.PrismaClientOptions['omit'], - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = $Class.PrismaClient; -export { Prisma }; +export const PrismaClient = $Class.getPrismaClientClass() +export type PrismaClient = $Class.PrismaClient +export { Prisma } /** * Model User - * + * */ -export type User = Prisma.UserModel; +export type User = Prisma.UserModel /** * Model Profile - * + * */ -export type Profile = Prisma.ProfileModel; +export type Profile = Prisma.ProfileModel /** * Model Address - * + * */ -export type Address = Prisma.AddressModel; +export type Address = Prisma.AddressModel /** * Model Session - * + * */ -export type Session = Prisma.SessionModel; +export type Session = Prisma.SessionModel /** * Model Account - * + * */ -export type Account = Prisma.AccountModel; +export type Account = Prisma.AccountModel /** * Model UserRole - * + * */ -export type UserRole = Prisma.UserRoleModel; +export type UserRole = Prisma.UserRoleModel /** * Model Verification - * + * */ -export type Verification = Prisma.VerificationModel; +export type Verification = Prisma.VerificationModel /** * Model Proclamation - * + * */ -export type Proclamation = Prisma.ProclamationModel; +export type Proclamation = Prisma.ProclamationModel /** * Model UserProclamations - * + * */ -export type UserProclamations = Prisma.UserProclamationsModel; +export type UserProclamations = Prisma.UserProclamationsModel /** * Model SolfeggioFrequency - * + * */ -export type SolfeggioFrequency = Prisma.SolfeggioFrequencyModel; +export type SolfeggioFrequency = Prisma.SolfeggioFrequencyModel /** * Model ProclamationCategory - * + * */ -export type ProclamationCategory = Prisma.ProclamationCategoryModel; +export type ProclamationCategory = Prisma.ProclamationCategoryModel +/** + * Model ProclamationCategorySubscriptionLevel + * + */ +export type ProclamationCategorySubscriptionLevel = Prisma.ProclamationCategorySubscriptionLevelModel /** * Model LicenseKey - * + * */ -export type LicenseKey = Prisma.LicenseKeyModel; +export type LicenseKey = Prisma.LicenseKeyModel /** * Model SubscriptionLevel - * + * */ -export type SubscriptionLevel = Prisma.SubscriptionLevelModel; +export type SubscriptionLevel = Prisma.SubscriptionLevelModel diff --git a/src/lib/generated/prisma/commonInputTypes.ts b/src/lib/generated/prisma/commonInputTypes.ts index 9d5baa4..12bb059 100644 --- a/src/lib/generated/prisma/commonInputTypes.ts +++ b/src/lib/generated/prisma/commonInputTypes.ts @@ -1,402 +1,406 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports various common sort, input & filter types that are not directly linked to a particular model. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import * as $Enums from './enums.ts'; -import type * as Prisma from './internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import * as $Enums from "./enums.ts" +import type * as Prisma from "./internal/prismaNamespace.ts" + export type StringFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel>; - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; - lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - mode?: Prisma.QueryMode; - not?: Prisma.NestedStringFilter<$PrismaModel> | string; -}; + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + mode?: Prisma.QueryMode + not?: Prisma.NestedStringFilter<$PrismaModel> | string +} export type BoolFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>; - not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean; -}; + equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> + not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean +} export type StringNullableFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null; - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; - lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - mode?: Prisma.QueryMode; - not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null; -}; + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + mode?: Prisma.QueryMode + not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null +} export type DateTimeFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string; -}; + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string +} export type IntNullableFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null; - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; - lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null; -}; + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null +} export type SortOrderInput = { - sort: Prisma.SortOrder; - nulls?: Prisma.NullsOrder; -}; + sort: Prisma.SortOrder + nulls?: Prisma.NullsOrder +} export type StringWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel>; - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; - lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - mode?: Prisma.QueryMode; - not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string; - _count?: Prisma.NestedIntFilter<$PrismaModel>; - _min?: Prisma.NestedStringFilter<$PrismaModel>; - _max?: Prisma.NestedStringFilter<$PrismaModel>; -}; + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + mode?: Prisma.QueryMode + not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string + _count?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedStringFilter<$PrismaModel> + _max?: Prisma.NestedStringFilter<$PrismaModel> +} export type BoolWithAggregatesFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>; - not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean; - _count?: Prisma.NestedIntFilter<$PrismaModel>; - _min?: Prisma.NestedBoolFilter<$PrismaModel>; - _max?: Prisma.NestedBoolFilter<$PrismaModel>; -}; + equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> + not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean + _count?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedBoolFilter<$PrismaModel> + _max?: Prisma.NestedBoolFilter<$PrismaModel> +} export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null; - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; - lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - mode?: Prisma.QueryMode; - not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null; - _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; - _min?: Prisma.NestedStringNullableFilter<$PrismaModel>; - _max?: Prisma.NestedStringNullableFilter<$PrismaModel>; -}; + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + mode?: Prisma.QueryMode + not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedStringNullableFilter<$PrismaModel> + _max?: Prisma.NestedStringNullableFilter<$PrismaModel> +} export type DateTimeWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string; - _count?: Prisma.NestedIntFilter<$PrismaModel>; - _min?: Prisma.NestedDateTimeFilter<$PrismaModel>; - _max?: Prisma.NestedDateTimeFilter<$PrismaModel>; -}; + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string + _count?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedDateTimeFilter<$PrismaModel> + _max?: Prisma.NestedDateTimeFilter<$PrismaModel> +} export type IntNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null; - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; - lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null; - _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; - _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>; - _sum?: Prisma.NestedIntNullableFilter<$PrismaModel>; - _min?: Prisma.NestedIntNullableFilter<$PrismaModel>; - _max?: Prisma.NestedIntNullableFilter<$PrismaModel>; -}; + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> + _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedIntNullableFilter<$PrismaModel> + _max?: Prisma.NestedIntNullableFilter<$PrismaModel> +} export type DateTimeNullableFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null; - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null; - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null; - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null; -}; + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null +} export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null; - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null; - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null; - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null; - _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; - _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>; - _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>; -}; + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> + _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> +} export type IntFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel>; - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>; - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>; - lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - not?: Prisma.NestedIntFilter<$PrismaModel> | number; -}; + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntFilter<$PrismaModel> | number +} export type IntWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel>; - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>; - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>; - lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number; - _count?: Prisma.NestedIntFilter<$PrismaModel>; - _avg?: Prisma.NestedFloatFilter<$PrismaModel>; - _sum?: Prisma.NestedIntFilter<$PrismaModel>; - _min?: Prisma.NestedIntFilter<$PrismaModel>; - _max?: Prisma.NestedIntFilter<$PrismaModel>; -}; + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number + _count?: Prisma.NestedIntFilter<$PrismaModel> + _avg?: Prisma.NestedFloatFilter<$PrismaModel> + _sum?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedIntFilter<$PrismaModel> + _max?: Prisma.NestedIntFilter<$PrismaModel> +} export type NestedStringFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel>; - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; - lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - not?: Prisma.NestedStringFilter<$PrismaModel> | string; -}; + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringFilter<$PrismaModel> | string +} export type NestedBoolFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>; - not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean; -}; + equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> + not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean +} export type NestedStringNullableFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null; - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; - lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null; -}; + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null +} export type NestedDateTimeFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string; -}; + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string +} export type NestedIntNullableFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null; - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; - lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null; -}; + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null +} export type NestedStringWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel>; - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; - lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string; - _count?: Prisma.NestedIntFilter<$PrismaModel>; - _min?: Prisma.NestedStringFilter<$PrismaModel>; - _max?: Prisma.NestedStringFilter<$PrismaModel>; -}; + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string + _count?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedStringFilter<$PrismaModel> + _max?: Prisma.NestedStringFilter<$PrismaModel> +} export type NestedIntFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel>; - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>; - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>; - lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - not?: Prisma.NestedIntFilter<$PrismaModel> | number; -}; + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntFilter<$PrismaModel> | number +} export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>; - not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean; - _count?: Prisma.NestedIntFilter<$PrismaModel>; - _min?: Prisma.NestedBoolFilter<$PrismaModel>; - _max?: Prisma.NestedBoolFilter<$PrismaModel>; -}; + equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> + not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean + _count?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedBoolFilter<$PrismaModel> + _max?: Prisma.NestedBoolFilter<$PrismaModel> +} export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null; - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; - lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; - gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; - contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; - not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null; - _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; - _min?: Prisma.NestedStringNullableFilter<$PrismaModel>; - _max?: Prisma.NestedStringNullableFilter<$PrismaModel>; -}; + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedStringNullableFilter<$PrismaModel> + _max?: Prisma.NestedStringNullableFilter<$PrismaModel> +} export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string; - _count?: Prisma.NestedIntFilter<$PrismaModel>; - _min?: Prisma.NestedDateTimeFilter<$PrismaModel>; - _max?: Prisma.NestedDateTimeFilter<$PrismaModel>; -}; + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string + _count?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedDateTimeFilter<$PrismaModel> + _max?: Prisma.NestedDateTimeFilter<$PrismaModel> +} export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null; - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; - lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null; - _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; - _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>; - _sum?: Prisma.NestedIntNullableFilter<$PrismaModel>; - _min?: Prisma.NestedIntNullableFilter<$PrismaModel>; - _max?: Prisma.NestedIntNullableFilter<$PrismaModel>; -}; + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> + _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedIntNullableFilter<$PrismaModel> + _max?: Prisma.NestedIntNullableFilter<$PrismaModel> +} export type NestedFloatNullableFilter<$PrismaModel = never> = { - equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null; - in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null; - notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null; - lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>; - lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>; - gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>; - gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>; - not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null; -}; + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null + in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null + notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null +} export type NestedDateTimeNullableFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null; - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null; - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null; - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null; -}; + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null +} export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null; - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null; - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null; - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; - not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null; - _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; - _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>; - _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>; -}; + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> + _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> +} export type NestedIntWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel>; - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>; - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>; - lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; - gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; - not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number; - _count?: Prisma.NestedIntFilter<$PrismaModel>; - _avg?: Prisma.NestedFloatFilter<$PrismaModel>; - _sum?: Prisma.NestedIntFilter<$PrismaModel>; - _min?: Prisma.NestedIntFilter<$PrismaModel>; - _max?: Prisma.NestedIntFilter<$PrismaModel>; -}; + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number + _count?: Prisma.NestedIntFilter<$PrismaModel> + _avg?: Prisma.NestedFloatFilter<$PrismaModel> + _sum?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedIntFilter<$PrismaModel> + _max?: Prisma.NestedIntFilter<$PrismaModel> +} export type NestedFloatFilter<$PrismaModel = never> = { - equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>; - in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>; - notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>; - lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>; - lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>; - gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>; - gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>; - not?: Prisma.NestedFloatFilter<$PrismaModel> | number; -}; + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> + in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> + notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + not?: Prisma.NestedFloatFilter<$PrismaModel> | number +} + + diff --git a/src/lib/generated/prisma/enums.ts b/src/lib/generated/prisma/enums.ts index ce74751..043572d 100644 --- a/src/lib/generated/prisma/enums.ts +++ b/src/lib/generated/prisma/enums.ts @@ -1,12 +1,15 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* - * This file exports all enum related types from the schema. - * - * 🟢 You can import this file directly. - */ +* This file exports all enum related types from the schema. +* +* 🟢 You can import this file directly. +*/ + + // This file is empty because there are no enums in the schema. -export {}; +export {} diff --git a/src/lib/generated/prisma/internal/class.ts b/src/lib/generated/prisma/internal/class.ts index dfb6509..5bab12c 100644 --- a/src/lib/generated/prisma/internal/class.ts +++ b/src/lib/generated/prisma/internal/class.ts @@ -1,7 +1,8 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * WARNING: This is an internal file that is subject to change! * @@ -10,96 +11,83 @@ * Please import the `PrismaClient` class from the `client.ts` file instead. */ -import * as runtime from '@prisma/client/runtime/client'; -import type * as Prisma from './prismaNamespace.ts'; +import * as runtime from "@prisma/client/runtime/client" +import type * as Prisma from "./prismaNamespace.ts" + const config: runtime.GetPrismaClientConfig = { - previewFeatures: [], - clientVersion: '7.8.0', - engineVersion: '3c6e192761c0362d496ed980de936e2f3cebcd3a', - activeProvider: 'postgresql', - inlineSchema: - '// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = "prisma-client"\n output = "../src/lib/generated/prisma"\n}\n\ndatasource db {\n provider = "postgresql"\n}\n\nmodel User {\n id String @id\n name String\n email String\n emailVerified Boolean @default(false)\n image String?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n roleId Int?\n role UserRole? @relation(fields: [roleId], references: [id])\n sessions Session[]\n accounts Account[]\n profile Profile?\n licenseKeys LicenseKey[]\n userProclamations UserProclamations[]\n\n @@unique([email])\n @@map("user")\n}\n\n// I chose to create a Profile table here because honestly, I didn\'t want to waste\n// a bunch of time trying to figure out how to customize the default Better-Auth model. \nmodel Profile {\n id String @id @default(uuid())\n userId String @unique\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n firstName String\n lastName String\n phoneNumber String\n ghlContactId String? @map("ghl_contact_id")\n addresses Address[]\n}\n\nmodel Address {\n id String @id @default(uuid())\n profileId String\n profile Profile @relation(fields: [profileId], references: [id], onDelete: Cascade)\n street String\n city String\n state String\n postalCode String\n country String\n type String @default("Mailing")\n isDefaultMailing Boolean @default(false)\n isDefaultBilling Boolean @default(false)\n isDefaultShipping Boolean @default(false)\n}\n\nmodel Session {\n id String @id\n expiresAt DateTime\n token String\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n ipAddress String?\n userAgent String?\n userId String\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([token])\n @@index([userId])\n @@map("session")\n}\n\nmodel Account {\n id String @id\n accountId String\n providerId String\n userId String\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n accessToken String?\n refreshToken String?\n idToken String?\n accessTokenExpiresAt DateTime?\n refreshTokenExpiresAt DateTime?\n scope String?\n password String?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@index([userId])\n @@map("account")\n}\n\nmodel UserRole {\n id Int @id @default(autoincrement())\n name String\n users User[]\n}\n\nmodel Verification {\n id String @id\n identifier String\n value String\n expiresAt DateTime\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@index([identifier])\n @@map("verification")\n}\n\nmodel Proclamation {\n id String @id @default(uuid())\n name String @unique\n content String\n solfeggioFrequencyId Int\n solfeggioFrequency SolfeggioFrequency @relation(fields: [solfeggioFrequencyId], references: [id])\n categoryId Int\n category ProclamationCategory @relation(fields: [categoryId], references: [id])\n userProclamations UserProclamations[]\n subscriptionLevelId Int @default(1)\n subscriptionLevel SubscriptionLevel @relation(fields: [subscriptionLevelId], references: [id])\n\n @@index(subscriptionLevelId)\n}\n\nmodel UserProclamations {\n userId String\n user User @relation(fields: [userId], references: [id])\n proclamationId String\n proclamation Proclamation @relation(fields: [proclamationId], references: [id])\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@id([userId, proclamationId])\n}\n\nmodel SolfeggioFrequency {\n id Int @id @default(autoincrement())\n name String @unique\n value Int @unique\n proclamations Proclamation[]\n}\n\nmodel ProclamationCategory {\n id Int @id @default(autoincrement())\n name String\n parentId Int?\n parent ProclamationCategory? @relation("CategoryHierarchy", fields: [parentId], references: [id])\n children ProclamationCategory[] @relation("CategoryHierarchy")\n proclamations Proclamation[]\n\n @@unique([parentId, name])\n}\n\nmodel LicenseKey {\n id String @id @default(uuid())\n key String @unique\n active Boolean\n level String\n userId String\n user User @relation(fields: [userId], references: [id])\n}\n\nmodel SubscriptionLevel {\n id Int @id @default(autoincrement())\n name String\n description String?\n proclamations Proclamation[]\n}\n', - runtimeDataModel: { - models: {}, - enums: {}, - types: {} - }, - parameterizationSchema: { - strings: [], - graph: '' - } -}; + "previewFeatures": [], + "clientVersion": "7.8.0", + "engineVersion": "3c6e192761c0362d496ed980de936e2f3cebcd3a", + "activeProvider": "postgresql", + "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client\"\n output = \"../src/lib/generated/prisma\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\nmodel User {\n id String @id\n name String\n email String\n emailVerified Boolean @default(false)\n image String?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n roleId Int?\n role UserRole? @relation(fields: [roleId], references: [id])\n sessions Session[]\n accounts Account[]\n profile Profile?\n licenseKeys LicenseKey[]\n userProclamations UserProclamations[]\n\n @@unique([email])\n @@map(\"user\")\n}\n\n// I chose to create a Profile table here because honestly, I didn't want to waste\n// a bunch of time trying to figure out how to customize the default Better-Auth model. \nmodel Profile {\n id String @id @default(uuid())\n userId String @unique\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n firstName String\n lastName String\n phoneNumber String\n ghlContactId String? @map(\"ghl_contact_id\")\n addresses Address[]\n}\n\nmodel Address {\n id String @id @default(uuid())\n profileId String\n profile Profile @relation(fields: [profileId], references: [id], onDelete: Cascade)\n street String\n city String\n state String\n postalCode String\n country String\n type String @default(\"Mailing\")\n isDefaultMailing Boolean @default(false)\n isDefaultBilling Boolean @default(false)\n isDefaultShipping Boolean @default(false)\n}\n\nmodel Session {\n id String @id\n expiresAt DateTime\n token String\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n ipAddress String?\n userAgent String?\n userId String\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([token])\n @@index([userId])\n @@map(\"session\")\n}\n\nmodel Account {\n id String @id\n accountId String\n providerId String\n userId String\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n accessToken String?\n refreshToken String?\n idToken String?\n accessTokenExpiresAt DateTime?\n refreshTokenExpiresAt DateTime?\n scope String?\n password String?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@index([userId])\n @@map(\"account\")\n}\n\nmodel UserRole {\n id Int @id @default(autoincrement())\n name String\n users User[]\n}\n\nmodel Verification {\n id String @id\n identifier String\n value String\n expiresAt DateTime\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@index([identifier])\n @@map(\"verification\")\n}\n\nmodel Proclamation {\n id String @id @default(uuid())\n name String @unique\n content String\n solfeggioFrequencyId Int\n solfeggioFrequency SolfeggioFrequency @relation(fields: [solfeggioFrequencyId], references: [id])\n categoryId Int\n category ProclamationCategory @relation(fields: [categoryId], references: [id])\n userProclamations UserProclamations[]\n subscriptionLevelId Int // Keeping old FK for migration stability\n subscriptionLevel SubscriptionLevel @relation(fields: [subscriptionLevelId], references: [id])\n}\n\nmodel UserProclamations {\n userId String\n user User @relation(fields: [userId], references: [id])\n proclamationId String\n proclamation Proclamation @relation(fields: [proclamationId], references: [id])\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@id([userId, proclamationId])\n}\n\nmodel SolfeggioFrequency {\n id Int @id @default(autoincrement())\n name String @unique\n value Int @unique\n proclamations Proclamation[]\n}\n\nmodel ProclamationCategory {\n id Int @id @default(autoincrement())\n name String\n sortOrder Int @default(0)\n parentId Int?\n parent ProclamationCategory? @relation(\"CategoryHierarchy\", fields: [parentId], references: [id])\n children ProclamationCategory[] @relation(\"CategoryHierarchy\")\n proclamations Proclamation[]\n subscriptionLevels ProclamationCategorySubscriptionLevel[]\n\n @@unique([parentId, name])\n}\n\n// Join table for ProclamationCategory -> SubscriptionLevel defaults\nmodel ProclamationCategorySubscriptionLevel {\n categoryId Int\n category ProclamationCategory @relation(fields: [categoryId], references: [id], onDelete: Cascade)\n subscriptionLevelId Int\n subscriptionLevel SubscriptionLevel @relation(fields: [subscriptionLevelId], references: [id], onDelete: Cascade)\n\n @@id([categoryId, subscriptionLevelId])\n}\n\nmodel LicenseKey {\n id String @id @default(uuid())\n key String @unique\n active Boolean\n level String\n userId String\n user User @relation(fields: [userId], references: [id])\n}\n\nmodel SubscriptionLevel {\n id Int @id @default(autoincrement())\n name String\n description String?\n proclamations Proclamation[]\n categoryLevels ProclamationCategorySubscriptionLevel[]\n}\n", + "runtimeDataModel": { + "models": {}, + "enums": {}, + "types": {} + }, + "parameterizationSchema": { + "strings": [], + "graph": "" + } +} -config.runtimeDataModel = JSON.parse( - '{"models":{"User":{"fields":[{"name":"id","kind":"scalar","type":"String"},{"name":"name","kind":"scalar","type":"String"},{"name":"email","kind":"scalar","type":"String"},{"name":"emailVerified","kind":"scalar","type":"Boolean"},{"name":"image","kind":"scalar","type":"String"},{"name":"createdAt","kind":"scalar","type":"DateTime"},{"name":"updatedAt","kind":"scalar","type":"DateTime"},{"name":"roleId","kind":"scalar","type":"Int"},{"name":"role","kind":"object","type":"UserRole","relationName":"UserToUserRole"},{"name":"sessions","kind":"object","type":"Session","relationName":"SessionToUser"},{"name":"accounts","kind":"object","type":"Account","relationName":"AccountToUser"},{"name":"profile","kind":"object","type":"Profile","relationName":"ProfileToUser"},{"name":"licenseKeys","kind":"object","type":"LicenseKey","relationName":"LicenseKeyToUser"},{"name":"userProclamations","kind":"object","type":"UserProclamations","relationName":"UserToUserProclamations"}],"dbName":"user"},"Profile":{"fields":[{"name":"id","kind":"scalar","type":"String"},{"name":"userId","kind":"scalar","type":"String"},{"name":"user","kind":"object","type":"User","relationName":"ProfileToUser"},{"name":"firstName","kind":"scalar","type":"String"},{"name":"lastName","kind":"scalar","type":"String"},{"name":"phoneNumber","kind":"scalar","type":"String"},{"name":"ghlContactId","kind":"scalar","type":"String","dbName":"ghl_contact_id"},{"name":"addresses","kind":"object","type":"Address","relationName":"AddressToProfile"}],"dbName":null},"Address":{"fields":[{"name":"id","kind":"scalar","type":"String"},{"name":"profileId","kind":"scalar","type":"String"},{"name":"profile","kind":"object","type":"Profile","relationName":"AddressToProfile"},{"name":"street","kind":"scalar","type":"String"},{"name":"city","kind":"scalar","type":"String"},{"name":"state","kind":"scalar","type":"String"},{"name":"postalCode","kind":"scalar","type":"String"},{"name":"country","kind":"scalar","type":"String"},{"name":"type","kind":"scalar","type":"String"},{"name":"isDefaultMailing","kind":"scalar","type":"Boolean"},{"name":"isDefaultBilling","kind":"scalar","type":"Boolean"},{"name":"isDefaultShipping","kind":"scalar","type":"Boolean"}],"dbName":null},"Session":{"fields":[{"name":"id","kind":"scalar","type":"String"},{"name":"expiresAt","kind":"scalar","type":"DateTime"},{"name":"token","kind":"scalar","type":"String"},{"name":"createdAt","kind":"scalar","type":"DateTime"},{"name":"updatedAt","kind":"scalar","type":"DateTime"},{"name":"ipAddress","kind":"scalar","type":"String"},{"name":"userAgent","kind":"scalar","type":"String"},{"name":"userId","kind":"scalar","type":"String"},{"name":"user","kind":"object","type":"User","relationName":"SessionToUser"}],"dbName":"session"},"Account":{"fields":[{"name":"id","kind":"scalar","type":"String"},{"name":"accountId","kind":"scalar","type":"String"},{"name":"providerId","kind":"scalar","type":"String"},{"name":"userId","kind":"scalar","type":"String"},{"name":"user","kind":"object","type":"User","relationName":"AccountToUser"},{"name":"accessToken","kind":"scalar","type":"String"},{"name":"refreshToken","kind":"scalar","type":"String"},{"name":"idToken","kind":"scalar","type":"String"},{"name":"accessTokenExpiresAt","kind":"scalar","type":"DateTime"},{"name":"refreshTokenExpiresAt","kind":"scalar","type":"DateTime"},{"name":"scope","kind":"scalar","type":"String"},{"name":"password","kind":"scalar","type":"String"},{"name":"createdAt","kind":"scalar","type":"DateTime"},{"name":"updatedAt","kind":"scalar","type":"DateTime"}],"dbName":"account"},"UserRole":{"fields":[{"name":"id","kind":"scalar","type":"Int"},{"name":"name","kind":"scalar","type":"String"},{"name":"users","kind":"object","type":"User","relationName":"UserToUserRole"}],"dbName":null},"Verification":{"fields":[{"name":"id","kind":"scalar","type":"String"},{"name":"identifier","kind":"scalar","type":"String"},{"name":"value","kind":"scalar","type":"String"},{"name":"expiresAt","kind":"scalar","type":"DateTime"},{"name":"createdAt","kind":"scalar","type":"DateTime"},{"name":"updatedAt","kind":"scalar","type":"DateTime"}],"dbName":"verification"},"Proclamation":{"fields":[{"name":"id","kind":"scalar","type":"String"},{"name":"name","kind":"scalar","type":"String"},{"name":"content","kind":"scalar","type":"String"},{"name":"solfeggioFrequencyId","kind":"scalar","type":"Int"},{"name":"solfeggioFrequency","kind":"object","type":"SolfeggioFrequency","relationName":"ProclamationToSolfeggioFrequency"},{"name":"categoryId","kind":"scalar","type":"Int"},{"name":"category","kind":"object","type":"ProclamationCategory","relationName":"ProclamationToProclamationCategory"},{"name":"userProclamations","kind":"object","type":"UserProclamations","relationName":"ProclamationToUserProclamations"},{"name":"subscriptionLevelId","kind":"scalar","type":"Int"},{"name":"subscriptionLevel","kind":"object","type":"SubscriptionLevel","relationName":"ProclamationToSubscriptionLevel"}],"dbName":null},"UserProclamations":{"fields":[{"name":"userId","kind":"scalar","type":"String"},{"name":"user","kind":"object","type":"User","relationName":"UserToUserProclamations"},{"name":"proclamationId","kind":"scalar","type":"String"},{"name":"proclamation","kind":"object","type":"Proclamation","relationName":"ProclamationToUserProclamations"},{"name":"createdAt","kind":"scalar","type":"DateTime"},{"name":"updatedAt","kind":"scalar","type":"DateTime"}],"dbName":null},"SolfeggioFrequency":{"fields":[{"name":"id","kind":"scalar","type":"Int"},{"name":"name","kind":"scalar","type":"String"},{"name":"value","kind":"scalar","type":"Int"},{"name":"proclamations","kind":"object","type":"Proclamation","relationName":"ProclamationToSolfeggioFrequency"}],"dbName":null},"ProclamationCategory":{"fields":[{"name":"id","kind":"scalar","type":"Int"},{"name":"name","kind":"scalar","type":"String"},{"name":"parentId","kind":"scalar","type":"Int"},{"name":"parent","kind":"object","type":"ProclamationCategory","relationName":"CategoryHierarchy"},{"name":"children","kind":"object","type":"ProclamationCategory","relationName":"CategoryHierarchy"},{"name":"proclamations","kind":"object","type":"Proclamation","relationName":"ProclamationToProclamationCategory"}],"dbName":null},"LicenseKey":{"fields":[{"name":"id","kind":"scalar","type":"String"},{"name":"key","kind":"scalar","type":"String"},{"name":"active","kind":"scalar","type":"Boolean"},{"name":"level","kind":"scalar","type":"String"},{"name":"userId","kind":"scalar","type":"String"},{"name":"user","kind":"object","type":"User","relationName":"LicenseKeyToUser"}],"dbName":null},"SubscriptionLevel":{"fields":[{"name":"id","kind":"scalar","type":"Int"},{"name":"name","kind":"scalar","type":"String"},{"name":"description","kind":"scalar","type":"String"},{"name":"proclamations","kind":"object","type":"Proclamation","relationName":"ProclamationToSubscriptionLevel"}],"dbName":null}},"enums":{},"types":{}}' -); +config.runtimeDataModel = JSON.parse("{\"models\":{\"User\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"emailVerified\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"image\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"roleId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"role\",\"kind\":\"object\",\"type\":\"UserRole\",\"relationName\":\"UserToUserRole\"},{\"name\":\"sessions\",\"kind\":\"object\",\"type\":\"Session\",\"relationName\":\"SessionToUser\"},{\"name\":\"accounts\",\"kind\":\"object\",\"type\":\"Account\",\"relationName\":\"AccountToUser\"},{\"name\":\"profile\",\"kind\":\"object\",\"type\":\"Profile\",\"relationName\":\"ProfileToUser\"},{\"name\":\"licenseKeys\",\"kind\":\"object\",\"type\":\"LicenseKey\",\"relationName\":\"LicenseKeyToUser\"},{\"name\":\"userProclamations\",\"kind\":\"object\",\"type\":\"UserProclamations\",\"relationName\":\"UserToUserProclamations\"}],\"dbName\":\"user\"},\"Profile\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"ProfileToUser\"},{\"name\":\"firstName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"lastName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phoneNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"ghlContactId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"ghl_contact_id\"},{\"name\":\"addresses\",\"kind\":\"object\",\"type\":\"Address\",\"relationName\":\"AddressToProfile\"}],\"dbName\":null},\"Address\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"profileId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"profile\",\"kind\":\"object\",\"type\":\"Profile\",\"relationName\":\"AddressToProfile\"},{\"name\":\"street\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"city\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"state\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"postalCode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"country\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"isDefaultMailing\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"isDefaultBilling\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"isDefaultShipping\",\"kind\":\"scalar\",\"type\":\"Boolean\"}],\"dbName\":null},\"Session\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"ipAddress\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userAgent\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"SessionToUser\"}],\"dbName\":\"session\"},\"Account\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"accountId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"providerId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"AccountToUser\"},{\"name\":\"accessToken\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"refreshToken\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"idToken\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"accessTokenExpiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"refreshTokenExpiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"scope\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"password\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":\"account\"},\"UserRole\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToUserRole\"}],\"dbName\":null},\"Verification\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"identifier\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"value\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":\"verification\"},\"Proclamation\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"content\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"solfeggioFrequencyId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"solfeggioFrequency\",\"kind\":\"object\",\"type\":\"SolfeggioFrequency\",\"relationName\":\"ProclamationToSolfeggioFrequency\"},{\"name\":\"categoryId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"category\",\"kind\":\"object\",\"type\":\"ProclamationCategory\",\"relationName\":\"ProclamationToProclamationCategory\"},{\"name\":\"userProclamations\",\"kind\":\"object\",\"type\":\"UserProclamations\",\"relationName\":\"ProclamationToUserProclamations\"},{\"name\":\"subscriptionLevelId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"subscriptionLevel\",\"kind\":\"object\",\"type\":\"SubscriptionLevel\",\"relationName\":\"ProclamationToSubscriptionLevel\"}],\"dbName\":null},\"UserProclamations\":{\"fields\":[{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToUserProclamations\"},{\"name\":\"proclamationId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"proclamation\",\"kind\":\"object\",\"type\":\"Proclamation\",\"relationName\":\"ProclamationToUserProclamations\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null},\"SolfeggioFrequency\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"value\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"proclamations\",\"kind\":\"object\",\"type\":\"Proclamation\",\"relationName\":\"ProclamationToSolfeggioFrequency\"}],\"dbName\":null},\"ProclamationCategory\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sortOrder\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"parentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"parent\",\"kind\":\"object\",\"type\":\"ProclamationCategory\",\"relationName\":\"CategoryHierarchy\"},{\"name\":\"children\",\"kind\":\"object\",\"type\":\"ProclamationCategory\",\"relationName\":\"CategoryHierarchy\"},{\"name\":\"proclamations\",\"kind\":\"object\",\"type\":\"Proclamation\",\"relationName\":\"ProclamationToProclamationCategory\"},{\"name\":\"subscriptionLevels\",\"kind\":\"object\",\"type\":\"ProclamationCategorySubscriptionLevel\",\"relationName\":\"ProclamationCategoryToProclamationCategorySubscriptionLevel\"}],\"dbName\":null},\"ProclamationCategorySubscriptionLevel\":{\"fields\":[{\"name\":\"categoryId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"category\",\"kind\":\"object\",\"type\":\"ProclamationCategory\",\"relationName\":\"ProclamationCategoryToProclamationCategorySubscriptionLevel\"},{\"name\":\"subscriptionLevelId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"subscriptionLevel\",\"kind\":\"object\",\"type\":\"SubscriptionLevel\",\"relationName\":\"ProclamationCategorySubscriptionLevelToSubscriptionLevel\"}],\"dbName\":null},\"LicenseKey\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"active\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"level\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"LicenseKeyToUser\"}],\"dbName\":null},\"SubscriptionLevel\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"proclamations\",\"kind\":\"object\",\"type\":\"Proclamation\",\"relationName\":\"ProclamationToSubscriptionLevel\"},{\"name\":\"categoryLevels\",\"kind\":\"object\",\"type\":\"ProclamationCategorySubscriptionLevel\",\"relationName\":\"ProclamationCategorySubscriptionLevelToSubscriptionLevel\"}],\"dbName\":null}},\"enums\":{},\"types\":{}}") config.parameterizationSchema = { - strings: JSON.parse( - '["where","orderBy","cursor","users","_count","role","user","sessions","accounts","profile","addresses","licenseKeys","proclamations","solfeggioFrequency","parent","children","category","userProclamations","subscriptionLevel","proclamation","User.findUnique","User.findUniqueOrThrow","User.findFirst","User.findFirstOrThrow","User.findMany","data","User.createOne","User.createMany","User.createManyAndReturn","User.updateOne","User.updateMany","User.updateManyAndReturn","create","update","User.upsertOne","User.deleteOne","User.deleteMany","having","_avg","_sum","_min","_max","User.groupBy","User.aggregate","Profile.findUnique","Profile.findUniqueOrThrow","Profile.findFirst","Profile.findFirstOrThrow","Profile.findMany","Profile.createOne","Profile.createMany","Profile.createManyAndReturn","Profile.updateOne","Profile.updateMany","Profile.updateManyAndReturn","Profile.upsertOne","Profile.deleteOne","Profile.deleteMany","Profile.groupBy","Profile.aggregate","Address.findUnique","Address.findUniqueOrThrow","Address.findFirst","Address.findFirstOrThrow","Address.findMany","Address.createOne","Address.createMany","Address.createManyAndReturn","Address.updateOne","Address.updateMany","Address.updateManyAndReturn","Address.upsertOne","Address.deleteOne","Address.deleteMany","Address.groupBy","Address.aggregate","Session.findUnique","Session.findUniqueOrThrow","Session.findFirst","Session.findFirstOrThrow","Session.findMany","Session.createOne","Session.createMany","Session.createManyAndReturn","Session.updateOne","Session.updateMany","Session.updateManyAndReturn","Session.upsertOne","Session.deleteOne","Session.deleteMany","Session.groupBy","Session.aggregate","Account.findUnique","Account.findUniqueOrThrow","Account.findFirst","Account.findFirstOrThrow","Account.findMany","Account.createOne","Account.createMany","Account.createManyAndReturn","Account.updateOne","Account.updateMany","Account.updateManyAndReturn","Account.upsertOne","Account.deleteOne","Account.deleteMany","Account.groupBy","Account.aggregate","UserRole.findUnique","UserRole.findUniqueOrThrow","UserRole.findFirst","UserRole.findFirstOrThrow","UserRole.findMany","UserRole.createOne","UserRole.createMany","UserRole.createManyAndReturn","UserRole.updateOne","UserRole.updateMany","UserRole.updateManyAndReturn","UserRole.upsertOne","UserRole.deleteOne","UserRole.deleteMany","UserRole.groupBy","UserRole.aggregate","Verification.findUnique","Verification.findUniqueOrThrow","Verification.findFirst","Verification.findFirstOrThrow","Verification.findMany","Verification.createOne","Verification.createMany","Verification.createManyAndReturn","Verification.updateOne","Verification.updateMany","Verification.updateManyAndReturn","Verification.upsertOne","Verification.deleteOne","Verification.deleteMany","Verification.groupBy","Verification.aggregate","Proclamation.findUnique","Proclamation.findUniqueOrThrow","Proclamation.findFirst","Proclamation.findFirstOrThrow","Proclamation.findMany","Proclamation.createOne","Proclamation.createMany","Proclamation.createManyAndReturn","Proclamation.updateOne","Proclamation.updateMany","Proclamation.updateManyAndReturn","Proclamation.upsertOne","Proclamation.deleteOne","Proclamation.deleteMany","Proclamation.groupBy","Proclamation.aggregate","UserProclamations.findUnique","UserProclamations.findUniqueOrThrow","UserProclamations.findFirst","UserProclamations.findFirstOrThrow","UserProclamations.findMany","UserProclamations.createOne","UserProclamations.createMany","UserProclamations.createManyAndReturn","UserProclamations.updateOne","UserProclamations.updateMany","UserProclamations.updateManyAndReturn","UserProclamations.upsertOne","UserProclamations.deleteOne","UserProclamations.deleteMany","UserProclamations.groupBy","UserProclamations.aggregate","SolfeggioFrequency.findUnique","SolfeggioFrequency.findUniqueOrThrow","SolfeggioFrequency.findFirst","SolfeggioFrequency.findFirstOrThrow","SolfeggioFrequency.findMany","SolfeggioFrequency.createOne","SolfeggioFrequency.createMany","SolfeggioFrequency.createManyAndReturn","SolfeggioFrequency.updateOne","SolfeggioFrequency.updateMany","SolfeggioFrequency.updateManyAndReturn","SolfeggioFrequency.upsertOne","SolfeggioFrequency.deleteOne","SolfeggioFrequency.deleteMany","SolfeggioFrequency.groupBy","SolfeggioFrequency.aggregate","ProclamationCategory.findUnique","ProclamationCategory.findUniqueOrThrow","ProclamationCategory.findFirst","ProclamationCategory.findFirstOrThrow","ProclamationCategory.findMany","ProclamationCategory.createOne","ProclamationCategory.createMany","ProclamationCategory.createManyAndReturn","ProclamationCategory.updateOne","ProclamationCategory.updateMany","ProclamationCategory.updateManyAndReturn","ProclamationCategory.upsertOne","ProclamationCategory.deleteOne","ProclamationCategory.deleteMany","ProclamationCategory.groupBy","ProclamationCategory.aggregate","LicenseKey.findUnique","LicenseKey.findUniqueOrThrow","LicenseKey.findFirst","LicenseKey.findFirstOrThrow","LicenseKey.findMany","LicenseKey.createOne","LicenseKey.createMany","LicenseKey.createManyAndReturn","LicenseKey.updateOne","LicenseKey.updateMany","LicenseKey.updateManyAndReturn","LicenseKey.upsertOne","LicenseKey.deleteOne","LicenseKey.deleteMany","LicenseKey.groupBy","LicenseKey.aggregate","SubscriptionLevel.findUnique","SubscriptionLevel.findUniqueOrThrow","SubscriptionLevel.findFirst","SubscriptionLevel.findFirstOrThrow","SubscriptionLevel.findMany","SubscriptionLevel.createOne","SubscriptionLevel.createMany","SubscriptionLevel.createManyAndReturn","SubscriptionLevel.updateOne","SubscriptionLevel.updateMany","SubscriptionLevel.updateManyAndReturn","SubscriptionLevel.upsertOne","SubscriptionLevel.deleteOne","SubscriptionLevel.deleteMany","SubscriptionLevel.groupBy","SubscriptionLevel.aggregate","AND","OR","NOT","id","name","description","equals","in","notIn","lt","lte","gt","gte","contains","startsWith","endsWith","not","every","some","none","key","active","level","userId","parentId","value","proclamationId","createdAt","updatedAt","content","solfeggioFrequencyId","categoryId","subscriptionLevelId","identifier","expiresAt","accountId","providerId","accessToken","refreshToken","idToken","accessTokenExpiresAt","refreshTokenExpiresAt","scope","password","token","ipAddress","userAgent","profileId","street","city","state","postalCode","country","type","isDefaultMailing","isDefaultBilling","isDefaultShipping","firstName","lastName","phoneNumber","ghlContactId","email","emailVerified","image","roleId","parentId_name","userId_proclamationId","is","isNot","connectOrCreate","upsert","createMany","set","disconnect","delete","connect","updateMany","deleteMany","increment","decrement","multiply","divide"]' - ), - graph: - '7gV80AERBQAAqQMAIAcAAKoDACAIAACrAwAgCQAArAMAIAsAAK0DACARAACcAwAg7AEAAKgDADDtAQAABQAQ7gEAAKgDADDvAQEAAAAB8AEBAPECACGHAkAAhQMAIYgCQACFAwAhqQIBAAAAAaoCIACiAwAhqwIBAPICACGsAgIAlgMAIQEAAAABACAGAwAAiAMAIOwBAACHAwAw7QEAAAMAEO4BAACHAwAw7wECAPACACHwAQEA8QIAIQEAAAADACARBQAAqQMAIAcAAKoDACAIAACrAwAgCQAArAMAIAsAAK0DACARAACcAwAg7AEAAKgDADDtAQAABQAQ7gEAAKgDADDvAQEA8QIAIfABAQDxAgAhhwJAAIUDACGIAkAAhQMAIakCAQDxAgAhqgIgAKIDACGrAgEA8gIAIawCAgCWAwAhCAUAAKQFACAHAAClBQAgCAAApgUAIAkAAKMFACALAACnBQAgEQAAoAUAIKsCAACuAwAgrAIAAK4DACADAAAABQAgAQAABgAwAgAAAQAgAQAAAAUAIAwGAACRAwAg7AEAAKcDADDtAQAACQAQ7gEAAKcDADDvAQEA8QIAIYMCAQDxAgAhhwJAAIUDACGIAkAAhQMAIY4CQACFAwAhmAIBAPECACGZAgEA8gIAIZoCAQDyAgAhAwYAAJQFACCZAgAArgMAIJoCAACuAwAgDAYAAJEDACDsAQAApwMAMO0BAAAJABDuAQAApwMAMO8BAQAAAAGDAgEA8QIAIYcCQACFAwAhiAJAAIUDACGOAkAAhQMAIZgCAQAAAAGZAgEA8gIAIZoCAQDyAgAhAwAAAAkAIAEAAAoAMAIAAAsAIBEGAACRAwAg7AEAAKUDADDtAQAADQAQ7gEAAKUDADDvAQEA8QIAIYMCAQDxAgAhhwJAAIUDACGIAkAAhQMAIY8CAQDxAgAhkAIBAPECACGRAgEA8gIAIZICAQDyAgAhkwIBAPICACGUAkAApgMAIZUCQACmAwAhlgIBAPICACGXAgEA8gIAIQgGAACUBQAgkQIAAK4DACCSAgAArgMAIJMCAACuAwAglAIAAK4DACCVAgAArgMAIJYCAACuAwAglwIAAK4DACARBgAAkQMAIOwBAAClAwAw7QEAAA0AEO4BAAClAwAw7wEBAAAAAYMCAQDxAgAhhwJAAIUDACGIAkAAhQMAIY8CAQDxAgAhkAIBAPECACGRAgEA8gIAIZICAQDyAgAhkwIBAPICACGUAkAApgMAIZUCQACmAwAhlgIBAPICACGXAgEA8gIAIQMAAAANACABAAAOADACAAAPACALBgAAkQMAIAoAAJIDACDsAQAAkAMAMO0BAAARABDuAQAAkAMAMO8BAQDxAgAhgwIBAPECACGlAgEA8QIAIaYCAQDxAgAhpwIBAPECACGoAgEA8gIAIQEAAAARACAPCQAApAMAIOwBAACjAwAw7QEAABMAEO4BAACjAwAw7wEBAPECACGbAgEA8QIAIZwCAQDxAgAhnQIBAPECACGeAgEA8QIAIZ8CAQDxAgAhoAIBAPECACGhAgEA8QIAIaICIACiAwAhowIgAKIDACGkAiAAogMAIQEJAACjBQAgDwkAAKQDACDsAQAAowMAMO0BAAATABDuAQAAowMAMO8BAQAAAAGbAgEA8QIAIZwCAQDxAgAhnQIBAPECACGeAgEA8QIAIZ8CAQDxAgAhoAIBAPECACGhAgEA8QIAIaICIACiAwAhowIgAKIDACGkAiAAogMAIQMAAAATACABAAAUADACAAAVACABAAAAEwAgCQYAAJEDACDsAQAAoQMAMO0BAAAYABDuAQAAoQMAMO8BAQDxAgAhgAIBAPECACGBAiAAogMAIYICAQDxAgAhgwIBAPECACEBBgAAlAUAIAkGAACRAwAg7AEAAKEDADDtAQAAGAAQ7gEAAKEDADDvAQEAAAABgAIBAAAAAYECIACiAwAhggIBAPECACGDAgEA8QIAIQMAAAAYACABAAAZADACAAAaACAJBgAAkQMAIBMAAKADACDsAQAAnwMAMO0BAAAcABDuAQAAnwMAMIMCAQDxAgAhhgIBAPECACGHAkAAhQMAIYgCQACFAwAhAgYAAJQFACATAACiBQAgCgYAAJEDACATAACgAwAg7AEAAJ8DADDtAQAAHAAQ7gEAAJ8DADCDAgEA8QIAIYYCAQDxAgAhhwJAAIUDACGIAkAAhQMAIa4CAACeAwAgAwAAABwAIAEAAB0AMAIAAB4AIA0NAACaAwAgEAAAmwMAIBEAAJwDACASAACdAwAg7AEAAJkDADDtAQAAIAAQ7gEAAJkDADDvAQEA8QIAIfABAQDxAgAhiQIBAPECACGKAgIA8AIAIYsCAgDwAgAhjAICAPACACEEDQAAnwUAIBAAAJ0FACARAACgBQAgEgAAoQUAIA0NAACaAwAgEAAAmwMAIBEAAJwDACASAACdAwAg7AEAAJkDADDtAQAAIAAQ7gEAAJkDADDvAQEAAAAB8AEBAAAAAYkCAQDxAgAhigICAPACACGLAgIA8AIAIYwCAgDwAgAhAwAAACAAIAEAACEAMAIAACIAIAEAAAAgACAJDAAA8wIAIA4AAJcDACAPAACYAwAg7AEAAJUDADDtAQAAJQAQ7gEAAJUDADDvAQIA8AIAIfABAQDxAgAhhAICAJYDACEBAAAAJQAgBAwAANoDACAOAACdBQAgDwAAngUAIIQCAACuAwAgCgwAAPMCACAOAACXAwAgDwAAmAMAIOwBAACVAwAw7QEAACUAEO4BAACVAwAw7wECAAAAAfABAQDxAgAhhAICAJYDACGtAgAAlAMAIAMAAAAlACABAAAnADACAAAoACADAAAAIAAgAQAAIQAwAgAAIgAgAQAAACUAIAEAAAAgACADAAAAHAAgAQAAHQAwAgAAHgAgAwAAACAAIAEAACEAMAIAACIAIAEAAAAgACABAAAAHAAgAQAAAAkAIAEAAAANACABAAAAGAAgAQAAABwAIAEAAAABACADAAAABQAgAQAABgAwAgAAAQAgAwAAAAUAIAEAAAYAMAIAAAEAIAMAAAAFACABAAAGADACAAABACAOBQAAnAUAIAcAAPkEACAIAAD6BAAgCQAA-wQAIAsAAPwEACARAAD9BAAg7wEBAAAAAfABAQAAAAGHAkAAAAABiAJAAAAAAakCAQAAAAGqAiAAAAABqwIBAAAAAawCAgAAAAEBGQAAOQAgCO8BAQAAAAHwAQEAAAABhwJAAAAAAYgCQAAAAAGpAgEAAAABqgIgAAAAAasCAQAAAAGsAgIAAAABARkAADsAMAEZAAA7ADABAAAAAwAgDgUAAJsFACAHAACyBAAgCAAAswQAIAkAALQEACALAAC1BAAgEQAAtgQAIO8BAQC0AwAh8AEBALQDACGHAkAA0AMAIYgCQADQAwAhqQIBALQDACGqAiAA3gMAIasCAQC1AwAhrAICAOYDACECAAAAAQAgGQAAPwAgCO8BAQC0AwAh8AEBALQDACGHAkAA0AMAIYgCQADQAwAhqQIBALQDACGqAiAA3gMAIasCAQC1AwAhrAICAOYDACECAAAABQAgGQAAQQAgAgAAAAUAIBkAAEEAIAEAAAADACADAAAAAQAgIAAAOQAgIQAAPwAgAQAAAAEAIAEAAAAFACAHBAAAlgUAICYAAJcFACAnAACaBQAgKAAAmQUAICkAAJgFACCrAgAArgMAIKwCAACuAwAgC-wBAACTAwAw7QEAAEkAEO4BAACTAwAw7wEBAOUCACHwAQEA5QIAIYcCQAD_AgAhiAJAAP8CACGpAgEA5QIAIaoCIAD1AgAhqwIBAOYCACGsAgIA-QIAIQMAAAAFACABAABIADAlAABJACADAAAABQAgAQAABgAwAgAAAQAgCwYAAJEDACAKAACSAwAg7AEAAJADADDtAQAAEQAQ7gEAAJADADDvAQEAAAABgwIBAAAAAaUCAQDxAgAhpgIBAPECACGnAgEA8QIAIagCAQDyAgAhAQAAAEwAIAEAAABMACADBgAAlAUAIAoAAJUFACCoAgAArgMAIAMAAAARACABAABPADACAABMACADAAAAEQAgAQAATwAwAgAATAAgAwAAABEAIAEAAE8AMAIAAEwAIAgGAACTBQAgCgAA3gQAIO8BAQAAAAGDAgEAAAABpQIBAAAAAaYCAQAAAAGnAgEAAAABqAIBAAAAAQEZAABTACAG7wEBAAAAAYMCAQAAAAGlAgEAAAABpgIBAAAAAacCAQAAAAGoAgEAAAABARkAAFUAMAEZAABVADAIBgAAkgUAIAoAANEEACDvAQEAtAMAIYMCAQC0AwAhpQIBALQDACGmAgEAtAMAIacCAQC0AwAhqAIBALUDACECAAAATAAgGQAAWAAgBu8BAQC0AwAhgwIBALQDACGlAgEAtAMAIaYCAQC0AwAhpwIBALQDACGoAgEAtQMAIQIAAAARACAZAABaACACAAAAEQAgGQAAWgAgAwAAAEwAICAAAFMAICEAAFgAIAEAAABMACABAAAAEQAgBAQAAI8FACAoAACRBQAgKQAAkAUAIKgCAACuAwAgCewBAACPAwAw7QEAAGEAEO4BAACPAwAw7wEBAOUCACGDAgEA5QIAIaUCAQDlAgAhpgIBAOUCACGnAgEA5QIAIagCAQDmAgAhAwAAABEAIAEAAGAAMCUAAGEAIAMAAAARACABAABPADACAABMACABAAAAFQAgAQAAABUAIAMAAAATACABAAAUADACAAAVACADAAAAEwAgAQAAFAAwAgAAFQAgAwAAABMAIAEAABQAMAIAABUAIAwJAACOBQAg7wEBAAAAAZsCAQAAAAGcAgEAAAABnQIBAAAAAZ4CAQAAAAGfAgEAAAABoAIBAAAAAaECAQAAAAGiAiAAAAABowIgAAAAAaQCIAAAAAEBGQAAaQAgC-8BAQAAAAGbAgEAAAABnAIBAAAAAZ0CAQAAAAGeAgEAAAABnwIBAAAAAaACAQAAAAGhAgEAAAABogIgAAAAAaMCIAAAAAGkAiAAAAABARkAAGsAMAEZAABrADAMCQAAjQUAIO8BAQC0AwAhmwIBALQDACGcAgEAtAMAIZ0CAQC0AwAhngIBALQDACGfAgEAtAMAIaACAQC0AwAhoQIBALQDACGiAiAA3gMAIaMCIADeAwAhpAIgAN4DACECAAAAFQAgGQAAbgAgC-8BAQC0AwAhmwIBALQDACGcAgEAtAMAIZ0CAQC0AwAhngIBALQDACGfAgEAtAMAIaACAQC0AwAhoQIBALQDACGiAiAA3gMAIaMCIADeAwAhpAIgAN4DACECAAAAEwAgGQAAcAAgAgAAABMAIBkAAHAAIAMAAAAVACAgAABpACAhAABuACABAAAAFQAgAQAAABMAIAMEAACKBQAgKAAAjAUAICkAAIsFACAO7AEAAI4DADDtAQAAdwAQ7gEAAI4DADDvAQEA5QIAIZsCAQDlAgAhnAIBAOUCACGdAgEA5QIAIZ4CAQDlAgAhnwIBAOUCACGgAgEA5QIAIaECAQDlAgAhogIgAPUCACGjAiAA9QIAIaQCIAD1AgAhAwAAABMAIAEAAHYAMCUAAHcAIAMAAAATACABAAAUADACAAAVACABAAAACwAgAQAAAAsAIAMAAAAJACABAAAKADACAAALACADAAAACQAgAQAACgAwAgAACwAgAwAAAAkAIAEAAAoAMAIAAAsAIAkGAACJBQAg7wEBAAAAAYMCAQAAAAGHAkAAAAABiAJAAAAAAY4CQAAAAAGYAgEAAAABmQIBAAAAAZoCAQAAAAEBGQAAfwAgCO8BAQAAAAGDAgEAAAABhwJAAAAAAYgCQAAAAAGOAkAAAAABmAIBAAAAAZkCAQAAAAGaAgEAAAABARkAAIEBADABGQAAgQEAMAkGAACIBQAg7wEBALQDACGDAgEAtAMAIYcCQADQAwAhiAJAANADACGOAkAA0AMAIZgCAQC0AwAhmQIBALUDACGaAgEAtQMAIQIAAAALACAZAACEAQAgCO8BAQC0AwAhgwIBALQDACGHAkAA0AMAIYgCQADQAwAhjgJAANADACGYAgEAtAMAIZkCAQC1AwAhmgIBALUDACECAAAACQAgGQAAhgEAIAIAAAAJACAZAACGAQAgAwAAAAsAICAAAH8AICEAAIQBACABAAAACwAgAQAAAAkAIAUEAACFBQAgKAAAhwUAICkAAIYFACCZAgAArgMAIJoCAACuAwAgC-wBAACNAwAw7QEAAI0BABDuAQAAjQMAMO8BAQDlAgAhgwIBAOUCACGHAkAA_wIAIYgCQAD_AgAhjgJAAP8CACGYAgEA5QIAIZkCAQDmAgAhmgIBAOYCACEDAAAACQAgAQAAjAEAMCUAAI0BACADAAAACQAgAQAACgAwAgAACwAgAQAAAA8AIAEAAAAPACADAAAADQAgAQAADgAwAgAADwAgAwAAAA0AIAEAAA4AMAIAAA8AIAMAAAANACABAAAOADACAAAPACAOBgAAhAUAIO8BAQAAAAGDAgEAAAABhwJAAAAAAYgCQAAAAAGPAgEAAAABkAIBAAAAAZECAQAAAAGSAgEAAAABkwIBAAAAAZQCQAAAAAGVAkAAAAABlgIBAAAAAZcCAQAAAAEBGQAAlQEAIA3vAQEAAAABgwIBAAAAAYcCQAAAAAGIAkAAAAABjwIBAAAAAZACAQAAAAGRAgEAAAABkgIBAAAAAZMCAQAAAAGUAkAAAAABlQJAAAAAAZYCAQAAAAGXAgEAAAABARkAAJcBADABGQAAlwEAMA4GAACDBQAg7wEBALQDACGDAgEAtAMAIYcCQADQAwAhiAJAANADACGPAgEAtAMAIZACAQC0AwAhkQIBALUDACGSAgEAtQMAIZMCAQC1AwAhlAJAAOkEACGVAkAA6QQAIZYCAQC1AwAhlwIBALUDACECAAAADwAgGQAAmgEAIA3vAQEAtAMAIYMCAQC0AwAhhwJAANADACGIAkAA0AMAIY8CAQC0AwAhkAIBALQDACGRAgEAtQMAIZICAQC1AwAhkwIBALUDACGUAkAA6QQAIZUCQADpBAAhlgIBALUDACGXAgEAtQMAIQIAAAANACAZAACcAQAgAgAAAA0AIBkAAJwBACADAAAADwAgIAAAlQEAICEAAJoBACABAAAADwAgAQAAAA0AIAoEAACABQAgKAAAggUAICkAAIEFACCRAgAArgMAIJICAACuAwAgkwIAAK4DACCUAgAArgMAIJUCAACuAwAglgIAAK4DACCXAgAArgMAIBDsAQAAiQMAMO0BAACjAQAQ7gEAAIkDADDvAQEA5QIAIYMCAQDlAgAhhwJAAP8CACGIAkAA_wIAIY8CAQDlAgAhkAIBAOUCACGRAgEA5gIAIZICAQDmAgAhkwIBAOYCACGUAkAAigMAIZUCQACKAwAhlgIBAOYCACGXAgEA5gIAIQMAAAANACABAACiAQAwJQAAowEAIAMAAAANACABAAAOADACAAAPACAGAwAAiAMAIOwBAACHAwAw7QEAAAMAEO4BAACHAwAw7wECAAAAAfABAQDxAgAhAQAAAKYBACABAAAApgEAIAEDAAD_BAAgAwAAAAMAIAEAAKkBADACAACmAQAgAwAAAAMAIAEAAKkBADACAACmAQAgAwAAAAMAIAEAAKkBADACAACmAQAgAwMAAP4EACDvAQIAAAAB8AEBAAAAAQEZAACtAQAgAu8BAgAAAAHwAQEAAAABARkAAK8BADABGQAArwEAMAMDAACmBAAg7wECALYDACHwAQEAtAMAIQIAAACmAQAgGQAAsgEAIALvAQIAtgMAIfABAQC0AwAhAgAAAAMAIBkAALQBACACAAAAAwAgGQAAtAEAIAMAAACmAQAgIAAArQEAICEAALIBACABAAAApgEAIAEAAAADACAFBAAAoQQAICYAAKIEACAnAAClBAAgKAAApAQAICkAAKMEACAF7AEAAIYDADDtAQAAuwEAEO4BAACGAwAw7wECAOQCACHwAQEA5QIAIQMAAAADACABAAC6AQAwJQAAuwEAIAMAAAADACABAACpAQAwAgAApgEAIAnsAQAAhAMAMO0BAADBAQAQ7gEAAIQDADDvAQEAAAABhQIBAPECACGHAkAAhQMAIYgCQACFAwAhjQIBAPECACGOAkAAhQMAIQEAAAC-AQAgAQAAAL4BACAJ7AEAAIQDADDtAQAAwQEAEO4BAACEAwAw7wEBAPECACGFAgEA8QIAIYcCQACFAwAhiAJAAIUDACGNAgEA8QIAIY4CQACFAwAhAAMAAADBAQAgAQAAwgEAMAIAAL4BACADAAAAwQEAIAEAAMIBADACAAC-AQAgAwAAAMEBACABAADCAQAwAgAAvgEAIAbvAQEAAAABhQIBAAAAAYcCQAAAAAGIAkAAAAABjQIBAAAAAY4CQAAAAAEBGQAAxgEAIAbvAQEAAAABhQIBAAAAAYcCQAAAAAGIAkAAAAABjQIBAAAAAY4CQAAAAAEBGQAAyAEAMAEZAADIAQAwBu8BAQC0AwAhhQIBALQDACGHAkAA0AMAIYgCQADQAwAhjQIBALQDACGOAkAA0AMAIQIAAAC-AQAgGQAAywEAIAbvAQEAtAMAIYUCAQC0AwAhhwJAANADACGIAkAA0AMAIY0CAQC0AwAhjgJAANADACECAAAAwQEAIBkAAM0BACACAAAAwQEAIBkAAM0BACADAAAAvgEAICAAAMYBACAhAADLAQAgAQAAAL4BACABAAAAwQEAIAMEAACeBAAgKAAAoAQAICkAAJ8EACAJ7AEAAIMDADDtAQAA1AEAEO4BAACDAwAw7wEBAOUCACGFAgEA5QIAIYcCQAD_AgAhiAJAAP8CACGNAgEA5QIAIY4CQAD_AgAhAwAAAMEBACABAADTAQAwJQAA1AEAIAMAAADBAQAgAQAAwgEAMAIAAL4BACABAAAAIgAgAQAAACIAIAMAAAAgACABAAAhADACAAAiACADAAAAIAAgAQAAIQAwAgAAIgAgAwAAACAAIAEAACEAMAIAACIAIAoNAADWAwAgEAAA1wMAIBEAANgDACASAAD0AwAg7wEBAAAAAfABAQAAAAGJAgEAAAABigICAAAAAYsCAgAAAAGMAgIAAAABARkAANwBACAG7wEBAAAAAfABAQAAAAGJAgEAAAABigICAAAAAYsCAgAAAAGMAgIAAAABARkAAN4BADABGQAA3gEAMAoNAADDAwAgEAAAxAMAIBEAAMUDACASAADyAwAg7wEBALQDACHwAQEAtAMAIYkCAQC0AwAhigICALYDACGLAgIAtgMAIYwCAgC2AwAhAgAAACIAIBkAAOEBACAG7wEBALQDACHwAQEAtAMAIYkCAQC0AwAhigICALYDACGLAgIAtgMAIYwCAgC2AwAhAgAAACAAIBkAAOMBACACAAAAIAAgGQAA4wEAIAMAAAAiACAgAADcAQAgIQAA4QEAIAEAAAAiACABAAAAIAAgBQQAAJkEACAmAACaBAAgJwAAnQQAICgAAJwEACApAACbBAAgCewBAACCAwAw7QEAAOoBABDuAQAAggMAMO8BAQDlAgAh8AEBAOUCACGJAgEA5QIAIYoCAgDkAgAhiwICAOQCACGMAgIA5AIAIQMAAAAgACABAADpAQAwJQAA6gEAIAMAAAAgACABAAAhADACAAAiACABAAAAHgAgAQAAAB4AIAMAAAAcACABAAAdADACAAAeACADAAAAHAAgAQAAHQAwAgAAHgAgAwAAABwAIAEAAB0AMAIAAB4AIAYGAADUAwAgEwAAmAQAIIMCAQAAAAGGAgEAAAABhwJAAAAAAYgCQAAAAAEBGQAA8gEAIASDAgEAAAABhgIBAAAAAYcCQAAAAAGIAkAAAAABARkAAPQBADABGQAA9AEAMAYGAADSAwAgEwAAlwQAIIMCAQC0AwAhhgIBALQDACGHAkAA0AMAIYgCQADQAwAhAgAAAB4AIBkAAPcBACAEgwIBALQDACGGAgEAtAMAIYcCQADQAwAhiAJAANADACECAAAAHAAgGQAA-QEAIAIAAAAcACAZAAD5AQAgAwAAAB4AICAAAPIBACAhAAD3AQAgAQAAAB4AIAEAAAAcACADBAAAlAQAICgAAJYEACApAACVBAAgB-wBAAD-AgAw7QEAAIACABDuAQAA_gIAMIMCAQDlAgAhhgIBAOUCACGHAkAA_wIAIYgCQAD_AgAhAwAAABwAIAEAAP8BADAlAACAAgAgAwAAABwAIAEAAB0AMAIAAB4AIAcMAADzAgAg7AEAAP0CADDtAQAAhgIAEO4BAAD9AgAw7wECAAAAAfABAQAAAAGFAgIAAAABAQAAAIMCACABAAAAgwIAIAcMAADzAgAg7AEAAP0CADDtAQAAhgIAEO4BAAD9AgAw7wECAPACACHwAQEA8QIAIYUCAgDwAgAhAQwAANoDACADAAAAhgIAIAEAAIcCADACAACDAgAgAwAAAIYCACABAACHAgAwAgAAgwIAIAMAAACGAgAgAQAAhwIAMAIAAIMCACAEDAAAkwQAIO8BAgAAAAHwAQEAAAABhQICAAAAAQEZAACLAgAgA-8BAgAAAAHwAQEAAAABhQICAAAAAQEZAACNAgAwARkAAI0CADAEDAAAiQQAIO8BAgC2AwAh8AEBALQDACGFAgIAtgMAIQIAAACDAgAgGQAAkAIAIAPvAQIAtgMAIfABAQC0AwAhhQICALYDACECAAAAhgIAIBkAAJICACACAAAAhgIAIBkAAJICACADAAAAgwIAICAAAIsCACAhAACQAgAgAQAAAIMCACABAAAAhgIAIAUEAACEBAAgJgAAhQQAICcAAIgEACAoAACHBAAgKQAAhgQAIAbsAQAA_AIAMO0BAACZAgAQ7gEAAPwCADDvAQIA5AIAIfABAQDlAgAhhQICAOQCACEDAAAAhgIAIAEAAJgCADAlAACZAgAgAwAAAIYCACABAACHAgAwAgAAgwIAIAEAAAAoACABAAAAKAAgAwAAACUAIAEAACcAMAIAACgAIAMAAAAlACABAAAnADACAAAoACADAAAAJQAgAQAAJwAwAgAAKAAgBgwAAIIEACAOAACDBAAgDwAAgQQAIO8BAgAAAAHwAQEAAAABhAICAAAAAQEZAAChAgAgA-8BAgAAAAHwAQEAAAABhAICAAAAAQEZAACjAgAwARkAAKMCADABAAAAJQAgBgwAAOkDACAOAADnAwAgDwAA6AMAIO8BAgC2AwAh8AEBALQDACGEAgIA5gMAIQIAAAAoACAZAACnAgAgA-8BAgC2AwAh8AEBALQDACGEAgIA5gMAIQIAAAAlACAZAACpAgAgAgAAACUAIBkAAKkCACABAAAAJQAgAwAAACgAICAAAKECACAhAACnAgAgAQAAACgAIAEAAAAlACAGBAAA4QMAICYAAOIDACAnAADlAwAgKAAA5AMAICkAAOMDACCEAgAArgMAIAbsAQAA-AIAMO0BAACxAgAQ7gEAAPgCADDvAQIA5AIAIfABAQDlAgAhhAICAPkCACEDAAAAJQAgAQAAsAIAMCUAALECACADAAAAJQAgAQAAJwAwAgAAKAAgAQAAABoAIAEAAAAaACADAAAAGAAgAQAAGQAwAgAAGgAgAwAAABgAIAEAABkAMAIAABoAIAMAAAAYACABAAAZADACAAAaACAGBgAA4AMAIO8BAQAAAAGAAgEAAAABgQIgAAAAAYICAQAAAAGDAgEAAAABARkAALkCACAF7wEBAAAAAYACAQAAAAGBAiAAAAABggIBAAAAAYMCAQAAAAEBGQAAuwIAMAEZAAC7AgAwBgYAAN8DACDvAQEAtAMAIYACAQC0AwAhgQIgAN4DACGCAgEAtAMAIYMCAQC0AwAhAgAAABoAIBkAAL4CACAF7wEBALQDACGAAgEAtAMAIYECIADeAwAhggIBALQDACGDAgEAtAMAIQIAAAAYACAZAADAAgAgAgAAABgAIBkAAMACACADAAAAGgAgIAAAuQIAICEAAL4CACABAAAAGgAgAQAAABgAIAMEAADbAwAgKAAA3QMAICkAANwDACAI7AEAAPQCADDtAQAAxwIAEO4BAAD0AgAw7wEBAOUCACGAAgEA5QIAIYECIAD1AgAhggIBAOUCACGDAgEA5QIAIQMAAAAYACABAADGAgAwJQAAxwIAIAMAAAAYACABAAAZADACAAAaACAHDAAA8wIAIOwBAADvAgAw7QEAAM0CABDuAQAA7wIAMO8BAgAAAAHwAQEA8QIAIfEBAQDyAgAhAQAAAMoCACABAAAAygIAIAcMAADzAgAg7AEAAO8CADDtAQAAzQIAEO4BAADvAgAw7wECAPACACHwAQEA8QIAIfEBAQDyAgAhAgwAANoDACDxAQAArgMAIAMAAADNAgAgAQAAzgIAMAIAAMoCACADAAAAzQIAIAEAAM4CADACAADKAgAgAwAAAM0CACABAADOAgAwAgAAygIAIAQMAADZAwAg7wECAAAAAfABAQAAAAHxAQEAAAABARkAANICACAD7wECAAAAAfABAQAAAAHxAQEAAAABARkAANQCADABGQAA1AIAMAQMAAC3AwAg7wECALYDACHwAQEAtAMAIfEBAQC1AwAhAgAAAMoCACAZAADXAgAgA-8BAgC2AwAh8AEBALQDACHxAQEAtQMAIQIAAADNAgAgGQAA2QIAIAIAAADNAgAgGQAA2QIAIAMAAADKAgAgIAAA0gIAICEAANcCACABAAAAygIAIAEAAADNAgAgBgQAAK8DACAmAACwAwAgJwAAswMAICgAALIDACApAACxAwAg8QEAAK4DACAG7AEAAOMCADDtAQAA4AIAEO4BAADjAgAw7wECAOQCACHwAQEA5QIAIfEBAQDmAgAhAwAAAM0CACABAADfAgAwJQAA4AIAIAMAAADNAgAgAQAAzgIAMAIAAMoCACAG7AEAAOMCADDtAQAA4AIAEO4BAADjAgAw7wECAOQCACHwAQEA5QIAIfEBAQDmAgAhDQQAAOsCACAmAADuAgAgJwAA6wIAICgAAOsCACApAADrAgAg8gECAAAAAfMBAgAAAAT0AQIAAAAE9QECAAAAAfYBAgAAAAH3AQIAAAAB-AECAAAAAfwBAgDtAgAhDgQAAOsCACAoAADsAgAgKQAA7AIAIPIBAQAAAAHzAQEAAAAE9AEBAAAABPUBAQAAAAH2AQEAAAAB9wEBAAAAAfgBAQAAAAH5AQEAAAAB-gEBAAAAAfsBAQAAAAH8AQEA6gIAIQ4EAADoAgAgKAAA6QIAICkAAOkCACDyAQEAAAAB8wEBAAAABfQBAQAAAAX1AQEAAAAB9gEBAAAAAfcBAQAAAAH4AQEAAAAB-QEBAAAAAfoBAQAAAAH7AQEAAAAB_AEBAOcCACEOBAAA6AIAICgAAOkCACApAADpAgAg8gEBAAAAAfMBAQAAAAX0AQEAAAAF9QEBAAAAAfYBAQAAAAH3AQEAAAAB-AEBAAAAAfkBAQAAAAH6AQEAAAAB-wEBAAAAAfwBAQDnAgAhCPIBAgAAAAHzAQIAAAAF9AECAAAABfUBAgAAAAH2AQIAAAAB9wECAAAAAfgBAgAAAAH8AQIA6AIAIQvyAQEAAAAB8wEBAAAABfQBAQAAAAX1AQEAAAAB9gEBAAAAAfcBAQAAAAH4AQEAAAAB-QEBAAAAAfoBAQAAAAH7AQEAAAAB_AEBAOkCACEOBAAA6wIAICgAAOwCACApAADsAgAg8gEBAAAAAfMBAQAAAAT0AQEAAAAE9QEBAAAAAfYBAQAAAAH3AQEAAAAB-AEBAAAAAfkBAQAAAAH6AQEAAAAB-wEBAAAAAfwBAQDqAgAhCPIBAgAAAAHzAQIAAAAE9AECAAAABPUBAgAAAAH2AQIAAAAB9wECAAAAAfgBAgAAAAH8AQIA6wIAIQvyAQEAAAAB8wEBAAAABPQBAQAAAAT1AQEAAAAB9gEBAAAAAfcBAQAAAAH4AQEAAAAB-QEBAAAAAfoBAQAAAAH7AQEAAAAB_AEBAOwCACENBAAA6wIAICYAAO4CACAnAADrAgAgKAAA6wIAICkAAOsCACDyAQIAAAAB8wECAAAABPQBAgAAAAT1AQIAAAAB9gECAAAAAfcBAgAAAAH4AQIAAAAB_AECAO0CACEI8gEIAAAAAfMBCAAAAAT0AQgAAAAE9QEIAAAAAfYBCAAAAAH3AQgAAAAB-AEIAAAAAfwBCADuAgAhBwwAAPMCACDsAQAA7wIAMO0BAADNAgAQ7gEAAO8CADDvAQIA8AIAIfABAQDxAgAh8QEBAPICACEI8gECAAAAAfMBAgAAAAT0AQIAAAAE9QECAAAAAfYBAgAAAAH3AQIAAAAB-AECAAAAAfwBAgDrAgAhC_IBAQAAAAHzAQEAAAAE9AEBAAAABPUBAQAAAAH2AQEAAAAB9wEBAAAAAfgBAQAAAAH5AQEAAAAB-gEBAAAAAfsBAQAAAAH8AQEA7AIAIQvyAQEAAAAB8wEBAAAABfQBAQAAAAX1AQEAAAAB9gEBAAAAAfcBAQAAAAH4AQEAAAAB-QEBAAAAAfoBAQAAAAH7AQEAAAAB_AEBAOkCACED_QEAACAAIP4BAAAgACD_AQAAIAAgCOwBAAD0AgAw7QEAAMcCABDuAQAA9AIAMO8BAQDlAgAhgAIBAOUCACGBAiAA9QIAIYICAQDlAgAhgwIBAOUCACEFBAAA6wIAICgAAPcCACApAAD3AgAg8gEgAAAAAfwBIAD2AgAhBQQAAOsCACAoAAD3AgAgKQAA9wIAIPIBIAAAAAH8ASAA9gIAIQLyASAAAAAB_AEgAPcCACEG7AEAAPgCADDtAQAAsQIAEO4BAAD4AgAw7wECAOQCACHwAQEA5QIAIYQCAgD5AgAhDQQAAOgCACAmAAD7AgAgJwAA6AIAICgAAOgCACApAADoAgAg8gECAAAAAfMBAgAAAAX0AQIAAAAF9QECAAAAAfYBAgAAAAH3AQIAAAAB-AECAAAAAfwBAgD6AgAhDQQAAOgCACAmAAD7AgAgJwAA6AIAICgAAOgCACApAADoAgAg8gECAAAAAfMBAgAAAAX0AQIAAAAF9QECAAAAAfYBAgAAAAH3AQIAAAAB-AECAAAAAfwBAgD6AgAhCPIBCAAAAAHzAQgAAAAF9AEIAAAABfUBCAAAAAH2AQgAAAAB9wEIAAAAAfgBCAAAAAH8AQgA-wIAIQbsAQAA_AIAMO0BAACZAgAQ7gEAAPwCADDvAQIA5AIAIfABAQDlAgAhhQICAOQCACEHDAAA8wIAIOwBAAD9AgAw7QEAAIYCABDuAQAA_QIAMO8BAgDwAgAh8AEBAPECACGFAgIA8AIAIQfsAQAA_gIAMO0BAACAAgAQ7gEAAP4CADCDAgEA5QIAIYYCAQDlAgAhhwJAAP8CACGIAkAA_wIAIQsEAADrAgAgKAAAgQMAICkAAIEDACDyAUAAAAAB8wFAAAAABPQBQAAAAAT1AUAAAAAB9gFAAAAAAfcBQAAAAAH4AUAAAAAB_AFAAIADACELBAAA6wIAICgAAIEDACApAACBAwAg8gFAAAAAAfMBQAAAAAT0AUAAAAAE9QFAAAAAAfYBQAAAAAH3AUAAAAAB-AFAAAAAAfwBQACAAwAhCPIBQAAAAAHzAUAAAAAE9AFAAAAABPUBQAAAAAH2AUAAAAAB9wFAAAAAAfgBQAAAAAH8AUAAgQMAIQnsAQAAggMAMO0BAADqAQAQ7gEAAIIDADDvAQEA5QIAIfABAQDlAgAhiQIBAOUCACGKAgIA5AIAIYsCAgDkAgAhjAICAOQCACEJ7AEAAIMDADDtAQAA1AEAEO4BAACDAwAw7wEBAOUCACGFAgEA5QIAIYcCQAD_AgAhiAJAAP8CACGNAgEA5QIAIY4CQAD_AgAhCewBAACEAwAw7QEAAMEBABDuAQAAhAMAMO8BAQDxAgAhhQIBAPECACGHAkAAhQMAIYgCQACFAwAhjQIBAPECACGOAkAAhQMAIQjyAUAAAAAB8wFAAAAABPQBQAAAAAT1AUAAAAAB9gFAAAAAAfcBQAAAAAH4AUAAAAAB_AFAAIEDACEF7AEAAIYDADDtAQAAuwEAEO4BAACGAwAw7wECAOQCACHwAQEA5QIAIQYDAACIAwAg7AEAAIcDADDtAQAAAwAQ7gEAAIcDADDvAQIA8AIAIfABAQDxAgAhA_0BAAAFACD-AQAABQAg_wEAAAUAIBDsAQAAiQMAMO0BAACjAQAQ7gEAAIkDADDvAQEA5QIAIYMCAQDlAgAhhwJAAP8CACGIAkAA_wIAIY8CAQDlAgAhkAIBAOUCACGRAgEA5gIAIZICAQDmAgAhkwIBAOYCACGUAkAAigMAIZUCQACKAwAhlgIBAOYCACGXAgEA5gIAIQsEAADoAgAgKAAAjAMAICkAAIwDACDyAUAAAAAB8wFAAAAABfQBQAAAAAX1AUAAAAAB9gFAAAAAAfcBQAAAAAH4AUAAAAAB_AFAAIsDACELBAAA6AIAICgAAIwDACApAACMAwAg8gFAAAAAAfMBQAAAAAX0AUAAAAAF9QFAAAAAAfYBQAAAAAH3AUAAAAAB-AFAAAAAAfwBQACLAwAhCPIBQAAAAAHzAUAAAAAF9AFAAAAABfUBQAAAAAH2AUAAAAAB9wFAAAAAAfgBQAAAAAH8AUAAjAMAIQvsAQAAjQMAMO0BAACNAQAQ7gEAAI0DADDvAQEA5QIAIYMCAQDlAgAhhwJAAP8CACGIAkAA_wIAIY4CQAD_AgAhmAIBAOUCACGZAgEA5gIAIZoCAQDmAgAhDuwBAACOAwAw7QEAAHcAEO4BAACOAwAw7wEBAOUCACGbAgEA5QIAIZwCAQDlAgAhnQIBAOUCACGeAgEA5QIAIZ8CAQDlAgAhoAIBAOUCACGhAgEA5QIAIaICIAD1AgAhowIgAPUCACGkAiAA9QIAIQnsAQAAjwMAMO0BAABhABDuAQAAjwMAMO8BAQDlAgAhgwIBAOUCACGlAgEA5QIAIaYCAQDlAgAhpwIBAOUCACGoAgEA5gIAIQsGAACRAwAgCgAAkgMAIOwBAACQAwAw7QEAABEAEO4BAACQAwAw7wEBAPECACGDAgEA8QIAIaUCAQDxAgAhpgIBAPECACGnAgEA8QIAIagCAQDyAgAhEwUAAKkDACAHAACqAwAgCAAAqwMAIAkAAKwDACALAACtAwAgEQAAnAMAIOwBAACoAwAw7QEAAAUAEO4BAACoAwAw7wEBAPECACHwAQEA8QIAIYcCQACFAwAhiAJAAIUDACGpAgEA8QIAIaoCIACiAwAhqwIBAPICACGsAgIAlgMAIa8CAAAFACCwAgAABQAgA_0BAAATACD-AQAAEwAg_wEAABMAIAvsAQAAkwMAMO0BAABJABDuAQAAkwMAMO8BAQDlAgAh8AEBAOUCACGHAkAA_wIAIYgCQAD_AgAhqQIBAOUCACGqAiAA9QIAIasCAQDmAgAhrAICAPkCACEC8AEBAAAAAYQCAgAAAAEJDAAA8wIAIA4AAJcDACAPAACYAwAg7AEAAJUDADDtAQAAJQAQ7gEAAJUDADDvAQIA8AIAIfABAQDxAgAhhAICAJYDACEI8gECAAAAAfMBAgAAAAX0AQIAAAAF9QECAAAAAfYBAgAAAAH3AQIAAAAB-AECAAAAAfwBAgDoAgAhCwwAAPMCACAOAACXAwAgDwAAmAMAIOwBAACVAwAw7QEAACUAEO4BAACVAwAw7wECAPACACHwAQEA8QIAIYQCAgCWAwAhrwIAACUAILACAAAlACAD_QEAACUAIP4BAAAlACD_AQAAJQAgDQ0AAJoDACAQAACbAwAgEQAAnAMAIBIAAJ0DACDsAQAAmQMAMO0BAAAgABDuAQAAmQMAMO8BAQDxAgAh8AEBAPECACGJAgEA8QIAIYoCAgDwAgAhiwICAPACACGMAgIA8AIAIQkMAADzAgAg7AEAAP0CADDtAQAAhgIAEO4BAAD9AgAw7wECAPACACHwAQEA8QIAIYUCAgDwAgAhrwIAAIYCACCwAgAAhgIAIAsMAADzAgAgDgAAlwMAIA8AAJgDACDsAQAAlQMAMO0BAAAlABDuAQAAlQMAMO8BAgDwAgAh8AEBAPECACGEAgIAlgMAIa8CAAAlACCwAgAAJQAgA_0BAAAcACD-AQAAHAAg_wEAABwAIAkMAADzAgAg7AEAAO8CADDtAQAAzQIAEO4BAADvAgAw7wECAPACACHwAQEA8QIAIfEBAQDyAgAhrwIAAM0CACCwAgAAzQIAIAKDAgEAAAABhgIBAAAAAQkGAACRAwAgEwAAoAMAIOwBAACfAwAw7QEAABwAEO4BAACfAwAwgwIBAPECACGGAgEA8QIAIYcCQACFAwAhiAJAAIUDACEPDQAAmgMAIBAAAJsDACARAACcAwAgEgAAnQMAIOwBAACZAwAw7QEAACAAEO4BAACZAwAw7wEBAPECACHwAQEA8QIAIYkCAQDxAgAhigICAPACACGLAgIA8AIAIYwCAgDwAgAhrwIAACAAILACAAAgACAJBgAAkQMAIOwBAAChAwAw7QEAABgAEO4BAAChAwAw7wEBAPECACGAAgEA8QIAIYECIACiAwAhggIBAPECACGDAgEA8QIAIQLyASAAAAAB_AEgAPcCACEPCQAApAMAIOwBAACjAwAw7QEAABMAEO4BAACjAwAw7wEBAPECACGbAgEA8QIAIZwCAQDxAgAhnQIBAPECACGeAgEA8QIAIZ8CAQDxAgAhoAIBAPECACGhAgEA8QIAIaICIACiAwAhowIgAKIDACGkAiAAogMAIQ0GAACRAwAgCgAAkgMAIOwBAACQAwAw7QEAABEAEO4BAACQAwAw7wEBAPECACGDAgEA8QIAIaUCAQDxAgAhpgIBAPECACGnAgEA8QIAIagCAQDyAgAhrwIAABEAILACAAARACARBgAAkQMAIOwBAAClAwAw7QEAAA0AEO4BAAClAwAw7wEBAPECACGDAgEA8QIAIYcCQACFAwAhiAJAAIUDACGPAgEA8QIAIZACAQDxAgAhkQIBAPICACGSAgEA8gIAIZMCAQDyAgAhlAJAAKYDACGVAkAApgMAIZYCAQDyAgAhlwIBAPICACEI8gFAAAAAAfMBQAAAAAX0AUAAAAAF9QFAAAAAAfYBQAAAAAH3AUAAAAAB-AFAAAAAAfwBQACMAwAhDAYAAJEDACDsAQAApwMAMO0BAAAJABDuAQAApwMAMO8BAQDxAgAhgwIBAPECACGHAkAAhQMAIYgCQACFAwAhjgJAAIUDACGYAgEA8QIAIZkCAQDyAgAhmgIBAPICACERBQAAqQMAIAcAAKoDACAIAACrAwAgCQAArAMAIAsAAK0DACARAACcAwAg7AEAAKgDADDtAQAABQAQ7gEAAKgDADDvAQEA8QIAIfABAQDxAgAhhwJAAIUDACGIAkAAhQMAIakCAQDxAgAhqgIgAKIDACGrAgEA8gIAIawCAgCWAwAhCAMAAIgDACDsAQAAhwMAMO0BAAADABDuAQAAhwMAMO8BAgDwAgAh8AEBAPECACGvAgAAAwAgsAIAAAMAIAP9AQAACQAg_gEAAAkAIP8BAAAJACAD_QEAAA0AIP4BAAANACD_AQAADQAgDQYAAJEDACAKAACSAwAg7AEAAJADADDtAQAAEQAQ7gEAAJADADDvAQEA8QIAIYMCAQDxAgAhpQIBAPECACGmAgEA8QIAIacCAQDxAgAhqAIBAPICACGvAgAAEQAgsAIAABEAIAP9AQAAGAAg_gEAABgAIP8BAAAYACAAAAAAAAABtAIBAAAAAQG0AgEAAAABBbQCAgAAAAG6AgIAAAABuwICAAAAAbwCAgAAAAG9AgIAAAABCyAAALgDADAhAAC9AwAwsQIAALkDADCyAgAAugMAMLMCAAC7AwAgtAIAALwDADC1AgAAvAMAMLYCAAC8AwAwtwIAALwDADC4AgAAvgMAMLkCAAC_AwAwCA0AANYDACAQAADXAwAgEQAA2AMAIO8BAQAAAAHwAQEAAAABiQIBAAAAAYoCAgAAAAGLAgIAAAABAgAAACIAICAAANUDACADAAAAIgAgIAAA1QMAICEAAMIDACABGQAA7gUAMA0NAACaAwAgEAAAmwMAIBEAAJwDACASAACdAwAg7AEAAJkDADDtAQAAIAAQ7gEAAJkDADDvAQEAAAAB8AEBAAAAAYkCAQDxAgAhigICAPACACGLAgIA8AIAIYwCAgDwAgAhAgAAACIAIBkAAMIDACACAAAAwAMAIBkAAMEDACAJ7AEAAL8DADDtAQAAwAMAEO4BAAC_AwAw7wEBAPECACHwAQEA8QIAIYkCAQDxAgAhigICAPACACGLAgIA8AIAIYwCAgDwAgAhCewBAAC_AwAw7QEAAMADABDuAQAAvwMAMO8BAQDxAgAh8AEBAPECACGJAgEA8QIAIYoCAgDwAgAhiwICAPACACGMAgIA8AIAIQXvAQEAtAMAIfABAQC0AwAhiQIBALQDACGKAgIAtgMAIYsCAgC2AwAhCA0AAMMDACAQAADEAwAgEQAAxQMAIO8BAQC0AwAh8AEBALQDACGJAgEAtAMAIYoCAgC2AwAhiwICALYDACEFIAAA4AUAICEAAOwFACCxAgAA4QUAILICAADrBQAgtwIAAIMCACAFIAAA3gUAICEAAOkFACCxAgAA3wUAILICAADoBQAgtwIAACgAIAsgAADGAwAwIQAAywMAMLECAADHAwAwsgIAAMgDADCzAgAAyQMAILQCAADKAwAwtQIAAMoDADC2AgAAygMAMLcCAADKAwAwuAIAAMwDADC5AgAAzQMAMAQGAADUAwAggwIBAAAAAYcCQAAAAAGIAkAAAAABAgAAAB4AICAAANMDACADAAAAHgAgIAAA0wMAICEAANEDACABGQAA5wUAMAoGAACRAwAgEwAAoAMAIOwBAACfAwAw7QEAABwAEO4BAACfAwAwgwIBAPECACGGAgEA8QIAIYcCQACFAwAhiAJAAIUDACGuAgAAngMAIAIAAAAeACAZAADRAwAgAgAAAM4DACAZAADPAwAgB-wBAADNAwAw7QEAAM4DABDuAQAAzQMAMIMCAQDxAgAhhgIBAPECACGHAkAAhQMAIYgCQACFAwAhB-wBAADNAwAw7QEAAM4DABDuAQAAzQMAMIMCAQDxAgAhhgIBAPECACGHAkAAhQMAIYgCQACFAwAhA4MCAQC0AwAhhwJAANADACGIAkAA0AMAIQG0AkAAAAABBAYAANIDACCDAgEAtAMAIYcCQADQAwAhiAJAANADACEFIAAA4gUAICEAAOUFACCxAgAA4wUAILICAADkBQAgtwIAAAEAIAQGAADUAwAggwIBAAAAAYcCQAAAAAGIAkAAAAABAyAAAOIFACCxAgAA4wUAILcCAAABACAIDQAA1gMAIBAAANcDACARAADYAwAg7wEBAAAAAfABAQAAAAGJAgEAAAABigICAAAAAYsCAgAAAAEDIAAA4AUAILECAADhBQAgtwIAAIMCACADIAAA3gUAILECAADfBQAgtwIAACgAIAQgAADGAwAwsQIAAMcDADCzAgAAyQMAILcCAADKAwAwBCAAALgDADCxAgAAuQMAMLMCAAC7AwAgtwIAALwDADAAAAAAAbQCIAAAAAEFIAAA2QUAICEAANwFACCxAgAA2gUAILICAADbBQAgtwIAAAEAIAMgAADZBQAgsQIAANoFACC3AgAAAQAgAAAAAAAFtAICAAAAAboCAgAAAAG7AgIAAAABvAICAAAAAb0CAgAAAAEHIAAAzQUAICEAANcFACCxAgAAzgUAILICAADWBQAgtQIAACUAILYCAAAlACC3AgAAKAAgCyAAAPUDADAhAAD6AwAwsQIAAPYDADCyAgAA9wMAMLMCAAD4AwAgtAIAAPkDADC1AgAA-QMAMLYCAAD5AwAwtwIAAPkDADC4AgAA-wMAMLkCAAD8AwAwCyAAAOoDADAhAADuAwAwsQIAAOsDADCyAgAA7AMAMLMCAADtAwAgtAIAALwDADC1AgAAvAMAMLYCAAC8AwAwtwIAALwDADC4AgAA7wMAMLkCAAC_AwAwCA0AANYDACARAADYAwAgEgAA9AMAIO8BAQAAAAHwAQEAAAABiQIBAAAAAYoCAgAAAAGMAgIAAAABAgAAACIAICAAAPMDACADAAAAIgAgIAAA8wMAICEAAPEDACABGQAA1QUAMAIAAAAiACAZAADxAwAgAgAAAMADACAZAADwAwAgBe8BAQC0AwAh8AEBALQDACGJAgEAtAMAIYoCAgC2AwAhjAICALYDACEIDQAAwwMAIBEAAMUDACASAADyAwAg7wEBALQDACHwAQEAtAMAIYkCAQC0AwAhigICALYDACGMAgIAtgMAIQUgAADQBQAgIQAA0wUAILECAADRBQAgsgIAANIFACC3AgAAygIAIAgNAADWAwAgEQAA2AMAIBIAAPQDACDvAQEAAAAB8AEBAAAAAYkCAQAAAAGKAgIAAAABjAICAAAAAQMgAADQBQAgsQIAANEFACC3AgAAygIAIAQMAACCBAAgDwAAgQQAIO8BAgAAAAHwAQEAAAABAgAAACgAICAAAIAEACADAAAAKAAgIAAAgAQAICEAAP8DACABGQAAzwUAMAoMAADzAgAgDgAAlwMAIA8AAJgDACDsAQAAlQMAMO0BAAAlABDuAQAAlQMAMO8BAgAAAAHwAQEA8QIAIYQCAgCWAwAhrQIAAJQDACACAAAAKAAgGQAA_wMAIAIAAAD9AwAgGQAA_gMAIAbsAQAA_AMAMO0BAAD9AwAQ7gEAAPwDADDvAQIA8AIAIfABAQDxAgAhhAICAJYDACEG7AEAAPwDADDtAQAA_QMAEO4BAAD8AwAw7wECAPACACHwAQEA8QIAIYQCAgCWAwAhAu8BAgC2AwAh8AEBALQDACEEDAAA6QMAIA8AAOgDACDvAQIAtgMAIfABAQC0AwAhBAwAAIIEACAPAACBBAAg7wECAAAAAfABAQAAAAEEIAAA9QMAMLECAAD2AwAwswIAAPgDACC3AgAA-QMAMAQgAADqAwAwsQIAAOsDADCzAgAA7QMAILcCAAC8AwAwAyAAAM0FACCxAgAAzgUAILcCAAAoACAAAAAAAAsgAACKBAAwIQAAjgQAMLECAACLBAAwsgIAAIwEADCzAgAAjQQAILQCAAC8AwAwtQIAALwDADC2AgAAvAMAMLcCAAC8AwAwuAIAAI8EADC5AgAAvwMAMAgQAADXAwAgEQAA2AMAIBIAAPQDACDvAQEAAAAB8AEBAAAAAYkCAQAAAAGLAgIAAAABjAICAAAAAQIAAAAiACAgAACSBAAgAwAAACIAICAAAJIEACAhAACRBAAgARkAAMwFADACAAAAIgAgGQAAkQQAIAIAAADAAwAgGQAAkAQAIAXvAQEAtAMAIfABAQC0AwAhiQIBALQDACGLAgIAtgMAIYwCAgC2AwAhCBAAAMQDACARAADFAwAgEgAA8gMAIO8BAQC0AwAh8AEBALQDACGJAgEAtAMAIYsCAgC2AwAhjAICALYDACEIEAAA1wMAIBEAANgDACASAAD0AwAg7wEBAAAAAfABAQAAAAGJAgEAAAABiwICAAAAAYwCAgAAAAEEIAAAigQAMLECAACLBAAwswIAAI0EACC3AgAAvAMAMAAAAAUgAADHBQAgIQAAygUAILECAADIBQAgsgIAAMkFACC3AgAAIgAgAyAAAMcFACCxAgAAyAUAILcCAAAiACAAAAAAAAAAAAAAAAAACyAAAKcEADAhAACsBAAwsQIAAKgEADCyAgAAqQQAMLMCAACqBAAgtAIAAKsEADC1AgAAqwQAMLYCAACrBAAwtwIAAKsEADC4AgAArQQAMLkCAACuBAAwDAcAAPkEACAIAAD6BAAgCQAA-wQAIAsAAPwEACARAAD9BAAg7wEBAAAAAfABAQAAAAGHAkAAAAABiAJAAAAAAakCAQAAAAGqAiAAAAABqwIBAAAAAQIAAAABACAgAAD4BAAgAwAAAAEAICAAAPgEACAhAACxBAAgARkAAMYFADARBQAAqQMAIAcAAKoDACAIAACrAwAgCQAArAMAIAsAAK0DACARAACcAwAg7AEAAKgDADDtAQAABQAQ7gEAAKgDADDvAQEAAAAB8AEBAPECACGHAkAAhQMAIYgCQACFAwAhqQIBAAAAAaoCIACiAwAhqwIBAPICACGsAgIAlgMAIQIAAAABACAZAACxBAAgAgAAAK8EACAZAACwBAAgC-wBAACuBAAw7QEAAK8EABDuAQAArgQAMO8BAQDxAgAh8AEBAPECACGHAkAAhQMAIYgCQACFAwAhqQIBAPECACGqAiAAogMAIasCAQDyAgAhrAICAJYDACEL7AEAAK4EADDtAQAArwQAEO4BAACuBAAw7wEBAPECACHwAQEA8QIAIYcCQACFAwAhiAJAAIUDACGpAgEA8QIAIaoCIACiAwAhqwIBAPICACGsAgIAlgMAIQfvAQEAtAMAIfABAQC0AwAhhwJAANADACGIAkAA0AMAIakCAQC0AwAhqgIgAN4DACGrAgEAtQMAIQwHAACyBAAgCAAAswQAIAkAALQEACALAAC1BAAgEQAAtgQAIO8BAQC0AwAh8AEBALQDACGHAkAA0AMAIYgCQADQAwAhqQIBALQDACGqAiAA3gMAIasCAQC1AwAhCyAAAOwEADAhAADxBAAwsQIAAO0EADCyAgAA7gQAMLMCAADvBAAgtAIAAPAEADC1AgAA8AQAMLYCAADwBAAwtwIAAPAEADC4AgAA8gQAMLkCAADzBAAwCyAAAN8EADAhAADkBAAwsQIAAOAEADCyAgAA4QQAMLMCAADiBAAgtAIAAOMEADC1AgAA4wQAMLYCAADjBAAwtwIAAOMEADC4AgAA5QQAMLkCAADmBAAwByAAAMwEACAhAADPBAAgsQIAAM0EACCyAgAAzgQAILUCAAARACC2AgAAEQAgtwIAAEwAIAsgAADABAAwIQAAxQQAMLECAADBBAAwsgIAAMIEADCzAgAAwwQAILQCAADEBAAwtQIAAMQEADC2AgAAxAQAMLcCAADEBAAwuAIAAMYEADC5AgAAxwQAMAsgAAC3BAAwIQAAuwQAMLECAAC4BAAwsgIAALkEADCzAgAAugQAILQCAADKAwAwtQIAAMoDADC2AgAAygMAMLcCAADKAwAwuAIAALwEADC5AgAAzQMAMAQTAACYBAAghgIBAAAAAYcCQAAAAAGIAkAAAAABAgAAAB4AICAAAL8EACADAAAAHgAgIAAAvwQAICEAAL4EACABGQAAxQUAMAIAAAAeACAZAAC-BAAgAgAAAM4DACAZAAC9BAAgA4YCAQC0AwAhhwJAANADACGIAkAA0AMAIQQTAACXBAAghgIBALQDACGHAkAA0AMAIYgCQADQAwAhBBMAAJgEACCGAgEAAAABhwJAAAAAAYgCQAAAAAEE7wEBAAAAAYACAQAAAAGBAiAAAAABggIBAAAAAQIAAAAaACAgAADLBAAgAwAAABoAICAAAMsEACAhAADKBAAgARkAAMQFADAJBgAAkQMAIOwBAAChAwAw7QEAABgAEO4BAAChAwAw7wEBAAAAAYACAQAAAAGBAiAAogMAIYICAQDxAgAhgwIBAPECACECAAAAGgAgGQAAygQAIAIAAADIBAAgGQAAyQQAIAjsAQAAxwQAMO0BAADIBAAQ7gEAAMcEADDvAQEA8QIAIYACAQDxAgAhgQIgAKIDACGCAgEA8QIAIYMCAQDxAgAhCOwBAADHBAAw7QEAAMgEABDuAQAAxwQAMO8BAQDxAgAhgAIBAPECACGBAiAAogMAIYICAQDxAgAhgwIBAPECACEE7wEBALQDACGAAgEAtAMAIYECIADeAwAhggIBALQDACEE7wEBALQDACGAAgEAtAMAIYECIADeAwAhggIBALQDACEE7wEBAAAAAYACAQAAAAGBAiAAAAABggIBAAAAAQYKAADeBAAg7wEBAAAAAaUCAQAAAAGmAgEAAAABpwIBAAAAAagCAQAAAAECAAAATAAgIAAAzAQAIAMAAAARACAgAADMBAAgIQAA0AQAIAgAAAARACAKAADRBAAgGQAA0AQAIO8BAQC0AwAhpQIBALQDACGmAgEAtAMAIacCAQC0AwAhqAIBALUDACEGCgAA0QQAIO8BAQC0AwAhpQIBALQDACGmAgEAtAMAIacCAQC0AwAhqAIBALUDACELIAAA0gQAMCEAANcEADCxAgAA0wQAMLICAADUBAAwswIAANUEACC0AgAA1gQAMLUCAADWBAAwtgIAANYEADC3AgAA1gQAMLgCAADYBAAwuQIAANkEADAK7wEBAAAAAZwCAQAAAAGdAgEAAAABngIBAAAAAZ8CAQAAAAGgAgEAAAABoQIBAAAAAaICIAAAAAGjAiAAAAABpAIgAAAAAQIAAAAVACAgAADdBAAgAwAAABUAICAAAN0EACAhAADcBAAgARkAAMMFADAPCQAApAMAIOwBAACjAwAw7QEAABMAEO4BAACjAwAw7wEBAAAAAZsCAQDxAgAhnAIBAPECACGdAgEA8QIAIZ4CAQDxAgAhnwIBAPECACGgAgEA8QIAIaECAQDxAgAhogIgAKIDACGjAiAAogMAIaQCIACiAwAhAgAAABUAIBkAANwEACACAAAA2gQAIBkAANsEACAO7AEAANkEADDtAQAA2gQAEO4BAADZBAAw7wEBAPECACGbAgEA8QIAIZwCAQDxAgAhnQIBAPECACGeAgEA8QIAIZ8CAQDxAgAhoAIBAPECACGhAgEA8QIAIaICIACiAwAhowIgAKIDACGkAiAAogMAIQ7sAQAA2QQAMO0BAADaBAAQ7gEAANkEADDvAQEA8QIAIZsCAQDxAgAhnAIBAPECACGdAgEA8QIAIZ4CAQDxAgAhnwIBAPECACGgAgEA8QIAIaECAQDxAgAhogIgAKIDACGjAiAAogMAIaQCIACiAwAhCu8BAQC0AwAhnAIBALQDACGdAgEAtAMAIZ4CAQC0AwAhnwIBALQDACGgAgEAtAMAIaECAQC0AwAhogIgAN4DACGjAiAA3gMAIaQCIADeAwAhCu8BAQC0AwAhnAIBALQDACGdAgEAtAMAIZ4CAQC0AwAhnwIBALQDACGgAgEAtAMAIaECAQC0AwAhogIgAN4DACGjAiAA3gMAIaQCIADeAwAhCu8BAQAAAAGcAgEAAAABnQIBAAAAAZ4CAQAAAAGfAgEAAAABoAIBAAAAAaECAQAAAAGiAiAAAAABowIgAAAAAaQCIAAAAAEEIAAA0gQAMLECAADTBAAwswIAANUEACC3AgAA1gQAMAzvAQEAAAABhwJAAAAAAYgCQAAAAAGPAgEAAAABkAIBAAAAAZECAQAAAAGSAgEAAAABkwIBAAAAAZQCQAAAAAGVAkAAAAABlgIBAAAAAZcCAQAAAAECAAAADwAgIAAA6wQAIAMAAAAPACAgAADrBAAgIQAA6gQAIAEZAADCBQAwEQYAAJEDACDsAQAApQMAMO0BAAANABDuAQAApQMAMO8BAQAAAAGDAgEA8QIAIYcCQACFAwAhiAJAAIUDACGPAgEA8QIAIZACAQDxAgAhkQIBAPICACGSAgEA8gIAIZMCAQDyAgAhlAJAAKYDACGVAkAApgMAIZYCAQDyAgAhlwIBAPICACECAAAADwAgGQAA6gQAIAIAAADnBAAgGQAA6AQAIBDsAQAA5gQAMO0BAADnBAAQ7gEAAOYEADDvAQEA8QIAIYMCAQDxAgAhhwJAAIUDACGIAkAAhQMAIY8CAQDxAgAhkAIBAPECACGRAgEA8gIAIZICAQDyAgAhkwIBAPICACGUAkAApgMAIZUCQACmAwAhlgIBAPICACGXAgEA8gIAIRDsAQAA5gQAMO0BAADnBAAQ7gEAAOYEADDvAQEA8QIAIYMCAQDxAgAhhwJAAIUDACGIAkAAhQMAIY8CAQDxAgAhkAIBAPECACGRAgEA8gIAIZICAQDyAgAhkwIBAPICACGUAkAApgMAIZUCQACmAwAhlgIBAPICACGXAgEA8gIAIQzvAQEAtAMAIYcCQADQAwAhiAJAANADACGPAgEAtAMAIZACAQC0AwAhkQIBALUDACGSAgEAtQMAIZMCAQC1AwAhlAJAAOkEACGVAkAA6QQAIZYCAQC1AwAhlwIBALUDACEBtAJAAAAAAQzvAQEAtAMAIYcCQADQAwAhiAJAANADACGPAgEAtAMAIZACAQC0AwAhkQIBALUDACGSAgEAtQMAIZMCAQC1AwAhlAJAAOkEACGVAkAA6QQAIZYCAQC1AwAhlwIBALUDACEM7wEBAAAAAYcCQAAAAAGIAkAAAAABjwIBAAAAAZACAQAAAAGRAgEAAAABkgIBAAAAAZMCAQAAAAGUAkAAAAABlQJAAAAAAZYCAQAAAAGXAgEAAAABB-8BAQAAAAGHAkAAAAABiAJAAAAAAY4CQAAAAAGYAgEAAAABmQIBAAAAAZoCAQAAAAECAAAACwAgIAAA9wQAIAMAAAALACAgAAD3BAAgIQAA9gQAIAEZAADBBQAwDAYAAJEDACDsAQAApwMAMO0BAAAJABDuAQAApwMAMO8BAQAAAAGDAgEA8QIAIYcCQACFAwAhiAJAAIUDACGOAkAAhQMAIZgCAQAAAAGZAgEA8gIAIZoCAQDyAgAhAgAAAAsAIBkAAPYEACACAAAA9AQAIBkAAPUEACAL7AEAAPMEADDtAQAA9AQAEO4BAADzBAAw7wEBAPECACGDAgEA8QIAIYcCQACFAwAhiAJAAIUDACGOAkAAhQMAIZgCAQDxAgAhmQIBAPICACGaAgEA8gIAIQvsAQAA8wQAMO0BAAD0BAAQ7gEAAPMEADDvAQEA8QIAIYMCAQDxAgAhhwJAAIUDACGIAkAAhQMAIY4CQACFAwAhmAIBAPECACGZAgEA8gIAIZoCAQDyAgAhB-8BAQC0AwAhhwJAANADACGIAkAA0AMAIY4CQADQAwAhmAIBALQDACGZAgEAtQMAIZoCAQC1AwAhB-8BAQC0AwAhhwJAANADACGIAkAA0AMAIY4CQADQAwAhmAIBALQDACGZAgEAtQMAIZoCAQC1AwAhB-8BAQAAAAGHAkAAAAABiAJAAAAAAY4CQAAAAAGYAgEAAAABmQIBAAAAAZoCAQAAAAEMBwAA-QQAIAgAAPoEACAJAAD7BAAgCwAA_AQAIBEAAP0EACDvAQEAAAAB8AEBAAAAAYcCQAAAAAGIAkAAAAABqQIBAAAAAaoCIAAAAAGrAgEAAAABBCAAAOwEADCxAgAA7QQAMLMCAADvBAAgtwIAAPAEADAEIAAA3wQAMLECAADgBAAwswIAAOIEACC3AgAA4wQAMAMgAADMBAAgsQIAAM0EACC3AgAATAAgBCAAAMAEADCxAgAAwQQAMLMCAADDBAAgtwIAAMQEADAEIAAAtwQAMLECAAC4BAAwswIAALoEACC3AgAAygMAMAQgAACnBAAwsQIAAKgEADCzAgAAqgQAILcCAACrBAAwAAAAAAUgAAC8BQAgIQAAvwUAILECAAC9BQAgsgIAAL4FACC3AgAAAQAgAyAAALwFACCxAgAAvQUAILcCAAABACAAAAAFIAAAtwUAICEAALoFACCxAgAAuAUAILICAAC5BQAgtwIAAAEAIAMgAAC3BQAgsQIAALgFACC3AgAAAQAgAAAABSAAALIFACAhAAC1BQAgsQIAALMFACCyAgAAtAUAILcCAABMACADIAAAsgUAILECAACzBQAgtwIAAEwAIAAAAAUgAACtBQAgIQAAsAUAILECAACuBQAgsgIAAK8FACC3AgAAAQAgAyAAAK0FACCxAgAArgUAILcCAAABACAIBQAApAUAIAcAAKUFACAIAACmBQAgCQAAowUAIAsAAKcFACARAACgBQAgqwIAAK4DACCsAgAArgMAIAAAAAAAAAcgAACoBQAgIQAAqwUAILECAACpBQAgsgIAAKoFACC1AgAAAwAgtgIAAAMAILcCAACmAQAgAyAAAKgFACCxAgAAqQUAILcCAACmAQAgBAwAANoDACAOAACdBQAgDwAAngUAIIQCAACuAwAgAAEMAADaAwAgAAIMAADaAwAg8QEAAK4DACAEDQAAnwUAIBAAAJ0FACARAACgBQAgEgAAoQUAIAMGAACUBQAgCgAAlQUAIKgCAACuAwAgAQMAAP8EACAAAAAC7wECAAAAAfABAQAAAAECAAAApgEAICAAAKgFACADAAAAAwAgIAAAqAUAICEAAKwFACAEAAAAAwAgGQAArAUAIO8BAgC2AwAh8AEBALQDACEC7wECALYDACHwAQEAtAMAIQ0FAACcBQAgBwAA-QQAIAgAAPoEACALAAD8BAAgEQAA_QQAIO8BAQAAAAHwAQEAAAABhwJAAAAAAYgCQAAAAAGpAgEAAAABqgIgAAAAAasCAQAAAAGsAgIAAAABAgAAAAEAICAAAK0FACADAAAABQAgIAAArQUAICEAALEFACAPAAAABQAgBQAAmwUAIAcAALIEACAIAACzBAAgCwAAtQQAIBEAALYEACAZAACxBQAg7wEBALQDACHwAQEAtAMAIYcCQADQAwAhiAJAANADACGpAgEAtAMAIaoCIADeAwAhqwIBALUDACGsAgIA5gMAIQ0FAACbBQAgBwAAsgQAIAgAALMEACALAAC1BAAgEQAAtgQAIO8BAQC0AwAh8AEBALQDACGHAkAA0AMAIYgCQADQAwAhqQIBALQDACGqAiAA3gMAIasCAQC1AwAhrAICAOYDACEHBgAAkwUAIO8BAQAAAAGDAgEAAAABpQIBAAAAAaYCAQAAAAGnAgEAAAABqAIBAAAAAQIAAABMACAgAACyBQAgAwAAABEAICAAALIFACAhAAC2BQAgCQAAABEAIAYAAJIFACAZAAC2BQAg7wEBALQDACGDAgEAtAMAIaUCAQC0AwAhpgIBALQDACGnAgEAtAMAIagCAQC1AwAhBwYAAJIFACDvAQEAtAMAIYMCAQC0AwAhpQIBALQDACGmAgEAtAMAIacCAQC0AwAhqAIBALUDACENBQAAnAUAIAgAAPoEACAJAAD7BAAgCwAA_AQAIBEAAP0EACDvAQEAAAAB8AEBAAAAAYcCQAAAAAGIAkAAAAABqQIBAAAAAaoCIAAAAAGrAgEAAAABrAICAAAAAQIAAAABACAgAAC3BQAgAwAAAAUAICAAALcFACAhAAC7BQAgDwAAAAUAIAUAAJsFACAIAACzBAAgCQAAtAQAIAsAALUEACARAAC2BAAgGQAAuwUAIO8BAQC0AwAh8AEBALQDACGHAkAA0AMAIYgCQADQAwAhqQIBALQDACGqAiAA3gMAIasCAQC1AwAhrAICAOYDACENBQAAmwUAIAgAALMEACAJAAC0BAAgCwAAtQQAIBEAALYEACDvAQEAtAMAIfABAQC0AwAhhwJAANADACGIAkAA0AMAIakCAQC0AwAhqgIgAN4DACGrAgEAtQMAIawCAgDmAwAhDQUAAJwFACAHAAD5BAAgCQAA-wQAIAsAAPwEACARAAD9BAAg7wEBAAAAAfABAQAAAAGHAkAAAAABiAJAAAAAAakCAQAAAAGqAiAAAAABqwIBAAAAAawCAgAAAAECAAAAAQAgIAAAvAUAIAMAAAAFACAgAAC8BQAgIQAAwAUAIA8AAAAFACAFAACbBQAgBwAAsgQAIAkAALQEACALAAC1BAAgEQAAtgQAIBkAAMAFACDvAQEAtAMAIfABAQC0AwAhhwJAANADACGIAkAA0AMAIakCAQC0AwAhqgIgAN4DACGrAgEAtQMAIawCAgDmAwAhDQUAAJsFACAHAACyBAAgCQAAtAQAIAsAALUEACARAAC2BAAg7wEBALQDACHwAQEAtAMAIYcCQADQAwAhiAJAANADACGpAgEAtAMAIaoCIADeAwAhqwIBALUDACGsAgIA5gMAIQfvAQEAAAABhwJAAAAAAYgCQAAAAAGOAkAAAAABmAIBAAAAAZkCAQAAAAGaAgEAAAABDO8BAQAAAAGHAkAAAAABiAJAAAAAAY8CAQAAAAGQAgEAAAABkQIBAAAAAZICAQAAAAGTAgEAAAABlAJAAAAAAZUCQAAAAAGWAgEAAAABlwIBAAAAAQrvAQEAAAABnAIBAAAAAZ0CAQAAAAGeAgEAAAABnwIBAAAAAaACAQAAAAGhAgEAAAABogIgAAAAAaMCIAAAAAGkAiAAAAABBO8BAQAAAAGAAgEAAAABgQIgAAAAAYICAQAAAAEDhgIBAAAAAYcCQAAAAAGIAkAAAAABB-8BAQAAAAHwAQEAAAABhwJAAAAAAYgCQAAAAAGpAgEAAAABqgIgAAAAAasCAQAAAAEJDQAA1gMAIBAAANcDACASAAD0AwAg7wEBAAAAAfABAQAAAAGJAgEAAAABigICAAAAAYsCAgAAAAGMAgIAAAABAgAAACIAICAAAMcFACADAAAAIAAgIAAAxwUAICEAAMsFACALAAAAIAAgDQAAwwMAIBAAAMQDACASAADyAwAgGQAAywUAIO8BAQC0AwAh8AEBALQDACGJAgEAtAMAIYoCAgC2AwAhiwICALYDACGMAgIAtgMAIQkNAADDAwAgEAAAxAMAIBIAAPIDACDvAQEAtAMAIfABAQC0AwAhiQIBALQDACGKAgIAtgMAIYsCAgC2AwAhjAICALYDACEF7wEBAAAAAfABAQAAAAGJAgEAAAABiwICAAAAAYwCAgAAAAEFDAAAggQAIA4AAIMEACDvAQIAAAAB8AEBAAAAAYQCAgAAAAECAAAAKAAgIAAAzQUAIALvAQIAAAAB8AEBAAAAAQPvAQIAAAAB8AEBAAAAAfEBAQAAAAECAAAAygIAICAAANAFACADAAAAzQIAICAAANAFACAhAADUBQAgBQAAAM0CACAZAADUBQAg7wECALYDACHwAQEAtAMAIfEBAQC1AwAhA-8BAgC2AwAh8AEBALQDACHxAQEAtQMAIQXvAQEAAAAB8AEBAAAAAYkCAQAAAAGKAgIAAAABjAICAAAAAQMAAAAlACAgAADNBQAgIQAA2AUAIAcAAAAlACAMAADpAwAgDgAA5wMAIBkAANgFACDvAQIAtgMAIfABAQC0AwAhhAICAOYDACEFDAAA6QMAIA4AAOcDACDvAQIAtgMAIfABAQC0AwAhhAICAOYDACENBQAAnAUAIAcAAPkEACAIAAD6BAAgCQAA-wQAIBEAAP0EACDvAQEAAAAB8AEBAAAAAYcCQAAAAAGIAkAAAAABqQIBAAAAAaoCIAAAAAGrAgEAAAABrAICAAAAAQIAAAABACAgAADZBQAgAwAAAAUAICAAANkFACAhAADdBQAgDwAAAAUAIAUAAJsFACAHAACyBAAgCAAAswQAIAkAALQEACARAAC2BAAgGQAA3QUAIO8BAQC0AwAh8AEBALQDACGHAkAA0AMAIYgCQADQAwAhqQIBALQDACGqAiAA3gMAIasCAQC1AwAhrAICAOYDACENBQAAmwUAIAcAALIEACAIAACzBAAgCQAAtAQAIBEAALYEACDvAQEAtAMAIfABAQC0AwAhhwJAANADACGIAkAA0AMAIakCAQC0AwAhqgIgAN4DACGrAgEAtQMAIawCAgDmAwAhBQ4AAIMEACAPAACBBAAg7wECAAAAAfABAQAAAAGEAgIAAAABAgAAACgAICAAAN4FACAD7wECAAAAAfABAQAAAAGFAgIAAAABAgAAAIMCACAgAADgBQAgDQUAAJwFACAHAAD5BAAgCAAA-gQAIAkAAPsEACALAAD8BAAg7wEBAAAAAfABAQAAAAGHAkAAAAABiAJAAAAAAakCAQAAAAGqAiAAAAABqwIBAAAAAawCAgAAAAECAAAAAQAgIAAA4gUAIAMAAAAFACAgAADiBQAgIQAA5gUAIA8AAAAFACAFAACbBQAgBwAAsgQAIAgAALMEACAJAAC0BAAgCwAAtQQAIBkAAOYFACDvAQEAtAMAIfABAQC0AwAhhwJAANADACGIAkAA0AMAIakCAQC0AwAhqgIgAN4DACGrAgEAtQMAIawCAgDmAwAhDQUAAJsFACAHAACyBAAgCAAAswQAIAkAALQEACALAAC1BAAg7wEBALQDACHwAQEAtAMAIYcCQADQAwAhiAJAANADACGpAgEAtAMAIaoCIADeAwAhqwIBALUDACGsAgIA5gMAIQODAgEAAAABhwJAAAAAAYgCQAAAAAEDAAAAJQAgIAAA3gUAICEAAOoFACAHAAAAJQAgDgAA5wMAIA8AAOgDACAZAADqBQAg7wECALYDACHwAQEAtAMAIYQCAgDmAwAhBQ4AAOcDACAPAADoAwAg7wECALYDACHwAQEAtAMAIYQCAgDmAwAhAwAAAIYCACAgAADgBQAgIQAA7QUAIAUAAACGAgAgGQAA7QUAIO8BAgC2AwAh8AEBALQDACGFAgIAtgMAIQPvAQIAtgMAIfABAQC0AwAhhQICALYDACEF7wEBAAAAAfABAQAAAAGJAgEAAAABigICAAAAAYsCAgAAAAEHBAATBQQCBwwECBAFCRIGCxsJER8KAgMHAQQAAwEDCAABBgABAQYAAQMEAAgGAAEKFgcBCQAGAQoXAAEGAAECBgABEwALBQQAEg0ADBAADhEtChIAEAIEAA0MIwsBDCQABAQADwwqCw4mDg8pDgIMLAAPKwACBAARDC4LAQwvAAERMAAEBzEACDIACzMAETQAAAEFPgIBBUQCBQQAGCYAGScAGigAGykAHAAAAAAABQQAGCYAGScAGigAGykAHAEGAAEBBgABAwQAISgAIikAIwAAAAMEACEoACIpACMBCQAGAQkABgMEACgoACkpACoAAAADBAAoKAApKQAqAQYAAQEGAAEDBAAvKAAwKQAxAAAAAwQALygAMCkAMQEGAAEBBgABAwQANigANykAOAAAAAMEADYoADcpADgAAAUEAD0mAD4nAD8oAEApAEEAAAAAAAUEAD0mAD4nAD8oAEApAEEAAAADBABHKABIKQBJAAAAAwQARygASCkASQMNAAwQAA4SABADDQAMEAAOEgAQBQQATiYATycAUCgAUSkAUgAAAAAABQQATiYATycAUCgAUSkAUgIGAAETAAsCBgABEwALAwQAVygAWCkAWQAAAAMEAFcoAFgpAFkAAAUEAF4mAF8nAGAoAGEpAGIAAAAAAAUEAF4mAF8nAGAoAGEpAGIBDqYCDgEOrAIOBQQAZyYAaCcAaSgAaikAawAAAAAABQQAZyYAaCcAaSgAaikAawEGAAEBBgABAwQAcCgAcSkAcgAAAAMEAHAoAHEpAHIAAAUEAHcmAHgnAHkoAHopAHsAAAAAAAUEAHcmAHgnAHkoAHopAHsUAgEVNQEWNgEXNwEYOAEaOgEbPBQcPRUdQAEeQhQfQxYiRQEjRgEkRxQqShcrSx0sTQYtTgYuUAYvUQYwUgYxVAYyVhQzVx40WQY1WxQ2XB83XQY4XgY5XxQ6YiA7YyQ8ZAc9ZQc-Zgc_ZwdAaAdBagdCbBRDbSVEbwdFcRRGciZHcwdIdAdJdRRKeCdLeStMegRNewROfARPfQRQfgRRgAEEUoIBFFODASxUhQEEVYcBFFaIAS1XiQEEWIoBBFmLARRajgEuW48BMlyQAQVdkQEFXpIBBV-TAQVglAEFYZYBBWKYARRjmQEzZJsBBWWdARRmngE0Z58BBWigAQVpoQEUaqQBNWulATlspwECbagBAm6qAQJvqwECcKwBAnGuAQJysAEUc7EBOnSzAQJ1tQEUdrYBO3e3AQJ4uAECebkBFHq8ATx7vQFCfL8BQ33AAUN-wwFDf8QBQ4ABxQFDgQHHAUOCAckBFIMBygFEhAHMAUOFAc4BFIYBzwFFhwHQAUOIAdEBQ4kB0gEUigHVAUaLAdYBSowB1wELjQHYAQuOAdkBC48B2gELkAHbAQuRAd0BC5IB3wEUkwHgAUuUAeIBC5UB5AEUlgHlAUyXAeYBC5gB5wELmQHoARSaAesBTZsB7AFTnAHtAQqdAe4BCp4B7wEKnwHwAQqgAfEBCqEB8wEKogH1ARSjAfYBVKQB-AEKpQH6ARSmAfsBVacB_AEKqAH9AQqpAf4BFKoBgQJWqwGCAlqsAYQCDK0BhQIMrgGIAgyvAYkCDLABigIMsQGMAgyyAY4CFLMBjwJbtAGRAgy1AZMCFLYBlAJctwGVAgy4AZYCDLkBlwIUugGaAl27AZsCY7wBnAIOvQGdAg6-AZ4CDr8BnwIOwAGgAg7BAaICDsIBpAIUwwGlAmTEAagCDsUBqgIUxgGrAmXHAa0CDsgBrgIOyQGvAhTKAbICZssBswJszAG0AgnNAbUCCc4BtgIJzwG3AgnQAbgCCdEBugIJ0gG8AhTTAb0CbdQBvwIJ1QHBAhTWAcICbtcBwwIJ2AHEAgnZAcUCFNoByAJv2wHJAnPcAcsCEN0BzAIQ3gHPAhDfAdACEOAB0QIQ4QHTAhDiAdUCFOMB1gJ05AHYAhDlAdoCFOYB2wJ15wHcAhDoAd0CEOkB3gIU6gHhAnbrAeICfA' -}; + strings: JSON.parse("[\"where\",\"orderBy\",\"cursor\",\"users\",\"_count\",\"role\",\"user\",\"sessions\",\"accounts\",\"profile\",\"addresses\",\"licenseKeys\",\"proclamations\",\"solfeggioFrequency\",\"parent\",\"children\",\"category\",\"categoryLevels\",\"subscriptionLevel\",\"subscriptionLevels\",\"userProclamations\",\"proclamation\",\"User.findUnique\",\"User.findUniqueOrThrow\",\"User.findFirst\",\"User.findFirstOrThrow\",\"User.findMany\",\"data\",\"User.createOne\",\"User.createMany\",\"User.createManyAndReturn\",\"User.updateOne\",\"User.updateMany\",\"User.updateManyAndReturn\",\"create\",\"update\",\"User.upsertOne\",\"User.deleteOne\",\"User.deleteMany\",\"having\",\"_avg\",\"_sum\",\"_min\",\"_max\",\"User.groupBy\",\"User.aggregate\",\"Profile.findUnique\",\"Profile.findUniqueOrThrow\",\"Profile.findFirst\",\"Profile.findFirstOrThrow\",\"Profile.findMany\",\"Profile.createOne\",\"Profile.createMany\",\"Profile.createManyAndReturn\",\"Profile.updateOne\",\"Profile.updateMany\",\"Profile.updateManyAndReturn\",\"Profile.upsertOne\",\"Profile.deleteOne\",\"Profile.deleteMany\",\"Profile.groupBy\",\"Profile.aggregate\",\"Address.findUnique\",\"Address.findUniqueOrThrow\",\"Address.findFirst\",\"Address.findFirstOrThrow\",\"Address.findMany\",\"Address.createOne\",\"Address.createMany\",\"Address.createManyAndReturn\",\"Address.updateOne\",\"Address.updateMany\",\"Address.updateManyAndReturn\",\"Address.upsertOne\",\"Address.deleteOne\",\"Address.deleteMany\",\"Address.groupBy\",\"Address.aggregate\",\"Session.findUnique\",\"Session.findUniqueOrThrow\",\"Session.findFirst\",\"Session.findFirstOrThrow\",\"Session.findMany\",\"Session.createOne\",\"Session.createMany\",\"Session.createManyAndReturn\",\"Session.updateOne\",\"Session.updateMany\",\"Session.updateManyAndReturn\",\"Session.upsertOne\",\"Session.deleteOne\",\"Session.deleteMany\",\"Session.groupBy\",\"Session.aggregate\",\"Account.findUnique\",\"Account.findUniqueOrThrow\",\"Account.findFirst\",\"Account.findFirstOrThrow\",\"Account.findMany\",\"Account.createOne\",\"Account.createMany\",\"Account.createManyAndReturn\",\"Account.updateOne\",\"Account.updateMany\",\"Account.updateManyAndReturn\",\"Account.upsertOne\",\"Account.deleteOne\",\"Account.deleteMany\",\"Account.groupBy\",\"Account.aggregate\",\"UserRole.findUnique\",\"UserRole.findUniqueOrThrow\",\"UserRole.findFirst\",\"UserRole.findFirstOrThrow\",\"UserRole.findMany\",\"UserRole.createOne\",\"UserRole.createMany\",\"UserRole.createManyAndReturn\",\"UserRole.updateOne\",\"UserRole.updateMany\",\"UserRole.updateManyAndReturn\",\"UserRole.upsertOne\",\"UserRole.deleteOne\",\"UserRole.deleteMany\",\"UserRole.groupBy\",\"UserRole.aggregate\",\"Verification.findUnique\",\"Verification.findUniqueOrThrow\",\"Verification.findFirst\",\"Verification.findFirstOrThrow\",\"Verification.findMany\",\"Verification.createOne\",\"Verification.createMany\",\"Verification.createManyAndReturn\",\"Verification.updateOne\",\"Verification.updateMany\",\"Verification.updateManyAndReturn\",\"Verification.upsertOne\",\"Verification.deleteOne\",\"Verification.deleteMany\",\"Verification.groupBy\",\"Verification.aggregate\",\"Proclamation.findUnique\",\"Proclamation.findUniqueOrThrow\",\"Proclamation.findFirst\",\"Proclamation.findFirstOrThrow\",\"Proclamation.findMany\",\"Proclamation.createOne\",\"Proclamation.createMany\",\"Proclamation.createManyAndReturn\",\"Proclamation.updateOne\",\"Proclamation.updateMany\",\"Proclamation.updateManyAndReturn\",\"Proclamation.upsertOne\",\"Proclamation.deleteOne\",\"Proclamation.deleteMany\",\"Proclamation.groupBy\",\"Proclamation.aggregate\",\"UserProclamations.findUnique\",\"UserProclamations.findUniqueOrThrow\",\"UserProclamations.findFirst\",\"UserProclamations.findFirstOrThrow\",\"UserProclamations.findMany\",\"UserProclamations.createOne\",\"UserProclamations.createMany\",\"UserProclamations.createManyAndReturn\",\"UserProclamations.updateOne\",\"UserProclamations.updateMany\",\"UserProclamations.updateManyAndReturn\",\"UserProclamations.upsertOne\",\"UserProclamations.deleteOne\",\"UserProclamations.deleteMany\",\"UserProclamations.groupBy\",\"UserProclamations.aggregate\",\"SolfeggioFrequency.findUnique\",\"SolfeggioFrequency.findUniqueOrThrow\",\"SolfeggioFrequency.findFirst\",\"SolfeggioFrequency.findFirstOrThrow\",\"SolfeggioFrequency.findMany\",\"SolfeggioFrequency.createOne\",\"SolfeggioFrequency.createMany\",\"SolfeggioFrequency.createManyAndReturn\",\"SolfeggioFrequency.updateOne\",\"SolfeggioFrequency.updateMany\",\"SolfeggioFrequency.updateManyAndReturn\",\"SolfeggioFrequency.upsertOne\",\"SolfeggioFrequency.deleteOne\",\"SolfeggioFrequency.deleteMany\",\"SolfeggioFrequency.groupBy\",\"SolfeggioFrequency.aggregate\",\"ProclamationCategory.findUnique\",\"ProclamationCategory.findUniqueOrThrow\",\"ProclamationCategory.findFirst\",\"ProclamationCategory.findFirstOrThrow\",\"ProclamationCategory.findMany\",\"ProclamationCategory.createOne\",\"ProclamationCategory.createMany\",\"ProclamationCategory.createManyAndReturn\",\"ProclamationCategory.updateOne\",\"ProclamationCategory.updateMany\",\"ProclamationCategory.updateManyAndReturn\",\"ProclamationCategory.upsertOne\",\"ProclamationCategory.deleteOne\",\"ProclamationCategory.deleteMany\",\"ProclamationCategory.groupBy\",\"ProclamationCategory.aggregate\",\"ProclamationCategorySubscriptionLevel.findUnique\",\"ProclamationCategorySubscriptionLevel.findUniqueOrThrow\",\"ProclamationCategorySubscriptionLevel.findFirst\",\"ProclamationCategorySubscriptionLevel.findFirstOrThrow\",\"ProclamationCategorySubscriptionLevel.findMany\",\"ProclamationCategorySubscriptionLevel.createOne\",\"ProclamationCategorySubscriptionLevel.createMany\",\"ProclamationCategorySubscriptionLevel.createManyAndReturn\",\"ProclamationCategorySubscriptionLevel.updateOne\",\"ProclamationCategorySubscriptionLevel.updateMany\",\"ProclamationCategorySubscriptionLevel.updateManyAndReturn\",\"ProclamationCategorySubscriptionLevel.upsertOne\",\"ProclamationCategorySubscriptionLevel.deleteOne\",\"ProclamationCategorySubscriptionLevel.deleteMany\",\"ProclamationCategorySubscriptionLevel.groupBy\",\"ProclamationCategorySubscriptionLevel.aggregate\",\"LicenseKey.findUnique\",\"LicenseKey.findUniqueOrThrow\",\"LicenseKey.findFirst\",\"LicenseKey.findFirstOrThrow\",\"LicenseKey.findMany\",\"LicenseKey.createOne\",\"LicenseKey.createMany\",\"LicenseKey.createManyAndReturn\",\"LicenseKey.updateOne\",\"LicenseKey.updateMany\",\"LicenseKey.updateManyAndReturn\",\"LicenseKey.upsertOne\",\"LicenseKey.deleteOne\",\"LicenseKey.deleteMany\",\"LicenseKey.groupBy\",\"LicenseKey.aggregate\",\"SubscriptionLevel.findUnique\",\"SubscriptionLevel.findUniqueOrThrow\",\"SubscriptionLevel.findFirst\",\"SubscriptionLevel.findFirstOrThrow\",\"SubscriptionLevel.findMany\",\"SubscriptionLevel.createOne\",\"SubscriptionLevel.createMany\",\"SubscriptionLevel.createManyAndReturn\",\"SubscriptionLevel.updateOne\",\"SubscriptionLevel.updateMany\",\"SubscriptionLevel.updateManyAndReturn\",\"SubscriptionLevel.upsertOne\",\"SubscriptionLevel.deleteOne\",\"SubscriptionLevel.deleteMany\",\"SubscriptionLevel.groupBy\",\"SubscriptionLevel.aggregate\",\"AND\",\"OR\",\"NOT\",\"id\",\"name\",\"description\",\"equals\",\"in\",\"notIn\",\"lt\",\"lte\",\"gt\",\"gte\",\"contains\",\"startsWith\",\"endsWith\",\"not\",\"every\",\"some\",\"none\",\"key\",\"active\",\"level\",\"userId\",\"categoryId\",\"subscriptionLevelId\",\"sortOrder\",\"parentId\",\"value\",\"proclamationId\",\"createdAt\",\"updatedAt\",\"content\",\"solfeggioFrequencyId\",\"identifier\",\"expiresAt\",\"accountId\",\"providerId\",\"accessToken\",\"refreshToken\",\"idToken\",\"accessTokenExpiresAt\",\"refreshTokenExpiresAt\",\"scope\",\"password\",\"token\",\"ipAddress\",\"userAgent\",\"profileId\",\"street\",\"city\",\"state\",\"postalCode\",\"country\",\"type\",\"isDefaultMailing\",\"isDefaultBilling\",\"isDefaultShipping\",\"firstName\",\"lastName\",\"phoneNumber\",\"ghlContactId\",\"email\",\"emailVerified\",\"image\",\"roleId\",\"categoryId_subscriptionLevelId\",\"parentId_name\",\"userId_proclamationId\",\"is\",\"isNot\",\"connectOrCreate\",\"upsert\",\"createMany\",\"set\",\"disconnect\",\"delete\",\"connect\",\"updateMany\",\"deleteMany\",\"increment\",\"decrement\",\"multiply\",\"divide\"]"), + graph: "vgaGAeABEQUAAMoDACAHAADLAwAgCAAAzAMAIAkAAM0DACALAADOAwAgFAAAvgMAIP4BAADJAwAw_wEAAAUAEIACAADJAwAwgQIBAAAAAYICAQCOAwAhnAJAAKQDACGdAkAApAMAIbwCAQAAAAG9AiAAwwMAIb4CAQCPAwAhvwICALkDACEBAAAAAQAgBgMAAKcDACD-AQAApgMAMP8BAAADABCAAgAApgMAMIECAgCNAwAhggIBAI4DACEBAAAAAwAgEQUAAMoDACAHAADLAwAgCAAAzAMAIAkAAM0DACALAADOAwAgFAAAvgMAIP4BAADJAwAw_wEAAAUAEIACAADJAwAwgQIBAI4DACGCAgEAjgMAIZwCQACkAwAhnQJAAKQDACG8AgEAjgMAIb0CIADDAwAhvgIBAI8DACG_AgIAuQMAIQgFAADoBQAgBwAA6QUAIAgAAOoFACAJAADnBQAgCwAA6wUAIBQAAOUFACC-AgAAzwMAIL8CAADPAwAgAwAAAAUAIAEAAAYAMAIAAAEAIAEAAAAFACAMBgAAsAMAIP4BAADIAwAw_wEAAAkAEIACAADIAwAwgQIBAI4DACGVAgEAjgMAIZwCQACkAwAhnQJAAKQDACGhAkAApAMAIasCAQCOAwAhrAIBAI8DACGtAgEAjwMAIQMGAADYBQAgrAIAAM8DACCtAgAAzwMAIAwGAACwAwAg_gEAAMgDADD_AQAACQAQgAIAAMgDADCBAgEAAAABlQIBAI4DACGcAkAApAMAIZ0CQACkAwAhoQJAAKQDACGrAgEAAAABrAIBAI8DACGtAgEAjwMAIQMAAAAJACABAAAKADACAAALACARBgAAsAMAIP4BAADGAwAw_wEAAA0AEIACAADGAwAwgQIBAI4DACGVAgEAjgMAIZwCQACkAwAhnQJAAKQDACGiAgEAjgMAIaMCAQCOAwAhpAIBAI8DACGlAgEAjwMAIaYCAQCPAwAhpwJAAMcDACGoAkAAxwMAIakCAQCPAwAhqgIBAI8DACEIBgAA2AUAIKQCAADPAwAgpQIAAM8DACCmAgAAzwMAIKcCAADPAwAgqAIAAM8DACCpAgAAzwMAIKoCAADPAwAgEQYAALADACD-AQAAxgMAMP8BAAANABCAAgAAxgMAMIECAQAAAAGVAgEAjgMAIZwCQACkAwAhnQJAAKQDACGiAgEAjgMAIaMCAQCOAwAhpAIBAI8DACGlAgEAjwMAIaYCAQCPAwAhpwJAAMcDACGoAkAAxwMAIakCAQCPAwAhqgIBAI8DACEDAAAADQAgAQAADgAwAgAADwAgCwYAALADACAKAACxAwAg_gEAAK8DADD_AQAAEQAQgAIAAK8DADCBAgEAjgMAIZUCAQCOAwAhuAIBAI4DACG5AgEAjgMAIboCAQCOAwAhuwIBAI8DACEBAAAAEQAgDwkAAMUDACD-AQAAxAMAMP8BAAATABCAAgAAxAMAMIECAQCOAwAhrgIBAI4DACGvAgEAjgMAIbACAQCOAwAhsQIBAI4DACGyAgEAjgMAIbMCAQCOAwAhtAIBAI4DACG1AiAAwwMAIbYCIADDAwAhtwIgAMMDACEBCQAA5wUAIA8JAADFAwAg_gEAAMQDADD_AQAAEwAQgAIAAMQDADCBAgEAAAABrgIBAI4DACGvAgEAjgMAIbACAQCOAwAhsQIBAI4DACGyAgEAjgMAIbMCAQCOAwAhtAIBAI4DACG1AiAAwwMAIbYCIADDAwAhtwIgAMMDACEDAAAAEwAgAQAAFAAwAgAAFQAgAQAAABMAIAkGAACwAwAg_gEAAMIDADD_AQAAGAAQgAIAAMIDADCBAgEAjgMAIZICAQCOAwAhkwIgAMMDACGUAgEAjgMAIZUCAQCOAwAhAQYAANgFACAJBgAAsAMAIP4BAADCAwAw_wEAABgAEIACAADCAwAwgQIBAAAAAZICAQAAAAGTAiAAwwMAIZQCAQCOAwAhlQIBAI4DACEDAAAAGAAgAQAAGQAwAgAAGgAgCQYAALADACAVAADBAwAg_gEAAMADADD_AQAAHAAQgAIAAMADADCVAgEAjgMAIZsCAQCOAwAhnAJAAKQDACGdAkAApAMAIQIGAADYBQAgFQAA5gUAIAoGAACwAwAgFQAAwQMAIP4BAADAAwAw_wEAABwAEIACAADAAwAwlQIBAI4DACGbAgEAjgMAIZwCQACkAwAhnQJAAKQDACHCAgAAvwMAIAMAAAAcACABAAAdADACAAAeACANDQAAvQMAIBAAALUDACASAAC2AwAgFAAAvgMAIP4BAAC8AwAw_wEAACAAEIACAAC8AwAwgQIBAI4DACGCAgEAjgMAIZYCAgCNAwAhlwICAI0DACGeAgEAjgMAIZ8CAgCNAwAhBA0AAOQFACAQAADhBQAgEgAA4gUAIBQAAOUFACANDQAAvQMAIBAAALUDACASAAC2AwAgFAAAvgMAIP4BAAC8AwAw_wEAACAAEIACAAC8AwAwgQIBAAAAAYICAQAAAAGWAgIAjQMAIZcCAgCNAwAhngIBAI4DACGfAgIAjQMAIQMAAAAgACABAAAhADACAAAiACABAAAAIAAgCwwAAJADACAOAAC6AwAgDwAAuwMAIBMAAJEDACD-AQAAuAMAMP8BAAAlABCAAgAAuAMAMIECAgCNAwAhggIBAI4DACGYAgIAjQMAIZkCAgC5AwAhAQAAACUAIAUMAACLBAAgDgAA4QUAIA8AAOMFACATAACMBAAgmQIAAM8DACAMDAAAkAMAIA4AALoDACAPAAC7AwAgEwAAkQMAIP4BAAC4AwAw_wEAACUAEIACAAC4AwAwgQICAAAAAYICAQCOAwAhmAICAI0DACGZAgIAuQMAIcECAAC3AwAgAwAAACUAIAEAACcAMAIAACgAIAMAAAAgACABAAAhADACAAAiACAHEAAAtQMAIBIAALYDACD-AQAAtAMAMP8BAAArABCAAgAAtAMAMJYCAgCNAwAhlwICAI0DACECEAAA4QUAIBIAAOIFACAIEAAAtQMAIBIAALYDACD-AQAAtAMAMP8BAAArABCAAgAAtAMAMJYCAgCNAwAhlwICAI0DACHAAgAAswMAIAMAAAArACABAAAsADACAAAtACADAAAAIAAgAQAAIQAwAgAAIgAgAwAAACsAIAEAACwAMAIAAC0AIAEAAAAgACABAAAAKwAgAQAAACUAIAEAAAAgACABAAAAKwAgAwAAABwAIAEAAB0AMAIAAB4AIAEAAAAcACABAAAACQAgAQAAAA0AIAEAAAAYACABAAAAHAAgAQAAAAEAIAMAAAAFACABAAAGADACAAABACADAAAABQAgAQAABgAwAgAAAQAgAwAAAAUAIAEAAAYAMAIAAAEAIA4FAADgBQAgBwAAvQUAIAgAAL4FACAJAAC_BQAgCwAAwAUAIBQAAMEFACCBAgEAAAABggIBAAAAAZwCQAAAAAGdAkAAAAABvAIBAAAAAb0CIAAAAAG-AgEAAAABvwICAAAAAQEbAABAACAIgQIBAAAAAYICAQAAAAGcAkAAAAABnQJAAAAAAbwCAQAAAAG9AiAAAAABvgIBAAAAAb8CAgAAAAEBGwAAQgAwARsAAEIAMAEAAAADACAOBQAA3wUAIAcAAPYEACAIAAD3BAAgCQAA-AQAIAsAAPkEACAUAAD6BAAggQIBANUDACGCAgEA1QMAIZwCQACABAAhnQJAAIAEACG8AgEA1QMAIb0CIACQBAAhvgIBANYDACG_AgIAnwQAIQIAAAABACAbAABGACAIgQIBANUDACGCAgEA1QMAIZwCQACABAAhnQJAAIAEACG8AgEA1QMAIb0CIACQBAAhvgIBANYDACG_AgIAnwQAIQIAAAAFACAbAABIACACAAAABQAgGwAASAAgAQAAAAMAIAMAAAABACAiAABAACAjAABGACABAAAAAQAgAQAAAAUAIAcEAADaBQAgKAAA2wUAICkAAN4FACAqAADdBQAgKwAA3AUAIL4CAADPAwAgvwIAAM8DACAL_gEAALIDADD_AQAAUAAQgAIAALIDADCBAgEAggMAIYICAQCCAwAhnAJAAJ4DACGdAkAAngMAIbwCAQCCAwAhvQIgAJMDACG-AgEAgwMAIb8CAgCYAwAhAwAAAAUAIAEAAE8AMCcAAFAAIAMAAAAFACABAAAGADACAAABACALBgAAsAMAIAoAALEDACD-AQAArwMAMP8BAAARABCAAgAArwMAMIECAQAAAAGVAgEAAAABuAIBAI4DACG5AgEAjgMAIboCAQCOAwAhuwIBAI8DACEBAAAAUwAgAQAAAFMAIAMGAADYBQAgCgAA2QUAILsCAADPAwAgAwAAABEAIAEAAFYAMAIAAFMAIAMAAAARACABAABWADACAABTACADAAAAEQAgAQAAVgAwAgAAUwAgCAYAANcFACAKAACiBQAggQIBAAAAAZUCAQAAAAG4AgEAAAABuQIBAAAAAboCAQAAAAG7AgEAAAABARsAAFoAIAaBAgEAAAABlQIBAAAAAbgCAQAAAAG5AgEAAAABugIBAAAAAbsCAQAAAAEBGwAAXAAwARsAAFwAMAgGAADWBQAgCgAAlQUAIIECAQDVAwAhlQIBANUDACG4AgEA1QMAIbkCAQDVAwAhugIBANUDACG7AgEA1gMAIQIAAABTACAbAABfACAGgQIBANUDACGVAgEA1QMAIbgCAQDVAwAhuQIBANUDACG6AgEA1QMAIbsCAQDWAwAhAgAAABEAIBsAAGEAIAIAAAARACAbAABhACADAAAAUwAgIgAAWgAgIwAAXwAgAQAAAFMAIAEAAAARACAEBAAA0wUAICoAANUFACArAADUBQAguwIAAM8DACAJ_gEAAK4DADD_AQAAaAAQgAIAAK4DADCBAgEAggMAIZUCAQCCAwAhuAIBAIIDACG5AgEAggMAIboCAQCCAwAhuwIBAIMDACEDAAAAEQAgAQAAZwAwJwAAaAAgAwAAABEAIAEAAFYAMAIAAFMAIAEAAAAVACABAAAAFQAgAwAAABMAIAEAABQAMAIAABUAIAMAAAATACABAAAUADACAAAVACADAAAAEwAgAQAAFAAwAgAAFQAgDAkAANIFACCBAgEAAAABrgIBAAAAAa8CAQAAAAGwAgEAAAABsQIBAAAAAbICAQAAAAGzAgEAAAABtAIBAAAAAbUCIAAAAAG2AiAAAAABtwIgAAAAAQEbAABwACALgQIBAAAAAa4CAQAAAAGvAgEAAAABsAIBAAAAAbECAQAAAAGyAgEAAAABswIBAAAAAbQCAQAAAAG1AiAAAAABtgIgAAAAAbcCIAAAAAEBGwAAcgAwARsAAHIAMAwJAADRBQAggQIBANUDACGuAgEA1QMAIa8CAQDVAwAhsAIBANUDACGxAgEA1QMAIbICAQDVAwAhswIBANUDACG0AgEA1QMAIbUCIACQBAAhtgIgAJAEACG3AiAAkAQAIQIAAAAVACAbAAB1ACALgQIBANUDACGuAgEA1QMAIa8CAQDVAwAhsAIBANUDACGxAgEA1QMAIbICAQDVAwAhswIBANUDACG0AgEA1QMAIbUCIACQBAAhtgIgAJAEACG3AiAAkAQAIQIAAAATACAbAAB3ACACAAAAEwAgGwAAdwAgAwAAABUAICIAAHAAICMAAHUAIAEAAAAVACABAAAAEwAgAwQAAM4FACAqAADQBQAgKwAAzwUAIA7-AQAArQMAMP8BAAB-ABCAAgAArQMAMIECAQCCAwAhrgIBAIIDACGvAgEAggMAIbACAQCCAwAhsQIBAIIDACGyAgEAggMAIbMCAQCCAwAhtAIBAIIDACG1AiAAkwMAIbYCIACTAwAhtwIgAJMDACEDAAAAEwAgAQAAfQAwJwAAfgAgAwAAABMAIAEAABQAMAIAABUAIAEAAAALACABAAAACwAgAwAAAAkAIAEAAAoAMAIAAAsAIAMAAAAJACABAAAKADACAAALACADAAAACQAgAQAACgAwAgAACwAgCQYAAM0FACCBAgEAAAABlQIBAAAAAZwCQAAAAAGdAkAAAAABoQJAAAAAAasCAQAAAAGsAgEAAAABrQIBAAAAAQEbAACGAQAgCIECAQAAAAGVAgEAAAABnAJAAAAAAZ0CQAAAAAGhAkAAAAABqwIBAAAAAawCAQAAAAGtAgEAAAABARsAAIgBADABGwAAiAEAMAkGAADMBQAggQIBANUDACGVAgEA1QMAIZwCQACABAAhnQJAAIAEACGhAkAAgAQAIasCAQDVAwAhrAIBANYDACGtAgEA1gMAIQIAAAALACAbAACLAQAgCIECAQDVAwAhlQIBANUDACGcAkAAgAQAIZ0CQACABAAhoQJAAIAEACGrAgEA1QMAIawCAQDWAwAhrQIBANYDACECAAAACQAgGwAAjQEAIAIAAAAJACAbAACNAQAgAwAAAAsAICIAAIYBACAjAACLAQAgAQAAAAsAIAEAAAAJACAFBAAAyQUAICoAAMsFACArAADKBQAgrAIAAM8DACCtAgAAzwMAIAv-AQAArAMAMP8BAACUAQAQgAIAAKwDADCBAgEAggMAIZUCAQCCAwAhnAJAAJ4DACGdAkAAngMAIaECQACeAwAhqwIBAIIDACGsAgEAgwMAIa0CAQCDAwAhAwAAAAkAIAEAAJMBADAnAACUAQAgAwAAAAkAIAEAAAoAMAIAAAsAIAEAAAAPACABAAAADwAgAwAAAA0AIAEAAA4AMAIAAA8AIAMAAAANACABAAAOADACAAAPACADAAAADQAgAQAADgAwAgAADwAgDgYAAMgFACCBAgEAAAABlQIBAAAAAZwCQAAAAAGdAkAAAAABogIBAAAAAaMCAQAAAAGkAgEAAAABpQIBAAAAAaYCAQAAAAGnAkAAAAABqAJAAAAAAakCAQAAAAGqAgEAAAABARsAAJwBACANgQIBAAAAAZUCAQAAAAGcAkAAAAABnQJAAAAAAaICAQAAAAGjAgEAAAABpAIBAAAAAaUCAQAAAAGmAgEAAAABpwJAAAAAAagCQAAAAAGpAgEAAAABqgIBAAAAAQEbAACeAQAwARsAAJ4BADAOBgAAxwUAIIECAQDVAwAhlQIBANUDACGcAkAAgAQAIZ0CQACABAAhogIBANUDACGjAgEA1QMAIaQCAQDWAwAhpQIBANYDACGmAgEA1gMAIacCQACtBQAhqAJAAK0FACGpAgEA1gMAIaoCAQDWAwAhAgAAAA8AIBsAAKEBACANgQIBANUDACGVAgEA1QMAIZwCQACABAAhnQJAAIAEACGiAgEA1QMAIaMCAQDVAwAhpAIBANYDACGlAgEA1gMAIaYCAQDWAwAhpwJAAK0FACGoAkAArQUAIakCAQDWAwAhqgIBANYDACECAAAADQAgGwAAowEAIAIAAAANACAbAACjAQAgAwAAAA8AICIAAJwBACAjAAChAQAgAQAAAA8AIAEAAAANACAKBAAAxAUAICoAAMYFACArAADFBQAgpAIAAM8DACClAgAAzwMAIKYCAADPAwAgpwIAAM8DACCoAgAAzwMAIKkCAADPAwAgqgIAAM8DACAQ_gEAAKgDADD_AQAAqgEAEIACAACoAwAwgQIBAIIDACGVAgEAggMAIZwCQACeAwAhnQJAAJ4DACGiAgEAggMAIaMCAQCCAwAhpAIBAIMDACGlAgEAgwMAIaYCAQCDAwAhpwJAAKkDACGoAkAAqQMAIakCAQCDAwAhqgIBAIMDACEDAAAADQAgAQAAqQEAMCcAAKoBACADAAAADQAgAQAADgAwAgAADwAgBgMAAKcDACD-AQAApgMAMP8BAAADABCAAgAApgMAMIECAgAAAAGCAgEAjgMAIQEAAACtAQAgAQAAAK0BACABAwAAwwUAIAMAAAADACABAACwAQAwAgAArQEAIAMAAAADACABAACwAQAwAgAArQEAIAMAAAADACABAACwAQAwAgAArQEAIAMDAADCBQAggQICAAAAAYICAQAAAAEBGwAAtAEAIAKBAgIAAAABggIBAAAAAQEbAAC2AQAwARsAALYBADADAwAA6gQAIIECAgDXAwAhggIBANUDACECAAAArQEAIBsAALkBACACgQICANcDACGCAgEA1QMAIQIAAAADACAbAAC7AQAgAgAAAAMAIBsAALsBACADAAAArQEAICIAALQBACAjAAC5AQAgAQAAAK0BACABAAAAAwAgBQQAAOUEACAoAADmBAAgKQAA6QQAICoAAOgEACArAADnBAAgBf4BAAClAwAw_wEAAMIBABCAAgAApQMAMIECAgCBAwAhggIBAIIDACEDAAAAAwAgAQAAwQEAMCcAAMIBACADAAAAAwAgAQAAsAEAMAIAAK0BACAJ_gEAAKMDADD_AQAAyAEAEIACAACjAwAwgQIBAAAAAZoCAQCOAwAhnAJAAKQDACGdAkAApAMAIaACAQCOAwAhoQJAAKQDACEBAAAAxQEAIAEAAADFAQAgCf4BAACjAwAw_wEAAMgBABCAAgAAowMAMIECAQCOAwAhmgIBAI4DACGcAkAApAMAIZ0CQACkAwAhoAIBAI4DACGhAkAApAMAIQADAAAAyAEAIAEAAMkBADACAADFAQAgAwAAAMgBACABAADJAQAwAgAAxQEAIAMAAADIAQAgAQAAyQEAMAIAAMUBACAGgQIBAAAAAZoCAQAAAAGcAkAAAAABnQJAAAAAAaACAQAAAAGhAkAAAAABARsAAM0BACAGgQIBAAAAAZoCAQAAAAGcAkAAAAABnQJAAAAAAaACAQAAAAGhAkAAAAABARsAAM8BADABGwAAzwEAMAaBAgEA1QMAIZoCAQDVAwAhnAJAAIAEACGdAkAAgAQAIaACAQDVAwAhoQJAAIAEACECAAAAxQEAIBsAANIBACAGgQIBANUDACGaAgEA1QMAIZwCQACABAAhnQJAAIAEACGgAgEA1QMAIaECQACABAAhAgAAAMgBACAbAADUAQAgAgAAAMgBACAbAADUAQAgAwAAAMUBACAiAADNAQAgIwAA0gEAIAEAAADFAQAgAQAAAMgBACADBAAA4gQAICoAAOQEACArAADjBAAgCf4BAACiAwAw_wEAANsBABCAAgAAogMAMIECAQCCAwAhmgIBAIIDACGcAkAAngMAIZ0CQACeAwAhoAIBAIIDACGhAkAAngMAIQMAAADIAQAgAQAA2gEAMCcAANsBACADAAAAyAEAIAEAAMkBADACAADFAQAgAQAAACIAIAEAAAAiACADAAAAIAAgAQAAIQAwAgAAIgAgAwAAACAAIAEAACEAMAIAACIAIAMAAAAgACABAAAhADACAAAiACAKDQAAhgQAIBAAAIcEACASAAC3BAAgFAAAiAQAIIECAQAAAAGCAgEAAAABlgICAAAAAZcCAgAAAAGeAgEAAAABnwICAAAAAQEbAADjAQAgBoECAQAAAAGCAgEAAAABlgICAAAAAZcCAgAAAAGeAgEAAAABnwICAAAAAQEbAADlAQAwARsAAOUBADAKDQAA8wMAIBAAAPQDACASAAC1BAAgFAAA9QMAIIECAQDVAwAhggIBANUDACGWAgIA1wMAIZcCAgDXAwAhngIBANUDACGfAgIA1wMAIQIAAAAiACAbAADoAQAgBoECAQDVAwAhggIBANUDACGWAgIA1wMAIZcCAgDXAwAhngIBANUDACGfAgIA1wMAIQIAAAAgACAbAADqAQAgAgAAACAAIBsAAOoBACADAAAAIgAgIgAA4wEAICMAAOgBACABAAAAIgAgAQAAACAAIAUEAADdBAAgKAAA3gQAICkAAOEEACAqAADgBAAgKwAA3wQAIAn-AQAAoQMAMP8BAADxAQAQgAIAAKEDADCBAgEAggMAIYICAQCCAwAhlgICAIEDACGXAgIAgQMAIZ4CAQCCAwAhnwICAIEDACEDAAAAIAAgAQAA8AEAMCcAAPEBACADAAAAIAAgAQAAIQAwAgAAIgAgAQAAAB4AIAEAAAAeACADAAAAHAAgAQAAHQAwAgAAHgAgAwAAABwAIAEAAB0AMAIAAB4AIAMAAAAcACABAAAdADACAAAeACAGBgAAhAQAIBUAANwEACCVAgEAAAABmwIBAAAAAZwCQAAAAAGdAkAAAAABARsAAPkBACAElQIBAAAAAZsCAQAAAAGcAkAAAAABnQJAAAAAAQEbAAD7AQAwARsAAPsBADAGBgAAggQAIBUAANsEACCVAgEA1QMAIZsCAQDVAwAhnAJAAIAEACGdAkAAgAQAIQIAAAAeACAbAAD-AQAgBJUCAQDVAwAhmwIBANUDACGcAkAAgAQAIZ0CQACABAAhAgAAABwAIBsAAIACACACAAAAHAAgGwAAgAIAIAMAAAAeACAiAAD5AQAgIwAA_gEAIAEAAAAeACABAAAAHAAgAwQAANgEACAqAADaBAAgKwAA2QQAIAf-AQAAnQMAMP8BAACHAgAQgAIAAJ0DADCVAgEAggMAIZsCAQCCAwAhnAJAAJ4DACGdAkAAngMAIQMAAAAcACABAACGAgAwJwAAhwIAIAMAAAAcACABAAAdADACAAAeACAHDAAAkAMAIP4BAACcAwAw_wEAAI0CABCAAgAAnAMAMIECAgAAAAGCAgEAAAABmgICAAAAAQEAAACKAgAgAQAAAIoCACAHDAAAkAMAIP4BAACcAwAw_wEAAI0CABCAAgAAnAMAMIECAgCNAwAhggIBAI4DACGaAgIAjQMAIQEMAACLBAAgAwAAAI0CACABAACOAgAwAgAAigIAIAMAAACNAgAgAQAAjgIAMAIAAIoCACADAAAAjQIAIAEAAI4CADACAACKAgAgBAwAANcEACCBAgIAAAABggIBAAAAAZoCAgAAAAEBGwAAkgIAIAOBAgIAAAABggIBAAAAAZoCAgAAAAEBGwAAlAIAMAEbAACUAgAwBAwAAM0EACCBAgIA1wMAIYICAQDVAwAhmgICANcDACECAAAAigIAIBsAAJcCACADgQICANcDACGCAgEA1QMAIZoCAgDXAwAhAgAAAI0CACAbAACZAgAgAgAAAI0CACAbAACZAgAgAwAAAIoCACAiAACSAgAgIwAAlwIAIAEAAACKAgAgAQAAAI0CACAFBAAAyAQAICgAAMkEACApAADMBAAgKgAAywQAICsAAMoEACAG_gEAAJsDADD_AQAAoAIAEIACAACbAwAwgQICAIEDACGCAgEAggMAIZoCAgCBAwAhAwAAAI0CACABAACfAgAwJwAAoAIAIAMAAACNAgAgAQAAjgIAMAIAAIoCACABAAAAKAAgAQAAACgAIAMAAAAlACABAAAnADACAAAoACADAAAAJQAgAQAAJwAwAgAAKAAgAwAAACUAIAEAACcAMAIAACgAIAgMAADFBAAgDgAAxwQAIA8AAMQEACATAADGBAAggQICAAAAAYICAQAAAAGYAgIAAAABmQICAAAAAQEbAACoAgAgBIECAgAAAAGCAgEAAAABmAICAAAAAZkCAgAAAAEBGwAAqgIAMAEbAACqAgAwAQAAACUAIAgMAACiBAAgDgAAoAQAIA8AAKEEACATAACjBAAggQICANcDACGCAgEA1QMAIZgCAgDXAwAhmQICAJ8EACECAAAAKAAgGwAArgIAIASBAgIA1wMAIYICAQDVAwAhmAICANcDACGZAgIAnwQAIQIAAAAlACAbAACwAgAgAgAAACUAIBsAALACACABAAAAJQAgAwAAACgAICIAAKgCACAjAACuAgAgAQAAACgAIAEAAAAlACAGBAAAmgQAICgAAJsEACApAACeBAAgKgAAnQQAICsAAJwEACCZAgAAzwMAIAf-AQAAlwMAMP8BAAC4AgAQgAIAAJcDADCBAgIAgQMAIYICAQCCAwAhmAICAIEDACGZAgIAmAMAIQMAAAAlACABAAC3AgAwJwAAuAIAIAMAAAAlACABAAAnADACAAAoACABAAAALQAgAQAAAC0AIAMAAAArACABAAAsADACAAAtACADAAAAKwAgAQAALAAwAgAALQAgAwAAACsAIAEAACwAMAIAAC0AIAQQAADnAwAgEgAAmQQAIJYCAgAAAAGXAgIAAAABARsAAMACACAClgICAAAAAZcCAgAAAAEBGwAAwgIAMAEbAADCAgAwBBAAAOUDACASAACYBAAglgICANcDACGXAgIA1wMAIQIAAAAtACAbAADFAgAgApYCAgDXAwAhlwICANcDACECAAAAKwAgGwAAxwIAIAIAAAArACAbAADHAgAgAwAAAC0AICIAAMACACAjAADFAgAgAQAAAC0AIAEAAAArACAFBAAAkwQAICgAAJQEACApAACXBAAgKgAAlgQAICsAAJUEACAF_gEAAJYDADD_AQAAzgIAEIACAACWAwAwlgICAIEDACGXAgIAgQMAIQMAAAArACABAADNAgAwJwAAzgIAIAMAAAArACABAAAsADACAAAtACABAAAAGgAgAQAAABoAIAMAAAAYACABAAAZADACAAAaACADAAAAGAAgAQAAGQAwAgAAGgAgAwAAABgAIAEAABkAMAIAABoAIAYGAACSBAAggQIBAAAAAZICAQAAAAGTAiAAAAABlAIBAAAAAZUCAQAAAAEBGwAA1gIAIAWBAgEAAAABkgIBAAAAAZMCIAAAAAGUAgEAAAABlQIBAAAAAQEbAADYAgAwARsAANgCADAGBgAAkQQAIIECAQDVAwAhkgIBANUDACGTAiAAkAQAIZQCAQDVAwAhlQIBANUDACECAAAAGgAgGwAA2wIAIAWBAgEA1QMAIZICAQDVAwAhkwIgAJAEACGUAgEA1QMAIZUCAQDVAwAhAgAAABgAIBsAAN0CACACAAAAGAAgGwAA3QIAIAMAAAAaACAiAADWAgAgIwAA2wIAIAEAAAAaACABAAAAGAAgAwQAAI0EACAqAACPBAAgKwAAjgQAIAj-AQAAkgMAMP8BAADkAgAQgAIAAJIDADCBAgEAggMAIZICAQCCAwAhkwIgAJMDACGUAgEAggMAIZUCAQCCAwAhAwAAABgAIAEAAOMCADAnAADkAgAgAwAAABgAIAEAABkAMAIAABoAIAgMAACQAwAgEQAAkQMAIP4BAACMAwAw_wEAAOoCABCAAgAAjAMAMIECAgAAAAGCAgEAjgMAIYMCAQCPAwAhAQAAAOcCACABAAAA5wIAIAgMAACQAwAgEQAAkQMAIP4BAACMAwAw_wEAAOoCABCAAgAAjAMAMIECAgCNAwAhggIBAI4DACGDAgEAjwMAIQMMAACLBAAgEQAAjAQAIIMCAADPAwAgAwAAAOoCACABAADrAgAwAgAA5wIAIAMAAADqAgAgAQAA6wIAMAIAAOcCACADAAAA6gIAIAEAAOsCADACAADnAgAgBQwAAIkEACARAACKBAAggQICAAAAAYICAQAAAAGDAgEAAAABARsAAO8CACADgQICAAAAAYICAQAAAAGDAgEAAAABARsAAPECADABGwAA8QIAMAUMAADYAwAgEQAA2QMAIIECAgDXAwAhggIBANUDACGDAgEA1gMAIQIAAADnAgAgGwAA9AIAIAOBAgIA1wMAIYICAQDVAwAhgwIBANYDACECAAAA6gIAIBsAAPYCACACAAAA6gIAIBsAAPYCACADAAAA5wIAICIAAO8CACAjAAD0AgAgAQAAAOcCACABAAAA6gIAIAYEAADQAwAgKAAA0QMAICkAANQDACAqAADTAwAgKwAA0gMAIIMCAADPAwAgBv4BAACAAwAw_wEAAP0CABCAAgAAgAMAMIECAgCBAwAhggIBAIIDACGDAgEAgwMAIQMAAADqAgAgAQAA_AIAMCcAAP0CACADAAAA6gIAIAEAAOsCADACAADnAgAgBv4BAACAAwAw_wEAAP0CABCAAgAAgAMAMIECAgCBAwAhggIBAIIDACGDAgEAgwMAIQ0EAACIAwAgKAAAiwMAICkAAIgDACAqAACIAwAgKwAAiAMAIIQCAgAAAAGFAgIAAAAEhgICAAAABIcCAgAAAAGIAgIAAAABiQICAAAAAYoCAgAAAAGOAgIAigMAIQ4EAACIAwAgKgAAiQMAICsAAIkDACCEAgEAAAABhQIBAAAABIYCAQAAAASHAgEAAAABiAIBAAAAAYkCAQAAAAGKAgEAAAABiwIBAAAAAYwCAQAAAAGNAgEAAAABjgIBAIcDACEOBAAAhQMAICoAAIYDACArAACGAwAghAIBAAAAAYUCAQAAAAWGAgEAAAAFhwIBAAAAAYgCAQAAAAGJAgEAAAABigIBAAAAAYsCAQAAAAGMAgEAAAABjQIBAAAAAY4CAQCEAwAhDgQAAIUDACAqAACGAwAgKwAAhgMAIIQCAQAAAAGFAgEAAAAFhgIBAAAABYcCAQAAAAGIAgEAAAABiQIBAAAAAYoCAQAAAAGLAgEAAAABjAIBAAAAAY0CAQAAAAGOAgEAhAMAIQiEAgIAAAABhQICAAAABYYCAgAAAAWHAgIAAAABiAICAAAAAYkCAgAAAAGKAgIAAAABjgICAIUDACELhAIBAAAAAYUCAQAAAAWGAgEAAAAFhwIBAAAAAYgCAQAAAAGJAgEAAAABigIBAAAAAYsCAQAAAAGMAgEAAAABjQIBAAAAAY4CAQCGAwAhDgQAAIgDACAqAACJAwAgKwAAiQMAIIQCAQAAAAGFAgEAAAAEhgIBAAAABIcCAQAAAAGIAgEAAAABiQIBAAAAAYoCAQAAAAGLAgEAAAABjAIBAAAAAY0CAQAAAAGOAgEAhwMAIQiEAgIAAAABhQICAAAABIYCAgAAAASHAgIAAAABiAICAAAAAYkCAgAAAAGKAgIAAAABjgICAIgDACELhAIBAAAAAYUCAQAAAASGAgEAAAAEhwIBAAAAAYgCAQAAAAGJAgEAAAABigIBAAAAAYsCAQAAAAGMAgEAAAABjQIBAAAAAY4CAQCJAwAhDQQAAIgDACAoAACLAwAgKQAAiAMAICoAAIgDACArAACIAwAghAICAAAAAYUCAgAAAASGAgIAAAAEhwICAAAAAYgCAgAAAAGJAgIAAAABigICAAAAAY4CAgCKAwAhCIQCCAAAAAGFAggAAAAEhgIIAAAABIcCCAAAAAGIAggAAAABiQIIAAAAAYoCCAAAAAGOAggAiwMAIQgMAACQAwAgEQAAkQMAIP4BAACMAwAw_wEAAOoCABCAAgAAjAMAMIECAgCNAwAhggIBAI4DACGDAgEAjwMAIQiEAgIAAAABhQICAAAABIYCAgAAAASHAgIAAAABiAICAAAAAYkCAgAAAAGKAgIAAAABjgICAIgDACELhAIBAAAAAYUCAQAAAASGAgEAAAAEhwIBAAAAAYgCAQAAAAGJAgEAAAABigIBAAAAAYsCAQAAAAGMAgEAAAABjQIBAAAAAY4CAQCJAwAhC4QCAQAAAAGFAgEAAAAFhgIBAAAABYcCAQAAAAGIAgEAAAABiQIBAAAAAYoCAQAAAAGLAgEAAAABjAIBAAAAAY0CAQAAAAGOAgEAhgMAIQOPAgAAIAAgkAIAACAAIJECAAAgACADjwIAACsAIJACAAArACCRAgAAKwAgCP4BAACSAwAw_wEAAOQCABCAAgAAkgMAMIECAQCCAwAhkgIBAIIDACGTAiAAkwMAIZQCAQCCAwAhlQIBAIIDACEFBAAAiAMAICoAAJUDACArAACVAwAghAIgAAAAAY4CIACUAwAhBQQAAIgDACAqAACVAwAgKwAAlQMAIIQCIAAAAAGOAiAAlAMAIQKEAiAAAAABjgIgAJUDACEF_gEAAJYDADD_AQAAzgIAEIACAACWAwAwlgICAIEDACGXAgIAgQMAIQf-AQAAlwMAMP8BAAC4AgAQgAIAAJcDADCBAgIAgQMAIYICAQCCAwAhmAICAIEDACGZAgIAmAMAIQ0EAACFAwAgKAAAmgMAICkAAIUDACAqAACFAwAgKwAAhQMAIIQCAgAAAAGFAgIAAAAFhgICAAAABYcCAgAAAAGIAgIAAAABiQICAAAAAYoCAgAAAAGOAgIAmQMAIQ0EAACFAwAgKAAAmgMAICkAAIUDACAqAACFAwAgKwAAhQMAIIQCAgAAAAGFAgIAAAAFhgICAAAABYcCAgAAAAGIAgIAAAABiQICAAAAAYoCAgAAAAGOAgIAmQMAIQiEAggAAAABhQIIAAAABYYCCAAAAAWHAggAAAABiAIIAAAAAYkCCAAAAAGKAggAAAABjgIIAJoDACEG_gEAAJsDADD_AQAAoAIAEIACAACbAwAwgQICAIEDACGCAgEAggMAIZoCAgCBAwAhBwwAAJADACD-AQAAnAMAMP8BAACNAgAQgAIAAJwDADCBAgIAjQMAIYICAQCOAwAhmgICAI0DACEH_gEAAJ0DADD_AQAAhwIAEIACAACdAwAwlQIBAIIDACGbAgEAggMAIZwCQACeAwAhnQJAAJ4DACELBAAAiAMAICoAAKADACArAACgAwAghAJAAAAAAYUCQAAAAASGAkAAAAAEhwJAAAAAAYgCQAAAAAGJAkAAAAABigJAAAAAAY4CQACfAwAhCwQAAIgDACAqAACgAwAgKwAAoAMAIIQCQAAAAAGFAkAAAAAEhgJAAAAABIcCQAAAAAGIAkAAAAABiQJAAAAAAYoCQAAAAAGOAkAAnwMAIQiEAkAAAAABhQJAAAAABIYCQAAAAASHAkAAAAABiAJAAAAAAYkCQAAAAAGKAkAAAAABjgJAAKADACEJ_gEAAKEDADD_AQAA8QEAEIACAAChAwAwgQIBAIIDACGCAgEAggMAIZYCAgCBAwAhlwICAIEDACGeAgEAggMAIZ8CAgCBAwAhCf4BAACiAwAw_wEAANsBABCAAgAAogMAMIECAQCCAwAhmgIBAIIDACGcAkAAngMAIZ0CQACeAwAhoAIBAIIDACGhAkAAngMAIQn-AQAAowMAMP8BAADIAQAQgAIAAKMDADCBAgEAjgMAIZoCAQCOAwAhnAJAAKQDACGdAkAApAMAIaACAQCOAwAhoQJAAKQDACEIhAJAAAAAAYUCQAAAAASGAkAAAAAEhwJAAAAAAYgCQAAAAAGJAkAAAAABigJAAAAAAY4CQACgAwAhBf4BAAClAwAw_wEAAMIBABCAAgAApQMAMIECAgCBAwAhggIBAIIDACEGAwAApwMAIP4BAACmAwAw_wEAAAMAEIACAACmAwAwgQICAI0DACGCAgEAjgMAIQOPAgAABQAgkAIAAAUAIJECAAAFACAQ_gEAAKgDADD_AQAAqgEAEIACAACoAwAwgQIBAIIDACGVAgEAggMAIZwCQACeAwAhnQJAAJ4DACGiAgEAggMAIaMCAQCCAwAhpAIBAIMDACGlAgEAgwMAIaYCAQCDAwAhpwJAAKkDACGoAkAAqQMAIakCAQCDAwAhqgIBAIMDACELBAAAhQMAICoAAKsDACArAACrAwAghAJAAAAAAYUCQAAAAAWGAkAAAAAFhwJAAAAAAYgCQAAAAAGJAkAAAAABigJAAAAAAY4CQACqAwAhCwQAAIUDACAqAACrAwAgKwAAqwMAIIQCQAAAAAGFAkAAAAAFhgJAAAAABYcCQAAAAAGIAkAAAAABiQJAAAAAAYoCQAAAAAGOAkAAqgMAIQiEAkAAAAABhQJAAAAABYYCQAAAAAWHAkAAAAABiAJAAAAAAYkCQAAAAAGKAkAAAAABjgJAAKsDACEL_gEAAKwDADD_AQAAlAEAEIACAACsAwAwgQIBAIIDACGVAgEAggMAIZwCQACeAwAhnQJAAJ4DACGhAkAAngMAIasCAQCCAwAhrAIBAIMDACGtAgEAgwMAIQ7-AQAArQMAMP8BAAB-ABCAAgAArQMAMIECAQCCAwAhrgIBAIIDACGvAgEAggMAIbACAQCCAwAhsQIBAIIDACGyAgEAggMAIbMCAQCCAwAhtAIBAIIDACG1AiAAkwMAIbYCIACTAwAhtwIgAJMDACEJ_gEAAK4DADD_AQAAaAAQgAIAAK4DADCBAgEAggMAIZUCAQCCAwAhuAIBAIIDACG5AgEAggMAIboCAQCCAwAhuwIBAIMDACELBgAAsAMAIAoAALEDACD-AQAArwMAMP8BAAARABCAAgAArwMAMIECAQCOAwAhlQIBAI4DACG4AgEAjgMAIbkCAQCOAwAhugIBAI4DACG7AgEAjwMAIRMFAADKAwAgBwAAywMAIAgAAMwDACAJAADNAwAgCwAAzgMAIBQAAL4DACD-AQAAyQMAMP8BAAAFABCAAgAAyQMAMIECAQCOAwAhggIBAI4DACGcAkAApAMAIZ0CQACkAwAhvAIBAI4DACG9AiAAwwMAIb4CAQCPAwAhvwICALkDACHDAgAABQAgxAIAAAUAIAOPAgAAEwAgkAIAABMAIJECAAATACAL_gEAALIDADD_AQAAUAAQgAIAALIDADCBAgEAggMAIYICAQCCAwAhnAJAAJ4DACGdAkAAngMAIbwCAQCCAwAhvQIgAJMDACG-AgEAgwMAIb8CAgCYAwAhApYCAgAAAAGXAgIAAAABBxAAALUDACASAAC2AwAg_gEAALQDADD_AQAAKwAQgAIAALQDADCWAgIAjQMAIZcCAgCNAwAhDQwAAJADACAOAAC6AwAgDwAAuwMAIBMAAJEDACD-AQAAuAMAMP8BAAAlABCAAgAAuAMAMIECAgCNAwAhggIBAI4DACGYAgIAjQMAIZkCAgC5AwAhwwIAACUAIMQCAAAlACAKDAAAkAMAIBEAAJEDACD-AQAAjAMAMP8BAADqAgAQgAIAAIwDADCBAgIAjQMAIYICAQCOAwAhgwIBAI8DACHDAgAA6gIAIMQCAADqAgAgAoICAQAAAAGZAgIAAAABCwwAAJADACAOAAC6AwAgDwAAuwMAIBMAAJEDACD-AQAAuAMAMP8BAAAlABCAAgAAuAMAMIECAgCNAwAhggIBAI4DACGYAgIAjQMAIZkCAgC5AwAhCIQCAgAAAAGFAgIAAAAFhgICAAAABYcCAgAAAAGIAgIAAAABiQICAAAAAYoCAgAAAAGOAgIAhQMAIQ0MAACQAwAgDgAAugMAIA8AALsDACATAACRAwAg_gEAALgDADD_AQAAJQAQgAIAALgDADCBAgIAjQMAIYICAQCOAwAhmAICAI0DACGZAgIAuQMAIcMCAAAlACDEAgAAJQAgA48CAAAlACCQAgAAJQAgkQIAACUAIA0NAAC9AwAgEAAAtQMAIBIAALYDACAUAAC-AwAg_gEAALwDADD_AQAAIAAQgAIAALwDADCBAgEAjgMAIYICAQCOAwAhlgICAI0DACGXAgIAjQMAIZ4CAQCOAwAhnwICAI0DACEJDAAAkAMAIP4BAACcAwAw_wEAAI0CABCAAgAAnAMAMIECAgCNAwAhggIBAI4DACGaAgIAjQMAIcMCAACNAgAgxAIAAI0CACADjwIAABwAIJACAAAcACCRAgAAHAAgApUCAQAAAAGbAgEAAAABCQYAALADACAVAADBAwAg_gEAAMADADD_AQAAHAAQgAIAAMADADCVAgEAjgMAIZsCAQCOAwAhnAJAAKQDACGdAkAApAMAIQ8NAAC9AwAgEAAAtQMAIBIAALYDACAUAAC-AwAg_gEAALwDADD_AQAAIAAQgAIAALwDADCBAgEAjgMAIYICAQCOAwAhlgICAI0DACGXAgIAjQMAIZ4CAQCOAwAhnwICAI0DACHDAgAAIAAgxAIAACAAIAkGAACwAwAg_gEAAMIDADD_AQAAGAAQgAIAAMIDADCBAgEAjgMAIZICAQCOAwAhkwIgAMMDACGUAgEAjgMAIZUCAQCOAwAhAoQCIAAAAAGOAiAAlQMAIQ8JAADFAwAg_gEAAMQDADD_AQAAEwAQgAIAAMQDADCBAgEAjgMAIa4CAQCOAwAhrwIBAI4DACGwAgEAjgMAIbECAQCOAwAhsgIBAI4DACGzAgEAjgMAIbQCAQCOAwAhtQIgAMMDACG2AiAAwwMAIbcCIADDAwAhDQYAALADACAKAACxAwAg_gEAAK8DADD_AQAAEQAQgAIAAK8DADCBAgEAjgMAIZUCAQCOAwAhuAIBAI4DACG5AgEAjgMAIboCAQCOAwAhuwIBAI8DACHDAgAAEQAgxAIAABEAIBEGAACwAwAg_gEAAMYDADD_AQAADQAQgAIAAMYDADCBAgEAjgMAIZUCAQCOAwAhnAJAAKQDACGdAkAApAMAIaICAQCOAwAhowIBAI4DACGkAgEAjwMAIaUCAQCPAwAhpgIBAI8DACGnAkAAxwMAIagCQADHAwAhqQIBAI8DACGqAgEAjwMAIQiEAkAAAAABhQJAAAAABYYCQAAAAAWHAkAAAAABiAJAAAAAAYkCQAAAAAGKAkAAAAABjgJAAKsDACEMBgAAsAMAIP4BAADIAwAw_wEAAAkAEIACAADIAwAwgQIBAI4DACGVAgEAjgMAIZwCQACkAwAhnQJAAKQDACGhAkAApAMAIasCAQCOAwAhrAIBAI8DACGtAgEAjwMAIREFAADKAwAgBwAAywMAIAgAAMwDACAJAADNAwAgCwAAzgMAIBQAAL4DACD-AQAAyQMAMP8BAAAFABCAAgAAyQMAMIECAQCOAwAhggIBAI4DACGcAkAApAMAIZ0CQACkAwAhvAIBAI4DACG9AiAAwwMAIb4CAQCPAwAhvwICALkDACEIAwAApwMAIP4BAACmAwAw_wEAAAMAEIACAACmAwAwgQICAI0DACGCAgEAjgMAIcMCAAADACDEAgAAAwAgA48CAAAJACCQAgAACQAgkQIAAAkAIAOPAgAADQAgkAIAAA0AIJECAAANACANBgAAsAMAIAoAALEDACD-AQAArwMAMP8BAAARABCAAgAArwMAMIECAQCOAwAhlQIBAI4DACG4AgEAjgMAIbkCAQCOAwAhugIBAI4DACG7AgEAjwMAIcMCAAARACDEAgAAEQAgA48CAAAYACCQAgAAGAAgkQIAABgAIAAAAAAAAAHIAgEAAAABAcgCAQAAAAEFyAICAAAAAc4CAgAAAAHPAgIAAAAB0AICAAAAAdECAgAAAAELIgAA6AMAMCMAAO0DADDFAgAA6QMAMMYCAADqAwAwxwIAAOsDACDIAgAA7AMAMMkCAADsAwAwygIAAOwDADDLAgAA7AMAMMwCAADuAwAwzQIAAO8DADALIgAA2gMAMCMAAN8DADDFAgAA2wMAMMYCAADcAwAwxwIAAN0DACDIAgAA3gMAMMkCAADeAwAwygIAAN4DADDLAgAA3gMAMMwCAADgAwAwzQIAAOEDADACEAAA5wMAIJYCAgAAAAECAAAALQAgIgAA5gMAIAMAAAAtACAiAADmAwAgIwAA5AMAIAEbAAC-BgAwCBAAALUDACASAAC2AwAg_gEAALQDADD_AQAAKwAQgAIAALQDADCWAgIAjQMAIZcCAgCNAwAhwAIAALMDACACAAAALQAgGwAA5AMAIAIAAADiAwAgGwAA4wMAIAX-AQAA4QMAMP8BAADiAwAQgAIAAOEDADCWAgIAjQMAIZcCAgCNAwAhBf4BAADhAwAw_wEAAOIDABCAAgAA4QMAMJYCAgCNAwAhlwICAI0DACEBlgICANcDACECEAAA5QMAIJYCAgDXAwAhBSIAALkGACAjAAC8BgAgxQIAALoGACDGAgAAuwYAIMsCAAAoACACEAAA5wMAIJYCAgAAAAEDIgAAuQYAIMUCAAC6BgAgywIAACgAIAgNAACGBAAgEAAAhwQAIBQAAIgEACCBAgEAAAABggIBAAAAAZYCAgAAAAGeAgEAAAABnwICAAAAAQIAAAAiACAiAACFBAAgAwAAACIAICIAAIUEACAjAADyAwAgARsAALgGADANDQAAvQMAIBAAALUDACASAAC2AwAgFAAAvgMAIP4BAAC8AwAw_wEAACAAEIACAAC8AwAwgQIBAAAAAYICAQAAAAGWAgIAjQMAIZcCAgCNAwAhngIBAI4DACGfAgIAjQMAIQIAAAAiACAbAADyAwAgAgAAAPADACAbAADxAwAgCf4BAADvAwAw_wEAAPADABCAAgAA7wMAMIECAQCOAwAhggIBAI4DACGWAgIAjQMAIZcCAgCNAwAhngIBAI4DACGfAgIAjQMAIQn-AQAA7wMAMP8BAADwAwAQgAIAAO8DADCBAgEAjgMAIYICAQCOAwAhlgICAI0DACGXAgIAjQMAIZ4CAQCOAwAhnwICAI0DACEFgQIBANUDACGCAgEA1QMAIZYCAgDXAwAhngIBANUDACGfAgIA1wMAIQgNAADzAwAgEAAA9AMAIBQAAPUDACCBAgEA1QMAIYICAQDVAwAhlgICANcDACGeAgEA1QMAIZ8CAgDXAwAhBSIAAKoGACAjAAC2BgAgxQIAAKsGACDGAgAAtQYAIMsCAACKAgAgBSIAAKgGACAjAACzBgAgxQIAAKkGACDGAgAAsgYAIMsCAAAoACALIgAA9gMAMCMAAPsDADDFAgAA9wMAMMYCAAD4AwAwxwIAAPkDACDIAgAA-gMAMMkCAAD6AwAwygIAAPoDADDLAgAA-gMAMMwCAAD8AwAwzQIAAP0DADAEBgAAhAQAIJUCAQAAAAGcAkAAAAABnQJAAAAAAQIAAAAeACAiAACDBAAgAwAAAB4AICIAAIMEACAjAACBBAAgARsAALEGADAKBgAAsAMAIBUAAMEDACD-AQAAwAMAMP8BAAAcABCAAgAAwAMAMJUCAQCOAwAhmwIBAI4DACGcAkAApAMAIZ0CQACkAwAhwgIAAL8DACACAAAAHgAgGwAAgQQAIAIAAAD-AwAgGwAA_wMAIAf-AQAA_QMAMP8BAAD-AwAQgAIAAP0DADCVAgEAjgMAIZsCAQCOAwAhnAJAAKQDACGdAkAApAMAIQf-AQAA_QMAMP8BAAD-AwAQgAIAAP0DADCVAgEAjgMAIZsCAQCOAwAhnAJAAKQDACGdAkAApAMAIQOVAgEA1QMAIZwCQACABAAhnQJAAIAEACEByAJAAAAAAQQGAACCBAAglQIBANUDACGcAkAAgAQAIZ0CQACABAAhBSIAAKwGACAjAACvBgAgxQIAAK0GACDGAgAArgYAIMsCAAABACAEBgAAhAQAIJUCAQAAAAGcAkAAAAABnQJAAAAAAQMiAACsBgAgxQIAAK0GACDLAgAAAQAgCA0AAIYEACAQAACHBAAgFAAAiAQAIIECAQAAAAGCAgEAAAABlgICAAAAAZ4CAQAAAAGfAgIAAAABAyIAAKoGACDFAgAAqwYAIMsCAACKAgAgAyIAAKgGACDFAgAAqQYAIMsCAAAoACAEIgAA9gMAMMUCAAD3AwAwxwIAAPkDACDLAgAA-gMAMAQiAADoAwAwxQIAAOkDADDHAgAA6wMAIMsCAADsAwAwBCIAANoDADDFAgAA2wMAMMcCAADdAwAgywIAAN4DADAAAAAAAAHIAiAAAAABBSIAAKMGACAjAACmBgAgxQIAAKQGACDGAgAApQYAIMsCAAABACADIgAAowYAIMUCAACkBgAgywIAAAEAIAAAAAAABSIAAJ4GACAjAAChBgAgxQIAAJ8GACDGAgAAoAYAIMsCAADnAgAgAyIAAJ4GACDFAgAAnwYAIMsCAADnAgAgAAAAAAAFyAICAAAAAc4CAgAAAAHPAgIAAAAB0AICAAAAAdECAgAAAAEHIgAAkQYAICMAAJwGACDFAgAAkgYAIMYCAACbBgAgyQIAACUAIMoCAAAlACDLAgAAKAAgCyIAALgEADAjAAC9BAAwxQIAALkEADDGAgAAugQAMMcCAAC7BAAgyAIAALwEADDJAgAAvAQAMMoCAAC8BAAwywIAALwEADDMAgAAvgQAMM0CAAC_BAAwCyIAAK0EADAjAACxBAAwxQIAAK4EADDGAgAArwQAMMcCAACwBAAgyAIAAOwDADDJAgAA7AMAMMoCAADsAwAwywIAAOwDADDMAgAAsgQAMM0CAADvAwAwCyIAAKQEADAjAACoBAAwxQIAAKUEADDGAgAApgQAMMcCAACnBAAgyAIAAN4DADDJAgAA3gMAMMoCAADeAwAwywIAAN4DADDMAgAAqQQAMM0CAADhAwAwAhIAAJkEACCXAgIAAAABAgAAAC0AICIAAKwEACADAAAALQAgIgAArAQAICMAAKsEACABGwAAmgYAMAIAAAAtACAbAACrBAAgAgAAAOIDACAbAACqBAAgAZcCAgDXAwAhAhIAAJgEACCXAgIA1wMAIQISAACZBAAglwICAAAAAQgNAACGBAAgEgAAtwQAIBQAAIgEACCBAgEAAAABggIBAAAAAZcCAgAAAAGeAgEAAAABnwICAAAAAQIAAAAiACAiAAC2BAAgAwAAACIAICIAALYEACAjAAC0BAAgARsAAJkGADACAAAAIgAgGwAAtAQAIAIAAADwAwAgGwAAswQAIAWBAgEA1QMAIYICAQDVAwAhlwICANcDACGeAgEA1QMAIZ8CAgDXAwAhCA0AAPMDACASAAC1BAAgFAAA9QMAIIECAQDVAwAhggIBANUDACGXAgIA1wMAIZ4CAQDVAwAhnwICANcDACEFIgAAlAYAICMAAJcGACDFAgAAlQYAIMYCAACWBgAgywIAAOcCACAIDQAAhgQAIBIAALcEACAUAACIBAAggQIBAAAAAYICAQAAAAGXAgIAAAABngIBAAAAAZ8CAgAAAAEDIgAAlAYAIMUCAACVBgAgywIAAOcCACAGDAAAxQQAIA8AAMQEACATAADGBAAggQICAAAAAYICAQAAAAGYAgIAAAABAgAAACgAICIAAMMEACADAAAAKAAgIgAAwwQAICMAAMIEACABGwAAkwYAMAwMAACQAwAgDgAAugMAIA8AALsDACATAACRAwAg_gEAALgDADD_AQAAJQAQgAIAALgDADCBAgIAAAABggIBAI4DACGYAgIAjQMAIZkCAgC5AwAhwQIAALcDACACAAAAKAAgGwAAwgQAIAIAAADABAAgGwAAwQQAIAf-AQAAvwQAMP8BAADABAAQgAIAAL8EADCBAgIAjQMAIYICAQCOAwAhmAICAI0DACGZAgIAuQMAIQf-AQAAvwQAMP8BAADABAAQgAIAAL8EADCBAgIAjQMAIYICAQCOAwAhmAICAI0DACGZAgIAuQMAIQOBAgIA1wMAIYICAQDVAwAhmAICANcDACEGDAAAogQAIA8AAKEEACATAACjBAAggQICANcDACGCAgEA1QMAIZgCAgDXAwAhBgwAAMUEACAPAADEBAAgEwAAxgQAIIECAgAAAAGCAgEAAAABmAICAAAAAQQiAAC4BAAwxQIAALkEADDHAgAAuwQAIMsCAAC8BAAwBCIAAK0EADDFAgAArgQAMMcCAACwBAAgywIAAOwDADAEIgAApAQAMMUCAAClBAAwxwIAAKcEACDLAgAA3gMAMAMiAACRBgAgxQIAAJIGACDLAgAAKAAgAAAAAAALIgAAzgQAMCMAANIEADDFAgAAzwQAMMYCAADQBAAwxwIAANEEACDIAgAA7AMAMMkCAADsAwAwygIAAOwDADDLAgAA7AMAMMwCAADTBAAwzQIAAO8DADAIEAAAhwQAIBIAALcEACAUAACIBAAggQIBAAAAAYICAQAAAAGWAgIAAAABlwICAAAAAZ4CAQAAAAECAAAAIgAgIgAA1gQAIAMAAAAiACAiAADWBAAgIwAA1QQAIAEbAACQBgAwAgAAACIAIBsAANUEACACAAAA8AMAIBsAANQEACAFgQIBANUDACGCAgEA1QMAIZYCAgDXAwAhlwICANcDACGeAgEA1QMAIQgQAAD0AwAgEgAAtQQAIBQAAPUDACCBAgEA1QMAIYICAQDVAwAhlgICANcDACGXAgIA1wMAIZ4CAQDVAwAhCBAAAIcEACASAAC3BAAgFAAAiAQAIIECAQAAAAGCAgEAAAABlgICAAAAAZcCAgAAAAGeAgEAAAABBCIAAM4EADDFAgAAzwQAMMcCAADRBAAgywIAAOwDADAAAAAFIgAAiwYAICMAAI4GACDFAgAAjAYAIMYCAACNBgAgywIAACIAIAMiAACLBgAgxQIAAIwGACDLAgAAIgAgAAAAAAAAAAAAAAAAAAsiAADrBAAwIwAA8AQAMMUCAADsBAAwxgIAAO0EADDHAgAA7gQAIMgCAADvBAAwyQIAAO8EADDKAgAA7wQAMMsCAADvBAAwzAIAAPEEADDNAgAA8gQAMAwHAAC9BQAgCAAAvgUAIAkAAL8FACALAADABQAgFAAAwQUAIIECAQAAAAGCAgEAAAABnAJAAAAAAZ0CQAAAAAG8AgEAAAABvQIgAAAAAb4CAQAAAAECAAAAAQAgIgAAvAUAIAMAAAABACAiAAC8BQAgIwAA9QQAIAEbAACKBgAwEQUAAMoDACAHAADLAwAgCAAAzAMAIAkAAM0DACALAADOAwAgFAAAvgMAIP4BAADJAwAw_wEAAAUAEIACAADJAwAwgQIBAAAAAYICAQCOAwAhnAJAAKQDACGdAkAApAMAIbwCAQAAAAG9AiAAwwMAIb4CAQCPAwAhvwICALkDACECAAAAAQAgGwAA9QQAIAIAAADzBAAgGwAA9AQAIAv-AQAA8gQAMP8BAADzBAAQgAIAAPIEADCBAgEAjgMAIYICAQCOAwAhnAJAAKQDACGdAkAApAMAIbwCAQCOAwAhvQIgAMMDACG-AgEAjwMAIb8CAgC5AwAhC_4BAADyBAAw_wEAAPMEABCAAgAA8gQAMIECAQCOAwAhggIBAI4DACGcAkAApAMAIZ0CQACkAwAhvAIBAI4DACG9AiAAwwMAIb4CAQCPAwAhvwICALkDACEHgQIBANUDACGCAgEA1QMAIZwCQACABAAhnQJAAIAEACG8AgEA1QMAIb0CIACQBAAhvgIBANYDACEMBwAA9gQAIAgAAPcEACAJAAD4BAAgCwAA-QQAIBQAAPoEACCBAgEA1QMAIYICAQDVAwAhnAJAAIAEACGdAkAAgAQAIbwCAQDVAwAhvQIgAJAEACG-AgEA1gMAIQsiAACwBQAwIwAAtQUAMMUCAACxBQAwxgIAALIFADDHAgAAswUAIMgCAAC0BQAwyQIAALQFADDKAgAAtAUAMMsCAAC0BQAwzAIAALYFADDNAgAAtwUAMAsiAACjBQAwIwAAqAUAMMUCAACkBQAwxgIAAKUFADDHAgAApgUAIMgCAACnBQAwyQIAAKcFADDKAgAApwUAMMsCAACnBQAwzAIAAKkFADDNAgAAqgUAMAciAACQBQAgIwAAkwUAIMUCAACRBQAgxgIAAJIFACDJAgAAEQAgygIAABEAIMsCAABTACALIgAAhAUAMCMAAIkFADDFAgAAhQUAMMYCAACGBQAwxwIAAIcFACDIAgAAiAUAMMkCAACIBQAwygIAAIgFADDLAgAAiAUAMMwCAACKBQAwzQIAAIsFADALIgAA-wQAMCMAAP8EADDFAgAA_AQAMMYCAAD9BAAwxwIAAP4EACDIAgAA-gMAMMkCAAD6AwAwygIAAPoDADDLAgAA-gMAMMwCAACABQAwzQIAAP0DADAEFQAA3AQAIJsCAQAAAAGcAkAAAAABnQJAAAAAAQIAAAAeACAiAACDBQAgAwAAAB4AICIAAIMFACAjAACCBQAgARsAAIkGADACAAAAHgAgGwAAggUAIAIAAAD-AwAgGwAAgQUAIAObAgEA1QMAIZwCQACABAAhnQJAAIAEACEEFQAA2wQAIJsCAQDVAwAhnAJAAIAEACGdAkAAgAQAIQQVAADcBAAgmwIBAAAAAZwCQAAAAAGdAkAAAAABBIECAQAAAAGSAgEAAAABkwIgAAAAAZQCAQAAAAECAAAAGgAgIgAAjwUAIAMAAAAaACAiAACPBQAgIwAAjgUAIAEbAACIBgAwCQYAALADACD-AQAAwgMAMP8BAAAYABCAAgAAwgMAMIECAQAAAAGSAgEAAAABkwIgAMMDACGUAgEAjgMAIZUCAQCOAwAhAgAAABoAIBsAAI4FACACAAAAjAUAIBsAAI0FACAI_gEAAIsFADD_AQAAjAUAEIACAACLBQAwgQIBAI4DACGSAgEAjgMAIZMCIADDAwAhlAIBAI4DACGVAgEAjgMAIQj-AQAAiwUAMP8BAACMBQAQgAIAAIsFADCBAgEAjgMAIZICAQCOAwAhkwIgAMMDACGUAgEAjgMAIZUCAQCOAwAhBIECAQDVAwAhkgIBANUDACGTAiAAkAQAIZQCAQDVAwAhBIECAQDVAwAhkgIBANUDACGTAiAAkAQAIZQCAQDVAwAhBIECAQAAAAGSAgEAAAABkwIgAAAAAZQCAQAAAAEGCgAAogUAIIECAQAAAAG4AgEAAAABuQIBAAAAAboCAQAAAAG7AgEAAAABAgAAAFMAICIAAJAFACADAAAAEQAgIgAAkAUAICMAAJQFACAIAAAAEQAgCgAAlQUAIBsAAJQFACCBAgEA1QMAIbgCAQDVAwAhuQIBANUDACG6AgEA1QMAIbsCAQDWAwAhBgoAAJUFACCBAgEA1QMAIbgCAQDVAwAhuQIBANUDACG6AgEA1QMAIbsCAQDWAwAhCyIAAJYFADAjAACbBQAwxQIAAJcFADDGAgAAmAUAMMcCAACZBQAgyAIAAJoFADDJAgAAmgUAMMoCAACaBQAwywIAAJoFADDMAgAAnAUAMM0CAACdBQAwCoECAQAAAAGvAgEAAAABsAIBAAAAAbECAQAAAAGyAgEAAAABswIBAAAAAbQCAQAAAAG1AiAAAAABtgIgAAAAAbcCIAAAAAECAAAAFQAgIgAAoQUAIAMAAAAVACAiAAChBQAgIwAAoAUAIAEbAACHBgAwDwkAAMUDACD-AQAAxAMAMP8BAAATABCAAgAAxAMAMIECAQAAAAGuAgEAjgMAIa8CAQCOAwAhsAIBAI4DACGxAgEAjgMAIbICAQCOAwAhswIBAI4DACG0AgEAjgMAIbUCIADDAwAhtgIgAMMDACG3AiAAwwMAIQIAAAAVACAbAACgBQAgAgAAAJ4FACAbAACfBQAgDv4BAACdBQAw_wEAAJ4FABCAAgAAnQUAMIECAQCOAwAhrgIBAI4DACGvAgEAjgMAIbACAQCOAwAhsQIBAI4DACGyAgEAjgMAIbMCAQCOAwAhtAIBAI4DACG1AiAAwwMAIbYCIADDAwAhtwIgAMMDACEO_gEAAJ0FADD_AQAAngUAEIACAACdBQAwgQIBAI4DACGuAgEAjgMAIa8CAQCOAwAhsAIBAI4DACGxAgEAjgMAIbICAQCOAwAhswIBAI4DACG0AgEAjgMAIbUCIADDAwAhtgIgAMMDACG3AiAAwwMAIQqBAgEA1QMAIa8CAQDVAwAhsAIBANUDACGxAgEA1QMAIbICAQDVAwAhswIBANUDACG0AgEA1QMAIbUCIACQBAAhtgIgAJAEACG3AiAAkAQAIQqBAgEA1QMAIa8CAQDVAwAhsAIBANUDACGxAgEA1QMAIbICAQDVAwAhswIBANUDACG0AgEA1QMAIbUCIACQBAAhtgIgAJAEACG3AiAAkAQAIQqBAgEAAAABrwIBAAAAAbACAQAAAAGxAgEAAAABsgIBAAAAAbMCAQAAAAG0AgEAAAABtQIgAAAAAbYCIAAAAAG3AiAAAAABBCIAAJYFADDFAgAAlwUAMMcCAACZBQAgywIAAJoFADAMgQIBAAAAAZwCQAAAAAGdAkAAAAABogIBAAAAAaMCAQAAAAGkAgEAAAABpQIBAAAAAaYCAQAAAAGnAkAAAAABqAJAAAAAAakCAQAAAAGqAgEAAAABAgAAAA8AICIAAK8FACADAAAADwAgIgAArwUAICMAAK4FACABGwAAhgYAMBEGAACwAwAg_gEAAMYDADD_AQAADQAQgAIAAMYDADCBAgEAAAABlQIBAI4DACGcAkAApAMAIZ0CQACkAwAhogIBAI4DACGjAgEAjgMAIaQCAQCPAwAhpQIBAI8DACGmAgEAjwMAIacCQADHAwAhqAJAAMcDACGpAgEAjwMAIaoCAQCPAwAhAgAAAA8AIBsAAK4FACACAAAAqwUAIBsAAKwFACAQ_gEAAKoFADD_AQAAqwUAEIACAACqBQAwgQIBAI4DACGVAgEAjgMAIZwCQACkAwAhnQJAAKQDACGiAgEAjgMAIaMCAQCOAwAhpAIBAI8DACGlAgEAjwMAIaYCAQCPAwAhpwJAAMcDACGoAkAAxwMAIakCAQCPAwAhqgIBAI8DACEQ_gEAAKoFADD_AQAAqwUAEIACAACqBQAwgQIBAI4DACGVAgEAjgMAIZwCQACkAwAhnQJAAKQDACGiAgEAjgMAIaMCAQCOAwAhpAIBAI8DACGlAgEAjwMAIaYCAQCPAwAhpwJAAMcDACGoAkAAxwMAIakCAQCPAwAhqgIBAI8DACEMgQIBANUDACGcAkAAgAQAIZ0CQACABAAhogIBANUDACGjAgEA1QMAIaQCAQDWAwAhpQIBANYDACGmAgEA1gMAIacCQACtBQAhqAJAAK0FACGpAgEA1gMAIaoCAQDWAwAhAcgCQAAAAAEMgQIBANUDACGcAkAAgAQAIZ0CQACABAAhogIBANUDACGjAgEA1QMAIaQCAQDWAwAhpQIBANYDACGmAgEA1gMAIacCQACtBQAhqAJAAK0FACGpAgEA1gMAIaoCAQDWAwAhDIECAQAAAAGcAkAAAAABnQJAAAAAAaICAQAAAAGjAgEAAAABpAIBAAAAAaUCAQAAAAGmAgEAAAABpwJAAAAAAagCQAAAAAGpAgEAAAABqgIBAAAAAQeBAgEAAAABnAJAAAAAAZ0CQAAAAAGhAkAAAAABqwIBAAAAAawCAQAAAAGtAgEAAAABAgAAAAsAICIAALsFACADAAAACwAgIgAAuwUAICMAALoFACABGwAAhQYAMAwGAACwAwAg_gEAAMgDADD_AQAACQAQgAIAAMgDADCBAgEAAAABlQIBAI4DACGcAkAApAMAIZ0CQACkAwAhoQJAAKQDACGrAgEAAAABrAIBAI8DACGtAgEAjwMAIQIAAAALACAbAAC6BQAgAgAAALgFACAbAAC5BQAgC_4BAAC3BQAw_wEAALgFABCAAgAAtwUAMIECAQCOAwAhlQIBAI4DACGcAkAApAMAIZ0CQACkAwAhoQJAAKQDACGrAgEAjgMAIawCAQCPAwAhrQIBAI8DACEL_gEAALcFADD_AQAAuAUAEIACAAC3BQAwgQIBAI4DACGVAgEAjgMAIZwCQACkAwAhnQJAAKQDACGhAkAApAMAIasCAQCOAwAhrAIBAI8DACGtAgEAjwMAIQeBAgEA1QMAIZwCQACABAAhnQJAAIAEACGhAkAAgAQAIasCAQDVAwAhrAIBANYDACGtAgEA1gMAIQeBAgEA1QMAIZwCQACABAAhnQJAAIAEACGhAkAAgAQAIasCAQDVAwAhrAIBANYDACGtAgEA1gMAIQeBAgEAAAABnAJAAAAAAZ0CQAAAAAGhAkAAAAABqwIBAAAAAawCAQAAAAGtAgEAAAABDAcAAL0FACAIAAC-BQAgCQAAvwUAIAsAAMAFACAUAADBBQAggQIBAAAAAYICAQAAAAGcAkAAAAABnQJAAAAAAbwCAQAAAAG9AiAAAAABvgIBAAAAAQQiAACwBQAwxQIAALEFADDHAgAAswUAIMsCAAC0BQAwBCIAAKMFADDFAgAApAUAMMcCAACmBQAgywIAAKcFADADIgAAkAUAIMUCAACRBQAgywIAAFMAIAQiAACEBQAwxQIAAIUFADDHAgAAhwUAIMsCAACIBQAwBCIAAPsEADDFAgAA_AQAMMcCAAD-BAAgywIAAPoDADAEIgAA6wQAMMUCAADsBAAwxwIAAO4EACDLAgAA7wQAMAAAAAAFIgAAgAYAICMAAIMGACDFAgAAgQYAIMYCAACCBgAgywIAAAEAIAMiAACABgAgxQIAAIEGACDLAgAAAQAgAAAABSIAAPsFACAjAAD-BQAgxQIAAPwFACDGAgAA_QUAIMsCAAABACADIgAA-wUAIMUCAAD8BQAgywIAAAEAIAAAAAUiAAD2BQAgIwAA-QUAIMUCAAD3BQAgxgIAAPgFACDLAgAAUwAgAyIAAPYFACDFAgAA9wUAIMsCAABTACAAAAAFIgAA8QUAICMAAPQFACDFAgAA8gUAIMYCAADzBQAgywIAAAEAIAMiAADxBQAgxQIAAPIFACDLAgAAAQAgCAUAAOgFACAHAADpBQAgCAAA6gUAIAkAAOcFACALAADrBQAgFAAA5QUAIL4CAADPAwAgvwIAAM8DACAAAAAAAAAHIgAA7AUAICMAAO8FACDFAgAA7QUAIMYCAADuBQAgyQIAAAMAIMoCAAADACDLAgAArQEAIAMiAADsBQAgxQIAAO0FACDLAgAArQEAIAUMAACLBAAgDgAA4QUAIA8AAOMFACATAACMBAAgmQIAAM8DACADDAAAiwQAIBEAAIwEACCDAgAAzwMAIAABDAAAiwQAIAAEDQAA5AUAIBAAAOEFACASAADiBQAgFAAA5QUAIAMGAADYBQAgCgAA2QUAILsCAADPAwAgAQMAAMMFACAAAAACgQICAAAAAYICAQAAAAECAAAArQEAICIAAOwFACADAAAAAwAgIgAA7AUAICMAAPAFACAEAAAAAwAgGwAA8AUAIIECAgDXAwAhggIBANUDACECgQICANcDACGCAgEA1QMAIQ0FAADgBQAgBwAAvQUAIAgAAL4FACALAADABQAgFAAAwQUAIIECAQAAAAGCAgEAAAABnAJAAAAAAZ0CQAAAAAG8AgEAAAABvQIgAAAAAb4CAQAAAAG_AgIAAAABAgAAAAEAICIAAPEFACADAAAABQAgIgAA8QUAICMAAPUFACAPAAAABQAgBQAA3wUAIAcAAPYEACAIAAD3BAAgCwAA-QQAIBQAAPoEACAbAAD1BQAggQIBANUDACGCAgEA1QMAIZwCQACABAAhnQJAAIAEACG8AgEA1QMAIb0CIACQBAAhvgIBANYDACG_AgIAnwQAIQ0FAADfBQAgBwAA9gQAIAgAAPcEACALAAD5BAAgFAAA-gQAIIECAQDVAwAhggIBANUDACGcAkAAgAQAIZ0CQACABAAhvAIBANUDACG9AiAAkAQAIb4CAQDWAwAhvwICAJ8EACEHBgAA1wUAIIECAQAAAAGVAgEAAAABuAIBAAAAAbkCAQAAAAG6AgEAAAABuwIBAAAAAQIAAABTACAiAAD2BQAgAwAAABEAICIAAPYFACAjAAD6BQAgCQAAABEAIAYAANYFACAbAAD6BQAggQIBANUDACGVAgEA1QMAIbgCAQDVAwAhuQIBANUDACG6AgEA1QMAIbsCAQDWAwAhBwYAANYFACCBAgEA1QMAIZUCAQDVAwAhuAIBANUDACG5AgEA1QMAIboCAQDVAwAhuwIBANYDACENBQAA4AUAIAgAAL4FACAJAAC_BQAgCwAAwAUAIBQAAMEFACCBAgEAAAABggIBAAAAAZwCQAAAAAGdAkAAAAABvAIBAAAAAb0CIAAAAAG-AgEAAAABvwICAAAAAQIAAAABACAiAAD7BQAgAwAAAAUAICIAAPsFACAjAAD_BQAgDwAAAAUAIAUAAN8FACAIAAD3BAAgCQAA-AQAIAsAAPkEACAUAAD6BAAgGwAA_wUAIIECAQDVAwAhggIBANUDACGcAkAAgAQAIZ0CQACABAAhvAIBANUDACG9AiAAkAQAIb4CAQDWAwAhvwICAJ8EACENBQAA3wUAIAgAAPcEACAJAAD4BAAgCwAA-QQAIBQAAPoEACCBAgEA1QMAIYICAQDVAwAhnAJAAIAEACGdAkAAgAQAIbwCAQDVAwAhvQIgAJAEACG-AgEA1gMAIb8CAgCfBAAhDQUAAOAFACAHAAC9BQAgCQAAvwUAIAsAAMAFACAUAADBBQAggQIBAAAAAYICAQAAAAGcAkAAAAABnQJAAAAAAbwCAQAAAAG9AiAAAAABvgIBAAAAAb8CAgAAAAECAAAAAQAgIgAAgAYAIAMAAAAFACAiAACABgAgIwAAhAYAIA8AAAAFACAFAADfBQAgBwAA9gQAIAkAAPgEACALAAD5BAAgFAAA-gQAIBsAAIQGACCBAgEA1QMAIYICAQDVAwAhnAJAAIAEACGdAkAAgAQAIbwCAQDVAwAhvQIgAJAEACG-AgEA1gMAIb8CAgCfBAAhDQUAAN8FACAHAAD2BAAgCQAA-AQAIAsAAPkEACAUAAD6BAAggQIBANUDACGCAgEA1QMAIZwCQACABAAhnQJAAIAEACG8AgEA1QMAIb0CIACQBAAhvgIBANYDACG_AgIAnwQAIQeBAgEAAAABnAJAAAAAAZ0CQAAAAAGhAkAAAAABqwIBAAAAAawCAQAAAAGtAgEAAAABDIECAQAAAAGcAkAAAAABnQJAAAAAAaICAQAAAAGjAgEAAAABpAIBAAAAAaUCAQAAAAGmAgEAAAABpwJAAAAAAagCQAAAAAGpAgEAAAABqgIBAAAAAQqBAgEAAAABrwIBAAAAAbACAQAAAAGxAgEAAAABsgIBAAAAAbMCAQAAAAG0AgEAAAABtQIgAAAAAbYCIAAAAAG3AiAAAAABBIECAQAAAAGSAgEAAAABkwIgAAAAAZQCAQAAAAEDmwIBAAAAAZwCQAAAAAGdAkAAAAABB4ECAQAAAAGCAgEAAAABnAJAAAAAAZ0CQAAAAAG8AgEAAAABvQIgAAAAAb4CAQAAAAEJDQAAhgQAIBAAAIcEACASAAC3BAAggQIBAAAAAYICAQAAAAGWAgIAAAABlwICAAAAAZ4CAQAAAAGfAgIAAAABAgAAACIAICIAAIsGACADAAAAIAAgIgAAiwYAICMAAI8GACALAAAAIAAgDQAA8wMAIBAAAPQDACASAAC1BAAgGwAAjwYAIIECAQDVAwAhggIBANUDACGWAgIA1wMAIZcCAgDXAwAhngIBANUDACGfAgIA1wMAIQkNAADzAwAgEAAA9AMAIBIAALUEACCBAgEA1QMAIYICAQDVAwAhlgICANcDACGXAgIA1wMAIZ4CAQDVAwAhnwICANcDACEFgQIBAAAAAYICAQAAAAGWAgIAAAABlwICAAAAAZ4CAQAAAAEHDAAAxQQAIA4AAMcEACATAADGBAAggQICAAAAAYICAQAAAAGYAgIAAAABmQICAAAAAQIAAAAoACAiAACRBgAgA4ECAgAAAAGCAgEAAAABmAICAAAAAQQRAACKBAAggQICAAAAAYICAQAAAAGDAgEAAAABAgAAAOcCACAiAACUBgAgAwAAAOoCACAiAACUBgAgIwAAmAYAIAYAAADqAgAgEQAA2QMAIBsAAJgGACCBAgIA1wMAIYICAQDVAwAhgwIBANYDACEEEQAA2QMAIIECAgDXAwAhggIBANUDACGDAgEA1gMAIQWBAgEAAAABggIBAAAAAZcCAgAAAAGeAgEAAAABnwICAAAAAQGXAgIAAAABAwAAACUAICIAAJEGACAjAACdBgAgCQAAACUAIAwAAKIEACAOAACgBAAgEwAAowQAIBsAAJ0GACCBAgIA1wMAIYICAQDVAwAhmAICANcDACGZAgIAnwQAIQcMAACiBAAgDgAAoAQAIBMAAKMEACCBAgIA1wMAIYICAQDVAwAhmAICANcDACGZAgIAnwQAIQQMAACJBAAggQICAAAAAYICAQAAAAGDAgEAAAABAgAAAOcCACAiAACeBgAgAwAAAOoCACAiAACeBgAgIwAAogYAIAYAAADqAgAgDAAA2AMAIBsAAKIGACCBAgIA1wMAIYICAQDVAwAhgwIBANYDACEEDAAA2AMAIIECAgDXAwAhggIBANUDACGDAgEA1gMAIQ0FAADgBQAgBwAAvQUAIAgAAL4FACAJAAC_BQAgFAAAwQUAIIECAQAAAAGCAgEAAAABnAJAAAAAAZ0CQAAAAAG8AgEAAAABvQIgAAAAAb4CAQAAAAG_AgIAAAABAgAAAAEAICIAAKMGACADAAAABQAgIgAAowYAICMAAKcGACAPAAAABQAgBQAA3wUAIAcAAPYEACAIAAD3BAAgCQAA-AQAIBQAAPoEACAbAACnBgAggQIBANUDACGCAgEA1QMAIZwCQACABAAhnQJAAIAEACG8AgEA1QMAIb0CIACQBAAhvgIBANYDACG_AgIAnwQAIQ0FAADfBQAgBwAA9gQAIAgAAPcEACAJAAD4BAAgFAAA-gQAIIECAQDVAwAhggIBANUDACGcAkAAgAQAIZ0CQACABAAhvAIBANUDACG9AiAAkAQAIb4CAQDWAwAhvwICAJ8EACEHDgAAxwQAIA8AAMQEACATAADGBAAggQICAAAAAYICAQAAAAGYAgIAAAABmQICAAAAAQIAAAAoACAiAACoBgAgA4ECAgAAAAGCAgEAAAABmgICAAAAAQIAAACKAgAgIgAAqgYAIA0FAADgBQAgBwAAvQUAIAgAAL4FACAJAAC_BQAgCwAAwAUAIIECAQAAAAGCAgEAAAABnAJAAAAAAZ0CQAAAAAG8AgEAAAABvQIgAAAAAb4CAQAAAAG_AgIAAAABAgAAAAEAICIAAKwGACADAAAABQAgIgAArAYAICMAALAGACAPAAAABQAgBQAA3wUAIAcAAPYEACAIAAD3BAAgCQAA-AQAIAsAAPkEACAbAACwBgAggQIBANUDACGCAgEA1QMAIZwCQACABAAhnQJAAIAEACG8AgEA1QMAIb0CIACQBAAhvgIBANYDACG_AgIAnwQAIQ0FAADfBQAgBwAA9gQAIAgAAPcEACAJAAD4BAAgCwAA-QQAIIECAQDVAwAhggIBANUDACGcAkAAgAQAIZ0CQACABAAhvAIBANUDACG9AiAAkAQAIb4CAQDWAwAhvwICAJ8EACEDlQIBAAAAAZwCQAAAAAGdAkAAAAABAwAAACUAICIAAKgGACAjAAC0BgAgCQAAACUAIA4AAKAEACAPAAChBAAgEwAAowQAIBsAALQGACCBAgIA1wMAIYICAQDVAwAhmAICANcDACGZAgIAnwQAIQcOAACgBAAgDwAAoQQAIBMAAKMEACCBAgIA1wMAIYICAQDVAwAhmAICANcDACGZAgIAnwQAIQMAAACNAgAgIgAAqgYAICMAALcGACAFAAAAjQIAIBsAALcGACCBAgIA1wMAIYICAQDVAwAhmgICANcDACEDgQICANcDACGCAgEA1QMAIZoCAgDXAwAhBYECAQAAAAGCAgEAAAABlgICAAAAAZ4CAQAAAAGfAgIAAAABBwwAAMUEACAOAADHBAAgDwAAxAQAIIECAgAAAAGCAgEAAAABmAICAAAAAZkCAgAAAAECAAAAKAAgIgAAuQYAIAMAAAAlACAiAAC5BgAgIwAAvQYAIAkAAAAlACAMAACiBAAgDgAAoAQAIA8AAKEEACAbAAC9BgAggQICANcDACGCAgEA1QMAIZgCAgDXAwAhmQICAJ8EACEHDAAAogQAIA4AAKAEACAPAAChBAAggQICANcDACGCAgEA1QMAIZgCAgDXAwAhmQICAJ8EACEBlgICAAAAAQcEABQFBAIHDAQIEAUJEgYLGwkUHwoCAwcBBAADAQMIAAEGAAEBBgABAwQACAYAAQoWBwEJAAYBChcAAQYAAQIGAAEVAAsFBAATDQAMEAAOEgAQFDYKAgQADQwjCwEMJAAFBAASDCoLDiYODykOEy4PAhAADhIAEAMEABEMLwsRMA8CDDEAETIAAww0AA8zABM1AAEUNwAEBzgACDkACzoAFDsAAAEFRQIBBUsCBQQAGSgAGikAGyoAHCsAHQAAAAAABQQAGSgAGikAGyoAHCsAHQEGAAEBBgABAwQAIioAIysAJAAAAAMEACIqACMrACQBCQAGAQkABgMEACkqACorACsAAAADBAApKgAqKwArAQYAAQEGAAEDBAAwKgAxKwAyAAAAAwQAMCoAMSsAMgEGAAEBBgABAwQANyoAOCsAOQAAAAMEADcqADgrADkAAAUEAD4oAD8pAEAqAEErAEIAAAAAAAUEAD4oAD8pAEAqAEErAEIAAAADBABIKgBJKwBKAAAAAwQASCoASSsASgMNAAwQAA4SABADDQAMEAAOEgAQBQQATygAUCkAUSoAUisAUwAAAAAABQQATygAUCkAUSoAUisAUwIGAAEVAAsCBgABFQALAwQAWCoAWSsAWgAAAAMEAFgqAFkrAFoAAAUEAF8oAGApAGEqAGIrAGMAAAAAAAUEAF8oAGApAGEqAGIrAGMBDq0CDgEOswIOBQQAaCgAaSkAaioAaysAbAAAAAAABQQAaCgAaSkAaioAaysAbAIQAA4SABACEAAOEgAQBQQAcSgAcikAcyoAdCsAdQAAAAAABQQAcSgAcikAcyoAdCsAdQEGAAEBBgABAwQAeioAeysAfAAAAAMEAHoqAHsrAHwAAAUEAIEBKACCASkAgwEqAIQBKwCFAQAAAAAABQQAgQEoAIIBKQCDASoAhAErAIUBFgIBFzwBGD0BGT4BGj8BHEEBHUMVHkQWH0cBIEkVIUoXJEwBJU0BJk4VLFEYLVIeLlQGL1UGMFcGMVgGMlkGM1sGNF0VNV4fNmAGN2IVOGMgOWQGOmUGO2YVPGkhPWolPmsHP2wHQG0HQW4HQm8HQ3EHRHMVRXQmRnYHR3gVSHknSXoHSnsHS3wVTH8oTYABLE6BAQRPggEEUIMBBFGEAQRShQEEU4cBBFSJARVVigEtVowBBFeOARVYjwEuWZABBFqRAQRbkgEVXJUBL12WATNelwEFX5gBBWCZAQVhmgEFYpsBBWOdAQVknwEVZaABNGaiAQVnpAEVaKUBNWmmAQVqpwEFa6gBFWyrATZtrAE6bq4BAm-vAQJwsQECcbIBAnKzAQJztQECdLcBFXW4ATt2ugECd7wBFXi9ATx5vgECer8BAnvAARV8wwE9fcQBQ37GAUR_xwFEgAHKAUSBAcsBRIIBzAFEgwHOAUSEAdABFYUB0QFFhgHTAUSHAdUBFYgB1gFGiQHXAUSKAdgBRIsB2QEVjAHcAUeNAd0BS44B3gELjwHfAQuQAeABC5EB4QELkgHiAQuTAeQBC5QB5gEVlQHnAUyWAekBC5cB6wEVmAHsAU2ZAe0BC5oB7gELmwHvARWcAfIBTp0B8wFUngH0AQqfAfUBCqAB9gEKoQH3AQqiAfgBCqMB-gEKpAH8ARWlAf0BVaYB_wEKpwGBAhWoAYICVqkBgwIKqgGEAgqrAYUCFawBiAJXrQGJAluuAYsCDK8BjAIMsAGPAgyxAZACDLIBkQIMswGTAgy0AZUCFbUBlgJctgGYAgy3AZoCFbgBmwJduQGcAgy6AZ0CDLsBngIVvAGhAl69AaICZL4BowIOvwGkAg7AAaUCDsEBpgIOwgGnAg7DAakCDsQBqwIVxQGsAmXGAa8CDscBsQIVyAGyAmbJAbQCDsoBtQIOywG2AhXMAbkCZ80BugJtzgG7Ag_PAbwCD9ABvQIP0QG-Ag_SAb8CD9MBwQIP1AHDAhXVAcQCbtYBxgIP1wHIAhXYAckCb9kBygIP2gHLAg_bAcwCFdwBzwJw3QHQAnbeAdECCd8B0gIJ4AHTAgnhAdQCCeIB1QIJ4wHXAgnkAdkCFeUB2gJ35gHcAgnnAd4CFegB3wJ46QHgAgnqAeECCesB4gIV7AHlAnntAeYCfe4B6AIQ7wHpAhDwAewCEPEB7QIQ8gHuAhDzAfACEPQB8gIV9QHzAn72AfUCEPcB9wIV-AH4An_5AfkCEPoB-gIQ-wH7AhX8Af4CgAH9Af8ChgE" +} async function decodeBase64AsWasm(wasmBase64: string): Promise { - const { Buffer } = await import('node:buffer'); - const wasmArray = Buffer.from(wasmBase64, 'base64'); - return new WebAssembly.Module(wasmArray); + const { Buffer } = await import('node:buffer') + const wasmArray = Buffer.from(wasmBase64, 'base64') + return new WebAssembly.Module(wasmArray) } config.compilerWasm = { - getRuntime: async () => - await import('@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs'), + getRuntime: async () => await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs"), + + getQueryCompilerWasmModule: async () => { + const { wasm } = await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs") + return await decodeBase64AsWasm(wasm) + }, + + importName: "./query_compiler_fast_bg.js" +} - getQueryCompilerWasmModule: async () => { - const { wasm } = - await import('@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs'); - return await decodeBase64AsWasm(wasm); - }, - importName: './query_compiler_fast_bg.js' -}; export type LogOptions = - 'log' extends keyof ClientOptions - ? ClientOptions['log'] extends Array - ? Prisma.GetEvents - : never - : never; + 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array ? Prisma.GetEvents : never : never export interface PrismaClientConstructor { - /** - * ## Prisma Client - * - * Type-safe database client for TypeScript - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) - * }) - * // Fetch zero or more Users - * const users = await prisma.user.findMany() - * ``` - * - * Read more in our [docs](https://pris.ly/d/client). - */ + /** + * ## Prisma Client + * + * Type-safe database client for TypeScript + * @example + * ``` + * const prisma = new PrismaClient({ + * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) + * }) + * // Fetch zero or more Users + * const users = await prisma.user.findMany() + * ``` + * + * Read more in our [docs](https://pris.ly/d/client). + */ - new < - Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, - LogOpts extends LogOptions = LogOptions, - OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends { omit: infer U } - ? U - : Prisma.PrismaClientOptions['omit'], - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs - >( - options: Prisma.Subset - ): PrismaClient; + new < + Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, + LogOpts extends LogOptions = LogOptions, + OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends { omit: infer U } ? U : Prisma.PrismaClientOptions['omit'], + ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs + >(options: Prisma.Subset ): PrismaClient } /** * ## Prisma Client - * + * * Type-safe database client for TypeScript * @example * ``` @@ -109,259 +97,238 @@ export interface PrismaClientConstructor { * // Fetch zero or more Users * const users = await prisma.user.findMany() * ``` - * + * * Read more in our [docs](https://pris.ly/d/client). */ export interface PrismaClient< - in LogOpts extends Prisma.LogLevel = never, - in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, - in out ExtArgs extends runtime.Types.Extensions.InternalArgs = - runtime.Types.Extensions.DefaultArgs + in LogOpts extends Prisma.LogLevel = never, + in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, + in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs > { - [K: symbol]: { types: Prisma.TypeMap['other'] }; + [K: symbol]: { types: Prisma.TypeMap['other'] } - $on( - eventType: V, - callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void - ): PrismaClient; + $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient; - /** - * Connect with the database - */ - $connect(): runtime.Types.Utils.JsPromise; + /** + * Connect with the database + */ + $connect(): runtime.Types.Utils.JsPromise; - /** - * Disconnect from the database - */ - $disconnect(): runtime.Types.Utils.JsPromise; + /** + * Disconnect from the database + */ + $disconnect(): runtime.Types.Utils.JsPromise; - /** - * Executes a prepared raw query and returns the number of affected rows. - * @example - * ``` - * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $executeRaw( - query: TemplateStringsArray | Prisma.Sql, - ...values: any[] - ): Prisma.PrismaPromise; +/** + * Executes a prepared raw query and returns the number of affected rows. + * @example + * ``` + * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` + * ``` + * + * Read more in our [docs](https://pris.ly/d/raw-queries). + */ + $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; - /** - * Executes a raw query and returns the number of affected rows. - * Susceptible to SQL injections, see documentation. - * @example - * ``` - * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; + /** + * Executes a raw query and returns the number of affected rows. + * Susceptible to SQL injections, see documentation. + * @example + * ``` + * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') + * ``` + * + * Read more in our [docs](https://pris.ly/d/raw-queries). + */ + $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; - /** - * Performs a prepared raw query and returns the `SELECT` data. - * @example - * ``` - * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $queryRaw( - query: TemplateStringsArray | Prisma.Sql, - ...values: any[] - ): Prisma.PrismaPromise; + /** + * Performs a prepared raw query and returns the `SELECT` data. + * @example + * ``` + * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` + * ``` + * + * Read more in our [docs](https://pris.ly/d/raw-queries). + */ + $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; - /** - * Performs a raw query and returns the `SELECT` data. - * Susceptible to SQL injections, see documentation. - * @example - * ``` - * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; + /** + * Performs a raw query and returns the `SELECT` data. + * Susceptible to SQL injections, see documentation. + * @example + * ``` + * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') + * ``` + * + * Read more in our [docs](https://pris.ly/d/raw-queries). + */ + $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; - /** - * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. - * @example - * ``` - * const [george, bob, alice] = await prisma.$transaction([ - * prisma.user.create({ data: { name: 'George' } }), - * prisma.user.create({ data: { name: 'Bob' } }), - * prisma.user.create({ data: { name: 'Alice' } }), - * ]) - * ``` - * - * Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions). - */ - $transaction

[]>( - arg: [...P], - options?: { - maxWait?: number; - timeout?: number; - isolationLevel?: Prisma.TransactionIsolationLevel; - } - ): runtime.Types.Utils.JsPromise>; - $transaction( - fn: (prisma: Omit) => runtime.Types.Utils.JsPromise, - options?: { - maxWait?: number; - timeout?: number; - isolationLevel?: Prisma.TransactionIsolationLevel; - } - ): runtime.Types.Utils.JsPromise; + /** + * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. + * @example + * ``` + * const [george, bob, alice] = await prisma.$transaction([ + * prisma.user.create({ data: { name: 'George' } }), + * prisma.user.create({ data: { name: 'Bob' } }), + * prisma.user.create({ data: { name: 'Alice' } }), + * ]) + * ``` + * + * Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions). + */ + $transaction

[]>(arg: [...P], options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise> - $extends: runtime.Types.Extensions.ExtendsHook< - 'extends', - Prisma.TypeMapCb, - ExtArgs, - runtime.Types.Utils.Call< - Prisma.TypeMapCb, - { - extArgs: ExtArgs; - } - > - >; + $transaction(fn: (prisma: Omit) => runtime.Types.Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise - /** - * `prisma.user`: Exposes CRUD operations for the **User** model. - * Example usage: - * ```ts - * // Fetch zero or more Users - * const users = await prisma.user.findMany() - * ``` - */ - get user(): Prisma.UserDelegate; + $extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, runtime.Types.Utils.Call, { + extArgs: ExtArgs + }>> - /** - * `prisma.profile`: Exposes CRUD operations for the **Profile** model. - * Example usage: - * ```ts - * // Fetch zero or more Profiles - * const profiles = await prisma.profile.findMany() - * ``` - */ - get profile(): Prisma.ProfileDelegate; + /** + * `prisma.user`: Exposes CRUD operations for the **User** model. + * Example usage: + * ```ts + * // Fetch zero or more Users + * const users = await prisma.user.findMany() + * ``` + */ + get user(): Prisma.UserDelegate; - /** - * `prisma.address`: Exposes CRUD operations for the **Address** model. - * Example usage: - * ```ts - * // Fetch zero or more Addresses - * const addresses = await prisma.address.findMany() - * ``` - */ - get address(): Prisma.AddressDelegate; + /** + * `prisma.profile`: Exposes CRUD operations for the **Profile** model. + * Example usage: + * ```ts + * // Fetch zero or more Profiles + * const profiles = await prisma.profile.findMany() + * ``` + */ + get profile(): Prisma.ProfileDelegate; - /** - * `prisma.session`: Exposes CRUD operations for the **Session** model. - * Example usage: - * ```ts - * // Fetch zero or more Sessions - * const sessions = await prisma.session.findMany() - * ``` - */ - get session(): Prisma.SessionDelegate; + /** + * `prisma.address`: Exposes CRUD operations for the **Address** model. + * Example usage: + * ```ts + * // Fetch zero or more Addresses + * const addresses = await prisma.address.findMany() + * ``` + */ + get address(): Prisma.AddressDelegate; - /** - * `prisma.account`: Exposes CRUD operations for the **Account** model. - * Example usage: - * ```ts - * // Fetch zero or more Accounts - * const accounts = await prisma.account.findMany() - * ``` - */ - get account(): Prisma.AccountDelegate; + /** + * `prisma.session`: Exposes CRUD operations for the **Session** model. + * Example usage: + * ```ts + * // Fetch zero or more Sessions + * const sessions = await prisma.session.findMany() + * ``` + */ + get session(): Prisma.SessionDelegate; - /** - * `prisma.userRole`: Exposes CRUD operations for the **UserRole** model. - * Example usage: - * ```ts - * // Fetch zero or more UserRoles - * const userRoles = await prisma.userRole.findMany() - * ``` - */ - get userRole(): Prisma.UserRoleDelegate; + /** + * `prisma.account`: Exposes CRUD operations for the **Account** model. + * Example usage: + * ```ts + * // Fetch zero or more Accounts + * const accounts = await prisma.account.findMany() + * ``` + */ + get account(): Prisma.AccountDelegate; - /** - * `prisma.verification`: Exposes CRUD operations for the **Verification** model. - * Example usage: - * ```ts - * // Fetch zero or more Verifications - * const verifications = await prisma.verification.findMany() - * ``` - */ - get verification(): Prisma.VerificationDelegate; + /** + * `prisma.userRole`: Exposes CRUD operations for the **UserRole** model. + * Example usage: + * ```ts + * // Fetch zero or more UserRoles + * const userRoles = await prisma.userRole.findMany() + * ``` + */ + get userRole(): Prisma.UserRoleDelegate; - /** - * `prisma.proclamation`: Exposes CRUD operations for the **Proclamation** model. - * Example usage: - * ```ts - * // Fetch zero or more Proclamations - * const proclamations = await prisma.proclamation.findMany() - * ``` - */ - get proclamation(): Prisma.ProclamationDelegate; + /** + * `prisma.verification`: Exposes CRUD operations for the **Verification** model. + * Example usage: + * ```ts + * // Fetch zero or more Verifications + * const verifications = await prisma.verification.findMany() + * ``` + */ + get verification(): Prisma.VerificationDelegate; - /** - * `prisma.userProclamations`: Exposes CRUD operations for the **UserProclamations** model. - * Example usage: - * ```ts - * // Fetch zero or more UserProclamations - * const userProclamations = await prisma.userProclamations.findMany() - * ``` - */ - get userProclamations(): Prisma.UserProclamationsDelegate; + /** + * `prisma.proclamation`: Exposes CRUD operations for the **Proclamation** model. + * Example usage: + * ```ts + * // Fetch zero or more Proclamations + * const proclamations = await prisma.proclamation.findMany() + * ``` + */ + get proclamation(): Prisma.ProclamationDelegate; - /** - * `prisma.solfeggioFrequency`: Exposes CRUD operations for the **SolfeggioFrequency** model. - * Example usage: - * ```ts - * // Fetch zero or more SolfeggioFrequencies - * const solfeggioFrequencies = await prisma.solfeggioFrequency.findMany() - * ``` - */ - get solfeggioFrequency(): Prisma.SolfeggioFrequencyDelegate; + /** + * `prisma.userProclamations`: Exposes CRUD operations for the **UserProclamations** model. + * Example usage: + * ```ts + * // Fetch zero or more UserProclamations + * const userProclamations = await prisma.userProclamations.findMany() + * ``` + */ + get userProclamations(): Prisma.UserProclamationsDelegate; - /** - * `prisma.proclamationCategory`: Exposes CRUD operations for the **ProclamationCategory** model. - * Example usage: - * ```ts - * // Fetch zero or more ProclamationCategories - * const proclamationCategories = await prisma.proclamationCategory.findMany() - * ``` - */ - get proclamationCategory(): Prisma.ProclamationCategoryDelegate; + /** + * `prisma.solfeggioFrequency`: Exposes CRUD operations for the **SolfeggioFrequency** model. + * Example usage: + * ```ts + * // Fetch zero or more SolfeggioFrequencies + * const solfeggioFrequencies = await prisma.solfeggioFrequency.findMany() + * ``` + */ + get solfeggioFrequency(): Prisma.SolfeggioFrequencyDelegate; - /** - * `prisma.licenseKey`: Exposes CRUD operations for the **LicenseKey** model. - * Example usage: - * ```ts - * // Fetch zero or more LicenseKeys - * const licenseKeys = await prisma.licenseKey.findMany() - * ``` - */ - get licenseKey(): Prisma.LicenseKeyDelegate; + /** + * `prisma.proclamationCategory`: Exposes CRUD operations for the **ProclamationCategory** model. + * Example usage: + * ```ts + * // Fetch zero or more ProclamationCategories + * const proclamationCategories = await prisma.proclamationCategory.findMany() + * ``` + */ + get proclamationCategory(): Prisma.ProclamationCategoryDelegate; - /** - * `prisma.subscriptionLevel`: Exposes CRUD operations for the **SubscriptionLevel** model. - * Example usage: - * ```ts - * // Fetch zero or more SubscriptionLevels - * const subscriptionLevels = await prisma.subscriptionLevel.findMany() - * ``` - */ - get subscriptionLevel(): Prisma.SubscriptionLevelDelegate; + /** + * `prisma.proclamationCategorySubscriptionLevel`: Exposes CRUD operations for the **ProclamationCategorySubscriptionLevel** model. + * Example usage: + * ```ts + * // Fetch zero or more ProclamationCategorySubscriptionLevels + * const proclamationCategorySubscriptionLevels = await prisma.proclamationCategorySubscriptionLevel.findMany() + * ``` + */ + get proclamationCategorySubscriptionLevel(): Prisma.ProclamationCategorySubscriptionLevelDelegate; + + /** + * `prisma.licenseKey`: Exposes CRUD operations for the **LicenseKey** model. + * Example usage: + * ```ts + * // Fetch zero or more LicenseKeys + * const licenseKeys = await prisma.licenseKey.findMany() + * ``` + */ + get licenseKey(): Prisma.LicenseKeyDelegate; + + /** + * `prisma.subscriptionLevel`: Exposes CRUD operations for the **SubscriptionLevel** model. + * Example usage: + * ```ts + * // Fetch zero or more SubscriptionLevels + * const subscriptionLevels = await prisma.subscriptionLevel.findMany() + * ``` + */ + get subscriptionLevel(): Prisma.SubscriptionLevelDelegate; } export function getPrismaClientClass(): PrismaClientConstructor { - return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor; + return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor } diff --git a/src/lib/generated/prisma/internal/prismaNamespace.ts b/src/lib/generated/prisma/internal/prismaNamespace.ts index 722145c..ac5ec73 100644 --- a/src/lib/generated/prisma/internal/prismaNamespace.ts +++ b/src/lib/generated/prisma/internal/prismaNamespace.ts @@ -1,7 +1,8 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * WARNING: This is an internal file that is subject to change! * @@ -14,130 +15,134 @@ * model files in the `model` directory! */ -import * as runtime from '@prisma/client/runtime/client'; -import type * as Prisma from '../models.ts'; -import { type PrismaClient } from './class.ts'; +import * as runtime from "@prisma/client/runtime/client" +import type * as Prisma from "../models.ts" +import { type PrismaClient } from "./class.ts" -export type * from '../models.ts'; +export type * from '../models.ts' -export type DMMF = typeof runtime.DMMF; +export type DMMF = typeof runtime.DMMF -export type PrismaPromise = runtime.Types.Public.PrismaPromise; +export type PrismaPromise = runtime.Types.Public.PrismaPromise /** * Prisma Errors */ -export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError; -export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError; +export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError +export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError -export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError; -export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError; +export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError +export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError -export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError; -export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError; +export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError +export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError -export const PrismaClientInitializationError = runtime.PrismaClientInitializationError; -export type PrismaClientInitializationError = runtime.PrismaClientInitializationError; +export const PrismaClientInitializationError = runtime.PrismaClientInitializationError +export type PrismaClientInitializationError = runtime.PrismaClientInitializationError -export const PrismaClientValidationError = runtime.PrismaClientValidationError; -export type PrismaClientValidationError = runtime.PrismaClientValidationError; +export const PrismaClientValidationError = runtime.PrismaClientValidationError +export type PrismaClientValidationError = runtime.PrismaClientValidationError /** * Re-export of sql-template-tag */ -export const sql = runtime.sqltag; -export const empty = runtime.empty; -export const join = runtime.join; -export const raw = runtime.raw; -export const Sql = runtime.Sql; -export type Sql = runtime.Sql; +export const sql = runtime.sqltag +export const empty = runtime.empty +export const join = runtime.join +export const raw = runtime.raw +export const Sql = runtime.Sql +export type Sql = runtime.Sql + + /** * Decimal.js */ -export const Decimal = runtime.Decimal; -export type Decimal = runtime.Decimal; +export const Decimal = runtime.Decimal +export type Decimal = runtime.Decimal -export type DecimalJsLike = runtime.DecimalJsLike; +export type DecimalJsLike = runtime.DecimalJsLike /** - * Extensions - */ -export type Extension = runtime.Types.Extensions.UserArgs; -export const getExtensionContext = runtime.Extensions.getExtensionContext; -export type Args = runtime.Types.Public.Args; -export type Payload = runtime.Types.Public.Payload; -export type Result = runtime.Types.Public.Result; -export type Exact = runtime.Types.Public.Exact; +* Extensions +*/ +export type Extension = runtime.Types.Extensions.UserArgs +export const getExtensionContext = runtime.Extensions.getExtensionContext +export type Args = runtime.Types.Public.Args +export type Payload = runtime.Types.Public.Payload +export type Result = runtime.Types.Public.Result +export type Exact = runtime.Types.Public.Exact export type PrismaVersion = { - client: string; - engine: string; -}; + client: string + engine: string +} /** * Prisma Client JS version: 7.8.0 * Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a */ export const prismaVersion: PrismaVersion = { - client: '7.8.0', - engine: '3c6e192761c0362d496ed980de936e2f3cebcd3a' -}; + client: "7.8.0", + engine: "3c6e192761c0362d496ed980de936e2f3cebcd3a" +} /** * Utility Types */ -export type Bytes = runtime.Bytes; -export type JsonObject = runtime.JsonObject; -export type JsonArray = runtime.JsonArray; -export type JsonValue = runtime.JsonValue; -export type InputJsonObject = runtime.InputJsonObject; -export type InputJsonArray = runtime.InputJsonArray; -export type InputJsonValue = runtime.InputJsonValue; +export type Bytes = runtime.Bytes +export type JsonObject = runtime.JsonObject +export type JsonArray = runtime.JsonArray +export type JsonValue = runtime.JsonValue +export type InputJsonObject = runtime.InputJsonObject +export type InputJsonArray = runtime.InputJsonArray +export type InputJsonValue = runtime.InputJsonValue + export const NullTypes = { - DbNull: runtime.NullTypes.DbNull as new (secret: never) => typeof runtime.DbNull, - JsonNull: runtime.NullTypes.JsonNull as new (secret: never) => typeof runtime.JsonNull, - AnyNull: runtime.NullTypes.AnyNull as new (secret: never) => typeof runtime.AnyNull -}; + DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), + JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), + AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull), +} /** * Helper for filtering JSON entries that have `null` on the database (empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ -export const DbNull = runtime.DbNull; +export const DbNull = runtime.DbNull /** * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ -export const JsonNull = runtime.JsonNull; +export const JsonNull = runtime.JsonNull /** * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ -export const AnyNull = runtime.AnyNull; +export const AnyNull = runtime.AnyNull + type SelectAndInclude = { - select: any; - include: any; -}; + select: any + include: any +} type SelectAndOmit = { - select: any; - omit: any; -}; + select: any + omit: any +} /** * From T, pick a set of properties whose keys are in the union K */ type Prisma__Pick = { - [P in K]: T[P]; + [P in K]: T[P]; }; export type Enumerable = T | Array; @@ -147,7 +152,7 @@ export type Enumerable = T | Array; * @desc From `T` pick properties that exist in `U`. Simple version of Intersection */ export type Subset = { - [key in keyof T]: key extends keyof U ? T[key] : never; + [key in keyof T]: key extends keyof U ? T[key] : never; }; /** @@ -156,20 +161,22 @@ export type Subset = { * Additionally, it validates, if both select and include are present. If the case, it errors. */ export type SelectSubset = { - [key in keyof T]: key extends keyof U ? T[key] : never; -} & (T extends SelectAndInclude - ? 'Please either choose `select` or `include`.' - : T extends SelectAndOmit - ? 'Please either choose `select` or `omit`.' - : {}); + [key in keyof T]: key extends keyof U ? T[key] : never +} & + (T extends SelectAndInclude + ? 'Please either choose `select` or `include`.' + : T extends SelectAndOmit + ? 'Please either choose `select` or `omit`.' + : {}) /** * Subset + Intersection * @desc From `T` pick properties that exist in `U` and intersect `K` */ export type SubsetIntersection = { - [key in keyof T]: key extends keyof U ? T[key] : never; -} & K; + [key in keyof T]: key extends keyof U ? T[key] : never +} & + K type Without = { [P in Exclude]?: never }; @@ -177,102 +184,102 @@ type Without = { [P in Exclude]?: never }; * XOR is needed to have a real mutually exclusive union type * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types */ -export type XOR = T extends object - ? U extends object - ? (Without & U) | (Without & T) - : U - : T; +export type XOR = + T extends object ? + U extends object ? + (Without & U) | (Without & T) + : U : T + /** * Is T a Record? */ -type IsObject = - T extends Array - ? False - : T extends Date - ? False - : T extends Uint8Array - ? False - : T extends BigInt - ? False - : T extends object - ? True - : False; +type IsObject = T extends Array +? False +: T extends Date +? False +: T extends Uint8Array +? False +: T extends BigInt +? False +: T extends object +? True +: False + /** * If it's T[], return T */ -export type UnEnumerate = T extends Array ? U : T; +export type UnEnumerate = T extends Array ? U : T /** * From ts-toolbelt */ type __Either = Omit & - { - // Merge all but K - [P in K]: Prisma__Pick; // With K possibilities - }[K]; + { + // Merge all but K + [P in K]: Prisma__Pick // With K possibilities + }[K] -type EitherStrict = Strict<__Either>; +type EitherStrict = Strict<__Either> -type EitherLoose = ComputeRaw<__Either>; +type EitherLoose = ComputeRaw<__Either> -type _Either = { - 1: EitherStrict; - 0: EitherLoose; -}[strict]; +type _Either< + O extends object, + K extends Key, + strict extends Boolean +> = { + 1: EitherStrict + 0: EitherLoose +}[strict] -export type Either = O extends unknown - ? _Either - : never; +export type Either< + O extends object, + K extends Key, + strict extends Boolean = 1 +> = O extends unknown ? _Either : never -export type Union = any; +export type Union = any export type PatchUndefined = { - [K in keyof O]: O[K] extends undefined ? At : O[K]; -} & {}; + [K in keyof O]: O[K] extends undefined ? At : O[K] +} & {} /** Helper Types for "Merge" **/ -export type IntersectOf = (U extends unknown ? (k: U) => void : never) extends ( - k: infer I -) => void - ? I - : never; +export type IntersectOf = ( + U extends unknown ? (k: U) => void : never +) extends (k: infer I) => void + ? I + : never export type Overwrite = { - [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; + [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; } & {}; -type _Merge = IntersectOf< - Overwrite< - U, - { - [K in keyof U]-?: At; - } - > ->; +type _Merge = IntersectOf; +}>>; type Key = string | number | symbol; type AtStrict = O[K & keyof O]; type AtLoose = O extends unknown ? AtStrict : never; export type At = { - 1: AtStrict; - 0: AtLoose; + 1: AtStrict; + 0: AtLoose; }[strict]; -export type ComputeRaw = A extends Function - ? A - : { - [K in keyof A]: A[K]; - } & {}; +export type ComputeRaw = A extends Function ? A : { + [K in keyof A]: A[K]; +} & {}; export type OptionalFlat = { - [K in keyof O]?: O[K]; + [K in keyof O]?: O[K]; } & {}; type _Record = { - [P in K]: T; + [P in K]: T; }; // cause typescript not to expand types and preserve names @@ -280,1574 +287,1652 @@ type NoExpand = T extends unknown ? T : never; // this type assumes the passed object is entirely optional export type AtLeast = NoExpand< - O extends unknown - ? - | (K extends keyof O ? { [P in K]: O[P] } & O : O) - | ({ [P in keyof O as P extends K ? P : never]-?: O[P] } & O) - : never ->; + O extends unknown + ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) + | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O + : never>; -type _Strict = U extends unknown - ? U & OptionalFlat<_Record, keyof U>, never>> - : never; +type _Strict = U extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never; export type Strict = ComputeRaw<_Strict>; /** End Helper Types for "Merge" **/ export type Merge = ComputeRaw<_Merge>>; -export type Boolean = True | False; +export type Boolean = True | False -export type True = 1; +export type True = 1 -export type False = 0; +export type False = 0 export type Not = { - 0: 1; - 1: 0; -}[B]; + 0: 1 + 1: 0 +}[B] export type Extends = [A1] extends [never] - ? 0 // anything `never` is false - : A1 extends A2 - ? 1 - : 0; + ? 0 // anything `never` is false + : A1 extends A2 + ? 1 + : 0 -export type Has = Not, U1>>; +export type Has = Not< + Extends, U1> +> export type Or = { - 0: { - 0: 0; - 1: 1; - }; - 1: { - 0: 1; - 1: 1; - }; -}[B1][B2]; + 0: { + 0: 0 + 1: 1 + } + 1: { + 0: 1 + 1: 1 + } +}[B1][B2] -export type Keys = U extends unknown ? keyof U : never; +export type Keys = U extends unknown ? keyof U : never -export type GetScalarType = O extends object - ? { - [P in keyof T]: P extends keyof O ? O[P] : never; - } - : never; +export type GetScalarType = O extends object ? { + [P in keyof T]: P extends keyof O + ? O[P] + : never +} : never -type FieldPaths> = - IsObject extends True ? U : T; +type FieldPaths< + T, + U = Omit +> = IsObject extends True ? U : T export type GetHavingFields = { - [K in keyof T]: Or, Extends<'AND', K>>, Extends<'NOT', K>> extends True - ? // infer is only needed to not hit TS limit - // based on the brilliant idea of Pierre-Antoine Mills - // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 - T[K] extends infer TK - ? GetHavingFields extends object ? Merge> : never> - : never - : {} extends FieldPaths - ? never - : K; -}[keyof T]; + [K in keyof T]: Or< + Or, Extends<'AND', K>>, + Extends<'NOT', K> + > extends True + ? // infer is only needed to not hit TS limit + // based on the brilliant idea of Pierre-Antoine Mills + // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 + T[K] extends infer TK + ? GetHavingFields extends object ? Merge> : never> + : never + : {} extends FieldPaths + ? never + : K +}[keyof T] /** * Convert tuple to union */ -type _TupleToUnion = T extends (infer E)[] ? E : never; -type TupleToUnion = _TupleToUnion; -export type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T; +type _TupleToUnion = T extends (infer E)[] ? E : never +type TupleToUnion = _TupleToUnion +export type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T /** * Like `Pick`, but additionally can also accept an array of keys */ -export type PickEnumerable | keyof T> = Prisma__Pick< - T, - MaybeTupleToUnion ->; +export type PickEnumerable | keyof T> = Prisma__Pick> /** * Exclude all keys with underscores */ -export type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T; +export type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T -export type FieldRef = runtime.FieldRef; -type FieldRefInputType = Model extends never ? never : FieldRef; +export type FieldRef = runtime.FieldRef + +type FieldRefInputType = Model extends never ? never : FieldRef + export const ModelName = { - User: 'User', - Profile: 'Profile', - Address: 'Address', - Session: 'Session', - Account: 'Account', - UserRole: 'UserRole', - Verification: 'Verification', - Proclamation: 'Proclamation', - UserProclamations: 'UserProclamations', - SolfeggioFrequency: 'SolfeggioFrequency', - ProclamationCategory: 'ProclamationCategory', - LicenseKey: 'LicenseKey', - SubscriptionLevel: 'SubscriptionLevel' -} as const; + User: 'User', + Profile: 'Profile', + Address: 'Address', + Session: 'Session', + Account: 'Account', + UserRole: 'UserRole', + Verification: 'Verification', + Proclamation: 'Proclamation', + UserProclamations: 'UserProclamations', + SolfeggioFrequency: 'SolfeggioFrequency', + ProclamationCategory: 'ProclamationCategory', + ProclamationCategorySubscriptionLevel: 'ProclamationCategorySubscriptionLevel', + LicenseKey: 'LicenseKey', + SubscriptionLevel: 'SubscriptionLevel' +} as const -export type ModelName = (typeof ModelName)[keyof typeof ModelName]; +export type ModelName = (typeof ModelName)[keyof typeof ModelName] -export interface TypeMapCb extends runtime.Types.Utils.Fn< - { extArgs: runtime.Types.Extensions.InternalArgs }, - runtime.Types.Utils.Record -> { - returns: TypeMap; + + +export interface TypeMapCb extends runtime.Types.Utils.Fn<{extArgs: runtime.Types.Extensions.InternalArgs }, runtime.Types.Utils.Record> { + returns: TypeMap } -export type TypeMap< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> = { - globalOmitOptions: { - omit: GlobalOmitOptions; - }; - meta: { - modelProps: - | 'user' - | 'profile' - | 'address' - | 'session' - | 'account' - | 'userRole' - | 'verification' - | 'proclamation' - | 'userProclamations' - | 'solfeggioFrequency' - | 'proclamationCategory' - | 'licenseKey' - | 'subscriptionLevel'; - txIsolationLevel: TransactionIsolationLevel; - }; - model: { - User: { - payload: Prisma.$UserPayload; - fields: Prisma.UserFieldRefs; - operations: { - findUnique: { - args: Prisma.UserFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.UserFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.UserFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.UserFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.UserFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.UserCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.UserCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.UserCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.UserDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.UserUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.UserDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.UserUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.UserUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.UserUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.UserAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.UserGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.UserCountArgs; - result: runtime.Types.Utils.Optional | number; - }; - }; - }; - Profile: { - payload: Prisma.$ProfilePayload; - fields: Prisma.ProfileFieldRefs; - operations: { - findUnique: { - args: Prisma.ProfileFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.ProfileFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.ProfileFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.ProfileFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.ProfileFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.ProfileCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.ProfileCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.ProfileCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.ProfileDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.ProfileUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.ProfileDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.ProfileUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.ProfileUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.ProfileUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.ProfileAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.ProfileGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.ProfileCountArgs; - result: runtime.Types.Utils.Optional | number; - }; - }; - }; - Address: { - payload: Prisma.$AddressPayload; - fields: Prisma.AddressFieldRefs; - operations: { - findUnique: { - args: Prisma.AddressFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.AddressFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.AddressFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.AddressFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.AddressFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.AddressCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.AddressCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.AddressCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.AddressDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.AddressUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.AddressDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.AddressUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.AddressUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.AddressUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.AddressAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.AddressGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.AddressCountArgs; - result: runtime.Types.Utils.Optional | number; - }; - }; - }; - Session: { - payload: Prisma.$SessionPayload; - fields: Prisma.SessionFieldRefs; - operations: { - findUnique: { - args: Prisma.SessionFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.SessionFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.SessionFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.SessionFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.SessionFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.SessionCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.SessionCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.SessionCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.SessionDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.SessionUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.SessionDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.SessionUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.SessionUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.SessionUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.SessionAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.SessionGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.SessionCountArgs; - result: runtime.Types.Utils.Optional | number; - }; - }; - }; - Account: { - payload: Prisma.$AccountPayload; - fields: Prisma.AccountFieldRefs; - operations: { - findUnique: { - args: Prisma.AccountFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.AccountFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.AccountFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.AccountFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.AccountFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.AccountCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.AccountCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.AccountCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.AccountDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.AccountUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.AccountDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.AccountUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.AccountUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.AccountUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.AccountAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.AccountGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.AccountCountArgs; - result: runtime.Types.Utils.Optional | number; - }; - }; - }; - UserRole: { - payload: Prisma.$UserRolePayload; - fields: Prisma.UserRoleFieldRefs; - operations: { - findUnique: { - args: Prisma.UserRoleFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.UserRoleFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.UserRoleFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.UserRoleFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.UserRoleFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.UserRoleCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.UserRoleCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.UserRoleCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.UserRoleDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.UserRoleUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.UserRoleDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.UserRoleUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.UserRoleUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.UserRoleUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.UserRoleAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.UserRoleGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.UserRoleCountArgs; - result: runtime.Types.Utils.Optional | number; - }; - }; - }; - Verification: { - payload: Prisma.$VerificationPayload; - fields: Prisma.VerificationFieldRefs; - operations: { - findUnique: { - args: Prisma.VerificationFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.VerificationFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.VerificationFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.VerificationFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.VerificationFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.VerificationCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.VerificationCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.VerificationCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.VerificationDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.VerificationUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.VerificationDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.VerificationUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.VerificationUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.VerificationUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.VerificationAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.VerificationGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.VerificationCountArgs; - result: - | runtime.Types.Utils.Optional - | number; - }; - }; - }; - Proclamation: { - payload: Prisma.$ProclamationPayload; - fields: Prisma.ProclamationFieldRefs; - operations: { - findUnique: { - args: Prisma.ProclamationFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.ProclamationFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.ProclamationFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.ProclamationFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.ProclamationFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.ProclamationCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.ProclamationCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.ProclamationCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.ProclamationDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.ProclamationUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.ProclamationDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.ProclamationUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.ProclamationUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.ProclamationUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.ProclamationAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.ProclamationGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.ProclamationCountArgs; - result: - | runtime.Types.Utils.Optional - | number; - }; - }; - }; - UserProclamations: { - payload: Prisma.$UserProclamationsPayload; - fields: Prisma.UserProclamationsFieldRefs; - operations: { - findUnique: { - args: Prisma.UserProclamationsFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.UserProclamationsFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.UserProclamationsFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.UserProclamationsFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.UserProclamationsFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.UserProclamationsCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.UserProclamationsCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.UserProclamationsCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.UserProclamationsDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.UserProclamationsUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.UserProclamationsDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.UserProclamationsUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.UserProclamationsUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.UserProclamationsUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.UserProclamationsAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.UserProclamationsGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.UserProclamationsCountArgs; - result: - | runtime.Types.Utils.Optional - | number; - }; - }; - }; - SolfeggioFrequency: { - payload: Prisma.$SolfeggioFrequencyPayload; - fields: Prisma.SolfeggioFrequencyFieldRefs; - operations: { - findUnique: { - args: Prisma.SolfeggioFrequencyFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.SolfeggioFrequencyFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.SolfeggioFrequencyFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.SolfeggioFrequencyFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.SolfeggioFrequencyFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.SolfeggioFrequencyCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.SolfeggioFrequencyCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.SolfeggioFrequencyCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.SolfeggioFrequencyDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.SolfeggioFrequencyUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.SolfeggioFrequencyDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.SolfeggioFrequencyUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.SolfeggioFrequencyUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.SolfeggioFrequencyUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.SolfeggioFrequencyAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.SolfeggioFrequencyGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.SolfeggioFrequencyCountArgs; - result: - | runtime.Types.Utils.Optional - | number; - }; - }; - }; - ProclamationCategory: { - payload: Prisma.$ProclamationCategoryPayload; - fields: Prisma.ProclamationCategoryFieldRefs; - operations: { - findUnique: { - args: Prisma.ProclamationCategoryFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.ProclamationCategoryFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.ProclamationCategoryFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.ProclamationCategoryFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.ProclamationCategoryFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.ProclamationCategoryCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.ProclamationCategoryCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.ProclamationCategoryCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.ProclamationCategoryDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.ProclamationCategoryUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.ProclamationCategoryDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.ProclamationCategoryUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.ProclamationCategoryUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.ProclamationCategoryUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.ProclamationCategoryAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.ProclamationCategoryGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.ProclamationCategoryCountArgs; - result: - | runtime.Types.Utils.Optional - | number; - }; - }; - }; - LicenseKey: { - payload: Prisma.$LicenseKeyPayload; - fields: Prisma.LicenseKeyFieldRefs; - operations: { - findUnique: { - args: Prisma.LicenseKeyFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.LicenseKeyFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.LicenseKeyFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.LicenseKeyFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.LicenseKeyFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.LicenseKeyCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.LicenseKeyCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.LicenseKeyCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.LicenseKeyDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.LicenseKeyUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.LicenseKeyDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.LicenseKeyUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.LicenseKeyUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.LicenseKeyUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.LicenseKeyAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.LicenseKeyGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.LicenseKeyCountArgs; - result: runtime.Types.Utils.Optional | number; - }; - }; - }; - SubscriptionLevel: { - payload: Prisma.$SubscriptionLevelPayload; - fields: Prisma.SubscriptionLevelFieldRefs; - operations: { - findUnique: { - args: Prisma.SubscriptionLevelFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.SubscriptionLevelFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.SubscriptionLevelFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.SubscriptionLevelFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.SubscriptionLevelFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.SubscriptionLevelCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.SubscriptionLevelCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.SubscriptionLevelCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.SubscriptionLevelDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.SubscriptionLevelUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.SubscriptionLevelDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.SubscriptionLevelUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.SubscriptionLevelUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.SubscriptionLevelUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.SubscriptionLevelAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.SubscriptionLevelGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.SubscriptionLevelCountArgs; - result: - | runtime.Types.Utils.Optional - | number; - }; - }; - }; - }; +export type TypeMap = { + globalOmitOptions: { + omit: GlobalOmitOptions + } + meta: { + modelProps: "user" | "profile" | "address" | "session" | "account" | "userRole" | "verification" | "proclamation" | "userProclamations" | "solfeggioFrequency" | "proclamationCategory" | "proclamationCategorySubscriptionLevel" | "licenseKey" | "subscriptionLevel" + txIsolationLevel: TransactionIsolationLevel + } + model: { + User: { + payload: Prisma.$UserPayload + fields: Prisma.UserFieldRefs + operations: { + findUnique: { + args: Prisma.UserFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.UserFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.UserFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.UserFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.UserFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.UserCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.UserCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.UserCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.UserDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.UserUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.UserDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.UserUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.UserUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.UserUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.UserAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.UserGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.UserCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + Profile: { + payload: Prisma.$ProfilePayload + fields: Prisma.ProfileFieldRefs + operations: { + findUnique: { + args: Prisma.ProfileFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.ProfileFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.ProfileFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.ProfileFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.ProfileFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.ProfileCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.ProfileCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.ProfileCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.ProfileDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.ProfileUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.ProfileDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.ProfileUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.ProfileUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.ProfileUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.ProfileAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.ProfileGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.ProfileCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + Address: { + payload: Prisma.$AddressPayload + fields: Prisma.AddressFieldRefs + operations: { + findUnique: { + args: Prisma.AddressFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.AddressFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.AddressFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.AddressFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.AddressFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.AddressCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.AddressCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.AddressCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.AddressDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.AddressUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.AddressDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.AddressUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.AddressUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.AddressUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.AddressAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.AddressGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.AddressCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + Session: { + payload: Prisma.$SessionPayload + fields: Prisma.SessionFieldRefs + operations: { + findUnique: { + args: Prisma.SessionFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.SessionFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.SessionFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.SessionFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.SessionFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.SessionCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.SessionCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.SessionCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.SessionDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.SessionUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.SessionDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.SessionUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.SessionUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.SessionUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.SessionAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.SessionGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.SessionCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + Account: { + payload: Prisma.$AccountPayload + fields: Prisma.AccountFieldRefs + operations: { + findUnique: { + args: Prisma.AccountFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.AccountFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.AccountFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.AccountFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.AccountFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.AccountCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.AccountCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.AccountCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.AccountDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.AccountUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.AccountDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.AccountUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.AccountUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.AccountUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.AccountAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.AccountGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.AccountCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + UserRole: { + payload: Prisma.$UserRolePayload + fields: Prisma.UserRoleFieldRefs + operations: { + findUnique: { + args: Prisma.UserRoleFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.UserRoleFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.UserRoleFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.UserRoleFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.UserRoleFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.UserRoleCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.UserRoleCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.UserRoleCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.UserRoleDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.UserRoleUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.UserRoleDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.UserRoleUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.UserRoleUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.UserRoleUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.UserRoleAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.UserRoleGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.UserRoleCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + Verification: { + payload: Prisma.$VerificationPayload + fields: Prisma.VerificationFieldRefs + operations: { + findUnique: { + args: Prisma.VerificationFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.VerificationFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.VerificationFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.VerificationFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.VerificationFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.VerificationCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.VerificationCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.VerificationCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.VerificationDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.VerificationUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.VerificationDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.VerificationUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.VerificationUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.VerificationUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.VerificationAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.VerificationGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.VerificationCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + Proclamation: { + payload: Prisma.$ProclamationPayload + fields: Prisma.ProclamationFieldRefs + operations: { + findUnique: { + args: Prisma.ProclamationFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.ProclamationFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.ProclamationFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.ProclamationFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.ProclamationFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.ProclamationCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.ProclamationCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.ProclamationCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.ProclamationDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.ProclamationUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.ProclamationDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.ProclamationUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.ProclamationUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.ProclamationUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.ProclamationAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.ProclamationGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.ProclamationCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + UserProclamations: { + payload: Prisma.$UserProclamationsPayload + fields: Prisma.UserProclamationsFieldRefs + operations: { + findUnique: { + args: Prisma.UserProclamationsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.UserProclamationsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.UserProclamationsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.UserProclamationsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.UserProclamationsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.UserProclamationsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.UserProclamationsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.UserProclamationsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.UserProclamationsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.UserProclamationsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.UserProclamationsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.UserProclamationsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.UserProclamationsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.UserProclamationsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.UserProclamationsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.UserProclamationsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.UserProclamationsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + SolfeggioFrequency: { + payload: Prisma.$SolfeggioFrequencyPayload + fields: Prisma.SolfeggioFrequencyFieldRefs + operations: { + findUnique: { + args: Prisma.SolfeggioFrequencyFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.SolfeggioFrequencyFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.SolfeggioFrequencyFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.SolfeggioFrequencyFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.SolfeggioFrequencyFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.SolfeggioFrequencyCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.SolfeggioFrequencyCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.SolfeggioFrequencyCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.SolfeggioFrequencyDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.SolfeggioFrequencyUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.SolfeggioFrequencyDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.SolfeggioFrequencyUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.SolfeggioFrequencyUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.SolfeggioFrequencyUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.SolfeggioFrequencyAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.SolfeggioFrequencyGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.SolfeggioFrequencyCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + ProclamationCategory: { + payload: Prisma.$ProclamationCategoryPayload + fields: Prisma.ProclamationCategoryFieldRefs + operations: { + findUnique: { + args: Prisma.ProclamationCategoryFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.ProclamationCategoryFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.ProclamationCategoryFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.ProclamationCategoryFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.ProclamationCategoryFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.ProclamationCategoryCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.ProclamationCategoryCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.ProclamationCategoryCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.ProclamationCategoryDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.ProclamationCategoryUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.ProclamationCategoryDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.ProclamationCategoryUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.ProclamationCategoryUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.ProclamationCategoryUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.ProclamationCategoryAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.ProclamationCategoryGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.ProclamationCategoryCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + ProclamationCategorySubscriptionLevel: { + payload: Prisma.$ProclamationCategorySubscriptionLevelPayload + fields: Prisma.ProclamationCategorySubscriptionLevelFieldRefs + operations: { + findUnique: { + args: Prisma.ProclamationCategorySubscriptionLevelFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.ProclamationCategorySubscriptionLevelFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.ProclamationCategorySubscriptionLevelFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.ProclamationCategorySubscriptionLevelFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.ProclamationCategorySubscriptionLevelFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.ProclamationCategorySubscriptionLevelCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.ProclamationCategorySubscriptionLevelCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.ProclamationCategorySubscriptionLevelCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.ProclamationCategorySubscriptionLevelDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.ProclamationCategorySubscriptionLevelUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.ProclamationCategorySubscriptionLevelDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.ProclamationCategorySubscriptionLevelUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.ProclamationCategorySubscriptionLevelUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.ProclamationCategorySubscriptionLevelUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.ProclamationCategorySubscriptionLevelAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.ProclamationCategorySubscriptionLevelGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.ProclamationCategorySubscriptionLevelCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + LicenseKey: { + payload: Prisma.$LicenseKeyPayload + fields: Prisma.LicenseKeyFieldRefs + operations: { + findUnique: { + args: Prisma.LicenseKeyFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.LicenseKeyFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.LicenseKeyFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.LicenseKeyFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.LicenseKeyFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.LicenseKeyCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.LicenseKeyCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.LicenseKeyCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.LicenseKeyDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.LicenseKeyUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.LicenseKeyDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.LicenseKeyUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.LicenseKeyUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.LicenseKeyUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.LicenseKeyAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.LicenseKeyGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.LicenseKeyCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + SubscriptionLevel: { + payload: Prisma.$SubscriptionLevelPayload + fields: Prisma.SubscriptionLevelFieldRefs + operations: { + findUnique: { + args: Prisma.SubscriptionLevelFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.SubscriptionLevelFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.SubscriptionLevelFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.SubscriptionLevelFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.SubscriptionLevelFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.SubscriptionLevelCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.SubscriptionLevelCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.SubscriptionLevelCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.SubscriptionLevelDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.SubscriptionLevelUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.SubscriptionLevelDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.SubscriptionLevelUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.SubscriptionLevelUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.SubscriptionLevelUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.SubscriptionLevelAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.SubscriptionLevelGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.SubscriptionLevelCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + } } & { - other: { - payload: any; - operations: { - $executeRaw: { - args: [query: TemplateStringsArray | Sql, ...values: any[]]; - result: any; - }; - $executeRawUnsafe: { - args: [query: string, ...values: any[]]; - result: any; - }; - $queryRaw: { - args: [query: TemplateStringsArray | Sql, ...values: any[]]; - result: any; - }; - $queryRawUnsafe: { - args: [query: string, ...values: any[]]; - result: any; - }; - }; - }; -}; + other: { + payload: any + operations: { + $executeRaw: { + args: [query: TemplateStringsArray | Sql, ...values: any[]], + result: any + } + $executeRawUnsafe: { + args: [query: string, ...values: any[]], + result: any + } + $queryRaw: { + args: [query: TemplateStringsArray | Sql, ...values: any[]], + result: any + } + $queryRawUnsafe: { + args: [query: string, ...values: any[]], + result: any + } + } + } +} /** * Enums */ export const TransactionIsolationLevel = runtime.makeStrictEnum({ - ReadUncommitted: 'ReadUncommitted', - ReadCommitted: 'ReadCommitted', - RepeatableRead: 'RepeatableRead', - Serializable: 'Serializable' -} as const); + ReadUncommitted: 'ReadUncommitted', + ReadCommitted: 'ReadCommitted', + RepeatableRead: 'RepeatableRead', + Serializable: 'Serializable' +} as const) + +export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] -export type TransactionIsolationLevel = - (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]; export const UserScalarFieldEnum = { - id: 'id', - name: 'name', - email: 'email', - emailVerified: 'emailVerified', - image: 'image', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - roleId: 'roleId' -} as const; + id: 'id', + name: 'name', + email: 'email', + emailVerified: 'emailVerified', + image: 'image', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + roleId: 'roleId' +} as const + +export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] -export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]; export const ProfileScalarFieldEnum = { - id: 'id', - userId: 'userId', - firstName: 'firstName', - lastName: 'lastName', - phoneNumber: 'phoneNumber', - ghlContactId: 'ghlContactId' -} as const; + id: 'id', + userId: 'userId', + firstName: 'firstName', + lastName: 'lastName', + phoneNumber: 'phoneNumber', + ghlContactId: 'ghlContactId' +} as const + +export type ProfileScalarFieldEnum = (typeof ProfileScalarFieldEnum)[keyof typeof ProfileScalarFieldEnum] -export type ProfileScalarFieldEnum = - (typeof ProfileScalarFieldEnum)[keyof typeof ProfileScalarFieldEnum]; export const AddressScalarFieldEnum = { - id: 'id', - profileId: 'profileId', - street: 'street', - city: 'city', - state: 'state', - postalCode: 'postalCode', - country: 'country', - type: 'type', - isDefaultMailing: 'isDefaultMailing', - isDefaultBilling: 'isDefaultBilling', - isDefaultShipping: 'isDefaultShipping' -} as const; + id: 'id', + profileId: 'profileId', + street: 'street', + city: 'city', + state: 'state', + postalCode: 'postalCode', + country: 'country', + type: 'type', + isDefaultMailing: 'isDefaultMailing', + isDefaultBilling: 'isDefaultBilling', + isDefaultShipping: 'isDefaultShipping' +} as const + +export type AddressScalarFieldEnum = (typeof AddressScalarFieldEnum)[keyof typeof AddressScalarFieldEnum] -export type AddressScalarFieldEnum = - (typeof AddressScalarFieldEnum)[keyof typeof AddressScalarFieldEnum]; export const SessionScalarFieldEnum = { - id: 'id', - expiresAt: 'expiresAt', - token: 'token', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - ipAddress: 'ipAddress', - userAgent: 'userAgent', - userId: 'userId' -} as const; + id: 'id', + expiresAt: 'expiresAt', + token: 'token', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + ipAddress: 'ipAddress', + userAgent: 'userAgent', + userId: 'userId' +} as const + +export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum] -export type SessionScalarFieldEnum = - (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum]; export const AccountScalarFieldEnum = { - id: 'id', - accountId: 'accountId', - providerId: 'providerId', - userId: 'userId', - accessToken: 'accessToken', - refreshToken: 'refreshToken', - idToken: 'idToken', - accessTokenExpiresAt: 'accessTokenExpiresAt', - refreshTokenExpiresAt: 'refreshTokenExpiresAt', - scope: 'scope', - password: 'password', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const; + id: 'id', + accountId: 'accountId', + providerId: 'providerId', + userId: 'userId', + accessToken: 'accessToken', + refreshToken: 'refreshToken', + idToken: 'idToken', + accessTokenExpiresAt: 'accessTokenExpiresAt', + refreshTokenExpiresAt: 'refreshTokenExpiresAt', + scope: 'scope', + password: 'password', + createdAt: 'createdAt', + updatedAt: 'updatedAt' +} as const + +export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum] -export type AccountScalarFieldEnum = - (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]; export const UserRoleScalarFieldEnum = { - id: 'id', - name: 'name' -} as const; + id: 'id', + name: 'name' +} as const + +export type UserRoleScalarFieldEnum = (typeof UserRoleScalarFieldEnum)[keyof typeof UserRoleScalarFieldEnum] -export type UserRoleScalarFieldEnum = - (typeof UserRoleScalarFieldEnum)[keyof typeof UserRoleScalarFieldEnum]; export const VerificationScalarFieldEnum = { - id: 'id', - identifier: 'identifier', - value: 'value', - expiresAt: 'expiresAt', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const; + id: 'id', + identifier: 'identifier', + value: 'value', + expiresAt: 'expiresAt', + createdAt: 'createdAt', + updatedAt: 'updatedAt' +} as const + +export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum] -export type VerificationScalarFieldEnum = - (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum]; export const ProclamationScalarFieldEnum = { - id: 'id', - name: 'name', - content: 'content', - solfeggioFrequencyId: 'solfeggioFrequencyId', - categoryId: 'categoryId', - subscriptionLevelId: 'subscriptionLevelId' -} as const; + id: 'id', + name: 'name', + content: 'content', + solfeggioFrequencyId: 'solfeggioFrequencyId', + categoryId: 'categoryId', + subscriptionLevelId: 'subscriptionLevelId' +} as const + +export type ProclamationScalarFieldEnum = (typeof ProclamationScalarFieldEnum)[keyof typeof ProclamationScalarFieldEnum] -export type ProclamationScalarFieldEnum = - (typeof ProclamationScalarFieldEnum)[keyof typeof ProclamationScalarFieldEnum]; export const UserProclamationsScalarFieldEnum = { - userId: 'userId', - proclamationId: 'proclamationId', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const; + userId: 'userId', + proclamationId: 'proclamationId', + createdAt: 'createdAt', + updatedAt: 'updatedAt' +} as const + +export type UserProclamationsScalarFieldEnum = (typeof UserProclamationsScalarFieldEnum)[keyof typeof UserProclamationsScalarFieldEnum] -export type UserProclamationsScalarFieldEnum = - (typeof UserProclamationsScalarFieldEnum)[keyof typeof UserProclamationsScalarFieldEnum]; export const SolfeggioFrequencyScalarFieldEnum = { - id: 'id', - name: 'name', - value: 'value' -} as const; + id: 'id', + name: 'name', + value: 'value' +} as const + +export type SolfeggioFrequencyScalarFieldEnum = (typeof SolfeggioFrequencyScalarFieldEnum)[keyof typeof SolfeggioFrequencyScalarFieldEnum] -export type SolfeggioFrequencyScalarFieldEnum = - (typeof SolfeggioFrequencyScalarFieldEnum)[keyof typeof SolfeggioFrequencyScalarFieldEnum]; export const ProclamationCategoryScalarFieldEnum = { - id: 'id', - name: 'name', - parentId: 'parentId' -} as const; + id: 'id', + name: 'name', + sortOrder: 'sortOrder', + parentId: 'parentId' +} as const + +export type ProclamationCategoryScalarFieldEnum = (typeof ProclamationCategoryScalarFieldEnum)[keyof typeof ProclamationCategoryScalarFieldEnum] + + +export const ProclamationCategorySubscriptionLevelScalarFieldEnum = { + categoryId: 'categoryId', + subscriptionLevelId: 'subscriptionLevelId' +} as const + +export type ProclamationCategorySubscriptionLevelScalarFieldEnum = (typeof ProclamationCategorySubscriptionLevelScalarFieldEnum)[keyof typeof ProclamationCategorySubscriptionLevelScalarFieldEnum] -export type ProclamationCategoryScalarFieldEnum = - (typeof ProclamationCategoryScalarFieldEnum)[keyof typeof ProclamationCategoryScalarFieldEnum]; export const LicenseKeyScalarFieldEnum = { - id: 'id', - key: 'key', - active: 'active', - level: 'level', - userId: 'userId' -} as const; + id: 'id', + key: 'key', + active: 'active', + level: 'level', + userId: 'userId' +} as const + +export type LicenseKeyScalarFieldEnum = (typeof LicenseKeyScalarFieldEnum)[keyof typeof LicenseKeyScalarFieldEnum] -export type LicenseKeyScalarFieldEnum = - (typeof LicenseKeyScalarFieldEnum)[keyof typeof LicenseKeyScalarFieldEnum]; export const SubscriptionLevelScalarFieldEnum = { - id: 'id', - name: 'name', - description: 'description' -} as const; + id: 'id', + name: 'name', + description: 'description' +} as const + +export type SubscriptionLevelScalarFieldEnum = (typeof SubscriptionLevelScalarFieldEnum)[keyof typeof SubscriptionLevelScalarFieldEnum] -export type SubscriptionLevelScalarFieldEnum = - (typeof SubscriptionLevelScalarFieldEnum)[keyof typeof SubscriptionLevelScalarFieldEnum]; export const SortOrder = { - asc: 'asc', - desc: 'desc' -} as const; + asc: 'asc', + desc: 'desc' +} as const + +export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] -export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]; export const QueryMode = { - default: 'default', - insensitive: 'insensitive' -} as const; + default: 'default', + insensitive: 'insensitive' +} as const + +export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] -export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]; export const NullsOrder = { - first: 'first', - last: 'last' -} as const; + first: 'first', + last: 'last' +} as const + +export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] + -export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]; /** * Field references */ + /** * Reference to a field of type 'String' */ -export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>; +export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> + + /** * Reference to a field of type 'String[]' */ -export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'>; +export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> + + /** * Reference to a field of type 'Boolean' */ -export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'>; +export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> + + /** * Reference to a field of type 'DateTime' */ -export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>; +export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> + + /** * Reference to a field of type 'DateTime[]' */ -export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'>; +export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> + + /** * Reference to a field of type 'Int' */ -export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>; +export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> + + /** * Reference to a field of type 'Int[]' */ -export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>; +export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'> + + /** * Reference to a field of type 'Float' */ -export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>; +export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> + + /** * Reference to a field of type 'Float[]' */ -export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>; +export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> + /** * Batch Payload for updateMany & deleteMany & createMany */ export type BatchPayload = { - count: number; -}; + count: number +} -export const defineExtension = runtime.Extensions - .defineExtension as unknown as runtime.Types.Extensions.ExtendsHook< - 'define', - TypeMapCb, - runtime.Types.Extensions.DefaultArgs ->; -export type DefaultPrismaClient = PrismaClient; -export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'; -export type PrismaClientOptions = ( - | { - /** - * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`. - */ - adapter: runtime.SqlDriverAdapterFactory; - accelerateUrl?: never; - } - | { - /** - * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database. - */ - accelerateUrl: string; - adapter?: never; - } -) & { - /** - * @default "colorless" - */ - errorFormat?: ErrorFormat; - /** - * @example - * ``` - * // Shorthand for `emit: 'stdout'` - * log: ['query', 'info', 'warn', 'error'] - * - * // Emit as events only - * log: [ - * { emit: 'event', level: 'query' }, - * { emit: 'event', level: 'info' }, - * { emit: 'event', level: 'warn' } - * { emit: 'event', level: 'error' } - * ] - * - * / Emit as events and log to stdout - * og: [ - * { emit: 'stdout', level: 'query' }, - * { emit: 'stdout', level: 'info' }, - * { emit: 'stdout', level: 'warn' } - * { emit: 'stdout', level: 'error' } - * - * ``` - * Read more in our [docs](https://pris.ly/d/logging). - */ - log?: (LogLevel | LogDefinition)[]; - /** - * The default values for transactionOptions - * maxWait ?= 2000 - * timeout ?= 5000 - */ - transactionOptions?: { - maxWait?: number; - timeout?: number; - isolationLevel?: TransactionIsolationLevel; - }; - /** - * Global configuration for omitting model fields by default. - * - * @example - * ``` - * const prisma = new PrismaClient({ - * omit: { - * user: { - * password: true - * } - * } - * }) - * ``` - */ - omit?: GlobalOmitConfig; - /** - * SQL commenter plugins that add metadata to SQL queries as comments. - * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/ - * - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter, - * comments: [ - * traceContext(), - * queryInsights(), - * ], - * }) - * ``` - */ - comments?: runtime.SqlCommenterPlugin[]; - /** - * Optional maximum size for the query plan cache. If not provided, a default size will be used. - * A value of `0` can be used to disable the cache entirely. A higher cache size can improve - * performance for applications that execute a large number of unique queries, while a smaller - * cache size can reduce memory usage. - * - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter, - * queryPlanCacheMaxSize: 100, - * }) - * ``` - */ - queryPlanCacheMaxSize?: number; -}; +export const defineExtension = runtime.Extensions.defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs> +export type DefaultPrismaClient = PrismaClient +export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' +export type PrismaClientOptions = ({ + /** + * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`. + */ + adapter: runtime.SqlDriverAdapterFactory + accelerateUrl?: never +} | { + /** + * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database. + */ + accelerateUrl: string + adapter?: never +}) & { + /** + * @default "colorless" + */ + errorFormat?: ErrorFormat + /** + * @example + * ``` + * // Shorthand for `emit: 'stdout'` + * log: ['query', 'info', 'warn', 'error'] + * + * // Emit as events only + * log: [ + * { emit: 'event', level: 'query' }, + * { emit: 'event', level: 'info' }, + * { emit: 'event', level: 'warn' } + * { emit: 'event', level: 'error' } + * ] + * + * / Emit as events and log to stdout + * og: [ + * { emit: 'stdout', level: 'query' }, + * { emit: 'stdout', level: 'info' }, + * { emit: 'stdout', level: 'warn' } + * { emit: 'stdout', level: 'error' } + * + * ``` + * Read more in our [docs](https://pris.ly/d/logging). + */ + log?: (LogLevel | LogDefinition)[] + /** + * The default values for transactionOptions + * maxWait ?= 2000 + * timeout ?= 5000 + */ + transactionOptions?: { + maxWait?: number + timeout?: number + isolationLevel?: TransactionIsolationLevel + } + /** + * Global configuration for omitting model fields by default. + * + * @example + * ``` + * const prisma = new PrismaClient({ + * omit: { + * user: { + * password: true + * } + * } + * }) + * ``` + */ + omit?: GlobalOmitConfig + /** + * SQL commenter plugins that add metadata to SQL queries as comments. + * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/ + * + * @example + * ``` + * const prisma = new PrismaClient({ + * adapter, + * comments: [ + * traceContext(), + * queryInsights(), + * ], + * }) + * ``` + */ + comments?: runtime.SqlCommenterPlugin[] + /** + * Optional maximum size for the query plan cache. If not provided, a default size will be used. + * A value of `0` can be used to disable the cache entirely. A higher cache size can improve + * performance for applications that execute a large number of unique queries, while a smaller + * cache size can reduce memory usage. + * + * @example + * ``` + * const prisma = new PrismaClient({ + * adapter, + * queryPlanCacheMaxSize: 100, + * }) + * ``` + */ + queryPlanCacheMaxSize?: number +} export type GlobalOmitConfig = { - user?: Prisma.UserOmit; - profile?: Prisma.ProfileOmit; - address?: Prisma.AddressOmit; - session?: Prisma.SessionOmit; - account?: Prisma.AccountOmit; - userRole?: Prisma.UserRoleOmit; - verification?: Prisma.VerificationOmit; - proclamation?: Prisma.ProclamationOmit; - userProclamations?: Prisma.UserProclamationsOmit; - solfeggioFrequency?: Prisma.SolfeggioFrequencyOmit; - proclamationCategory?: Prisma.ProclamationCategoryOmit; - licenseKey?: Prisma.LicenseKeyOmit; - subscriptionLevel?: Prisma.SubscriptionLevelOmit; -}; + user?: Prisma.UserOmit + profile?: Prisma.ProfileOmit + address?: Prisma.AddressOmit + session?: Prisma.SessionOmit + account?: Prisma.AccountOmit + userRole?: Prisma.UserRoleOmit + verification?: Prisma.VerificationOmit + proclamation?: Prisma.ProclamationOmit + userProclamations?: Prisma.UserProclamationsOmit + solfeggioFrequency?: Prisma.SolfeggioFrequencyOmit + proclamationCategory?: Prisma.ProclamationCategoryOmit + proclamationCategorySubscriptionLevel?: Prisma.ProclamationCategorySubscriptionLevelOmit + licenseKey?: Prisma.LicenseKeyOmit + subscriptionLevel?: Prisma.SubscriptionLevelOmit +} /* Types for Logging */ -export type LogLevel = 'info' | 'query' | 'warn' | 'error'; +export type LogLevel = 'info' | 'query' | 'warn' | 'error' export type LogDefinition = { - level: LogLevel; - emit: 'stdout' | 'event'; -}; + level: LogLevel + emit: 'stdout' | 'event' +} export type CheckIsLogLevel = T extends LogLevel ? T : never; -export type GetLogType = CheckIsLogLevel; +export type GetLogType = CheckIsLogLevel< + T extends LogDefinition ? T['level'] : T +>; -export type GetEvents = - T extends Array ? GetLogType : never; +export type GetEvents = T extends Array + ? GetLogType + : never; export type QueryEvent = { - timestamp: Date; - query: string; - params: string; - duration: number; - target: string; -}; + timestamp: Date + query: string + params: string + duration: number + target: string +} export type LogEvent = { - timestamp: Date; - message: string; - target: string; -}; + timestamp: Date + message: string + target: string +} /* End Types for Logging */ + export type PrismaAction = - | 'findUnique' - | 'findUniqueOrThrow' - | 'findMany' - | 'findFirst' - | 'findFirstOrThrow' - | 'create' - | 'createMany' - | 'createManyAndReturn' - | 'update' - | 'updateMany' - | 'updateManyAndReturn' - | 'upsert' - | 'delete' - | 'deleteMany' - | 'executeRaw' - | 'queryRaw' - | 'aggregate' - | 'count' - | 'runCommandRaw' - | 'findRaw' - | 'groupBy'; + | 'findUnique' + | 'findUniqueOrThrow' + | 'findMany' + | 'findFirst' + | 'findFirstOrThrow' + | 'create' + | 'createMany' + | 'createManyAndReturn' + | 'update' + | 'updateMany' + | 'updateManyAndReturn' + | 'upsert' + | 'delete' + | 'deleteMany' + | 'executeRaw' + | 'queryRaw' + | 'aggregate' + | 'count' + | 'runCommandRaw' + | 'findRaw' + | 'groupBy' /** * `PrismaClient` proxy available in interactive transactions. */ -export type TransactionClient = Omit; +export type TransactionClient = Omit + diff --git a/src/lib/generated/prisma/internal/prismaNamespaceBrowser.ts b/src/lib/generated/prisma/internal/prismaNamespaceBrowser.ts index 28cb7d4..8ed4b78 100644 --- a/src/lib/generated/prisma/internal/prismaNamespaceBrowser.ts +++ b/src/lib/generated/prisma/internal/prismaNamespaceBrowser.ts @@ -1,7 +1,8 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * WARNING: This is an internal file that is subject to change! * @@ -14,243 +15,259 @@ * model files in the `model` directory! */ -import * as runtime from '@prisma/client/runtime/index-browser'; +import * as runtime from "@prisma/client/runtime/index-browser" -export type * from '../models.ts'; -export type * from './prismaNamespace.ts'; +export type * from '../models.ts' +export type * from './prismaNamespace.ts' + +export const Decimal = runtime.Decimal -export const Decimal = runtime.Decimal; export const NullTypes = { - DbNull: runtime.NullTypes.DbNull as new (secret: never) => typeof runtime.DbNull, - JsonNull: runtime.NullTypes.JsonNull as new (secret: never) => typeof runtime.JsonNull, - AnyNull: runtime.NullTypes.AnyNull as new (secret: never) => typeof runtime.AnyNull -}; + DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), + JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), + AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull), +} /** * Helper for filtering JSON entries that have `null` on the database (empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ -export const DbNull = runtime.DbNull; +export const DbNull = runtime.DbNull /** * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ -export const JsonNull = runtime.JsonNull; +export const JsonNull = runtime.JsonNull /** * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ -export const AnyNull = runtime.AnyNull; +export const AnyNull = runtime.AnyNull + export const ModelName = { - User: 'User', - Profile: 'Profile', - Address: 'Address', - Session: 'Session', - Account: 'Account', - UserRole: 'UserRole', - Verification: 'Verification', - Proclamation: 'Proclamation', - UserProclamations: 'UserProclamations', - SolfeggioFrequency: 'SolfeggioFrequency', - ProclamationCategory: 'ProclamationCategory', - LicenseKey: 'LicenseKey', - SubscriptionLevel: 'SubscriptionLevel' -} as const; + User: 'User', + Profile: 'Profile', + Address: 'Address', + Session: 'Session', + Account: 'Account', + UserRole: 'UserRole', + Verification: 'Verification', + Proclamation: 'Proclamation', + UserProclamations: 'UserProclamations', + SolfeggioFrequency: 'SolfeggioFrequency', + ProclamationCategory: 'ProclamationCategory', + ProclamationCategorySubscriptionLevel: 'ProclamationCategorySubscriptionLevel', + LicenseKey: 'LicenseKey', + SubscriptionLevel: 'SubscriptionLevel' +} as const -export type ModelName = (typeof ModelName)[keyof typeof ModelName]; +export type ModelName = (typeof ModelName)[keyof typeof ModelName] /* * Enums */ export const TransactionIsolationLevel = runtime.makeStrictEnum({ - ReadUncommitted: 'ReadUncommitted', - ReadCommitted: 'ReadCommitted', - RepeatableRead: 'RepeatableRead', - Serializable: 'Serializable' -} as const); + ReadUncommitted: 'ReadUncommitted', + ReadCommitted: 'ReadCommitted', + RepeatableRead: 'RepeatableRead', + Serializable: 'Serializable' +} as const) + +export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] -export type TransactionIsolationLevel = - (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]; export const UserScalarFieldEnum = { - id: 'id', - name: 'name', - email: 'email', - emailVerified: 'emailVerified', - image: 'image', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - roleId: 'roleId' -} as const; + id: 'id', + name: 'name', + email: 'email', + emailVerified: 'emailVerified', + image: 'image', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + roleId: 'roleId' +} as const + +export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] -export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]; export const ProfileScalarFieldEnum = { - id: 'id', - userId: 'userId', - firstName: 'firstName', - lastName: 'lastName', - phoneNumber: 'phoneNumber', - ghlContactId: 'ghlContactId' -} as const; + id: 'id', + userId: 'userId', + firstName: 'firstName', + lastName: 'lastName', + phoneNumber: 'phoneNumber', + ghlContactId: 'ghlContactId' +} as const + +export type ProfileScalarFieldEnum = (typeof ProfileScalarFieldEnum)[keyof typeof ProfileScalarFieldEnum] -export type ProfileScalarFieldEnum = - (typeof ProfileScalarFieldEnum)[keyof typeof ProfileScalarFieldEnum]; export const AddressScalarFieldEnum = { - id: 'id', - profileId: 'profileId', - street: 'street', - city: 'city', - state: 'state', - postalCode: 'postalCode', - country: 'country', - type: 'type', - isDefaultMailing: 'isDefaultMailing', - isDefaultBilling: 'isDefaultBilling', - isDefaultShipping: 'isDefaultShipping' -} as const; + id: 'id', + profileId: 'profileId', + street: 'street', + city: 'city', + state: 'state', + postalCode: 'postalCode', + country: 'country', + type: 'type', + isDefaultMailing: 'isDefaultMailing', + isDefaultBilling: 'isDefaultBilling', + isDefaultShipping: 'isDefaultShipping' +} as const + +export type AddressScalarFieldEnum = (typeof AddressScalarFieldEnum)[keyof typeof AddressScalarFieldEnum] -export type AddressScalarFieldEnum = - (typeof AddressScalarFieldEnum)[keyof typeof AddressScalarFieldEnum]; export const SessionScalarFieldEnum = { - id: 'id', - expiresAt: 'expiresAt', - token: 'token', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - ipAddress: 'ipAddress', - userAgent: 'userAgent', - userId: 'userId' -} as const; + id: 'id', + expiresAt: 'expiresAt', + token: 'token', + createdAt: 'createdAt', + updatedAt: 'updatedAt', + ipAddress: 'ipAddress', + userAgent: 'userAgent', + userId: 'userId' +} as const + +export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum] -export type SessionScalarFieldEnum = - (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum]; export const AccountScalarFieldEnum = { - id: 'id', - accountId: 'accountId', - providerId: 'providerId', - userId: 'userId', - accessToken: 'accessToken', - refreshToken: 'refreshToken', - idToken: 'idToken', - accessTokenExpiresAt: 'accessTokenExpiresAt', - refreshTokenExpiresAt: 'refreshTokenExpiresAt', - scope: 'scope', - password: 'password', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const; + id: 'id', + accountId: 'accountId', + providerId: 'providerId', + userId: 'userId', + accessToken: 'accessToken', + refreshToken: 'refreshToken', + idToken: 'idToken', + accessTokenExpiresAt: 'accessTokenExpiresAt', + refreshTokenExpiresAt: 'refreshTokenExpiresAt', + scope: 'scope', + password: 'password', + createdAt: 'createdAt', + updatedAt: 'updatedAt' +} as const + +export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum] -export type AccountScalarFieldEnum = - (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]; export const UserRoleScalarFieldEnum = { - id: 'id', - name: 'name' -} as const; + id: 'id', + name: 'name' +} as const + +export type UserRoleScalarFieldEnum = (typeof UserRoleScalarFieldEnum)[keyof typeof UserRoleScalarFieldEnum] -export type UserRoleScalarFieldEnum = - (typeof UserRoleScalarFieldEnum)[keyof typeof UserRoleScalarFieldEnum]; export const VerificationScalarFieldEnum = { - id: 'id', - identifier: 'identifier', - value: 'value', - expiresAt: 'expiresAt', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const; + id: 'id', + identifier: 'identifier', + value: 'value', + expiresAt: 'expiresAt', + createdAt: 'createdAt', + updatedAt: 'updatedAt' +} as const + +export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum] -export type VerificationScalarFieldEnum = - (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum]; export const ProclamationScalarFieldEnum = { - id: 'id', - name: 'name', - content: 'content', - solfeggioFrequencyId: 'solfeggioFrequencyId', - categoryId: 'categoryId', - subscriptionLevelId: 'subscriptionLevelId' -} as const; + id: 'id', + name: 'name', + content: 'content', + solfeggioFrequencyId: 'solfeggioFrequencyId', + categoryId: 'categoryId', + subscriptionLevelId: 'subscriptionLevelId' +} as const + +export type ProclamationScalarFieldEnum = (typeof ProclamationScalarFieldEnum)[keyof typeof ProclamationScalarFieldEnum] -export type ProclamationScalarFieldEnum = - (typeof ProclamationScalarFieldEnum)[keyof typeof ProclamationScalarFieldEnum]; export const UserProclamationsScalarFieldEnum = { - userId: 'userId', - proclamationId: 'proclamationId', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const; + userId: 'userId', + proclamationId: 'proclamationId', + createdAt: 'createdAt', + updatedAt: 'updatedAt' +} as const + +export type UserProclamationsScalarFieldEnum = (typeof UserProclamationsScalarFieldEnum)[keyof typeof UserProclamationsScalarFieldEnum] -export type UserProclamationsScalarFieldEnum = - (typeof UserProclamationsScalarFieldEnum)[keyof typeof UserProclamationsScalarFieldEnum]; export const SolfeggioFrequencyScalarFieldEnum = { - id: 'id', - name: 'name', - value: 'value' -} as const; + id: 'id', + name: 'name', + value: 'value' +} as const + +export type SolfeggioFrequencyScalarFieldEnum = (typeof SolfeggioFrequencyScalarFieldEnum)[keyof typeof SolfeggioFrequencyScalarFieldEnum] -export type SolfeggioFrequencyScalarFieldEnum = - (typeof SolfeggioFrequencyScalarFieldEnum)[keyof typeof SolfeggioFrequencyScalarFieldEnum]; export const ProclamationCategoryScalarFieldEnum = { - id: 'id', - name: 'name', - parentId: 'parentId' -} as const; + id: 'id', + name: 'name', + sortOrder: 'sortOrder', + parentId: 'parentId' +} as const + +export type ProclamationCategoryScalarFieldEnum = (typeof ProclamationCategoryScalarFieldEnum)[keyof typeof ProclamationCategoryScalarFieldEnum] + + +export const ProclamationCategorySubscriptionLevelScalarFieldEnum = { + categoryId: 'categoryId', + subscriptionLevelId: 'subscriptionLevelId' +} as const + +export type ProclamationCategorySubscriptionLevelScalarFieldEnum = (typeof ProclamationCategorySubscriptionLevelScalarFieldEnum)[keyof typeof ProclamationCategorySubscriptionLevelScalarFieldEnum] -export type ProclamationCategoryScalarFieldEnum = - (typeof ProclamationCategoryScalarFieldEnum)[keyof typeof ProclamationCategoryScalarFieldEnum]; export const LicenseKeyScalarFieldEnum = { - id: 'id', - key: 'key', - active: 'active', - level: 'level', - userId: 'userId' -} as const; + id: 'id', + key: 'key', + active: 'active', + level: 'level', + userId: 'userId' +} as const + +export type LicenseKeyScalarFieldEnum = (typeof LicenseKeyScalarFieldEnum)[keyof typeof LicenseKeyScalarFieldEnum] -export type LicenseKeyScalarFieldEnum = - (typeof LicenseKeyScalarFieldEnum)[keyof typeof LicenseKeyScalarFieldEnum]; export const SubscriptionLevelScalarFieldEnum = { - id: 'id', - name: 'name', - description: 'description' -} as const; + id: 'id', + name: 'name', + description: 'description' +} as const + +export type SubscriptionLevelScalarFieldEnum = (typeof SubscriptionLevelScalarFieldEnum)[keyof typeof SubscriptionLevelScalarFieldEnum] -export type SubscriptionLevelScalarFieldEnum = - (typeof SubscriptionLevelScalarFieldEnum)[keyof typeof SubscriptionLevelScalarFieldEnum]; export const SortOrder = { - asc: 'asc', - desc: 'desc' -} as const; + asc: 'asc', + desc: 'desc' +} as const + +export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] -export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]; export const QueryMode = { - default: 'default', - insensitive: 'insensitive' -} as const; + default: 'default', + insensitive: 'insensitive' +} as const + +export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] -export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]; export const NullsOrder = { - first: 'first', - last: 'last' -} as const; + first: 'first', + last: 'last' +} as const + +export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] -export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]; diff --git a/src/lib/generated/prisma/models.ts b/src/lib/generated/prisma/models.ts index 557e539..2885cbf 100644 --- a/src/lib/generated/prisma/models.ts +++ b/src/lib/generated/prisma/models.ts @@ -1,23 +1,25 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This is a barrel export file for all models and their related types. * * 🟢 You can import this file directly. */ -export type * from './models/User.ts'; -export type * from './models/Profile.ts'; -export type * from './models/Address.ts'; -export type * from './models/Session.ts'; -export type * from './models/Account.ts'; -export type * from './models/UserRole.ts'; -export type * from './models/Verification.ts'; -export type * from './models/Proclamation.ts'; -export type * from './models/UserProclamations.ts'; -export type * from './models/SolfeggioFrequency.ts'; -export type * from './models/ProclamationCategory.ts'; -export type * from './models/LicenseKey.ts'; -export type * from './models/SubscriptionLevel.ts'; -export type * from './commonInputTypes.ts'; +export type * from './models/User.ts' +export type * from './models/Profile.ts' +export type * from './models/Address.ts' +export type * from './models/Session.ts' +export type * from './models/Account.ts' +export type * from './models/UserRole.ts' +export type * from './models/Verification.ts' +export type * from './models/Proclamation.ts' +export type * from './models/UserProclamations.ts' +export type * from './models/SolfeggioFrequency.ts' +export type * from './models/ProclamationCategory.ts' +export type * from './models/ProclamationCategorySubscriptionLevel.ts' +export type * from './models/LicenseKey.ts' +export type * from './models/SubscriptionLevel.ts' +export type * from './commonInputTypes.ts' \ No newline at end of file diff --git a/src/lib/generated/prisma/models/Account.ts b/src/lib/generated/prisma/models/Account.ts index 24deee2..5807782 100644 --- a/src/lib/generated/prisma/models/Account.ts +++ b/src/lib/generated/prisma/models/Account.ts @@ -1,1387 +1,1162 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `Account` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model Account - * + * */ -export type AccountModel = runtime.Types.Result.DefaultSelection; +export type AccountModel = runtime.Types.Result.DefaultSelection export type AggregateAccount = { - _count: AccountCountAggregateOutputType | null; - _min: AccountMinAggregateOutputType | null; - _max: AccountMaxAggregateOutputType | null; -}; + _count: AccountCountAggregateOutputType | null + _min: AccountMinAggregateOutputType | null + _max: AccountMaxAggregateOutputType | null +} export type AccountMinAggregateOutputType = { - id: string | null; - accountId: string | null; - providerId: string | null; - userId: string | null; - accessToken: string | null; - refreshToken: string | null; - idToken: string | null; - accessTokenExpiresAt: Date | null; - refreshTokenExpiresAt: Date | null; - scope: string | null; - password: string | null; - createdAt: Date | null; - updatedAt: Date | null; -}; + id: string | null + accountId: string | null + providerId: string | null + userId: string | null + accessToken: string | null + refreshToken: string | null + idToken: string | null + accessTokenExpiresAt: Date | null + refreshTokenExpiresAt: Date | null + scope: string | null + password: string | null + createdAt: Date | null + updatedAt: Date | null +} export type AccountMaxAggregateOutputType = { - id: string | null; - accountId: string | null; - providerId: string | null; - userId: string | null; - accessToken: string | null; - refreshToken: string | null; - idToken: string | null; - accessTokenExpiresAt: Date | null; - refreshTokenExpiresAt: Date | null; - scope: string | null; - password: string | null; - createdAt: Date | null; - updatedAt: Date | null; -}; + id: string | null + accountId: string | null + providerId: string | null + userId: string | null + accessToken: string | null + refreshToken: string | null + idToken: string | null + accessTokenExpiresAt: Date | null + refreshTokenExpiresAt: Date | null + scope: string | null + password: string | null + createdAt: Date | null + updatedAt: Date | null +} export type AccountCountAggregateOutputType = { - id: number; - accountId: number; - providerId: number; - userId: number; - accessToken: number; - refreshToken: number; - idToken: number; - accessTokenExpiresAt: number; - refreshTokenExpiresAt: number; - scope: number; - password: number; - createdAt: number; - updatedAt: number; - _all: number; -}; + id: number + accountId: number + providerId: number + userId: number + accessToken: number + refreshToken: number + idToken: number + accessTokenExpiresAt: number + refreshTokenExpiresAt: number + scope: number + password: number + createdAt: number + updatedAt: number + _all: number +} + export type AccountMinAggregateInputType = { - id?: true; - accountId?: true; - providerId?: true; - userId?: true; - accessToken?: true; - refreshToken?: true; - idToken?: true; - accessTokenExpiresAt?: true; - refreshTokenExpiresAt?: true; - scope?: true; - password?: true; - createdAt?: true; - updatedAt?: true; -}; + id?: true + accountId?: true + providerId?: true + userId?: true + accessToken?: true + refreshToken?: true + idToken?: true + accessTokenExpiresAt?: true + refreshTokenExpiresAt?: true + scope?: true + password?: true + createdAt?: true + updatedAt?: true +} export type AccountMaxAggregateInputType = { - id?: true; - accountId?: true; - providerId?: true; - userId?: true; - accessToken?: true; - refreshToken?: true; - idToken?: true; - accessTokenExpiresAt?: true; - refreshTokenExpiresAt?: true; - scope?: true; - password?: true; - createdAt?: true; - updatedAt?: true; -}; + id?: true + accountId?: true + providerId?: true + userId?: true + accessToken?: true + refreshToken?: true + idToken?: true + accessTokenExpiresAt?: true + refreshTokenExpiresAt?: true + scope?: true + password?: true + createdAt?: true + updatedAt?: true +} export type AccountCountAggregateInputType = { - id?: true; - accountId?: true; - providerId?: true; - userId?: true; - accessToken?: true; - refreshToken?: true; - idToken?: true; - accessTokenExpiresAt?: true; - refreshTokenExpiresAt?: true; - scope?: true; - password?: true; - createdAt?: true; - updatedAt?: true; - _all?: true; -}; + id?: true + accountId?: true + providerId?: true + userId?: true + accessToken?: true + refreshToken?: true + idToken?: true + accessTokenExpiresAt?: true + refreshTokenExpiresAt?: true + scope?: true + password?: true + createdAt?: true + updatedAt?: true + _all?: true +} -export type AccountAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Account to aggregate. - */ - where?: Prisma.AccountWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AccountWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Accounts. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Accounts - **/ - _count?: true | AccountCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AccountMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AccountMaxAggregateInputType; -}; +export type AccountAggregateArgs = { + /** + * Filter which Account to aggregate. + */ + where?: Prisma.AccountWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Accounts to fetch. + */ + orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.AccountWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Accounts from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Accounts. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned Accounts + **/ + _count?: true | AccountCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: AccountMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: AccountMaxAggregateInputType +} export type GetAccountAggregateType = { - [P in keyof T & keyof AggregateAccount]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateAccount]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type AccountGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.AccountWhereInput; - orderBy?: Prisma.AccountOrderByWithAggregationInput | Prisma.AccountOrderByWithAggregationInput[]; - by: Prisma.AccountScalarFieldEnum[] | Prisma.AccountScalarFieldEnum; - having?: Prisma.AccountScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: AccountCountAggregateInputType | true; - _min?: AccountMinAggregateInputType; - _max?: AccountMaxAggregateInputType; -}; + + + +export type AccountGroupByArgs = { + where?: Prisma.AccountWhereInput + orderBy?: Prisma.AccountOrderByWithAggregationInput | Prisma.AccountOrderByWithAggregationInput[] + by: Prisma.AccountScalarFieldEnum[] | Prisma.AccountScalarFieldEnum + having?: Prisma.AccountScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: AccountCountAggregateInputType | true + _min?: AccountMinAggregateInputType + _max?: AccountMaxAggregateInputType +} export type AccountGroupByOutputType = { - id: string; - accountId: string; - providerId: string; - userId: string; - accessToken: string | null; - refreshToken: string | null; - idToken: string | null; - accessTokenExpiresAt: Date | null; - refreshTokenExpiresAt: Date | null; - scope: string | null; - password: string | null; - createdAt: Date; - updatedAt: Date; - _count: AccountCountAggregateOutputType | null; - _min: AccountMinAggregateOutputType | null; - _max: AccountMaxAggregateOutputType | null; -}; + id: string + accountId: string + providerId: string + userId: string + accessToken: string | null + refreshToken: string | null + idToken: string | null + accessTokenExpiresAt: Date | null + refreshTokenExpiresAt: Date | null + scope: string | null + password: string | null + createdAt: Date + updatedAt: Date + _count: AccountCountAggregateOutputType | null + _min: AccountMinAggregateOutputType | null + _max: AccountMaxAggregateOutputType | null +} export type GetAccountGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof AccountGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > ->; + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof AccountGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + export type AccountWhereInput = { - AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[]; - OR?: Prisma.AccountWhereInput[]; - NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[]; - id?: Prisma.StringFilter<'Account'> | string; - accountId?: Prisma.StringFilter<'Account'> | string; - providerId?: Prisma.StringFilter<'Account'> | string; - userId?: Prisma.StringFilter<'Account'> | string; - accessToken?: Prisma.StringNullableFilter<'Account'> | string | null; - refreshToken?: Prisma.StringNullableFilter<'Account'> | string | null; - idToken?: Prisma.StringNullableFilter<'Account'> | string | null; - accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<'Account'> | Date | string | null; - refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<'Account'> | Date | string | null; - scope?: Prisma.StringNullableFilter<'Account'> | string | null; - password?: Prisma.StringNullableFilter<'Account'> | string | null; - createdAt?: Prisma.DateTimeFilter<'Account'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'Account'> | Date | string; - user?: Prisma.XOR; -}; + AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] + OR?: Prisma.AccountWhereInput[] + NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] + id?: Prisma.StringFilter<"Account"> | string + accountId?: Prisma.StringFilter<"Account"> | string + providerId?: Prisma.StringFilter<"Account"> | string + userId?: Prisma.StringFilter<"Account"> | string + accessToken?: Prisma.StringNullableFilter<"Account"> | string | null + refreshToken?: Prisma.StringNullableFilter<"Account"> | string | null + idToken?: Prisma.StringNullableFilter<"Account"> | string | null + accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null + refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null + scope?: Prisma.StringNullableFilter<"Account"> | string | null + password?: Prisma.StringNullableFilter<"Account"> | string | null + createdAt?: Prisma.DateTimeFilter<"Account"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"Account"> | Date | string + user?: Prisma.XOR +} export type AccountOrderByWithRelationInput = { - id?: Prisma.SortOrder; - accountId?: Prisma.SortOrder; - providerId?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - accessToken?: Prisma.SortOrderInput | Prisma.SortOrder; - refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder; - idToken?: Prisma.SortOrderInput | Prisma.SortOrder; - accessTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder; - refreshTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder; - scope?: Prisma.SortOrderInput | Prisma.SortOrder; - password?: Prisma.SortOrderInput | Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - user?: Prisma.UserOrderByWithRelationInput; -}; + id?: Prisma.SortOrder + accountId?: Prisma.SortOrder + providerId?: Prisma.SortOrder + userId?: Prisma.SortOrder + accessToken?: Prisma.SortOrderInput | Prisma.SortOrder + refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder + idToken?: Prisma.SortOrderInput | Prisma.SortOrder + accessTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder + refreshTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder + scope?: Prisma.SortOrderInput | Prisma.SortOrder + password?: Prisma.SortOrderInput | Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + user?: Prisma.UserOrderByWithRelationInput +} -export type AccountWhereUniqueInput = Prisma.AtLeast< - { - id?: string; - AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[]; - OR?: Prisma.AccountWhereInput[]; - NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[]; - accountId?: Prisma.StringFilter<'Account'> | string; - providerId?: Prisma.StringFilter<'Account'> | string; - userId?: Prisma.StringFilter<'Account'> | string; - accessToken?: Prisma.StringNullableFilter<'Account'> | string | null; - refreshToken?: Prisma.StringNullableFilter<'Account'> | string | null; - idToken?: Prisma.StringNullableFilter<'Account'> | string | null; - accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<'Account'> | Date | string | null; - refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<'Account'> | Date | string | null; - scope?: Prisma.StringNullableFilter<'Account'> | string | null; - password?: Prisma.StringNullableFilter<'Account'> | string | null; - createdAt?: Prisma.DateTimeFilter<'Account'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'Account'> | Date | string; - user?: Prisma.XOR; - }, - 'id' ->; +export type AccountWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] + OR?: Prisma.AccountWhereInput[] + NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] + accountId?: Prisma.StringFilter<"Account"> | string + providerId?: Prisma.StringFilter<"Account"> | string + userId?: Prisma.StringFilter<"Account"> | string + accessToken?: Prisma.StringNullableFilter<"Account"> | string | null + refreshToken?: Prisma.StringNullableFilter<"Account"> | string | null + idToken?: Prisma.StringNullableFilter<"Account"> | string | null + accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null + refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null + scope?: Prisma.StringNullableFilter<"Account"> | string | null + password?: Prisma.StringNullableFilter<"Account"> | string | null + createdAt?: Prisma.DateTimeFilter<"Account"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"Account"> | Date | string + user?: Prisma.XOR +}, "id"> export type AccountOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - accountId?: Prisma.SortOrder; - providerId?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - accessToken?: Prisma.SortOrderInput | Prisma.SortOrder; - refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder; - idToken?: Prisma.SortOrderInput | Prisma.SortOrder; - accessTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder; - refreshTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder; - scope?: Prisma.SortOrderInput | Prisma.SortOrder; - password?: Prisma.SortOrderInput | Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - _count?: Prisma.AccountCountOrderByAggregateInput; - _max?: Prisma.AccountMaxOrderByAggregateInput; - _min?: Prisma.AccountMinOrderByAggregateInput; -}; + id?: Prisma.SortOrder + accountId?: Prisma.SortOrder + providerId?: Prisma.SortOrder + userId?: Prisma.SortOrder + accessToken?: Prisma.SortOrderInput | Prisma.SortOrder + refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder + idToken?: Prisma.SortOrderInput | Prisma.SortOrder + accessTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder + refreshTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder + scope?: Prisma.SortOrderInput | Prisma.SortOrder + password?: Prisma.SortOrderInput | Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + _count?: Prisma.AccountCountOrderByAggregateInput + _max?: Prisma.AccountMaxOrderByAggregateInput + _min?: Prisma.AccountMinOrderByAggregateInput +} export type AccountScalarWhereWithAggregatesInput = { - AND?: - | Prisma.AccountScalarWhereWithAggregatesInput - | Prisma.AccountScalarWhereWithAggregatesInput[]; - OR?: Prisma.AccountScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.AccountScalarWhereWithAggregatesInput - | Prisma.AccountScalarWhereWithAggregatesInput[]; - id?: Prisma.StringWithAggregatesFilter<'Account'> | string; - accountId?: Prisma.StringWithAggregatesFilter<'Account'> | string; - providerId?: Prisma.StringWithAggregatesFilter<'Account'> | string; - userId?: Prisma.StringWithAggregatesFilter<'Account'> | string; - accessToken?: Prisma.StringNullableWithAggregatesFilter<'Account'> | string | null; - refreshToken?: Prisma.StringNullableWithAggregatesFilter<'Account'> | string | null; - idToken?: Prisma.StringNullableWithAggregatesFilter<'Account'> | string | null; - accessTokenExpiresAt?: - | Prisma.DateTimeNullableWithAggregatesFilter<'Account'> - | Date - | string - | null; - refreshTokenExpiresAt?: - | Prisma.DateTimeNullableWithAggregatesFilter<'Account'> - | Date - | string - | null; - scope?: Prisma.StringNullableWithAggregatesFilter<'Account'> | string | null; - password?: Prisma.StringNullableWithAggregatesFilter<'Account'> | string | null; - createdAt?: Prisma.DateTimeWithAggregatesFilter<'Account'> | Date | string; - updatedAt?: Prisma.DateTimeWithAggregatesFilter<'Account'> | Date | string; -}; + AND?: Prisma.AccountScalarWhereWithAggregatesInput | Prisma.AccountScalarWhereWithAggregatesInput[] + OR?: Prisma.AccountScalarWhereWithAggregatesInput[] + NOT?: Prisma.AccountScalarWhereWithAggregatesInput | Prisma.AccountScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"Account"> | string + accountId?: Prisma.StringWithAggregatesFilter<"Account"> | string + providerId?: Prisma.StringWithAggregatesFilter<"Account"> | string + userId?: Prisma.StringWithAggregatesFilter<"Account"> | string + accessToken?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null + refreshToken?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null + idToken?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null + accessTokenExpiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Account"> | Date | string | null + refreshTokenExpiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Account"> | Date | string | null + scope?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null + password?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null + createdAt?: Prisma.DateTimeWithAggregatesFilter<"Account"> | Date | string + updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Account"> | Date | string +} export type AccountCreateInput = { - id: string; - accountId: string; - providerId: string; - accessToken?: string | null; - refreshToken?: string | null; - idToken?: string | null; - accessTokenExpiresAt?: Date | string | null; - refreshTokenExpiresAt?: Date | string | null; - scope?: string | null; - password?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - user: Prisma.UserCreateNestedOneWithoutAccountsInput; -}; + id: string + accountId: string + providerId: string + accessToken?: string | null + refreshToken?: string | null + idToken?: string | null + accessTokenExpiresAt?: Date | string | null + refreshTokenExpiresAt?: Date | string | null + scope?: string | null + password?: string | null + createdAt?: Date | string + updatedAt?: Date | string + user: Prisma.UserCreateNestedOneWithoutAccountsInput +} export type AccountUncheckedCreateInput = { - id: string; - accountId: string; - providerId: string; - userId: string; - accessToken?: string | null; - refreshToken?: string | null; - idToken?: string | null; - accessTokenExpiresAt?: Date | string | null; - refreshTokenExpiresAt?: Date | string | null; - scope?: string | null; - password?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + id: string + accountId: string + providerId: string + userId: string + accessToken?: string | null + refreshToken?: string | null + idToken?: string | null + accessTokenExpiresAt?: Date | string | null + refreshTokenExpiresAt?: Date | string | null + scope?: string | null + password?: string | null + createdAt?: Date | string + updatedAt?: Date | string +} export type AccountUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - accountId?: Prisma.StringFieldUpdateOperationsInput | string; - providerId?: Prisma.StringFieldUpdateOperationsInput | string; - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + accountId?: Prisma.StringFieldUpdateOperationsInput | string + providerId?: Prisma.StringFieldUpdateOperationsInput | string + accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput +} export type AccountUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - accountId?: Prisma.StringFieldUpdateOperationsInput | string; - providerId?: Prisma.StringFieldUpdateOperationsInput | string; - userId?: Prisma.StringFieldUpdateOperationsInput | string; - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + accountId?: Prisma.StringFieldUpdateOperationsInput | string + providerId?: Prisma.StringFieldUpdateOperationsInput | string + userId?: Prisma.StringFieldUpdateOperationsInput | string + accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type AccountCreateManyInput = { - id: string; - accountId: string; - providerId: string; - userId: string; - accessToken?: string | null; - refreshToken?: string | null; - idToken?: string | null; - accessTokenExpiresAt?: Date | string | null; - refreshTokenExpiresAt?: Date | string | null; - scope?: string | null; - password?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + id: string + accountId: string + providerId: string + userId: string + accessToken?: string | null + refreshToken?: string | null + idToken?: string | null + accessTokenExpiresAt?: Date | string | null + refreshTokenExpiresAt?: Date | string | null + scope?: string | null + password?: string | null + createdAt?: Date | string + updatedAt?: Date | string +} export type AccountUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - accountId?: Prisma.StringFieldUpdateOperationsInput | string; - providerId?: Prisma.StringFieldUpdateOperationsInput | string; - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + accountId?: Prisma.StringFieldUpdateOperationsInput | string + providerId?: Prisma.StringFieldUpdateOperationsInput | string + accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type AccountUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - accountId?: Prisma.StringFieldUpdateOperationsInput | string; - providerId?: Prisma.StringFieldUpdateOperationsInput | string; - userId?: Prisma.StringFieldUpdateOperationsInput | string; - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + accountId?: Prisma.StringFieldUpdateOperationsInput | string + providerId?: Prisma.StringFieldUpdateOperationsInput | string + userId?: Prisma.StringFieldUpdateOperationsInput | string + accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type AccountListRelationFilter = { - every?: Prisma.AccountWhereInput; - some?: Prisma.AccountWhereInput; - none?: Prisma.AccountWhereInput; -}; + every?: Prisma.AccountWhereInput + some?: Prisma.AccountWhereInput + none?: Prisma.AccountWhereInput +} export type AccountOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder; -}; + _count?: Prisma.SortOrder +} export type AccountCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - accountId?: Prisma.SortOrder; - providerId?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - accessToken?: Prisma.SortOrder; - refreshToken?: Prisma.SortOrder; - idToken?: Prisma.SortOrder; - accessTokenExpiresAt?: Prisma.SortOrder; - refreshTokenExpiresAt?: Prisma.SortOrder; - scope?: Prisma.SortOrder; - password?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + accountId?: Prisma.SortOrder + providerId?: Prisma.SortOrder + userId?: Prisma.SortOrder + accessToken?: Prisma.SortOrder + refreshToken?: Prisma.SortOrder + idToken?: Prisma.SortOrder + accessTokenExpiresAt?: Prisma.SortOrder + refreshTokenExpiresAt?: Prisma.SortOrder + scope?: Prisma.SortOrder + password?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder +} export type AccountMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - accountId?: Prisma.SortOrder; - providerId?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - accessToken?: Prisma.SortOrder; - refreshToken?: Prisma.SortOrder; - idToken?: Prisma.SortOrder; - accessTokenExpiresAt?: Prisma.SortOrder; - refreshTokenExpiresAt?: Prisma.SortOrder; - scope?: Prisma.SortOrder; - password?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + accountId?: Prisma.SortOrder + providerId?: Prisma.SortOrder + userId?: Prisma.SortOrder + accessToken?: Prisma.SortOrder + refreshToken?: Prisma.SortOrder + idToken?: Prisma.SortOrder + accessTokenExpiresAt?: Prisma.SortOrder + refreshTokenExpiresAt?: Prisma.SortOrder + scope?: Prisma.SortOrder + password?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder +} export type AccountMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - accountId?: Prisma.SortOrder; - providerId?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - accessToken?: Prisma.SortOrder; - refreshToken?: Prisma.SortOrder; - idToken?: Prisma.SortOrder; - accessTokenExpiresAt?: Prisma.SortOrder; - refreshTokenExpiresAt?: Prisma.SortOrder; - scope?: Prisma.SortOrder; - password?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + accountId?: Prisma.SortOrder + providerId?: Prisma.SortOrder + userId?: Prisma.SortOrder + accessToken?: Prisma.SortOrder + refreshToken?: Prisma.SortOrder + idToken?: Prisma.SortOrder + accessTokenExpiresAt?: Prisma.SortOrder + refreshTokenExpiresAt?: Prisma.SortOrder + scope?: Prisma.SortOrder + password?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder +} export type AccountCreateNestedManyWithoutUserInput = { - create?: - | Prisma.XOR< - Prisma.AccountCreateWithoutUserInput, - Prisma.AccountUncheckedCreateWithoutUserInput - > - | Prisma.AccountCreateWithoutUserInput[] - | Prisma.AccountUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.AccountCreateOrConnectWithoutUserInput - | Prisma.AccountCreateOrConnectWithoutUserInput[]; - createMany?: Prisma.AccountCreateManyUserInputEnvelope; - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] + createMany?: Prisma.AccountCreateManyUserInputEnvelope + connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] +} export type AccountUncheckedCreateNestedManyWithoutUserInput = { - create?: - | Prisma.XOR< - Prisma.AccountCreateWithoutUserInput, - Prisma.AccountUncheckedCreateWithoutUserInput - > - | Prisma.AccountCreateWithoutUserInput[] - | Prisma.AccountUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.AccountCreateOrConnectWithoutUserInput - | Prisma.AccountCreateOrConnectWithoutUserInput[]; - createMany?: Prisma.AccountCreateManyUserInputEnvelope; - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] + createMany?: Prisma.AccountCreateManyUserInputEnvelope + connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] +} export type AccountUpdateManyWithoutUserNestedInput = { - create?: - | Prisma.XOR< - Prisma.AccountCreateWithoutUserInput, - Prisma.AccountUncheckedCreateWithoutUserInput - > - | Prisma.AccountCreateWithoutUserInput[] - | Prisma.AccountUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.AccountCreateOrConnectWithoutUserInput - | Prisma.AccountCreateOrConnectWithoutUserInput[]; - upsert?: - | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput - | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput[]; - createMany?: Prisma.AccountCreateManyUserInputEnvelope; - set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[]; - disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[]; - delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[]; - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[]; - update?: - | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput - | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput[]; - updateMany?: - | Prisma.AccountUpdateManyWithWhereWithoutUserInput - | Prisma.AccountUpdateManyWithWhereWithoutUserInput[]; - deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] + upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutUserInput | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput[] + createMany?: Prisma.AccountCreateManyUserInputEnvelope + set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] + disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] + delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] + connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] + update?: Prisma.AccountUpdateWithWhereUniqueWithoutUserInput | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: Prisma.AccountUpdateManyWithWhereWithoutUserInput | Prisma.AccountUpdateManyWithWhereWithoutUserInput[] + deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] +} export type AccountUncheckedUpdateManyWithoutUserNestedInput = { - create?: - | Prisma.XOR< - Prisma.AccountCreateWithoutUserInput, - Prisma.AccountUncheckedCreateWithoutUserInput - > - | Prisma.AccountCreateWithoutUserInput[] - | Prisma.AccountUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.AccountCreateOrConnectWithoutUserInput - | Prisma.AccountCreateOrConnectWithoutUserInput[]; - upsert?: - | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput - | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput[]; - createMany?: Prisma.AccountCreateManyUserInputEnvelope; - set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[]; - disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[]; - delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[]; - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[]; - update?: - | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput - | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput[]; - updateMany?: - | Prisma.AccountUpdateManyWithWhereWithoutUserInput - | Prisma.AccountUpdateManyWithWhereWithoutUserInput[]; - deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] + upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutUserInput | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput[] + createMany?: Prisma.AccountCreateManyUserInputEnvelope + set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] + disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] + delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] + connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] + update?: Prisma.AccountUpdateWithWhereUniqueWithoutUserInput | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: Prisma.AccountUpdateManyWithWhereWithoutUserInput | Prisma.AccountUpdateManyWithWhereWithoutUserInput[] + deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] +} export type NullableDateTimeFieldUpdateOperationsInput = { - set?: Date | string | null; -}; + set?: Date | string | null +} export type AccountCreateWithoutUserInput = { - id: string; - accountId: string; - providerId: string; - accessToken?: string | null; - refreshToken?: string | null; - idToken?: string | null; - accessTokenExpiresAt?: Date | string | null; - refreshTokenExpiresAt?: Date | string | null; - scope?: string | null; - password?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + id: string + accountId: string + providerId: string + accessToken?: string | null + refreshToken?: string | null + idToken?: string | null + accessTokenExpiresAt?: Date | string | null + refreshTokenExpiresAt?: Date | string | null + scope?: string | null + password?: string | null + createdAt?: Date | string + updatedAt?: Date | string +} export type AccountUncheckedCreateWithoutUserInput = { - id: string; - accountId: string; - providerId: string; - accessToken?: string | null; - refreshToken?: string | null; - idToken?: string | null; - accessTokenExpiresAt?: Date | string | null; - refreshTokenExpiresAt?: Date | string | null; - scope?: string | null; - password?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + id: string + accountId: string + providerId: string + accessToken?: string | null + refreshToken?: string | null + idToken?: string | null + accessTokenExpiresAt?: Date | string | null + refreshTokenExpiresAt?: Date | string | null + scope?: string | null + password?: string | null + createdAt?: Date | string + updatedAt?: Date | string +} export type AccountCreateOrConnectWithoutUserInput = { - where: Prisma.AccountWhereUniqueInput; - create: Prisma.XOR< - Prisma.AccountCreateWithoutUserInput, - Prisma.AccountUncheckedCreateWithoutUserInput - >; -}; + where: Prisma.AccountWhereUniqueInput + create: Prisma.XOR +} export type AccountCreateManyUserInputEnvelope = { - data: Prisma.AccountCreateManyUserInput | Prisma.AccountCreateManyUserInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.AccountCreateManyUserInput | Prisma.AccountCreateManyUserInput[] + skipDuplicates?: boolean +} export type AccountUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.AccountWhereUniqueInput; - update: Prisma.XOR< - Prisma.AccountUpdateWithoutUserInput, - Prisma.AccountUncheckedUpdateWithoutUserInput - >; - create: Prisma.XOR< - Prisma.AccountCreateWithoutUserInput, - Prisma.AccountUncheckedCreateWithoutUserInput - >; -}; + where: Prisma.AccountWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type AccountUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.AccountWhereUniqueInput; - data: Prisma.XOR< - Prisma.AccountUpdateWithoutUserInput, - Prisma.AccountUncheckedUpdateWithoutUserInput - >; -}; + where: Prisma.AccountWhereUniqueInput + data: Prisma.XOR +} export type AccountUpdateManyWithWhereWithoutUserInput = { - where: Prisma.AccountScalarWhereInput; - data: Prisma.XOR< - Prisma.AccountUpdateManyMutationInput, - Prisma.AccountUncheckedUpdateManyWithoutUserInput - >; -}; + where: Prisma.AccountScalarWhereInput + data: Prisma.XOR +} export type AccountScalarWhereInput = { - AND?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[]; - OR?: Prisma.AccountScalarWhereInput[]; - NOT?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[]; - id?: Prisma.StringFilter<'Account'> | string; - accountId?: Prisma.StringFilter<'Account'> | string; - providerId?: Prisma.StringFilter<'Account'> | string; - userId?: Prisma.StringFilter<'Account'> | string; - accessToken?: Prisma.StringNullableFilter<'Account'> | string | null; - refreshToken?: Prisma.StringNullableFilter<'Account'> | string | null; - idToken?: Prisma.StringNullableFilter<'Account'> | string | null; - accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<'Account'> | Date | string | null; - refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<'Account'> | Date | string | null; - scope?: Prisma.StringNullableFilter<'Account'> | string | null; - password?: Prisma.StringNullableFilter<'Account'> | string | null; - createdAt?: Prisma.DateTimeFilter<'Account'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'Account'> | Date | string; -}; + AND?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] + OR?: Prisma.AccountScalarWhereInput[] + NOT?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] + id?: Prisma.StringFilter<"Account"> | string + accountId?: Prisma.StringFilter<"Account"> | string + providerId?: Prisma.StringFilter<"Account"> | string + userId?: Prisma.StringFilter<"Account"> | string + accessToken?: Prisma.StringNullableFilter<"Account"> | string | null + refreshToken?: Prisma.StringNullableFilter<"Account"> | string | null + idToken?: Prisma.StringNullableFilter<"Account"> | string | null + accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null + refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null + scope?: Prisma.StringNullableFilter<"Account"> | string | null + password?: Prisma.StringNullableFilter<"Account"> | string | null + createdAt?: Prisma.DateTimeFilter<"Account"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"Account"> | Date | string +} export type AccountCreateManyUserInput = { - id: string; - accountId: string; - providerId: string; - accessToken?: string | null; - refreshToken?: string | null; - idToken?: string | null; - accessTokenExpiresAt?: Date | string | null; - refreshTokenExpiresAt?: Date | string | null; - scope?: string | null; - password?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + id: string + accountId: string + providerId: string + accessToken?: string | null + refreshToken?: string | null + idToken?: string | null + accessTokenExpiresAt?: Date | string | null + refreshTokenExpiresAt?: Date | string | null + scope?: string | null + password?: string | null + createdAt?: Date | string + updatedAt?: Date | string +} export type AccountUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - accountId?: Prisma.StringFieldUpdateOperationsInput | string; - providerId?: Prisma.StringFieldUpdateOperationsInput | string; - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + accountId?: Prisma.StringFieldUpdateOperationsInput | string + providerId?: Prisma.StringFieldUpdateOperationsInput | string + accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type AccountUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - accountId?: Prisma.StringFieldUpdateOperationsInput | string; - providerId?: Prisma.StringFieldUpdateOperationsInput | string; - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + accountId?: Prisma.StringFieldUpdateOperationsInput | string + providerId?: Prisma.StringFieldUpdateOperationsInput | string + accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type AccountUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - accountId?: Prisma.StringFieldUpdateOperationsInput | string; - providerId?: Prisma.StringFieldUpdateOperationsInput | string; - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + accountId?: Prisma.StringFieldUpdateOperationsInput | string + providerId?: Prisma.StringFieldUpdateOperationsInput | string + accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} -export type AccountSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - accountId?: boolean; - providerId?: boolean; - userId?: boolean; - accessToken?: boolean; - refreshToken?: boolean; - idToken?: boolean; - accessTokenExpiresAt?: boolean; - refreshTokenExpiresAt?: boolean; - scope?: boolean; - password?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - }, - ExtArgs['result']['account'] ->; -export type AccountSelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - accountId?: boolean; - providerId?: boolean; - userId?: boolean; - accessToken?: boolean; - refreshToken?: boolean; - idToken?: boolean; - accessTokenExpiresAt?: boolean; - refreshTokenExpiresAt?: boolean; - scope?: boolean; - password?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - }, - ExtArgs['result']['account'] ->; -export type AccountSelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - accountId?: boolean; - providerId?: boolean; - userId?: boolean; - accessToken?: boolean; - refreshToken?: boolean; - idToken?: boolean; - accessTokenExpiresAt?: boolean; - refreshTokenExpiresAt?: boolean; - scope?: boolean; - password?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - }, - ExtArgs['result']['account'] ->; +export type AccountSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + accountId?: boolean + providerId?: boolean + userId?: boolean + accessToken?: boolean + refreshToken?: boolean + idToken?: boolean + accessTokenExpiresAt?: boolean + refreshTokenExpiresAt?: boolean + scope?: boolean + password?: boolean + createdAt?: boolean + updatedAt?: boolean + user?: boolean | Prisma.UserDefaultArgs +}, ExtArgs["result"]["account"]> + +export type AccountSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + accountId?: boolean + providerId?: boolean + userId?: boolean + accessToken?: boolean + refreshToken?: boolean + idToken?: boolean + accessTokenExpiresAt?: boolean + refreshTokenExpiresAt?: boolean + scope?: boolean + password?: boolean + createdAt?: boolean + updatedAt?: boolean + user?: boolean | Prisma.UserDefaultArgs +}, ExtArgs["result"]["account"]> + +export type AccountSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + accountId?: boolean + providerId?: boolean + userId?: boolean + accessToken?: boolean + refreshToken?: boolean + idToken?: boolean + accessTokenExpiresAt?: boolean + refreshTokenExpiresAt?: boolean + scope?: boolean + password?: boolean + createdAt?: boolean + updatedAt?: boolean + user?: boolean | Prisma.UserDefaultArgs +}, ExtArgs["result"]["account"]> export type AccountSelectScalar = { - id?: boolean; - accountId?: boolean; - providerId?: boolean; - userId?: boolean; - accessToken?: boolean; - refreshToken?: boolean; - idToken?: boolean; - accessTokenExpiresAt?: boolean; - refreshTokenExpiresAt?: boolean; - scope?: boolean; - password?: boolean; - createdAt?: boolean; - updatedAt?: boolean; -}; + id?: boolean + accountId?: boolean + providerId?: boolean + userId?: boolean + accessToken?: boolean + refreshToken?: boolean + idToken?: boolean + accessTokenExpiresAt?: boolean + refreshTokenExpiresAt?: boolean + scope?: boolean + password?: boolean + createdAt?: boolean + updatedAt?: boolean +} -export type AccountOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - | 'id' - | 'accountId' - | 'providerId' - | 'userId' - | 'accessToken' - | 'refreshToken' - | 'idToken' - | 'accessTokenExpiresAt' - | 'refreshTokenExpiresAt' - | 'scope' - | 'password' - | 'createdAt' - | 'updatedAt', - ExtArgs['result']['account'] ->; -export type AccountInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; -}; -export type AccountIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; -}; -export type AccountIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; -}; +export type AccountOmit = runtime.Types.Extensions.GetOmit<"id" | "accountId" | "providerId" | "userId" | "accessToken" | "refreshToken" | "idToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "scope" | "password" | "createdAt" | "updatedAt", ExtArgs["result"]["account"]> +export type AccountInclude = { + user?: boolean | Prisma.UserDefaultArgs +} +export type AccountIncludeCreateManyAndReturn = { + user?: boolean | Prisma.UserDefaultArgs +} +export type AccountIncludeUpdateManyAndReturn = { + user?: boolean | Prisma.UserDefaultArgs +} -export type $AccountPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'Account'; - objects: { - user: Prisma.$UserPayload; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: string; - accountId: string; - providerId: string; - userId: string; - accessToken: string | null; - refreshToken: string | null; - idToken: string | null; - accessTokenExpiresAt: Date | null; - refreshTokenExpiresAt: Date | null; - scope: string | null; - password: string | null; - createdAt: Date; - updatedAt: Date; - }, - ExtArgs['result']['account'] - >; - composites: {}; -}; +export type $AccountPayload = { + name: "Account" + objects: { + user: Prisma.$UserPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + accountId: string + providerId: string + userId: string + accessToken: string | null + refreshToken: string | null + idToken: string | null + accessTokenExpiresAt: Date | null + refreshTokenExpiresAt: Date | null + scope: string | null + password: string | null + createdAt: Date + updatedAt: Date + }, ExtArgs["result"]["account"]> + composites: {} +} -export type AccountGetPayload = - runtime.Types.Result.GetResult; +export type AccountGetPayload = runtime.Types.Result.GetResult -export type AccountCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: AccountCountAggregateInputType | true; -}; +export type AccountCountArgs = + Omit & { + select?: AccountCountAggregateInputType | true + } -export interface AccountDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { types: Prisma.TypeMap['model']['Account']; meta: { name: 'Account' } }; - /** - * Find zero or one Account that matches the filter. - * @param {AccountFindUniqueArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AccountClient< - runtime.Types.Result.GetResult< - Prisma.$AccountPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface AccountDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['Account'], meta: { name: 'Account' } } + /** + * Find zero or one Account that matches the filter. + * @param {AccountFindUniqueArgs} args - Arguments to find a Account + * @example + * // Get one Account + * const account = await prisma.account.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one Account that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AccountFindUniqueOrThrowArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AccountClient< - runtime.Types.Result.GetResult< - Prisma.$AccountPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one Account that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {AccountFindUniqueOrThrowArgs} args - Arguments to find a Account + * @example + * // Get one Account + * const account = await prisma.account.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first Account that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountFindFirstArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__AccountClient< - runtime.Types.Result.GetResult< - Prisma.$AccountPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Account that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AccountFindFirstArgs} args - Arguments to find a Account + * @example + * // Get one Account + * const account = await prisma.account.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first Account that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountFindFirstOrThrowArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__AccountClient< - runtime.Types.Result.GetResult< - Prisma.$AccountPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Account that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AccountFindFirstOrThrowArgs} args - Arguments to find a Account + * @example + * // Get one Account + * const account = await prisma.account.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more Accounts that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Accounts - * const accounts = await prisma.account.findMany() - * - * // Get first 10 Accounts - * const accounts = await prisma.account.findMany({ take: 10 }) - * - * // Only select the `id` - * const accountWithIdOnly = await prisma.account.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$AccountPayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more Accounts that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AccountFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Accounts + * const accounts = await prisma.account.findMany() + * + * // Get first 10 Accounts + * const accounts = await prisma.account.findMany({ take: 10 }) + * + * // Only select the `id` + * const accountWithIdOnly = await prisma.account.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a Account. - * @param {AccountCreateArgs} args - Arguments to create a Account. - * @example - * // Create one Account - * const Account = await prisma.account.create({ - * data: { - * // ... data to create a Account - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AccountClient< - runtime.Types.Result.GetResult, T, 'create', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a Account. + * @param {AccountCreateArgs} args - Arguments to create a Account. + * @example + * // Create one Account + * const Account = await prisma.account.create({ + * data: { + * // ... data to create a Account + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many Accounts. - * @param {AccountCreateManyArgs} args - Arguments to create many Accounts. - * @example - * // Create many Accounts - * const account = await prisma.account.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many Accounts. + * @param {AccountCreateManyArgs} args - Arguments to create many Accounts. + * @example + * // Create many Accounts + * const account = await prisma.account.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many Accounts and returns the data saved in the database. - * @param {AccountCreateManyAndReturnArgs} args - Arguments to create many Accounts. - * @example - * // Create many Accounts - * const account = await prisma.account.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Accounts and only return the `id` - * const accountWithIdOnly = await prisma.account.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$AccountPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many Accounts and returns the data saved in the database. + * @param {AccountCreateManyAndReturnArgs} args - Arguments to create many Accounts. + * @example + * // Create many Accounts + * const account = await prisma.account.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Accounts and only return the `id` + * const accountWithIdOnly = await prisma.account.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a Account. - * @param {AccountDeleteArgs} args - Arguments to delete one Account. - * @example - * // Delete one Account - * const Account = await prisma.account.delete({ - * where: { - * // ... filter to delete one Account - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AccountClient< - runtime.Types.Result.GetResult, T, 'delete', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a Account. + * @param {AccountDeleteArgs} args - Arguments to delete one Account. + * @example + * // Delete one Account + * const Account = await prisma.account.delete({ + * where: { + * // ... filter to delete one Account + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one Account. - * @param {AccountUpdateArgs} args - Arguments to update one Account. - * @example - * // Update one Account - * const account = await prisma.account.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AccountClient< - runtime.Types.Result.GetResult, T, 'update', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one Account. + * @param {AccountUpdateArgs} args - Arguments to update one Account. + * @example + * // Update one Account + * const account = await prisma.account.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more Accounts. - * @param {AccountDeleteManyArgs} args - Arguments to filter Accounts to delete. - * @example - * // Delete a few Accounts - * const { count } = await prisma.account.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more Accounts. + * @param {AccountDeleteManyArgs} args - Arguments to filter Accounts to delete. + * @example + * // Delete a few Accounts + * const { count } = await prisma.account.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Accounts. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Accounts - * const account = await prisma.account.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more Accounts. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AccountUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Accounts + * const account = await prisma.account.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Accounts and returns the data updated in the database. - * @param {AccountUpdateManyAndReturnArgs} args - Arguments to update many Accounts. - * @example - * // Update many Accounts - * const account = await prisma.account.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Accounts and only return the `id` - * const accountWithIdOnly = await prisma.account.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$AccountPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more Accounts and returns the data updated in the database. + * @param {AccountUpdateManyAndReturnArgs} args - Arguments to update many Accounts. + * @example + * // Update many Accounts + * const account = await prisma.account.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Accounts and only return the `id` + * const accountWithIdOnly = await prisma.account.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one Account. - * @param {AccountUpsertArgs} args - Arguments to update or create a Account. - * @example - * // Update or create a Account - * const account = await prisma.account.upsert({ - * create: { - * // ... data to create a Account - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Account we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AccountClient< - runtime.Types.Result.GetResult, T, 'upsert', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one Account. + * @param {AccountUpsertArgs} args - Arguments to update or create a Account. + * @example + * // Update or create a Account + * const account = await prisma.account.upsert({ + * create: { + * // ... data to create a Account + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Account we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of Accounts. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountCountArgs} args - Arguments to filter Accounts to count. - * @example - * // Count the number of Accounts - * const count = await prisma.account.count({ - * where: { - * // ... the filter for the Accounts we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a Account. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of Accounts. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AccountCountArgs} args - Arguments to filter Accounts to count. + * @example + * // Count the number of Accounts + * const count = await prisma.account.count({ + * where: { + * // ... the filter for the Accounts we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by Account. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AccountGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AccountGroupByArgs['orderBy'] } - : { orderBy?: AccountGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors ? GetAccountGroupByPayload : Prisma.PrismaPromise; - /** - * Fields of the Account model - */ - readonly fields: AccountFieldRefs; + /** + * Allows you to perform aggregations operations on a Account. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AccountAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Account. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AccountGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends AccountGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: AccountGroupByArgs['orderBy'] } + : { orderBy?: AccountGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAccountGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the Account model + */ +readonly fields: AccountFieldRefs; } /** @@ -1390,514 +1165,465 @@ export interface AccountDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__AccountClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - user = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__UserClient< - | runtime.Types.Result.GetResult< - Prisma.$UserPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > - | Null, - Null, - ExtArgs, - GlobalOmitOptions - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__AccountClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the Account model */ export interface AccountFieldRefs { - readonly id: Prisma.FieldRef<'Account', 'String'>; - readonly accountId: Prisma.FieldRef<'Account', 'String'>; - readonly providerId: Prisma.FieldRef<'Account', 'String'>; - readonly userId: Prisma.FieldRef<'Account', 'String'>; - readonly accessToken: Prisma.FieldRef<'Account', 'String'>; - readonly refreshToken: Prisma.FieldRef<'Account', 'String'>; - readonly idToken: Prisma.FieldRef<'Account', 'String'>; - readonly accessTokenExpiresAt: Prisma.FieldRef<'Account', 'DateTime'>; - readonly refreshTokenExpiresAt: Prisma.FieldRef<'Account', 'DateTime'>; - readonly scope: Prisma.FieldRef<'Account', 'String'>; - readonly password: Prisma.FieldRef<'Account', 'String'>; - readonly createdAt: Prisma.FieldRef<'Account', 'DateTime'>; - readonly updatedAt: Prisma.FieldRef<'Account', 'DateTime'>; + readonly id: Prisma.FieldRef<"Account", 'String'> + readonly accountId: Prisma.FieldRef<"Account", 'String'> + readonly providerId: Prisma.FieldRef<"Account", 'String'> + readonly userId: Prisma.FieldRef<"Account", 'String'> + readonly accessToken: Prisma.FieldRef<"Account", 'String'> + readonly refreshToken: Prisma.FieldRef<"Account", 'String'> + readonly idToken: Prisma.FieldRef<"Account", 'String'> + readonly accessTokenExpiresAt: Prisma.FieldRef<"Account", 'DateTime'> + readonly refreshTokenExpiresAt: Prisma.FieldRef<"Account", 'DateTime'> + readonly scope: Prisma.FieldRef<"Account", 'String'> + readonly password: Prisma.FieldRef<"Account", 'String'> + readonly createdAt: Prisma.FieldRef<"Account", 'DateTime'> + readonly updatedAt: Prisma.FieldRef<"Account", 'DateTime'> } + // Custom InputTypes /** * Account findUnique */ -export type AccountFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null; - /** - * Filter, which Account to fetch. - */ - where: Prisma.AccountWhereUniqueInput; -}; +export type AccountFindUniqueArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelect | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountInclude | null + /** + * Filter, which Account to fetch. + */ + where: Prisma.AccountWhereUniqueInput +} /** * Account findUniqueOrThrow */ -export type AccountFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null; - /** - * Filter, which Account to fetch. - */ - where: Prisma.AccountWhereUniqueInput; -}; +export type AccountFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelect | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountInclude | null + /** + * Filter, which Account to fetch. + */ + where: Prisma.AccountWhereUniqueInput +} /** * Account findFirst */ -export type AccountFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null; - /** - * Filter, which Account to fetch. - */ - where?: Prisma.AccountWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Accounts. - */ - cursor?: Prisma.AccountWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Accounts. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Accounts. - */ - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]; -}; +export type AccountFindFirstArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelect | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountInclude | null + /** + * Filter, which Account to fetch. + */ + where?: Prisma.AccountWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Accounts to fetch. + */ + orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Accounts. + */ + cursor?: Prisma.AccountWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Accounts from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Accounts. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Accounts. + */ + distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] +} /** * Account findFirstOrThrow */ -export type AccountFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null; - /** - * Filter, which Account to fetch. - */ - where?: Prisma.AccountWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Accounts. - */ - cursor?: Prisma.AccountWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Accounts. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Accounts. - */ - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]; -}; +export type AccountFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelect | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountInclude | null + /** + * Filter, which Account to fetch. + */ + where?: Prisma.AccountWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Accounts to fetch. + */ + orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Accounts. + */ + cursor?: Prisma.AccountWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Accounts from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Accounts. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Accounts. + */ + distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] +} /** * Account findMany */ -export type AccountFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null; - /** - * Filter, which Accounts to fetch. - */ - where?: Prisma.AccountWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Accounts. - */ - cursor?: Prisma.AccountWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Accounts. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Accounts. - */ - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]; -}; +export type AccountFindManyArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelect | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountInclude | null + /** + * Filter, which Accounts to fetch. + */ + where?: Prisma.AccountWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Accounts to fetch. + */ + orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing Accounts. + */ + cursor?: Prisma.AccountWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Accounts from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Accounts. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Accounts. + */ + distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] +} /** * Account create */ -export type AccountCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null; - /** - * The data needed to create a Account. - */ - data: Prisma.XOR; -}; +export type AccountCreateArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelect | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountInclude | null + /** + * The data needed to create a Account. + */ + data: Prisma.XOR +} /** * Account createMany */ -export type AccountCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many Accounts. - */ - data: Prisma.AccountCreateManyInput | Prisma.AccountCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type AccountCreateManyArgs = { + /** + * The data used to create many Accounts. + */ + data: Prisma.AccountCreateManyInput | Prisma.AccountCreateManyInput[] + skipDuplicates?: boolean +} /** * Account createManyAndReturn */ -export type AccountCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelectCreateManyAndReturn | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * The data used to create many Accounts. - */ - data: Prisma.AccountCreateManyInput | Prisma.AccountCreateManyInput[]; - skipDuplicates?: boolean; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountIncludeCreateManyAndReturn | null; -}; +export type AccountCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelectCreateManyAndReturn | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * The data used to create many Accounts. + */ + data: Prisma.AccountCreateManyInput | Prisma.AccountCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountIncludeCreateManyAndReturn | null +} /** * Account update */ -export type AccountUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null; - /** - * The data needed to update a Account. - */ - data: Prisma.XOR; - /** - * Choose, which Account to update. - */ - where: Prisma.AccountWhereUniqueInput; -}; +export type AccountUpdateArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelect | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountInclude | null + /** + * The data needed to update a Account. + */ + data: Prisma.XOR + /** + * Choose, which Account to update. + */ + where: Prisma.AccountWhereUniqueInput +} /** * Account updateMany */ -export type AccountUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update Accounts. - */ - data: Prisma.XOR; - /** - * Filter which Accounts to update - */ - where?: Prisma.AccountWhereInput; - /** - * Limit how many Accounts to update. - */ - limit?: number; -}; +export type AccountUpdateManyArgs = { + /** + * The data used to update Accounts. + */ + data: Prisma.XOR + /** + * Filter which Accounts to update + */ + where?: Prisma.AccountWhereInput + /** + * Limit how many Accounts to update. + */ + limit?: number +} /** * Account updateManyAndReturn */ -export type AccountUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * The data used to update Accounts. - */ - data: Prisma.XOR; - /** - * Filter which Accounts to update - */ - where?: Prisma.AccountWhereInput; - /** - * Limit how many Accounts to update. - */ - limit?: number; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountIncludeUpdateManyAndReturn | null; -}; +export type AccountUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * The data used to update Accounts. + */ + data: Prisma.XOR + /** + * Filter which Accounts to update + */ + where?: Prisma.AccountWhereInput + /** + * Limit how many Accounts to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountIncludeUpdateManyAndReturn | null +} /** * Account upsert */ -export type AccountUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null; - /** - * The filter to search for the Account to update in case it exists. - */ - where: Prisma.AccountWhereUniqueInput; - /** - * In case the Account found by the `where` argument doesn't exist, create a new Account with this data. - */ - create: Prisma.XOR; - /** - * In case the Account was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR; -}; +export type AccountUpsertArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelect | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountInclude | null + /** + * The filter to search for the Account to update in case it exists. + */ + where: Prisma.AccountWhereUniqueInput + /** + * In case the Account found by the `where` argument doesn't exist, create a new Account with this data. + */ + create: Prisma.XOR + /** + * In case the Account was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * Account delete */ -export type AccountDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null; - /** - * Filter which Account to delete. - */ - where: Prisma.AccountWhereUniqueInput; -}; +export type AccountDeleteArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelect | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountInclude | null + /** + * Filter which Account to delete. + */ + where: Prisma.AccountWhereUniqueInput +} /** * Account deleteMany */ -export type AccountDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Accounts to delete - */ - where?: Prisma.AccountWhereInput; - /** - * Limit how many Accounts to delete. - */ - limit?: number; -}; +export type AccountDeleteManyArgs = { + /** + * Filter which Accounts to delete + */ + where?: Prisma.AccountWhereInput + /** + * Limit how many Accounts to delete. + */ + limit?: number +} /** * Account without action */ -export type AccountDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null; -}; +export type AccountDefaultArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelect | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountInclude | null +} diff --git a/src/lib/generated/prisma/models/Address.ts b/src/lib/generated/prisma/models/Address.ts index 4d7d353..8d116b1 100644 --- a/src/lib/generated/prisma/models/Address.ts +++ b/src/lib/generated/prisma/models/Address.ts @@ -1,1305 +1,1090 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `Address` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model Address - * + * */ -export type AddressModel = runtime.Types.Result.DefaultSelection; +export type AddressModel = runtime.Types.Result.DefaultSelection export type AggregateAddress = { - _count: AddressCountAggregateOutputType | null; - _min: AddressMinAggregateOutputType | null; - _max: AddressMaxAggregateOutputType | null; -}; + _count: AddressCountAggregateOutputType | null + _min: AddressMinAggregateOutputType | null + _max: AddressMaxAggregateOutputType | null +} export type AddressMinAggregateOutputType = { - id: string | null; - profileId: string | null; - street: string | null; - city: string | null; - state: string | null; - postalCode: string | null; - country: string | null; - type: string | null; - isDefaultMailing: boolean | null; - isDefaultBilling: boolean | null; - isDefaultShipping: boolean | null; -}; + id: string | null + profileId: string | null + street: string | null + city: string | null + state: string | null + postalCode: string | null + country: string | null + type: string | null + isDefaultMailing: boolean | null + isDefaultBilling: boolean | null + isDefaultShipping: boolean | null +} export type AddressMaxAggregateOutputType = { - id: string | null; - profileId: string | null; - street: string | null; - city: string | null; - state: string | null; - postalCode: string | null; - country: string | null; - type: string | null; - isDefaultMailing: boolean | null; - isDefaultBilling: boolean | null; - isDefaultShipping: boolean | null; -}; + id: string | null + profileId: string | null + street: string | null + city: string | null + state: string | null + postalCode: string | null + country: string | null + type: string | null + isDefaultMailing: boolean | null + isDefaultBilling: boolean | null + isDefaultShipping: boolean | null +} export type AddressCountAggregateOutputType = { - id: number; - profileId: number; - street: number; - city: number; - state: number; - postalCode: number; - country: number; - type: number; - isDefaultMailing: number; - isDefaultBilling: number; - isDefaultShipping: number; - _all: number; -}; + id: number + profileId: number + street: number + city: number + state: number + postalCode: number + country: number + type: number + isDefaultMailing: number + isDefaultBilling: number + isDefaultShipping: number + _all: number +} + export type AddressMinAggregateInputType = { - id?: true; - profileId?: true; - street?: true; - city?: true; - state?: true; - postalCode?: true; - country?: true; - type?: true; - isDefaultMailing?: true; - isDefaultBilling?: true; - isDefaultShipping?: true; -}; + id?: true + profileId?: true + street?: true + city?: true + state?: true + postalCode?: true + country?: true + type?: true + isDefaultMailing?: true + isDefaultBilling?: true + isDefaultShipping?: true +} export type AddressMaxAggregateInputType = { - id?: true; - profileId?: true; - street?: true; - city?: true; - state?: true; - postalCode?: true; - country?: true; - type?: true; - isDefaultMailing?: true; - isDefaultBilling?: true; - isDefaultShipping?: true; -}; + id?: true + profileId?: true + street?: true + city?: true + state?: true + postalCode?: true + country?: true + type?: true + isDefaultMailing?: true + isDefaultBilling?: true + isDefaultShipping?: true +} export type AddressCountAggregateInputType = { - id?: true; - profileId?: true; - street?: true; - city?: true; - state?: true; - postalCode?: true; - country?: true; - type?: true; - isDefaultMailing?: true; - isDefaultBilling?: true; - isDefaultShipping?: true; - _all?: true; -}; + id?: true + profileId?: true + street?: true + city?: true + state?: true + postalCode?: true + country?: true + type?: true + isDefaultMailing?: true + isDefaultBilling?: true + isDefaultShipping?: true + _all?: true +} -export type AddressAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Address to aggregate. - */ - where?: Prisma.AddressWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Addresses to fetch. - */ - orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AddressWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Addresses from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Addresses. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Addresses - **/ - _count?: true | AddressCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AddressMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AddressMaxAggregateInputType; -}; +export type AddressAggregateArgs = { + /** + * Filter which Address to aggregate. + */ + where?: Prisma.AddressWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Addresses to fetch. + */ + orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.AddressWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Addresses from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Addresses. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned Addresses + **/ + _count?: true | AddressCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: AddressMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: AddressMaxAggregateInputType +} export type GetAddressAggregateType = { - [P in keyof T & keyof AggregateAddress]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateAddress]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type AddressGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.AddressWhereInput; - orderBy?: Prisma.AddressOrderByWithAggregationInput | Prisma.AddressOrderByWithAggregationInput[]; - by: Prisma.AddressScalarFieldEnum[] | Prisma.AddressScalarFieldEnum; - having?: Prisma.AddressScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: AddressCountAggregateInputType | true; - _min?: AddressMinAggregateInputType; - _max?: AddressMaxAggregateInputType; -}; + + + +export type AddressGroupByArgs = { + where?: Prisma.AddressWhereInput + orderBy?: Prisma.AddressOrderByWithAggregationInput | Prisma.AddressOrderByWithAggregationInput[] + by: Prisma.AddressScalarFieldEnum[] | Prisma.AddressScalarFieldEnum + having?: Prisma.AddressScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: AddressCountAggregateInputType | true + _min?: AddressMinAggregateInputType + _max?: AddressMaxAggregateInputType +} export type AddressGroupByOutputType = { - id: string; - profileId: string; - street: string; - city: string; - state: string; - postalCode: string; - country: string; - type: string; - isDefaultMailing: boolean; - isDefaultBilling: boolean; - isDefaultShipping: boolean; - _count: AddressCountAggregateOutputType | null; - _min: AddressMinAggregateOutputType | null; - _max: AddressMaxAggregateOutputType | null; -}; + id: string + profileId: string + street: string + city: string + state: string + postalCode: string + country: string + type: string + isDefaultMailing: boolean + isDefaultBilling: boolean + isDefaultShipping: boolean + _count: AddressCountAggregateOutputType | null + _min: AddressMinAggregateOutputType | null + _max: AddressMaxAggregateOutputType | null +} export type GetAddressGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof AddressGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > ->; + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof AddressGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + export type AddressWhereInput = { - AND?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[]; - OR?: Prisma.AddressWhereInput[]; - NOT?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[]; - id?: Prisma.StringFilter<'Address'> | string; - profileId?: Prisma.StringFilter<'Address'> | string; - street?: Prisma.StringFilter<'Address'> | string; - city?: Prisma.StringFilter<'Address'> | string; - state?: Prisma.StringFilter<'Address'> | string; - postalCode?: Prisma.StringFilter<'Address'> | string; - country?: Prisma.StringFilter<'Address'> | string; - type?: Prisma.StringFilter<'Address'> | string; - isDefaultMailing?: Prisma.BoolFilter<'Address'> | boolean; - isDefaultBilling?: Prisma.BoolFilter<'Address'> | boolean; - isDefaultShipping?: Prisma.BoolFilter<'Address'> | boolean; - profile?: Prisma.XOR; -}; + AND?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[] + OR?: Prisma.AddressWhereInput[] + NOT?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[] + id?: Prisma.StringFilter<"Address"> | string + profileId?: Prisma.StringFilter<"Address"> | string + street?: Prisma.StringFilter<"Address"> | string + city?: Prisma.StringFilter<"Address"> | string + state?: Prisma.StringFilter<"Address"> | string + postalCode?: Prisma.StringFilter<"Address"> | string + country?: Prisma.StringFilter<"Address"> | string + type?: Prisma.StringFilter<"Address"> | string + isDefaultMailing?: Prisma.BoolFilter<"Address"> | boolean + isDefaultBilling?: Prisma.BoolFilter<"Address"> | boolean + isDefaultShipping?: Prisma.BoolFilter<"Address"> | boolean + profile?: Prisma.XOR +} export type AddressOrderByWithRelationInput = { - id?: Prisma.SortOrder; - profileId?: Prisma.SortOrder; - street?: Prisma.SortOrder; - city?: Prisma.SortOrder; - state?: Prisma.SortOrder; - postalCode?: Prisma.SortOrder; - country?: Prisma.SortOrder; - type?: Prisma.SortOrder; - isDefaultMailing?: Prisma.SortOrder; - isDefaultBilling?: Prisma.SortOrder; - isDefaultShipping?: Prisma.SortOrder; - profile?: Prisma.ProfileOrderByWithRelationInput; -}; + id?: Prisma.SortOrder + profileId?: Prisma.SortOrder + street?: Prisma.SortOrder + city?: Prisma.SortOrder + state?: Prisma.SortOrder + postalCode?: Prisma.SortOrder + country?: Prisma.SortOrder + type?: Prisma.SortOrder + isDefaultMailing?: Prisma.SortOrder + isDefaultBilling?: Prisma.SortOrder + isDefaultShipping?: Prisma.SortOrder + profile?: Prisma.ProfileOrderByWithRelationInput +} -export type AddressWhereUniqueInput = Prisma.AtLeast< - { - id?: string; - AND?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[]; - OR?: Prisma.AddressWhereInput[]; - NOT?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[]; - profileId?: Prisma.StringFilter<'Address'> | string; - street?: Prisma.StringFilter<'Address'> | string; - city?: Prisma.StringFilter<'Address'> | string; - state?: Prisma.StringFilter<'Address'> | string; - postalCode?: Prisma.StringFilter<'Address'> | string; - country?: Prisma.StringFilter<'Address'> | string; - type?: Prisma.StringFilter<'Address'> | string; - isDefaultMailing?: Prisma.BoolFilter<'Address'> | boolean; - isDefaultBilling?: Prisma.BoolFilter<'Address'> | boolean; - isDefaultShipping?: Prisma.BoolFilter<'Address'> | boolean; - profile?: Prisma.XOR; - }, - 'id' ->; +export type AddressWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[] + OR?: Prisma.AddressWhereInput[] + NOT?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[] + profileId?: Prisma.StringFilter<"Address"> | string + street?: Prisma.StringFilter<"Address"> | string + city?: Prisma.StringFilter<"Address"> | string + state?: Prisma.StringFilter<"Address"> | string + postalCode?: Prisma.StringFilter<"Address"> | string + country?: Prisma.StringFilter<"Address"> | string + type?: Prisma.StringFilter<"Address"> | string + isDefaultMailing?: Prisma.BoolFilter<"Address"> | boolean + isDefaultBilling?: Prisma.BoolFilter<"Address"> | boolean + isDefaultShipping?: Prisma.BoolFilter<"Address"> | boolean + profile?: Prisma.XOR +}, "id"> export type AddressOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - profileId?: Prisma.SortOrder; - street?: Prisma.SortOrder; - city?: Prisma.SortOrder; - state?: Prisma.SortOrder; - postalCode?: Prisma.SortOrder; - country?: Prisma.SortOrder; - type?: Prisma.SortOrder; - isDefaultMailing?: Prisma.SortOrder; - isDefaultBilling?: Prisma.SortOrder; - isDefaultShipping?: Prisma.SortOrder; - _count?: Prisma.AddressCountOrderByAggregateInput; - _max?: Prisma.AddressMaxOrderByAggregateInput; - _min?: Prisma.AddressMinOrderByAggregateInput; -}; + id?: Prisma.SortOrder + profileId?: Prisma.SortOrder + street?: Prisma.SortOrder + city?: Prisma.SortOrder + state?: Prisma.SortOrder + postalCode?: Prisma.SortOrder + country?: Prisma.SortOrder + type?: Prisma.SortOrder + isDefaultMailing?: Prisma.SortOrder + isDefaultBilling?: Prisma.SortOrder + isDefaultShipping?: Prisma.SortOrder + _count?: Prisma.AddressCountOrderByAggregateInput + _max?: Prisma.AddressMaxOrderByAggregateInput + _min?: Prisma.AddressMinOrderByAggregateInput +} export type AddressScalarWhereWithAggregatesInput = { - AND?: - | Prisma.AddressScalarWhereWithAggregatesInput - | Prisma.AddressScalarWhereWithAggregatesInput[]; - OR?: Prisma.AddressScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.AddressScalarWhereWithAggregatesInput - | Prisma.AddressScalarWhereWithAggregatesInput[]; - id?: Prisma.StringWithAggregatesFilter<'Address'> | string; - profileId?: Prisma.StringWithAggregatesFilter<'Address'> | string; - street?: Prisma.StringWithAggregatesFilter<'Address'> | string; - city?: Prisma.StringWithAggregatesFilter<'Address'> | string; - state?: Prisma.StringWithAggregatesFilter<'Address'> | string; - postalCode?: Prisma.StringWithAggregatesFilter<'Address'> | string; - country?: Prisma.StringWithAggregatesFilter<'Address'> | string; - type?: Prisma.StringWithAggregatesFilter<'Address'> | string; - isDefaultMailing?: Prisma.BoolWithAggregatesFilter<'Address'> | boolean; - isDefaultBilling?: Prisma.BoolWithAggregatesFilter<'Address'> | boolean; - isDefaultShipping?: Prisma.BoolWithAggregatesFilter<'Address'> | boolean; -}; + AND?: Prisma.AddressScalarWhereWithAggregatesInput | Prisma.AddressScalarWhereWithAggregatesInput[] + OR?: Prisma.AddressScalarWhereWithAggregatesInput[] + NOT?: Prisma.AddressScalarWhereWithAggregatesInput | Prisma.AddressScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"Address"> | string + profileId?: Prisma.StringWithAggregatesFilter<"Address"> | string + street?: Prisma.StringWithAggregatesFilter<"Address"> | string + city?: Prisma.StringWithAggregatesFilter<"Address"> | string + state?: Prisma.StringWithAggregatesFilter<"Address"> | string + postalCode?: Prisma.StringWithAggregatesFilter<"Address"> | string + country?: Prisma.StringWithAggregatesFilter<"Address"> | string + type?: Prisma.StringWithAggregatesFilter<"Address"> | string + isDefaultMailing?: Prisma.BoolWithAggregatesFilter<"Address"> | boolean + isDefaultBilling?: Prisma.BoolWithAggregatesFilter<"Address"> | boolean + isDefaultShipping?: Prisma.BoolWithAggregatesFilter<"Address"> | boolean +} export type AddressCreateInput = { - id?: string; - street: string; - city: string; - state: string; - postalCode: string; - country: string; - type?: string; - isDefaultMailing?: boolean; - isDefaultBilling?: boolean; - isDefaultShipping?: boolean; - profile: Prisma.ProfileCreateNestedOneWithoutAddressesInput; -}; + id?: string + street: string + city: string + state: string + postalCode: string + country: string + type?: string + isDefaultMailing?: boolean + isDefaultBilling?: boolean + isDefaultShipping?: boolean + profile: Prisma.ProfileCreateNestedOneWithoutAddressesInput +} export type AddressUncheckedCreateInput = { - id?: string; - profileId: string; - street: string; - city: string; - state: string; - postalCode: string; - country: string; - type?: string; - isDefaultMailing?: boolean; - isDefaultBilling?: boolean; - isDefaultShipping?: boolean; -}; + id?: string + profileId: string + street: string + city: string + state: string + postalCode: string + country: string + type?: string + isDefaultMailing?: boolean + isDefaultBilling?: boolean + isDefaultShipping?: boolean +} export type AddressUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - street?: Prisma.StringFieldUpdateOperationsInput | string; - city?: Prisma.StringFieldUpdateOperationsInput | string; - state?: Prisma.StringFieldUpdateOperationsInput | string; - postalCode?: Prisma.StringFieldUpdateOperationsInput | string; - country?: Prisma.StringFieldUpdateOperationsInput | string; - type?: Prisma.StringFieldUpdateOperationsInput | string; - isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean; - profile?: Prisma.ProfileUpdateOneRequiredWithoutAddressesNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + street?: Prisma.StringFieldUpdateOperationsInput | string + city?: Prisma.StringFieldUpdateOperationsInput | string + state?: Prisma.StringFieldUpdateOperationsInput | string + postalCode?: Prisma.StringFieldUpdateOperationsInput | string + country?: Prisma.StringFieldUpdateOperationsInput | string + type?: Prisma.StringFieldUpdateOperationsInput | string + isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean + profile?: Prisma.ProfileUpdateOneRequiredWithoutAddressesNestedInput +} export type AddressUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - profileId?: Prisma.StringFieldUpdateOperationsInput | string; - street?: Prisma.StringFieldUpdateOperationsInput | string; - city?: Prisma.StringFieldUpdateOperationsInput | string; - state?: Prisma.StringFieldUpdateOperationsInput | string; - postalCode?: Prisma.StringFieldUpdateOperationsInput | string; - country?: Prisma.StringFieldUpdateOperationsInput | string; - type?: Prisma.StringFieldUpdateOperationsInput | string; - isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + profileId?: Prisma.StringFieldUpdateOperationsInput | string + street?: Prisma.StringFieldUpdateOperationsInput | string + city?: Prisma.StringFieldUpdateOperationsInput | string + state?: Prisma.StringFieldUpdateOperationsInput | string + postalCode?: Prisma.StringFieldUpdateOperationsInput | string + country?: Prisma.StringFieldUpdateOperationsInput | string + type?: Prisma.StringFieldUpdateOperationsInput | string + isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean +} export type AddressCreateManyInput = { - id?: string; - profileId: string; - street: string; - city: string; - state: string; - postalCode: string; - country: string; - type?: string; - isDefaultMailing?: boolean; - isDefaultBilling?: boolean; - isDefaultShipping?: boolean; -}; + id?: string + profileId: string + street: string + city: string + state: string + postalCode: string + country: string + type?: string + isDefaultMailing?: boolean + isDefaultBilling?: boolean + isDefaultShipping?: boolean +} export type AddressUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - street?: Prisma.StringFieldUpdateOperationsInput | string; - city?: Prisma.StringFieldUpdateOperationsInput | string; - state?: Prisma.StringFieldUpdateOperationsInput | string; - postalCode?: Prisma.StringFieldUpdateOperationsInput | string; - country?: Prisma.StringFieldUpdateOperationsInput | string; - type?: Prisma.StringFieldUpdateOperationsInput | string; - isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + street?: Prisma.StringFieldUpdateOperationsInput | string + city?: Prisma.StringFieldUpdateOperationsInput | string + state?: Prisma.StringFieldUpdateOperationsInput | string + postalCode?: Prisma.StringFieldUpdateOperationsInput | string + country?: Prisma.StringFieldUpdateOperationsInput | string + type?: Prisma.StringFieldUpdateOperationsInput | string + isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean +} export type AddressUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - profileId?: Prisma.StringFieldUpdateOperationsInput | string; - street?: Prisma.StringFieldUpdateOperationsInput | string; - city?: Prisma.StringFieldUpdateOperationsInput | string; - state?: Prisma.StringFieldUpdateOperationsInput | string; - postalCode?: Prisma.StringFieldUpdateOperationsInput | string; - country?: Prisma.StringFieldUpdateOperationsInput | string; - type?: Prisma.StringFieldUpdateOperationsInput | string; - isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + profileId?: Prisma.StringFieldUpdateOperationsInput | string + street?: Prisma.StringFieldUpdateOperationsInput | string + city?: Prisma.StringFieldUpdateOperationsInput | string + state?: Prisma.StringFieldUpdateOperationsInput | string + postalCode?: Prisma.StringFieldUpdateOperationsInput | string + country?: Prisma.StringFieldUpdateOperationsInput | string + type?: Prisma.StringFieldUpdateOperationsInput | string + isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean +} export type AddressListRelationFilter = { - every?: Prisma.AddressWhereInput; - some?: Prisma.AddressWhereInput; - none?: Prisma.AddressWhereInput; -}; + every?: Prisma.AddressWhereInput + some?: Prisma.AddressWhereInput + none?: Prisma.AddressWhereInput +} export type AddressOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder; -}; + _count?: Prisma.SortOrder +} export type AddressCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - profileId?: Prisma.SortOrder; - street?: Prisma.SortOrder; - city?: Prisma.SortOrder; - state?: Prisma.SortOrder; - postalCode?: Prisma.SortOrder; - country?: Prisma.SortOrder; - type?: Prisma.SortOrder; - isDefaultMailing?: Prisma.SortOrder; - isDefaultBilling?: Prisma.SortOrder; - isDefaultShipping?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + profileId?: Prisma.SortOrder + street?: Prisma.SortOrder + city?: Prisma.SortOrder + state?: Prisma.SortOrder + postalCode?: Prisma.SortOrder + country?: Prisma.SortOrder + type?: Prisma.SortOrder + isDefaultMailing?: Prisma.SortOrder + isDefaultBilling?: Prisma.SortOrder + isDefaultShipping?: Prisma.SortOrder +} export type AddressMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - profileId?: Prisma.SortOrder; - street?: Prisma.SortOrder; - city?: Prisma.SortOrder; - state?: Prisma.SortOrder; - postalCode?: Prisma.SortOrder; - country?: Prisma.SortOrder; - type?: Prisma.SortOrder; - isDefaultMailing?: Prisma.SortOrder; - isDefaultBilling?: Prisma.SortOrder; - isDefaultShipping?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + profileId?: Prisma.SortOrder + street?: Prisma.SortOrder + city?: Prisma.SortOrder + state?: Prisma.SortOrder + postalCode?: Prisma.SortOrder + country?: Prisma.SortOrder + type?: Prisma.SortOrder + isDefaultMailing?: Prisma.SortOrder + isDefaultBilling?: Prisma.SortOrder + isDefaultShipping?: Prisma.SortOrder +} export type AddressMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - profileId?: Prisma.SortOrder; - street?: Prisma.SortOrder; - city?: Prisma.SortOrder; - state?: Prisma.SortOrder; - postalCode?: Prisma.SortOrder; - country?: Prisma.SortOrder; - type?: Prisma.SortOrder; - isDefaultMailing?: Prisma.SortOrder; - isDefaultBilling?: Prisma.SortOrder; - isDefaultShipping?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + profileId?: Prisma.SortOrder + street?: Prisma.SortOrder + city?: Prisma.SortOrder + state?: Prisma.SortOrder + postalCode?: Prisma.SortOrder + country?: Prisma.SortOrder + type?: Prisma.SortOrder + isDefaultMailing?: Prisma.SortOrder + isDefaultBilling?: Prisma.SortOrder + isDefaultShipping?: Prisma.SortOrder +} export type AddressCreateNestedManyWithoutProfileInput = { - create?: - | Prisma.XOR< - Prisma.AddressCreateWithoutProfileInput, - Prisma.AddressUncheckedCreateWithoutProfileInput - > - | Prisma.AddressCreateWithoutProfileInput[] - | Prisma.AddressUncheckedCreateWithoutProfileInput[]; - connectOrCreate?: - | Prisma.AddressCreateOrConnectWithoutProfileInput - | Prisma.AddressCreateOrConnectWithoutProfileInput[]; - createMany?: Prisma.AddressCreateManyProfileInputEnvelope; - connect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.AddressCreateWithoutProfileInput[] | Prisma.AddressUncheckedCreateWithoutProfileInput[] + connectOrCreate?: Prisma.AddressCreateOrConnectWithoutProfileInput | Prisma.AddressCreateOrConnectWithoutProfileInput[] + createMany?: Prisma.AddressCreateManyProfileInputEnvelope + connect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[] +} export type AddressUncheckedCreateNestedManyWithoutProfileInput = { - create?: - | Prisma.XOR< - Prisma.AddressCreateWithoutProfileInput, - Prisma.AddressUncheckedCreateWithoutProfileInput - > - | Prisma.AddressCreateWithoutProfileInput[] - | Prisma.AddressUncheckedCreateWithoutProfileInput[]; - connectOrCreate?: - | Prisma.AddressCreateOrConnectWithoutProfileInput - | Prisma.AddressCreateOrConnectWithoutProfileInput[]; - createMany?: Prisma.AddressCreateManyProfileInputEnvelope; - connect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.AddressCreateWithoutProfileInput[] | Prisma.AddressUncheckedCreateWithoutProfileInput[] + connectOrCreate?: Prisma.AddressCreateOrConnectWithoutProfileInput | Prisma.AddressCreateOrConnectWithoutProfileInput[] + createMany?: Prisma.AddressCreateManyProfileInputEnvelope + connect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[] +} export type AddressUpdateManyWithoutProfileNestedInput = { - create?: - | Prisma.XOR< - Prisma.AddressCreateWithoutProfileInput, - Prisma.AddressUncheckedCreateWithoutProfileInput - > - | Prisma.AddressCreateWithoutProfileInput[] - | Prisma.AddressUncheckedCreateWithoutProfileInput[]; - connectOrCreate?: - | Prisma.AddressCreateOrConnectWithoutProfileInput - | Prisma.AddressCreateOrConnectWithoutProfileInput[]; - upsert?: - | Prisma.AddressUpsertWithWhereUniqueWithoutProfileInput - | Prisma.AddressUpsertWithWhereUniqueWithoutProfileInput[]; - createMany?: Prisma.AddressCreateManyProfileInputEnvelope; - set?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[]; - disconnect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[]; - delete?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[]; - connect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[]; - update?: - | Prisma.AddressUpdateWithWhereUniqueWithoutProfileInput - | Prisma.AddressUpdateWithWhereUniqueWithoutProfileInput[]; - updateMany?: - | Prisma.AddressUpdateManyWithWhereWithoutProfileInput - | Prisma.AddressUpdateManyWithWhereWithoutProfileInput[]; - deleteMany?: Prisma.AddressScalarWhereInput | Prisma.AddressScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.AddressCreateWithoutProfileInput[] | Prisma.AddressUncheckedCreateWithoutProfileInput[] + connectOrCreate?: Prisma.AddressCreateOrConnectWithoutProfileInput | Prisma.AddressCreateOrConnectWithoutProfileInput[] + upsert?: Prisma.AddressUpsertWithWhereUniqueWithoutProfileInput | Prisma.AddressUpsertWithWhereUniqueWithoutProfileInput[] + createMany?: Prisma.AddressCreateManyProfileInputEnvelope + set?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[] + disconnect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[] + delete?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[] + connect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[] + update?: Prisma.AddressUpdateWithWhereUniqueWithoutProfileInput | Prisma.AddressUpdateWithWhereUniqueWithoutProfileInput[] + updateMany?: Prisma.AddressUpdateManyWithWhereWithoutProfileInput | Prisma.AddressUpdateManyWithWhereWithoutProfileInput[] + deleteMany?: Prisma.AddressScalarWhereInput | Prisma.AddressScalarWhereInput[] +} export type AddressUncheckedUpdateManyWithoutProfileNestedInput = { - create?: - | Prisma.XOR< - Prisma.AddressCreateWithoutProfileInput, - Prisma.AddressUncheckedCreateWithoutProfileInput - > - | Prisma.AddressCreateWithoutProfileInput[] - | Prisma.AddressUncheckedCreateWithoutProfileInput[]; - connectOrCreate?: - | Prisma.AddressCreateOrConnectWithoutProfileInput - | Prisma.AddressCreateOrConnectWithoutProfileInput[]; - upsert?: - | Prisma.AddressUpsertWithWhereUniqueWithoutProfileInput - | Prisma.AddressUpsertWithWhereUniqueWithoutProfileInput[]; - createMany?: Prisma.AddressCreateManyProfileInputEnvelope; - set?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[]; - disconnect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[]; - delete?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[]; - connect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[]; - update?: - | Prisma.AddressUpdateWithWhereUniqueWithoutProfileInput - | Prisma.AddressUpdateWithWhereUniqueWithoutProfileInput[]; - updateMany?: - | Prisma.AddressUpdateManyWithWhereWithoutProfileInput - | Prisma.AddressUpdateManyWithWhereWithoutProfileInput[]; - deleteMany?: Prisma.AddressScalarWhereInput | Prisma.AddressScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.AddressCreateWithoutProfileInput[] | Prisma.AddressUncheckedCreateWithoutProfileInput[] + connectOrCreate?: Prisma.AddressCreateOrConnectWithoutProfileInput | Prisma.AddressCreateOrConnectWithoutProfileInput[] + upsert?: Prisma.AddressUpsertWithWhereUniqueWithoutProfileInput | Prisma.AddressUpsertWithWhereUniqueWithoutProfileInput[] + createMany?: Prisma.AddressCreateManyProfileInputEnvelope + set?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[] + disconnect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[] + delete?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[] + connect?: Prisma.AddressWhereUniqueInput | Prisma.AddressWhereUniqueInput[] + update?: Prisma.AddressUpdateWithWhereUniqueWithoutProfileInput | Prisma.AddressUpdateWithWhereUniqueWithoutProfileInput[] + updateMany?: Prisma.AddressUpdateManyWithWhereWithoutProfileInput | Prisma.AddressUpdateManyWithWhereWithoutProfileInput[] + deleteMany?: Prisma.AddressScalarWhereInput | Prisma.AddressScalarWhereInput[] +} export type AddressCreateWithoutProfileInput = { - id?: string; - street: string; - city: string; - state: string; - postalCode: string; - country: string; - type?: string; - isDefaultMailing?: boolean; - isDefaultBilling?: boolean; - isDefaultShipping?: boolean; -}; + id?: string + street: string + city: string + state: string + postalCode: string + country: string + type?: string + isDefaultMailing?: boolean + isDefaultBilling?: boolean + isDefaultShipping?: boolean +} export type AddressUncheckedCreateWithoutProfileInput = { - id?: string; - street: string; - city: string; - state: string; - postalCode: string; - country: string; - type?: string; - isDefaultMailing?: boolean; - isDefaultBilling?: boolean; - isDefaultShipping?: boolean; -}; + id?: string + street: string + city: string + state: string + postalCode: string + country: string + type?: string + isDefaultMailing?: boolean + isDefaultBilling?: boolean + isDefaultShipping?: boolean +} export type AddressCreateOrConnectWithoutProfileInput = { - where: Prisma.AddressWhereUniqueInput; - create: Prisma.XOR< - Prisma.AddressCreateWithoutProfileInput, - Prisma.AddressUncheckedCreateWithoutProfileInput - >; -}; + where: Prisma.AddressWhereUniqueInput + create: Prisma.XOR +} export type AddressCreateManyProfileInputEnvelope = { - data: Prisma.AddressCreateManyProfileInput | Prisma.AddressCreateManyProfileInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.AddressCreateManyProfileInput | Prisma.AddressCreateManyProfileInput[] + skipDuplicates?: boolean +} export type AddressUpsertWithWhereUniqueWithoutProfileInput = { - where: Prisma.AddressWhereUniqueInput; - update: Prisma.XOR< - Prisma.AddressUpdateWithoutProfileInput, - Prisma.AddressUncheckedUpdateWithoutProfileInput - >; - create: Prisma.XOR< - Prisma.AddressCreateWithoutProfileInput, - Prisma.AddressUncheckedCreateWithoutProfileInput - >; -}; + where: Prisma.AddressWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type AddressUpdateWithWhereUniqueWithoutProfileInput = { - where: Prisma.AddressWhereUniqueInput; - data: Prisma.XOR< - Prisma.AddressUpdateWithoutProfileInput, - Prisma.AddressUncheckedUpdateWithoutProfileInput - >; -}; + where: Prisma.AddressWhereUniqueInput + data: Prisma.XOR +} export type AddressUpdateManyWithWhereWithoutProfileInput = { - where: Prisma.AddressScalarWhereInput; - data: Prisma.XOR< - Prisma.AddressUpdateManyMutationInput, - Prisma.AddressUncheckedUpdateManyWithoutProfileInput - >; -}; + where: Prisma.AddressScalarWhereInput + data: Prisma.XOR +} export type AddressScalarWhereInput = { - AND?: Prisma.AddressScalarWhereInput | Prisma.AddressScalarWhereInput[]; - OR?: Prisma.AddressScalarWhereInput[]; - NOT?: Prisma.AddressScalarWhereInput | Prisma.AddressScalarWhereInput[]; - id?: Prisma.StringFilter<'Address'> | string; - profileId?: Prisma.StringFilter<'Address'> | string; - street?: Prisma.StringFilter<'Address'> | string; - city?: Prisma.StringFilter<'Address'> | string; - state?: Prisma.StringFilter<'Address'> | string; - postalCode?: Prisma.StringFilter<'Address'> | string; - country?: Prisma.StringFilter<'Address'> | string; - type?: Prisma.StringFilter<'Address'> | string; - isDefaultMailing?: Prisma.BoolFilter<'Address'> | boolean; - isDefaultBilling?: Prisma.BoolFilter<'Address'> | boolean; - isDefaultShipping?: Prisma.BoolFilter<'Address'> | boolean; -}; + AND?: Prisma.AddressScalarWhereInput | Prisma.AddressScalarWhereInput[] + OR?: Prisma.AddressScalarWhereInput[] + NOT?: Prisma.AddressScalarWhereInput | Prisma.AddressScalarWhereInput[] + id?: Prisma.StringFilter<"Address"> | string + profileId?: Prisma.StringFilter<"Address"> | string + street?: Prisma.StringFilter<"Address"> | string + city?: Prisma.StringFilter<"Address"> | string + state?: Prisma.StringFilter<"Address"> | string + postalCode?: Prisma.StringFilter<"Address"> | string + country?: Prisma.StringFilter<"Address"> | string + type?: Prisma.StringFilter<"Address"> | string + isDefaultMailing?: Prisma.BoolFilter<"Address"> | boolean + isDefaultBilling?: Prisma.BoolFilter<"Address"> | boolean + isDefaultShipping?: Prisma.BoolFilter<"Address"> | boolean +} export type AddressCreateManyProfileInput = { - id?: string; - street: string; - city: string; - state: string; - postalCode: string; - country: string; - type?: string; - isDefaultMailing?: boolean; - isDefaultBilling?: boolean; - isDefaultShipping?: boolean; -}; + id?: string + street: string + city: string + state: string + postalCode: string + country: string + type?: string + isDefaultMailing?: boolean + isDefaultBilling?: boolean + isDefaultShipping?: boolean +} export type AddressUpdateWithoutProfileInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - street?: Prisma.StringFieldUpdateOperationsInput | string; - city?: Prisma.StringFieldUpdateOperationsInput | string; - state?: Prisma.StringFieldUpdateOperationsInput | string; - postalCode?: Prisma.StringFieldUpdateOperationsInput | string; - country?: Prisma.StringFieldUpdateOperationsInput | string; - type?: Prisma.StringFieldUpdateOperationsInput | string; - isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + street?: Prisma.StringFieldUpdateOperationsInput | string + city?: Prisma.StringFieldUpdateOperationsInput | string + state?: Prisma.StringFieldUpdateOperationsInput | string + postalCode?: Prisma.StringFieldUpdateOperationsInput | string + country?: Prisma.StringFieldUpdateOperationsInput | string + type?: Prisma.StringFieldUpdateOperationsInput | string + isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean +} export type AddressUncheckedUpdateWithoutProfileInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - street?: Prisma.StringFieldUpdateOperationsInput | string; - city?: Prisma.StringFieldUpdateOperationsInput | string; - state?: Prisma.StringFieldUpdateOperationsInput | string; - postalCode?: Prisma.StringFieldUpdateOperationsInput | string; - country?: Prisma.StringFieldUpdateOperationsInput | string; - type?: Prisma.StringFieldUpdateOperationsInput | string; - isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + street?: Prisma.StringFieldUpdateOperationsInput | string + city?: Prisma.StringFieldUpdateOperationsInput | string + state?: Prisma.StringFieldUpdateOperationsInput | string + postalCode?: Prisma.StringFieldUpdateOperationsInput | string + country?: Prisma.StringFieldUpdateOperationsInput | string + type?: Prisma.StringFieldUpdateOperationsInput | string + isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean +} export type AddressUncheckedUpdateManyWithoutProfileInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - street?: Prisma.StringFieldUpdateOperationsInput | string; - city?: Prisma.StringFieldUpdateOperationsInput | string; - state?: Prisma.StringFieldUpdateOperationsInput | string; - postalCode?: Prisma.StringFieldUpdateOperationsInput | string; - country?: Prisma.StringFieldUpdateOperationsInput | string; - type?: Prisma.StringFieldUpdateOperationsInput | string; - isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean; - isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + street?: Prisma.StringFieldUpdateOperationsInput | string + city?: Prisma.StringFieldUpdateOperationsInput | string + state?: Prisma.StringFieldUpdateOperationsInput | string + postalCode?: Prisma.StringFieldUpdateOperationsInput | string + country?: Prisma.StringFieldUpdateOperationsInput | string + type?: Prisma.StringFieldUpdateOperationsInput | string + isDefaultMailing?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultBilling?: Prisma.BoolFieldUpdateOperationsInput | boolean + isDefaultShipping?: Prisma.BoolFieldUpdateOperationsInput | boolean +} -export type AddressSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - profileId?: boolean; - street?: boolean; - city?: boolean; - state?: boolean; - postalCode?: boolean; - country?: boolean; - type?: boolean; - isDefaultMailing?: boolean; - isDefaultBilling?: boolean; - isDefaultShipping?: boolean; - profile?: boolean | Prisma.ProfileDefaultArgs; - }, - ExtArgs['result']['address'] ->; -export type AddressSelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - profileId?: boolean; - street?: boolean; - city?: boolean; - state?: boolean; - postalCode?: boolean; - country?: boolean; - type?: boolean; - isDefaultMailing?: boolean; - isDefaultBilling?: boolean; - isDefaultShipping?: boolean; - profile?: boolean | Prisma.ProfileDefaultArgs; - }, - ExtArgs['result']['address'] ->; -export type AddressSelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - profileId?: boolean; - street?: boolean; - city?: boolean; - state?: boolean; - postalCode?: boolean; - country?: boolean; - type?: boolean; - isDefaultMailing?: boolean; - isDefaultBilling?: boolean; - isDefaultShipping?: boolean; - profile?: boolean | Prisma.ProfileDefaultArgs; - }, - ExtArgs['result']['address'] ->; +export type AddressSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + profileId?: boolean + street?: boolean + city?: boolean + state?: boolean + postalCode?: boolean + country?: boolean + type?: boolean + isDefaultMailing?: boolean + isDefaultBilling?: boolean + isDefaultShipping?: boolean + profile?: boolean | Prisma.ProfileDefaultArgs +}, ExtArgs["result"]["address"]> + +export type AddressSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + profileId?: boolean + street?: boolean + city?: boolean + state?: boolean + postalCode?: boolean + country?: boolean + type?: boolean + isDefaultMailing?: boolean + isDefaultBilling?: boolean + isDefaultShipping?: boolean + profile?: boolean | Prisma.ProfileDefaultArgs +}, ExtArgs["result"]["address"]> + +export type AddressSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + profileId?: boolean + street?: boolean + city?: boolean + state?: boolean + postalCode?: boolean + country?: boolean + type?: boolean + isDefaultMailing?: boolean + isDefaultBilling?: boolean + isDefaultShipping?: boolean + profile?: boolean | Prisma.ProfileDefaultArgs +}, ExtArgs["result"]["address"]> export type AddressSelectScalar = { - id?: boolean; - profileId?: boolean; - street?: boolean; - city?: boolean; - state?: boolean; - postalCode?: boolean; - country?: boolean; - type?: boolean; - isDefaultMailing?: boolean; - isDefaultBilling?: boolean; - isDefaultShipping?: boolean; -}; + id?: boolean + profileId?: boolean + street?: boolean + city?: boolean + state?: boolean + postalCode?: boolean + country?: boolean + type?: boolean + isDefaultMailing?: boolean + isDefaultBilling?: boolean + isDefaultShipping?: boolean +} -export type AddressOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - | 'id' - | 'profileId' - | 'street' - | 'city' - | 'state' - | 'postalCode' - | 'country' - | 'type' - | 'isDefaultMailing' - | 'isDefaultBilling' - | 'isDefaultShipping', - ExtArgs['result']['address'] ->; -export type AddressInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - profile?: boolean | Prisma.ProfileDefaultArgs; -}; -export type AddressIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - profile?: boolean | Prisma.ProfileDefaultArgs; -}; -export type AddressIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - profile?: boolean | Prisma.ProfileDefaultArgs; -}; +export type AddressOmit = runtime.Types.Extensions.GetOmit<"id" | "profileId" | "street" | "city" | "state" | "postalCode" | "country" | "type" | "isDefaultMailing" | "isDefaultBilling" | "isDefaultShipping", ExtArgs["result"]["address"]> +export type AddressInclude = { + profile?: boolean | Prisma.ProfileDefaultArgs +} +export type AddressIncludeCreateManyAndReturn = { + profile?: boolean | Prisma.ProfileDefaultArgs +} +export type AddressIncludeUpdateManyAndReturn = { + profile?: boolean | Prisma.ProfileDefaultArgs +} -export type $AddressPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'Address'; - objects: { - profile: Prisma.$ProfilePayload; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: string; - profileId: string; - street: string; - city: string; - state: string; - postalCode: string; - country: string; - type: string; - isDefaultMailing: boolean; - isDefaultBilling: boolean; - isDefaultShipping: boolean; - }, - ExtArgs['result']['address'] - >; - composites: {}; -}; +export type $AddressPayload = { + name: "Address" + objects: { + profile: Prisma.$ProfilePayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + profileId: string + street: string + city: string + state: string + postalCode: string + country: string + type: string + isDefaultMailing: boolean + isDefaultBilling: boolean + isDefaultShipping: boolean + }, ExtArgs["result"]["address"]> + composites: {} +} -export type AddressGetPayload = - runtime.Types.Result.GetResult; +export type AddressGetPayload = runtime.Types.Result.GetResult -export type AddressCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: AddressCountAggregateInputType | true; -}; +export type AddressCountArgs = + Omit & { + select?: AddressCountAggregateInputType | true + } -export interface AddressDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { types: Prisma.TypeMap['model']['Address']; meta: { name: 'Address' } }; - /** - * Find zero or one Address that matches the filter. - * @param {AddressFindUniqueArgs} args - Arguments to find a Address - * @example - * // Get one Address - * const address = await prisma.address.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AddressClient< - runtime.Types.Result.GetResult< - Prisma.$AddressPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface AddressDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['Address'], meta: { name: 'Address' } } + /** + * Find zero or one Address that matches the filter. + * @param {AddressFindUniqueArgs} args - Arguments to find a Address + * @example + * // Get one Address + * const address = await prisma.address.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AddressClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one Address that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AddressFindUniqueOrThrowArgs} args - Arguments to find a Address - * @example - * // Get one Address - * const address = await prisma.address.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AddressClient< - runtime.Types.Result.GetResult< - Prisma.$AddressPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one Address that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {AddressFindUniqueOrThrowArgs} args - Arguments to find a Address + * @example + * // Get one Address + * const address = await prisma.address.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AddressClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first Address that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AddressFindFirstArgs} args - Arguments to find a Address - * @example - * // Get one Address - * const address = await prisma.address.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__AddressClient< - runtime.Types.Result.GetResult< - Prisma.$AddressPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Address that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AddressFindFirstArgs} args - Arguments to find a Address + * @example + * // Get one Address + * const address = await prisma.address.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AddressClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first Address that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AddressFindFirstOrThrowArgs} args - Arguments to find a Address - * @example - * // Get one Address - * const address = await prisma.address.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__AddressClient< - runtime.Types.Result.GetResult< - Prisma.$AddressPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Address that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AddressFindFirstOrThrowArgs} args - Arguments to find a Address + * @example + * // Get one Address + * const address = await prisma.address.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AddressClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more Addresses that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AddressFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Addresses - * const addresses = await prisma.address.findMany() - * - * // Get first 10 Addresses - * const addresses = await prisma.address.findMany({ take: 10 }) - * - * // Only select the `id` - * const addressWithIdOnly = await prisma.address.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$AddressPayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more Addresses that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AddressFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Addresses + * const addresses = await prisma.address.findMany() + * + * // Get first 10 Addresses + * const addresses = await prisma.address.findMany({ take: 10 }) + * + * // Only select the `id` + * const addressWithIdOnly = await prisma.address.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a Address. - * @param {AddressCreateArgs} args - Arguments to create a Address. - * @example - * // Create one Address - * const Address = await prisma.address.create({ - * data: { - * // ... data to create a Address - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AddressClient< - runtime.Types.Result.GetResult, T, 'create', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a Address. + * @param {AddressCreateArgs} args - Arguments to create a Address. + * @example + * // Create one Address + * const Address = await prisma.address.create({ + * data: { + * // ... data to create a Address + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__AddressClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many Addresses. - * @param {AddressCreateManyArgs} args - Arguments to create many Addresses. - * @example - * // Create many Addresses - * const address = await prisma.address.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many Addresses. + * @param {AddressCreateManyArgs} args - Arguments to create many Addresses. + * @example + * // Create many Addresses + * const address = await prisma.address.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many Addresses and returns the data saved in the database. - * @param {AddressCreateManyAndReturnArgs} args - Arguments to create many Addresses. - * @example - * // Create many Addresses - * const address = await prisma.address.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Addresses and only return the `id` - * const addressWithIdOnly = await prisma.address.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$AddressPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many Addresses and returns the data saved in the database. + * @param {AddressCreateManyAndReturnArgs} args - Arguments to create many Addresses. + * @example + * // Create many Addresses + * const address = await prisma.address.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Addresses and only return the `id` + * const addressWithIdOnly = await prisma.address.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a Address. - * @param {AddressDeleteArgs} args - Arguments to delete one Address. - * @example - * // Delete one Address - * const Address = await prisma.address.delete({ - * where: { - * // ... filter to delete one Address - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AddressClient< - runtime.Types.Result.GetResult, T, 'delete', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a Address. + * @param {AddressDeleteArgs} args - Arguments to delete one Address. + * @example + * // Delete one Address + * const Address = await prisma.address.delete({ + * where: { + * // ... filter to delete one Address + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__AddressClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one Address. - * @param {AddressUpdateArgs} args - Arguments to update one Address. - * @example - * // Update one Address - * const address = await prisma.address.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AddressClient< - runtime.Types.Result.GetResult, T, 'update', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one Address. + * @param {AddressUpdateArgs} args - Arguments to update one Address. + * @example + * // Update one Address + * const address = await prisma.address.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__AddressClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more Addresses. - * @param {AddressDeleteManyArgs} args - Arguments to filter Addresses to delete. - * @example - * // Delete a few Addresses - * const { count } = await prisma.address.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more Addresses. + * @param {AddressDeleteManyArgs} args - Arguments to filter Addresses to delete. + * @example + * // Delete a few Addresses + * const { count } = await prisma.address.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Addresses. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AddressUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Addresses - * const address = await prisma.address.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more Addresses. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AddressUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Addresses + * const address = await prisma.address.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Addresses and returns the data updated in the database. - * @param {AddressUpdateManyAndReturnArgs} args - Arguments to update many Addresses. - * @example - * // Update many Addresses - * const address = await prisma.address.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Addresses and only return the `id` - * const addressWithIdOnly = await prisma.address.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$AddressPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more Addresses and returns the data updated in the database. + * @param {AddressUpdateManyAndReturnArgs} args - Arguments to update many Addresses. + * @example + * // Update many Addresses + * const address = await prisma.address.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Addresses and only return the `id` + * const addressWithIdOnly = await prisma.address.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one Address. - * @param {AddressUpsertArgs} args - Arguments to update or create a Address. - * @example - * // Update or create a Address - * const address = await prisma.address.upsert({ - * create: { - * // ... data to create a Address - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Address we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__AddressClient< - runtime.Types.Result.GetResult, T, 'upsert', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one Address. + * @param {AddressUpsertArgs} args - Arguments to update or create a Address. + * @example + * // Update or create a Address + * const address = await prisma.address.upsert({ + * create: { + * // ... data to create a Address + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Address we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AddressClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of Addresses. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AddressCountArgs} args - Arguments to filter Addresses to count. - * @example - * // Count the number of Addresses - * const count = await prisma.address.count({ - * where: { - * // ... the filter for the Addresses we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a Address. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AddressAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of Addresses. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AddressCountArgs} args - Arguments to filter Addresses to count. + * @example + * // Count the number of Addresses + * const count = await prisma.address.count({ + * where: { + * // ... the filter for the Addresses we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by Address. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AddressGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AddressGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AddressGroupByArgs['orderBy'] } - : { orderBy?: AddressGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors ? GetAddressGroupByPayload : Prisma.PrismaPromise; - /** - * Fields of the Address model - */ - readonly fields: AddressFieldRefs; + /** + * Allows you to perform aggregations operations on a Address. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AddressAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Address. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AddressGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends AddressGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: AddressGroupByArgs['orderBy'] } + : { orderBy?: AddressGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAddressGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the Address model + */ +readonly fields: AddressFieldRefs; } /** @@ -1308,512 +1093,463 @@ export interface AddressDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__AddressClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - profile = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__ProfileClient< - | runtime.Types.Result.GetResult< - Prisma.$ProfilePayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > - | Null, - Null, - ExtArgs, - GlobalOmitOptions - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__AddressClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + profile = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProfileClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the Address model */ export interface AddressFieldRefs { - readonly id: Prisma.FieldRef<'Address', 'String'>; - readonly profileId: Prisma.FieldRef<'Address', 'String'>; - readonly street: Prisma.FieldRef<'Address', 'String'>; - readonly city: Prisma.FieldRef<'Address', 'String'>; - readonly state: Prisma.FieldRef<'Address', 'String'>; - readonly postalCode: Prisma.FieldRef<'Address', 'String'>; - readonly country: Prisma.FieldRef<'Address', 'String'>; - readonly type: Prisma.FieldRef<'Address', 'String'>; - readonly isDefaultMailing: Prisma.FieldRef<'Address', 'Boolean'>; - readonly isDefaultBilling: Prisma.FieldRef<'Address', 'Boolean'>; - readonly isDefaultShipping: Prisma.FieldRef<'Address', 'Boolean'>; + readonly id: Prisma.FieldRef<"Address", 'String'> + readonly profileId: Prisma.FieldRef<"Address", 'String'> + readonly street: Prisma.FieldRef<"Address", 'String'> + readonly city: Prisma.FieldRef<"Address", 'String'> + readonly state: Prisma.FieldRef<"Address", 'String'> + readonly postalCode: Prisma.FieldRef<"Address", 'String'> + readonly country: Prisma.FieldRef<"Address", 'String'> + readonly type: Prisma.FieldRef<"Address", 'String'> + readonly isDefaultMailing: Prisma.FieldRef<"Address", 'Boolean'> + readonly isDefaultBilling: Prisma.FieldRef<"Address", 'Boolean'> + readonly isDefaultShipping: Prisma.FieldRef<"Address", 'Boolean'> } + // Custom InputTypes /** * Address findUnique */ -export type AddressFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelect | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressInclude | null; - /** - * Filter, which Address to fetch. - */ - where: Prisma.AddressWhereUniqueInput; -}; +export type AddressFindUniqueArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelect | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressInclude | null + /** + * Filter, which Address to fetch. + */ + where: Prisma.AddressWhereUniqueInput +} /** * Address findUniqueOrThrow */ -export type AddressFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelect | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressInclude | null; - /** - * Filter, which Address to fetch. - */ - where: Prisma.AddressWhereUniqueInput; -}; +export type AddressFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelect | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressInclude | null + /** + * Filter, which Address to fetch. + */ + where: Prisma.AddressWhereUniqueInput +} /** * Address findFirst */ -export type AddressFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelect | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressInclude | null; - /** - * Filter, which Address to fetch. - */ - where?: Prisma.AddressWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Addresses to fetch. - */ - orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Addresses. - */ - cursor?: Prisma.AddressWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Addresses from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Addresses. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Addresses. - */ - distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[]; -}; +export type AddressFindFirstArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelect | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressInclude | null + /** + * Filter, which Address to fetch. + */ + where?: Prisma.AddressWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Addresses to fetch. + */ + orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Addresses. + */ + cursor?: Prisma.AddressWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Addresses from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Addresses. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Addresses. + */ + distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[] +} /** * Address findFirstOrThrow */ -export type AddressFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelect | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressInclude | null; - /** - * Filter, which Address to fetch. - */ - where?: Prisma.AddressWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Addresses to fetch. - */ - orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Addresses. - */ - cursor?: Prisma.AddressWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Addresses from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Addresses. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Addresses. - */ - distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[]; -}; +export type AddressFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelect | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressInclude | null + /** + * Filter, which Address to fetch. + */ + where?: Prisma.AddressWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Addresses to fetch. + */ + orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Addresses. + */ + cursor?: Prisma.AddressWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Addresses from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Addresses. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Addresses. + */ + distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[] +} /** * Address findMany */ -export type AddressFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelect | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressInclude | null; - /** - * Filter, which Addresses to fetch. - */ - where?: Prisma.AddressWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Addresses to fetch. - */ - orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Addresses. - */ - cursor?: Prisma.AddressWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Addresses from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Addresses. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Addresses. - */ - distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[]; -}; +export type AddressFindManyArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelect | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressInclude | null + /** + * Filter, which Addresses to fetch. + */ + where?: Prisma.AddressWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Addresses to fetch. + */ + orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing Addresses. + */ + cursor?: Prisma.AddressWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Addresses from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Addresses. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Addresses. + */ + distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[] +} /** * Address create */ -export type AddressCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelect | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressInclude | null; - /** - * The data needed to create a Address. - */ - data: Prisma.XOR; -}; +export type AddressCreateArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelect | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressInclude | null + /** + * The data needed to create a Address. + */ + data: Prisma.XOR +} /** * Address createMany */ -export type AddressCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many Addresses. - */ - data: Prisma.AddressCreateManyInput | Prisma.AddressCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type AddressCreateManyArgs = { + /** + * The data used to create many Addresses. + */ + data: Prisma.AddressCreateManyInput | Prisma.AddressCreateManyInput[] + skipDuplicates?: boolean +} /** * Address createManyAndReturn */ -export type AddressCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelectCreateManyAndReturn | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * The data used to create many Addresses. - */ - data: Prisma.AddressCreateManyInput | Prisma.AddressCreateManyInput[]; - skipDuplicates?: boolean; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressIncludeCreateManyAndReturn | null; -}; +export type AddressCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelectCreateManyAndReturn | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * The data used to create many Addresses. + */ + data: Prisma.AddressCreateManyInput | Prisma.AddressCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressIncludeCreateManyAndReturn | null +} /** * Address update */ -export type AddressUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelect | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressInclude | null; - /** - * The data needed to update a Address. - */ - data: Prisma.XOR; - /** - * Choose, which Address to update. - */ - where: Prisma.AddressWhereUniqueInput; -}; +export type AddressUpdateArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelect | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressInclude | null + /** + * The data needed to update a Address. + */ + data: Prisma.XOR + /** + * Choose, which Address to update. + */ + where: Prisma.AddressWhereUniqueInput +} /** * Address updateMany */ -export type AddressUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update Addresses. - */ - data: Prisma.XOR; - /** - * Filter which Addresses to update - */ - where?: Prisma.AddressWhereInput; - /** - * Limit how many Addresses to update. - */ - limit?: number; -}; +export type AddressUpdateManyArgs = { + /** + * The data used to update Addresses. + */ + data: Prisma.XOR + /** + * Filter which Addresses to update + */ + where?: Prisma.AddressWhereInput + /** + * Limit how many Addresses to update. + */ + limit?: number +} /** * Address updateManyAndReturn */ -export type AddressUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * The data used to update Addresses. - */ - data: Prisma.XOR; - /** - * Filter which Addresses to update - */ - where?: Prisma.AddressWhereInput; - /** - * Limit how many Addresses to update. - */ - limit?: number; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressIncludeUpdateManyAndReturn | null; -}; +export type AddressUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * The data used to update Addresses. + */ + data: Prisma.XOR + /** + * Filter which Addresses to update + */ + where?: Prisma.AddressWhereInput + /** + * Limit how many Addresses to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressIncludeUpdateManyAndReturn | null +} /** * Address upsert */ -export type AddressUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelect | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressInclude | null; - /** - * The filter to search for the Address to update in case it exists. - */ - where: Prisma.AddressWhereUniqueInput; - /** - * In case the Address found by the `where` argument doesn't exist, create a new Address with this data. - */ - create: Prisma.XOR; - /** - * In case the Address was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR; -}; +export type AddressUpsertArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelect | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressInclude | null + /** + * The filter to search for the Address to update in case it exists. + */ + where: Prisma.AddressWhereUniqueInput + /** + * In case the Address found by the `where` argument doesn't exist, create a new Address with this data. + */ + create: Prisma.XOR + /** + * In case the Address was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * Address delete */ -export type AddressDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelect | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressInclude | null; - /** - * Filter which Address to delete. - */ - where: Prisma.AddressWhereUniqueInput; -}; +export type AddressDeleteArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelect | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressInclude | null + /** + * Filter which Address to delete. + */ + where: Prisma.AddressWhereUniqueInput +} /** * Address deleteMany */ -export type AddressDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Addresses to delete - */ - where?: Prisma.AddressWhereInput; - /** - * Limit how many Addresses to delete. - */ - limit?: number; -}; +export type AddressDeleteManyArgs = { + /** + * Filter which Addresses to delete + */ + where?: Prisma.AddressWhereInput + /** + * Limit how many Addresses to delete. + */ + limit?: number +} /** * Address without action */ -export type AddressDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelect | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressInclude | null; -}; +export type AddressDefaultArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelect | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressInclude | null +} diff --git a/src/lib/generated/prisma/models/LicenseKey.ts b/src/lib/generated/prisma/models/LicenseKey.ts index 5fddbaa..9ec6817 100644 --- a/src/lib/generated/prisma/models/LicenseKey.ts +++ b/src/lib/generated/prisma/models/LicenseKey.ts @@ -1,1116 +1,886 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `LicenseKey` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model LicenseKey - * + * */ -export type LicenseKeyModel = runtime.Types.Result.DefaultSelection; +export type LicenseKeyModel = runtime.Types.Result.DefaultSelection export type AggregateLicenseKey = { - _count: LicenseKeyCountAggregateOutputType | null; - _min: LicenseKeyMinAggregateOutputType | null; - _max: LicenseKeyMaxAggregateOutputType | null; -}; + _count: LicenseKeyCountAggregateOutputType | null + _min: LicenseKeyMinAggregateOutputType | null + _max: LicenseKeyMaxAggregateOutputType | null +} export type LicenseKeyMinAggregateOutputType = { - id: string | null; - key: string | null; - active: boolean | null; - level: string | null; - userId: string | null; -}; + id: string | null + key: string | null + active: boolean | null + level: string | null + userId: string | null +} export type LicenseKeyMaxAggregateOutputType = { - id: string | null; - key: string | null; - active: boolean | null; - level: string | null; - userId: string | null; -}; + id: string | null + key: string | null + active: boolean | null + level: string | null + userId: string | null +} export type LicenseKeyCountAggregateOutputType = { - id: number; - key: number; - active: number; - level: number; - userId: number; - _all: number; -}; + id: number + key: number + active: number + level: number + userId: number + _all: number +} + export type LicenseKeyMinAggregateInputType = { - id?: true; - key?: true; - active?: true; - level?: true; - userId?: true; -}; + id?: true + key?: true + active?: true + level?: true + userId?: true +} export type LicenseKeyMaxAggregateInputType = { - id?: true; - key?: true; - active?: true; - level?: true; - userId?: true; -}; + id?: true + key?: true + active?: true + level?: true + userId?: true +} export type LicenseKeyCountAggregateInputType = { - id?: true; - key?: true; - active?: true; - level?: true; - userId?: true; - _all?: true; -}; + id?: true + key?: true + active?: true + level?: true + userId?: true + _all?: true +} -export type LicenseKeyAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which LicenseKey to aggregate. - */ - where?: Prisma.LicenseKeyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of LicenseKeys to fetch. - */ - orderBy?: Prisma.LicenseKeyOrderByWithRelationInput | Prisma.LicenseKeyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.LicenseKeyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` LicenseKeys from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` LicenseKeys. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned LicenseKeys - **/ - _count?: true | LicenseKeyCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: LicenseKeyMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: LicenseKeyMaxAggregateInputType; -}; +export type LicenseKeyAggregateArgs = { + /** + * Filter which LicenseKey to aggregate. + */ + where?: Prisma.LicenseKeyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of LicenseKeys to fetch. + */ + orderBy?: Prisma.LicenseKeyOrderByWithRelationInput | Prisma.LicenseKeyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.LicenseKeyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` LicenseKeys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` LicenseKeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned LicenseKeys + **/ + _count?: true | LicenseKeyCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: LicenseKeyMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: LicenseKeyMaxAggregateInputType +} export type GetLicenseKeyAggregateType = { - [P in keyof T & keyof AggregateLicenseKey]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateLicenseKey]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type LicenseKeyGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.LicenseKeyWhereInput; - orderBy?: - | Prisma.LicenseKeyOrderByWithAggregationInput - | Prisma.LicenseKeyOrderByWithAggregationInput[]; - by: Prisma.LicenseKeyScalarFieldEnum[] | Prisma.LicenseKeyScalarFieldEnum; - having?: Prisma.LicenseKeyScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: LicenseKeyCountAggregateInputType | true; - _min?: LicenseKeyMinAggregateInputType; - _max?: LicenseKeyMaxAggregateInputType; -}; + + + +export type LicenseKeyGroupByArgs = { + where?: Prisma.LicenseKeyWhereInput + orderBy?: Prisma.LicenseKeyOrderByWithAggregationInput | Prisma.LicenseKeyOrderByWithAggregationInput[] + by: Prisma.LicenseKeyScalarFieldEnum[] | Prisma.LicenseKeyScalarFieldEnum + having?: Prisma.LicenseKeyScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: LicenseKeyCountAggregateInputType | true + _min?: LicenseKeyMinAggregateInputType + _max?: LicenseKeyMaxAggregateInputType +} export type LicenseKeyGroupByOutputType = { - id: string; - key: string; - active: boolean; - level: string; - userId: string; - _count: LicenseKeyCountAggregateOutputType | null; - _min: LicenseKeyMinAggregateOutputType | null; - _max: LicenseKeyMaxAggregateOutputType | null; -}; + id: string + key: string + active: boolean + level: string + userId: string + _count: LicenseKeyCountAggregateOutputType | null + _min: LicenseKeyMinAggregateOutputType | null + _max: LicenseKeyMaxAggregateOutputType | null +} export type GetLicenseKeyGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof LicenseKeyGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > ->; + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof LicenseKeyGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + export type LicenseKeyWhereInput = { - AND?: Prisma.LicenseKeyWhereInput | Prisma.LicenseKeyWhereInput[]; - OR?: Prisma.LicenseKeyWhereInput[]; - NOT?: Prisma.LicenseKeyWhereInput | Prisma.LicenseKeyWhereInput[]; - id?: Prisma.StringFilter<'LicenseKey'> | string; - key?: Prisma.StringFilter<'LicenseKey'> | string; - active?: Prisma.BoolFilter<'LicenseKey'> | boolean; - level?: Prisma.StringFilter<'LicenseKey'> | string; - userId?: Prisma.StringFilter<'LicenseKey'> | string; - user?: Prisma.XOR; -}; + AND?: Prisma.LicenseKeyWhereInput | Prisma.LicenseKeyWhereInput[] + OR?: Prisma.LicenseKeyWhereInput[] + NOT?: Prisma.LicenseKeyWhereInput | Prisma.LicenseKeyWhereInput[] + id?: Prisma.StringFilter<"LicenseKey"> | string + key?: Prisma.StringFilter<"LicenseKey"> | string + active?: Prisma.BoolFilter<"LicenseKey"> | boolean + level?: Prisma.StringFilter<"LicenseKey"> | string + userId?: Prisma.StringFilter<"LicenseKey"> | string + user?: Prisma.XOR +} export type LicenseKeyOrderByWithRelationInput = { - id?: Prisma.SortOrder; - key?: Prisma.SortOrder; - active?: Prisma.SortOrder; - level?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - user?: Prisma.UserOrderByWithRelationInput; -}; + id?: Prisma.SortOrder + key?: Prisma.SortOrder + active?: Prisma.SortOrder + level?: Prisma.SortOrder + userId?: Prisma.SortOrder + user?: Prisma.UserOrderByWithRelationInput +} -export type LicenseKeyWhereUniqueInput = Prisma.AtLeast< - { - id?: string; - key?: string; - AND?: Prisma.LicenseKeyWhereInput | Prisma.LicenseKeyWhereInput[]; - OR?: Prisma.LicenseKeyWhereInput[]; - NOT?: Prisma.LicenseKeyWhereInput | Prisma.LicenseKeyWhereInput[]; - active?: Prisma.BoolFilter<'LicenseKey'> | boolean; - level?: Prisma.StringFilter<'LicenseKey'> | string; - userId?: Prisma.StringFilter<'LicenseKey'> | string; - user?: Prisma.XOR; - }, - 'id' | 'key' ->; +export type LicenseKeyWhereUniqueInput = Prisma.AtLeast<{ + id?: string + key?: string + AND?: Prisma.LicenseKeyWhereInput | Prisma.LicenseKeyWhereInput[] + OR?: Prisma.LicenseKeyWhereInput[] + NOT?: Prisma.LicenseKeyWhereInput | Prisma.LicenseKeyWhereInput[] + active?: Prisma.BoolFilter<"LicenseKey"> | boolean + level?: Prisma.StringFilter<"LicenseKey"> | string + userId?: Prisma.StringFilter<"LicenseKey"> | string + user?: Prisma.XOR +}, "id" | "key"> export type LicenseKeyOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - key?: Prisma.SortOrder; - active?: Prisma.SortOrder; - level?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - _count?: Prisma.LicenseKeyCountOrderByAggregateInput; - _max?: Prisma.LicenseKeyMaxOrderByAggregateInput; - _min?: Prisma.LicenseKeyMinOrderByAggregateInput; -}; + id?: Prisma.SortOrder + key?: Prisma.SortOrder + active?: Prisma.SortOrder + level?: Prisma.SortOrder + userId?: Prisma.SortOrder + _count?: Prisma.LicenseKeyCountOrderByAggregateInput + _max?: Prisma.LicenseKeyMaxOrderByAggregateInput + _min?: Prisma.LicenseKeyMinOrderByAggregateInput +} export type LicenseKeyScalarWhereWithAggregatesInput = { - AND?: - | Prisma.LicenseKeyScalarWhereWithAggregatesInput - | Prisma.LicenseKeyScalarWhereWithAggregatesInput[]; - OR?: Prisma.LicenseKeyScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.LicenseKeyScalarWhereWithAggregatesInput - | Prisma.LicenseKeyScalarWhereWithAggregatesInput[]; - id?: Prisma.StringWithAggregatesFilter<'LicenseKey'> | string; - key?: Prisma.StringWithAggregatesFilter<'LicenseKey'> | string; - active?: Prisma.BoolWithAggregatesFilter<'LicenseKey'> | boolean; - level?: Prisma.StringWithAggregatesFilter<'LicenseKey'> | string; - userId?: Prisma.StringWithAggregatesFilter<'LicenseKey'> | string; -}; + AND?: Prisma.LicenseKeyScalarWhereWithAggregatesInput | Prisma.LicenseKeyScalarWhereWithAggregatesInput[] + OR?: Prisma.LicenseKeyScalarWhereWithAggregatesInput[] + NOT?: Prisma.LicenseKeyScalarWhereWithAggregatesInput | Prisma.LicenseKeyScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"LicenseKey"> | string + key?: Prisma.StringWithAggregatesFilter<"LicenseKey"> | string + active?: Prisma.BoolWithAggregatesFilter<"LicenseKey"> | boolean + level?: Prisma.StringWithAggregatesFilter<"LicenseKey"> | string + userId?: Prisma.StringWithAggregatesFilter<"LicenseKey"> | string +} export type LicenseKeyCreateInput = { - id?: string; - key: string; - active: boolean; - level: string; - user: Prisma.UserCreateNestedOneWithoutLicenseKeysInput; -}; + id?: string + key: string + active: boolean + level: string + user: Prisma.UserCreateNestedOneWithoutLicenseKeysInput +} export type LicenseKeyUncheckedCreateInput = { - id?: string; - key: string; - active: boolean; - level: string; - userId: string; -}; + id?: string + key: string + active: boolean + level: string + userId: string +} export type LicenseKeyUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - key?: Prisma.StringFieldUpdateOperationsInput | string; - active?: Prisma.BoolFieldUpdateOperationsInput | boolean; - level?: Prisma.StringFieldUpdateOperationsInput | string; - user?: Prisma.UserUpdateOneRequiredWithoutLicenseKeysNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + key?: Prisma.StringFieldUpdateOperationsInput | string + active?: Prisma.BoolFieldUpdateOperationsInput | boolean + level?: Prisma.StringFieldUpdateOperationsInput | string + user?: Prisma.UserUpdateOneRequiredWithoutLicenseKeysNestedInput +} export type LicenseKeyUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - key?: Prisma.StringFieldUpdateOperationsInput | string; - active?: Prisma.BoolFieldUpdateOperationsInput | boolean; - level?: Prisma.StringFieldUpdateOperationsInput | string; - userId?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + key?: Prisma.StringFieldUpdateOperationsInput | string + active?: Prisma.BoolFieldUpdateOperationsInput | boolean + level?: Prisma.StringFieldUpdateOperationsInput | string + userId?: Prisma.StringFieldUpdateOperationsInput | string +} export type LicenseKeyCreateManyInput = { - id?: string; - key: string; - active: boolean; - level: string; - userId: string; -}; + id?: string + key: string + active: boolean + level: string + userId: string +} export type LicenseKeyUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - key?: Prisma.StringFieldUpdateOperationsInput | string; - active?: Prisma.BoolFieldUpdateOperationsInput | boolean; - level?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + key?: Prisma.StringFieldUpdateOperationsInput | string + active?: Prisma.BoolFieldUpdateOperationsInput | boolean + level?: Prisma.StringFieldUpdateOperationsInput | string +} export type LicenseKeyUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - key?: Prisma.StringFieldUpdateOperationsInput | string; - active?: Prisma.BoolFieldUpdateOperationsInput | boolean; - level?: Prisma.StringFieldUpdateOperationsInput | string; - userId?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + key?: Prisma.StringFieldUpdateOperationsInput | string + active?: Prisma.BoolFieldUpdateOperationsInput | boolean + level?: Prisma.StringFieldUpdateOperationsInput | string + userId?: Prisma.StringFieldUpdateOperationsInput | string +} export type LicenseKeyListRelationFilter = { - every?: Prisma.LicenseKeyWhereInput; - some?: Prisma.LicenseKeyWhereInput; - none?: Prisma.LicenseKeyWhereInput; -}; + every?: Prisma.LicenseKeyWhereInput + some?: Prisma.LicenseKeyWhereInput + none?: Prisma.LicenseKeyWhereInput +} export type LicenseKeyOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder; -}; + _count?: Prisma.SortOrder +} export type LicenseKeyCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - key?: Prisma.SortOrder; - active?: Prisma.SortOrder; - level?: Prisma.SortOrder; - userId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + key?: Prisma.SortOrder + active?: Prisma.SortOrder + level?: Prisma.SortOrder + userId?: Prisma.SortOrder +} export type LicenseKeyMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - key?: Prisma.SortOrder; - active?: Prisma.SortOrder; - level?: Prisma.SortOrder; - userId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + key?: Prisma.SortOrder + active?: Prisma.SortOrder + level?: Prisma.SortOrder + userId?: Prisma.SortOrder +} export type LicenseKeyMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - key?: Prisma.SortOrder; - active?: Prisma.SortOrder; - level?: Prisma.SortOrder; - userId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + key?: Prisma.SortOrder + active?: Prisma.SortOrder + level?: Prisma.SortOrder + userId?: Prisma.SortOrder +} export type LicenseKeyCreateNestedManyWithoutUserInput = { - create?: - | Prisma.XOR< - Prisma.LicenseKeyCreateWithoutUserInput, - Prisma.LicenseKeyUncheckedCreateWithoutUserInput - > - | Prisma.LicenseKeyCreateWithoutUserInput[] - | Prisma.LicenseKeyUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.LicenseKeyCreateOrConnectWithoutUserInput - | Prisma.LicenseKeyCreateOrConnectWithoutUserInput[]; - createMany?: Prisma.LicenseKeyCreateManyUserInputEnvelope; - connect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.LicenseKeyCreateWithoutUserInput[] | Prisma.LicenseKeyUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.LicenseKeyCreateOrConnectWithoutUserInput | Prisma.LicenseKeyCreateOrConnectWithoutUserInput[] + createMany?: Prisma.LicenseKeyCreateManyUserInputEnvelope + connect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[] +} export type LicenseKeyUncheckedCreateNestedManyWithoutUserInput = { - create?: - | Prisma.XOR< - Prisma.LicenseKeyCreateWithoutUserInput, - Prisma.LicenseKeyUncheckedCreateWithoutUserInput - > - | Prisma.LicenseKeyCreateWithoutUserInput[] - | Prisma.LicenseKeyUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.LicenseKeyCreateOrConnectWithoutUserInput - | Prisma.LicenseKeyCreateOrConnectWithoutUserInput[]; - createMany?: Prisma.LicenseKeyCreateManyUserInputEnvelope; - connect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.LicenseKeyCreateWithoutUserInput[] | Prisma.LicenseKeyUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.LicenseKeyCreateOrConnectWithoutUserInput | Prisma.LicenseKeyCreateOrConnectWithoutUserInput[] + createMany?: Prisma.LicenseKeyCreateManyUserInputEnvelope + connect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[] +} export type LicenseKeyUpdateManyWithoutUserNestedInput = { - create?: - | Prisma.XOR< - Prisma.LicenseKeyCreateWithoutUserInput, - Prisma.LicenseKeyUncheckedCreateWithoutUserInput - > - | Prisma.LicenseKeyCreateWithoutUserInput[] - | Prisma.LicenseKeyUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.LicenseKeyCreateOrConnectWithoutUserInput - | Prisma.LicenseKeyCreateOrConnectWithoutUserInput[]; - upsert?: - | Prisma.LicenseKeyUpsertWithWhereUniqueWithoutUserInput - | Prisma.LicenseKeyUpsertWithWhereUniqueWithoutUserInput[]; - createMany?: Prisma.LicenseKeyCreateManyUserInputEnvelope; - set?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[]; - disconnect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[]; - delete?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[]; - connect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[]; - update?: - | Prisma.LicenseKeyUpdateWithWhereUniqueWithoutUserInput - | Prisma.LicenseKeyUpdateWithWhereUniqueWithoutUserInput[]; - updateMany?: - | Prisma.LicenseKeyUpdateManyWithWhereWithoutUserInput - | Prisma.LicenseKeyUpdateManyWithWhereWithoutUserInput[]; - deleteMany?: Prisma.LicenseKeyScalarWhereInput | Prisma.LicenseKeyScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.LicenseKeyCreateWithoutUserInput[] | Prisma.LicenseKeyUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.LicenseKeyCreateOrConnectWithoutUserInput | Prisma.LicenseKeyCreateOrConnectWithoutUserInput[] + upsert?: Prisma.LicenseKeyUpsertWithWhereUniqueWithoutUserInput | Prisma.LicenseKeyUpsertWithWhereUniqueWithoutUserInput[] + createMany?: Prisma.LicenseKeyCreateManyUserInputEnvelope + set?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[] + disconnect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[] + delete?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[] + connect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[] + update?: Prisma.LicenseKeyUpdateWithWhereUniqueWithoutUserInput | Prisma.LicenseKeyUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: Prisma.LicenseKeyUpdateManyWithWhereWithoutUserInput | Prisma.LicenseKeyUpdateManyWithWhereWithoutUserInput[] + deleteMany?: Prisma.LicenseKeyScalarWhereInput | Prisma.LicenseKeyScalarWhereInput[] +} export type LicenseKeyUncheckedUpdateManyWithoutUserNestedInput = { - create?: - | Prisma.XOR< - Prisma.LicenseKeyCreateWithoutUserInput, - Prisma.LicenseKeyUncheckedCreateWithoutUserInput - > - | Prisma.LicenseKeyCreateWithoutUserInput[] - | Prisma.LicenseKeyUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.LicenseKeyCreateOrConnectWithoutUserInput - | Prisma.LicenseKeyCreateOrConnectWithoutUserInput[]; - upsert?: - | Prisma.LicenseKeyUpsertWithWhereUniqueWithoutUserInput - | Prisma.LicenseKeyUpsertWithWhereUniqueWithoutUserInput[]; - createMany?: Prisma.LicenseKeyCreateManyUserInputEnvelope; - set?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[]; - disconnect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[]; - delete?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[]; - connect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[]; - update?: - | Prisma.LicenseKeyUpdateWithWhereUniqueWithoutUserInput - | Prisma.LicenseKeyUpdateWithWhereUniqueWithoutUserInput[]; - updateMany?: - | Prisma.LicenseKeyUpdateManyWithWhereWithoutUserInput - | Prisma.LicenseKeyUpdateManyWithWhereWithoutUserInput[]; - deleteMany?: Prisma.LicenseKeyScalarWhereInput | Prisma.LicenseKeyScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.LicenseKeyCreateWithoutUserInput[] | Prisma.LicenseKeyUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.LicenseKeyCreateOrConnectWithoutUserInput | Prisma.LicenseKeyCreateOrConnectWithoutUserInput[] + upsert?: Prisma.LicenseKeyUpsertWithWhereUniqueWithoutUserInput | Prisma.LicenseKeyUpsertWithWhereUniqueWithoutUserInput[] + createMany?: Prisma.LicenseKeyCreateManyUserInputEnvelope + set?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[] + disconnect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[] + delete?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[] + connect?: Prisma.LicenseKeyWhereUniqueInput | Prisma.LicenseKeyWhereUniqueInput[] + update?: Prisma.LicenseKeyUpdateWithWhereUniqueWithoutUserInput | Prisma.LicenseKeyUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: Prisma.LicenseKeyUpdateManyWithWhereWithoutUserInput | Prisma.LicenseKeyUpdateManyWithWhereWithoutUserInput[] + deleteMany?: Prisma.LicenseKeyScalarWhereInput | Prisma.LicenseKeyScalarWhereInput[] +} export type LicenseKeyCreateWithoutUserInput = { - id?: string; - key: string; - active: boolean; - level: string; -}; + id?: string + key: string + active: boolean + level: string +} export type LicenseKeyUncheckedCreateWithoutUserInput = { - id?: string; - key: string; - active: boolean; - level: string; -}; + id?: string + key: string + active: boolean + level: string +} export type LicenseKeyCreateOrConnectWithoutUserInput = { - where: Prisma.LicenseKeyWhereUniqueInput; - create: Prisma.XOR< - Prisma.LicenseKeyCreateWithoutUserInput, - Prisma.LicenseKeyUncheckedCreateWithoutUserInput - >; -}; + where: Prisma.LicenseKeyWhereUniqueInput + create: Prisma.XOR +} export type LicenseKeyCreateManyUserInputEnvelope = { - data: Prisma.LicenseKeyCreateManyUserInput | Prisma.LicenseKeyCreateManyUserInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.LicenseKeyCreateManyUserInput | Prisma.LicenseKeyCreateManyUserInput[] + skipDuplicates?: boolean +} export type LicenseKeyUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.LicenseKeyWhereUniqueInput; - update: Prisma.XOR< - Prisma.LicenseKeyUpdateWithoutUserInput, - Prisma.LicenseKeyUncheckedUpdateWithoutUserInput - >; - create: Prisma.XOR< - Prisma.LicenseKeyCreateWithoutUserInput, - Prisma.LicenseKeyUncheckedCreateWithoutUserInput - >; -}; + where: Prisma.LicenseKeyWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type LicenseKeyUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.LicenseKeyWhereUniqueInput; - data: Prisma.XOR< - Prisma.LicenseKeyUpdateWithoutUserInput, - Prisma.LicenseKeyUncheckedUpdateWithoutUserInput - >; -}; + where: Prisma.LicenseKeyWhereUniqueInput + data: Prisma.XOR +} export type LicenseKeyUpdateManyWithWhereWithoutUserInput = { - where: Prisma.LicenseKeyScalarWhereInput; - data: Prisma.XOR< - Prisma.LicenseKeyUpdateManyMutationInput, - Prisma.LicenseKeyUncheckedUpdateManyWithoutUserInput - >; -}; + where: Prisma.LicenseKeyScalarWhereInput + data: Prisma.XOR +} export type LicenseKeyScalarWhereInput = { - AND?: Prisma.LicenseKeyScalarWhereInput | Prisma.LicenseKeyScalarWhereInput[]; - OR?: Prisma.LicenseKeyScalarWhereInput[]; - NOT?: Prisma.LicenseKeyScalarWhereInput | Prisma.LicenseKeyScalarWhereInput[]; - id?: Prisma.StringFilter<'LicenseKey'> | string; - key?: Prisma.StringFilter<'LicenseKey'> | string; - active?: Prisma.BoolFilter<'LicenseKey'> | boolean; - level?: Prisma.StringFilter<'LicenseKey'> | string; - userId?: Prisma.StringFilter<'LicenseKey'> | string; -}; + AND?: Prisma.LicenseKeyScalarWhereInput | Prisma.LicenseKeyScalarWhereInput[] + OR?: Prisma.LicenseKeyScalarWhereInput[] + NOT?: Prisma.LicenseKeyScalarWhereInput | Prisma.LicenseKeyScalarWhereInput[] + id?: Prisma.StringFilter<"LicenseKey"> | string + key?: Prisma.StringFilter<"LicenseKey"> | string + active?: Prisma.BoolFilter<"LicenseKey"> | boolean + level?: Prisma.StringFilter<"LicenseKey"> | string + userId?: Prisma.StringFilter<"LicenseKey"> | string +} export type LicenseKeyCreateManyUserInput = { - id?: string; - key: string; - active: boolean; - level: string; -}; + id?: string + key: string + active: boolean + level: string +} export type LicenseKeyUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - key?: Prisma.StringFieldUpdateOperationsInput | string; - active?: Prisma.BoolFieldUpdateOperationsInput | boolean; - level?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + key?: Prisma.StringFieldUpdateOperationsInput | string + active?: Prisma.BoolFieldUpdateOperationsInput | boolean + level?: Prisma.StringFieldUpdateOperationsInput | string +} export type LicenseKeyUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - key?: Prisma.StringFieldUpdateOperationsInput | string; - active?: Prisma.BoolFieldUpdateOperationsInput | boolean; - level?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + key?: Prisma.StringFieldUpdateOperationsInput | string + active?: Prisma.BoolFieldUpdateOperationsInput | boolean + level?: Prisma.StringFieldUpdateOperationsInput | string +} export type LicenseKeyUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - key?: Prisma.StringFieldUpdateOperationsInput | string; - active?: Prisma.BoolFieldUpdateOperationsInput | boolean; - level?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + key?: Prisma.StringFieldUpdateOperationsInput | string + active?: Prisma.BoolFieldUpdateOperationsInput | boolean + level?: Prisma.StringFieldUpdateOperationsInput | string +} -export type LicenseKeySelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - key?: boolean; - active?: boolean; - level?: boolean; - userId?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - }, - ExtArgs['result']['licenseKey'] ->; -export type LicenseKeySelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - key?: boolean; - active?: boolean; - level?: boolean; - userId?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - }, - ExtArgs['result']['licenseKey'] ->; -export type LicenseKeySelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - key?: boolean; - active?: boolean; - level?: boolean; - userId?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - }, - ExtArgs['result']['licenseKey'] ->; +export type LicenseKeySelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + key?: boolean + active?: boolean + level?: boolean + userId?: boolean + user?: boolean | Prisma.UserDefaultArgs +}, ExtArgs["result"]["licenseKey"]> + +export type LicenseKeySelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + key?: boolean + active?: boolean + level?: boolean + userId?: boolean + user?: boolean | Prisma.UserDefaultArgs +}, ExtArgs["result"]["licenseKey"]> + +export type LicenseKeySelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + key?: boolean + active?: boolean + level?: boolean + userId?: boolean + user?: boolean | Prisma.UserDefaultArgs +}, ExtArgs["result"]["licenseKey"]> export type LicenseKeySelectScalar = { - id?: boolean; - key?: boolean; - active?: boolean; - level?: boolean; - userId?: boolean; -}; + id?: boolean + key?: boolean + active?: boolean + level?: boolean + userId?: boolean +} -export type LicenseKeyOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'id' | 'key' | 'active' | 'level' | 'userId', - ExtArgs['result']['licenseKey'] ->; -export type LicenseKeyInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; -}; -export type LicenseKeyIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; -}; -export type LicenseKeyIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; -}; +export type LicenseKeyOmit = runtime.Types.Extensions.GetOmit<"id" | "key" | "active" | "level" | "userId", ExtArgs["result"]["licenseKey"]> +export type LicenseKeyInclude = { + user?: boolean | Prisma.UserDefaultArgs +} +export type LicenseKeyIncludeCreateManyAndReturn = { + user?: boolean | Prisma.UserDefaultArgs +} +export type LicenseKeyIncludeUpdateManyAndReturn = { + user?: boolean | Prisma.UserDefaultArgs +} -export type $LicenseKeyPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'LicenseKey'; - objects: { - user: Prisma.$UserPayload; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: string; - key: string; - active: boolean; - level: string; - userId: string; - }, - ExtArgs['result']['licenseKey'] - >; - composites: {}; -}; +export type $LicenseKeyPayload = { + name: "LicenseKey" + objects: { + user: Prisma.$UserPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + key: string + active: boolean + level: string + userId: string + }, ExtArgs["result"]["licenseKey"]> + composites: {} +} -export type LicenseKeyGetPayload = - runtime.Types.Result.GetResult; +export type LicenseKeyGetPayload = runtime.Types.Result.GetResult -export type LicenseKeyCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: LicenseKeyCountAggregateInputType | true; -}; +export type LicenseKeyCountArgs = + Omit & { + select?: LicenseKeyCountAggregateInputType | true + } -export interface LicenseKeyDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { - types: Prisma.TypeMap['model']['LicenseKey']; - meta: { name: 'LicenseKey' }; - }; - /** - * Find zero or one LicenseKey that matches the filter. - * @param {LicenseKeyFindUniqueArgs} args - Arguments to find a LicenseKey - * @example - * // Get one LicenseKey - * const licenseKey = await prisma.licenseKey.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__LicenseKeyClient< - runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface LicenseKeyDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['LicenseKey'], meta: { name: 'LicenseKey' } } + /** + * Find zero or one LicenseKey that matches the filter. + * @param {LicenseKeyFindUniqueArgs} args - Arguments to find a LicenseKey + * @example + * // Get one LicenseKey + * const licenseKey = await prisma.licenseKey.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseKeyClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one LicenseKey that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {LicenseKeyFindUniqueOrThrowArgs} args - Arguments to find a LicenseKey - * @example - * // Get one LicenseKey - * const licenseKey = await prisma.licenseKey.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__LicenseKeyClient< - runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one LicenseKey that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {LicenseKeyFindUniqueOrThrowArgs} args - Arguments to find a LicenseKey + * @example + * // Get one LicenseKey + * const licenseKey = await prisma.licenseKey.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseKeyClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first LicenseKey that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {LicenseKeyFindFirstArgs} args - Arguments to find a LicenseKey - * @example - * // Get one LicenseKey - * const licenseKey = await prisma.licenseKey.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__LicenseKeyClient< - runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first LicenseKey that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {LicenseKeyFindFirstArgs} args - Arguments to find a LicenseKey + * @example + * // Get one LicenseKey + * const licenseKey = await prisma.licenseKey.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__LicenseKeyClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first LicenseKey that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {LicenseKeyFindFirstOrThrowArgs} args - Arguments to find a LicenseKey - * @example - * // Get one LicenseKey - * const licenseKey = await prisma.licenseKey.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__LicenseKeyClient< - runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first LicenseKey that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {LicenseKeyFindFirstOrThrowArgs} args - Arguments to find a LicenseKey + * @example + * // Get one LicenseKey + * const licenseKey = await prisma.licenseKey.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__LicenseKeyClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more LicenseKeys that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {LicenseKeyFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all LicenseKeys - * const licenseKeys = await prisma.licenseKey.findMany() - * - * // Get first 10 LicenseKeys - * const licenseKeys = await prisma.licenseKey.findMany({ take: 10 }) - * - * // Only select the `id` - * const licenseKeyWithIdOnly = await prisma.licenseKey.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more LicenseKeys that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {LicenseKeyFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all LicenseKeys + * const licenseKeys = await prisma.licenseKey.findMany() + * + * // Get first 10 LicenseKeys + * const licenseKeys = await prisma.licenseKey.findMany({ take: 10 }) + * + * // Only select the `id` + * const licenseKeyWithIdOnly = await prisma.licenseKey.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a LicenseKey. - * @param {LicenseKeyCreateArgs} args - Arguments to create a LicenseKey. - * @example - * // Create one LicenseKey - * const LicenseKey = await prisma.licenseKey.create({ - * data: { - * // ... data to create a LicenseKey - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__LicenseKeyClient< - runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'create', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a LicenseKey. + * @param {LicenseKeyCreateArgs} args - Arguments to create a LicenseKey. + * @example + * // Create one LicenseKey + * const LicenseKey = await prisma.licenseKey.create({ + * data: { + * // ... data to create a LicenseKey + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseKeyClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many LicenseKeys. - * @param {LicenseKeyCreateManyArgs} args - Arguments to create many LicenseKeys. - * @example - * // Create many LicenseKeys - * const licenseKey = await prisma.licenseKey.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many LicenseKeys. + * @param {LicenseKeyCreateManyArgs} args - Arguments to create many LicenseKeys. + * @example + * // Create many LicenseKeys + * const licenseKey = await prisma.licenseKey.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many LicenseKeys and returns the data saved in the database. - * @param {LicenseKeyCreateManyAndReturnArgs} args - Arguments to create many LicenseKeys. - * @example - * // Create many LicenseKeys - * const licenseKey = await prisma.licenseKey.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many LicenseKeys and only return the `id` - * const licenseKeyWithIdOnly = await prisma.licenseKey.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many LicenseKeys and returns the data saved in the database. + * @param {LicenseKeyCreateManyAndReturnArgs} args - Arguments to create many LicenseKeys. + * @example + * // Create many LicenseKeys + * const licenseKey = await prisma.licenseKey.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many LicenseKeys and only return the `id` + * const licenseKeyWithIdOnly = await prisma.licenseKey.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a LicenseKey. - * @param {LicenseKeyDeleteArgs} args - Arguments to delete one LicenseKey. - * @example - * // Delete one LicenseKey - * const LicenseKey = await prisma.licenseKey.delete({ - * where: { - * // ... filter to delete one LicenseKey - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__LicenseKeyClient< - runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'delete', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a LicenseKey. + * @param {LicenseKeyDeleteArgs} args - Arguments to delete one LicenseKey. + * @example + * // Delete one LicenseKey + * const LicenseKey = await prisma.licenseKey.delete({ + * where: { + * // ... filter to delete one LicenseKey + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseKeyClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one LicenseKey. - * @param {LicenseKeyUpdateArgs} args - Arguments to update one LicenseKey. - * @example - * // Update one LicenseKey - * const licenseKey = await prisma.licenseKey.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__LicenseKeyClient< - runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'update', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one LicenseKey. + * @param {LicenseKeyUpdateArgs} args - Arguments to update one LicenseKey. + * @example + * // Update one LicenseKey + * const licenseKey = await prisma.licenseKey.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseKeyClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more LicenseKeys. - * @param {LicenseKeyDeleteManyArgs} args - Arguments to filter LicenseKeys to delete. - * @example - * // Delete a few LicenseKeys - * const { count } = await prisma.licenseKey.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more LicenseKeys. + * @param {LicenseKeyDeleteManyArgs} args - Arguments to filter LicenseKeys to delete. + * @example + * // Delete a few LicenseKeys + * const { count } = await prisma.licenseKey.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more LicenseKeys. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {LicenseKeyUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many LicenseKeys - * const licenseKey = await prisma.licenseKey.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more LicenseKeys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {LicenseKeyUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many LicenseKeys + * const licenseKey = await prisma.licenseKey.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more LicenseKeys and returns the data updated in the database. - * @param {LicenseKeyUpdateManyAndReturnArgs} args - Arguments to update many LicenseKeys. - * @example - * // Update many LicenseKeys - * const licenseKey = await prisma.licenseKey.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more LicenseKeys and only return the `id` - * const licenseKeyWithIdOnly = await prisma.licenseKey.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more LicenseKeys and returns the data updated in the database. + * @param {LicenseKeyUpdateManyAndReturnArgs} args - Arguments to update many LicenseKeys. + * @example + * // Update many LicenseKeys + * const licenseKey = await prisma.licenseKey.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more LicenseKeys and only return the `id` + * const licenseKeyWithIdOnly = await prisma.licenseKey.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one LicenseKey. - * @param {LicenseKeyUpsertArgs} args - Arguments to update or create a LicenseKey. - * @example - * // Update or create a LicenseKey - * const licenseKey = await prisma.licenseKey.upsert({ - * create: { - * // ... data to create a LicenseKey - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the LicenseKey we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__LicenseKeyClient< - runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'upsert', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one LicenseKey. + * @param {LicenseKeyUpsertArgs} args - Arguments to update or create a LicenseKey. + * @example + * // Update or create a LicenseKey + * const licenseKey = await prisma.licenseKey.upsert({ + * create: { + * // ... data to create a LicenseKey + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the LicenseKey we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseKeyClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of LicenseKeys. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {LicenseKeyCountArgs} args - Arguments to filter LicenseKeys to count. - * @example - * // Count the number of LicenseKeys - * const count = await prisma.licenseKey.count({ - * where: { - * // ... the filter for the LicenseKeys we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a LicenseKey. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {LicenseKeyAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of LicenseKeys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {LicenseKeyCountArgs} args - Arguments to filter LicenseKeys to count. + * @example + * // Count the number of LicenseKeys + * const count = await prisma.licenseKey.count({ + * where: { + * // ... the filter for the LicenseKeys we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by LicenseKey. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {LicenseKeyGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends LicenseKeyGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: LicenseKeyGroupByArgs['orderBy'] } - : { orderBy?: LicenseKeyGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors ? GetLicenseKeyGroupByPayload : Prisma.PrismaPromise; - /** - * Fields of the LicenseKey model - */ - readonly fields: LicenseKeyFieldRefs; + /** + * Allows you to perform aggregations operations on a LicenseKey. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {LicenseKeyAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by LicenseKey. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {LicenseKeyGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends LicenseKeyGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: LicenseKeyGroupByArgs['orderBy'] } + : { orderBy?: LicenseKeyGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetLicenseKeyGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the LicenseKey model + */ +readonly fields: LicenseKeyFieldRefs; } /** @@ -1119,512 +889,457 @@ export interface LicenseKeyDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__LicenseKeyClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - user = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__UserClient< - | runtime.Types.Result.GetResult< - Prisma.$UserPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > - | Null, - Null, - ExtArgs, - GlobalOmitOptions - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__LicenseKeyClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the LicenseKey model */ export interface LicenseKeyFieldRefs { - readonly id: Prisma.FieldRef<'LicenseKey', 'String'>; - readonly key: Prisma.FieldRef<'LicenseKey', 'String'>; - readonly active: Prisma.FieldRef<'LicenseKey', 'Boolean'>; - readonly level: Prisma.FieldRef<'LicenseKey', 'String'>; - readonly userId: Prisma.FieldRef<'LicenseKey', 'String'>; + readonly id: Prisma.FieldRef<"LicenseKey", 'String'> + readonly key: Prisma.FieldRef<"LicenseKey", 'String'> + readonly active: Prisma.FieldRef<"LicenseKey", 'Boolean'> + readonly level: Prisma.FieldRef<"LicenseKey", 'String'> + readonly userId: Prisma.FieldRef<"LicenseKey", 'String'> } + // Custom InputTypes /** * LicenseKey findUnique */ -export type LicenseKeyFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelect | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyInclude | null; - /** - * Filter, which LicenseKey to fetch. - */ - where: Prisma.LicenseKeyWhereUniqueInput; -}; +export type LicenseKeyFindUniqueArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelect | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyInclude | null + /** + * Filter, which LicenseKey to fetch. + */ + where: Prisma.LicenseKeyWhereUniqueInput +} /** * LicenseKey findUniqueOrThrow */ -export type LicenseKeyFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelect | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyInclude | null; - /** - * Filter, which LicenseKey to fetch. - */ - where: Prisma.LicenseKeyWhereUniqueInput; -}; +export type LicenseKeyFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelect | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyInclude | null + /** + * Filter, which LicenseKey to fetch. + */ + where: Prisma.LicenseKeyWhereUniqueInput +} /** * LicenseKey findFirst */ -export type LicenseKeyFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelect | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyInclude | null; - /** - * Filter, which LicenseKey to fetch. - */ - where?: Prisma.LicenseKeyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of LicenseKeys to fetch. - */ - orderBy?: Prisma.LicenseKeyOrderByWithRelationInput | Prisma.LicenseKeyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for LicenseKeys. - */ - cursor?: Prisma.LicenseKeyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` LicenseKeys from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` LicenseKeys. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of LicenseKeys. - */ - distinct?: Prisma.LicenseKeyScalarFieldEnum | Prisma.LicenseKeyScalarFieldEnum[]; -}; +export type LicenseKeyFindFirstArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelect | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyInclude | null + /** + * Filter, which LicenseKey to fetch. + */ + where?: Prisma.LicenseKeyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of LicenseKeys to fetch. + */ + orderBy?: Prisma.LicenseKeyOrderByWithRelationInput | Prisma.LicenseKeyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for LicenseKeys. + */ + cursor?: Prisma.LicenseKeyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` LicenseKeys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` LicenseKeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of LicenseKeys. + */ + distinct?: Prisma.LicenseKeyScalarFieldEnum | Prisma.LicenseKeyScalarFieldEnum[] +} /** * LicenseKey findFirstOrThrow */ -export type LicenseKeyFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelect | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyInclude | null; - /** - * Filter, which LicenseKey to fetch. - */ - where?: Prisma.LicenseKeyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of LicenseKeys to fetch. - */ - orderBy?: Prisma.LicenseKeyOrderByWithRelationInput | Prisma.LicenseKeyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for LicenseKeys. - */ - cursor?: Prisma.LicenseKeyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` LicenseKeys from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` LicenseKeys. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of LicenseKeys. - */ - distinct?: Prisma.LicenseKeyScalarFieldEnum | Prisma.LicenseKeyScalarFieldEnum[]; -}; +export type LicenseKeyFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelect | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyInclude | null + /** + * Filter, which LicenseKey to fetch. + */ + where?: Prisma.LicenseKeyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of LicenseKeys to fetch. + */ + orderBy?: Prisma.LicenseKeyOrderByWithRelationInput | Prisma.LicenseKeyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for LicenseKeys. + */ + cursor?: Prisma.LicenseKeyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` LicenseKeys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` LicenseKeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of LicenseKeys. + */ + distinct?: Prisma.LicenseKeyScalarFieldEnum | Prisma.LicenseKeyScalarFieldEnum[] +} /** * LicenseKey findMany */ -export type LicenseKeyFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelect | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyInclude | null; - /** - * Filter, which LicenseKeys to fetch. - */ - where?: Prisma.LicenseKeyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of LicenseKeys to fetch. - */ - orderBy?: Prisma.LicenseKeyOrderByWithRelationInput | Prisma.LicenseKeyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing LicenseKeys. - */ - cursor?: Prisma.LicenseKeyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` LicenseKeys from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` LicenseKeys. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of LicenseKeys. - */ - distinct?: Prisma.LicenseKeyScalarFieldEnum | Prisma.LicenseKeyScalarFieldEnum[]; -}; +export type LicenseKeyFindManyArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelect | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyInclude | null + /** + * Filter, which LicenseKeys to fetch. + */ + where?: Prisma.LicenseKeyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of LicenseKeys to fetch. + */ + orderBy?: Prisma.LicenseKeyOrderByWithRelationInput | Prisma.LicenseKeyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing LicenseKeys. + */ + cursor?: Prisma.LicenseKeyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` LicenseKeys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` LicenseKeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of LicenseKeys. + */ + distinct?: Prisma.LicenseKeyScalarFieldEnum | Prisma.LicenseKeyScalarFieldEnum[] +} /** * LicenseKey create */ -export type LicenseKeyCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelect | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyInclude | null; - /** - * The data needed to create a LicenseKey. - */ - data: Prisma.XOR; -}; +export type LicenseKeyCreateArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelect | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyInclude | null + /** + * The data needed to create a LicenseKey. + */ + data: Prisma.XOR +} /** * LicenseKey createMany */ -export type LicenseKeyCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many LicenseKeys. - */ - data: Prisma.LicenseKeyCreateManyInput | Prisma.LicenseKeyCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type LicenseKeyCreateManyArgs = { + /** + * The data used to create many LicenseKeys. + */ + data: Prisma.LicenseKeyCreateManyInput | Prisma.LicenseKeyCreateManyInput[] + skipDuplicates?: boolean +} /** * LicenseKey createManyAndReturn */ -export type LicenseKeyCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelectCreateManyAndReturn | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * The data used to create many LicenseKeys. - */ - data: Prisma.LicenseKeyCreateManyInput | Prisma.LicenseKeyCreateManyInput[]; - skipDuplicates?: boolean; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyIncludeCreateManyAndReturn | null; -}; +export type LicenseKeyCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelectCreateManyAndReturn | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * The data used to create many LicenseKeys. + */ + data: Prisma.LicenseKeyCreateManyInput | Prisma.LicenseKeyCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyIncludeCreateManyAndReturn | null +} /** * LicenseKey update */ -export type LicenseKeyUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelect | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyInclude | null; - /** - * The data needed to update a LicenseKey. - */ - data: Prisma.XOR; - /** - * Choose, which LicenseKey to update. - */ - where: Prisma.LicenseKeyWhereUniqueInput; -}; +export type LicenseKeyUpdateArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelect | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyInclude | null + /** + * The data needed to update a LicenseKey. + */ + data: Prisma.XOR + /** + * Choose, which LicenseKey to update. + */ + where: Prisma.LicenseKeyWhereUniqueInput +} /** * LicenseKey updateMany */ -export type LicenseKeyUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update LicenseKeys. - */ - data: Prisma.XOR< - Prisma.LicenseKeyUpdateManyMutationInput, - Prisma.LicenseKeyUncheckedUpdateManyInput - >; - /** - * Filter which LicenseKeys to update - */ - where?: Prisma.LicenseKeyWhereInput; - /** - * Limit how many LicenseKeys to update. - */ - limit?: number; -}; +export type LicenseKeyUpdateManyArgs = { + /** + * The data used to update LicenseKeys. + */ + data: Prisma.XOR + /** + * Filter which LicenseKeys to update + */ + where?: Prisma.LicenseKeyWhereInput + /** + * Limit how many LicenseKeys to update. + */ + limit?: number +} /** * LicenseKey updateManyAndReturn */ -export type LicenseKeyUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * The data used to update LicenseKeys. - */ - data: Prisma.XOR< - Prisma.LicenseKeyUpdateManyMutationInput, - Prisma.LicenseKeyUncheckedUpdateManyInput - >; - /** - * Filter which LicenseKeys to update - */ - where?: Prisma.LicenseKeyWhereInput; - /** - * Limit how many LicenseKeys to update. - */ - limit?: number; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyIncludeUpdateManyAndReturn | null; -}; +export type LicenseKeyUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelectUpdateManyAndReturn | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * The data used to update LicenseKeys. + */ + data: Prisma.XOR + /** + * Filter which LicenseKeys to update + */ + where?: Prisma.LicenseKeyWhereInput + /** + * Limit how many LicenseKeys to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyIncludeUpdateManyAndReturn | null +} /** * LicenseKey upsert */ -export type LicenseKeyUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelect | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyInclude | null; - /** - * The filter to search for the LicenseKey to update in case it exists. - */ - where: Prisma.LicenseKeyWhereUniqueInput; - /** - * In case the LicenseKey found by the `where` argument doesn't exist, create a new LicenseKey with this data. - */ - create: Prisma.XOR; - /** - * In case the LicenseKey was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR; -}; +export type LicenseKeyUpsertArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelect | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyInclude | null + /** + * The filter to search for the LicenseKey to update in case it exists. + */ + where: Prisma.LicenseKeyWhereUniqueInput + /** + * In case the LicenseKey found by the `where` argument doesn't exist, create a new LicenseKey with this data. + */ + create: Prisma.XOR + /** + * In case the LicenseKey was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * LicenseKey delete */ -export type LicenseKeyDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelect | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyInclude | null; - /** - * Filter which LicenseKey to delete. - */ - where: Prisma.LicenseKeyWhereUniqueInput; -}; +export type LicenseKeyDeleteArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelect | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyInclude | null + /** + * Filter which LicenseKey to delete. + */ + where: Prisma.LicenseKeyWhereUniqueInput +} /** * LicenseKey deleteMany */ -export type LicenseKeyDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which LicenseKeys to delete - */ - where?: Prisma.LicenseKeyWhereInput; - /** - * Limit how many LicenseKeys to delete. - */ - limit?: number; -}; +export type LicenseKeyDeleteManyArgs = { + /** + * Filter which LicenseKeys to delete + */ + where?: Prisma.LicenseKeyWhereInput + /** + * Limit how many LicenseKeys to delete. + */ + limit?: number +} /** * LicenseKey without action */ -export type LicenseKeyDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelect | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyInclude | null; -}; +export type LicenseKeyDefaultArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelect | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyInclude | null +} diff --git a/src/lib/generated/prisma/models/Proclamation.ts b/src/lib/generated/prisma/models/Proclamation.ts index 23edaef..07610e2 100644 --- a/src/lib/generated/prisma/models/Proclamation.ts +++ b/src/lib/generated/prisma/models/Proclamation.ts @@ -1,1752 +1,1350 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `Proclamation` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model Proclamation - * + * */ -export type ProclamationModel = runtime.Types.Result.DefaultSelection; +export type ProclamationModel = runtime.Types.Result.DefaultSelection export type AggregateProclamation = { - _count: ProclamationCountAggregateOutputType | null; - _avg: ProclamationAvgAggregateOutputType | null; - _sum: ProclamationSumAggregateOutputType | null; - _min: ProclamationMinAggregateOutputType | null; - _max: ProclamationMaxAggregateOutputType | null; -}; + _count: ProclamationCountAggregateOutputType | null + _avg: ProclamationAvgAggregateOutputType | null + _sum: ProclamationSumAggregateOutputType | null + _min: ProclamationMinAggregateOutputType | null + _max: ProclamationMaxAggregateOutputType | null +} export type ProclamationAvgAggregateOutputType = { - solfeggioFrequencyId: number | null; - categoryId: number | null; - subscriptionLevelId: number | null; -}; + solfeggioFrequencyId: number | null + categoryId: number | null + subscriptionLevelId: number | null +} export type ProclamationSumAggregateOutputType = { - solfeggioFrequencyId: number | null; - categoryId: number | null; - subscriptionLevelId: number | null; -}; + solfeggioFrequencyId: number | null + categoryId: number | null + subscriptionLevelId: number | null +} export type ProclamationMinAggregateOutputType = { - id: string | null; - name: string | null; - content: string | null; - solfeggioFrequencyId: number | null; - categoryId: number | null; - subscriptionLevelId: number | null; -}; + id: string | null + name: string | null + content: string | null + solfeggioFrequencyId: number | null + categoryId: number | null + subscriptionLevelId: number | null +} export type ProclamationMaxAggregateOutputType = { - id: string | null; - name: string | null; - content: string | null; - solfeggioFrequencyId: number | null; - categoryId: number | null; - subscriptionLevelId: number | null; -}; + id: string | null + name: string | null + content: string | null + solfeggioFrequencyId: number | null + categoryId: number | null + subscriptionLevelId: number | null +} export type ProclamationCountAggregateOutputType = { - id: number; - name: number; - content: number; - solfeggioFrequencyId: number; - categoryId: number; - subscriptionLevelId: number; - _all: number; -}; + id: number + name: number + content: number + solfeggioFrequencyId: number + categoryId: number + subscriptionLevelId: number + _all: number +} + export type ProclamationAvgAggregateInputType = { - solfeggioFrequencyId?: true; - categoryId?: true; - subscriptionLevelId?: true; -}; + solfeggioFrequencyId?: true + categoryId?: true + subscriptionLevelId?: true +} export type ProclamationSumAggregateInputType = { - solfeggioFrequencyId?: true; - categoryId?: true; - subscriptionLevelId?: true; -}; + solfeggioFrequencyId?: true + categoryId?: true + subscriptionLevelId?: true +} export type ProclamationMinAggregateInputType = { - id?: true; - name?: true; - content?: true; - solfeggioFrequencyId?: true; - categoryId?: true; - subscriptionLevelId?: true; -}; + id?: true + name?: true + content?: true + solfeggioFrequencyId?: true + categoryId?: true + subscriptionLevelId?: true +} export type ProclamationMaxAggregateInputType = { - id?: true; - name?: true; - content?: true; - solfeggioFrequencyId?: true; - categoryId?: true; - subscriptionLevelId?: true; -}; + id?: true + name?: true + content?: true + solfeggioFrequencyId?: true + categoryId?: true + subscriptionLevelId?: true +} export type ProclamationCountAggregateInputType = { - id?: true; - name?: true; - content?: true; - solfeggioFrequencyId?: true; - categoryId?: true; - subscriptionLevelId?: true; - _all?: true; -}; + id?: true + name?: true + content?: true + solfeggioFrequencyId?: true + categoryId?: true + subscriptionLevelId?: true + _all?: true +} -export type ProclamationAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Proclamation to aggregate. - */ - where?: Prisma.ProclamationWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Proclamations to fetch. - */ - orderBy?: - | Prisma.ProclamationOrderByWithRelationInput - | Prisma.ProclamationOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.ProclamationWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Proclamations from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Proclamations. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Proclamations - **/ - _count?: true | ProclamationCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: ProclamationAvgAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: ProclamationSumAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: ProclamationMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: ProclamationMaxAggregateInputType; -}; +export type ProclamationAggregateArgs = { + /** + * Filter which Proclamation to aggregate. + */ + where?: Prisma.ProclamationWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Proclamations to fetch. + */ + orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.ProclamationWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Proclamations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Proclamations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned Proclamations + **/ + _count?: true | ProclamationCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: ProclamationAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: ProclamationSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: ProclamationMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: ProclamationMaxAggregateInputType +} export type GetProclamationAggregateType = { - [P in keyof T & keyof AggregateProclamation]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateProclamation]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type ProclamationGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.ProclamationWhereInput; - orderBy?: - | Prisma.ProclamationOrderByWithAggregationInput - | Prisma.ProclamationOrderByWithAggregationInput[]; - by: Prisma.ProclamationScalarFieldEnum[] | Prisma.ProclamationScalarFieldEnum; - having?: Prisma.ProclamationScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: ProclamationCountAggregateInputType | true; - _avg?: ProclamationAvgAggregateInputType; - _sum?: ProclamationSumAggregateInputType; - _min?: ProclamationMinAggregateInputType; - _max?: ProclamationMaxAggregateInputType; -}; + + + +export type ProclamationGroupByArgs = { + where?: Prisma.ProclamationWhereInput + orderBy?: Prisma.ProclamationOrderByWithAggregationInput | Prisma.ProclamationOrderByWithAggregationInput[] + by: Prisma.ProclamationScalarFieldEnum[] | Prisma.ProclamationScalarFieldEnum + having?: Prisma.ProclamationScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: ProclamationCountAggregateInputType | true + _avg?: ProclamationAvgAggregateInputType + _sum?: ProclamationSumAggregateInputType + _min?: ProclamationMinAggregateInputType + _max?: ProclamationMaxAggregateInputType +} export type ProclamationGroupByOutputType = { - id: string; - name: string; - content: string; - solfeggioFrequencyId: number; - categoryId: number; - subscriptionLevelId: number; - _count: ProclamationCountAggregateOutputType | null; - _avg: ProclamationAvgAggregateOutputType | null; - _sum: ProclamationSumAggregateOutputType | null; - _min: ProclamationMinAggregateOutputType | null; - _max: ProclamationMaxAggregateOutputType | null; -}; + id: string + name: string + content: string + solfeggioFrequencyId: number + categoryId: number + subscriptionLevelId: number + _count: ProclamationCountAggregateOutputType | null + _avg: ProclamationAvgAggregateOutputType | null + _sum: ProclamationSumAggregateOutputType | null + _min: ProclamationMinAggregateOutputType | null + _max: ProclamationMaxAggregateOutputType | null +} export type GetProclamationGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof ProclamationGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > ->; + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof ProclamationGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + export type ProclamationWhereInput = { - AND?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[]; - OR?: Prisma.ProclamationWhereInput[]; - NOT?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[]; - id?: Prisma.StringFilter<'Proclamation'> | string; - name?: Prisma.StringFilter<'Proclamation'> | string; - content?: Prisma.StringFilter<'Proclamation'> | string; - solfeggioFrequencyId?: Prisma.IntFilter<'Proclamation'> | number; - categoryId?: Prisma.IntFilter<'Proclamation'> | number; - subscriptionLevelId?: Prisma.IntFilter<'Proclamation'> | number; - solfeggioFrequency?: Prisma.XOR< - Prisma.SolfeggioFrequencyScalarRelationFilter, - Prisma.SolfeggioFrequencyWhereInput - >; - category?: Prisma.XOR< - Prisma.ProclamationCategoryScalarRelationFilter, - Prisma.ProclamationCategoryWhereInput - >; - userProclamations?: Prisma.UserProclamationsListRelationFilter; - subscriptionLevel?: Prisma.XOR< - Prisma.SubscriptionLevelScalarRelationFilter, - Prisma.SubscriptionLevelWhereInput - >; -}; + AND?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[] + OR?: Prisma.ProclamationWhereInput[] + NOT?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[] + id?: Prisma.StringFilter<"Proclamation"> | string + name?: Prisma.StringFilter<"Proclamation"> | string + content?: Prisma.StringFilter<"Proclamation"> | string + solfeggioFrequencyId?: Prisma.IntFilter<"Proclamation"> | number + categoryId?: Prisma.IntFilter<"Proclamation"> | number + subscriptionLevelId?: Prisma.IntFilter<"Proclamation"> | number + solfeggioFrequency?: Prisma.XOR + category?: Prisma.XOR + userProclamations?: Prisma.UserProclamationsListRelationFilter + subscriptionLevel?: Prisma.XOR +} export type ProclamationOrderByWithRelationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - content?: Prisma.SortOrder; - solfeggioFrequencyId?: Prisma.SortOrder; - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; - solfeggioFrequency?: Prisma.SolfeggioFrequencyOrderByWithRelationInput; - category?: Prisma.ProclamationCategoryOrderByWithRelationInput; - userProclamations?: Prisma.UserProclamationsOrderByRelationAggregateInput; - subscriptionLevel?: Prisma.SubscriptionLevelOrderByWithRelationInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + content?: Prisma.SortOrder + solfeggioFrequencyId?: Prisma.SortOrder + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder + solfeggioFrequency?: Prisma.SolfeggioFrequencyOrderByWithRelationInput + category?: Prisma.ProclamationCategoryOrderByWithRelationInput + userProclamations?: Prisma.UserProclamationsOrderByRelationAggregateInput + subscriptionLevel?: Prisma.SubscriptionLevelOrderByWithRelationInput +} -export type ProclamationWhereUniqueInput = Prisma.AtLeast< - { - id?: string; - name?: string; - AND?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[]; - OR?: Prisma.ProclamationWhereInput[]; - NOT?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[]; - content?: Prisma.StringFilter<'Proclamation'> | string; - solfeggioFrequencyId?: Prisma.IntFilter<'Proclamation'> | number; - categoryId?: Prisma.IntFilter<'Proclamation'> | number; - subscriptionLevelId?: Prisma.IntFilter<'Proclamation'> | number; - solfeggioFrequency?: Prisma.XOR< - Prisma.SolfeggioFrequencyScalarRelationFilter, - Prisma.SolfeggioFrequencyWhereInput - >; - category?: Prisma.XOR< - Prisma.ProclamationCategoryScalarRelationFilter, - Prisma.ProclamationCategoryWhereInput - >; - userProclamations?: Prisma.UserProclamationsListRelationFilter; - subscriptionLevel?: Prisma.XOR< - Prisma.SubscriptionLevelScalarRelationFilter, - Prisma.SubscriptionLevelWhereInput - >; - }, - 'id' | 'name' ->; +export type ProclamationWhereUniqueInput = Prisma.AtLeast<{ + id?: string + name?: string + AND?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[] + OR?: Prisma.ProclamationWhereInput[] + NOT?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[] + content?: Prisma.StringFilter<"Proclamation"> | string + solfeggioFrequencyId?: Prisma.IntFilter<"Proclamation"> | number + categoryId?: Prisma.IntFilter<"Proclamation"> | number + subscriptionLevelId?: Prisma.IntFilter<"Proclamation"> | number + solfeggioFrequency?: Prisma.XOR + category?: Prisma.XOR + userProclamations?: Prisma.UserProclamationsListRelationFilter + subscriptionLevel?: Prisma.XOR +}, "id" | "name"> export type ProclamationOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - content?: Prisma.SortOrder; - solfeggioFrequencyId?: Prisma.SortOrder; - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; - _count?: Prisma.ProclamationCountOrderByAggregateInput; - _avg?: Prisma.ProclamationAvgOrderByAggregateInput; - _max?: Prisma.ProclamationMaxOrderByAggregateInput; - _min?: Prisma.ProclamationMinOrderByAggregateInput; - _sum?: Prisma.ProclamationSumOrderByAggregateInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + content?: Prisma.SortOrder + solfeggioFrequencyId?: Prisma.SortOrder + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder + _count?: Prisma.ProclamationCountOrderByAggregateInput + _avg?: Prisma.ProclamationAvgOrderByAggregateInput + _max?: Prisma.ProclamationMaxOrderByAggregateInput + _min?: Prisma.ProclamationMinOrderByAggregateInput + _sum?: Prisma.ProclamationSumOrderByAggregateInput +} export type ProclamationScalarWhereWithAggregatesInput = { - AND?: - | Prisma.ProclamationScalarWhereWithAggregatesInput - | Prisma.ProclamationScalarWhereWithAggregatesInput[]; - OR?: Prisma.ProclamationScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.ProclamationScalarWhereWithAggregatesInput - | Prisma.ProclamationScalarWhereWithAggregatesInput[]; - id?: Prisma.StringWithAggregatesFilter<'Proclamation'> | string; - name?: Prisma.StringWithAggregatesFilter<'Proclamation'> | string; - content?: Prisma.StringWithAggregatesFilter<'Proclamation'> | string; - solfeggioFrequencyId?: Prisma.IntWithAggregatesFilter<'Proclamation'> | number; - categoryId?: Prisma.IntWithAggregatesFilter<'Proclamation'> | number; - subscriptionLevelId?: Prisma.IntWithAggregatesFilter<'Proclamation'> | number; -}; + AND?: Prisma.ProclamationScalarWhereWithAggregatesInput | Prisma.ProclamationScalarWhereWithAggregatesInput[] + OR?: Prisma.ProclamationScalarWhereWithAggregatesInput[] + NOT?: Prisma.ProclamationScalarWhereWithAggregatesInput | Prisma.ProclamationScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"Proclamation"> | string + name?: Prisma.StringWithAggregatesFilter<"Proclamation"> | string + content?: Prisma.StringWithAggregatesFilter<"Proclamation"> | string + solfeggioFrequencyId?: Prisma.IntWithAggregatesFilter<"Proclamation"> | number + categoryId?: Prisma.IntWithAggregatesFilter<"Proclamation"> | number + subscriptionLevelId?: Prisma.IntWithAggregatesFilter<"Proclamation"> | number +} export type ProclamationCreateInput = { - id?: string; - name: string; - content: string; - solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput; - category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput; - userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput; - subscriptionLevel?: Prisma.SubscriptionLevelCreateNestedOneWithoutProclamationsInput; -}; + id?: string + name: string + content: string + solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput + category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput + userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput + subscriptionLevel: Prisma.SubscriptionLevelCreateNestedOneWithoutProclamationsInput +} export type ProclamationUncheckedCreateInput = { - id?: string; - name: string; - content: string; - solfeggioFrequencyId: number; - categoryId: number; - subscriptionLevelId?: number; - userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput; -}; + id?: string + name: string + content: string + solfeggioFrequencyId: number + categoryId: number + subscriptionLevelId: number + userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput +} export type ProclamationUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput; - category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput; - userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput; - subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput + category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput + userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput + subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput +} export type ProclamationUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number; - categoryId?: Prisma.IntFieldUpdateOperationsInput | number; - subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number; - userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number + categoryId?: Prisma.IntFieldUpdateOperationsInput | number + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number + userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput +} export type ProclamationCreateManyInput = { - id?: string; - name: string; - content: string; - solfeggioFrequencyId: number; - categoryId: number; - subscriptionLevelId?: number; -}; + id?: string + name: string + content: string + solfeggioFrequencyId: number + categoryId: number + subscriptionLevelId: number +} export type ProclamationUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string +} export type ProclamationUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number; - categoryId?: Prisma.IntFieldUpdateOperationsInput | number; - subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number + categoryId?: Prisma.IntFieldUpdateOperationsInput | number + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} export type ProclamationCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - content?: Prisma.SortOrder; - solfeggioFrequencyId?: Prisma.SortOrder; - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + content?: Prisma.SortOrder + solfeggioFrequencyId?: Prisma.SortOrder + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} export type ProclamationAvgOrderByAggregateInput = { - solfeggioFrequencyId?: Prisma.SortOrder; - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; -}; + solfeggioFrequencyId?: Prisma.SortOrder + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} export type ProclamationMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - content?: Prisma.SortOrder; - solfeggioFrequencyId?: Prisma.SortOrder; - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + content?: Prisma.SortOrder + solfeggioFrequencyId?: Prisma.SortOrder + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} export type ProclamationMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - content?: Prisma.SortOrder; - solfeggioFrequencyId?: Prisma.SortOrder; - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + content?: Prisma.SortOrder + solfeggioFrequencyId?: Prisma.SortOrder + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} export type ProclamationSumOrderByAggregateInput = { - solfeggioFrequencyId?: Prisma.SortOrder; - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; -}; + solfeggioFrequencyId?: Prisma.SortOrder + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} export type ProclamationScalarRelationFilter = { - is?: Prisma.ProclamationWhereInput; - isNot?: Prisma.ProclamationWhereInput; -}; + is?: Prisma.ProclamationWhereInput + isNot?: Prisma.ProclamationWhereInput +} export type ProclamationListRelationFilter = { - every?: Prisma.ProclamationWhereInput; - some?: Prisma.ProclamationWhereInput; - none?: Prisma.ProclamationWhereInput; -}; + every?: Prisma.ProclamationWhereInput + some?: Prisma.ProclamationWhereInput + none?: Prisma.ProclamationWhereInput +} export type ProclamationOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder; -}; + _count?: Prisma.SortOrder +} export type ProclamationCreateNestedOneWithoutUserProclamationsInput = { - create?: Prisma.XOR< - Prisma.ProclamationCreateWithoutUserProclamationsInput, - Prisma.ProclamationUncheckedCreateWithoutUserProclamationsInput - >; - connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutUserProclamationsInput; - connect?: Prisma.ProclamationWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutUserProclamationsInput + connect?: Prisma.ProclamationWhereUniqueInput +} export type ProclamationUpdateOneRequiredWithoutUserProclamationsNestedInput = { - create?: Prisma.XOR< - Prisma.ProclamationCreateWithoutUserProclamationsInput, - Prisma.ProclamationUncheckedCreateWithoutUserProclamationsInput - >; - connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutUserProclamationsInput; - upsert?: Prisma.ProclamationUpsertWithoutUserProclamationsInput; - connect?: Prisma.ProclamationWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.ProclamationUpdateToOneWithWhereWithoutUserProclamationsInput, - Prisma.ProclamationUpdateWithoutUserProclamationsInput - >, - Prisma.ProclamationUncheckedUpdateWithoutUserProclamationsInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutUserProclamationsInput + upsert?: Prisma.ProclamationUpsertWithoutUserProclamationsInput + connect?: Prisma.ProclamationWhereUniqueInput + update?: Prisma.XOR, Prisma.ProclamationUncheckedUpdateWithoutUserProclamationsInput> +} export type ProclamationCreateNestedManyWithoutSolfeggioFrequencyInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput, - Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput - > - | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] - | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput - | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[]; - createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[] + createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] +} export type ProclamationUncheckedCreateNestedManyWithoutSolfeggioFrequencyInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput, - Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput - > - | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] - | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput - | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[]; - createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[] + createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] +} export type ProclamationUpdateManyWithoutSolfeggioFrequencyNestedInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput, - Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput - > - | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] - | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput - | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[]; - upsert?: - | Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput - | Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput[]; - createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope; - set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - update?: - | Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput - | Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput[]; - updateMany?: - | Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput - | Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput[]; - deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[] + upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput[] + createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope + set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput[] + updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput[] + deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] +} export type ProclamationUncheckedUpdateManyWithoutSolfeggioFrequencyNestedInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput, - Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput - > - | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] - | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput - | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[]; - upsert?: - | Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput - | Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput[]; - createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope; - set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - update?: - | Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput - | Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput[]; - updateMany?: - | Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput - | Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput[]; - deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[] + upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput[] + createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope + set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput[] + updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput[] + deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] +} export type ProclamationCreateNestedManyWithoutCategoryInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutCategoryInput, - Prisma.ProclamationUncheckedCreateWithoutCategoryInput - > - | Prisma.ProclamationCreateWithoutCategoryInput[] - | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutCategoryInput - | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[]; - createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutCategoryInput[] | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[] + createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] +} export type ProclamationUncheckedCreateNestedManyWithoutCategoryInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutCategoryInput, - Prisma.ProclamationUncheckedCreateWithoutCategoryInput - > - | Prisma.ProclamationCreateWithoutCategoryInput[] - | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutCategoryInput - | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[]; - createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutCategoryInput[] | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[] + createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] +} export type ProclamationUpdateManyWithoutCategoryNestedInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutCategoryInput, - Prisma.ProclamationUncheckedCreateWithoutCategoryInput - > - | Prisma.ProclamationCreateWithoutCategoryInput[] - | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutCategoryInput - | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[]; - upsert?: - | Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput - | Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput[]; - createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope; - set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - update?: - | Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput - | Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput[]; - updateMany?: - | Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput - | Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput[]; - deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutCategoryInput[] | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[] + upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput[] + createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope + set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput[] + updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput | Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput[] + deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] +} export type ProclamationUncheckedUpdateManyWithoutCategoryNestedInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutCategoryInput, - Prisma.ProclamationUncheckedCreateWithoutCategoryInput - > - | Prisma.ProclamationCreateWithoutCategoryInput[] - | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutCategoryInput - | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[]; - upsert?: - | Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput - | Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput[]; - createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope; - set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - update?: - | Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput - | Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput[]; - updateMany?: - | Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput - | Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput[]; - deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutCategoryInput[] | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[] + upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput[] + createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope + set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput[] + updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput | Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput[] + deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] +} export type ProclamationCreateNestedManyWithoutSubscriptionLevelInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutSubscriptionLevelInput, - Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput - > - | Prisma.ProclamationCreateWithoutSubscriptionLevelInput[] - | Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput - | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput[]; - createMany?: Prisma.ProclamationCreateManySubscriptionLevelInputEnvelope; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSubscriptionLevelInput[] | Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput[] + createMany?: Prisma.ProclamationCreateManySubscriptionLevelInputEnvelope + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] +} export type ProclamationUncheckedCreateNestedManyWithoutSubscriptionLevelInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutSubscriptionLevelInput, - Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput - > - | Prisma.ProclamationCreateWithoutSubscriptionLevelInput[] - | Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput - | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput[]; - createMany?: Prisma.ProclamationCreateManySubscriptionLevelInputEnvelope; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSubscriptionLevelInput[] | Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput[] + createMany?: Prisma.ProclamationCreateManySubscriptionLevelInputEnvelope + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] +} export type ProclamationUpdateManyWithoutSubscriptionLevelNestedInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutSubscriptionLevelInput, - Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput - > - | Prisma.ProclamationCreateWithoutSubscriptionLevelInput[] - | Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput - | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput[]; - upsert?: - | Prisma.ProclamationUpsertWithWhereUniqueWithoutSubscriptionLevelInput - | Prisma.ProclamationUpsertWithWhereUniqueWithoutSubscriptionLevelInput[]; - createMany?: Prisma.ProclamationCreateManySubscriptionLevelInputEnvelope; - set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - update?: - | Prisma.ProclamationUpdateWithWhereUniqueWithoutSubscriptionLevelInput - | Prisma.ProclamationUpdateWithWhereUniqueWithoutSubscriptionLevelInput[]; - updateMany?: - | Prisma.ProclamationUpdateManyWithWhereWithoutSubscriptionLevelInput - | Prisma.ProclamationUpdateManyWithWhereWithoutSubscriptionLevelInput[]; - deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSubscriptionLevelInput[] | Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput[] + upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutSubscriptionLevelInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutSubscriptionLevelInput[] + createMany?: Prisma.ProclamationCreateManySubscriptionLevelInputEnvelope + set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutSubscriptionLevelInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutSubscriptionLevelInput[] + updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutSubscriptionLevelInput | Prisma.ProclamationUpdateManyWithWhereWithoutSubscriptionLevelInput[] + deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] +} export type ProclamationUncheckedUpdateManyWithoutSubscriptionLevelNestedInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCreateWithoutSubscriptionLevelInput, - Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput - > - | Prisma.ProclamationCreateWithoutSubscriptionLevelInput[] - | Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput[]; - connectOrCreate?: - | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput - | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput[]; - upsert?: - | Prisma.ProclamationUpsertWithWhereUniqueWithoutSubscriptionLevelInput - | Prisma.ProclamationUpsertWithWhereUniqueWithoutSubscriptionLevelInput[]; - createMany?: Prisma.ProclamationCreateManySubscriptionLevelInputEnvelope; - set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[]; - update?: - | Prisma.ProclamationUpdateWithWhereUniqueWithoutSubscriptionLevelInput - | Prisma.ProclamationUpdateWithWhereUniqueWithoutSubscriptionLevelInput[]; - updateMany?: - | Prisma.ProclamationUpdateManyWithWhereWithoutSubscriptionLevelInput - | Prisma.ProclamationUpdateManyWithWhereWithoutSubscriptionLevelInput[]; - deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSubscriptionLevelInput[] | Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput[] + connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput | Prisma.ProclamationCreateOrConnectWithoutSubscriptionLevelInput[] + upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutSubscriptionLevelInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutSubscriptionLevelInput[] + createMany?: Prisma.ProclamationCreateManySubscriptionLevelInputEnvelope + set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] + update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutSubscriptionLevelInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutSubscriptionLevelInput[] + updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutSubscriptionLevelInput | Prisma.ProclamationUpdateManyWithWhereWithoutSubscriptionLevelInput[] + deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] +} export type ProclamationCreateWithoutUserProclamationsInput = { - id?: string; - name: string; - content: string; - solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput; - category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput; - subscriptionLevel?: Prisma.SubscriptionLevelCreateNestedOneWithoutProclamationsInput; -}; + id?: string + name: string + content: string + solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput + category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput + subscriptionLevel: Prisma.SubscriptionLevelCreateNestedOneWithoutProclamationsInput +} export type ProclamationUncheckedCreateWithoutUserProclamationsInput = { - id?: string; - name: string; - content: string; - solfeggioFrequencyId: number; - categoryId: number; - subscriptionLevelId?: number; -}; + id?: string + name: string + content: string + solfeggioFrequencyId: number + categoryId: number + subscriptionLevelId: number +} export type ProclamationCreateOrConnectWithoutUserProclamationsInput = { - where: Prisma.ProclamationWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProclamationCreateWithoutUserProclamationsInput, - Prisma.ProclamationUncheckedCreateWithoutUserProclamationsInput - >; -}; + where: Prisma.ProclamationWhereUniqueInput + create: Prisma.XOR +} export type ProclamationUpsertWithoutUserProclamationsInput = { - update: Prisma.XOR< - Prisma.ProclamationUpdateWithoutUserProclamationsInput, - Prisma.ProclamationUncheckedUpdateWithoutUserProclamationsInput - >; - create: Prisma.XOR< - Prisma.ProclamationCreateWithoutUserProclamationsInput, - Prisma.ProclamationUncheckedCreateWithoutUserProclamationsInput - >; - where?: Prisma.ProclamationWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.ProclamationWhereInput +} export type ProclamationUpdateToOneWithWhereWithoutUserProclamationsInput = { - where?: Prisma.ProclamationWhereInput; - data: Prisma.XOR< - Prisma.ProclamationUpdateWithoutUserProclamationsInput, - Prisma.ProclamationUncheckedUpdateWithoutUserProclamationsInput - >; -}; + where?: Prisma.ProclamationWhereInput + data: Prisma.XOR +} export type ProclamationUpdateWithoutUserProclamationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput; - category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput; - subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput + category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput + subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput +} export type ProclamationUncheckedUpdateWithoutUserProclamationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number; - categoryId?: Prisma.IntFieldUpdateOperationsInput | number; - subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number + categoryId?: Prisma.IntFieldUpdateOperationsInput | number + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} export type ProclamationCreateWithoutSolfeggioFrequencyInput = { - id?: string; - name: string; - content: string; - category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput; - userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput; - subscriptionLevel?: Prisma.SubscriptionLevelCreateNestedOneWithoutProclamationsInput; -}; + id?: string + name: string + content: string + category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput + userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput + subscriptionLevel: Prisma.SubscriptionLevelCreateNestedOneWithoutProclamationsInput +} export type ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput = { - id?: string; - name: string; - content: string; - categoryId: number; - subscriptionLevelId?: number; - userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput; -}; + id?: string + name: string + content: string + categoryId: number + subscriptionLevelId: number + userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput +} export type ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput = { - where: Prisma.ProclamationWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput, - Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput - >; -}; + where: Prisma.ProclamationWhereUniqueInput + create: Prisma.XOR +} export type ProclamationCreateManySolfeggioFrequencyInputEnvelope = { - data: - | Prisma.ProclamationCreateManySolfeggioFrequencyInput - | Prisma.ProclamationCreateManySolfeggioFrequencyInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.ProclamationCreateManySolfeggioFrequencyInput | Prisma.ProclamationCreateManySolfeggioFrequencyInput[] + skipDuplicates?: boolean +} export type ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput = { - where: Prisma.ProclamationWhereUniqueInput; - update: Prisma.XOR< - Prisma.ProclamationUpdateWithoutSolfeggioFrequencyInput, - Prisma.ProclamationUncheckedUpdateWithoutSolfeggioFrequencyInput - >; - create: Prisma.XOR< - Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput, - Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput - >; -}; + where: Prisma.ProclamationWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput = { - where: Prisma.ProclamationWhereUniqueInput; - data: Prisma.XOR< - Prisma.ProclamationUpdateWithoutSolfeggioFrequencyInput, - Prisma.ProclamationUncheckedUpdateWithoutSolfeggioFrequencyInput - >; -}; + where: Prisma.ProclamationWhereUniqueInput + data: Prisma.XOR +} export type ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput = { - where: Prisma.ProclamationScalarWhereInput; - data: Prisma.XOR< - Prisma.ProclamationUpdateManyMutationInput, - Prisma.ProclamationUncheckedUpdateManyWithoutSolfeggioFrequencyInput - >; -}; + where: Prisma.ProclamationScalarWhereInput + data: Prisma.XOR +} export type ProclamationScalarWhereInput = { - AND?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[]; - OR?: Prisma.ProclamationScalarWhereInput[]; - NOT?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[]; - id?: Prisma.StringFilter<'Proclamation'> | string; - name?: Prisma.StringFilter<'Proclamation'> | string; - content?: Prisma.StringFilter<'Proclamation'> | string; - solfeggioFrequencyId?: Prisma.IntFilter<'Proclamation'> | number; - categoryId?: Prisma.IntFilter<'Proclamation'> | number; - subscriptionLevelId?: Prisma.IntFilter<'Proclamation'> | number; -}; + AND?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] + OR?: Prisma.ProclamationScalarWhereInput[] + NOT?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] + id?: Prisma.StringFilter<"Proclamation"> | string + name?: Prisma.StringFilter<"Proclamation"> | string + content?: Prisma.StringFilter<"Proclamation"> | string + solfeggioFrequencyId?: Prisma.IntFilter<"Proclamation"> | number + categoryId?: Prisma.IntFilter<"Proclamation"> | number + subscriptionLevelId?: Prisma.IntFilter<"Proclamation"> | number +} export type ProclamationCreateWithoutCategoryInput = { - id?: string; - name: string; - content: string; - solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput; - userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput; - subscriptionLevel?: Prisma.SubscriptionLevelCreateNestedOneWithoutProclamationsInput; -}; + id?: string + name: string + content: string + solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput + userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput + subscriptionLevel: Prisma.SubscriptionLevelCreateNestedOneWithoutProclamationsInput +} export type ProclamationUncheckedCreateWithoutCategoryInput = { - id?: string; - name: string; - content: string; - solfeggioFrequencyId: number; - subscriptionLevelId?: number; - userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput; -}; + id?: string + name: string + content: string + solfeggioFrequencyId: number + subscriptionLevelId: number + userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput +} export type ProclamationCreateOrConnectWithoutCategoryInput = { - where: Prisma.ProclamationWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProclamationCreateWithoutCategoryInput, - Prisma.ProclamationUncheckedCreateWithoutCategoryInput - >; -}; + where: Prisma.ProclamationWhereUniqueInput + create: Prisma.XOR +} export type ProclamationCreateManyCategoryInputEnvelope = { - data: Prisma.ProclamationCreateManyCategoryInput | Prisma.ProclamationCreateManyCategoryInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.ProclamationCreateManyCategoryInput | Prisma.ProclamationCreateManyCategoryInput[] + skipDuplicates?: boolean +} export type ProclamationUpsertWithWhereUniqueWithoutCategoryInput = { - where: Prisma.ProclamationWhereUniqueInput; - update: Prisma.XOR< - Prisma.ProclamationUpdateWithoutCategoryInput, - Prisma.ProclamationUncheckedUpdateWithoutCategoryInput - >; - create: Prisma.XOR< - Prisma.ProclamationCreateWithoutCategoryInput, - Prisma.ProclamationUncheckedCreateWithoutCategoryInput - >; -}; + where: Prisma.ProclamationWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type ProclamationUpdateWithWhereUniqueWithoutCategoryInput = { - where: Prisma.ProclamationWhereUniqueInput; - data: Prisma.XOR< - Prisma.ProclamationUpdateWithoutCategoryInput, - Prisma.ProclamationUncheckedUpdateWithoutCategoryInput - >; -}; + where: Prisma.ProclamationWhereUniqueInput + data: Prisma.XOR +} export type ProclamationUpdateManyWithWhereWithoutCategoryInput = { - where: Prisma.ProclamationScalarWhereInput; - data: Prisma.XOR< - Prisma.ProclamationUpdateManyMutationInput, - Prisma.ProclamationUncheckedUpdateManyWithoutCategoryInput - >; -}; + where: Prisma.ProclamationScalarWhereInput + data: Prisma.XOR +} export type ProclamationCreateWithoutSubscriptionLevelInput = { - id?: string; - name: string; - content: string; - solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput; - category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput; - userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput; -}; + id?: string + name: string + content: string + solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput + category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput + userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput +} export type ProclamationUncheckedCreateWithoutSubscriptionLevelInput = { - id?: string; - name: string; - content: string; - solfeggioFrequencyId: number; - categoryId: number; - userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput; -}; + id?: string + name: string + content: string + solfeggioFrequencyId: number + categoryId: number + userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput +} export type ProclamationCreateOrConnectWithoutSubscriptionLevelInput = { - where: Prisma.ProclamationWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProclamationCreateWithoutSubscriptionLevelInput, - Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput - >; -}; + where: Prisma.ProclamationWhereUniqueInput + create: Prisma.XOR +} export type ProclamationCreateManySubscriptionLevelInputEnvelope = { - data: - | Prisma.ProclamationCreateManySubscriptionLevelInput - | Prisma.ProclamationCreateManySubscriptionLevelInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.ProclamationCreateManySubscriptionLevelInput | Prisma.ProclamationCreateManySubscriptionLevelInput[] + skipDuplicates?: boolean +} export type ProclamationUpsertWithWhereUniqueWithoutSubscriptionLevelInput = { - where: Prisma.ProclamationWhereUniqueInput; - update: Prisma.XOR< - Prisma.ProclamationUpdateWithoutSubscriptionLevelInput, - Prisma.ProclamationUncheckedUpdateWithoutSubscriptionLevelInput - >; - create: Prisma.XOR< - Prisma.ProclamationCreateWithoutSubscriptionLevelInput, - Prisma.ProclamationUncheckedCreateWithoutSubscriptionLevelInput - >; -}; + where: Prisma.ProclamationWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type ProclamationUpdateWithWhereUniqueWithoutSubscriptionLevelInput = { - where: Prisma.ProclamationWhereUniqueInput; - data: Prisma.XOR< - Prisma.ProclamationUpdateWithoutSubscriptionLevelInput, - Prisma.ProclamationUncheckedUpdateWithoutSubscriptionLevelInput - >; -}; + where: Prisma.ProclamationWhereUniqueInput + data: Prisma.XOR +} export type ProclamationUpdateManyWithWhereWithoutSubscriptionLevelInput = { - where: Prisma.ProclamationScalarWhereInput; - data: Prisma.XOR< - Prisma.ProclamationUpdateManyMutationInput, - Prisma.ProclamationUncheckedUpdateManyWithoutSubscriptionLevelInput - >; -}; + where: Prisma.ProclamationScalarWhereInput + data: Prisma.XOR +} export type ProclamationCreateManySolfeggioFrequencyInput = { - id?: string; - name: string; - content: string; - categoryId: number; - subscriptionLevelId?: number; -}; + id?: string + name: string + content: string + categoryId: number + subscriptionLevelId: number +} export type ProclamationUpdateWithoutSolfeggioFrequencyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput; - userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput; - subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput + userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput + subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput +} export type ProclamationUncheckedUpdateWithoutSolfeggioFrequencyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - categoryId?: Prisma.IntFieldUpdateOperationsInput | number; - subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number; - userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + categoryId?: Prisma.IntFieldUpdateOperationsInput | number + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number + userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput +} export type ProclamationUncheckedUpdateManyWithoutSolfeggioFrequencyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - categoryId?: Prisma.IntFieldUpdateOperationsInput | number; - subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + categoryId?: Prisma.IntFieldUpdateOperationsInput | number + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} export type ProclamationCreateManyCategoryInput = { - id?: string; - name: string; - content: string; - solfeggioFrequencyId: number; - subscriptionLevelId?: number; -}; + id?: string + name: string + content: string + solfeggioFrequencyId: number + subscriptionLevelId: number +} export type ProclamationUpdateWithoutCategoryInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput; - userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput; - subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput + userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput + subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput +} export type ProclamationUncheckedUpdateWithoutCategoryInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number; - subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number; - userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number + userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput +} export type ProclamationUncheckedUpdateManyWithoutCategoryInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number; - subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} export type ProclamationCreateManySubscriptionLevelInput = { - id?: string; - name: string; - content: string; - solfeggioFrequencyId: number; - categoryId: number; -}; + id?: string + name: string + content: string + solfeggioFrequencyId: number + categoryId: number +} export type ProclamationUpdateWithoutSubscriptionLevelInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput; - category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput; - userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput + category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput + userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput +} export type ProclamationUncheckedUpdateWithoutSubscriptionLevelInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number; - categoryId?: Prisma.IntFieldUpdateOperationsInput | number; - userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number + categoryId?: Prisma.IntFieldUpdateOperationsInput | number + userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput +} export type ProclamationUncheckedUpdateManyWithoutSubscriptionLevelInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - content?: Prisma.StringFieldUpdateOperationsInput | string; - solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number; - categoryId?: Prisma.IntFieldUpdateOperationsInput | number; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.StringFieldUpdateOperationsInput | string + solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number + categoryId?: Prisma.IntFieldUpdateOperationsInput | number +} + /** * Count Type ProclamationCountOutputType */ export type ProclamationCountOutputType = { - userProclamations: number; -}; + userProclamations: number +} -export type ProclamationCountOutputTypeSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - userProclamations?: boolean | ProclamationCountOutputTypeCountUserProclamationsArgs; -}; +export type ProclamationCountOutputTypeSelect = { + userProclamations?: boolean | ProclamationCountOutputTypeCountUserProclamationsArgs +} /** * ProclamationCountOutputType without action */ -export type ProclamationCountOutputTypeDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCountOutputType - */ - select?: Prisma.ProclamationCountOutputTypeSelect | null; -}; +export type ProclamationCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the ProclamationCountOutputType + */ + select?: Prisma.ProclamationCountOutputTypeSelect | null +} /** * ProclamationCountOutputType without action */ -export type ProclamationCountOutputTypeCountUserProclamationsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.UserProclamationsWhereInput; -}; +export type ProclamationCountOutputTypeCountUserProclamationsArgs = { + where?: Prisma.UserProclamationsWhereInput +} -export type ProclamationSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - content?: boolean; - solfeggioFrequencyId?: boolean; - categoryId?: boolean; - subscriptionLevelId?: boolean; - solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs; - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - userProclamations?: boolean | Prisma.Proclamation$userProclamationsArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; - _count?: boolean | Prisma.ProclamationCountOutputTypeDefaultArgs; - }, - ExtArgs['result']['proclamation'] ->; -export type ProclamationSelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - content?: boolean; - solfeggioFrequencyId?: boolean; - categoryId?: boolean; - subscriptionLevelId?: boolean; - solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs; - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; - }, - ExtArgs['result']['proclamation'] ->; +export type ProclamationSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + content?: boolean + solfeggioFrequencyId?: boolean + categoryId?: boolean + subscriptionLevelId?: boolean + solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + userProclamations?: boolean | Prisma.Proclamation$userProclamationsArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs + _count?: boolean | Prisma.ProclamationCountOutputTypeDefaultArgs +}, ExtArgs["result"]["proclamation"]> -export type ProclamationSelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - content?: boolean; - solfeggioFrequencyId?: boolean; - categoryId?: boolean; - subscriptionLevelId?: boolean; - solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs; - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; - }, - ExtArgs['result']['proclamation'] ->; +export type ProclamationSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + content?: boolean + solfeggioFrequencyId?: boolean + categoryId?: boolean + subscriptionLevelId?: boolean + solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs +}, ExtArgs["result"]["proclamation"]> + +export type ProclamationSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + content?: boolean + solfeggioFrequencyId?: boolean + categoryId?: boolean + subscriptionLevelId?: boolean + solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs +}, ExtArgs["result"]["proclamation"]> export type ProclamationSelectScalar = { - id?: boolean; - name?: boolean; - content?: boolean; - solfeggioFrequencyId?: boolean; - categoryId?: boolean; - subscriptionLevelId?: boolean; -}; + id?: boolean + name?: boolean + content?: boolean + solfeggioFrequencyId?: boolean + categoryId?: boolean + subscriptionLevelId?: boolean +} -export type ProclamationOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'id' | 'name' | 'content' | 'solfeggioFrequencyId' | 'categoryId' | 'subscriptionLevelId', - ExtArgs['result']['proclamation'] ->; -export type ProclamationInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs; - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - userProclamations?: boolean | Prisma.Proclamation$userProclamationsArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; - _count?: boolean | Prisma.ProclamationCountOutputTypeDefaultArgs; -}; -export type ProclamationIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs; - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; -}; -export type ProclamationIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs; - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; -}; +export type ProclamationOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "content" | "solfeggioFrequencyId" | "categoryId" | "subscriptionLevelId", ExtArgs["result"]["proclamation"]> +export type ProclamationInclude = { + solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + userProclamations?: boolean | Prisma.Proclamation$userProclamationsArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs + _count?: boolean | Prisma.ProclamationCountOutputTypeDefaultArgs +} +export type ProclamationIncludeCreateManyAndReturn = { + solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs +} +export type ProclamationIncludeUpdateManyAndReturn = { + solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs +} -export type $ProclamationPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'Proclamation'; - objects: { - solfeggioFrequency: Prisma.$SolfeggioFrequencyPayload; - category: Prisma.$ProclamationCategoryPayload; - userProclamations: Prisma.$UserProclamationsPayload[]; - subscriptionLevel: Prisma.$SubscriptionLevelPayload; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: string; - name: string; - content: string; - solfeggioFrequencyId: number; - categoryId: number; - subscriptionLevelId: number; - }, - ExtArgs['result']['proclamation'] - >; - composites: {}; -}; +export type $ProclamationPayload = { + name: "Proclamation" + objects: { + solfeggioFrequency: Prisma.$SolfeggioFrequencyPayload + category: Prisma.$ProclamationCategoryPayload + userProclamations: Prisma.$UserProclamationsPayload[] + subscriptionLevel: Prisma.$SubscriptionLevelPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + name: string + content: string + solfeggioFrequencyId: number + categoryId: number + subscriptionLevelId: number + }, ExtArgs["result"]["proclamation"]> + composites: {} +} -export type ProclamationGetPayload = - runtime.Types.Result.GetResult; +export type ProclamationGetPayload = runtime.Types.Result.GetResult -export type ProclamationCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: ProclamationCountAggregateInputType | true; -}; +export type ProclamationCountArgs = + Omit & { + select?: ProclamationCountAggregateInputType | true + } -export interface ProclamationDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { - types: Prisma.TypeMap['model']['Proclamation']; - meta: { name: 'Proclamation' }; - }; - /** - * Find zero or one Proclamation that matches the filter. - * @param {ProclamationFindUniqueArgs} args - Arguments to find a Proclamation - * @example - * // Get one Proclamation - * const proclamation = await prisma.proclamation.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface ProclamationDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['Proclamation'], meta: { name: 'Proclamation' } } + /** + * Find zero or one Proclamation that matches the filter. + * @param {ProclamationFindUniqueArgs} args - Arguments to find a Proclamation + * @example + * // Get one Proclamation + * const proclamation = await prisma.proclamation.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one Proclamation that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {ProclamationFindUniqueOrThrowArgs} args - Arguments to find a Proclamation - * @example - * // Get one Proclamation - * const proclamation = await prisma.proclamation.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one Proclamation that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {ProclamationFindUniqueOrThrowArgs} args - Arguments to find a Proclamation + * @example + * // Get one Proclamation + * const proclamation = await prisma.proclamation.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first Proclamation that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationFindFirstArgs} args - Arguments to find a Proclamation - * @example - * // Get one Proclamation - * const proclamation = await prisma.proclamation.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Proclamation that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationFindFirstArgs} args - Arguments to find a Proclamation + * @example + * // Get one Proclamation + * const proclamation = await prisma.proclamation.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first Proclamation that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationFindFirstOrThrowArgs} args - Arguments to find a Proclamation - * @example - * // Get one Proclamation - * const proclamation = await prisma.proclamation.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Proclamation that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationFindFirstOrThrowArgs} args - Arguments to find a Proclamation + * @example + * // Get one Proclamation + * const proclamation = await prisma.proclamation.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more Proclamations that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Proclamations - * const proclamations = await prisma.proclamation.findMany() - * - * // Get first 10 Proclamations - * const proclamations = await prisma.proclamation.findMany({ take: 10 }) - * - * // Only select the `id` - * const proclamationWithIdOnly = await prisma.proclamation.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more Proclamations that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Proclamations + * const proclamations = await prisma.proclamation.findMany() + * + * // Get first 10 Proclamations + * const proclamations = await prisma.proclamation.findMany({ take: 10 }) + * + * // Only select the `id` + * const proclamationWithIdOnly = await prisma.proclamation.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a Proclamation. - * @param {ProclamationCreateArgs} args - Arguments to create a Proclamation. - * @example - * // Create one Proclamation - * const Proclamation = await prisma.proclamation.create({ - * data: { - * // ... data to create a Proclamation - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'create', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a Proclamation. + * @param {ProclamationCreateArgs} args - Arguments to create a Proclamation. + * @example + * // Create one Proclamation + * const Proclamation = await prisma.proclamation.create({ + * data: { + * // ... data to create a Proclamation + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many Proclamations. - * @param {ProclamationCreateManyArgs} args - Arguments to create many Proclamations. - * @example - * // Create many Proclamations - * const proclamation = await prisma.proclamation.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many Proclamations. + * @param {ProclamationCreateManyArgs} args - Arguments to create many Proclamations. + * @example + * // Create many Proclamations + * const proclamation = await prisma.proclamation.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many Proclamations and returns the data saved in the database. - * @param {ProclamationCreateManyAndReturnArgs} args - Arguments to create many Proclamations. - * @example - * // Create many Proclamations - * const proclamation = await prisma.proclamation.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Proclamations and only return the `id` - * const proclamationWithIdOnly = await prisma.proclamation.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many Proclamations and returns the data saved in the database. + * @param {ProclamationCreateManyAndReturnArgs} args - Arguments to create many Proclamations. + * @example + * // Create many Proclamations + * const proclamation = await prisma.proclamation.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Proclamations and only return the `id` + * const proclamationWithIdOnly = await prisma.proclamation.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a Proclamation. - * @param {ProclamationDeleteArgs} args - Arguments to delete one Proclamation. - * @example - * // Delete one Proclamation - * const Proclamation = await prisma.proclamation.delete({ - * where: { - * // ... filter to delete one Proclamation - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'delete', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a Proclamation. + * @param {ProclamationDeleteArgs} args - Arguments to delete one Proclamation. + * @example + * // Delete one Proclamation + * const Proclamation = await prisma.proclamation.delete({ + * where: { + * // ... filter to delete one Proclamation + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one Proclamation. - * @param {ProclamationUpdateArgs} args - Arguments to update one Proclamation. - * @example - * // Update one Proclamation - * const proclamation = await prisma.proclamation.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'update', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one Proclamation. + * @param {ProclamationUpdateArgs} args - Arguments to update one Proclamation. + * @example + * // Update one Proclamation + * const proclamation = await prisma.proclamation.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more Proclamations. - * @param {ProclamationDeleteManyArgs} args - Arguments to filter Proclamations to delete. - * @example - * // Delete a few Proclamations - * const { count } = await prisma.proclamation.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more Proclamations. + * @param {ProclamationDeleteManyArgs} args - Arguments to filter Proclamations to delete. + * @example + * // Delete a few Proclamations + * const { count } = await prisma.proclamation.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Proclamations. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Proclamations - * const proclamation = await prisma.proclamation.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more Proclamations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Proclamations + * const proclamation = await prisma.proclamation.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Proclamations and returns the data updated in the database. - * @param {ProclamationUpdateManyAndReturnArgs} args - Arguments to update many Proclamations. - * @example - * // Update many Proclamations - * const proclamation = await prisma.proclamation.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Proclamations and only return the `id` - * const proclamationWithIdOnly = await prisma.proclamation.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more Proclamations and returns the data updated in the database. + * @param {ProclamationUpdateManyAndReturnArgs} args - Arguments to update many Proclamations. + * @example + * // Update many Proclamations + * const proclamation = await prisma.proclamation.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Proclamations and only return the `id` + * const proclamationWithIdOnly = await prisma.proclamation.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one Proclamation. - * @param {ProclamationUpsertArgs} args - Arguments to update or create a Proclamation. - * @example - * // Update or create a Proclamation - * const proclamation = await prisma.proclamation.upsert({ - * create: { - * // ... data to create a Proclamation - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Proclamation we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'upsert', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one Proclamation. + * @param {ProclamationUpsertArgs} args - Arguments to update or create a Proclamation. + * @example + * // Update or create a Proclamation + * const proclamation = await prisma.proclamation.upsert({ + * create: { + * // ... data to create a Proclamation + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Proclamation we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of Proclamations. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationCountArgs} args - Arguments to filter Proclamations to count. - * @example - * // Count the number of Proclamations - * const count = await prisma.proclamation.count({ - * where: { - * // ... the filter for the Proclamations we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a Proclamation. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of Proclamations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCountArgs} args - Arguments to filter Proclamations to count. + * @example + * // Count the number of Proclamations + * const count = await prisma.proclamation.count({ + * where: { + * // ... the filter for the Proclamations we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by Proclamation. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends ProclamationGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: ProclamationGroupByArgs['orderBy'] } - : { orderBy?: ProclamationGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors ? GetProclamationGroupByPayload : Prisma.PrismaPromise; - /** - * Fields of the Proclamation model - */ - readonly fields: ProclamationFieldRefs; + /** + * Allows you to perform aggregations operations on a Proclamation. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Proclamation. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends ProclamationGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: ProclamationGroupByArgs['orderBy'] } + : { orderBy?: ProclamationGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetProclamationGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the Proclamation model + */ +readonly fields: ProclamationFieldRefs; } /** @@ -1755,586 +1353,485 @@ export interface ProclamationDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__ProclamationClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - solfeggioFrequency = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__SolfeggioFrequencyClient< - | runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > - | Null, - Null, - ExtArgs, - GlobalOmitOptions - >; - category = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__ProclamationCategoryClient< - | runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > - | Null, - Null, - ExtArgs, - GlobalOmitOptions - >; - userProclamations = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'findMany', - GlobalOmitOptions - > - | Null - >; - subscriptionLevel = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__SubscriptionLevelClient< - | runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > - | Null, - Null, - ExtArgs, - GlobalOmitOptions - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__ProclamationClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + solfeggioFrequency = {}>(args?: Prisma.Subset>): Prisma.Prisma__SolfeggioFrequencyClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + category = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProclamationCategoryClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + userProclamations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + subscriptionLevel = {}>(args?: Prisma.Subset>): Prisma.Prisma__SubscriptionLevelClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the Proclamation model */ export interface ProclamationFieldRefs { - readonly id: Prisma.FieldRef<'Proclamation', 'String'>; - readonly name: Prisma.FieldRef<'Proclamation', 'String'>; - readonly content: Prisma.FieldRef<'Proclamation', 'String'>; - readonly solfeggioFrequencyId: Prisma.FieldRef<'Proclamation', 'Int'>; - readonly categoryId: Prisma.FieldRef<'Proclamation', 'Int'>; - readonly subscriptionLevelId: Prisma.FieldRef<'Proclamation', 'Int'>; + readonly id: Prisma.FieldRef<"Proclamation", 'String'> + readonly name: Prisma.FieldRef<"Proclamation", 'String'> + readonly content: Prisma.FieldRef<"Proclamation", 'String'> + readonly solfeggioFrequencyId: Prisma.FieldRef<"Proclamation", 'Int'> + readonly categoryId: Prisma.FieldRef<"Proclamation", 'Int'> + readonly subscriptionLevelId: Prisma.FieldRef<"Proclamation", 'Int'> } + // Custom InputTypes /** * Proclamation findUnique */ -export type ProclamationFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - /** - * Filter, which Proclamation to fetch. - */ - where: Prisma.ProclamationWhereUniqueInput; -}; +export type ProclamationFindUniqueArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + /** + * Filter, which Proclamation to fetch. + */ + where: Prisma.ProclamationWhereUniqueInput +} /** * Proclamation findUniqueOrThrow */ -export type ProclamationFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - /** - * Filter, which Proclamation to fetch. - */ - where: Prisma.ProclamationWhereUniqueInput; -}; +export type ProclamationFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + /** + * Filter, which Proclamation to fetch. + */ + where: Prisma.ProclamationWhereUniqueInput +} /** * Proclamation findFirst */ -export type ProclamationFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - /** - * Filter, which Proclamation to fetch. - */ - where?: Prisma.ProclamationWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Proclamations to fetch. - */ - orderBy?: - | Prisma.ProclamationOrderByWithRelationInput - | Prisma.ProclamationOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Proclamations. - */ - cursor?: Prisma.ProclamationWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Proclamations from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Proclamations. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Proclamations. - */ - distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[]; -}; +export type ProclamationFindFirstArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + /** + * Filter, which Proclamation to fetch. + */ + where?: Prisma.ProclamationWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Proclamations to fetch. + */ + orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Proclamations. + */ + cursor?: Prisma.ProclamationWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Proclamations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Proclamations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Proclamations. + */ + distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[] +} /** * Proclamation findFirstOrThrow */ -export type ProclamationFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - /** - * Filter, which Proclamation to fetch. - */ - where?: Prisma.ProclamationWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Proclamations to fetch. - */ - orderBy?: - | Prisma.ProclamationOrderByWithRelationInput - | Prisma.ProclamationOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Proclamations. - */ - cursor?: Prisma.ProclamationWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Proclamations from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Proclamations. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Proclamations. - */ - distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[]; -}; +export type ProclamationFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + /** + * Filter, which Proclamation to fetch. + */ + where?: Prisma.ProclamationWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Proclamations to fetch. + */ + orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Proclamations. + */ + cursor?: Prisma.ProclamationWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Proclamations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Proclamations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Proclamations. + */ + distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[] +} /** * Proclamation findMany */ -export type ProclamationFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - /** - * Filter, which Proclamations to fetch. - */ - where?: Prisma.ProclamationWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Proclamations to fetch. - */ - orderBy?: - | Prisma.ProclamationOrderByWithRelationInput - | Prisma.ProclamationOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Proclamations. - */ - cursor?: Prisma.ProclamationWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Proclamations from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Proclamations. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Proclamations. - */ - distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[]; -}; +export type ProclamationFindManyArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + /** + * Filter, which Proclamations to fetch. + */ + where?: Prisma.ProclamationWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Proclamations to fetch. + */ + orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing Proclamations. + */ + cursor?: Prisma.ProclamationWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Proclamations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Proclamations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Proclamations. + */ + distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[] +} /** * Proclamation create */ -export type ProclamationCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - /** - * The data needed to create a Proclamation. - */ - data: Prisma.XOR; -}; +export type ProclamationCreateArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + /** + * The data needed to create a Proclamation. + */ + data: Prisma.XOR +} /** * Proclamation createMany */ -export type ProclamationCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many Proclamations. - */ - data: Prisma.ProclamationCreateManyInput | Prisma.ProclamationCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type ProclamationCreateManyArgs = { + /** + * The data used to create many Proclamations. + */ + data: Prisma.ProclamationCreateManyInput | Prisma.ProclamationCreateManyInput[] + skipDuplicates?: boolean +} /** * Proclamation createManyAndReturn */ -export type ProclamationCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelectCreateManyAndReturn | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * The data used to create many Proclamations. - */ - data: Prisma.ProclamationCreateManyInput | Prisma.ProclamationCreateManyInput[]; - skipDuplicates?: boolean; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationIncludeCreateManyAndReturn | null; -}; +export type ProclamationCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelectCreateManyAndReturn | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * The data used to create many Proclamations. + */ + data: Prisma.ProclamationCreateManyInput | Prisma.ProclamationCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationIncludeCreateManyAndReturn | null +} /** * Proclamation update */ -export type ProclamationUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - /** - * The data needed to update a Proclamation. - */ - data: Prisma.XOR; - /** - * Choose, which Proclamation to update. - */ - where: Prisma.ProclamationWhereUniqueInput; -}; +export type ProclamationUpdateArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + /** + * The data needed to update a Proclamation. + */ + data: Prisma.XOR + /** + * Choose, which Proclamation to update. + */ + where: Prisma.ProclamationWhereUniqueInput +} /** * Proclamation updateMany */ -export type ProclamationUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update Proclamations. - */ - data: Prisma.XOR< - Prisma.ProclamationUpdateManyMutationInput, - Prisma.ProclamationUncheckedUpdateManyInput - >; - /** - * Filter which Proclamations to update - */ - where?: Prisma.ProclamationWhereInput; - /** - * Limit how many Proclamations to update. - */ - limit?: number; -}; +export type ProclamationUpdateManyArgs = { + /** + * The data used to update Proclamations. + */ + data: Prisma.XOR + /** + * Filter which Proclamations to update + */ + where?: Prisma.ProclamationWhereInput + /** + * Limit how many Proclamations to update. + */ + limit?: number +} /** * Proclamation updateManyAndReturn */ -export type ProclamationUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * The data used to update Proclamations. - */ - data: Prisma.XOR< - Prisma.ProclamationUpdateManyMutationInput, - Prisma.ProclamationUncheckedUpdateManyInput - >; - /** - * Filter which Proclamations to update - */ - where?: Prisma.ProclamationWhereInput; - /** - * Limit how many Proclamations to update. - */ - limit?: number; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationIncludeUpdateManyAndReturn | null; -}; +export type ProclamationUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * The data used to update Proclamations. + */ + data: Prisma.XOR + /** + * Filter which Proclamations to update + */ + where?: Prisma.ProclamationWhereInput + /** + * Limit how many Proclamations to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationIncludeUpdateManyAndReturn | null +} /** * Proclamation upsert */ -export type ProclamationUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - /** - * The filter to search for the Proclamation to update in case it exists. - */ - where: Prisma.ProclamationWhereUniqueInput; - /** - * In case the Proclamation found by the `where` argument doesn't exist, create a new Proclamation with this data. - */ - create: Prisma.XOR; - /** - * In case the Proclamation was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR; -}; +export type ProclamationUpsertArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + /** + * The filter to search for the Proclamation to update in case it exists. + */ + where: Prisma.ProclamationWhereUniqueInput + /** + * In case the Proclamation found by the `where` argument doesn't exist, create a new Proclamation with this data. + */ + create: Prisma.XOR + /** + * In case the Proclamation was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * Proclamation delete */ -export type ProclamationDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - /** - * Filter which Proclamation to delete. - */ - where: Prisma.ProclamationWhereUniqueInput; -}; +export type ProclamationDeleteArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + /** + * Filter which Proclamation to delete. + */ + where: Prisma.ProclamationWhereUniqueInput +} /** * Proclamation deleteMany */ -export type ProclamationDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Proclamations to delete - */ - where?: Prisma.ProclamationWhereInput; - /** - * Limit how many Proclamations to delete. - */ - limit?: number; -}; +export type ProclamationDeleteManyArgs = { + /** + * Filter which Proclamations to delete + */ + where?: Prisma.ProclamationWhereInput + /** + * Limit how many Proclamations to delete. + */ + limit?: number +} /** * Proclamation.userProclamations */ -export type Proclamation$userProclamationsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; - where?: Prisma.UserProclamationsWhereInput; - orderBy?: - | Prisma.UserProclamationsOrderByWithRelationInput - | Prisma.UserProclamationsOrderByWithRelationInput[]; - cursor?: Prisma.UserProclamationsWhereUniqueInput; - take?: number; - skip?: number; - distinct?: Prisma.UserProclamationsScalarFieldEnum | Prisma.UserProclamationsScalarFieldEnum[]; -}; +export type Proclamation$userProclamationsArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null + where?: Prisma.UserProclamationsWhereInput + orderBy?: Prisma.UserProclamationsOrderByWithRelationInput | Prisma.UserProclamationsOrderByWithRelationInput[] + cursor?: Prisma.UserProclamationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.UserProclamationsScalarFieldEnum | Prisma.UserProclamationsScalarFieldEnum[] +} /** * Proclamation without action */ -export type ProclamationDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; -}; +export type ProclamationDefaultArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null +} diff --git a/src/lib/generated/prisma/models/ProclamationCategory.ts b/src/lib/generated/prisma/models/ProclamationCategory.ts index 33467b9..c194f94 100644 --- a/src/lib/generated/prisma/models/ProclamationCategory.ts +++ b/src/lib/generated/prisma/models/ProclamationCategory.ts @@ -1,1382 +1,1204 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `ProclamationCategory` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model ProclamationCategory - * + * */ -export type ProclamationCategoryModel = - runtime.Types.Result.DefaultSelection; +export type ProclamationCategoryModel = runtime.Types.Result.DefaultSelection export type AggregateProclamationCategory = { - _count: ProclamationCategoryCountAggregateOutputType | null; - _avg: ProclamationCategoryAvgAggregateOutputType | null; - _sum: ProclamationCategorySumAggregateOutputType | null; - _min: ProclamationCategoryMinAggregateOutputType | null; - _max: ProclamationCategoryMaxAggregateOutputType | null; -}; + _count: ProclamationCategoryCountAggregateOutputType | null + _avg: ProclamationCategoryAvgAggregateOutputType | null + _sum: ProclamationCategorySumAggregateOutputType | null + _min: ProclamationCategoryMinAggregateOutputType | null + _max: ProclamationCategoryMaxAggregateOutputType | null +} export type ProclamationCategoryAvgAggregateOutputType = { - id: number | null; - parentId: number | null; -}; + id: number | null + sortOrder: number | null + parentId: number | null +} export type ProclamationCategorySumAggregateOutputType = { - id: number | null; - parentId: number | null; -}; + id: number | null + sortOrder: number | null + parentId: number | null +} export type ProclamationCategoryMinAggregateOutputType = { - id: number | null; - name: string | null; - parentId: number | null; -}; + id: number | null + name: string | null + sortOrder: number | null + parentId: number | null +} export type ProclamationCategoryMaxAggregateOutputType = { - id: number | null; - name: string | null; - parentId: number | null; -}; + id: number | null + name: string | null + sortOrder: number | null + parentId: number | null +} export type ProclamationCategoryCountAggregateOutputType = { - id: number; - name: number; - parentId: number; - _all: number; -}; + id: number + name: number + sortOrder: number + parentId: number + _all: number +} + export type ProclamationCategoryAvgAggregateInputType = { - id?: true; - parentId?: true; -}; + id?: true + sortOrder?: true + parentId?: true +} export type ProclamationCategorySumAggregateInputType = { - id?: true; - parentId?: true; -}; + id?: true + sortOrder?: true + parentId?: true +} export type ProclamationCategoryMinAggregateInputType = { - id?: true; - name?: true; - parentId?: true; -}; + id?: true + name?: true + sortOrder?: true + parentId?: true +} export type ProclamationCategoryMaxAggregateInputType = { - id?: true; - name?: true; - parentId?: true; -}; + id?: true + name?: true + sortOrder?: true + parentId?: true +} export type ProclamationCategoryCountAggregateInputType = { - id?: true; - name?: true; - parentId?: true; - _all?: true; -}; + id?: true + name?: true + sortOrder?: true + parentId?: true + _all?: true +} -export type ProclamationCategoryAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which ProclamationCategory to aggregate. - */ - where?: Prisma.ProclamationCategoryWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ProclamationCategories to fetch. - */ - orderBy?: - | Prisma.ProclamationCategoryOrderByWithRelationInput - | Prisma.ProclamationCategoryOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.ProclamationCategoryWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ProclamationCategories from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ProclamationCategories. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned ProclamationCategories - **/ - _count?: true | ProclamationCategoryCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: ProclamationCategoryAvgAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: ProclamationCategorySumAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: ProclamationCategoryMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: ProclamationCategoryMaxAggregateInputType; -}; +export type ProclamationCategoryAggregateArgs = { + /** + * Filter which ProclamationCategory to aggregate. + */ + where?: Prisma.ProclamationCategoryWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ProclamationCategories to fetch. + */ + orderBy?: Prisma.ProclamationCategoryOrderByWithRelationInput | Prisma.ProclamationCategoryOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.ProclamationCategoryWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ProclamationCategories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` ProclamationCategories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned ProclamationCategories + **/ + _count?: true | ProclamationCategoryCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: ProclamationCategoryAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: ProclamationCategorySumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: ProclamationCategoryMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: ProclamationCategoryMaxAggregateInputType +} export type GetProclamationCategoryAggregateType = { - [P in keyof T & keyof AggregateProclamationCategory]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateProclamationCategory]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type ProclamationCategoryGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.ProclamationCategoryWhereInput; - orderBy?: - | Prisma.ProclamationCategoryOrderByWithAggregationInput - | Prisma.ProclamationCategoryOrderByWithAggregationInput[]; - by: Prisma.ProclamationCategoryScalarFieldEnum[] | Prisma.ProclamationCategoryScalarFieldEnum; - having?: Prisma.ProclamationCategoryScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: ProclamationCategoryCountAggregateInputType | true; - _avg?: ProclamationCategoryAvgAggregateInputType; - _sum?: ProclamationCategorySumAggregateInputType; - _min?: ProclamationCategoryMinAggregateInputType; - _max?: ProclamationCategoryMaxAggregateInputType; -}; + + + +export type ProclamationCategoryGroupByArgs = { + where?: Prisma.ProclamationCategoryWhereInput + orderBy?: Prisma.ProclamationCategoryOrderByWithAggregationInput | Prisma.ProclamationCategoryOrderByWithAggregationInput[] + by: Prisma.ProclamationCategoryScalarFieldEnum[] | Prisma.ProclamationCategoryScalarFieldEnum + having?: Prisma.ProclamationCategoryScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: ProclamationCategoryCountAggregateInputType | true + _avg?: ProclamationCategoryAvgAggregateInputType + _sum?: ProclamationCategorySumAggregateInputType + _min?: ProclamationCategoryMinAggregateInputType + _max?: ProclamationCategoryMaxAggregateInputType +} export type ProclamationCategoryGroupByOutputType = { - id: number; - name: string; - parentId: number | null; - _count: ProclamationCategoryCountAggregateOutputType | null; - _avg: ProclamationCategoryAvgAggregateOutputType | null; - _sum: ProclamationCategorySumAggregateOutputType | null; - _min: ProclamationCategoryMinAggregateOutputType | null; - _max: ProclamationCategoryMaxAggregateOutputType | null; -}; + id: number + name: string + sortOrder: number + parentId: number | null + _count: ProclamationCategoryCountAggregateOutputType | null + _avg: ProclamationCategoryAvgAggregateOutputType | null + _sum: ProclamationCategorySumAggregateOutputType | null + _min: ProclamationCategoryMinAggregateOutputType | null + _max: ProclamationCategoryMaxAggregateOutputType | null +} + +export type GetProclamationCategoryGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof ProclamationCategoryGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + -export type GetProclamationCategoryGroupByPayload = - Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof ProclamationCategoryGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > - >; export type ProclamationCategoryWhereInput = { - AND?: Prisma.ProclamationCategoryWhereInput | Prisma.ProclamationCategoryWhereInput[]; - OR?: Prisma.ProclamationCategoryWhereInput[]; - NOT?: Prisma.ProclamationCategoryWhereInput | Prisma.ProclamationCategoryWhereInput[]; - id?: Prisma.IntFilter<'ProclamationCategory'> | number; - name?: Prisma.StringFilter<'ProclamationCategory'> | string; - parentId?: Prisma.IntNullableFilter<'ProclamationCategory'> | number | null; - parent?: Prisma.XOR< - Prisma.ProclamationCategoryNullableScalarRelationFilter, - Prisma.ProclamationCategoryWhereInput - > | null; - children?: Prisma.ProclamationCategoryListRelationFilter; - proclamations?: Prisma.ProclamationListRelationFilter; -}; + AND?: Prisma.ProclamationCategoryWhereInput | Prisma.ProclamationCategoryWhereInput[] + OR?: Prisma.ProclamationCategoryWhereInput[] + NOT?: Prisma.ProclamationCategoryWhereInput | Prisma.ProclamationCategoryWhereInput[] + id?: Prisma.IntFilter<"ProclamationCategory"> | number + name?: Prisma.StringFilter<"ProclamationCategory"> | string + sortOrder?: Prisma.IntFilter<"ProclamationCategory"> | number + parentId?: Prisma.IntNullableFilter<"ProclamationCategory"> | number | null + parent?: Prisma.XOR | null + children?: Prisma.ProclamationCategoryListRelationFilter + proclamations?: Prisma.ProclamationListRelationFilter + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelListRelationFilter +} export type ProclamationCategoryOrderByWithRelationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - parentId?: Prisma.SortOrderInput | Prisma.SortOrder; - parent?: Prisma.ProclamationCategoryOrderByWithRelationInput; - children?: Prisma.ProclamationCategoryOrderByRelationAggregateInput; - proclamations?: Prisma.ProclamationOrderByRelationAggregateInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + sortOrder?: Prisma.SortOrder + parentId?: Prisma.SortOrderInput | Prisma.SortOrder + parent?: Prisma.ProclamationCategoryOrderByWithRelationInput + children?: Prisma.ProclamationCategoryOrderByRelationAggregateInput + proclamations?: Prisma.ProclamationOrderByRelationAggregateInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelOrderByRelationAggregateInput +} -export type ProclamationCategoryWhereUniqueInput = Prisma.AtLeast< - { - id?: number; - parentId_name?: Prisma.ProclamationCategoryParentIdNameCompoundUniqueInput; - AND?: Prisma.ProclamationCategoryWhereInput | Prisma.ProclamationCategoryWhereInput[]; - OR?: Prisma.ProclamationCategoryWhereInput[]; - NOT?: Prisma.ProclamationCategoryWhereInput | Prisma.ProclamationCategoryWhereInput[]; - name?: Prisma.StringFilter<'ProclamationCategory'> | string; - parentId?: Prisma.IntNullableFilter<'ProclamationCategory'> | number | null; - parent?: Prisma.XOR< - Prisma.ProclamationCategoryNullableScalarRelationFilter, - Prisma.ProclamationCategoryWhereInput - > | null; - children?: Prisma.ProclamationCategoryListRelationFilter; - proclamations?: Prisma.ProclamationListRelationFilter; - }, - 'id' | 'parentId_name' ->; +export type ProclamationCategoryWhereUniqueInput = Prisma.AtLeast<{ + id?: number + parentId_name?: Prisma.ProclamationCategoryParentIdNameCompoundUniqueInput + AND?: Prisma.ProclamationCategoryWhereInput | Prisma.ProclamationCategoryWhereInput[] + OR?: Prisma.ProclamationCategoryWhereInput[] + NOT?: Prisma.ProclamationCategoryWhereInput | Prisma.ProclamationCategoryWhereInput[] + name?: Prisma.StringFilter<"ProclamationCategory"> | string + sortOrder?: Prisma.IntFilter<"ProclamationCategory"> | number + parentId?: Prisma.IntNullableFilter<"ProclamationCategory"> | number | null + parent?: Prisma.XOR | null + children?: Prisma.ProclamationCategoryListRelationFilter + proclamations?: Prisma.ProclamationListRelationFilter + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelListRelationFilter +}, "id" | "parentId_name"> export type ProclamationCategoryOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - parentId?: Prisma.SortOrderInput | Prisma.SortOrder; - _count?: Prisma.ProclamationCategoryCountOrderByAggregateInput; - _avg?: Prisma.ProclamationCategoryAvgOrderByAggregateInput; - _max?: Prisma.ProclamationCategoryMaxOrderByAggregateInput; - _min?: Prisma.ProclamationCategoryMinOrderByAggregateInput; - _sum?: Prisma.ProclamationCategorySumOrderByAggregateInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + sortOrder?: Prisma.SortOrder + parentId?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.ProclamationCategoryCountOrderByAggregateInput + _avg?: Prisma.ProclamationCategoryAvgOrderByAggregateInput + _max?: Prisma.ProclamationCategoryMaxOrderByAggregateInput + _min?: Prisma.ProclamationCategoryMinOrderByAggregateInput + _sum?: Prisma.ProclamationCategorySumOrderByAggregateInput +} export type ProclamationCategoryScalarWhereWithAggregatesInput = { - AND?: - | Prisma.ProclamationCategoryScalarWhereWithAggregatesInput - | Prisma.ProclamationCategoryScalarWhereWithAggregatesInput[]; - OR?: Prisma.ProclamationCategoryScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.ProclamationCategoryScalarWhereWithAggregatesInput - | Prisma.ProclamationCategoryScalarWhereWithAggregatesInput[]; - id?: Prisma.IntWithAggregatesFilter<'ProclamationCategory'> | number; - name?: Prisma.StringWithAggregatesFilter<'ProclamationCategory'> | string; - parentId?: Prisma.IntNullableWithAggregatesFilter<'ProclamationCategory'> | number | null; -}; + AND?: Prisma.ProclamationCategoryScalarWhereWithAggregatesInput | Prisma.ProclamationCategoryScalarWhereWithAggregatesInput[] + OR?: Prisma.ProclamationCategoryScalarWhereWithAggregatesInput[] + NOT?: Prisma.ProclamationCategoryScalarWhereWithAggregatesInput | Prisma.ProclamationCategoryScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"ProclamationCategory"> | number + name?: Prisma.StringWithAggregatesFilter<"ProclamationCategory"> | string + sortOrder?: Prisma.IntWithAggregatesFilter<"ProclamationCategory"> | number + parentId?: Prisma.IntNullableWithAggregatesFilter<"ProclamationCategory"> | number | null +} export type ProclamationCategoryCreateInput = { - name: string; - parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput; - children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput; - proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput; -}; + name: string + sortOrder?: number + parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput + children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput + proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryUncheckedCreateInput = { - id?: number; - name: string; - parentId?: number | null; - children?: Prisma.ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput; - proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutCategoryInput; -}; + id?: number + name: string + sortOrder?: number + parentId?: number | null + children?: Prisma.ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput + proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutCategoryInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryUpdateInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - parent?: Prisma.ProclamationCategoryUpdateOneWithoutChildrenNestedInput; - children?: Prisma.ProclamationCategoryUpdateManyWithoutParentNestedInput; - proclamations?: Prisma.ProclamationUpdateManyWithoutCategoryNestedInput; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number + parent?: Prisma.ProclamationCategoryUpdateOneWithoutChildrenNestedInput + children?: Prisma.ProclamationCategoryUpdateManyWithoutParentNestedInput + proclamations?: Prisma.ProclamationUpdateManyWithoutCategoryNestedInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutCategoryNestedInput +} export type ProclamationCategoryUncheckedUpdateInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - children?: Prisma.ProclamationCategoryUncheckedUpdateManyWithoutParentNestedInput; - proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutCategoryNestedInput; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number + parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + children?: Prisma.ProclamationCategoryUncheckedUpdateManyWithoutParentNestedInput + proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutCategoryNestedInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryNestedInput +} export type ProclamationCategoryCreateManyInput = { - id?: number; - name: string; - parentId?: number | null; -}; + id?: number + name: string + sortOrder?: number + parentId?: number | null +} export type ProclamationCategoryUpdateManyMutationInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number +} export type ProclamationCategoryUncheckedUpdateManyInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number + parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} export type ProclamationCategoryScalarRelationFilter = { - is?: Prisma.ProclamationCategoryWhereInput; - isNot?: Prisma.ProclamationCategoryWhereInput; -}; + is?: Prisma.ProclamationCategoryWhereInput + isNot?: Prisma.ProclamationCategoryWhereInput +} export type ProclamationCategoryNullableScalarRelationFilter = { - is?: Prisma.ProclamationCategoryWhereInput | null; - isNot?: Prisma.ProclamationCategoryWhereInput | null; -}; + is?: Prisma.ProclamationCategoryWhereInput | null + isNot?: Prisma.ProclamationCategoryWhereInput | null +} export type ProclamationCategoryListRelationFilter = { - every?: Prisma.ProclamationCategoryWhereInput; - some?: Prisma.ProclamationCategoryWhereInput; - none?: Prisma.ProclamationCategoryWhereInput; -}; + every?: Prisma.ProclamationCategoryWhereInput + some?: Prisma.ProclamationCategoryWhereInput + none?: Prisma.ProclamationCategoryWhereInput +} export type ProclamationCategoryOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder; -}; + _count?: Prisma.SortOrder +} export type ProclamationCategoryParentIdNameCompoundUniqueInput = { - parentId: number; - name: string; -}; + parentId: number + name: string +} export type ProclamationCategoryCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - parentId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + sortOrder?: Prisma.SortOrder + parentId?: Prisma.SortOrder +} export type ProclamationCategoryAvgOrderByAggregateInput = { - id?: Prisma.SortOrder; - parentId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + sortOrder?: Prisma.SortOrder + parentId?: Prisma.SortOrder +} export type ProclamationCategoryMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - parentId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + sortOrder?: Prisma.SortOrder + parentId?: Prisma.SortOrder +} export type ProclamationCategoryMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - parentId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + sortOrder?: Prisma.SortOrder + parentId?: Prisma.SortOrder +} export type ProclamationCategorySumOrderByAggregateInput = { - id?: Prisma.SortOrder; - parentId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + sortOrder?: Prisma.SortOrder + parentId?: Prisma.SortOrder +} export type ProclamationCategoryCreateNestedOneWithoutProclamationsInput = { - create?: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutProclamationsInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutProclamationsInput - >; - connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutProclamationsInput; - connect?: Prisma.ProclamationCategoryWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutProclamationsInput + connect?: Prisma.ProclamationCategoryWhereUniqueInput +} export type ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput = { - create?: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutProclamationsInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutProclamationsInput - >; - connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutProclamationsInput; - upsert?: Prisma.ProclamationCategoryUpsertWithoutProclamationsInput; - connect?: Prisma.ProclamationCategoryWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.ProclamationCategoryUpdateToOneWithWhereWithoutProclamationsInput, - Prisma.ProclamationCategoryUpdateWithoutProclamationsInput - >, - Prisma.ProclamationCategoryUncheckedUpdateWithoutProclamationsInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutProclamationsInput + upsert?: Prisma.ProclamationCategoryUpsertWithoutProclamationsInput + connect?: Prisma.ProclamationCategoryWhereUniqueInput + update?: Prisma.XOR, Prisma.ProclamationCategoryUncheckedUpdateWithoutProclamationsInput> +} export type ProclamationCategoryCreateNestedOneWithoutChildrenInput = { - create?: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutChildrenInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutChildrenInput - >; - connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutChildrenInput; - connect?: Prisma.ProclamationCategoryWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutChildrenInput + connect?: Prisma.ProclamationCategoryWhereUniqueInput +} export type ProclamationCategoryCreateNestedManyWithoutParentInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutParentInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput - > - | Prisma.ProclamationCategoryCreateWithoutParentInput[] - | Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput[]; - connectOrCreate?: - | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput - | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput[]; - createMany?: Prisma.ProclamationCategoryCreateManyParentInputEnvelope; - connect?: - | Prisma.ProclamationCategoryWhereUniqueInput - | Prisma.ProclamationCategoryWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCategoryCreateWithoutParentInput[] | Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput[] + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput[] + createMany?: Prisma.ProclamationCategoryCreateManyParentInputEnvelope + connect?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[] +} export type ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutParentInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput - > - | Prisma.ProclamationCategoryCreateWithoutParentInput[] - | Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput[]; - connectOrCreate?: - | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput - | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput[]; - createMany?: Prisma.ProclamationCategoryCreateManyParentInputEnvelope; - connect?: - | Prisma.ProclamationCategoryWhereUniqueInput - | Prisma.ProclamationCategoryWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCategoryCreateWithoutParentInput[] | Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput[] + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput[] + createMany?: Prisma.ProclamationCategoryCreateManyParentInputEnvelope + connect?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[] +} export type ProclamationCategoryUpdateOneWithoutChildrenNestedInput = { - create?: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutChildrenInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutChildrenInput - >; - connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutChildrenInput; - upsert?: Prisma.ProclamationCategoryUpsertWithoutChildrenInput; - disconnect?: Prisma.ProclamationCategoryWhereInput | boolean; - delete?: Prisma.ProclamationCategoryWhereInput | boolean; - connect?: Prisma.ProclamationCategoryWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.ProclamationCategoryUpdateToOneWithWhereWithoutChildrenInput, - Prisma.ProclamationCategoryUpdateWithoutChildrenInput - >, - Prisma.ProclamationCategoryUncheckedUpdateWithoutChildrenInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutChildrenInput + upsert?: Prisma.ProclamationCategoryUpsertWithoutChildrenInput + disconnect?: Prisma.ProclamationCategoryWhereInput | boolean + delete?: Prisma.ProclamationCategoryWhereInput | boolean + connect?: Prisma.ProclamationCategoryWhereUniqueInput + update?: Prisma.XOR, Prisma.ProclamationCategoryUncheckedUpdateWithoutChildrenInput> +} export type ProclamationCategoryUpdateManyWithoutParentNestedInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutParentInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput - > - | Prisma.ProclamationCategoryCreateWithoutParentInput[] - | Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput[]; - connectOrCreate?: - | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput - | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput[]; - upsert?: - | Prisma.ProclamationCategoryUpsertWithWhereUniqueWithoutParentInput - | Prisma.ProclamationCategoryUpsertWithWhereUniqueWithoutParentInput[]; - createMany?: Prisma.ProclamationCategoryCreateManyParentInputEnvelope; - set?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[]; - disconnect?: - | Prisma.ProclamationCategoryWhereUniqueInput - | Prisma.ProclamationCategoryWhereUniqueInput[]; - delete?: - | Prisma.ProclamationCategoryWhereUniqueInput - | Prisma.ProclamationCategoryWhereUniqueInput[]; - connect?: - | Prisma.ProclamationCategoryWhereUniqueInput - | Prisma.ProclamationCategoryWhereUniqueInput[]; - update?: - | Prisma.ProclamationCategoryUpdateWithWhereUniqueWithoutParentInput - | Prisma.ProclamationCategoryUpdateWithWhereUniqueWithoutParentInput[]; - updateMany?: - | Prisma.ProclamationCategoryUpdateManyWithWhereWithoutParentInput - | Prisma.ProclamationCategoryUpdateManyWithWhereWithoutParentInput[]; - deleteMany?: - | Prisma.ProclamationCategoryScalarWhereInput - | Prisma.ProclamationCategoryScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCategoryCreateWithoutParentInput[] | Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput[] + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput[] + upsert?: Prisma.ProclamationCategoryUpsertWithWhereUniqueWithoutParentInput | Prisma.ProclamationCategoryUpsertWithWhereUniqueWithoutParentInput[] + createMany?: Prisma.ProclamationCategoryCreateManyParentInputEnvelope + set?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[] + disconnect?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[] + delete?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[] + connect?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[] + update?: Prisma.ProclamationCategoryUpdateWithWhereUniqueWithoutParentInput | Prisma.ProclamationCategoryUpdateWithWhereUniqueWithoutParentInput[] + updateMany?: Prisma.ProclamationCategoryUpdateManyWithWhereWithoutParentInput | Prisma.ProclamationCategoryUpdateManyWithWhereWithoutParentInput[] + deleteMany?: Prisma.ProclamationCategoryScalarWhereInput | Prisma.ProclamationCategoryScalarWhereInput[] +} export type ProclamationCategoryUncheckedUpdateManyWithoutParentNestedInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutParentInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput - > - | Prisma.ProclamationCategoryCreateWithoutParentInput[] - | Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput[]; - connectOrCreate?: - | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput - | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput[]; - upsert?: - | Prisma.ProclamationCategoryUpsertWithWhereUniqueWithoutParentInput - | Prisma.ProclamationCategoryUpsertWithWhereUniqueWithoutParentInput[]; - createMany?: Prisma.ProclamationCategoryCreateManyParentInputEnvelope; - set?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[]; - disconnect?: - | Prisma.ProclamationCategoryWhereUniqueInput - | Prisma.ProclamationCategoryWhereUniqueInput[]; - delete?: - | Prisma.ProclamationCategoryWhereUniqueInput - | Prisma.ProclamationCategoryWhereUniqueInput[]; - connect?: - | Prisma.ProclamationCategoryWhereUniqueInput - | Prisma.ProclamationCategoryWhereUniqueInput[]; - update?: - | Prisma.ProclamationCategoryUpdateWithWhereUniqueWithoutParentInput - | Prisma.ProclamationCategoryUpdateWithWhereUniqueWithoutParentInput[]; - updateMany?: - | Prisma.ProclamationCategoryUpdateManyWithWhereWithoutParentInput - | Prisma.ProclamationCategoryUpdateManyWithWhereWithoutParentInput[]; - deleteMany?: - | Prisma.ProclamationCategoryScalarWhereInput - | Prisma.ProclamationCategoryScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.ProclamationCategoryCreateWithoutParentInput[] | Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput[] + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput | Prisma.ProclamationCategoryCreateOrConnectWithoutParentInput[] + upsert?: Prisma.ProclamationCategoryUpsertWithWhereUniqueWithoutParentInput | Prisma.ProclamationCategoryUpsertWithWhereUniqueWithoutParentInput[] + createMany?: Prisma.ProclamationCategoryCreateManyParentInputEnvelope + set?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[] + disconnect?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[] + delete?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[] + connect?: Prisma.ProclamationCategoryWhereUniqueInput | Prisma.ProclamationCategoryWhereUniqueInput[] + update?: Prisma.ProclamationCategoryUpdateWithWhereUniqueWithoutParentInput | Prisma.ProclamationCategoryUpdateWithWhereUniqueWithoutParentInput[] + updateMany?: Prisma.ProclamationCategoryUpdateManyWithWhereWithoutParentInput | Prisma.ProclamationCategoryUpdateManyWithWhereWithoutParentInput[] + deleteMany?: Prisma.ProclamationCategoryScalarWhereInput | Prisma.ProclamationCategoryScalarWhereInput[] +} + +export type ProclamationCategoryCreateNestedOneWithoutSubscriptionLevelsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutSubscriptionLevelsInput + connect?: Prisma.ProclamationCategoryWhereUniqueInput +} + +export type ProclamationCategoryUpdateOneRequiredWithoutSubscriptionLevelsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutSubscriptionLevelsInput + upsert?: Prisma.ProclamationCategoryUpsertWithoutSubscriptionLevelsInput + connect?: Prisma.ProclamationCategoryWhereUniqueInput + update?: Prisma.XOR, Prisma.ProclamationCategoryUncheckedUpdateWithoutSubscriptionLevelsInput> +} export type ProclamationCategoryCreateWithoutProclamationsInput = { - name: string; - parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput; - children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput; -}; + name: string + sortOrder?: number + parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput + children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryUncheckedCreateWithoutProclamationsInput = { - id?: number; - name: string; - parentId?: number | null; - children?: Prisma.ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput; -}; + id?: number + name: string + sortOrder?: number + parentId?: number | null + children?: Prisma.ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryCreateOrConnectWithoutProclamationsInput = { - where: Prisma.ProclamationCategoryWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutProclamationsInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutProclamationsInput - >; -}; + where: Prisma.ProclamationCategoryWhereUniqueInput + create: Prisma.XOR +} export type ProclamationCategoryUpsertWithoutProclamationsInput = { - update: Prisma.XOR< - Prisma.ProclamationCategoryUpdateWithoutProclamationsInput, - Prisma.ProclamationCategoryUncheckedUpdateWithoutProclamationsInput - >; - create: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutProclamationsInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutProclamationsInput - >; - where?: Prisma.ProclamationCategoryWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.ProclamationCategoryWhereInput +} export type ProclamationCategoryUpdateToOneWithWhereWithoutProclamationsInput = { - where?: Prisma.ProclamationCategoryWhereInput; - data: Prisma.XOR< - Prisma.ProclamationCategoryUpdateWithoutProclamationsInput, - Prisma.ProclamationCategoryUncheckedUpdateWithoutProclamationsInput - >; -}; + where?: Prisma.ProclamationCategoryWhereInput + data: Prisma.XOR +} export type ProclamationCategoryUpdateWithoutProclamationsInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - parent?: Prisma.ProclamationCategoryUpdateOneWithoutChildrenNestedInput; - children?: Prisma.ProclamationCategoryUpdateManyWithoutParentNestedInput; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number + parent?: Prisma.ProclamationCategoryUpdateOneWithoutChildrenNestedInput + children?: Prisma.ProclamationCategoryUpdateManyWithoutParentNestedInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutCategoryNestedInput +} export type ProclamationCategoryUncheckedUpdateWithoutProclamationsInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - children?: Prisma.ProclamationCategoryUncheckedUpdateManyWithoutParentNestedInput; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number + parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + children?: Prisma.ProclamationCategoryUncheckedUpdateManyWithoutParentNestedInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryNestedInput +} export type ProclamationCategoryCreateWithoutChildrenInput = { - name: string; - parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput; - proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput; -}; + name: string + sortOrder?: number + parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput + proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryUncheckedCreateWithoutChildrenInput = { - id?: number; - name: string; - parentId?: number | null; - proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutCategoryInput; -}; + id?: number + name: string + sortOrder?: number + parentId?: number | null + proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutCategoryInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryCreateOrConnectWithoutChildrenInput = { - where: Prisma.ProclamationCategoryWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutChildrenInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutChildrenInput - >; -}; + where: Prisma.ProclamationCategoryWhereUniqueInput + create: Prisma.XOR +} export type ProclamationCategoryCreateWithoutParentInput = { - name: string; - children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput; - proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput; -}; + name: string + sortOrder?: number + children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput + proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryUncheckedCreateWithoutParentInput = { - id?: number; - name: string; - children?: Prisma.ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput; - proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutCategoryInput; -}; + id?: number + name: string + sortOrder?: number + children?: Prisma.ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput + proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutCategoryInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryCreateOrConnectWithoutParentInput = { - where: Prisma.ProclamationCategoryWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutParentInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput - >; -}; + where: Prisma.ProclamationCategoryWhereUniqueInput + create: Prisma.XOR +} export type ProclamationCategoryCreateManyParentInputEnvelope = { - data: - | Prisma.ProclamationCategoryCreateManyParentInput - | Prisma.ProclamationCategoryCreateManyParentInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.ProclamationCategoryCreateManyParentInput | Prisma.ProclamationCategoryCreateManyParentInput[] + skipDuplicates?: boolean +} export type ProclamationCategoryUpsertWithoutChildrenInput = { - update: Prisma.XOR< - Prisma.ProclamationCategoryUpdateWithoutChildrenInput, - Prisma.ProclamationCategoryUncheckedUpdateWithoutChildrenInput - >; - create: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutChildrenInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutChildrenInput - >; - where?: Prisma.ProclamationCategoryWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.ProclamationCategoryWhereInput +} export type ProclamationCategoryUpdateToOneWithWhereWithoutChildrenInput = { - where?: Prisma.ProclamationCategoryWhereInput; - data: Prisma.XOR< - Prisma.ProclamationCategoryUpdateWithoutChildrenInput, - Prisma.ProclamationCategoryUncheckedUpdateWithoutChildrenInput - >; -}; + where?: Prisma.ProclamationCategoryWhereInput + data: Prisma.XOR +} export type ProclamationCategoryUpdateWithoutChildrenInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - parent?: Prisma.ProclamationCategoryUpdateOneWithoutChildrenNestedInput; - proclamations?: Prisma.ProclamationUpdateManyWithoutCategoryNestedInput; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number + parent?: Prisma.ProclamationCategoryUpdateOneWithoutChildrenNestedInput + proclamations?: Prisma.ProclamationUpdateManyWithoutCategoryNestedInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutCategoryNestedInput +} export type ProclamationCategoryUncheckedUpdateWithoutChildrenInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutCategoryNestedInput; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number + parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutCategoryNestedInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryNestedInput +} export type ProclamationCategoryUpsertWithWhereUniqueWithoutParentInput = { - where: Prisma.ProclamationCategoryWhereUniqueInput; - update: Prisma.XOR< - Prisma.ProclamationCategoryUpdateWithoutParentInput, - Prisma.ProclamationCategoryUncheckedUpdateWithoutParentInput - >; - create: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutParentInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutParentInput - >; -}; + where: Prisma.ProclamationCategoryWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type ProclamationCategoryUpdateWithWhereUniqueWithoutParentInput = { - where: Prisma.ProclamationCategoryWhereUniqueInput; - data: Prisma.XOR< - Prisma.ProclamationCategoryUpdateWithoutParentInput, - Prisma.ProclamationCategoryUncheckedUpdateWithoutParentInput - >; -}; + where: Prisma.ProclamationCategoryWhereUniqueInput + data: Prisma.XOR +} export type ProclamationCategoryUpdateManyWithWhereWithoutParentInput = { - where: Prisma.ProclamationCategoryScalarWhereInput; - data: Prisma.XOR< - Prisma.ProclamationCategoryUpdateManyMutationInput, - Prisma.ProclamationCategoryUncheckedUpdateManyWithoutParentInput - >; -}; + where: Prisma.ProclamationCategoryScalarWhereInput + data: Prisma.XOR +} export type ProclamationCategoryScalarWhereInput = { - AND?: Prisma.ProclamationCategoryScalarWhereInput | Prisma.ProclamationCategoryScalarWhereInput[]; - OR?: Prisma.ProclamationCategoryScalarWhereInput[]; - NOT?: Prisma.ProclamationCategoryScalarWhereInput | Prisma.ProclamationCategoryScalarWhereInput[]; - id?: Prisma.IntFilter<'ProclamationCategory'> | number; - name?: Prisma.StringFilter<'ProclamationCategory'> | string; - parentId?: Prisma.IntNullableFilter<'ProclamationCategory'> | number | null; -}; + AND?: Prisma.ProclamationCategoryScalarWhereInput | Prisma.ProclamationCategoryScalarWhereInput[] + OR?: Prisma.ProclamationCategoryScalarWhereInput[] + NOT?: Prisma.ProclamationCategoryScalarWhereInput | Prisma.ProclamationCategoryScalarWhereInput[] + id?: Prisma.IntFilter<"ProclamationCategory"> | number + name?: Prisma.StringFilter<"ProclamationCategory"> | string + sortOrder?: Prisma.IntFilter<"ProclamationCategory"> | number + parentId?: Prisma.IntNullableFilter<"ProclamationCategory"> | number | null +} + +export type ProclamationCategoryCreateWithoutSubscriptionLevelsInput = { + name: string + sortOrder?: number + parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput + children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput + proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput +} + +export type ProclamationCategoryUncheckedCreateWithoutSubscriptionLevelsInput = { + id?: number + name: string + sortOrder?: number + parentId?: number | null + children?: Prisma.ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput + proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutCategoryInput +} + +export type ProclamationCategoryCreateOrConnectWithoutSubscriptionLevelsInput = { + where: Prisma.ProclamationCategoryWhereUniqueInput + create: Prisma.XOR +} + +export type ProclamationCategoryUpsertWithoutSubscriptionLevelsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.ProclamationCategoryWhereInput +} + +export type ProclamationCategoryUpdateToOneWithWhereWithoutSubscriptionLevelsInput = { + where?: Prisma.ProclamationCategoryWhereInput + data: Prisma.XOR +} + +export type ProclamationCategoryUpdateWithoutSubscriptionLevelsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number + parent?: Prisma.ProclamationCategoryUpdateOneWithoutChildrenNestedInput + children?: Prisma.ProclamationCategoryUpdateManyWithoutParentNestedInput + proclamations?: Prisma.ProclamationUpdateManyWithoutCategoryNestedInput +} + +export type ProclamationCategoryUncheckedUpdateWithoutSubscriptionLevelsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number + parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + children?: Prisma.ProclamationCategoryUncheckedUpdateManyWithoutParentNestedInput + proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutCategoryNestedInput +} export type ProclamationCategoryCreateManyParentInput = { - id?: number; - name: string; -}; + id?: number + name: string + sortOrder?: number +} export type ProclamationCategoryUpdateWithoutParentInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - children?: Prisma.ProclamationCategoryUpdateManyWithoutParentNestedInput; - proclamations?: Prisma.ProclamationUpdateManyWithoutCategoryNestedInput; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number + children?: Prisma.ProclamationCategoryUpdateManyWithoutParentNestedInput + proclamations?: Prisma.ProclamationUpdateManyWithoutCategoryNestedInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutCategoryNestedInput +} export type ProclamationCategoryUncheckedUpdateWithoutParentInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - children?: Prisma.ProclamationCategoryUncheckedUpdateManyWithoutParentNestedInput; - proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutCategoryNestedInput; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number + children?: Prisma.ProclamationCategoryUncheckedUpdateManyWithoutParentNestedInput + proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutCategoryNestedInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryNestedInput +} export type ProclamationCategoryUncheckedUpdateManyWithoutParentInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number +} + /** * Count Type ProclamationCategoryCountOutputType */ export type ProclamationCategoryCountOutputType = { - children: number; - proclamations: number; -}; + children: number + proclamations: number + subscriptionLevels: number +} -export type ProclamationCategoryCountOutputTypeSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - children?: boolean | ProclamationCategoryCountOutputTypeCountChildrenArgs; - proclamations?: boolean | ProclamationCategoryCountOutputTypeCountProclamationsArgs; -}; +export type ProclamationCategoryCountOutputTypeSelect = { + children?: boolean | ProclamationCategoryCountOutputTypeCountChildrenArgs + proclamations?: boolean | ProclamationCategoryCountOutputTypeCountProclamationsArgs + subscriptionLevels?: boolean | ProclamationCategoryCountOutputTypeCountSubscriptionLevelsArgs +} /** * ProclamationCategoryCountOutputType without action */ -export type ProclamationCategoryCountOutputTypeDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategoryCountOutputType - */ - select?: Prisma.ProclamationCategoryCountOutputTypeSelect | null; -}; +export type ProclamationCategoryCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the ProclamationCategoryCountOutputType + */ + select?: Prisma.ProclamationCategoryCountOutputTypeSelect | null +} /** * ProclamationCategoryCountOutputType without action */ -export type ProclamationCategoryCountOutputTypeCountChildrenArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.ProclamationCategoryWhereInput; -}; +export type ProclamationCategoryCountOutputTypeCountChildrenArgs = { + where?: Prisma.ProclamationCategoryWhereInput +} /** * ProclamationCategoryCountOutputType without action */ -export type ProclamationCategoryCountOutputTypeCountProclamationsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.ProclamationWhereInput; -}; +export type ProclamationCategoryCountOutputTypeCountProclamationsArgs = { + where?: Prisma.ProclamationWhereInput +} -export type ProclamationCategorySelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - parentId?: boolean; - parent?: boolean | Prisma.ProclamationCategory$parentArgs; - children?: boolean | Prisma.ProclamationCategory$childrenArgs; - proclamations?: boolean | Prisma.ProclamationCategory$proclamationsArgs; - _count?: boolean | Prisma.ProclamationCategoryCountOutputTypeDefaultArgs; - }, - ExtArgs['result']['proclamationCategory'] ->; +/** + * ProclamationCategoryCountOutputType without action + */ +export type ProclamationCategoryCountOutputTypeCountSubscriptionLevelsArgs = { + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput +} -export type ProclamationCategorySelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - parentId?: boolean; - parent?: boolean | Prisma.ProclamationCategory$parentArgs; - }, - ExtArgs['result']['proclamationCategory'] ->; -export type ProclamationCategorySelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - parentId?: boolean; - parent?: boolean | Prisma.ProclamationCategory$parentArgs; - }, - ExtArgs['result']['proclamationCategory'] ->; +export type ProclamationCategorySelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + sortOrder?: boolean + parentId?: boolean + parent?: boolean | Prisma.ProclamationCategory$parentArgs + children?: boolean | Prisma.ProclamationCategory$childrenArgs + proclamations?: boolean | Prisma.ProclamationCategory$proclamationsArgs + subscriptionLevels?: boolean | Prisma.ProclamationCategory$subscriptionLevelsArgs + _count?: boolean | Prisma.ProclamationCategoryCountOutputTypeDefaultArgs +}, ExtArgs["result"]["proclamationCategory"]> + +export type ProclamationCategorySelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + sortOrder?: boolean + parentId?: boolean + parent?: boolean | Prisma.ProclamationCategory$parentArgs +}, ExtArgs["result"]["proclamationCategory"]> + +export type ProclamationCategorySelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + sortOrder?: boolean + parentId?: boolean + parent?: boolean | Prisma.ProclamationCategory$parentArgs +}, ExtArgs["result"]["proclamationCategory"]> export type ProclamationCategorySelectScalar = { - id?: boolean; - name?: boolean; - parentId?: boolean; -}; + id?: boolean + name?: boolean + sortOrder?: boolean + parentId?: boolean +} -export type ProclamationCategoryOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'id' | 'name' | 'parentId', - ExtArgs['result']['proclamationCategory'] ->; -export type ProclamationCategoryInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - parent?: boolean | Prisma.ProclamationCategory$parentArgs; - children?: boolean | Prisma.ProclamationCategory$childrenArgs; - proclamations?: boolean | Prisma.ProclamationCategory$proclamationsArgs; - _count?: boolean | Prisma.ProclamationCategoryCountOutputTypeDefaultArgs; -}; -export type ProclamationCategoryIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - parent?: boolean | Prisma.ProclamationCategory$parentArgs; -}; -export type ProclamationCategoryIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - parent?: boolean | Prisma.ProclamationCategory$parentArgs; -}; +export type ProclamationCategoryOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "sortOrder" | "parentId", ExtArgs["result"]["proclamationCategory"]> +export type ProclamationCategoryInclude = { + parent?: boolean | Prisma.ProclamationCategory$parentArgs + children?: boolean | Prisma.ProclamationCategory$childrenArgs + proclamations?: boolean | Prisma.ProclamationCategory$proclamationsArgs + subscriptionLevels?: boolean | Prisma.ProclamationCategory$subscriptionLevelsArgs + _count?: boolean | Prisma.ProclamationCategoryCountOutputTypeDefaultArgs +} +export type ProclamationCategoryIncludeCreateManyAndReturn = { + parent?: boolean | Prisma.ProclamationCategory$parentArgs +} +export type ProclamationCategoryIncludeUpdateManyAndReturn = { + parent?: boolean | Prisma.ProclamationCategory$parentArgs +} -export type $ProclamationCategoryPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'ProclamationCategory'; - objects: { - parent: Prisma.$ProclamationCategoryPayload | null; - children: Prisma.$ProclamationCategoryPayload[]; - proclamations: Prisma.$ProclamationPayload[]; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: number; - name: string; - parentId: number | null; - }, - ExtArgs['result']['proclamationCategory'] - >; - composites: {}; -}; +export type $ProclamationCategoryPayload = { + name: "ProclamationCategory" + objects: { + parent: Prisma.$ProclamationCategoryPayload | null + children: Prisma.$ProclamationCategoryPayload[] + proclamations: Prisma.$ProclamationPayload[] + subscriptionLevels: Prisma.$ProclamationCategorySubscriptionLevelPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + name: string + sortOrder: number + parentId: number | null + }, ExtArgs["result"]["proclamationCategory"]> + composites: {} +} -export type ProclamationCategoryGetPayload< - S extends boolean | null | undefined | ProclamationCategoryDefaultArgs -> = runtime.Types.Result.GetResult; +export type ProclamationCategoryGetPayload = runtime.Types.Result.GetResult -export type ProclamationCategoryCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: ProclamationCategoryCountAggregateInputType | true; -}; +export type ProclamationCategoryCountArgs = + Omit & { + select?: ProclamationCategoryCountAggregateInputType | true + } -export interface ProclamationCategoryDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { - types: Prisma.TypeMap['model']['ProclamationCategory']; - meta: { name: 'ProclamationCategory' }; - }; - /** - * Find zero or one ProclamationCategory that matches the filter. - * @param {ProclamationCategoryFindUniqueArgs} args - Arguments to find a ProclamationCategory - * @example - * // Get one ProclamationCategory - * const proclamationCategory = await prisma.proclamationCategory.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationCategoryClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface ProclamationCategoryDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['ProclamationCategory'], meta: { name: 'ProclamationCategory' } } + /** + * Find zero or one ProclamationCategory that matches the filter. + * @param {ProclamationCategoryFindUniqueArgs} args - Arguments to find a ProclamationCategory + * @example + * // Get one ProclamationCategory + * const proclamationCategory = await prisma.proclamationCategory.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategoryClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one ProclamationCategory that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {ProclamationCategoryFindUniqueOrThrowArgs} args - Arguments to find a ProclamationCategory - * @example - * // Get one ProclamationCategory - * const proclamationCategory = await prisma.proclamationCategory.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationCategoryClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one ProclamationCategory that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {ProclamationCategoryFindUniqueOrThrowArgs} args - Arguments to find a ProclamationCategory + * @example + * // Get one ProclamationCategory + * const proclamationCategory = await prisma.proclamationCategory.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategoryClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first ProclamationCategory that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationCategoryFindFirstArgs} args - Arguments to find a ProclamationCategory - * @example - * // Get one ProclamationCategory - * const proclamationCategory = await prisma.proclamationCategory.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationCategoryClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first ProclamationCategory that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategoryFindFirstArgs} args - Arguments to find a ProclamationCategory + * @example + * // Get one ProclamationCategory + * const proclamationCategory = await prisma.proclamationCategory.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategoryClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first ProclamationCategory that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationCategoryFindFirstOrThrowArgs} args - Arguments to find a ProclamationCategory - * @example - * // Get one ProclamationCategory - * const proclamationCategory = await prisma.proclamationCategory.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationCategoryClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first ProclamationCategory that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategoryFindFirstOrThrowArgs} args - Arguments to find a ProclamationCategory + * @example + * // Get one ProclamationCategory + * const proclamationCategory = await prisma.proclamationCategory.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategoryClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more ProclamationCategories that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationCategoryFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all ProclamationCategories - * const proclamationCategories = await prisma.proclamationCategory.findMany() - * - * // Get first 10 ProclamationCategories - * const proclamationCategories = await prisma.proclamationCategory.findMany({ take: 10 }) - * - * // Only select the `id` - * const proclamationCategoryWithIdOnly = await prisma.proclamationCategory.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more ProclamationCategories that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategoryFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all ProclamationCategories + * const proclamationCategories = await prisma.proclamationCategory.findMany() + * + * // Get first 10 ProclamationCategories + * const proclamationCategories = await prisma.proclamationCategory.findMany({ take: 10 }) + * + * // Only select the `id` + * const proclamationCategoryWithIdOnly = await prisma.proclamationCategory.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a ProclamationCategory. - * @param {ProclamationCategoryCreateArgs} args - Arguments to create a ProclamationCategory. - * @example - * // Create one ProclamationCategory - * const ProclamationCategory = await prisma.proclamationCategory.create({ - * data: { - * // ... data to create a ProclamationCategory - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationCategoryClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'create', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a ProclamationCategory. + * @param {ProclamationCategoryCreateArgs} args - Arguments to create a ProclamationCategory. + * @example + * // Create one ProclamationCategory + * const ProclamationCategory = await prisma.proclamationCategory.create({ + * data: { + * // ... data to create a ProclamationCategory + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategoryClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many ProclamationCategories. - * @param {ProclamationCategoryCreateManyArgs} args - Arguments to create many ProclamationCategories. - * @example - * // Create many ProclamationCategories - * const proclamationCategory = await prisma.proclamationCategory.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many ProclamationCategories. + * @param {ProclamationCategoryCreateManyArgs} args - Arguments to create many ProclamationCategories. + * @example + * // Create many ProclamationCategories + * const proclamationCategory = await prisma.proclamationCategory.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many ProclamationCategories and returns the data saved in the database. - * @param {ProclamationCategoryCreateManyAndReturnArgs} args - Arguments to create many ProclamationCategories. - * @example - * // Create many ProclamationCategories - * const proclamationCategory = await prisma.proclamationCategory.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many ProclamationCategories and only return the `id` - * const proclamationCategoryWithIdOnly = await prisma.proclamationCategory.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many ProclamationCategories and returns the data saved in the database. + * @param {ProclamationCategoryCreateManyAndReturnArgs} args - Arguments to create many ProclamationCategories. + * @example + * // Create many ProclamationCategories + * const proclamationCategory = await prisma.proclamationCategory.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many ProclamationCategories and only return the `id` + * const proclamationCategoryWithIdOnly = await prisma.proclamationCategory.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a ProclamationCategory. - * @param {ProclamationCategoryDeleteArgs} args - Arguments to delete one ProclamationCategory. - * @example - * // Delete one ProclamationCategory - * const ProclamationCategory = await prisma.proclamationCategory.delete({ - * where: { - * // ... filter to delete one ProclamationCategory - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationCategoryClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'delete', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a ProclamationCategory. + * @param {ProclamationCategoryDeleteArgs} args - Arguments to delete one ProclamationCategory. + * @example + * // Delete one ProclamationCategory + * const ProclamationCategory = await prisma.proclamationCategory.delete({ + * where: { + * // ... filter to delete one ProclamationCategory + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategoryClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one ProclamationCategory. - * @param {ProclamationCategoryUpdateArgs} args - Arguments to update one ProclamationCategory. - * @example - * // Update one ProclamationCategory - * const proclamationCategory = await prisma.proclamationCategory.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationCategoryClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'update', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one ProclamationCategory. + * @param {ProclamationCategoryUpdateArgs} args - Arguments to update one ProclamationCategory. + * @example + * // Update one ProclamationCategory + * const proclamationCategory = await prisma.proclamationCategory.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategoryClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more ProclamationCategories. - * @param {ProclamationCategoryDeleteManyArgs} args - Arguments to filter ProclamationCategories to delete. - * @example - * // Delete a few ProclamationCategories - * const { count } = await prisma.proclamationCategory.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more ProclamationCategories. + * @param {ProclamationCategoryDeleteManyArgs} args - Arguments to filter ProclamationCategories to delete. + * @example + * // Delete a few ProclamationCategories + * const { count } = await prisma.proclamationCategory.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more ProclamationCategories. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationCategoryUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many ProclamationCategories - * const proclamationCategory = await prisma.proclamationCategory.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more ProclamationCategories. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategoryUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many ProclamationCategories + * const proclamationCategory = await prisma.proclamationCategory.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more ProclamationCategories and returns the data updated in the database. - * @param {ProclamationCategoryUpdateManyAndReturnArgs} args - Arguments to update many ProclamationCategories. - * @example - * // Update many ProclamationCategories - * const proclamationCategory = await prisma.proclamationCategory.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more ProclamationCategories and only return the `id` - * const proclamationCategoryWithIdOnly = await prisma.proclamationCategory.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more ProclamationCategories and returns the data updated in the database. + * @param {ProclamationCategoryUpdateManyAndReturnArgs} args - Arguments to update many ProclamationCategories. + * @example + * // Update many ProclamationCategories + * const proclamationCategory = await prisma.proclamationCategory.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more ProclamationCategories and only return the `id` + * const proclamationCategoryWithIdOnly = await prisma.proclamationCategory.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one ProclamationCategory. - * @param {ProclamationCategoryUpsertArgs} args - Arguments to update or create a ProclamationCategory. - * @example - * // Update or create a ProclamationCategory - * const proclamationCategory = await prisma.proclamationCategory.upsert({ - * create: { - * // ... data to create a ProclamationCategory - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the ProclamationCategory we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProclamationCategoryClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'upsert', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one ProclamationCategory. + * @param {ProclamationCategoryUpsertArgs} args - Arguments to update or create a ProclamationCategory. + * @example + * // Update or create a ProclamationCategory + * const proclamationCategory = await prisma.proclamationCategory.upsert({ + * create: { + * // ... data to create a ProclamationCategory + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the ProclamationCategory we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategoryClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of ProclamationCategories. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationCategoryCountArgs} args - Arguments to filter ProclamationCategories to count. - * @example - * // Count the number of ProclamationCategories - * const count = await prisma.proclamationCategory.count({ - * where: { - * // ... the filter for the ProclamationCategories we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a ProclamationCategory. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationCategoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of ProclamationCategories. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategoryCountArgs} args - Arguments to filter ProclamationCategories to count. + * @example + * // Count the number of ProclamationCategories + * const count = await prisma.proclamationCategory.count({ + * where: { + * // ... the filter for the ProclamationCategories we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by ProclamationCategory. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProclamationCategoryGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends ProclamationCategoryGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: ProclamationCategoryGroupByArgs['orderBy'] } - : { orderBy?: ProclamationCategoryGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors - ? GetProclamationCategoryGroupByPayload - : Prisma.PrismaPromise; - /** - * Fields of the ProclamationCategory model - */ - readonly fields: ProclamationCategoryFieldRefs; + /** + * Allows you to perform aggregations operations on a ProclamationCategory. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by ProclamationCategory. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategoryGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends ProclamationCategoryGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: ProclamationCategoryGroupByArgs['orderBy'] } + : { orderBy?: ProclamationCategoryGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetProclamationCategoryGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the ProclamationCategory model + */ +readonly fields: ProclamationCategoryFieldRefs; } /** @@ -1385,634 +1207,550 @@ export interface ProclamationCategoryDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__ProclamationCategoryClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - parent = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__ProclamationCategoryClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; - children = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'findMany', - GlobalOmitOptions - > - | Null - >; - proclamations = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'findMany', - GlobalOmitOptions - > - | Null - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__ProclamationCategoryClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + parent = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProclamationCategoryClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + children = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + proclamations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + subscriptionLevels = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the ProclamationCategory model */ export interface ProclamationCategoryFieldRefs { - readonly id: Prisma.FieldRef<'ProclamationCategory', 'Int'>; - readonly name: Prisma.FieldRef<'ProclamationCategory', 'String'>; - readonly parentId: Prisma.FieldRef<'ProclamationCategory', 'Int'>; + readonly id: Prisma.FieldRef<"ProclamationCategory", 'Int'> + readonly name: Prisma.FieldRef<"ProclamationCategory", 'String'> + readonly sortOrder: Prisma.FieldRef<"ProclamationCategory", 'Int'> + readonly parentId: Prisma.FieldRef<"ProclamationCategory", 'Int'> } + // Custom InputTypes /** * ProclamationCategory findUnique */ -export type ProclamationCategoryFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; - /** - * Filter, which ProclamationCategory to fetch. - */ - where: Prisma.ProclamationCategoryWhereUniqueInput; -}; +export type ProclamationCategoryFindUniqueArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null + /** + * Filter, which ProclamationCategory to fetch. + */ + where: Prisma.ProclamationCategoryWhereUniqueInput +} /** * ProclamationCategory findUniqueOrThrow */ -export type ProclamationCategoryFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; - /** - * Filter, which ProclamationCategory to fetch. - */ - where: Prisma.ProclamationCategoryWhereUniqueInput; -}; +export type ProclamationCategoryFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null + /** + * Filter, which ProclamationCategory to fetch. + */ + where: Prisma.ProclamationCategoryWhereUniqueInput +} /** * ProclamationCategory findFirst */ -export type ProclamationCategoryFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; - /** - * Filter, which ProclamationCategory to fetch. - */ - where?: Prisma.ProclamationCategoryWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ProclamationCategories to fetch. - */ - orderBy?: - | Prisma.ProclamationCategoryOrderByWithRelationInput - | Prisma.ProclamationCategoryOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for ProclamationCategories. - */ - cursor?: Prisma.ProclamationCategoryWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ProclamationCategories from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ProclamationCategories. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ProclamationCategories. - */ - distinct?: - | Prisma.ProclamationCategoryScalarFieldEnum - | Prisma.ProclamationCategoryScalarFieldEnum[]; -}; +export type ProclamationCategoryFindFirstArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null + /** + * Filter, which ProclamationCategory to fetch. + */ + where?: Prisma.ProclamationCategoryWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ProclamationCategories to fetch. + */ + orderBy?: Prisma.ProclamationCategoryOrderByWithRelationInput | Prisma.ProclamationCategoryOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ProclamationCategories. + */ + cursor?: Prisma.ProclamationCategoryWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ProclamationCategories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` ProclamationCategories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ProclamationCategories. + */ + distinct?: Prisma.ProclamationCategoryScalarFieldEnum | Prisma.ProclamationCategoryScalarFieldEnum[] +} /** * ProclamationCategory findFirstOrThrow */ -export type ProclamationCategoryFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; - /** - * Filter, which ProclamationCategory to fetch. - */ - where?: Prisma.ProclamationCategoryWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ProclamationCategories to fetch. - */ - orderBy?: - | Prisma.ProclamationCategoryOrderByWithRelationInput - | Prisma.ProclamationCategoryOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for ProclamationCategories. - */ - cursor?: Prisma.ProclamationCategoryWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ProclamationCategories from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ProclamationCategories. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ProclamationCategories. - */ - distinct?: - | Prisma.ProclamationCategoryScalarFieldEnum - | Prisma.ProclamationCategoryScalarFieldEnum[]; -}; +export type ProclamationCategoryFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null + /** + * Filter, which ProclamationCategory to fetch. + */ + where?: Prisma.ProclamationCategoryWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ProclamationCategories to fetch. + */ + orderBy?: Prisma.ProclamationCategoryOrderByWithRelationInput | Prisma.ProclamationCategoryOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ProclamationCategories. + */ + cursor?: Prisma.ProclamationCategoryWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ProclamationCategories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` ProclamationCategories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ProclamationCategories. + */ + distinct?: Prisma.ProclamationCategoryScalarFieldEnum | Prisma.ProclamationCategoryScalarFieldEnum[] +} /** * ProclamationCategory findMany */ -export type ProclamationCategoryFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; - /** - * Filter, which ProclamationCategories to fetch. - */ - where?: Prisma.ProclamationCategoryWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ProclamationCategories to fetch. - */ - orderBy?: - | Prisma.ProclamationCategoryOrderByWithRelationInput - | Prisma.ProclamationCategoryOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing ProclamationCategories. - */ - cursor?: Prisma.ProclamationCategoryWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ProclamationCategories from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ProclamationCategories. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ProclamationCategories. - */ - distinct?: - | Prisma.ProclamationCategoryScalarFieldEnum - | Prisma.ProclamationCategoryScalarFieldEnum[]; -}; +export type ProclamationCategoryFindManyArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null + /** + * Filter, which ProclamationCategories to fetch. + */ + where?: Prisma.ProclamationCategoryWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ProclamationCategories to fetch. + */ + orderBy?: Prisma.ProclamationCategoryOrderByWithRelationInput | Prisma.ProclamationCategoryOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing ProclamationCategories. + */ + cursor?: Prisma.ProclamationCategoryWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ProclamationCategories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` ProclamationCategories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ProclamationCategories. + */ + distinct?: Prisma.ProclamationCategoryScalarFieldEnum | Prisma.ProclamationCategoryScalarFieldEnum[] +} /** * ProclamationCategory create */ -export type ProclamationCategoryCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; - /** - * The data needed to create a ProclamationCategory. - */ - data: Prisma.XOR< - Prisma.ProclamationCategoryCreateInput, - Prisma.ProclamationCategoryUncheckedCreateInput - >; -}; +export type ProclamationCategoryCreateArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null + /** + * The data needed to create a ProclamationCategory. + */ + data: Prisma.XOR +} /** * ProclamationCategory createMany */ -export type ProclamationCategoryCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many ProclamationCategories. - */ - data: Prisma.ProclamationCategoryCreateManyInput | Prisma.ProclamationCategoryCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type ProclamationCategoryCreateManyArgs = { + /** + * The data used to create many ProclamationCategories. + */ + data: Prisma.ProclamationCategoryCreateManyInput | Prisma.ProclamationCategoryCreateManyInput[] + skipDuplicates?: boolean +} /** * ProclamationCategory createManyAndReturn */ -export type ProclamationCategoryCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelectCreateManyAndReturn | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * The data used to create many ProclamationCategories. - */ - data: Prisma.ProclamationCategoryCreateManyInput | Prisma.ProclamationCategoryCreateManyInput[]; - skipDuplicates?: boolean; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryIncludeCreateManyAndReturn | null; -}; +export type ProclamationCategoryCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelectCreateManyAndReturn | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * The data used to create many ProclamationCategories. + */ + data: Prisma.ProclamationCategoryCreateManyInput | Prisma.ProclamationCategoryCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryIncludeCreateManyAndReturn | null +} /** * ProclamationCategory update */ -export type ProclamationCategoryUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; - /** - * The data needed to update a ProclamationCategory. - */ - data: Prisma.XOR< - Prisma.ProclamationCategoryUpdateInput, - Prisma.ProclamationCategoryUncheckedUpdateInput - >; - /** - * Choose, which ProclamationCategory to update. - */ - where: Prisma.ProclamationCategoryWhereUniqueInput; -}; +export type ProclamationCategoryUpdateArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null + /** + * The data needed to update a ProclamationCategory. + */ + data: Prisma.XOR + /** + * Choose, which ProclamationCategory to update. + */ + where: Prisma.ProclamationCategoryWhereUniqueInput +} /** * ProclamationCategory updateMany */ -export type ProclamationCategoryUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update ProclamationCategories. - */ - data: Prisma.XOR< - Prisma.ProclamationCategoryUpdateManyMutationInput, - Prisma.ProclamationCategoryUncheckedUpdateManyInput - >; - /** - * Filter which ProclamationCategories to update - */ - where?: Prisma.ProclamationCategoryWhereInput; - /** - * Limit how many ProclamationCategories to update. - */ - limit?: number; -}; +export type ProclamationCategoryUpdateManyArgs = { + /** + * The data used to update ProclamationCategories. + */ + data: Prisma.XOR + /** + * Filter which ProclamationCategories to update + */ + where?: Prisma.ProclamationCategoryWhereInput + /** + * Limit how many ProclamationCategories to update. + */ + limit?: number +} /** * ProclamationCategory updateManyAndReturn */ -export type ProclamationCategoryUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * The data used to update ProclamationCategories. - */ - data: Prisma.XOR< - Prisma.ProclamationCategoryUpdateManyMutationInput, - Prisma.ProclamationCategoryUncheckedUpdateManyInput - >; - /** - * Filter which ProclamationCategories to update - */ - where?: Prisma.ProclamationCategoryWhereInput; - /** - * Limit how many ProclamationCategories to update. - */ - limit?: number; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryIncludeUpdateManyAndReturn | null; -}; +export type ProclamationCategoryUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelectUpdateManyAndReturn | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * The data used to update ProclamationCategories. + */ + data: Prisma.XOR + /** + * Filter which ProclamationCategories to update + */ + where?: Prisma.ProclamationCategoryWhereInput + /** + * Limit how many ProclamationCategories to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryIncludeUpdateManyAndReturn | null +} /** * ProclamationCategory upsert */ -export type ProclamationCategoryUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; - /** - * The filter to search for the ProclamationCategory to update in case it exists. - */ - where: Prisma.ProclamationCategoryWhereUniqueInput; - /** - * In case the ProclamationCategory found by the `where` argument doesn't exist, create a new ProclamationCategory with this data. - */ - create: Prisma.XOR< - Prisma.ProclamationCategoryCreateInput, - Prisma.ProclamationCategoryUncheckedCreateInput - >; - /** - * In case the ProclamationCategory was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR< - Prisma.ProclamationCategoryUpdateInput, - Prisma.ProclamationCategoryUncheckedUpdateInput - >; -}; +export type ProclamationCategoryUpsertArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null + /** + * The filter to search for the ProclamationCategory to update in case it exists. + */ + where: Prisma.ProclamationCategoryWhereUniqueInput + /** + * In case the ProclamationCategory found by the `where` argument doesn't exist, create a new ProclamationCategory with this data. + */ + create: Prisma.XOR + /** + * In case the ProclamationCategory was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * ProclamationCategory delete */ -export type ProclamationCategoryDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; - /** - * Filter which ProclamationCategory to delete. - */ - where: Prisma.ProclamationCategoryWhereUniqueInput; -}; +export type ProclamationCategoryDeleteArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null + /** + * Filter which ProclamationCategory to delete. + */ + where: Prisma.ProclamationCategoryWhereUniqueInput +} /** * ProclamationCategory deleteMany */ -export type ProclamationCategoryDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which ProclamationCategories to delete - */ - where?: Prisma.ProclamationCategoryWhereInput; - /** - * Limit how many ProclamationCategories to delete. - */ - limit?: number; -}; +export type ProclamationCategoryDeleteManyArgs = { + /** + * Filter which ProclamationCategories to delete + */ + where?: Prisma.ProclamationCategoryWhereInput + /** + * Limit how many ProclamationCategories to delete. + */ + limit?: number +} /** * ProclamationCategory.parent */ -export type ProclamationCategory$parentArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; - where?: Prisma.ProclamationCategoryWhereInput; -}; +export type ProclamationCategory$parentArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null + where?: Prisma.ProclamationCategoryWhereInput +} /** * ProclamationCategory.children */ -export type ProclamationCategory$childrenArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; - where?: Prisma.ProclamationCategoryWhereInput; - orderBy?: - | Prisma.ProclamationCategoryOrderByWithRelationInput - | Prisma.ProclamationCategoryOrderByWithRelationInput[]; - cursor?: Prisma.ProclamationCategoryWhereUniqueInput; - take?: number; - skip?: number; - distinct?: - | Prisma.ProclamationCategoryScalarFieldEnum - | Prisma.ProclamationCategoryScalarFieldEnum[]; -}; +export type ProclamationCategory$childrenArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null + where?: Prisma.ProclamationCategoryWhereInput + orderBy?: Prisma.ProclamationCategoryOrderByWithRelationInput | Prisma.ProclamationCategoryOrderByWithRelationInput[] + cursor?: Prisma.ProclamationCategoryWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.ProclamationCategoryScalarFieldEnum | Prisma.ProclamationCategoryScalarFieldEnum[] +} /** * ProclamationCategory.proclamations */ -export type ProclamationCategory$proclamationsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - where?: Prisma.ProclamationWhereInput; - orderBy?: - | Prisma.ProclamationOrderByWithRelationInput - | Prisma.ProclamationOrderByWithRelationInput[]; - cursor?: Prisma.ProclamationWhereUniqueInput; - take?: number; - skip?: number; - distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[]; -}; +export type ProclamationCategory$proclamationsArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + where?: Prisma.ProclamationWhereInput + orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[] + cursor?: Prisma.ProclamationWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[] +} + +/** + * ProclamationCategory.subscriptionLevels + */ +export type ProclamationCategory$subscriptionLevelsArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + orderBy?: Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput | Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput[] + cursor?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum | Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum[] +} /** * ProclamationCategory without action */ -export type ProclamationCategoryDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProclamationCategory - */ - select?: Prisma.ProclamationCategorySelect | null; - /** - * Omit specific fields from the ProclamationCategory - */ - omit?: Prisma.ProclamationCategoryOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationCategoryInclude | null; -}; +export type ProclamationCategoryDefaultArgs = { + /** + * Select specific fields to fetch from the ProclamationCategory + */ + select?: Prisma.ProclamationCategorySelect | null + /** + * Omit specific fields from the ProclamationCategory + */ + omit?: Prisma.ProclamationCategoryOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategoryInclude | null +} diff --git a/src/lib/generated/prisma/models/ProclamationCategorySubscriptionLevel.ts b/src/lib/generated/prisma/models/ProclamationCategorySubscriptionLevel.ts new file mode 100644 index 0000000..d62d855 --- /dev/null +++ b/src/lib/generated/prisma/models/ProclamationCategorySubscriptionLevel.ts @@ -0,0 +1,1399 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `ProclamationCategorySubscriptionLevel` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" + +/** + * Model ProclamationCategorySubscriptionLevel + * + */ +export type ProclamationCategorySubscriptionLevelModel = runtime.Types.Result.DefaultSelection + +export type AggregateProclamationCategorySubscriptionLevel = { + _count: ProclamationCategorySubscriptionLevelCountAggregateOutputType | null + _avg: ProclamationCategorySubscriptionLevelAvgAggregateOutputType | null + _sum: ProclamationCategorySubscriptionLevelSumAggregateOutputType | null + _min: ProclamationCategorySubscriptionLevelMinAggregateOutputType | null + _max: ProclamationCategorySubscriptionLevelMaxAggregateOutputType | null +} + +export type ProclamationCategorySubscriptionLevelAvgAggregateOutputType = { + categoryId: number | null + subscriptionLevelId: number | null +} + +export type ProclamationCategorySubscriptionLevelSumAggregateOutputType = { + categoryId: number | null + subscriptionLevelId: number | null +} + +export type ProclamationCategorySubscriptionLevelMinAggregateOutputType = { + categoryId: number | null + subscriptionLevelId: number | null +} + +export type ProclamationCategorySubscriptionLevelMaxAggregateOutputType = { + categoryId: number | null + subscriptionLevelId: number | null +} + +export type ProclamationCategorySubscriptionLevelCountAggregateOutputType = { + categoryId: number + subscriptionLevelId: number + _all: number +} + + +export type ProclamationCategorySubscriptionLevelAvgAggregateInputType = { + categoryId?: true + subscriptionLevelId?: true +} + +export type ProclamationCategorySubscriptionLevelSumAggregateInputType = { + categoryId?: true + subscriptionLevelId?: true +} + +export type ProclamationCategorySubscriptionLevelMinAggregateInputType = { + categoryId?: true + subscriptionLevelId?: true +} + +export type ProclamationCategorySubscriptionLevelMaxAggregateInputType = { + categoryId?: true + subscriptionLevelId?: true +} + +export type ProclamationCategorySubscriptionLevelCountAggregateInputType = { + categoryId?: true + subscriptionLevelId?: true + _all?: true +} + +export type ProclamationCategorySubscriptionLevelAggregateArgs = { + /** + * Filter which ProclamationCategorySubscriptionLevel to aggregate. + */ + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ProclamationCategorySubscriptionLevels to fetch. + */ + orderBy?: Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput | Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ProclamationCategorySubscriptionLevels from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` ProclamationCategorySubscriptionLevels. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned ProclamationCategorySubscriptionLevels + **/ + _count?: true | ProclamationCategorySubscriptionLevelCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: ProclamationCategorySubscriptionLevelAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: ProclamationCategorySubscriptionLevelSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: ProclamationCategorySubscriptionLevelMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: ProclamationCategorySubscriptionLevelMaxAggregateInputType +} + +export type GetProclamationCategorySubscriptionLevelAggregateType = { + [P in keyof T & keyof AggregateProclamationCategorySubscriptionLevel]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type ProclamationCategorySubscriptionLevelGroupByArgs = { + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + orderBy?: Prisma.ProclamationCategorySubscriptionLevelOrderByWithAggregationInput | Prisma.ProclamationCategorySubscriptionLevelOrderByWithAggregationInput[] + by: Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum[] | Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum + having?: Prisma.ProclamationCategorySubscriptionLevelScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: ProclamationCategorySubscriptionLevelCountAggregateInputType | true + _avg?: ProclamationCategorySubscriptionLevelAvgAggregateInputType + _sum?: ProclamationCategorySubscriptionLevelSumAggregateInputType + _min?: ProclamationCategorySubscriptionLevelMinAggregateInputType + _max?: ProclamationCategorySubscriptionLevelMaxAggregateInputType +} + +export type ProclamationCategorySubscriptionLevelGroupByOutputType = { + categoryId: number + subscriptionLevelId: number + _count: ProclamationCategorySubscriptionLevelCountAggregateOutputType | null + _avg: ProclamationCategorySubscriptionLevelAvgAggregateOutputType | null + _sum: ProclamationCategorySubscriptionLevelSumAggregateOutputType | null + _min: ProclamationCategorySubscriptionLevelMinAggregateOutputType | null + _max: ProclamationCategorySubscriptionLevelMaxAggregateOutputType | null +} + +export type GetProclamationCategorySubscriptionLevelGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof ProclamationCategorySubscriptionLevelGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type ProclamationCategorySubscriptionLevelWhereInput = { + AND?: Prisma.ProclamationCategorySubscriptionLevelWhereInput | Prisma.ProclamationCategorySubscriptionLevelWhereInput[] + OR?: Prisma.ProclamationCategorySubscriptionLevelWhereInput[] + NOT?: Prisma.ProclamationCategorySubscriptionLevelWhereInput | Prisma.ProclamationCategorySubscriptionLevelWhereInput[] + categoryId?: Prisma.IntFilter<"ProclamationCategorySubscriptionLevel"> | number + subscriptionLevelId?: Prisma.IntFilter<"ProclamationCategorySubscriptionLevel"> | number + category?: Prisma.XOR + subscriptionLevel?: Prisma.XOR +} + +export type ProclamationCategorySubscriptionLevelOrderByWithRelationInput = { + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder + category?: Prisma.ProclamationCategoryOrderByWithRelationInput + subscriptionLevel?: Prisma.SubscriptionLevelOrderByWithRelationInput +} + +export type ProclamationCategorySubscriptionLevelWhereUniqueInput = Prisma.AtLeast<{ + categoryId_subscriptionLevelId?: Prisma.ProclamationCategorySubscriptionLevelCategoryIdSubscriptionLevelIdCompoundUniqueInput + AND?: Prisma.ProclamationCategorySubscriptionLevelWhereInput | Prisma.ProclamationCategorySubscriptionLevelWhereInput[] + OR?: Prisma.ProclamationCategorySubscriptionLevelWhereInput[] + NOT?: Prisma.ProclamationCategorySubscriptionLevelWhereInput | Prisma.ProclamationCategorySubscriptionLevelWhereInput[] + categoryId?: Prisma.IntFilter<"ProclamationCategorySubscriptionLevel"> | number + subscriptionLevelId?: Prisma.IntFilter<"ProclamationCategorySubscriptionLevel"> | number + category?: Prisma.XOR + subscriptionLevel?: Prisma.XOR +}, "categoryId_subscriptionLevelId"> + +export type ProclamationCategorySubscriptionLevelOrderByWithAggregationInput = { + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder + _count?: Prisma.ProclamationCategorySubscriptionLevelCountOrderByAggregateInput + _avg?: Prisma.ProclamationCategorySubscriptionLevelAvgOrderByAggregateInput + _max?: Prisma.ProclamationCategorySubscriptionLevelMaxOrderByAggregateInput + _min?: Prisma.ProclamationCategorySubscriptionLevelMinOrderByAggregateInput + _sum?: Prisma.ProclamationCategorySubscriptionLevelSumOrderByAggregateInput +} + +export type ProclamationCategorySubscriptionLevelScalarWhereWithAggregatesInput = { + AND?: Prisma.ProclamationCategorySubscriptionLevelScalarWhereWithAggregatesInput | Prisma.ProclamationCategorySubscriptionLevelScalarWhereWithAggregatesInput[] + OR?: Prisma.ProclamationCategorySubscriptionLevelScalarWhereWithAggregatesInput[] + NOT?: Prisma.ProclamationCategorySubscriptionLevelScalarWhereWithAggregatesInput | Prisma.ProclamationCategorySubscriptionLevelScalarWhereWithAggregatesInput[] + categoryId?: Prisma.IntWithAggregatesFilter<"ProclamationCategorySubscriptionLevel"> | number + subscriptionLevelId?: Prisma.IntWithAggregatesFilter<"ProclamationCategorySubscriptionLevel"> | number +} + +export type ProclamationCategorySubscriptionLevelCreateInput = { + category: Prisma.ProclamationCategoryCreateNestedOneWithoutSubscriptionLevelsInput + subscriptionLevel: Prisma.SubscriptionLevelCreateNestedOneWithoutCategoryLevelsInput +} + +export type ProclamationCategorySubscriptionLevelUncheckedCreateInput = { + categoryId: number + subscriptionLevelId: number +} + +export type ProclamationCategorySubscriptionLevelUpdateInput = { + category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutSubscriptionLevelsNestedInput + subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutCategoryLevelsNestedInput +} + +export type ProclamationCategorySubscriptionLevelUncheckedUpdateInput = { + categoryId?: Prisma.IntFieldUpdateOperationsInput | number + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type ProclamationCategorySubscriptionLevelCreateManyInput = { + categoryId: number + subscriptionLevelId: number +} + +export type ProclamationCategorySubscriptionLevelUpdateManyMutationInput = { + +} + +export type ProclamationCategorySubscriptionLevelUncheckedUpdateManyInput = { + categoryId?: Prisma.IntFieldUpdateOperationsInput | number + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type ProclamationCategorySubscriptionLevelListRelationFilter = { + every?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + some?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + none?: Prisma.ProclamationCategorySubscriptionLevelWhereInput +} + +export type ProclamationCategorySubscriptionLevelOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type ProclamationCategorySubscriptionLevelCategoryIdSubscriptionLevelIdCompoundUniqueInput = { + categoryId: number + subscriptionLevelId: number +} + +export type ProclamationCategorySubscriptionLevelCountOrderByAggregateInput = { + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} + +export type ProclamationCategorySubscriptionLevelAvgOrderByAggregateInput = { + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} + +export type ProclamationCategorySubscriptionLevelMaxOrderByAggregateInput = { + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} + +export type ProclamationCategorySubscriptionLevelMinOrderByAggregateInput = { + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} + +export type ProclamationCategorySubscriptionLevelSumOrderByAggregateInput = { + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} + +export type ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput = { + create?: Prisma.XOR | Prisma.ProclamationCategorySubscriptionLevelCreateWithoutCategoryInput[] | Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutCategoryInput[] + connectOrCreate?: Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput[] + createMany?: Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInputEnvelope + connect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] +} + +export type ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutCategoryInput = { + create?: Prisma.XOR | Prisma.ProclamationCategorySubscriptionLevelCreateWithoutCategoryInput[] | Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutCategoryInput[] + connectOrCreate?: Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput[] + createMany?: Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInputEnvelope + connect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] +} + +export type ProclamationCategorySubscriptionLevelUpdateManyWithoutCategoryNestedInput = { + create?: Prisma.XOR | Prisma.ProclamationCategorySubscriptionLevelCreateWithoutCategoryInput[] | Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutCategoryInput[] + connectOrCreate?: Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput[] + upsert?: Prisma.ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutCategoryInput[] + createMany?: Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInputEnvelope + set?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + disconnect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + delete?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + connect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + update?: Prisma.ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutCategoryInput[] + updateMany?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutCategoryInput | Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutCategoryInput[] + deleteMany?: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput | Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput[] +} + +export type ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryNestedInput = { + create?: Prisma.XOR | Prisma.ProclamationCategorySubscriptionLevelCreateWithoutCategoryInput[] | Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutCategoryInput[] + connectOrCreate?: Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput[] + upsert?: Prisma.ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutCategoryInput[] + createMany?: Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInputEnvelope + set?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + disconnect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + delete?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + connect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + update?: Prisma.ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutCategoryInput[] + updateMany?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutCategoryInput | Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutCategoryInput[] + deleteMany?: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput | Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput[] +} + +export type ProclamationCategorySubscriptionLevelCreateNestedManyWithoutSubscriptionLevelInput = { + create?: Prisma.XOR | Prisma.ProclamationCategorySubscriptionLevelCreateWithoutSubscriptionLevelInput[] | Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutSubscriptionLevelInput[] + connectOrCreate?: Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput[] + createMany?: Prisma.ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInputEnvelope + connect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] +} + +export type ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutSubscriptionLevelInput = { + create?: Prisma.XOR | Prisma.ProclamationCategorySubscriptionLevelCreateWithoutSubscriptionLevelInput[] | Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutSubscriptionLevelInput[] + connectOrCreate?: Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput[] + createMany?: Prisma.ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInputEnvelope + connect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] +} + +export type ProclamationCategorySubscriptionLevelUpdateManyWithoutSubscriptionLevelNestedInput = { + create?: Prisma.XOR | Prisma.ProclamationCategorySubscriptionLevelCreateWithoutSubscriptionLevelInput[] | Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutSubscriptionLevelInput[] + connectOrCreate?: Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput[] + upsert?: Prisma.ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutSubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutSubscriptionLevelInput[] + createMany?: Prisma.ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInputEnvelope + set?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + disconnect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + delete?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + connect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + update?: Prisma.ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutSubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutSubscriptionLevelInput[] + updateMany?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutSubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutSubscriptionLevelInput[] + deleteMany?: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput | Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput[] +} + +export type ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutSubscriptionLevelNestedInput = { + create?: Prisma.XOR | Prisma.ProclamationCategorySubscriptionLevelCreateWithoutSubscriptionLevelInput[] | Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutSubscriptionLevelInput[] + connectOrCreate?: Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput[] + upsert?: Prisma.ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutSubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutSubscriptionLevelInput[] + createMany?: Prisma.ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInputEnvelope + set?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + disconnect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + delete?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + connect?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[] + update?: Prisma.ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutSubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutSubscriptionLevelInput[] + updateMany?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutSubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutSubscriptionLevelInput[] + deleteMany?: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput | Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput[] +} + +export type ProclamationCategorySubscriptionLevelCreateWithoutCategoryInput = { + subscriptionLevel: Prisma.SubscriptionLevelCreateNestedOneWithoutCategoryLevelsInput +} + +export type ProclamationCategorySubscriptionLevelUncheckedCreateWithoutCategoryInput = { + subscriptionLevelId: number +} + +export type ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput = { + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + create: Prisma.XOR +} + +export type ProclamationCategorySubscriptionLevelCreateManyCategoryInputEnvelope = { + data: Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInput | Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInput[] + skipDuplicates?: boolean +} + +export type ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutCategoryInput = { + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutCategoryInput = { + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + data: Prisma.XOR +} + +export type ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutCategoryInput = { + where: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput + data: Prisma.XOR +} + +export type ProclamationCategorySubscriptionLevelScalarWhereInput = { + AND?: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput | Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput[] + OR?: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput[] + NOT?: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput | Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput[] + categoryId?: Prisma.IntFilter<"ProclamationCategorySubscriptionLevel"> | number + subscriptionLevelId?: Prisma.IntFilter<"ProclamationCategorySubscriptionLevel"> | number +} + +export type ProclamationCategorySubscriptionLevelCreateWithoutSubscriptionLevelInput = { + category: Prisma.ProclamationCategoryCreateNestedOneWithoutSubscriptionLevelsInput +} + +export type ProclamationCategorySubscriptionLevelUncheckedCreateWithoutSubscriptionLevelInput = { + categoryId: number +} + +export type ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput = { + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + create: Prisma.XOR +} + +export type ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInputEnvelope = { + data: Prisma.ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInput[] + skipDuplicates?: boolean +} + +export type ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutSubscriptionLevelInput = { + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutSubscriptionLevelInput = { + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + data: Prisma.XOR +} + +export type ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutSubscriptionLevelInput = { + where: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput + data: Prisma.XOR +} + +export type ProclamationCategorySubscriptionLevelCreateManyCategoryInput = { + subscriptionLevelId: number +} + +export type ProclamationCategorySubscriptionLevelUpdateWithoutCategoryInput = { + subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutCategoryLevelsNestedInput +} + +export type ProclamationCategorySubscriptionLevelUncheckedUpdateWithoutCategoryInput = { + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryInput = { + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInput = { + categoryId: number +} + +export type ProclamationCategorySubscriptionLevelUpdateWithoutSubscriptionLevelInput = { + category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutSubscriptionLevelsNestedInput +} + +export type ProclamationCategorySubscriptionLevelUncheckedUpdateWithoutSubscriptionLevelInput = { + categoryId?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutSubscriptionLevelInput = { + categoryId?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type ProclamationCategorySubscriptionLevelSelect = runtime.Types.Extensions.GetSelect<{ + categoryId?: boolean + subscriptionLevelId?: boolean + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs +}, ExtArgs["result"]["proclamationCategorySubscriptionLevel"]> + +export type ProclamationCategorySubscriptionLevelSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + categoryId?: boolean + subscriptionLevelId?: boolean + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs +}, ExtArgs["result"]["proclamationCategorySubscriptionLevel"]> + +export type ProclamationCategorySubscriptionLevelSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + categoryId?: boolean + subscriptionLevelId?: boolean + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs +}, ExtArgs["result"]["proclamationCategorySubscriptionLevel"]> + +export type ProclamationCategorySubscriptionLevelSelectScalar = { + categoryId?: boolean + subscriptionLevelId?: boolean +} + +export type ProclamationCategorySubscriptionLevelOmit = runtime.Types.Extensions.GetOmit<"categoryId" | "subscriptionLevelId", ExtArgs["result"]["proclamationCategorySubscriptionLevel"]> +export type ProclamationCategorySubscriptionLevelInclude = { + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs +} +export type ProclamationCategorySubscriptionLevelIncludeCreateManyAndReturn = { + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs +} +export type ProclamationCategorySubscriptionLevelIncludeUpdateManyAndReturn = { + category?: boolean | Prisma.ProclamationCategoryDefaultArgs + subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs +} + +export type $ProclamationCategorySubscriptionLevelPayload = { + name: "ProclamationCategorySubscriptionLevel" + objects: { + category: Prisma.$ProclamationCategoryPayload + subscriptionLevel: Prisma.$SubscriptionLevelPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + categoryId: number + subscriptionLevelId: number + }, ExtArgs["result"]["proclamationCategorySubscriptionLevel"]> + composites: {} +} + +export type ProclamationCategorySubscriptionLevelGetPayload = runtime.Types.Result.GetResult + +export type ProclamationCategorySubscriptionLevelCountArgs = + Omit & { + select?: ProclamationCategorySubscriptionLevelCountAggregateInputType | true + } + +export interface ProclamationCategorySubscriptionLevelDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['ProclamationCategorySubscriptionLevel'], meta: { name: 'ProclamationCategorySubscriptionLevel' } } + /** + * Find zero or one ProclamationCategorySubscriptionLevel that matches the filter. + * @param {ProclamationCategorySubscriptionLevelFindUniqueArgs} args - Arguments to find a ProclamationCategorySubscriptionLevel + * @example + * // Get one ProclamationCategorySubscriptionLevel + * const proclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategorySubscriptionLevelClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one ProclamationCategorySubscriptionLevel that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {ProclamationCategorySubscriptionLevelFindUniqueOrThrowArgs} args - Arguments to find a ProclamationCategorySubscriptionLevel + * @example + * // Get one ProclamationCategorySubscriptionLevel + * const proclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategorySubscriptionLevelClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first ProclamationCategorySubscriptionLevel that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategorySubscriptionLevelFindFirstArgs} args - Arguments to find a ProclamationCategorySubscriptionLevel + * @example + * // Get one ProclamationCategorySubscriptionLevel + * const proclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategorySubscriptionLevelClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first ProclamationCategorySubscriptionLevel that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategorySubscriptionLevelFindFirstOrThrowArgs} args - Arguments to find a ProclamationCategorySubscriptionLevel + * @example + * // Get one ProclamationCategorySubscriptionLevel + * const proclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategorySubscriptionLevelClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more ProclamationCategorySubscriptionLevels that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategorySubscriptionLevelFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all ProclamationCategorySubscriptionLevels + * const proclamationCategorySubscriptionLevels = await prisma.proclamationCategorySubscriptionLevel.findMany() + * + * // Get first 10 ProclamationCategorySubscriptionLevels + * const proclamationCategorySubscriptionLevels = await prisma.proclamationCategorySubscriptionLevel.findMany({ take: 10 }) + * + * // Only select the `categoryId` + * const proclamationCategorySubscriptionLevelWithCategoryIdOnly = await prisma.proclamationCategorySubscriptionLevel.findMany({ select: { categoryId: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a ProclamationCategorySubscriptionLevel. + * @param {ProclamationCategorySubscriptionLevelCreateArgs} args - Arguments to create a ProclamationCategorySubscriptionLevel. + * @example + * // Create one ProclamationCategorySubscriptionLevel + * const ProclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.create({ + * data: { + * // ... data to create a ProclamationCategorySubscriptionLevel + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategorySubscriptionLevelClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many ProclamationCategorySubscriptionLevels. + * @param {ProclamationCategorySubscriptionLevelCreateManyArgs} args - Arguments to create many ProclamationCategorySubscriptionLevels. + * @example + * // Create many ProclamationCategorySubscriptionLevels + * const proclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many ProclamationCategorySubscriptionLevels and returns the data saved in the database. + * @param {ProclamationCategorySubscriptionLevelCreateManyAndReturnArgs} args - Arguments to create many ProclamationCategorySubscriptionLevels. + * @example + * // Create many ProclamationCategorySubscriptionLevels + * const proclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many ProclamationCategorySubscriptionLevels and only return the `categoryId` + * const proclamationCategorySubscriptionLevelWithCategoryIdOnly = await prisma.proclamationCategorySubscriptionLevel.createManyAndReturn({ + * select: { categoryId: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a ProclamationCategorySubscriptionLevel. + * @param {ProclamationCategorySubscriptionLevelDeleteArgs} args - Arguments to delete one ProclamationCategorySubscriptionLevel. + * @example + * // Delete one ProclamationCategorySubscriptionLevel + * const ProclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.delete({ + * where: { + * // ... filter to delete one ProclamationCategorySubscriptionLevel + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategorySubscriptionLevelClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one ProclamationCategorySubscriptionLevel. + * @param {ProclamationCategorySubscriptionLevelUpdateArgs} args - Arguments to update one ProclamationCategorySubscriptionLevel. + * @example + * // Update one ProclamationCategorySubscriptionLevel + * const proclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategorySubscriptionLevelClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more ProclamationCategorySubscriptionLevels. + * @param {ProclamationCategorySubscriptionLevelDeleteManyArgs} args - Arguments to filter ProclamationCategorySubscriptionLevels to delete. + * @example + * // Delete a few ProclamationCategorySubscriptionLevels + * const { count } = await prisma.proclamationCategorySubscriptionLevel.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more ProclamationCategorySubscriptionLevels. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategorySubscriptionLevelUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many ProclamationCategorySubscriptionLevels + * const proclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more ProclamationCategorySubscriptionLevels and returns the data updated in the database. + * @param {ProclamationCategorySubscriptionLevelUpdateManyAndReturnArgs} args - Arguments to update many ProclamationCategorySubscriptionLevels. + * @example + * // Update many ProclamationCategorySubscriptionLevels + * const proclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more ProclamationCategorySubscriptionLevels and only return the `categoryId` + * const proclamationCategorySubscriptionLevelWithCategoryIdOnly = await prisma.proclamationCategorySubscriptionLevel.updateManyAndReturn({ + * select: { categoryId: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one ProclamationCategorySubscriptionLevel. + * @param {ProclamationCategorySubscriptionLevelUpsertArgs} args - Arguments to update or create a ProclamationCategorySubscriptionLevel. + * @example + * // Update or create a ProclamationCategorySubscriptionLevel + * const proclamationCategorySubscriptionLevel = await prisma.proclamationCategorySubscriptionLevel.upsert({ + * create: { + * // ... data to create a ProclamationCategorySubscriptionLevel + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the ProclamationCategorySubscriptionLevel we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationCategorySubscriptionLevelClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of ProclamationCategorySubscriptionLevels. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategorySubscriptionLevelCountArgs} args - Arguments to filter ProclamationCategorySubscriptionLevels to count. + * @example + * // Count the number of ProclamationCategorySubscriptionLevels + * const count = await prisma.proclamationCategorySubscriptionLevel.count({ + * where: { + * // ... the filter for the ProclamationCategorySubscriptionLevels we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a ProclamationCategorySubscriptionLevel. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategorySubscriptionLevelAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by ProclamationCategorySubscriptionLevel. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProclamationCategorySubscriptionLevelGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends ProclamationCategorySubscriptionLevelGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: ProclamationCategorySubscriptionLevelGroupByArgs['orderBy'] } + : { orderBy?: ProclamationCategorySubscriptionLevelGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetProclamationCategorySubscriptionLevelGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the ProclamationCategorySubscriptionLevel model + */ +readonly fields: ProclamationCategorySubscriptionLevelFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for ProclamationCategorySubscriptionLevel. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__ProclamationCategorySubscriptionLevelClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + category = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProclamationCategoryClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + subscriptionLevel = {}>(args?: Prisma.Subset>): Prisma.Prisma__SubscriptionLevelClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the ProclamationCategorySubscriptionLevel model + */ +export interface ProclamationCategorySubscriptionLevelFieldRefs { + readonly categoryId: Prisma.FieldRef<"ProclamationCategorySubscriptionLevel", 'Int'> + readonly subscriptionLevelId: Prisma.FieldRef<"ProclamationCategorySubscriptionLevel", 'Int'> +} + + +// Custom InputTypes +/** + * ProclamationCategorySubscriptionLevel findUnique + */ +export type ProclamationCategorySubscriptionLevelFindUniqueArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null + /** + * Filter, which ProclamationCategorySubscriptionLevel to fetch. + */ + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput +} + +/** + * ProclamationCategorySubscriptionLevel findUniqueOrThrow + */ +export type ProclamationCategorySubscriptionLevelFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null + /** + * Filter, which ProclamationCategorySubscriptionLevel to fetch. + */ + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput +} + +/** + * ProclamationCategorySubscriptionLevel findFirst + */ +export type ProclamationCategorySubscriptionLevelFindFirstArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null + /** + * Filter, which ProclamationCategorySubscriptionLevel to fetch. + */ + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ProclamationCategorySubscriptionLevels to fetch. + */ + orderBy?: Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput | Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ProclamationCategorySubscriptionLevels. + */ + cursor?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ProclamationCategorySubscriptionLevels from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` ProclamationCategorySubscriptionLevels. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ProclamationCategorySubscriptionLevels. + */ + distinct?: Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum | Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum[] +} + +/** + * ProclamationCategorySubscriptionLevel findFirstOrThrow + */ +export type ProclamationCategorySubscriptionLevelFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null + /** + * Filter, which ProclamationCategorySubscriptionLevel to fetch. + */ + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ProclamationCategorySubscriptionLevels to fetch. + */ + orderBy?: Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput | Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ProclamationCategorySubscriptionLevels. + */ + cursor?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ProclamationCategorySubscriptionLevels from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` ProclamationCategorySubscriptionLevels. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ProclamationCategorySubscriptionLevels. + */ + distinct?: Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum | Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum[] +} + +/** + * ProclamationCategorySubscriptionLevel findMany + */ +export type ProclamationCategorySubscriptionLevelFindManyArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null + /** + * Filter, which ProclamationCategorySubscriptionLevels to fetch. + */ + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ProclamationCategorySubscriptionLevels to fetch. + */ + orderBy?: Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput | Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing ProclamationCategorySubscriptionLevels. + */ + cursor?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ProclamationCategorySubscriptionLevels from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` ProclamationCategorySubscriptionLevels. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ProclamationCategorySubscriptionLevels. + */ + distinct?: Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum | Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum[] +} + +/** + * ProclamationCategorySubscriptionLevel create + */ +export type ProclamationCategorySubscriptionLevelCreateArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null + /** + * The data needed to create a ProclamationCategorySubscriptionLevel. + */ + data: Prisma.XOR +} + +/** + * ProclamationCategorySubscriptionLevel createMany + */ +export type ProclamationCategorySubscriptionLevelCreateManyArgs = { + /** + * The data used to create many ProclamationCategorySubscriptionLevels. + */ + data: Prisma.ProclamationCategorySubscriptionLevelCreateManyInput | Prisma.ProclamationCategorySubscriptionLevelCreateManyInput[] + skipDuplicates?: boolean +} + +/** + * ProclamationCategorySubscriptionLevel createManyAndReturn + */ +export type ProclamationCategorySubscriptionLevelCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelectCreateManyAndReturn | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * The data used to create many ProclamationCategorySubscriptionLevels. + */ + data: Prisma.ProclamationCategorySubscriptionLevelCreateManyInput | Prisma.ProclamationCategorySubscriptionLevelCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelIncludeCreateManyAndReturn | null +} + +/** + * ProclamationCategorySubscriptionLevel update + */ +export type ProclamationCategorySubscriptionLevelUpdateArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null + /** + * The data needed to update a ProclamationCategorySubscriptionLevel. + */ + data: Prisma.XOR + /** + * Choose, which ProclamationCategorySubscriptionLevel to update. + */ + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput +} + +/** + * ProclamationCategorySubscriptionLevel updateMany + */ +export type ProclamationCategorySubscriptionLevelUpdateManyArgs = { + /** + * The data used to update ProclamationCategorySubscriptionLevels. + */ + data: Prisma.XOR + /** + * Filter which ProclamationCategorySubscriptionLevels to update + */ + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + /** + * Limit how many ProclamationCategorySubscriptionLevels to update. + */ + limit?: number +} + +/** + * ProclamationCategorySubscriptionLevel updateManyAndReturn + */ +export type ProclamationCategorySubscriptionLevelUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * The data used to update ProclamationCategorySubscriptionLevels. + */ + data: Prisma.XOR + /** + * Filter which ProclamationCategorySubscriptionLevels to update + */ + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + /** + * Limit how many ProclamationCategorySubscriptionLevels to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelIncludeUpdateManyAndReturn | null +} + +/** + * ProclamationCategorySubscriptionLevel upsert + */ +export type ProclamationCategorySubscriptionLevelUpsertArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null + /** + * The filter to search for the ProclamationCategorySubscriptionLevel to update in case it exists. + */ + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + /** + * In case the ProclamationCategorySubscriptionLevel found by the `where` argument doesn't exist, create a new ProclamationCategorySubscriptionLevel with this data. + */ + create: Prisma.XOR + /** + * In case the ProclamationCategorySubscriptionLevel was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * ProclamationCategorySubscriptionLevel delete + */ +export type ProclamationCategorySubscriptionLevelDeleteArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null + /** + * Filter which ProclamationCategorySubscriptionLevel to delete. + */ + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput +} + +/** + * ProclamationCategorySubscriptionLevel deleteMany + */ +export type ProclamationCategorySubscriptionLevelDeleteManyArgs = { + /** + * Filter which ProclamationCategorySubscriptionLevels to delete + */ + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + /** + * Limit how many ProclamationCategorySubscriptionLevels to delete. + */ + limit?: number +} + +/** + * ProclamationCategorySubscriptionLevel without action + */ +export type ProclamationCategorySubscriptionLevelDefaultArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null +} diff --git a/src/lib/generated/prisma/models/Profile.ts b/src/lib/generated/prisma/models/Profile.ts index 6af95e9..f463ef4 100644 --- a/src/lib/generated/prisma/models/Profile.ts +++ b/src/lib/generated/prisma/models/Profile.ts @@ -1,1195 +1,983 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `Profile` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model Profile - * + * */ -export type ProfileModel = runtime.Types.Result.DefaultSelection; +export type ProfileModel = runtime.Types.Result.DefaultSelection export type AggregateProfile = { - _count: ProfileCountAggregateOutputType | null; - _min: ProfileMinAggregateOutputType | null; - _max: ProfileMaxAggregateOutputType | null; -}; + _count: ProfileCountAggregateOutputType | null + _min: ProfileMinAggregateOutputType | null + _max: ProfileMaxAggregateOutputType | null +} export type ProfileMinAggregateOutputType = { - id: string | null; - userId: string | null; - firstName: string | null; - lastName: string | null; - phoneNumber: string | null; - ghlContactId: string | null; -}; + id: string | null + userId: string | null + firstName: string | null + lastName: string | null + phoneNumber: string | null + ghlContactId: string | null +} export type ProfileMaxAggregateOutputType = { - id: string | null; - userId: string | null; - firstName: string | null; - lastName: string | null; - phoneNumber: string | null; - ghlContactId: string | null; -}; + id: string | null + userId: string | null + firstName: string | null + lastName: string | null + phoneNumber: string | null + ghlContactId: string | null +} export type ProfileCountAggregateOutputType = { - id: number; - userId: number; - firstName: number; - lastName: number; - phoneNumber: number; - ghlContactId: number; - _all: number; -}; + id: number + userId: number + firstName: number + lastName: number + phoneNumber: number + ghlContactId: number + _all: number +} + export type ProfileMinAggregateInputType = { - id?: true; - userId?: true; - firstName?: true; - lastName?: true; - phoneNumber?: true; - ghlContactId?: true; -}; + id?: true + userId?: true + firstName?: true + lastName?: true + phoneNumber?: true + ghlContactId?: true +} export type ProfileMaxAggregateInputType = { - id?: true; - userId?: true; - firstName?: true; - lastName?: true; - phoneNumber?: true; - ghlContactId?: true; -}; + id?: true + userId?: true + firstName?: true + lastName?: true + phoneNumber?: true + ghlContactId?: true +} export type ProfileCountAggregateInputType = { - id?: true; - userId?: true; - firstName?: true; - lastName?: true; - phoneNumber?: true; - ghlContactId?: true; - _all?: true; -}; + id?: true + userId?: true + firstName?: true + lastName?: true + phoneNumber?: true + ghlContactId?: true + _all?: true +} -export type ProfileAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Profile to aggregate. - */ - where?: Prisma.ProfileWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Profiles to fetch. - */ - orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.ProfileWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Profiles from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Profiles. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Profiles - **/ - _count?: true | ProfileCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: ProfileMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: ProfileMaxAggregateInputType; -}; +export type ProfileAggregateArgs = { + /** + * Filter which Profile to aggregate. + */ + where?: Prisma.ProfileWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Profiles to fetch. + */ + orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.ProfileWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Profiles from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Profiles. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned Profiles + **/ + _count?: true | ProfileCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: ProfileMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: ProfileMaxAggregateInputType +} export type GetProfileAggregateType = { - [P in keyof T & keyof AggregateProfile]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateProfile]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type ProfileGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.ProfileWhereInput; - orderBy?: Prisma.ProfileOrderByWithAggregationInput | Prisma.ProfileOrderByWithAggregationInput[]; - by: Prisma.ProfileScalarFieldEnum[] | Prisma.ProfileScalarFieldEnum; - having?: Prisma.ProfileScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: ProfileCountAggregateInputType | true; - _min?: ProfileMinAggregateInputType; - _max?: ProfileMaxAggregateInputType; -}; + + + +export type ProfileGroupByArgs = { + where?: Prisma.ProfileWhereInput + orderBy?: Prisma.ProfileOrderByWithAggregationInput | Prisma.ProfileOrderByWithAggregationInput[] + by: Prisma.ProfileScalarFieldEnum[] | Prisma.ProfileScalarFieldEnum + having?: Prisma.ProfileScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: ProfileCountAggregateInputType | true + _min?: ProfileMinAggregateInputType + _max?: ProfileMaxAggregateInputType +} export type ProfileGroupByOutputType = { - id: string; - userId: string; - firstName: string; - lastName: string; - phoneNumber: string; - ghlContactId: string | null; - _count: ProfileCountAggregateOutputType | null; - _min: ProfileMinAggregateOutputType | null; - _max: ProfileMaxAggregateOutputType | null; -}; + id: string + userId: string + firstName: string + lastName: string + phoneNumber: string + ghlContactId: string | null + _count: ProfileCountAggregateOutputType | null + _min: ProfileMinAggregateOutputType | null + _max: ProfileMaxAggregateOutputType | null +} export type GetProfileGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof ProfileGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > ->; + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof ProfileGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + export type ProfileWhereInput = { - AND?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[]; - OR?: Prisma.ProfileWhereInput[]; - NOT?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[]; - id?: Prisma.StringFilter<'Profile'> | string; - userId?: Prisma.StringFilter<'Profile'> | string; - firstName?: Prisma.StringFilter<'Profile'> | string; - lastName?: Prisma.StringFilter<'Profile'> | string; - phoneNumber?: Prisma.StringFilter<'Profile'> | string; - ghlContactId?: Prisma.StringNullableFilter<'Profile'> | string | null; - user?: Prisma.XOR; - addresses?: Prisma.AddressListRelationFilter; -}; + AND?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[] + OR?: Prisma.ProfileWhereInput[] + NOT?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[] + id?: Prisma.StringFilter<"Profile"> | string + userId?: Prisma.StringFilter<"Profile"> | string + firstName?: Prisma.StringFilter<"Profile"> | string + lastName?: Prisma.StringFilter<"Profile"> | string + phoneNumber?: Prisma.StringFilter<"Profile"> | string + ghlContactId?: Prisma.StringNullableFilter<"Profile"> | string | null + user?: Prisma.XOR + addresses?: Prisma.AddressListRelationFilter +} export type ProfileOrderByWithRelationInput = { - id?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - firstName?: Prisma.SortOrder; - lastName?: Prisma.SortOrder; - phoneNumber?: Prisma.SortOrder; - ghlContactId?: Prisma.SortOrderInput | Prisma.SortOrder; - user?: Prisma.UserOrderByWithRelationInput; - addresses?: Prisma.AddressOrderByRelationAggregateInput; -}; + id?: Prisma.SortOrder + userId?: Prisma.SortOrder + firstName?: Prisma.SortOrder + lastName?: Prisma.SortOrder + phoneNumber?: Prisma.SortOrder + ghlContactId?: Prisma.SortOrderInput | Prisma.SortOrder + user?: Prisma.UserOrderByWithRelationInput + addresses?: Prisma.AddressOrderByRelationAggregateInput +} -export type ProfileWhereUniqueInput = Prisma.AtLeast< - { - id?: string; - userId?: string; - AND?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[]; - OR?: Prisma.ProfileWhereInput[]; - NOT?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[]; - firstName?: Prisma.StringFilter<'Profile'> | string; - lastName?: Prisma.StringFilter<'Profile'> | string; - phoneNumber?: Prisma.StringFilter<'Profile'> | string; - ghlContactId?: Prisma.StringNullableFilter<'Profile'> | string | null; - user?: Prisma.XOR; - addresses?: Prisma.AddressListRelationFilter; - }, - 'id' | 'userId' ->; +export type ProfileWhereUniqueInput = Prisma.AtLeast<{ + id?: string + userId?: string + AND?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[] + OR?: Prisma.ProfileWhereInput[] + NOT?: Prisma.ProfileWhereInput | Prisma.ProfileWhereInput[] + firstName?: Prisma.StringFilter<"Profile"> | string + lastName?: Prisma.StringFilter<"Profile"> | string + phoneNumber?: Prisma.StringFilter<"Profile"> | string + ghlContactId?: Prisma.StringNullableFilter<"Profile"> | string | null + user?: Prisma.XOR + addresses?: Prisma.AddressListRelationFilter +}, "id" | "userId"> export type ProfileOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - firstName?: Prisma.SortOrder; - lastName?: Prisma.SortOrder; - phoneNumber?: Prisma.SortOrder; - ghlContactId?: Prisma.SortOrderInput | Prisma.SortOrder; - _count?: Prisma.ProfileCountOrderByAggregateInput; - _max?: Prisma.ProfileMaxOrderByAggregateInput; - _min?: Prisma.ProfileMinOrderByAggregateInput; -}; + id?: Prisma.SortOrder + userId?: Prisma.SortOrder + firstName?: Prisma.SortOrder + lastName?: Prisma.SortOrder + phoneNumber?: Prisma.SortOrder + ghlContactId?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.ProfileCountOrderByAggregateInput + _max?: Prisma.ProfileMaxOrderByAggregateInput + _min?: Prisma.ProfileMinOrderByAggregateInput +} export type ProfileScalarWhereWithAggregatesInput = { - AND?: - | Prisma.ProfileScalarWhereWithAggregatesInput - | Prisma.ProfileScalarWhereWithAggregatesInput[]; - OR?: Prisma.ProfileScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.ProfileScalarWhereWithAggregatesInput - | Prisma.ProfileScalarWhereWithAggregatesInput[]; - id?: Prisma.StringWithAggregatesFilter<'Profile'> | string; - userId?: Prisma.StringWithAggregatesFilter<'Profile'> | string; - firstName?: Prisma.StringWithAggregatesFilter<'Profile'> | string; - lastName?: Prisma.StringWithAggregatesFilter<'Profile'> | string; - phoneNumber?: Prisma.StringWithAggregatesFilter<'Profile'> | string; - ghlContactId?: Prisma.StringNullableWithAggregatesFilter<'Profile'> | string | null; -}; + AND?: Prisma.ProfileScalarWhereWithAggregatesInput | Prisma.ProfileScalarWhereWithAggregatesInput[] + OR?: Prisma.ProfileScalarWhereWithAggregatesInput[] + NOT?: Prisma.ProfileScalarWhereWithAggregatesInput | Prisma.ProfileScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"Profile"> | string + userId?: Prisma.StringWithAggregatesFilter<"Profile"> | string + firstName?: Prisma.StringWithAggregatesFilter<"Profile"> | string + lastName?: Prisma.StringWithAggregatesFilter<"Profile"> | string + phoneNumber?: Prisma.StringWithAggregatesFilter<"Profile"> | string + ghlContactId?: Prisma.StringNullableWithAggregatesFilter<"Profile"> | string | null +} export type ProfileCreateInput = { - id?: string; - firstName: string; - lastName: string; - phoneNumber: string; - ghlContactId?: string | null; - user: Prisma.UserCreateNestedOneWithoutProfileInput; - addresses?: Prisma.AddressCreateNestedManyWithoutProfileInput; -}; + id?: string + firstName: string + lastName: string + phoneNumber: string + ghlContactId?: string | null + user: Prisma.UserCreateNestedOneWithoutProfileInput + addresses?: Prisma.AddressCreateNestedManyWithoutProfileInput +} export type ProfileUncheckedCreateInput = { - id?: string; - userId: string; - firstName: string; - lastName: string; - phoneNumber: string; - ghlContactId?: string | null; - addresses?: Prisma.AddressUncheckedCreateNestedManyWithoutProfileInput; -}; + id?: string + userId: string + firstName: string + lastName: string + phoneNumber: string + ghlContactId?: string | null + addresses?: Prisma.AddressUncheckedCreateNestedManyWithoutProfileInput +} export type ProfileUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - firstName?: Prisma.StringFieldUpdateOperationsInput | string; - lastName?: Prisma.StringFieldUpdateOperationsInput | string; - phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string; - ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - user?: Prisma.UserUpdateOneRequiredWithoutProfileNestedInput; - addresses?: Prisma.AddressUpdateManyWithoutProfileNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + firstName?: Prisma.StringFieldUpdateOperationsInput | string + lastName?: Prisma.StringFieldUpdateOperationsInput | string + phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string + ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + user?: Prisma.UserUpdateOneRequiredWithoutProfileNestedInput + addresses?: Prisma.AddressUpdateManyWithoutProfileNestedInput +} export type ProfileUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - userId?: Prisma.StringFieldUpdateOperationsInput | string; - firstName?: Prisma.StringFieldUpdateOperationsInput | string; - lastName?: Prisma.StringFieldUpdateOperationsInput | string; - phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string; - ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - addresses?: Prisma.AddressUncheckedUpdateManyWithoutProfileNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + userId?: Prisma.StringFieldUpdateOperationsInput | string + firstName?: Prisma.StringFieldUpdateOperationsInput | string + lastName?: Prisma.StringFieldUpdateOperationsInput | string + phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string + ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + addresses?: Prisma.AddressUncheckedUpdateManyWithoutProfileNestedInput +} export type ProfileCreateManyInput = { - id?: string; - userId: string; - firstName: string; - lastName: string; - phoneNumber: string; - ghlContactId?: string | null; -}; + id?: string + userId: string + firstName: string + lastName: string + phoneNumber: string + ghlContactId?: string | null +} export type ProfileUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - firstName?: Prisma.StringFieldUpdateOperationsInput | string; - lastName?: Prisma.StringFieldUpdateOperationsInput | string; - phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string; - ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + firstName?: Prisma.StringFieldUpdateOperationsInput | string + lastName?: Prisma.StringFieldUpdateOperationsInput | string + phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string + ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} export type ProfileUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - userId?: Prisma.StringFieldUpdateOperationsInput | string; - firstName?: Prisma.StringFieldUpdateOperationsInput | string; - lastName?: Prisma.StringFieldUpdateOperationsInput | string; - phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string; - ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + userId?: Prisma.StringFieldUpdateOperationsInput | string + firstName?: Prisma.StringFieldUpdateOperationsInput | string + lastName?: Prisma.StringFieldUpdateOperationsInput | string + phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string + ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} export type ProfileNullableScalarRelationFilter = { - is?: Prisma.ProfileWhereInput | null; - isNot?: Prisma.ProfileWhereInput | null; -}; + is?: Prisma.ProfileWhereInput | null + isNot?: Prisma.ProfileWhereInput | null +} export type ProfileCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - firstName?: Prisma.SortOrder; - lastName?: Prisma.SortOrder; - phoneNumber?: Prisma.SortOrder; - ghlContactId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + userId?: Prisma.SortOrder + firstName?: Prisma.SortOrder + lastName?: Prisma.SortOrder + phoneNumber?: Prisma.SortOrder + ghlContactId?: Prisma.SortOrder +} export type ProfileMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - firstName?: Prisma.SortOrder; - lastName?: Prisma.SortOrder; - phoneNumber?: Prisma.SortOrder; - ghlContactId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + userId?: Prisma.SortOrder + firstName?: Prisma.SortOrder + lastName?: Prisma.SortOrder + phoneNumber?: Prisma.SortOrder + ghlContactId?: Prisma.SortOrder +} export type ProfileMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - userId?: Prisma.SortOrder; - firstName?: Prisma.SortOrder; - lastName?: Prisma.SortOrder; - phoneNumber?: Prisma.SortOrder; - ghlContactId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + userId?: Prisma.SortOrder + firstName?: Prisma.SortOrder + lastName?: Prisma.SortOrder + phoneNumber?: Prisma.SortOrder + ghlContactId?: Prisma.SortOrder +} export type ProfileScalarRelationFilter = { - is?: Prisma.ProfileWhereInput; - isNot?: Prisma.ProfileWhereInput; -}; + is?: Prisma.ProfileWhereInput + isNot?: Prisma.ProfileWhereInput +} export type ProfileCreateNestedOneWithoutUserInput = { - create?: Prisma.XOR< - Prisma.ProfileCreateWithoutUserInput, - Prisma.ProfileUncheckedCreateWithoutUserInput - >; - connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutUserInput; - connect?: Prisma.ProfileWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutUserInput + connect?: Prisma.ProfileWhereUniqueInput +} export type ProfileUncheckedCreateNestedOneWithoutUserInput = { - create?: Prisma.XOR< - Prisma.ProfileCreateWithoutUserInput, - Prisma.ProfileUncheckedCreateWithoutUserInput - >; - connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutUserInput; - connect?: Prisma.ProfileWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutUserInput + connect?: Prisma.ProfileWhereUniqueInput +} export type ProfileUpdateOneWithoutUserNestedInput = { - create?: Prisma.XOR< - Prisma.ProfileCreateWithoutUserInput, - Prisma.ProfileUncheckedCreateWithoutUserInput - >; - connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutUserInput; - upsert?: Prisma.ProfileUpsertWithoutUserInput; - disconnect?: Prisma.ProfileWhereInput | boolean; - delete?: Prisma.ProfileWhereInput | boolean; - connect?: Prisma.ProfileWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.ProfileUpdateToOneWithWhereWithoutUserInput, - Prisma.ProfileUpdateWithoutUserInput - >, - Prisma.ProfileUncheckedUpdateWithoutUserInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutUserInput + upsert?: Prisma.ProfileUpsertWithoutUserInput + disconnect?: Prisma.ProfileWhereInput | boolean + delete?: Prisma.ProfileWhereInput | boolean + connect?: Prisma.ProfileWhereUniqueInput + update?: Prisma.XOR, Prisma.ProfileUncheckedUpdateWithoutUserInput> +} export type ProfileUncheckedUpdateOneWithoutUserNestedInput = { - create?: Prisma.XOR< - Prisma.ProfileCreateWithoutUserInput, - Prisma.ProfileUncheckedCreateWithoutUserInput - >; - connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutUserInput; - upsert?: Prisma.ProfileUpsertWithoutUserInput; - disconnect?: Prisma.ProfileWhereInput | boolean; - delete?: Prisma.ProfileWhereInput | boolean; - connect?: Prisma.ProfileWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.ProfileUpdateToOneWithWhereWithoutUserInput, - Prisma.ProfileUpdateWithoutUserInput - >, - Prisma.ProfileUncheckedUpdateWithoutUserInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutUserInput + upsert?: Prisma.ProfileUpsertWithoutUserInput + disconnect?: Prisma.ProfileWhereInput | boolean + delete?: Prisma.ProfileWhereInput | boolean + connect?: Prisma.ProfileWhereUniqueInput + update?: Prisma.XOR, Prisma.ProfileUncheckedUpdateWithoutUserInput> +} export type ProfileCreateNestedOneWithoutAddressesInput = { - create?: Prisma.XOR< - Prisma.ProfileCreateWithoutAddressesInput, - Prisma.ProfileUncheckedCreateWithoutAddressesInput - >; - connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutAddressesInput; - connect?: Prisma.ProfileWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutAddressesInput + connect?: Prisma.ProfileWhereUniqueInput +} export type ProfileUpdateOneRequiredWithoutAddressesNestedInput = { - create?: Prisma.XOR< - Prisma.ProfileCreateWithoutAddressesInput, - Prisma.ProfileUncheckedCreateWithoutAddressesInput - >; - connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutAddressesInput; - upsert?: Prisma.ProfileUpsertWithoutAddressesInput; - connect?: Prisma.ProfileWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.ProfileUpdateToOneWithWhereWithoutAddressesInput, - Prisma.ProfileUpdateWithoutAddressesInput - >, - Prisma.ProfileUncheckedUpdateWithoutAddressesInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProfileCreateOrConnectWithoutAddressesInput + upsert?: Prisma.ProfileUpsertWithoutAddressesInput + connect?: Prisma.ProfileWhereUniqueInput + update?: Prisma.XOR, Prisma.ProfileUncheckedUpdateWithoutAddressesInput> +} export type ProfileCreateWithoutUserInput = { - id?: string; - firstName: string; - lastName: string; - phoneNumber: string; - ghlContactId?: string | null; - addresses?: Prisma.AddressCreateNestedManyWithoutProfileInput; -}; + id?: string + firstName: string + lastName: string + phoneNumber: string + ghlContactId?: string | null + addresses?: Prisma.AddressCreateNestedManyWithoutProfileInput +} export type ProfileUncheckedCreateWithoutUserInput = { - id?: string; - firstName: string; - lastName: string; - phoneNumber: string; - ghlContactId?: string | null; - addresses?: Prisma.AddressUncheckedCreateNestedManyWithoutProfileInput; -}; + id?: string + firstName: string + lastName: string + phoneNumber: string + ghlContactId?: string | null + addresses?: Prisma.AddressUncheckedCreateNestedManyWithoutProfileInput +} export type ProfileCreateOrConnectWithoutUserInput = { - where: Prisma.ProfileWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProfileCreateWithoutUserInput, - Prisma.ProfileUncheckedCreateWithoutUserInput - >; -}; + where: Prisma.ProfileWhereUniqueInput + create: Prisma.XOR +} export type ProfileUpsertWithoutUserInput = { - update: Prisma.XOR< - Prisma.ProfileUpdateWithoutUserInput, - Prisma.ProfileUncheckedUpdateWithoutUserInput - >; - create: Prisma.XOR< - Prisma.ProfileCreateWithoutUserInput, - Prisma.ProfileUncheckedCreateWithoutUserInput - >; - where?: Prisma.ProfileWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.ProfileWhereInput +} export type ProfileUpdateToOneWithWhereWithoutUserInput = { - where?: Prisma.ProfileWhereInput; - data: Prisma.XOR< - Prisma.ProfileUpdateWithoutUserInput, - Prisma.ProfileUncheckedUpdateWithoutUserInput - >; -}; + where?: Prisma.ProfileWhereInput + data: Prisma.XOR +} export type ProfileUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - firstName?: Prisma.StringFieldUpdateOperationsInput | string; - lastName?: Prisma.StringFieldUpdateOperationsInput | string; - phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string; - ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - addresses?: Prisma.AddressUpdateManyWithoutProfileNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + firstName?: Prisma.StringFieldUpdateOperationsInput | string + lastName?: Prisma.StringFieldUpdateOperationsInput | string + phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string + ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + addresses?: Prisma.AddressUpdateManyWithoutProfileNestedInput +} export type ProfileUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - firstName?: Prisma.StringFieldUpdateOperationsInput | string; - lastName?: Prisma.StringFieldUpdateOperationsInput | string; - phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string; - ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - addresses?: Prisma.AddressUncheckedUpdateManyWithoutProfileNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + firstName?: Prisma.StringFieldUpdateOperationsInput | string + lastName?: Prisma.StringFieldUpdateOperationsInput | string + phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string + ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + addresses?: Prisma.AddressUncheckedUpdateManyWithoutProfileNestedInput +} export type ProfileCreateWithoutAddressesInput = { - id?: string; - firstName: string; - lastName: string; - phoneNumber: string; - ghlContactId?: string | null; - user: Prisma.UserCreateNestedOneWithoutProfileInput; -}; + id?: string + firstName: string + lastName: string + phoneNumber: string + ghlContactId?: string | null + user: Prisma.UserCreateNestedOneWithoutProfileInput +} export type ProfileUncheckedCreateWithoutAddressesInput = { - id?: string; - userId: string; - firstName: string; - lastName: string; - phoneNumber: string; - ghlContactId?: string | null; -}; + id?: string + userId: string + firstName: string + lastName: string + phoneNumber: string + ghlContactId?: string | null +} export type ProfileCreateOrConnectWithoutAddressesInput = { - where: Prisma.ProfileWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProfileCreateWithoutAddressesInput, - Prisma.ProfileUncheckedCreateWithoutAddressesInput - >; -}; + where: Prisma.ProfileWhereUniqueInput + create: Prisma.XOR +} export type ProfileUpsertWithoutAddressesInput = { - update: Prisma.XOR< - Prisma.ProfileUpdateWithoutAddressesInput, - Prisma.ProfileUncheckedUpdateWithoutAddressesInput - >; - create: Prisma.XOR< - Prisma.ProfileCreateWithoutAddressesInput, - Prisma.ProfileUncheckedCreateWithoutAddressesInput - >; - where?: Prisma.ProfileWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.ProfileWhereInput +} export type ProfileUpdateToOneWithWhereWithoutAddressesInput = { - where?: Prisma.ProfileWhereInput; - data: Prisma.XOR< - Prisma.ProfileUpdateWithoutAddressesInput, - Prisma.ProfileUncheckedUpdateWithoutAddressesInput - >; -}; + where?: Prisma.ProfileWhereInput + data: Prisma.XOR +} export type ProfileUpdateWithoutAddressesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - firstName?: Prisma.StringFieldUpdateOperationsInput | string; - lastName?: Prisma.StringFieldUpdateOperationsInput | string; - phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string; - ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - user?: Prisma.UserUpdateOneRequiredWithoutProfileNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + firstName?: Prisma.StringFieldUpdateOperationsInput | string + lastName?: Prisma.StringFieldUpdateOperationsInput | string + phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string + ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + user?: Prisma.UserUpdateOneRequiredWithoutProfileNestedInput +} export type ProfileUncheckedUpdateWithoutAddressesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - userId?: Prisma.StringFieldUpdateOperationsInput | string; - firstName?: Prisma.StringFieldUpdateOperationsInput | string; - lastName?: Prisma.StringFieldUpdateOperationsInput | string; - phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string; - ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + userId?: Prisma.StringFieldUpdateOperationsInput | string + firstName?: Prisma.StringFieldUpdateOperationsInput | string + lastName?: Prisma.StringFieldUpdateOperationsInput | string + phoneNumber?: Prisma.StringFieldUpdateOperationsInput | string + ghlContactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + /** * Count Type ProfileCountOutputType */ export type ProfileCountOutputType = { - addresses: number; -}; + addresses: number +} -export type ProfileCountOutputTypeSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - addresses?: boolean | ProfileCountOutputTypeCountAddressesArgs; -}; +export type ProfileCountOutputTypeSelect = { + addresses?: boolean | ProfileCountOutputTypeCountAddressesArgs +} /** * ProfileCountOutputType without action */ -export type ProfileCountOutputTypeDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ProfileCountOutputType - */ - select?: Prisma.ProfileCountOutputTypeSelect | null; -}; +export type ProfileCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the ProfileCountOutputType + */ + select?: Prisma.ProfileCountOutputTypeSelect | null +} /** * ProfileCountOutputType without action */ -export type ProfileCountOutputTypeCountAddressesArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.AddressWhereInput; -}; +export type ProfileCountOutputTypeCountAddressesArgs = { + where?: Prisma.AddressWhereInput +} -export type ProfileSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - userId?: boolean; - firstName?: boolean; - lastName?: boolean; - phoneNumber?: boolean; - ghlContactId?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - addresses?: boolean | Prisma.Profile$addressesArgs; - _count?: boolean | Prisma.ProfileCountOutputTypeDefaultArgs; - }, - ExtArgs['result']['profile'] ->; -export type ProfileSelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - userId?: boolean; - firstName?: boolean; - lastName?: boolean; - phoneNumber?: boolean; - ghlContactId?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - }, - ExtArgs['result']['profile'] ->; +export type ProfileSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + userId?: boolean + firstName?: boolean + lastName?: boolean + phoneNumber?: boolean + ghlContactId?: boolean + user?: boolean | Prisma.UserDefaultArgs + addresses?: boolean | Prisma.Profile$addressesArgs + _count?: boolean | Prisma.ProfileCountOutputTypeDefaultArgs +}, ExtArgs["result"]["profile"]> -export type ProfileSelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - userId?: boolean; - firstName?: boolean; - lastName?: boolean; - phoneNumber?: boolean; - ghlContactId?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - }, - ExtArgs['result']['profile'] ->; +export type ProfileSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + userId?: boolean + firstName?: boolean + lastName?: boolean + phoneNumber?: boolean + ghlContactId?: boolean + user?: boolean | Prisma.UserDefaultArgs +}, ExtArgs["result"]["profile"]> + +export type ProfileSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + userId?: boolean + firstName?: boolean + lastName?: boolean + phoneNumber?: boolean + ghlContactId?: boolean + user?: boolean | Prisma.UserDefaultArgs +}, ExtArgs["result"]["profile"]> export type ProfileSelectScalar = { - id?: boolean; - userId?: boolean; - firstName?: boolean; - lastName?: boolean; - phoneNumber?: boolean; - ghlContactId?: boolean; -}; + id?: boolean + userId?: boolean + firstName?: boolean + lastName?: boolean + phoneNumber?: boolean + ghlContactId?: boolean +} -export type ProfileOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'id' | 'userId' | 'firstName' | 'lastName' | 'phoneNumber' | 'ghlContactId', - ExtArgs['result']['profile'] ->; -export type ProfileInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; - addresses?: boolean | Prisma.Profile$addressesArgs; - _count?: boolean | Prisma.ProfileCountOutputTypeDefaultArgs; -}; -export type ProfileIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; -}; -export type ProfileIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; -}; +export type ProfileOmit = runtime.Types.Extensions.GetOmit<"id" | "userId" | "firstName" | "lastName" | "phoneNumber" | "ghlContactId", ExtArgs["result"]["profile"]> +export type ProfileInclude = { + user?: boolean | Prisma.UserDefaultArgs + addresses?: boolean | Prisma.Profile$addressesArgs + _count?: boolean | Prisma.ProfileCountOutputTypeDefaultArgs +} +export type ProfileIncludeCreateManyAndReturn = { + user?: boolean | Prisma.UserDefaultArgs +} +export type ProfileIncludeUpdateManyAndReturn = { + user?: boolean | Prisma.UserDefaultArgs +} -export type $ProfilePayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'Profile'; - objects: { - user: Prisma.$UserPayload; - addresses: Prisma.$AddressPayload[]; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: string; - userId: string; - firstName: string; - lastName: string; - phoneNumber: string; - ghlContactId: string | null; - }, - ExtArgs['result']['profile'] - >; - composites: {}; -}; +export type $ProfilePayload = { + name: "Profile" + objects: { + user: Prisma.$UserPayload + addresses: Prisma.$AddressPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + userId: string + firstName: string + lastName: string + phoneNumber: string + ghlContactId: string | null + }, ExtArgs["result"]["profile"]> + composites: {} +} -export type ProfileGetPayload = - runtime.Types.Result.GetResult; +export type ProfileGetPayload = runtime.Types.Result.GetResult -export type ProfileCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: ProfileCountAggregateInputType | true; -}; +export type ProfileCountArgs = + Omit & { + select?: ProfileCountAggregateInputType | true + } -export interface ProfileDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { types: Prisma.TypeMap['model']['Profile']; meta: { name: 'Profile' } }; - /** - * Find zero or one Profile that matches the filter. - * @param {ProfileFindUniqueArgs} args - Arguments to find a Profile - * @example - * // Get one Profile - * const profile = await prisma.profile.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProfileClient< - runtime.Types.Result.GetResult< - Prisma.$ProfilePayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface ProfileDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['Profile'], meta: { name: 'Profile' } } + /** + * Find zero or one Profile that matches the filter. + * @param {ProfileFindUniqueArgs} args - Arguments to find a Profile + * @example + * // Get one Profile + * const profile = await prisma.profile.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ProfileClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one Profile that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {ProfileFindUniqueOrThrowArgs} args - Arguments to find a Profile - * @example - * // Get one Profile - * const profile = await prisma.profile.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProfileClient< - runtime.Types.Result.GetResult< - Prisma.$ProfilePayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one Profile that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {ProfileFindUniqueOrThrowArgs} args - Arguments to find a Profile + * @example + * // Get one Profile + * const profile = await prisma.profile.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ProfileClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first Profile that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProfileFindFirstArgs} args - Arguments to find a Profile - * @example - * // Get one Profile - * const profile = await prisma.profile.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__ProfileClient< - runtime.Types.Result.GetResult< - Prisma.$ProfilePayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Profile that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProfileFindFirstArgs} args - Arguments to find a Profile + * @example + * // Get one Profile + * const profile = await prisma.profile.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ProfileClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first Profile that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProfileFindFirstOrThrowArgs} args - Arguments to find a Profile - * @example - * // Get one Profile - * const profile = await prisma.profile.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__ProfileClient< - runtime.Types.Result.GetResult< - Prisma.$ProfilePayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Profile that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProfileFindFirstOrThrowArgs} args - Arguments to find a Profile + * @example + * // Get one Profile + * const profile = await prisma.profile.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ProfileClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more Profiles that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProfileFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Profiles - * const profiles = await prisma.profile.findMany() - * - * // Get first 10 Profiles - * const profiles = await prisma.profile.findMany({ take: 10 }) - * - * // Only select the `id` - * const profileWithIdOnly = await prisma.profile.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$ProfilePayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more Profiles that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProfileFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Profiles + * const profiles = await prisma.profile.findMany() + * + * // Get first 10 Profiles + * const profiles = await prisma.profile.findMany({ take: 10 }) + * + * // Only select the `id` + * const profileWithIdOnly = await prisma.profile.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a Profile. - * @param {ProfileCreateArgs} args - Arguments to create a Profile. - * @example - * // Create one Profile - * const Profile = await prisma.profile.create({ - * data: { - * // ... data to create a Profile - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProfileClient< - runtime.Types.Result.GetResult, T, 'create', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a Profile. + * @param {ProfileCreateArgs} args - Arguments to create a Profile. + * @example + * // Create one Profile + * const Profile = await prisma.profile.create({ + * data: { + * // ... data to create a Profile + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__ProfileClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many Profiles. - * @param {ProfileCreateManyArgs} args - Arguments to create many Profiles. - * @example - * // Create many Profiles - * const profile = await prisma.profile.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many Profiles. + * @param {ProfileCreateManyArgs} args - Arguments to create many Profiles. + * @example + * // Create many Profiles + * const profile = await prisma.profile.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many Profiles and returns the data saved in the database. - * @param {ProfileCreateManyAndReturnArgs} args - Arguments to create many Profiles. - * @example - * // Create many Profiles - * const profile = await prisma.profile.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Profiles and only return the `id` - * const profileWithIdOnly = await prisma.profile.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$ProfilePayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many Profiles and returns the data saved in the database. + * @param {ProfileCreateManyAndReturnArgs} args - Arguments to create many Profiles. + * @example + * // Create many Profiles + * const profile = await prisma.profile.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Profiles and only return the `id` + * const profileWithIdOnly = await prisma.profile.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a Profile. - * @param {ProfileDeleteArgs} args - Arguments to delete one Profile. - * @example - * // Delete one Profile - * const Profile = await prisma.profile.delete({ - * where: { - * // ... filter to delete one Profile - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProfileClient< - runtime.Types.Result.GetResult, T, 'delete', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a Profile. + * @param {ProfileDeleteArgs} args - Arguments to delete one Profile. + * @example + * // Delete one Profile + * const Profile = await prisma.profile.delete({ + * where: { + * // ... filter to delete one Profile + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__ProfileClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one Profile. - * @param {ProfileUpdateArgs} args - Arguments to update one Profile. - * @example - * // Update one Profile - * const profile = await prisma.profile.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProfileClient< - runtime.Types.Result.GetResult, T, 'update', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one Profile. + * @param {ProfileUpdateArgs} args - Arguments to update one Profile. + * @example + * // Update one Profile + * const profile = await prisma.profile.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__ProfileClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more Profiles. - * @param {ProfileDeleteManyArgs} args - Arguments to filter Profiles to delete. - * @example - * // Delete a few Profiles - * const { count } = await prisma.profile.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more Profiles. + * @param {ProfileDeleteManyArgs} args - Arguments to filter Profiles to delete. + * @example + * // Delete a few Profiles + * const { count } = await prisma.profile.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Profiles. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProfileUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Profiles - * const profile = await prisma.profile.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more Profiles. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProfileUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Profiles + * const profile = await prisma.profile.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Profiles and returns the data updated in the database. - * @param {ProfileUpdateManyAndReturnArgs} args - Arguments to update many Profiles. - * @example - * // Update many Profiles - * const profile = await prisma.profile.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Profiles and only return the `id` - * const profileWithIdOnly = await prisma.profile.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$ProfilePayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more Profiles and returns the data updated in the database. + * @param {ProfileUpdateManyAndReturnArgs} args - Arguments to update many Profiles. + * @example + * // Update many Profiles + * const profile = await prisma.profile.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Profiles and only return the `id` + * const profileWithIdOnly = await prisma.profile.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one Profile. - * @param {ProfileUpsertArgs} args - Arguments to update or create a Profile. - * @example - * // Update or create a Profile - * const profile = await prisma.profile.upsert({ - * create: { - * // ... data to create a Profile - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Profile we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ProfileClient< - runtime.Types.Result.GetResult, T, 'upsert', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one Profile. + * @param {ProfileUpsertArgs} args - Arguments to update or create a Profile. + * @example + * // Update or create a Profile + * const profile = await prisma.profile.upsert({ + * create: { + * // ... data to create a Profile + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Profile we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ProfileClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of Profiles. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProfileCountArgs} args - Arguments to filter Profiles to count. - * @example - * // Count the number of Profiles - * const count = await prisma.profile.count({ - * where: { - * // ... the filter for the Profiles we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a Profile. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProfileAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of Profiles. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProfileCountArgs} args - Arguments to filter Profiles to count. + * @example + * // Count the number of Profiles + * const count = await prisma.profile.count({ + * where: { + * // ... the filter for the Profiles we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by Profile. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProfileGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends ProfileGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: ProfileGroupByArgs['orderBy'] } - : { orderBy?: ProfileGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors ? GetProfileGroupByPayload : Prisma.PrismaPromise; - /** - * Fields of the Profile model - */ - readonly fields: ProfileFieldRefs; + /** + * Allows you to perform aggregations operations on a Profile. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProfileAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Profile. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ProfileGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends ProfileGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: ProfileGroupByArgs['orderBy'] } + : { orderBy?: ProfileGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetProfileGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the Profile model + */ +readonly fields: ProfileFieldRefs; } /** @@ -1198,544 +986,483 @@ export interface ProfileDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__ProfileClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - user = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__UserClient< - | runtime.Types.Result.GetResult< - Prisma.$UserPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > - | Null, - Null, - ExtArgs, - GlobalOmitOptions - >; - addresses = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$AddressPayload, - T, - 'findMany', - GlobalOmitOptions - > - | Null - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__ProfileClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + addresses = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the Profile model */ export interface ProfileFieldRefs { - readonly id: Prisma.FieldRef<'Profile', 'String'>; - readonly userId: Prisma.FieldRef<'Profile', 'String'>; - readonly firstName: Prisma.FieldRef<'Profile', 'String'>; - readonly lastName: Prisma.FieldRef<'Profile', 'String'>; - readonly phoneNumber: Prisma.FieldRef<'Profile', 'String'>; - readonly ghlContactId: Prisma.FieldRef<'Profile', 'String'>; + readonly id: Prisma.FieldRef<"Profile", 'String'> + readonly userId: Prisma.FieldRef<"Profile", 'String'> + readonly firstName: Prisma.FieldRef<"Profile", 'String'> + readonly lastName: Prisma.FieldRef<"Profile", 'String'> + readonly phoneNumber: Prisma.FieldRef<"Profile", 'String'> + readonly ghlContactId: Prisma.FieldRef<"Profile", 'String'> } + // Custom InputTypes /** * Profile findUnique */ -export type ProfileFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelect | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileInclude | null; - /** - * Filter, which Profile to fetch. - */ - where: Prisma.ProfileWhereUniqueInput; -}; +export type ProfileFindUniqueArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelect | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileInclude | null + /** + * Filter, which Profile to fetch. + */ + where: Prisma.ProfileWhereUniqueInput +} /** * Profile findUniqueOrThrow */ -export type ProfileFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelect | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileInclude | null; - /** - * Filter, which Profile to fetch. - */ - where: Prisma.ProfileWhereUniqueInput; -}; +export type ProfileFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelect | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileInclude | null + /** + * Filter, which Profile to fetch. + */ + where: Prisma.ProfileWhereUniqueInput +} /** * Profile findFirst */ -export type ProfileFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelect | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileInclude | null; - /** - * Filter, which Profile to fetch. - */ - where?: Prisma.ProfileWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Profiles to fetch. - */ - orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Profiles. - */ - cursor?: Prisma.ProfileWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Profiles from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Profiles. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Profiles. - */ - distinct?: Prisma.ProfileScalarFieldEnum | Prisma.ProfileScalarFieldEnum[]; -}; +export type ProfileFindFirstArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelect | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileInclude | null + /** + * Filter, which Profile to fetch. + */ + where?: Prisma.ProfileWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Profiles to fetch. + */ + orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Profiles. + */ + cursor?: Prisma.ProfileWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Profiles from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Profiles. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Profiles. + */ + distinct?: Prisma.ProfileScalarFieldEnum | Prisma.ProfileScalarFieldEnum[] +} /** * Profile findFirstOrThrow */ -export type ProfileFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelect | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileInclude | null; - /** - * Filter, which Profile to fetch. - */ - where?: Prisma.ProfileWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Profiles to fetch. - */ - orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Profiles. - */ - cursor?: Prisma.ProfileWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Profiles from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Profiles. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Profiles. - */ - distinct?: Prisma.ProfileScalarFieldEnum | Prisma.ProfileScalarFieldEnum[]; -}; +export type ProfileFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelect | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileInclude | null + /** + * Filter, which Profile to fetch. + */ + where?: Prisma.ProfileWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Profiles to fetch. + */ + orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Profiles. + */ + cursor?: Prisma.ProfileWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Profiles from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Profiles. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Profiles. + */ + distinct?: Prisma.ProfileScalarFieldEnum | Prisma.ProfileScalarFieldEnum[] +} /** * Profile findMany */ -export type ProfileFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelect | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileInclude | null; - /** - * Filter, which Profiles to fetch. - */ - where?: Prisma.ProfileWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Profiles to fetch. - */ - orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Profiles. - */ - cursor?: Prisma.ProfileWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Profiles from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Profiles. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Profiles. - */ - distinct?: Prisma.ProfileScalarFieldEnum | Prisma.ProfileScalarFieldEnum[]; -}; +export type ProfileFindManyArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelect | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileInclude | null + /** + * Filter, which Profiles to fetch. + */ + where?: Prisma.ProfileWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Profiles to fetch. + */ + orderBy?: Prisma.ProfileOrderByWithRelationInput | Prisma.ProfileOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing Profiles. + */ + cursor?: Prisma.ProfileWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Profiles from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Profiles. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Profiles. + */ + distinct?: Prisma.ProfileScalarFieldEnum | Prisma.ProfileScalarFieldEnum[] +} /** * Profile create */ -export type ProfileCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelect | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileInclude | null; - /** - * The data needed to create a Profile. - */ - data: Prisma.XOR; -}; +export type ProfileCreateArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelect | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileInclude | null + /** + * The data needed to create a Profile. + */ + data: Prisma.XOR +} /** * Profile createMany */ -export type ProfileCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many Profiles. - */ - data: Prisma.ProfileCreateManyInput | Prisma.ProfileCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type ProfileCreateManyArgs = { + /** + * The data used to create many Profiles. + */ + data: Prisma.ProfileCreateManyInput | Prisma.ProfileCreateManyInput[] + skipDuplicates?: boolean +} /** * Profile createManyAndReturn */ -export type ProfileCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelectCreateManyAndReturn | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * The data used to create many Profiles. - */ - data: Prisma.ProfileCreateManyInput | Prisma.ProfileCreateManyInput[]; - skipDuplicates?: boolean; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileIncludeCreateManyAndReturn | null; -}; +export type ProfileCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelectCreateManyAndReturn | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * The data used to create many Profiles. + */ + data: Prisma.ProfileCreateManyInput | Prisma.ProfileCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileIncludeCreateManyAndReturn | null +} /** * Profile update */ -export type ProfileUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelect | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileInclude | null; - /** - * The data needed to update a Profile. - */ - data: Prisma.XOR; - /** - * Choose, which Profile to update. - */ - where: Prisma.ProfileWhereUniqueInput; -}; +export type ProfileUpdateArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelect | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileInclude | null + /** + * The data needed to update a Profile. + */ + data: Prisma.XOR + /** + * Choose, which Profile to update. + */ + where: Prisma.ProfileWhereUniqueInput +} /** * Profile updateMany */ -export type ProfileUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update Profiles. - */ - data: Prisma.XOR; - /** - * Filter which Profiles to update - */ - where?: Prisma.ProfileWhereInput; - /** - * Limit how many Profiles to update. - */ - limit?: number; -}; +export type ProfileUpdateManyArgs = { + /** + * The data used to update Profiles. + */ + data: Prisma.XOR + /** + * Filter which Profiles to update + */ + where?: Prisma.ProfileWhereInput + /** + * Limit how many Profiles to update. + */ + limit?: number +} /** * Profile updateManyAndReturn */ -export type ProfileUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * The data used to update Profiles. - */ - data: Prisma.XOR; - /** - * Filter which Profiles to update - */ - where?: Prisma.ProfileWhereInput; - /** - * Limit how many Profiles to update. - */ - limit?: number; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileIncludeUpdateManyAndReturn | null; -}; +export type ProfileUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * The data used to update Profiles. + */ + data: Prisma.XOR + /** + * Filter which Profiles to update + */ + where?: Prisma.ProfileWhereInput + /** + * Limit how many Profiles to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileIncludeUpdateManyAndReturn | null +} /** * Profile upsert */ -export type ProfileUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelect | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileInclude | null; - /** - * The filter to search for the Profile to update in case it exists. - */ - where: Prisma.ProfileWhereUniqueInput; - /** - * In case the Profile found by the `where` argument doesn't exist, create a new Profile with this data. - */ - create: Prisma.XOR; - /** - * In case the Profile was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR; -}; +export type ProfileUpsertArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelect | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileInclude | null + /** + * The filter to search for the Profile to update in case it exists. + */ + where: Prisma.ProfileWhereUniqueInput + /** + * In case the Profile found by the `where` argument doesn't exist, create a new Profile with this data. + */ + create: Prisma.XOR + /** + * In case the Profile was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * Profile delete */ -export type ProfileDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelect | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileInclude | null; - /** - * Filter which Profile to delete. - */ - where: Prisma.ProfileWhereUniqueInput; -}; +export type ProfileDeleteArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelect | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileInclude | null + /** + * Filter which Profile to delete. + */ + where: Prisma.ProfileWhereUniqueInput +} /** * Profile deleteMany */ -export type ProfileDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Profiles to delete - */ - where?: Prisma.ProfileWhereInput; - /** - * Limit how many Profiles to delete. - */ - limit?: number; -}; +export type ProfileDeleteManyArgs = { + /** + * Filter which Profiles to delete + */ + where?: Prisma.ProfileWhereInput + /** + * Limit how many Profiles to delete. + */ + limit?: number +} /** * Profile.addresses */ -export type Profile$addressesArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Address - */ - select?: Prisma.AddressSelect | null; - /** - * Omit specific fields from the Address - */ - omit?: Prisma.AddressOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AddressInclude | null; - where?: Prisma.AddressWhereInput; - orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[]; - cursor?: Prisma.AddressWhereUniqueInput; - take?: number; - skip?: number; - distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[]; -}; +export type Profile$addressesArgs = { + /** + * Select specific fields to fetch from the Address + */ + select?: Prisma.AddressSelect | null + /** + * Omit specific fields from the Address + */ + omit?: Prisma.AddressOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AddressInclude | null + where?: Prisma.AddressWhereInput + orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[] + cursor?: Prisma.AddressWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[] +} /** * Profile without action */ -export type ProfileDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelect | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileInclude | null; -}; +export type ProfileDefaultArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelect | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileInclude | null +} diff --git a/src/lib/generated/prisma/models/Session.ts b/src/lib/generated/prisma/models/Session.ts index f5ae162..57fb8f3 100644 --- a/src/lib/generated/prisma/models/Session.ts +++ b/src/lib/generated/prisma/models/Session.ts @@ -1,1193 +1,988 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `Session` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model Session - * + * */ -export type SessionModel = runtime.Types.Result.DefaultSelection; +export type SessionModel = runtime.Types.Result.DefaultSelection export type AggregateSession = { - _count: SessionCountAggregateOutputType | null; - _min: SessionMinAggregateOutputType | null; - _max: SessionMaxAggregateOutputType | null; -}; + _count: SessionCountAggregateOutputType | null + _min: SessionMinAggregateOutputType | null + _max: SessionMaxAggregateOutputType | null +} export type SessionMinAggregateOutputType = { - id: string | null; - expiresAt: Date | null; - token: string | null; - createdAt: Date | null; - updatedAt: Date | null; - ipAddress: string | null; - userAgent: string | null; - userId: string | null; -}; + id: string | null + expiresAt: Date | null + token: string | null + createdAt: Date | null + updatedAt: Date | null + ipAddress: string | null + userAgent: string | null + userId: string | null +} export type SessionMaxAggregateOutputType = { - id: string | null; - expiresAt: Date | null; - token: string | null; - createdAt: Date | null; - updatedAt: Date | null; - ipAddress: string | null; - userAgent: string | null; - userId: string | null; -}; + id: string | null + expiresAt: Date | null + token: string | null + createdAt: Date | null + updatedAt: Date | null + ipAddress: string | null + userAgent: string | null + userId: string | null +} export type SessionCountAggregateOutputType = { - id: number; - expiresAt: number; - token: number; - createdAt: number; - updatedAt: number; - ipAddress: number; - userAgent: number; - userId: number; - _all: number; -}; + id: number + expiresAt: number + token: number + createdAt: number + updatedAt: number + ipAddress: number + userAgent: number + userId: number + _all: number +} + export type SessionMinAggregateInputType = { - id?: true; - expiresAt?: true; - token?: true; - createdAt?: true; - updatedAt?: true; - ipAddress?: true; - userAgent?: true; - userId?: true; -}; + id?: true + expiresAt?: true + token?: true + createdAt?: true + updatedAt?: true + ipAddress?: true + userAgent?: true + userId?: true +} export type SessionMaxAggregateInputType = { - id?: true; - expiresAt?: true; - token?: true; - createdAt?: true; - updatedAt?: true; - ipAddress?: true; - userAgent?: true; - userId?: true; -}; + id?: true + expiresAt?: true + token?: true + createdAt?: true + updatedAt?: true + ipAddress?: true + userAgent?: true + userId?: true +} export type SessionCountAggregateInputType = { - id?: true; - expiresAt?: true; - token?: true; - createdAt?: true; - updatedAt?: true; - ipAddress?: true; - userAgent?: true; - userId?: true; - _all?: true; -}; + id?: true + expiresAt?: true + token?: true + createdAt?: true + updatedAt?: true + ipAddress?: true + userAgent?: true + userId?: true + _all?: true +} -export type SessionAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Session to aggregate. - */ - where?: Prisma.SessionWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sessions to fetch. - */ - orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.SessionWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sessions from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sessions. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Sessions - **/ - _count?: true | SessionCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: SessionMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: SessionMaxAggregateInputType; -}; +export type SessionAggregateArgs = { + /** + * Filter which Session to aggregate. + */ + where?: Prisma.SessionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Sessions to fetch. + */ + orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.SessionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Sessions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Sessions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned Sessions + **/ + _count?: true | SessionCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: SessionMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: SessionMaxAggregateInputType +} export type GetSessionAggregateType = { - [P in keyof T & keyof AggregateSession]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateSession]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type SessionGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.SessionWhereInput; - orderBy?: Prisma.SessionOrderByWithAggregationInput | Prisma.SessionOrderByWithAggregationInput[]; - by: Prisma.SessionScalarFieldEnum[] | Prisma.SessionScalarFieldEnum; - having?: Prisma.SessionScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: SessionCountAggregateInputType | true; - _min?: SessionMinAggregateInputType; - _max?: SessionMaxAggregateInputType; -}; + + + +export type SessionGroupByArgs = { + where?: Prisma.SessionWhereInput + orderBy?: Prisma.SessionOrderByWithAggregationInput | Prisma.SessionOrderByWithAggregationInput[] + by: Prisma.SessionScalarFieldEnum[] | Prisma.SessionScalarFieldEnum + having?: Prisma.SessionScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: SessionCountAggregateInputType | true + _min?: SessionMinAggregateInputType + _max?: SessionMaxAggregateInputType +} export type SessionGroupByOutputType = { - id: string; - expiresAt: Date; - token: string; - createdAt: Date; - updatedAt: Date; - ipAddress: string | null; - userAgent: string | null; - userId: string; - _count: SessionCountAggregateOutputType | null; - _min: SessionMinAggregateOutputType | null; - _max: SessionMaxAggregateOutputType | null; -}; + id: string + expiresAt: Date + token: string + createdAt: Date + updatedAt: Date + ipAddress: string | null + userAgent: string | null + userId: string + _count: SessionCountAggregateOutputType | null + _min: SessionMinAggregateOutputType | null + _max: SessionMaxAggregateOutputType | null +} export type GetSessionGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof SessionGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > ->; + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof SessionGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + export type SessionWhereInput = { - AND?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[]; - OR?: Prisma.SessionWhereInput[]; - NOT?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[]; - id?: Prisma.StringFilter<'Session'> | string; - expiresAt?: Prisma.DateTimeFilter<'Session'> | Date | string; - token?: Prisma.StringFilter<'Session'> | string; - createdAt?: Prisma.DateTimeFilter<'Session'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'Session'> | Date | string; - ipAddress?: Prisma.StringNullableFilter<'Session'> | string | null; - userAgent?: Prisma.StringNullableFilter<'Session'> | string | null; - userId?: Prisma.StringFilter<'Session'> | string; - user?: Prisma.XOR; -}; + AND?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[] + OR?: Prisma.SessionWhereInput[] + NOT?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[] + id?: Prisma.StringFilter<"Session"> | string + expiresAt?: Prisma.DateTimeFilter<"Session"> | Date | string + token?: Prisma.StringFilter<"Session"> | string + createdAt?: Prisma.DateTimeFilter<"Session"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"Session"> | Date | string + ipAddress?: Prisma.StringNullableFilter<"Session"> | string | null + userAgent?: Prisma.StringNullableFilter<"Session"> | string | null + userId?: Prisma.StringFilter<"Session"> | string + user?: Prisma.XOR +} export type SessionOrderByWithRelationInput = { - id?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - token?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - ipAddress?: Prisma.SortOrderInput | Prisma.SortOrder; - userAgent?: Prisma.SortOrderInput | Prisma.SortOrder; - userId?: Prisma.SortOrder; - user?: Prisma.UserOrderByWithRelationInput; -}; + id?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + token?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + ipAddress?: Prisma.SortOrderInput | Prisma.SortOrder + userAgent?: Prisma.SortOrderInput | Prisma.SortOrder + userId?: Prisma.SortOrder + user?: Prisma.UserOrderByWithRelationInput +} -export type SessionWhereUniqueInput = Prisma.AtLeast< - { - id?: string; - token?: string; - AND?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[]; - OR?: Prisma.SessionWhereInput[]; - NOT?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[]; - expiresAt?: Prisma.DateTimeFilter<'Session'> | Date | string; - createdAt?: Prisma.DateTimeFilter<'Session'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'Session'> | Date | string; - ipAddress?: Prisma.StringNullableFilter<'Session'> | string | null; - userAgent?: Prisma.StringNullableFilter<'Session'> | string | null; - userId?: Prisma.StringFilter<'Session'> | string; - user?: Prisma.XOR; - }, - 'id' | 'token' ->; +export type SessionWhereUniqueInput = Prisma.AtLeast<{ + id?: string + token?: string + AND?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[] + OR?: Prisma.SessionWhereInput[] + NOT?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[] + expiresAt?: Prisma.DateTimeFilter<"Session"> | Date | string + createdAt?: Prisma.DateTimeFilter<"Session"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"Session"> | Date | string + ipAddress?: Prisma.StringNullableFilter<"Session"> | string | null + userAgent?: Prisma.StringNullableFilter<"Session"> | string | null + userId?: Prisma.StringFilter<"Session"> | string + user?: Prisma.XOR +}, "id" | "token"> export type SessionOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - token?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - ipAddress?: Prisma.SortOrderInput | Prisma.SortOrder; - userAgent?: Prisma.SortOrderInput | Prisma.SortOrder; - userId?: Prisma.SortOrder; - _count?: Prisma.SessionCountOrderByAggregateInput; - _max?: Prisma.SessionMaxOrderByAggregateInput; - _min?: Prisma.SessionMinOrderByAggregateInput; -}; + id?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + token?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + ipAddress?: Prisma.SortOrderInput | Prisma.SortOrder + userAgent?: Prisma.SortOrderInput | Prisma.SortOrder + userId?: Prisma.SortOrder + _count?: Prisma.SessionCountOrderByAggregateInput + _max?: Prisma.SessionMaxOrderByAggregateInput + _min?: Prisma.SessionMinOrderByAggregateInput +} export type SessionScalarWhereWithAggregatesInput = { - AND?: - | Prisma.SessionScalarWhereWithAggregatesInput - | Prisma.SessionScalarWhereWithAggregatesInput[]; - OR?: Prisma.SessionScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.SessionScalarWhereWithAggregatesInput - | Prisma.SessionScalarWhereWithAggregatesInput[]; - id?: Prisma.StringWithAggregatesFilter<'Session'> | string; - expiresAt?: Prisma.DateTimeWithAggregatesFilter<'Session'> | Date | string; - token?: Prisma.StringWithAggregatesFilter<'Session'> | string; - createdAt?: Prisma.DateTimeWithAggregatesFilter<'Session'> | Date | string; - updatedAt?: Prisma.DateTimeWithAggregatesFilter<'Session'> | Date | string; - ipAddress?: Prisma.StringNullableWithAggregatesFilter<'Session'> | string | null; - userAgent?: Prisma.StringNullableWithAggregatesFilter<'Session'> | string | null; - userId?: Prisma.StringWithAggregatesFilter<'Session'> | string; -}; + AND?: Prisma.SessionScalarWhereWithAggregatesInput | Prisma.SessionScalarWhereWithAggregatesInput[] + OR?: Prisma.SessionScalarWhereWithAggregatesInput[] + NOT?: Prisma.SessionScalarWhereWithAggregatesInput | Prisma.SessionScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"Session"> | string + expiresAt?: Prisma.DateTimeWithAggregatesFilter<"Session"> | Date | string + token?: Prisma.StringWithAggregatesFilter<"Session"> | string + createdAt?: Prisma.DateTimeWithAggregatesFilter<"Session"> | Date | string + updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Session"> | Date | string + ipAddress?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null + userAgent?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null + userId?: Prisma.StringWithAggregatesFilter<"Session"> | string +} export type SessionCreateInput = { - id: string; - expiresAt: Date | string; - token: string; - createdAt?: Date | string; - updatedAt?: Date | string; - ipAddress?: string | null; - userAgent?: string | null; - user: Prisma.UserCreateNestedOneWithoutSessionsInput; -}; + id: string + expiresAt: Date | string + token: string + createdAt?: Date | string + updatedAt?: Date | string + ipAddress?: string | null + userAgent?: string | null + user: Prisma.UserCreateNestedOneWithoutSessionsInput +} export type SessionUncheckedCreateInput = { - id: string; - expiresAt: Date | string; - token: string; - createdAt?: Date | string; - updatedAt?: Date | string; - ipAddress?: string | null; - userAgent?: string | null; - userId: string; -}; + id: string + expiresAt: Date | string + token: string + createdAt?: Date | string + updatedAt?: Date | string + ipAddress?: string | null + userAgent?: string | null + userId: string +} export type SessionUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - token?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - user?: Prisma.UserUpdateOneRequiredWithoutSessionsNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + token?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + user?: Prisma.UserUpdateOneRequiredWithoutSessionsNestedInput +} export type SessionUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - token?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - userId?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + token?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + userId?: Prisma.StringFieldUpdateOperationsInput | string +} export type SessionCreateManyInput = { - id: string; - expiresAt: Date | string; - token: string; - createdAt?: Date | string; - updatedAt?: Date | string; - ipAddress?: string | null; - userAgent?: string | null; - userId: string; -}; + id: string + expiresAt: Date | string + token: string + createdAt?: Date | string + updatedAt?: Date | string + ipAddress?: string | null + userAgent?: string | null + userId: string +} export type SessionUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - token?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + token?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} export type SessionUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - token?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - userId?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + token?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + userId?: Prisma.StringFieldUpdateOperationsInput | string +} export type SessionListRelationFilter = { - every?: Prisma.SessionWhereInput; - some?: Prisma.SessionWhereInput; - none?: Prisma.SessionWhereInput; -}; + every?: Prisma.SessionWhereInput + some?: Prisma.SessionWhereInput + none?: Prisma.SessionWhereInput +} export type SessionOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder; -}; + _count?: Prisma.SortOrder +} export type SessionCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - token?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - ipAddress?: Prisma.SortOrder; - userAgent?: Prisma.SortOrder; - userId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + token?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + ipAddress?: Prisma.SortOrder + userAgent?: Prisma.SortOrder + userId?: Prisma.SortOrder +} export type SessionMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - token?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - ipAddress?: Prisma.SortOrder; - userAgent?: Prisma.SortOrder; - userId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + token?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + ipAddress?: Prisma.SortOrder + userAgent?: Prisma.SortOrder + userId?: Prisma.SortOrder +} export type SessionMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - token?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - ipAddress?: Prisma.SortOrder; - userAgent?: Prisma.SortOrder; - userId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + token?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + ipAddress?: Prisma.SortOrder + userAgent?: Prisma.SortOrder + userId?: Prisma.SortOrder +} export type SessionCreateNestedManyWithoutUserInput = { - create?: - | Prisma.XOR< - Prisma.SessionCreateWithoutUserInput, - Prisma.SessionUncheckedCreateWithoutUserInput - > - | Prisma.SessionCreateWithoutUserInput[] - | Prisma.SessionUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.SessionCreateOrConnectWithoutUserInput - | Prisma.SessionCreateOrConnectWithoutUserInput[]; - createMany?: Prisma.SessionCreateManyUserInputEnvelope; - connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.SessionCreateWithoutUserInput[] | Prisma.SessionUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.SessionCreateOrConnectWithoutUserInput | Prisma.SessionCreateOrConnectWithoutUserInput[] + createMany?: Prisma.SessionCreateManyUserInputEnvelope + connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] +} export type SessionUncheckedCreateNestedManyWithoutUserInput = { - create?: - | Prisma.XOR< - Prisma.SessionCreateWithoutUserInput, - Prisma.SessionUncheckedCreateWithoutUserInput - > - | Prisma.SessionCreateWithoutUserInput[] - | Prisma.SessionUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.SessionCreateOrConnectWithoutUserInput - | Prisma.SessionCreateOrConnectWithoutUserInput[]; - createMany?: Prisma.SessionCreateManyUserInputEnvelope; - connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.SessionCreateWithoutUserInput[] | Prisma.SessionUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.SessionCreateOrConnectWithoutUserInput | Prisma.SessionCreateOrConnectWithoutUserInput[] + createMany?: Prisma.SessionCreateManyUserInputEnvelope + connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] +} export type SessionUpdateManyWithoutUserNestedInput = { - create?: - | Prisma.XOR< - Prisma.SessionCreateWithoutUserInput, - Prisma.SessionUncheckedCreateWithoutUserInput - > - | Prisma.SessionCreateWithoutUserInput[] - | Prisma.SessionUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.SessionCreateOrConnectWithoutUserInput - | Prisma.SessionCreateOrConnectWithoutUserInput[]; - upsert?: - | Prisma.SessionUpsertWithWhereUniqueWithoutUserInput - | Prisma.SessionUpsertWithWhereUniqueWithoutUserInput[]; - createMany?: Prisma.SessionCreateManyUserInputEnvelope; - set?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[]; - disconnect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[]; - delete?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[]; - connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[]; - update?: - | Prisma.SessionUpdateWithWhereUniqueWithoutUserInput - | Prisma.SessionUpdateWithWhereUniqueWithoutUserInput[]; - updateMany?: - | Prisma.SessionUpdateManyWithWhereWithoutUserInput - | Prisma.SessionUpdateManyWithWhereWithoutUserInput[]; - deleteMany?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.SessionCreateWithoutUserInput[] | Prisma.SessionUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.SessionCreateOrConnectWithoutUserInput | Prisma.SessionCreateOrConnectWithoutUserInput[] + upsert?: Prisma.SessionUpsertWithWhereUniqueWithoutUserInput | Prisma.SessionUpsertWithWhereUniqueWithoutUserInput[] + createMany?: Prisma.SessionCreateManyUserInputEnvelope + set?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] + disconnect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] + delete?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] + connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] + update?: Prisma.SessionUpdateWithWhereUniqueWithoutUserInput | Prisma.SessionUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: Prisma.SessionUpdateManyWithWhereWithoutUserInput | Prisma.SessionUpdateManyWithWhereWithoutUserInput[] + deleteMany?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[] +} export type SessionUncheckedUpdateManyWithoutUserNestedInput = { - create?: - | Prisma.XOR< - Prisma.SessionCreateWithoutUserInput, - Prisma.SessionUncheckedCreateWithoutUserInput - > - | Prisma.SessionCreateWithoutUserInput[] - | Prisma.SessionUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.SessionCreateOrConnectWithoutUserInput - | Prisma.SessionCreateOrConnectWithoutUserInput[]; - upsert?: - | Prisma.SessionUpsertWithWhereUniqueWithoutUserInput - | Prisma.SessionUpsertWithWhereUniqueWithoutUserInput[]; - createMany?: Prisma.SessionCreateManyUserInputEnvelope; - set?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[]; - disconnect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[]; - delete?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[]; - connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[]; - update?: - | Prisma.SessionUpdateWithWhereUniqueWithoutUserInput - | Prisma.SessionUpdateWithWhereUniqueWithoutUserInput[]; - updateMany?: - | Prisma.SessionUpdateManyWithWhereWithoutUserInput - | Prisma.SessionUpdateManyWithWhereWithoutUserInput[]; - deleteMany?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.SessionCreateWithoutUserInput[] | Prisma.SessionUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.SessionCreateOrConnectWithoutUserInput | Prisma.SessionCreateOrConnectWithoutUserInput[] + upsert?: Prisma.SessionUpsertWithWhereUniqueWithoutUserInput | Prisma.SessionUpsertWithWhereUniqueWithoutUserInput[] + createMany?: Prisma.SessionCreateManyUserInputEnvelope + set?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] + disconnect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] + delete?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] + connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] + update?: Prisma.SessionUpdateWithWhereUniqueWithoutUserInput | Prisma.SessionUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: Prisma.SessionUpdateManyWithWhereWithoutUserInput | Prisma.SessionUpdateManyWithWhereWithoutUserInput[] + deleteMany?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[] +} export type SessionCreateWithoutUserInput = { - id: string; - expiresAt: Date | string; - token: string; - createdAt?: Date | string; - updatedAt?: Date | string; - ipAddress?: string | null; - userAgent?: string | null; -}; + id: string + expiresAt: Date | string + token: string + createdAt?: Date | string + updatedAt?: Date | string + ipAddress?: string | null + userAgent?: string | null +} export type SessionUncheckedCreateWithoutUserInput = { - id: string; - expiresAt: Date | string; - token: string; - createdAt?: Date | string; - updatedAt?: Date | string; - ipAddress?: string | null; - userAgent?: string | null; -}; + id: string + expiresAt: Date | string + token: string + createdAt?: Date | string + updatedAt?: Date | string + ipAddress?: string | null + userAgent?: string | null +} export type SessionCreateOrConnectWithoutUserInput = { - where: Prisma.SessionWhereUniqueInput; - create: Prisma.XOR< - Prisma.SessionCreateWithoutUserInput, - Prisma.SessionUncheckedCreateWithoutUserInput - >; -}; + where: Prisma.SessionWhereUniqueInput + create: Prisma.XOR +} export type SessionCreateManyUserInputEnvelope = { - data: Prisma.SessionCreateManyUserInput | Prisma.SessionCreateManyUserInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.SessionCreateManyUserInput | Prisma.SessionCreateManyUserInput[] + skipDuplicates?: boolean +} export type SessionUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.SessionWhereUniqueInput; - update: Prisma.XOR< - Prisma.SessionUpdateWithoutUserInput, - Prisma.SessionUncheckedUpdateWithoutUserInput - >; - create: Prisma.XOR< - Prisma.SessionCreateWithoutUserInput, - Prisma.SessionUncheckedCreateWithoutUserInput - >; -}; + where: Prisma.SessionWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type SessionUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.SessionWhereUniqueInput; - data: Prisma.XOR< - Prisma.SessionUpdateWithoutUserInput, - Prisma.SessionUncheckedUpdateWithoutUserInput - >; -}; + where: Prisma.SessionWhereUniqueInput + data: Prisma.XOR +} export type SessionUpdateManyWithWhereWithoutUserInput = { - where: Prisma.SessionScalarWhereInput; - data: Prisma.XOR< - Prisma.SessionUpdateManyMutationInput, - Prisma.SessionUncheckedUpdateManyWithoutUserInput - >; -}; + where: Prisma.SessionScalarWhereInput + data: Prisma.XOR +} export type SessionScalarWhereInput = { - AND?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[]; - OR?: Prisma.SessionScalarWhereInput[]; - NOT?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[]; - id?: Prisma.StringFilter<'Session'> | string; - expiresAt?: Prisma.DateTimeFilter<'Session'> | Date | string; - token?: Prisma.StringFilter<'Session'> | string; - createdAt?: Prisma.DateTimeFilter<'Session'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'Session'> | Date | string; - ipAddress?: Prisma.StringNullableFilter<'Session'> | string | null; - userAgent?: Prisma.StringNullableFilter<'Session'> | string | null; - userId?: Prisma.StringFilter<'Session'> | string; -}; + AND?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[] + OR?: Prisma.SessionScalarWhereInput[] + NOT?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[] + id?: Prisma.StringFilter<"Session"> | string + expiresAt?: Prisma.DateTimeFilter<"Session"> | Date | string + token?: Prisma.StringFilter<"Session"> | string + createdAt?: Prisma.DateTimeFilter<"Session"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"Session"> | Date | string + ipAddress?: Prisma.StringNullableFilter<"Session"> | string | null + userAgent?: Prisma.StringNullableFilter<"Session"> | string | null + userId?: Prisma.StringFilter<"Session"> | string +} export type SessionCreateManyUserInput = { - id: string; - expiresAt: Date | string; - token: string; - createdAt?: Date | string; - updatedAt?: Date | string; - ipAddress?: string | null; - userAgent?: string | null; -}; + id: string + expiresAt: Date | string + token: string + createdAt?: Date | string + updatedAt?: Date | string + ipAddress?: string | null + userAgent?: string | null +} export type SessionUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - token?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + token?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} export type SessionUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - token?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + token?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} export type SessionUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - token?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + token?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} -export type SessionSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - expiresAt?: boolean; - token?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - ipAddress?: boolean; - userAgent?: boolean; - userId?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - }, - ExtArgs['result']['session'] ->; -export type SessionSelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - expiresAt?: boolean; - token?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - ipAddress?: boolean; - userAgent?: boolean; - userId?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - }, - ExtArgs['result']['session'] ->; -export type SessionSelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - expiresAt?: boolean; - token?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - ipAddress?: boolean; - userAgent?: boolean; - userId?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - }, - ExtArgs['result']['session'] ->; +export type SessionSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + expiresAt?: boolean + token?: boolean + createdAt?: boolean + updatedAt?: boolean + ipAddress?: boolean + userAgent?: boolean + userId?: boolean + user?: boolean | Prisma.UserDefaultArgs +}, ExtArgs["result"]["session"]> + +export type SessionSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + expiresAt?: boolean + token?: boolean + createdAt?: boolean + updatedAt?: boolean + ipAddress?: boolean + userAgent?: boolean + userId?: boolean + user?: boolean | Prisma.UserDefaultArgs +}, ExtArgs["result"]["session"]> + +export type SessionSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + expiresAt?: boolean + token?: boolean + createdAt?: boolean + updatedAt?: boolean + ipAddress?: boolean + userAgent?: boolean + userId?: boolean + user?: boolean | Prisma.UserDefaultArgs +}, ExtArgs["result"]["session"]> export type SessionSelectScalar = { - id?: boolean; - expiresAt?: boolean; - token?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - ipAddress?: boolean; - userAgent?: boolean; - userId?: boolean; -}; + id?: boolean + expiresAt?: boolean + token?: boolean + createdAt?: boolean + updatedAt?: boolean + ipAddress?: boolean + userAgent?: boolean + userId?: boolean +} -export type SessionOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'id' | 'expiresAt' | 'token' | 'createdAt' | 'updatedAt' | 'ipAddress' | 'userAgent' | 'userId', - ExtArgs['result']['session'] ->; -export type SessionInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; -}; -export type SessionIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; -}; -export type SessionIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; -}; +export type SessionOmit = runtime.Types.Extensions.GetOmit<"id" | "expiresAt" | "token" | "createdAt" | "updatedAt" | "ipAddress" | "userAgent" | "userId", ExtArgs["result"]["session"]> +export type SessionInclude = { + user?: boolean | Prisma.UserDefaultArgs +} +export type SessionIncludeCreateManyAndReturn = { + user?: boolean | Prisma.UserDefaultArgs +} +export type SessionIncludeUpdateManyAndReturn = { + user?: boolean | Prisma.UserDefaultArgs +} -export type $SessionPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'Session'; - objects: { - user: Prisma.$UserPayload; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: string; - expiresAt: Date; - token: string; - createdAt: Date; - updatedAt: Date; - ipAddress: string | null; - userAgent: string | null; - userId: string; - }, - ExtArgs['result']['session'] - >; - composites: {}; -}; +export type $SessionPayload = { + name: "Session" + objects: { + user: Prisma.$UserPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + expiresAt: Date + token: string + createdAt: Date + updatedAt: Date + ipAddress: string | null + userAgent: string | null + userId: string + }, ExtArgs["result"]["session"]> + composites: {} +} -export type SessionGetPayload = - runtime.Types.Result.GetResult; +export type SessionGetPayload = runtime.Types.Result.GetResult -export type SessionCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: SessionCountAggregateInputType | true; -}; +export type SessionCountArgs = + Omit & { + select?: SessionCountAggregateInputType | true + } -export interface SessionDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { types: Prisma.TypeMap['model']['Session']; meta: { name: 'Session' } }; - /** - * Find zero or one Session that matches the filter. - * @param {SessionFindUniqueArgs} args - Arguments to find a Session - * @example - * // Get one Session - * const session = await prisma.session.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SessionClient< - runtime.Types.Result.GetResult< - Prisma.$SessionPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface SessionDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['Session'], meta: { name: 'Session' } } + /** + * Find zero or one Session that matches the filter. + * @param {SessionFindUniqueArgs} args - Arguments to find a Session + * @example + * // Get one Session + * const session = await prisma.session.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one Session that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {SessionFindUniqueOrThrowArgs} args - Arguments to find a Session - * @example - * // Get one Session - * const session = await prisma.session.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SessionClient< - runtime.Types.Result.GetResult< - Prisma.$SessionPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one Session that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {SessionFindUniqueOrThrowArgs} args - Arguments to find a Session + * @example + * // Get one Session + * const session = await prisma.session.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first Session that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionFindFirstArgs} args - Arguments to find a Session - * @example - * // Get one Session - * const session = await prisma.session.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__SessionClient< - runtime.Types.Result.GetResult< - Prisma.$SessionPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Session that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SessionFindFirstArgs} args - Arguments to find a Session + * @example + * // Get one Session + * const session = await prisma.session.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first Session that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionFindFirstOrThrowArgs} args - Arguments to find a Session - * @example - * // Get one Session - * const session = await prisma.session.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__SessionClient< - runtime.Types.Result.GetResult< - Prisma.$SessionPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Session that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SessionFindFirstOrThrowArgs} args - Arguments to find a Session + * @example + * // Get one Session + * const session = await prisma.session.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more Sessions that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Sessions - * const sessions = await prisma.session.findMany() - * - * // Get first 10 Sessions - * const sessions = await prisma.session.findMany({ take: 10 }) - * - * // Only select the `id` - * const sessionWithIdOnly = await prisma.session.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$SessionPayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more Sessions that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SessionFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Sessions + * const sessions = await prisma.session.findMany() + * + * // Get first 10 Sessions + * const sessions = await prisma.session.findMany({ take: 10 }) + * + * // Only select the `id` + * const sessionWithIdOnly = await prisma.session.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a Session. - * @param {SessionCreateArgs} args - Arguments to create a Session. - * @example - * // Create one Session - * const Session = await prisma.session.create({ - * data: { - * // ... data to create a Session - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SessionClient< - runtime.Types.Result.GetResult, T, 'create', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a Session. + * @param {SessionCreateArgs} args - Arguments to create a Session. + * @example + * // Create one Session + * const Session = await prisma.session.create({ + * data: { + * // ... data to create a Session + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many Sessions. - * @param {SessionCreateManyArgs} args - Arguments to create many Sessions. - * @example - * // Create many Sessions - * const session = await prisma.session.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many Sessions. + * @param {SessionCreateManyArgs} args - Arguments to create many Sessions. + * @example + * // Create many Sessions + * const session = await prisma.session.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many Sessions and returns the data saved in the database. - * @param {SessionCreateManyAndReturnArgs} args - Arguments to create many Sessions. - * @example - * // Create many Sessions - * const session = await prisma.session.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Sessions and only return the `id` - * const sessionWithIdOnly = await prisma.session.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$SessionPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many Sessions and returns the data saved in the database. + * @param {SessionCreateManyAndReturnArgs} args - Arguments to create many Sessions. + * @example + * // Create many Sessions + * const session = await prisma.session.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Sessions and only return the `id` + * const sessionWithIdOnly = await prisma.session.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a Session. - * @param {SessionDeleteArgs} args - Arguments to delete one Session. - * @example - * // Delete one Session - * const Session = await prisma.session.delete({ - * where: { - * // ... filter to delete one Session - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SessionClient< - runtime.Types.Result.GetResult, T, 'delete', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a Session. + * @param {SessionDeleteArgs} args - Arguments to delete one Session. + * @example + * // Delete one Session + * const Session = await prisma.session.delete({ + * where: { + * // ... filter to delete one Session + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one Session. - * @param {SessionUpdateArgs} args - Arguments to update one Session. - * @example - * // Update one Session - * const session = await prisma.session.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SessionClient< - runtime.Types.Result.GetResult, T, 'update', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one Session. + * @param {SessionUpdateArgs} args - Arguments to update one Session. + * @example + * // Update one Session + * const session = await prisma.session.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more Sessions. - * @param {SessionDeleteManyArgs} args - Arguments to filter Sessions to delete. - * @example - * // Delete a few Sessions - * const { count } = await prisma.session.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more Sessions. + * @param {SessionDeleteManyArgs} args - Arguments to filter Sessions to delete. + * @example + * // Delete a few Sessions + * const { count } = await prisma.session.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Sessions. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Sessions - * const session = await prisma.session.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more Sessions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SessionUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Sessions + * const session = await prisma.session.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Sessions and returns the data updated in the database. - * @param {SessionUpdateManyAndReturnArgs} args - Arguments to update many Sessions. - * @example - * // Update many Sessions - * const session = await prisma.session.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Sessions and only return the `id` - * const sessionWithIdOnly = await prisma.session.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$SessionPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more Sessions and returns the data updated in the database. + * @param {SessionUpdateManyAndReturnArgs} args - Arguments to update many Sessions. + * @example + * // Update many Sessions + * const session = await prisma.session.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Sessions and only return the `id` + * const sessionWithIdOnly = await prisma.session.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one Session. - * @param {SessionUpsertArgs} args - Arguments to update or create a Session. - * @example - * // Update or create a Session - * const session = await prisma.session.upsert({ - * create: { - * // ... data to create a Session - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Session we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SessionClient< - runtime.Types.Result.GetResult, T, 'upsert', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one Session. + * @param {SessionUpsertArgs} args - Arguments to update or create a Session. + * @example + * // Update or create a Session + * const session = await prisma.session.upsert({ + * create: { + * // ... data to create a Session + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Session we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of Sessions. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionCountArgs} args - Arguments to filter Sessions to count. - * @example - * // Count the number of Sessions - * const count = await prisma.session.count({ - * where: { - * // ... the filter for the Sessions we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a Session. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of Sessions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SessionCountArgs} args - Arguments to filter Sessions to count. + * @example + * // Count the number of Sessions + * const count = await prisma.session.count({ + * where: { + * // ... the filter for the Sessions we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by Session. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends SessionGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: SessionGroupByArgs['orderBy'] } - : { orderBy?: SessionGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors ? GetSessionGroupByPayload : Prisma.PrismaPromise; - /** - * Fields of the Session model - */ - readonly fields: SessionFieldRefs; + /** + * Allows you to perform aggregations operations on a Session. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SessionAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Session. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SessionGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends SessionGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: SessionGroupByArgs['orderBy'] } + : { orderBy?: SessionGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetSessionGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the Session model + */ +readonly fields: SessionFieldRefs; } /** @@ -1196,509 +991,460 @@ export interface SessionDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__SessionClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - user = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__UserClient< - | runtime.Types.Result.GetResult< - Prisma.$UserPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > - | Null, - Null, - ExtArgs, - GlobalOmitOptions - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__SessionClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the Session model */ export interface SessionFieldRefs { - readonly id: Prisma.FieldRef<'Session', 'String'>; - readonly expiresAt: Prisma.FieldRef<'Session', 'DateTime'>; - readonly token: Prisma.FieldRef<'Session', 'String'>; - readonly createdAt: Prisma.FieldRef<'Session', 'DateTime'>; - readonly updatedAt: Prisma.FieldRef<'Session', 'DateTime'>; - readonly ipAddress: Prisma.FieldRef<'Session', 'String'>; - readonly userAgent: Prisma.FieldRef<'Session', 'String'>; - readonly userId: Prisma.FieldRef<'Session', 'String'>; + readonly id: Prisma.FieldRef<"Session", 'String'> + readonly expiresAt: Prisma.FieldRef<"Session", 'DateTime'> + readonly token: Prisma.FieldRef<"Session", 'String'> + readonly createdAt: Prisma.FieldRef<"Session", 'DateTime'> + readonly updatedAt: Prisma.FieldRef<"Session", 'DateTime'> + readonly ipAddress: Prisma.FieldRef<"Session", 'String'> + readonly userAgent: Prisma.FieldRef<"Session", 'String'> + readonly userId: Prisma.FieldRef<"Session", 'String'> } + // Custom InputTypes /** * Session findUnique */ -export type SessionFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null; - /** - * Filter, which Session to fetch. - */ - where: Prisma.SessionWhereUniqueInput; -}; +export type SessionFindUniqueArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelect | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionInclude | null + /** + * Filter, which Session to fetch. + */ + where: Prisma.SessionWhereUniqueInput +} /** * Session findUniqueOrThrow */ -export type SessionFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null; - /** - * Filter, which Session to fetch. - */ - where: Prisma.SessionWhereUniqueInput; -}; +export type SessionFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelect | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionInclude | null + /** + * Filter, which Session to fetch. + */ + where: Prisma.SessionWhereUniqueInput +} /** * Session findFirst */ -export type SessionFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null; - /** - * Filter, which Session to fetch. - */ - where?: Prisma.SessionWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sessions to fetch. - */ - orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Sessions. - */ - cursor?: Prisma.SessionWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sessions from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sessions. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Sessions. - */ - distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[]; -}; +export type SessionFindFirstArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelect | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionInclude | null + /** + * Filter, which Session to fetch. + */ + where?: Prisma.SessionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Sessions to fetch. + */ + orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Sessions. + */ + cursor?: Prisma.SessionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Sessions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Sessions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Sessions. + */ + distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[] +} /** * Session findFirstOrThrow */ -export type SessionFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null; - /** - * Filter, which Session to fetch. - */ - where?: Prisma.SessionWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sessions to fetch. - */ - orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Sessions. - */ - cursor?: Prisma.SessionWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sessions from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sessions. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Sessions. - */ - distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[]; -}; +export type SessionFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelect | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionInclude | null + /** + * Filter, which Session to fetch. + */ + where?: Prisma.SessionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Sessions to fetch. + */ + orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Sessions. + */ + cursor?: Prisma.SessionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Sessions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Sessions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Sessions. + */ + distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[] +} /** * Session findMany */ -export type SessionFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null; - /** - * Filter, which Sessions to fetch. - */ - where?: Prisma.SessionWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sessions to fetch. - */ - orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Sessions. - */ - cursor?: Prisma.SessionWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sessions from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sessions. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Sessions. - */ - distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[]; -}; +export type SessionFindManyArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelect | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionInclude | null + /** + * Filter, which Sessions to fetch. + */ + where?: Prisma.SessionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Sessions to fetch. + */ + orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing Sessions. + */ + cursor?: Prisma.SessionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Sessions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Sessions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Sessions. + */ + distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[] +} /** * Session create */ -export type SessionCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null; - /** - * The data needed to create a Session. - */ - data: Prisma.XOR; -}; +export type SessionCreateArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelect | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionInclude | null + /** + * The data needed to create a Session. + */ + data: Prisma.XOR +} /** * Session createMany */ -export type SessionCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many Sessions. - */ - data: Prisma.SessionCreateManyInput | Prisma.SessionCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type SessionCreateManyArgs = { + /** + * The data used to create many Sessions. + */ + data: Prisma.SessionCreateManyInput | Prisma.SessionCreateManyInput[] + skipDuplicates?: boolean +} /** * Session createManyAndReturn */ -export type SessionCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelectCreateManyAndReturn | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * The data used to create many Sessions. - */ - data: Prisma.SessionCreateManyInput | Prisma.SessionCreateManyInput[]; - skipDuplicates?: boolean; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionIncludeCreateManyAndReturn | null; -}; +export type SessionCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelectCreateManyAndReturn | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * The data used to create many Sessions. + */ + data: Prisma.SessionCreateManyInput | Prisma.SessionCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionIncludeCreateManyAndReturn | null +} /** * Session update */ -export type SessionUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null; - /** - * The data needed to update a Session. - */ - data: Prisma.XOR; - /** - * Choose, which Session to update. - */ - where: Prisma.SessionWhereUniqueInput; -}; +export type SessionUpdateArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelect | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionInclude | null + /** + * The data needed to update a Session. + */ + data: Prisma.XOR + /** + * Choose, which Session to update. + */ + where: Prisma.SessionWhereUniqueInput +} /** * Session updateMany */ -export type SessionUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update Sessions. - */ - data: Prisma.XOR; - /** - * Filter which Sessions to update - */ - where?: Prisma.SessionWhereInput; - /** - * Limit how many Sessions to update. - */ - limit?: number; -}; +export type SessionUpdateManyArgs = { + /** + * The data used to update Sessions. + */ + data: Prisma.XOR + /** + * Filter which Sessions to update + */ + where?: Prisma.SessionWhereInput + /** + * Limit how many Sessions to update. + */ + limit?: number +} /** * Session updateManyAndReturn */ -export type SessionUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * The data used to update Sessions. - */ - data: Prisma.XOR; - /** - * Filter which Sessions to update - */ - where?: Prisma.SessionWhereInput; - /** - * Limit how many Sessions to update. - */ - limit?: number; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionIncludeUpdateManyAndReturn | null; -}; +export type SessionUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * The data used to update Sessions. + */ + data: Prisma.XOR + /** + * Filter which Sessions to update + */ + where?: Prisma.SessionWhereInput + /** + * Limit how many Sessions to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionIncludeUpdateManyAndReturn | null +} /** * Session upsert */ -export type SessionUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null; - /** - * The filter to search for the Session to update in case it exists. - */ - where: Prisma.SessionWhereUniqueInput; - /** - * In case the Session found by the `where` argument doesn't exist, create a new Session with this data. - */ - create: Prisma.XOR; - /** - * In case the Session was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR; -}; +export type SessionUpsertArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelect | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionInclude | null + /** + * The filter to search for the Session to update in case it exists. + */ + where: Prisma.SessionWhereUniqueInput + /** + * In case the Session found by the `where` argument doesn't exist, create a new Session with this data. + */ + create: Prisma.XOR + /** + * In case the Session was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * Session delete */ -export type SessionDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null; - /** - * Filter which Session to delete. - */ - where: Prisma.SessionWhereUniqueInput; -}; +export type SessionDeleteArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelect | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionInclude | null + /** + * Filter which Session to delete. + */ + where: Prisma.SessionWhereUniqueInput +} /** * Session deleteMany */ -export type SessionDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Sessions to delete - */ - where?: Prisma.SessionWhereInput; - /** - * Limit how many Sessions to delete. - */ - limit?: number; -}; +export type SessionDeleteManyArgs = { + /** + * Filter which Sessions to delete + */ + where?: Prisma.SessionWhereInput + /** + * Limit how many Sessions to delete. + */ + limit?: number +} /** * Session without action */ -export type SessionDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null; -}; +export type SessionDefaultArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelect | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionInclude | null +} diff --git a/src/lib/generated/prisma/models/SolfeggioFrequency.ts b/src/lib/generated/prisma/models/SolfeggioFrequency.ts index 8046d4c..162192d 100644 --- a/src/lib/generated/prisma/models/SolfeggioFrequency.ts +++ b/src/lib/generated/prisma/models/SolfeggioFrequency.ts @@ -1,1043 +1,835 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `SolfeggioFrequency` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model SolfeggioFrequency - * + * */ -export type SolfeggioFrequencyModel = - runtime.Types.Result.DefaultSelection; +export type SolfeggioFrequencyModel = runtime.Types.Result.DefaultSelection export type AggregateSolfeggioFrequency = { - _count: SolfeggioFrequencyCountAggregateOutputType | null; - _avg: SolfeggioFrequencyAvgAggregateOutputType | null; - _sum: SolfeggioFrequencySumAggregateOutputType | null; - _min: SolfeggioFrequencyMinAggregateOutputType | null; - _max: SolfeggioFrequencyMaxAggregateOutputType | null; -}; + _count: SolfeggioFrequencyCountAggregateOutputType | null + _avg: SolfeggioFrequencyAvgAggregateOutputType | null + _sum: SolfeggioFrequencySumAggregateOutputType | null + _min: SolfeggioFrequencyMinAggregateOutputType | null + _max: SolfeggioFrequencyMaxAggregateOutputType | null +} export type SolfeggioFrequencyAvgAggregateOutputType = { - id: number | null; - value: number | null; -}; + id: number | null + value: number | null +} export type SolfeggioFrequencySumAggregateOutputType = { - id: number | null; - value: number | null; -}; + id: number | null + value: number | null +} export type SolfeggioFrequencyMinAggregateOutputType = { - id: number | null; - name: string | null; - value: number | null; -}; + id: number | null + name: string | null + value: number | null +} export type SolfeggioFrequencyMaxAggregateOutputType = { - id: number | null; - name: string | null; - value: number | null; -}; + id: number | null + name: string | null + value: number | null +} export type SolfeggioFrequencyCountAggregateOutputType = { - id: number; - name: number; - value: number; - _all: number; -}; + id: number + name: number + value: number + _all: number +} + export type SolfeggioFrequencyAvgAggregateInputType = { - id?: true; - value?: true; -}; + id?: true + value?: true +} export type SolfeggioFrequencySumAggregateInputType = { - id?: true; - value?: true; -}; + id?: true + value?: true +} export type SolfeggioFrequencyMinAggregateInputType = { - id?: true; - name?: true; - value?: true; -}; + id?: true + name?: true + value?: true +} export type SolfeggioFrequencyMaxAggregateInputType = { - id?: true; - name?: true; - value?: true; -}; + id?: true + name?: true + value?: true +} export type SolfeggioFrequencyCountAggregateInputType = { - id?: true; - name?: true; - value?: true; - _all?: true; -}; + id?: true + name?: true + value?: true + _all?: true +} -export type SolfeggioFrequencyAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which SolfeggioFrequency to aggregate. - */ - where?: Prisma.SolfeggioFrequencyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SolfeggioFrequencies to fetch. - */ - orderBy?: - | Prisma.SolfeggioFrequencyOrderByWithRelationInput - | Prisma.SolfeggioFrequencyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.SolfeggioFrequencyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SolfeggioFrequencies from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SolfeggioFrequencies. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned SolfeggioFrequencies - **/ - _count?: true | SolfeggioFrequencyCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: SolfeggioFrequencyAvgAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: SolfeggioFrequencySumAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: SolfeggioFrequencyMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: SolfeggioFrequencyMaxAggregateInputType; -}; +export type SolfeggioFrequencyAggregateArgs = { + /** + * Filter which SolfeggioFrequency to aggregate. + */ + where?: Prisma.SolfeggioFrequencyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of SolfeggioFrequencies to fetch. + */ + orderBy?: Prisma.SolfeggioFrequencyOrderByWithRelationInput | Prisma.SolfeggioFrequencyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.SolfeggioFrequencyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` SolfeggioFrequencies from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` SolfeggioFrequencies. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned SolfeggioFrequencies + **/ + _count?: true | SolfeggioFrequencyCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: SolfeggioFrequencyAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: SolfeggioFrequencySumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: SolfeggioFrequencyMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: SolfeggioFrequencyMaxAggregateInputType +} export type GetSolfeggioFrequencyAggregateType = { - [P in keyof T & keyof AggregateSolfeggioFrequency]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateSolfeggioFrequency]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type SolfeggioFrequencyGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.SolfeggioFrequencyWhereInput; - orderBy?: - | Prisma.SolfeggioFrequencyOrderByWithAggregationInput - | Prisma.SolfeggioFrequencyOrderByWithAggregationInput[]; - by: Prisma.SolfeggioFrequencyScalarFieldEnum[] | Prisma.SolfeggioFrequencyScalarFieldEnum; - having?: Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: SolfeggioFrequencyCountAggregateInputType | true; - _avg?: SolfeggioFrequencyAvgAggregateInputType; - _sum?: SolfeggioFrequencySumAggregateInputType; - _min?: SolfeggioFrequencyMinAggregateInputType; - _max?: SolfeggioFrequencyMaxAggregateInputType; -}; + + + +export type SolfeggioFrequencyGroupByArgs = { + where?: Prisma.SolfeggioFrequencyWhereInput + orderBy?: Prisma.SolfeggioFrequencyOrderByWithAggregationInput | Prisma.SolfeggioFrequencyOrderByWithAggregationInput[] + by: Prisma.SolfeggioFrequencyScalarFieldEnum[] | Prisma.SolfeggioFrequencyScalarFieldEnum + having?: Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: SolfeggioFrequencyCountAggregateInputType | true + _avg?: SolfeggioFrequencyAvgAggregateInputType + _sum?: SolfeggioFrequencySumAggregateInputType + _min?: SolfeggioFrequencyMinAggregateInputType + _max?: SolfeggioFrequencyMaxAggregateInputType +} export type SolfeggioFrequencyGroupByOutputType = { - id: number; - name: string; - value: number; - _count: SolfeggioFrequencyCountAggregateOutputType | null; - _avg: SolfeggioFrequencyAvgAggregateOutputType | null; - _sum: SolfeggioFrequencySumAggregateOutputType | null; - _min: SolfeggioFrequencyMinAggregateOutputType | null; - _max: SolfeggioFrequencyMaxAggregateOutputType | null; -}; + id: number + name: string + value: number + _count: SolfeggioFrequencyCountAggregateOutputType | null + _avg: SolfeggioFrequencyAvgAggregateOutputType | null + _sum: SolfeggioFrequencySumAggregateOutputType | null + _min: SolfeggioFrequencyMinAggregateOutputType | null + _max: SolfeggioFrequencyMaxAggregateOutputType | null +} + +export type GetSolfeggioFrequencyGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof SolfeggioFrequencyGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + -export type GetSolfeggioFrequencyGroupByPayload = - Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof SolfeggioFrequencyGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > - >; export type SolfeggioFrequencyWhereInput = { - AND?: Prisma.SolfeggioFrequencyWhereInput | Prisma.SolfeggioFrequencyWhereInput[]; - OR?: Prisma.SolfeggioFrequencyWhereInput[]; - NOT?: Prisma.SolfeggioFrequencyWhereInput | Prisma.SolfeggioFrequencyWhereInput[]; - id?: Prisma.IntFilter<'SolfeggioFrequency'> | number; - name?: Prisma.StringFilter<'SolfeggioFrequency'> | string; - value?: Prisma.IntFilter<'SolfeggioFrequency'> | number; - proclamations?: Prisma.ProclamationListRelationFilter; -}; + AND?: Prisma.SolfeggioFrequencyWhereInput | Prisma.SolfeggioFrequencyWhereInput[] + OR?: Prisma.SolfeggioFrequencyWhereInput[] + NOT?: Prisma.SolfeggioFrequencyWhereInput | Prisma.SolfeggioFrequencyWhereInput[] + id?: Prisma.IntFilter<"SolfeggioFrequency"> | number + name?: Prisma.StringFilter<"SolfeggioFrequency"> | string + value?: Prisma.IntFilter<"SolfeggioFrequency"> | number + proclamations?: Prisma.ProclamationListRelationFilter +} export type SolfeggioFrequencyOrderByWithRelationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - value?: Prisma.SortOrder; - proclamations?: Prisma.ProclamationOrderByRelationAggregateInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + value?: Prisma.SortOrder + proclamations?: Prisma.ProclamationOrderByRelationAggregateInput +} -export type SolfeggioFrequencyWhereUniqueInput = Prisma.AtLeast< - { - id?: number; - name?: string; - value?: number; - AND?: Prisma.SolfeggioFrequencyWhereInput | Prisma.SolfeggioFrequencyWhereInput[]; - OR?: Prisma.SolfeggioFrequencyWhereInput[]; - NOT?: Prisma.SolfeggioFrequencyWhereInput | Prisma.SolfeggioFrequencyWhereInput[]; - proclamations?: Prisma.ProclamationListRelationFilter; - }, - 'id' | 'name' | 'value' ->; +export type SolfeggioFrequencyWhereUniqueInput = Prisma.AtLeast<{ + id?: number + name?: string + value?: number + AND?: Prisma.SolfeggioFrequencyWhereInput | Prisma.SolfeggioFrequencyWhereInput[] + OR?: Prisma.SolfeggioFrequencyWhereInput[] + NOT?: Prisma.SolfeggioFrequencyWhereInput | Prisma.SolfeggioFrequencyWhereInput[] + proclamations?: Prisma.ProclamationListRelationFilter +}, "id" | "name" | "value"> export type SolfeggioFrequencyOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - value?: Prisma.SortOrder; - _count?: Prisma.SolfeggioFrequencyCountOrderByAggregateInput; - _avg?: Prisma.SolfeggioFrequencyAvgOrderByAggregateInput; - _max?: Prisma.SolfeggioFrequencyMaxOrderByAggregateInput; - _min?: Prisma.SolfeggioFrequencyMinOrderByAggregateInput; - _sum?: Prisma.SolfeggioFrequencySumOrderByAggregateInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + value?: Prisma.SortOrder + _count?: Prisma.SolfeggioFrequencyCountOrderByAggregateInput + _avg?: Prisma.SolfeggioFrequencyAvgOrderByAggregateInput + _max?: Prisma.SolfeggioFrequencyMaxOrderByAggregateInput + _min?: Prisma.SolfeggioFrequencyMinOrderByAggregateInput + _sum?: Prisma.SolfeggioFrequencySumOrderByAggregateInput +} export type SolfeggioFrequencyScalarWhereWithAggregatesInput = { - AND?: - | Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput - | Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput[]; - OR?: Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput - | Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput[]; - id?: Prisma.IntWithAggregatesFilter<'SolfeggioFrequency'> | number; - name?: Prisma.StringWithAggregatesFilter<'SolfeggioFrequency'> | string; - value?: Prisma.IntWithAggregatesFilter<'SolfeggioFrequency'> | number; -}; + AND?: Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput | Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput[] + OR?: Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput[] + NOT?: Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput | Prisma.SolfeggioFrequencyScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"SolfeggioFrequency"> | number + name?: Prisma.StringWithAggregatesFilter<"SolfeggioFrequency"> | string + value?: Prisma.IntWithAggregatesFilter<"SolfeggioFrequency"> | number +} export type SolfeggioFrequencyCreateInput = { - name: string; - value: number; - proclamations?: Prisma.ProclamationCreateNestedManyWithoutSolfeggioFrequencyInput; -}; + name: string + value: number + proclamations?: Prisma.ProclamationCreateNestedManyWithoutSolfeggioFrequencyInput +} export type SolfeggioFrequencyUncheckedCreateInput = { - id?: number; - name: string; - value: number; - proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutSolfeggioFrequencyInput; -}; + id?: number + name: string + value: number + proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutSolfeggioFrequencyInput +} export type SolfeggioFrequencyUpdateInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - value?: Prisma.IntFieldUpdateOperationsInput | number; - proclamations?: Prisma.ProclamationUpdateManyWithoutSolfeggioFrequencyNestedInput; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.IntFieldUpdateOperationsInput | number + proclamations?: Prisma.ProclamationUpdateManyWithoutSolfeggioFrequencyNestedInput +} export type SolfeggioFrequencyUncheckedUpdateInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - value?: Prisma.IntFieldUpdateOperationsInput | number; - proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutSolfeggioFrequencyNestedInput; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.IntFieldUpdateOperationsInput | number + proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutSolfeggioFrequencyNestedInput +} export type SolfeggioFrequencyCreateManyInput = { - id?: number; - name: string; - value: number; -}; + id?: number + name: string + value: number +} export type SolfeggioFrequencyUpdateManyMutationInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - value?: Prisma.IntFieldUpdateOperationsInput | number; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.IntFieldUpdateOperationsInput | number +} export type SolfeggioFrequencyUncheckedUpdateManyInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - value?: Prisma.IntFieldUpdateOperationsInput | number; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.IntFieldUpdateOperationsInput | number +} export type SolfeggioFrequencyScalarRelationFilter = { - is?: Prisma.SolfeggioFrequencyWhereInput; - isNot?: Prisma.SolfeggioFrequencyWhereInput; -}; + is?: Prisma.SolfeggioFrequencyWhereInput + isNot?: Prisma.SolfeggioFrequencyWhereInput +} export type SolfeggioFrequencyCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - value?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + value?: Prisma.SortOrder +} export type SolfeggioFrequencyAvgOrderByAggregateInput = { - id?: Prisma.SortOrder; - value?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + value?: Prisma.SortOrder +} export type SolfeggioFrequencyMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - value?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + value?: Prisma.SortOrder +} export type SolfeggioFrequencyMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - value?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + value?: Prisma.SortOrder +} export type SolfeggioFrequencySumOrderByAggregateInput = { - id?: Prisma.SortOrder; - value?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + value?: Prisma.SortOrder +} export type SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput = { - create?: Prisma.XOR< - Prisma.SolfeggioFrequencyCreateWithoutProclamationsInput, - Prisma.SolfeggioFrequencyUncheckedCreateWithoutProclamationsInput - >; - connectOrCreate?: Prisma.SolfeggioFrequencyCreateOrConnectWithoutProclamationsInput; - connect?: Prisma.SolfeggioFrequencyWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.SolfeggioFrequencyCreateOrConnectWithoutProclamationsInput + connect?: Prisma.SolfeggioFrequencyWhereUniqueInput +} export type SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput = { - create?: Prisma.XOR< - Prisma.SolfeggioFrequencyCreateWithoutProclamationsInput, - Prisma.SolfeggioFrequencyUncheckedCreateWithoutProclamationsInput - >; - connectOrCreate?: Prisma.SolfeggioFrequencyCreateOrConnectWithoutProclamationsInput; - upsert?: Prisma.SolfeggioFrequencyUpsertWithoutProclamationsInput; - connect?: Prisma.SolfeggioFrequencyWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.SolfeggioFrequencyUpdateToOneWithWhereWithoutProclamationsInput, - Prisma.SolfeggioFrequencyUpdateWithoutProclamationsInput - >, - Prisma.SolfeggioFrequencyUncheckedUpdateWithoutProclamationsInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.SolfeggioFrequencyCreateOrConnectWithoutProclamationsInput + upsert?: Prisma.SolfeggioFrequencyUpsertWithoutProclamationsInput + connect?: Prisma.SolfeggioFrequencyWhereUniqueInput + update?: Prisma.XOR, Prisma.SolfeggioFrequencyUncheckedUpdateWithoutProclamationsInput> +} export type SolfeggioFrequencyCreateWithoutProclamationsInput = { - name: string; - value: number; -}; + name: string + value: number +} export type SolfeggioFrequencyUncheckedCreateWithoutProclamationsInput = { - id?: number; - name: string; - value: number; -}; + id?: number + name: string + value: number +} export type SolfeggioFrequencyCreateOrConnectWithoutProclamationsInput = { - where: Prisma.SolfeggioFrequencyWhereUniqueInput; - create: Prisma.XOR< - Prisma.SolfeggioFrequencyCreateWithoutProclamationsInput, - Prisma.SolfeggioFrequencyUncheckedCreateWithoutProclamationsInput - >; -}; + where: Prisma.SolfeggioFrequencyWhereUniqueInput + create: Prisma.XOR +} export type SolfeggioFrequencyUpsertWithoutProclamationsInput = { - update: Prisma.XOR< - Prisma.SolfeggioFrequencyUpdateWithoutProclamationsInput, - Prisma.SolfeggioFrequencyUncheckedUpdateWithoutProclamationsInput - >; - create: Prisma.XOR< - Prisma.SolfeggioFrequencyCreateWithoutProclamationsInput, - Prisma.SolfeggioFrequencyUncheckedCreateWithoutProclamationsInput - >; - where?: Prisma.SolfeggioFrequencyWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.SolfeggioFrequencyWhereInput +} export type SolfeggioFrequencyUpdateToOneWithWhereWithoutProclamationsInput = { - where?: Prisma.SolfeggioFrequencyWhereInput; - data: Prisma.XOR< - Prisma.SolfeggioFrequencyUpdateWithoutProclamationsInput, - Prisma.SolfeggioFrequencyUncheckedUpdateWithoutProclamationsInput - >; -}; + where?: Prisma.SolfeggioFrequencyWhereInput + data: Prisma.XOR +} export type SolfeggioFrequencyUpdateWithoutProclamationsInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - value?: Prisma.IntFieldUpdateOperationsInput | number; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.IntFieldUpdateOperationsInput | number +} export type SolfeggioFrequencyUncheckedUpdateWithoutProclamationsInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - value?: Prisma.IntFieldUpdateOperationsInput | number; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.IntFieldUpdateOperationsInput | number +} + /** * Count Type SolfeggioFrequencyCountOutputType */ export type SolfeggioFrequencyCountOutputType = { - proclamations: number; -}; + proclamations: number +} -export type SolfeggioFrequencyCountOutputTypeSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - proclamations?: boolean | SolfeggioFrequencyCountOutputTypeCountProclamationsArgs; -}; +export type SolfeggioFrequencyCountOutputTypeSelect = { + proclamations?: boolean | SolfeggioFrequencyCountOutputTypeCountProclamationsArgs +} /** * SolfeggioFrequencyCountOutputType without action */ -export type SolfeggioFrequencyCountOutputTypeDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequencyCountOutputType - */ - select?: Prisma.SolfeggioFrequencyCountOutputTypeSelect | null; -}; +export type SolfeggioFrequencyCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequencyCountOutputType + */ + select?: Prisma.SolfeggioFrequencyCountOutputTypeSelect | null +} /** * SolfeggioFrequencyCountOutputType without action */ -export type SolfeggioFrequencyCountOutputTypeCountProclamationsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.ProclamationWhereInput; -}; +export type SolfeggioFrequencyCountOutputTypeCountProclamationsArgs = { + where?: Prisma.ProclamationWhereInput +} -export type SolfeggioFrequencySelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - value?: boolean; - proclamations?: boolean | Prisma.SolfeggioFrequency$proclamationsArgs; - _count?: boolean | Prisma.SolfeggioFrequencyCountOutputTypeDefaultArgs; - }, - ExtArgs['result']['solfeggioFrequency'] ->; -export type SolfeggioFrequencySelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - value?: boolean; - }, - ExtArgs['result']['solfeggioFrequency'] ->; +export type SolfeggioFrequencySelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + value?: boolean + proclamations?: boolean | Prisma.SolfeggioFrequency$proclamationsArgs + _count?: boolean | Prisma.SolfeggioFrequencyCountOutputTypeDefaultArgs +}, ExtArgs["result"]["solfeggioFrequency"]> -export type SolfeggioFrequencySelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - value?: boolean; - }, - ExtArgs['result']['solfeggioFrequency'] ->; +export type SolfeggioFrequencySelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + value?: boolean +}, ExtArgs["result"]["solfeggioFrequency"]> + +export type SolfeggioFrequencySelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + value?: boolean +}, ExtArgs["result"]["solfeggioFrequency"]> export type SolfeggioFrequencySelectScalar = { - id?: boolean; - name?: boolean; - value?: boolean; -}; + id?: boolean + name?: boolean + value?: boolean +} -export type SolfeggioFrequencyOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'id' | 'name' | 'value', - ExtArgs['result']['solfeggioFrequency'] ->; -export type SolfeggioFrequencyInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - proclamations?: boolean | Prisma.SolfeggioFrequency$proclamationsArgs; - _count?: boolean | Prisma.SolfeggioFrequencyCountOutputTypeDefaultArgs; -}; -export type SolfeggioFrequencyIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = {}; -export type SolfeggioFrequencyIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = {}; +export type SolfeggioFrequencyOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "value", ExtArgs["result"]["solfeggioFrequency"]> +export type SolfeggioFrequencyInclude = { + proclamations?: boolean | Prisma.SolfeggioFrequency$proclamationsArgs + _count?: boolean | Prisma.SolfeggioFrequencyCountOutputTypeDefaultArgs +} +export type SolfeggioFrequencyIncludeCreateManyAndReturn = {} +export type SolfeggioFrequencyIncludeUpdateManyAndReturn = {} -export type $SolfeggioFrequencyPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'SolfeggioFrequency'; - objects: { - proclamations: Prisma.$ProclamationPayload[]; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: number; - name: string; - value: number; - }, - ExtArgs['result']['solfeggioFrequency'] - >; - composites: {}; -}; +export type $SolfeggioFrequencyPayload = { + name: "SolfeggioFrequency" + objects: { + proclamations: Prisma.$ProclamationPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + name: string + value: number + }, ExtArgs["result"]["solfeggioFrequency"]> + composites: {} +} -export type SolfeggioFrequencyGetPayload< - S extends boolean | null | undefined | SolfeggioFrequencyDefaultArgs -> = runtime.Types.Result.GetResult; +export type SolfeggioFrequencyGetPayload = runtime.Types.Result.GetResult -export type SolfeggioFrequencyCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: SolfeggioFrequencyCountAggregateInputType | true; -}; +export type SolfeggioFrequencyCountArgs = + Omit & { + select?: SolfeggioFrequencyCountAggregateInputType | true + } -export interface SolfeggioFrequencyDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { - types: Prisma.TypeMap['model']['SolfeggioFrequency']; - meta: { name: 'SolfeggioFrequency' }; - }; - /** - * Find zero or one SolfeggioFrequency that matches the filter. - * @param {SolfeggioFrequencyFindUniqueArgs} args - Arguments to find a SolfeggioFrequency - * @example - * // Get one SolfeggioFrequency - * const solfeggioFrequency = await prisma.solfeggioFrequency.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SolfeggioFrequencyClient< - runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface SolfeggioFrequencyDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['SolfeggioFrequency'], meta: { name: 'SolfeggioFrequency' } } + /** + * Find zero or one SolfeggioFrequency that matches the filter. + * @param {SolfeggioFrequencyFindUniqueArgs} args - Arguments to find a SolfeggioFrequency + * @example + * // Get one SolfeggioFrequency + * const solfeggioFrequency = await prisma.solfeggioFrequency.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SolfeggioFrequencyClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one SolfeggioFrequency that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {SolfeggioFrequencyFindUniqueOrThrowArgs} args - Arguments to find a SolfeggioFrequency - * @example - * // Get one SolfeggioFrequency - * const solfeggioFrequency = await prisma.solfeggioFrequency.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SolfeggioFrequencyClient< - runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one SolfeggioFrequency that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {SolfeggioFrequencyFindUniqueOrThrowArgs} args - Arguments to find a SolfeggioFrequency + * @example + * // Get one SolfeggioFrequency + * const solfeggioFrequency = await prisma.solfeggioFrequency.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SolfeggioFrequencyClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first SolfeggioFrequency that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SolfeggioFrequencyFindFirstArgs} args - Arguments to find a SolfeggioFrequency - * @example - * // Get one SolfeggioFrequency - * const solfeggioFrequency = await prisma.solfeggioFrequency.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__SolfeggioFrequencyClient< - runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first SolfeggioFrequency that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SolfeggioFrequencyFindFirstArgs} args - Arguments to find a SolfeggioFrequency + * @example + * // Get one SolfeggioFrequency + * const solfeggioFrequency = await prisma.solfeggioFrequency.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SolfeggioFrequencyClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first SolfeggioFrequency that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SolfeggioFrequencyFindFirstOrThrowArgs} args - Arguments to find a SolfeggioFrequency - * @example - * // Get one SolfeggioFrequency - * const solfeggioFrequency = await prisma.solfeggioFrequency.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__SolfeggioFrequencyClient< - runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first SolfeggioFrequency that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SolfeggioFrequencyFindFirstOrThrowArgs} args - Arguments to find a SolfeggioFrequency + * @example + * // Get one SolfeggioFrequency + * const solfeggioFrequency = await prisma.solfeggioFrequency.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SolfeggioFrequencyClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more SolfeggioFrequencies that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SolfeggioFrequencyFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all SolfeggioFrequencies - * const solfeggioFrequencies = await prisma.solfeggioFrequency.findMany() - * - * // Get first 10 SolfeggioFrequencies - * const solfeggioFrequencies = await prisma.solfeggioFrequency.findMany({ take: 10 }) - * - * // Only select the `id` - * const solfeggioFrequencyWithIdOnly = await prisma.solfeggioFrequency.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more SolfeggioFrequencies that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SolfeggioFrequencyFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all SolfeggioFrequencies + * const solfeggioFrequencies = await prisma.solfeggioFrequency.findMany() + * + * // Get first 10 SolfeggioFrequencies + * const solfeggioFrequencies = await prisma.solfeggioFrequency.findMany({ take: 10 }) + * + * // Only select the `id` + * const solfeggioFrequencyWithIdOnly = await prisma.solfeggioFrequency.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a SolfeggioFrequency. - * @param {SolfeggioFrequencyCreateArgs} args - Arguments to create a SolfeggioFrequency. - * @example - * // Create one SolfeggioFrequency - * const SolfeggioFrequency = await prisma.solfeggioFrequency.create({ - * data: { - * // ... data to create a SolfeggioFrequency - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SolfeggioFrequencyClient< - runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'create', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a SolfeggioFrequency. + * @param {SolfeggioFrequencyCreateArgs} args - Arguments to create a SolfeggioFrequency. + * @example + * // Create one SolfeggioFrequency + * const SolfeggioFrequency = await prisma.solfeggioFrequency.create({ + * data: { + * // ... data to create a SolfeggioFrequency + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__SolfeggioFrequencyClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many SolfeggioFrequencies. - * @param {SolfeggioFrequencyCreateManyArgs} args - Arguments to create many SolfeggioFrequencies. - * @example - * // Create many SolfeggioFrequencies - * const solfeggioFrequency = await prisma.solfeggioFrequency.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many SolfeggioFrequencies. + * @param {SolfeggioFrequencyCreateManyArgs} args - Arguments to create many SolfeggioFrequencies. + * @example + * // Create many SolfeggioFrequencies + * const solfeggioFrequency = await prisma.solfeggioFrequency.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many SolfeggioFrequencies and returns the data saved in the database. - * @param {SolfeggioFrequencyCreateManyAndReturnArgs} args - Arguments to create many SolfeggioFrequencies. - * @example - * // Create many SolfeggioFrequencies - * const solfeggioFrequency = await prisma.solfeggioFrequency.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many SolfeggioFrequencies and only return the `id` - * const solfeggioFrequencyWithIdOnly = await prisma.solfeggioFrequency.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many SolfeggioFrequencies and returns the data saved in the database. + * @param {SolfeggioFrequencyCreateManyAndReturnArgs} args - Arguments to create many SolfeggioFrequencies. + * @example + * // Create many SolfeggioFrequencies + * const solfeggioFrequency = await prisma.solfeggioFrequency.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many SolfeggioFrequencies and only return the `id` + * const solfeggioFrequencyWithIdOnly = await prisma.solfeggioFrequency.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a SolfeggioFrequency. - * @param {SolfeggioFrequencyDeleteArgs} args - Arguments to delete one SolfeggioFrequency. - * @example - * // Delete one SolfeggioFrequency - * const SolfeggioFrequency = await prisma.solfeggioFrequency.delete({ - * where: { - * // ... filter to delete one SolfeggioFrequency - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SolfeggioFrequencyClient< - runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'delete', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a SolfeggioFrequency. + * @param {SolfeggioFrequencyDeleteArgs} args - Arguments to delete one SolfeggioFrequency. + * @example + * // Delete one SolfeggioFrequency + * const SolfeggioFrequency = await prisma.solfeggioFrequency.delete({ + * where: { + * // ... filter to delete one SolfeggioFrequency + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__SolfeggioFrequencyClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one SolfeggioFrequency. - * @param {SolfeggioFrequencyUpdateArgs} args - Arguments to update one SolfeggioFrequency. - * @example - * // Update one SolfeggioFrequency - * const solfeggioFrequency = await prisma.solfeggioFrequency.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SolfeggioFrequencyClient< - runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'update', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one SolfeggioFrequency. + * @param {SolfeggioFrequencyUpdateArgs} args - Arguments to update one SolfeggioFrequency. + * @example + * // Update one SolfeggioFrequency + * const solfeggioFrequency = await prisma.solfeggioFrequency.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__SolfeggioFrequencyClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more SolfeggioFrequencies. - * @param {SolfeggioFrequencyDeleteManyArgs} args - Arguments to filter SolfeggioFrequencies to delete. - * @example - * // Delete a few SolfeggioFrequencies - * const { count } = await prisma.solfeggioFrequency.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more SolfeggioFrequencies. + * @param {SolfeggioFrequencyDeleteManyArgs} args - Arguments to filter SolfeggioFrequencies to delete. + * @example + * // Delete a few SolfeggioFrequencies + * const { count } = await prisma.solfeggioFrequency.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more SolfeggioFrequencies. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SolfeggioFrequencyUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many SolfeggioFrequencies - * const solfeggioFrequency = await prisma.solfeggioFrequency.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more SolfeggioFrequencies. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SolfeggioFrequencyUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many SolfeggioFrequencies + * const solfeggioFrequency = await prisma.solfeggioFrequency.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more SolfeggioFrequencies and returns the data updated in the database. - * @param {SolfeggioFrequencyUpdateManyAndReturnArgs} args - Arguments to update many SolfeggioFrequencies. - * @example - * // Update many SolfeggioFrequencies - * const solfeggioFrequency = await prisma.solfeggioFrequency.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more SolfeggioFrequencies and only return the `id` - * const solfeggioFrequencyWithIdOnly = await prisma.solfeggioFrequency.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more SolfeggioFrequencies and returns the data updated in the database. + * @param {SolfeggioFrequencyUpdateManyAndReturnArgs} args - Arguments to update many SolfeggioFrequencies. + * @example + * // Update many SolfeggioFrequencies + * const solfeggioFrequency = await prisma.solfeggioFrequency.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more SolfeggioFrequencies and only return the `id` + * const solfeggioFrequencyWithIdOnly = await prisma.solfeggioFrequency.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one SolfeggioFrequency. - * @param {SolfeggioFrequencyUpsertArgs} args - Arguments to update or create a SolfeggioFrequency. - * @example - * // Update or create a SolfeggioFrequency - * const solfeggioFrequency = await prisma.solfeggioFrequency.upsert({ - * create: { - * // ... data to create a SolfeggioFrequency - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the SolfeggioFrequency we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SolfeggioFrequencyClient< - runtime.Types.Result.GetResult< - Prisma.$SolfeggioFrequencyPayload, - T, - 'upsert', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one SolfeggioFrequency. + * @param {SolfeggioFrequencyUpsertArgs} args - Arguments to update or create a SolfeggioFrequency. + * @example + * // Update or create a SolfeggioFrequency + * const solfeggioFrequency = await prisma.solfeggioFrequency.upsert({ + * create: { + * // ... data to create a SolfeggioFrequency + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the SolfeggioFrequency we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SolfeggioFrequencyClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of SolfeggioFrequencies. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SolfeggioFrequencyCountArgs} args - Arguments to filter SolfeggioFrequencies to count. - * @example - * // Count the number of SolfeggioFrequencies - * const count = await prisma.solfeggioFrequency.count({ - * where: { - * // ... the filter for the SolfeggioFrequencies we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a SolfeggioFrequency. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SolfeggioFrequencyAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of SolfeggioFrequencies. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SolfeggioFrequencyCountArgs} args - Arguments to filter SolfeggioFrequencies to count. + * @example + * // Count the number of SolfeggioFrequencies + * const count = await prisma.solfeggioFrequency.count({ + * where: { + * // ... the filter for the SolfeggioFrequencies we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by SolfeggioFrequency. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SolfeggioFrequencyGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends SolfeggioFrequencyGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: SolfeggioFrequencyGroupByArgs['orderBy'] } - : { orderBy?: SolfeggioFrequencyGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors - ? GetSolfeggioFrequencyGroupByPayload - : Prisma.PrismaPromise; - /** - * Fields of the SolfeggioFrequency model - */ - readonly fields: SolfeggioFrequencyFieldRefs; + /** + * Allows you to perform aggregations operations on a SolfeggioFrequency. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SolfeggioFrequencyAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by SolfeggioFrequency. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SolfeggioFrequencyGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends SolfeggioFrequencyGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: SolfeggioFrequencyGroupByArgs['orderBy'] } + : { orderBy?: SolfeggioFrequencyGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetSolfeggioFrequencyGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the SolfeggioFrequency model + */ +readonly fields: SolfeggioFrequencyFieldRefs; } /** @@ -1046,545 +838,471 @@ export interface SolfeggioFrequencyDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__SolfeggioFrequencyClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - proclamations = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'findMany', - GlobalOmitOptions - > - | Null - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__SolfeggioFrequencyClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + proclamations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the SolfeggioFrequency model */ export interface SolfeggioFrequencyFieldRefs { - readonly id: Prisma.FieldRef<'SolfeggioFrequency', 'Int'>; - readonly name: Prisma.FieldRef<'SolfeggioFrequency', 'String'>; - readonly value: Prisma.FieldRef<'SolfeggioFrequency', 'Int'>; + readonly id: Prisma.FieldRef<"SolfeggioFrequency", 'Int'> + readonly name: Prisma.FieldRef<"SolfeggioFrequency", 'String'> + readonly value: Prisma.FieldRef<"SolfeggioFrequency", 'Int'> } + // Custom InputTypes /** * SolfeggioFrequency findUnique */ -export type SolfeggioFrequencyFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelect | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SolfeggioFrequencyInclude | null; - /** - * Filter, which SolfeggioFrequency to fetch. - */ - where: Prisma.SolfeggioFrequencyWhereUniqueInput; -}; +export type SolfeggioFrequencyFindUniqueArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelect | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SolfeggioFrequencyInclude | null + /** + * Filter, which SolfeggioFrequency to fetch. + */ + where: Prisma.SolfeggioFrequencyWhereUniqueInput +} /** * SolfeggioFrequency findUniqueOrThrow */ -export type SolfeggioFrequencyFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelect | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SolfeggioFrequencyInclude | null; - /** - * Filter, which SolfeggioFrequency to fetch. - */ - where: Prisma.SolfeggioFrequencyWhereUniqueInput; -}; +export type SolfeggioFrequencyFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelect | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SolfeggioFrequencyInclude | null + /** + * Filter, which SolfeggioFrequency to fetch. + */ + where: Prisma.SolfeggioFrequencyWhereUniqueInput +} /** * SolfeggioFrequency findFirst */ -export type SolfeggioFrequencyFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelect | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SolfeggioFrequencyInclude | null; - /** - * Filter, which SolfeggioFrequency to fetch. - */ - where?: Prisma.SolfeggioFrequencyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SolfeggioFrequencies to fetch. - */ - orderBy?: - | Prisma.SolfeggioFrequencyOrderByWithRelationInput - | Prisma.SolfeggioFrequencyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for SolfeggioFrequencies. - */ - cursor?: Prisma.SolfeggioFrequencyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SolfeggioFrequencies from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SolfeggioFrequencies. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of SolfeggioFrequencies. - */ - distinct?: Prisma.SolfeggioFrequencyScalarFieldEnum | Prisma.SolfeggioFrequencyScalarFieldEnum[]; -}; +export type SolfeggioFrequencyFindFirstArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelect | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SolfeggioFrequencyInclude | null + /** + * Filter, which SolfeggioFrequency to fetch. + */ + where?: Prisma.SolfeggioFrequencyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of SolfeggioFrequencies to fetch. + */ + orderBy?: Prisma.SolfeggioFrequencyOrderByWithRelationInput | Prisma.SolfeggioFrequencyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for SolfeggioFrequencies. + */ + cursor?: Prisma.SolfeggioFrequencyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` SolfeggioFrequencies from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` SolfeggioFrequencies. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of SolfeggioFrequencies. + */ + distinct?: Prisma.SolfeggioFrequencyScalarFieldEnum | Prisma.SolfeggioFrequencyScalarFieldEnum[] +} /** * SolfeggioFrequency findFirstOrThrow */ -export type SolfeggioFrequencyFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelect | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SolfeggioFrequencyInclude | null; - /** - * Filter, which SolfeggioFrequency to fetch. - */ - where?: Prisma.SolfeggioFrequencyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SolfeggioFrequencies to fetch. - */ - orderBy?: - | Prisma.SolfeggioFrequencyOrderByWithRelationInput - | Prisma.SolfeggioFrequencyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for SolfeggioFrequencies. - */ - cursor?: Prisma.SolfeggioFrequencyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SolfeggioFrequencies from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SolfeggioFrequencies. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of SolfeggioFrequencies. - */ - distinct?: Prisma.SolfeggioFrequencyScalarFieldEnum | Prisma.SolfeggioFrequencyScalarFieldEnum[]; -}; +export type SolfeggioFrequencyFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelect | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SolfeggioFrequencyInclude | null + /** + * Filter, which SolfeggioFrequency to fetch. + */ + where?: Prisma.SolfeggioFrequencyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of SolfeggioFrequencies to fetch. + */ + orderBy?: Prisma.SolfeggioFrequencyOrderByWithRelationInput | Prisma.SolfeggioFrequencyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for SolfeggioFrequencies. + */ + cursor?: Prisma.SolfeggioFrequencyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` SolfeggioFrequencies from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` SolfeggioFrequencies. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of SolfeggioFrequencies. + */ + distinct?: Prisma.SolfeggioFrequencyScalarFieldEnum | Prisma.SolfeggioFrequencyScalarFieldEnum[] +} /** * SolfeggioFrequency findMany */ -export type SolfeggioFrequencyFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelect | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SolfeggioFrequencyInclude | null; - /** - * Filter, which SolfeggioFrequencies to fetch. - */ - where?: Prisma.SolfeggioFrequencyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SolfeggioFrequencies to fetch. - */ - orderBy?: - | Prisma.SolfeggioFrequencyOrderByWithRelationInput - | Prisma.SolfeggioFrequencyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing SolfeggioFrequencies. - */ - cursor?: Prisma.SolfeggioFrequencyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SolfeggioFrequencies from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SolfeggioFrequencies. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of SolfeggioFrequencies. - */ - distinct?: Prisma.SolfeggioFrequencyScalarFieldEnum | Prisma.SolfeggioFrequencyScalarFieldEnum[]; -}; +export type SolfeggioFrequencyFindManyArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelect | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SolfeggioFrequencyInclude | null + /** + * Filter, which SolfeggioFrequencies to fetch. + */ + where?: Prisma.SolfeggioFrequencyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of SolfeggioFrequencies to fetch. + */ + orderBy?: Prisma.SolfeggioFrequencyOrderByWithRelationInput | Prisma.SolfeggioFrequencyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing SolfeggioFrequencies. + */ + cursor?: Prisma.SolfeggioFrequencyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` SolfeggioFrequencies from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` SolfeggioFrequencies. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of SolfeggioFrequencies. + */ + distinct?: Prisma.SolfeggioFrequencyScalarFieldEnum | Prisma.SolfeggioFrequencyScalarFieldEnum[] +} /** * SolfeggioFrequency create */ -export type SolfeggioFrequencyCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelect | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SolfeggioFrequencyInclude | null; - /** - * The data needed to create a SolfeggioFrequency. - */ - data: Prisma.XOR< - Prisma.SolfeggioFrequencyCreateInput, - Prisma.SolfeggioFrequencyUncheckedCreateInput - >; -}; +export type SolfeggioFrequencyCreateArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelect | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SolfeggioFrequencyInclude | null + /** + * The data needed to create a SolfeggioFrequency. + */ + data: Prisma.XOR +} /** * SolfeggioFrequency createMany */ -export type SolfeggioFrequencyCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many SolfeggioFrequencies. - */ - data: Prisma.SolfeggioFrequencyCreateManyInput | Prisma.SolfeggioFrequencyCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type SolfeggioFrequencyCreateManyArgs = { + /** + * The data used to create many SolfeggioFrequencies. + */ + data: Prisma.SolfeggioFrequencyCreateManyInput | Prisma.SolfeggioFrequencyCreateManyInput[] + skipDuplicates?: boolean +} /** * SolfeggioFrequency createManyAndReturn */ -export type SolfeggioFrequencyCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelectCreateManyAndReturn | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * The data used to create many SolfeggioFrequencies. - */ - data: Prisma.SolfeggioFrequencyCreateManyInput | Prisma.SolfeggioFrequencyCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type SolfeggioFrequencyCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelectCreateManyAndReturn | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * The data used to create many SolfeggioFrequencies. + */ + data: Prisma.SolfeggioFrequencyCreateManyInput | Prisma.SolfeggioFrequencyCreateManyInput[] + skipDuplicates?: boolean +} /** * SolfeggioFrequency update */ -export type SolfeggioFrequencyUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelect | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SolfeggioFrequencyInclude | null; - /** - * The data needed to update a SolfeggioFrequency. - */ - data: Prisma.XOR< - Prisma.SolfeggioFrequencyUpdateInput, - Prisma.SolfeggioFrequencyUncheckedUpdateInput - >; - /** - * Choose, which SolfeggioFrequency to update. - */ - where: Prisma.SolfeggioFrequencyWhereUniqueInput; -}; +export type SolfeggioFrequencyUpdateArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelect | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SolfeggioFrequencyInclude | null + /** + * The data needed to update a SolfeggioFrequency. + */ + data: Prisma.XOR + /** + * Choose, which SolfeggioFrequency to update. + */ + where: Prisma.SolfeggioFrequencyWhereUniqueInput +} /** * SolfeggioFrequency updateMany */ -export type SolfeggioFrequencyUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update SolfeggioFrequencies. - */ - data: Prisma.XOR< - Prisma.SolfeggioFrequencyUpdateManyMutationInput, - Prisma.SolfeggioFrequencyUncheckedUpdateManyInput - >; - /** - * Filter which SolfeggioFrequencies to update - */ - where?: Prisma.SolfeggioFrequencyWhereInput; - /** - * Limit how many SolfeggioFrequencies to update. - */ - limit?: number; -}; +export type SolfeggioFrequencyUpdateManyArgs = { + /** + * The data used to update SolfeggioFrequencies. + */ + data: Prisma.XOR + /** + * Filter which SolfeggioFrequencies to update + */ + where?: Prisma.SolfeggioFrequencyWhereInput + /** + * Limit how many SolfeggioFrequencies to update. + */ + limit?: number +} /** * SolfeggioFrequency updateManyAndReturn */ -export type SolfeggioFrequencyUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * The data used to update SolfeggioFrequencies. - */ - data: Prisma.XOR< - Prisma.SolfeggioFrequencyUpdateManyMutationInput, - Prisma.SolfeggioFrequencyUncheckedUpdateManyInput - >; - /** - * Filter which SolfeggioFrequencies to update - */ - where?: Prisma.SolfeggioFrequencyWhereInput; - /** - * Limit how many SolfeggioFrequencies to update. - */ - limit?: number; -}; +export type SolfeggioFrequencyUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelectUpdateManyAndReturn | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * The data used to update SolfeggioFrequencies. + */ + data: Prisma.XOR + /** + * Filter which SolfeggioFrequencies to update + */ + where?: Prisma.SolfeggioFrequencyWhereInput + /** + * Limit how many SolfeggioFrequencies to update. + */ + limit?: number +} /** * SolfeggioFrequency upsert */ -export type SolfeggioFrequencyUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelect | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SolfeggioFrequencyInclude | null; - /** - * The filter to search for the SolfeggioFrequency to update in case it exists. - */ - where: Prisma.SolfeggioFrequencyWhereUniqueInput; - /** - * In case the SolfeggioFrequency found by the `where` argument doesn't exist, create a new SolfeggioFrequency with this data. - */ - create: Prisma.XOR< - Prisma.SolfeggioFrequencyCreateInput, - Prisma.SolfeggioFrequencyUncheckedCreateInput - >; - /** - * In case the SolfeggioFrequency was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR< - Prisma.SolfeggioFrequencyUpdateInput, - Prisma.SolfeggioFrequencyUncheckedUpdateInput - >; -}; +export type SolfeggioFrequencyUpsertArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelect | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SolfeggioFrequencyInclude | null + /** + * The filter to search for the SolfeggioFrequency to update in case it exists. + */ + where: Prisma.SolfeggioFrequencyWhereUniqueInput + /** + * In case the SolfeggioFrequency found by the `where` argument doesn't exist, create a new SolfeggioFrequency with this data. + */ + create: Prisma.XOR + /** + * In case the SolfeggioFrequency was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * SolfeggioFrequency delete */ -export type SolfeggioFrequencyDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelect | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SolfeggioFrequencyInclude | null; - /** - * Filter which SolfeggioFrequency to delete. - */ - where: Prisma.SolfeggioFrequencyWhereUniqueInput; -}; +export type SolfeggioFrequencyDeleteArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelect | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SolfeggioFrequencyInclude | null + /** + * Filter which SolfeggioFrequency to delete. + */ + where: Prisma.SolfeggioFrequencyWhereUniqueInput +} /** * SolfeggioFrequency deleteMany */ -export type SolfeggioFrequencyDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which SolfeggioFrequencies to delete - */ - where?: Prisma.SolfeggioFrequencyWhereInput; - /** - * Limit how many SolfeggioFrequencies to delete. - */ - limit?: number; -}; +export type SolfeggioFrequencyDeleteManyArgs = { + /** + * Filter which SolfeggioFrequencies to delete + */ + where?: Prisma.SolfeggioFrequencyWhereInput + /** + * Limit how many SolfeggioFrequencies to delete. + */ + limit?: number +} /** * SolfeggioFrequency.proclamations */ -export type SolfeggioFrequency$proclamationsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - where?: Prisma.ProclamationWhereInput; - orderBy?: - | Prisma.ProclamationOrderByWithRelationInput - | Prisma.ProclamationOrderByWithRelationInput[]; - cursor?: Prisma.ProclamationWhereUniqueInput; - take?: number; - skip?: number; - distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[]; -}; +export type SolfeggioFrequency$proclamationsArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + where?: Prisma.ProclamationWhereInput + orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[] + cursor?: Prisma.ProclamationWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[] +} /** * SolfeggioFrequency without action */ -export type SolfeggioFrequencyDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SolfeggioFrequency - */ - select?: Prisma.SolfeggioFrequencySelect | null; - /** - * Omit specific fields from the SolfeggioFrequency - */ - omit?: Prisma.SolfeggioFrequencyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SolfeggioFrequencyInclude | null; -}; +export type SolfeggioFrequencyDefaultArgs = { + /** + * Select specific fields to fetch from the SolfeggioFrequency + */ + select?: Prisma.SolfeggioFrequencySelect | null + /** + * Omit specific fields from the SolfeggioFrequency + */ + omit?: Prisma.SolfeggioFrequencyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SolfeggioFrequencyInclude | null +} diff --git a/src/lib/generated/prisma/models/SubscriptionLevel.ts b/src/lib/generated/prisma/models/SubscriptionLevel.ts index ec53437..4e7c6aa 100644 --- a/src/lib/generated/prisma/models/SubscriptionLevel.ts +++ b/src/lib/generated/prisma/models/SubscriptionLevel.ts @@ -1,1037 +1,908 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `SubscriptionLevel` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model SubscriptionLevel - * + * */ -export type SubscriptionLevelModel = - runtime.Types.Result.DefaultSelection; +export type SubscriptionLevelModel = runtime.Types.Result.DefaultSelection export type AggregateSubscriptionLevel = { - _count: SubscriptionLevelCountAggregateOutputType | null; - _avg: SubscriptionLevelAvgAggregateOutputType | null; - _sum: SubscriptionLevelSumAggregateOutputType | null; - _min: SubscriptionLevelMinAggregateOutputType | null; - _max: SubscriptionLevelMaxAggregateOutputType | null; -}; + _count: SubscriptionLevelCountAggregateOutputType | null + _avg: SubscriptionLevelAvgAggregateOutputType | null + _sum: SubscriptionLevelSumAggregateOutputType | null + _min: SubscriptionLevelMinAggregateOutputType | null + _max: SubscriptionLevelMaxAggregateOutputType | null +} export type SubscriptionLevelAvgAggregateOutputType = { - id: number | null; -}; + id: number | null +} export type SubscriptionLevelSumAggregateOutputType = { - id: number | null; -}; + id: number | null +} export type SubscriptionLevelMinAggregateOutputType = { - id: number | null; - name: string | null; - description: string | null; -}; + id: number | null + name: string | null + description: string | null +} export type SubscriptionLevelMaxAggregateOutputType = { - id: number | null; - name: string | null; - description: string | null; -}; + id: number | null + name: string | null + description: string | null +} export type SubscriptionLevelCountAggregateOutputType = { - id: number; - name: number; - description: number; - _all: number; -}; + id: number + name: number + description: number + _all: number +} + export type SubscriptionLevelAvgAggregateInputType = { - id?: true; -}; + id?: true +} export type SubscriptionLevelSumAggregateInputType = { - id?: true; -}; + id?: true +} export type SubscriptionLevelMinAggregateInputType = { - id?: true; - name?: true; - description?: true; -}; + id?: true + name?: true + description?: true +} export type SubscriptionLevelMaxAggregateInputType = { - id?: true; - name?: true; - description?: true; -}; + id?: true + name?: true + description?: true +} export type SubscriptionLevelCountAggregateInputType = { - id?: true; - name?: true; - description?: true; - _all?: true; -}; + id?: true + name?: true + description?: true + _all?: true +} -export type SubscriptionLevelAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which SubscriptionLevel to aggregate. - */ - where?: Prisma.SubscriptionLevelWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SubscriptionLevels to fetch. - */ - orderBy?: - | Prisma.SubscriptionLevelOrderByWithRelationInput - | Prisma.SubscriptionLevelOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.SubscriptionLevelWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SubscriptionLevels from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SubscriptionLevels. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned SubscriptionLevels - **/ - _count?: true | SubscriptionLevelCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: SubscriptionLevelAvgAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: SubscriptionLevelSumAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: SubscriptionLevelMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: SubscriptionLevelMaxAggregateInputType; -}; +export type SubscriptionLevelAggregateArgs = { + /** + * Filter which SubscriptionLevel to aggregate. + */ + where?: Prisma.SubscriptionLevelWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of SubscriptionLevels to fetch. + */ + orderBy?: Prisma.SubscriptionLevelOrderByWithRelationInput | Prisma.SubscriptionLevelOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.SubscriptionLevelWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` SubscriptionLevels from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` SubscriptionLevels. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned SubscriptionLevels + **/ + _count?: true | SubscriptionLevelCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: SubscriptionLevelAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: SubscriptionLevelSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: SubscriptionLevelMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: SubscriptionLevelMaxAggregateInputType +} export type GetSubscriptionLevelAggregateType = { - [P in keyof T & keyof AggregateSubscriptionLevel]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateSubscriptionLevel]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type SubscriptionLevelGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.SubscriptionLevelWhereInput; - orderBy?: - | Prisma.SubscriptionLevelOrderByWithAggregationInput - | Prisma.SubscriptionLevelOrderByWithAggregationInput[]; - by: Prisma.SubscriptionLevelScalarFieldEnum[] | Prisma.SubscriptionLevelScalarFieldEnum; - having?: Prisma.SubscriptionLevelScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: SubscriptionLevelCountAggregateInputType | true; - _avg?: SubscriptionLevelAvgAggregateInputType; - _sum?: SubscriptionLevelSumAggregateInputType; - _min?: SubscriptionLevelMinAggregateInputType; - _max?: SubscriptionLevelMaxAggregateInputType; -}; + + + +export type SubscriptionLevelGroupByArgs = { + where?: Prisma.SubscriptionLevelWhereInput + orderBy?: Prisma.SubscriptionLevelOrderByWithAggregationInput | Prisma.SubscriptionLevelOrderByWithAggregationInput[] + by: Prisma.SubscriptionLevelScalarFieldEnum[] | Prisma.SubscriptionLevelScalarFieldEnum + having?: Prisma.SubscriptionLevelScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: SubscriptionLevelCountAggregateInputType | true + _avg?: SubscriptionLevelAvgAggregateInputType + _sum?: SubscriptionLevelSumAggregateInputType + _min?: SubscriptionLevelMinAggregateInputType + _max?: SubscriptionLevelMaxAggregateInputType +} export type SubscriptionLevelGroupByOutputType = { - id: number; - name: string; - description: string | null; - _count: SubscriptionLevelCountAggregateOutputType | null; - _avg: SubscriptionLevelAvgAggregateOutputType | null; - _sum: SubscriptionLevelSumAggregateOutputType | null; - _min: SubscriptionLevelMinAggregateOutputType | null; - _max: SubscriptionLevelMaxAggregateOutputType | null; -}; + id: number + name: string + description: string | null + _count: SubscriptionLevelCountAggregateOutputType | null + _avg: SubscriptionLevelAvgAggregateOutputType | null + _sum: SubscriptionLevelSumAggregateOutputType | null + _min: SubscriptionLevelMinAggregateOutputType | null + _max: SubscriptionLevelMaxAggregateOutputType | null +} + +export type GetSubscriptionLevelGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof SubscriptionLevelGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + -export type GetSubscriptionLevelGroupByPayload = - Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof SubscriptionLevelGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > - >; export type SubscriptionLevelWhereInput = { - AND?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[]; - OR?: Prisma.SubscriptionLevelWhereInput[]; - NOT?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[]; - id?: Prisma.IntFilter<'SubscriptionLevel'> | number; - name?: Prisma.StringFilter<'SubscriptionLevel'> | string; - description?: Prisma.StringNullableFilter<'SubscriptionLevel'> | string | null; - proclamations?: Prisma.ProclamationListRelationFilter; -}; + AND?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[] + OR?: Prisma.SubscriptionLevelWhereInput[] + NOT?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[] + id?: Prisma.IntFilter<"SubscriptionLevel"> | number + name?: Prisma.StringFilter<"SubscriptionLevel"> | string + description?: Prisma.StringNullableFilter<"SubscriptionLevel"> | string | null + proclamations?: Prisma.ProclamationListRelationFilter + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelListRelationFilter +} export type SubscriptionLevelOrderByWithRelationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - description?: Prisma.SortOrderInput | Prisma.SortOrder; - proclamations?: Prisma.ProclamationOrderByRelationAggregateInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + proclamations?: Prisma.ProclamationOrderByRelationAggregateInput + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelOrderByRelationAggregateInput +} -export type SubscriptionLevelWhereUniqueInput = Prisma.AtLeast< - { - id?: number; - AND?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[]; - OR?: Prisma.SubscriptionLevelWhereInput[]; - NOT?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[]; - name?: Prisma.StringFilter<'SubscriptionLevel'> | string; - description?: Prisma.StringNullableFilter<'SubscriptionLevel'> | string | null; - proclamations?: Prisma.ProclamationListRelationFilter; - }, - 'id' ->; +export type SubscriptionLevelWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[] + OR?: Prisma.SubscriptionLevelWhereInput[] + NOT?: Prisma.SubscriptionLevelWhereInput | Prisma.SubscriptionLevelWhereInput[] + name?: Prisma.StringFilter<"SubscriptionLevel"> | string + description?: Prisma.StringNullableFilter<"SubscriptionLevel"> | string | null + proclamations?: Prisma.ProclamationListRelationFilter + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelListRelationFilter +}, "id"> export type SubscriptionLevelOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - description?: Prisma.SortOrderInput | Prisma.SortOrder; - _count?: Prisma.SubscriptionLevelCountOrderByAggregateInput; - _avg?: Prisma.SubscriptionLevelAvgOrderByAggregateInput; - _max?: Prisma.SubscriptionLevelMaxOrderByAggregateInput; - _min?: Prisma.SubscriptionLevelMinOrderByAggregateInput; - _sum?: Prisma.SubscriptionLevelSumOrderByAggregateInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.SubscriptionLevelCountOrderByAggregateInput + _avg?: Prisma.SubscriptionLevelAvgOrderByAggregateInput + _max?: Prisma.SubscriptionLevelMaxOrderByAggregateInput + _min?: Prisma.SubscriptionLevelMinOrderByAggregateInput + _sum?: Prisma.SubscriptionLevelSumOrderByAggregateInput +} export type SubscriptionLevelScalarWhereWithAggregatesInput = { - AND?: - | Prisma.SubscriptionLevelScalarWhereWithAggregatesInput - | Prisma.SubscriptionLevelScalarWhereWithAggregatesInput[]; - OR?: Prisma.SubscriptionLevelScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.SubscriptionLevelScalarWhereWithAggregatesInput - | Prisma.SubscriptionLevelScalarWhereWithAggregatesInput[]; - id?: Prisma.IntWithAggregatesFilter<'SubscriptionLevel'> | number; - name?: Prisma.StringWithAggregatesFilter<'SubscriptionLevel'> | string; - description?: Prisma.StringNullableWithAggregatesFilter<'SubscriptionLevel'> | string | null; -}; + AND?: Prisma.SubscriptionLevelScalarWhereWithAggregatesInput | Prisma.SubscriptionLevelScalarWhereWithAggregatesInput[] + OR?: Prisma.SubscriptionLevelScalarWhereWithAggregatesInput[] + NOT?: Prisma.SubscriptionLevelScalarWhereWithAggregatesInput | Prisma.SubscriptionLevelScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"SubscriptionLevel"> | number + name?: Prisma.StringWithAggregatesFilter<"SubscriptionLevel"> | string + description?: Prisma.StringNullableWithAggregatesFilter<"SubscriptionLevel"> | string | null +} export type SubscriptionLevelCreateInput = { - name: string; - description?: string | null; - proclamations?: Prisma.ProclamationCreateNestedManyWithoutSubscriptionLevelInput; -}; + name: string + description?: string | null + proclamations?: Prisma.ProclamationCreateNestedManyWithoutSubscriptionLevelInput + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutSubscriptionLevelInput +} export type SubscriptionLevelUncheckedCreateInput = { - id?: number; - name: string; - description?: string | null; - proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutSubscriptionLevelInput; -}; + id?: number + name: string + description?: string | null + proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutSubscriptionLevelInput + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutSubscriptionLevelInput +} export type SubscriptionLevelUpdateInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - proclamations?: Prisma.ProclamationUpdateManyWithoutSubscriptionLevelNestedInput; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + proclamations?: Prisma.ProclamationUpdateManyWithoutSubscriptionLevelNestedInput + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutSubscriptionLevelNestedInput +} export type SubscriptionLevelUncheckedUpdateInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutSubscriptionLevelNestedInput; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutSubscriptionLevelNestedInput + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutSubscriptionLevelNestedInput +} export type SubscriptionLevelCreateManyInput = { - id?: number; - name: string; - description?: string | null; -}; + id?: number + name: string + description?: string | null +} export type SubscriptionLevelUpdateManyMutationInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} export type SubscriptionLevelUncheckedUpdateManyInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} export type SubscriptionLevelScalarRelationFilter = { - is?: Prisma.SubscriptionLevelWhereInput; - isNot?: Prisma.SubscriptionLevelWhereInput; -}; + is?: Prisma.SubscriptionLevelWhereInput + isNot?: Prisma.SubscriptionLevelWhereInput +} export type SubscriptionLevelCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - description?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder +} export type SubscriptionLevelAvgOrderByAggregateInput = { - id?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder +} export type SubscriptionLevelMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - description?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder +} export type SubscriptionLevelMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - description?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder +} export type SubscriptionLevelSumOrderByAggregateInput = { - id?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder +} export type SubscriptionLevelCreateNestedOneWithoutProclamationsInput = { - create?: Prisma.XOR< - Prisma.SubscriptionLevelCreateWithoutProclamationsInput, - Prisma.SubscriptionLevelUncheckedCreateWithoutProclamationsInput - >; - connectOrCreate?: Prisma.SubscriptionLevelCreateOrConnectWithoutProclamationsInput; - connect?: Prisma.SubscriptionLevelWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.SubscriptionLevelCreateOrConnectWithoutProclamationsInput + connect?: Prisma.SubscriptionLevelWhereUniqueInput +} export type SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput = { - create?: Prisma.XOR< - Prisma.SubscriptionLevelCreateWithoutProclamationsInput, - Prisma.SubscriptionLevelUncheckedCreateWithoutProclamationsInput - >; - connectOrCreate?: Prisma.SubscriptionLevelCreateOrConnectWithoutProclamationsInput; - upsert?: Prisma.SubscriptionLevelUpsertWithoutProclamationsInput; - connect?: Prisma.SubscriptionLevelWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.SubscriptionLevelUpdateToOneWithWhereWithoutProclamationsInput, - Prisma.SubscriptionLevelUpdateWithoutProclamationsInput - >, - Prisma.SubscriptionLevelUncheckedUpdateWithoutProclamationsInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.SubscriptionLevelCreateOrConnectWithoutProclamationsInput + upsert?: Prisma.SubscriptionLevelUpsertWithoutProclamationsInput + connect?: Prisma.SubscriptionLevelWhereUniqueInput + update?: Prisma.XOR, Prisma.SubscriptionLevelUncheckedUpdateWithoutProclamationsInput> +} + +export type SubscriptionLevelCreateNestedOneWithoutCategoryLevelsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.SubscriptionLevelCreateOrConnectWithoutCategoryLevelsInput + connect?: Prisma.SubscriptionLevelWhereUniqueInput +} + +export type SubscriptionLevelUpdateOneRequiredWithoutCategoryLevelsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.SubscriptionLevelCreateOrConnectWithoutCategoryLevelsInput + upsert?: Prisma.SubscriptionLevelUpsertWithoutCategoryLevelsInput + connect?: Prisma.SubscriptionLevelWhereUniqueInput + update?: Prisma.XOR, Prisma.SubscriptionLevelUncheckedUpdateWithoutCategoryLevelsInput> +} export type SubscriptionLevelCreateWithoutProclamationsInput = { - name: string; - description?: string | null; -}; + name: string + description?: string | null + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutSubscriptionLevelInput +} export type SubscriptionLevelUncheckedCreateWithoutProclamationsInput = { - id?: number; - name: string; - description?: string | null; -}; + id?: number + name: string + description?: string | null + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutSubscriptionLevelInput +} export type SubscriptionLevelCreateOrConnectWithoutProclamationsInput = { - where: Prisma.SubscriptionLevelWhereUniqueInput; - create: Prisma.XOR< - Prisma.SubscriptionLevelCreateWithoutProclamationsInput, - Prisma.SubscriptionLevelUncheckedCreateWithoutProclamationsInput - >; -}; + where: Prisma.SubscriptionLevelWhereUniqueInput + create: Prisma.XOR +} export type SubscriptionLevelUpsertWithoutProclamationsInput = { - update: Prisma.XOR< - Prisma.SubscriptionLevelUpdateWithoutProclamationsInput, - Prisma.SubscriptionLevelUncheckedUpdateWithoutProclamationsInput - >; - create: Prisma.XOR< - Prisma.SubscriptionLevelCreateWithoutProclamationsInput, - Prisma.SubscriptionLevelUncheckedCreateWithoutProclamationsInput - >; - where?: Prisma.SubscriptionLevelWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.SubscriptionLevelWhereInput +} export type SubscriptionLevelUpdateToOneWithWhereWithoutProclamationsInput = { - where?: Prisma.SubscriptionLevelWhereInput; - data: Prisma.XOR< - Prisma.SubscriptionLevelUpdateWithoutProclamationsInput, - Prisma.SubscriptionLevelUncheckedUpdateWithoutProclamationsInput - >; -}; + where?: Prisma.SubscriptionLevelWhereInput + data: Prisma.XOR +} export type SubscriptionLevelUpdateWithoutProclamationsInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutSubscriptionLevelNestedInput +} export type SubscriptionLevelUncheckedUpdateWithoutProclamationsInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutSubscriptionLevelNestedInput +} + +export type SubscriptionLevelCreateWithoutCategoryLevelsInput = { + name: string + description?: string | null + proclamations?: Prisma.ProclamationCreateNestedManyWithoutSubscriptionLevelInput +} + +export type SubscriptionLevelUncheckedCreateWithoutCategoryLevelsInput = { + id?: number + name: string + description?: string | null + proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutSubscriptionLevelInput +} + +export type SubscriptionLevelCreateOrConnectWithoutCategoryLevelsInput = { + where: Prisma.SubscriptionLevelWhereUniqueInput + create: Prisma.XOR +} + +export type SubscriptionLevelUpsertWithoutCategoryLevelsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.SubscriptionLevelWhereInput +} + +export type SubscriptionLevelUpdateToOneWithWhereWithoutCategoryLevelsInput = { + where?: Prisma.SubscriptionLevelWhereInput + data: Prisma.XOR +} + +export type SubscriptionLevelUpdateWithoutCategoryLevelsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + proclamations?: Prisma.ProclamationUpdateManyWithoutSubscriptionLevelNestedInput +} + +export type SubscriptionLevelUncheckedUpdateWithoutCategoryLevelsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutSubscriptionLevelNestedInput +} + /** * Count Type SubscriptionLevelCountOutputType */ export type SubscriptionLevelCountOutputType = { - proclamations: number; -}; + proclamations: number + categoryLevels: number +} -export type SubscriptionLevelCountOutputTypeSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - proclamations?: boolean | SubscriptionLevelCountOutputTypeCountProclamationsArgs; -}; +export type SubscriptionLevelCountOutputTypeSelect = { + proclamations?: boolean | SubscriptionLevelCountOutputTypeCountProclamationsArgs + categoryLevels?: boolean | SubscriptionLevelCountOutputTypeCountCategoryLevelsArgs +} /** * SubscriptionLevelCountOutputType without action */ -export type SubscriptionLevelCountOutputTypeDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevelCountOutputType - */ - select?: Prisma.SubscriptionLevelCountOutputTypeSelect | null; -}; +export type SubscriptionLevelCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevelCountOutputType + */ + select?: Prisma.SubscriptionLevelCountOutputTypeSelect | null +} /** * SubscriptionLevelCountOutputType without action */ -export type SubscriptionLevelCountOutputTypeCountProclamationsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.ProclamationWhereInput; -}; +export type SubscriptionLevelCountOutputTypeCountProclamationsArgs = { + where?: Prisma.ProclamationWhereInput +} -export type SubscriptionLevelSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - description?: boolean; - proclamations?: boolean | Prisma.SubscriptionLevel$proclamationsArgs; - _count?: boolean | Prisma.SubscriptionLevelCountOutputTypeDefaultArgs; - }, - ExtArgs['result']['subscriptionLevel'] ->; +/** + * SubscriptionLevelCountOutputType without action + */ +export type SubscriptionLevelCountOutputTypeCountCategoryLevelsArgs = { + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput +} -export type SubscriptionLevelSelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - description?: boolean; - }, - ExtArgs['result']['subscriptionLevel'] ->; -export type SubscriptionLevelSelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - description?: boolean; - }, - ExtArgs['result']['subscriptionLevel'] ->; +export type SubscriptionLevelSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean + proclamations?: boolean | Prisma.SubscriptionLevel$proclamationsArgs + categoryLevels?: boolean | Prisma.SubscriptionLevel$categoryLevelsArgs + _count?: boolean | Prisma.SubscriptionLevelCountOutputTypeDefaultArgs +}, ExtArgs["result"]["subscriptionLevel"]> + +export type SubscriptionLevelSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean +}, ExtArgs["result"]["subscriptionLevel"]> + +export type SubscriptionLevelSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean +}, ExtArgs["result"]["subscriptionLevel"]> export type SubscriptionLevelSelectScalar = { - id?: boolean; - name?: boolean; - description?: boolean; -}; + id?: boolean + name?: boolean + description?: boolean +} -export type SubscriptionLevelOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'id' | 'name' | 'description', - ExtArgs['result']['subscriptionLevel'] ->; -export type SubscriptionLevelInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - proclamations?: boolean | Prisma.SubscriptionLevel$proclamationsArgs; - _count?: boolean | Prisma.SubscriptionLevelCountOutputTypeDefaultArgs; -}; -export type SubscriptionLevelIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = {}; -export type SubscriptionLevelIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = {}; +export type SubscriptionLevelOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "description", ExtArgs["result"]["subscriptionLevel"]> +export type SubscriptionLevelInclude = { + proclamations?: boolean | Prisma.SubscriptionLevel$proclamationsArgs + categoryLevels?: boolean | Prisma.SubscriptionLevel$categoryLevelsArgs + _count?: boolean | Prisma.SubscriptionLevelCountOutputTypeDefaultArgs +} +export type SubscriptionLevelIncludeCreateManyAndReturn = {} +export type SubscriptionLevelIncludeUpdateManyAndReturn = {} -export type $SubscriptionLevelPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'SubscriptionLevel'; - objects: { - proclamations: Prisma.$ProclamationPayload[]; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: number; - name: string; - description: string | null; - }, - ExtArgs['result']['subscriptionLevel'] - >; - composites: {}; -}; +export type $SubscriptionLevelPayload = { + name: "SubscriptionLevel" + objects: { + proclamations: Prisma.$ProclamationPayload[] + categoryLevels: Prisma.$ProclamationCategorySubscriptionLevelPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + name: string + description: string | null + }, ExtArgs["result"]["subscriptionLevel"]> + composites: {} +} -export type SubscriptionLevelGetPayload< - S extends boolean | null | undefined | SubscriptionLevelDefaultArgs -> = runtime.Types.Result.GetResult; +export type SubscriptionLevelGetPayload = runtime.Types.Result.GetResult -export type SubscriptionLevelCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: SubscriptionLevelCountAggregateInputType | true; -}; +export type SubscriptionLevelCountArgs = + Omit & { + select?: SubscriptionLevelCountAggregateInputType | true + } -export interface SubscriptionLevelDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { - types: Prisma.TypeMap['model']['SubscriptionLevel']; - meta: { name: 'SubscriptionLevel' }; - }; - /** - * Find zero or one SubscriptionLevel that matches the filter. - * @param {SubscriptionLevelFindUniqueArgs} args - Arguments to find a SubscriptionLevel - * @example - * // Get one SubscriptionLevel - * const subscriptionLevel = await prisma.subscriptionLevel.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SubscriptionLevelClient< - runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface SubscriptionLevelDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['SubscriptionLevel'], meta: { name: 'SubscriptionLevel' } } + /** + * Find zero or one SubscriptionLevel that matches the filter. + * @param {SubscriptionLevelFindUniqueArgs} args - Arguments to find a SubscriptionLevel + * @example + * // Get one SubscriptionLevel + * const subscriptionLevel = await prisma.subscriptionLevel.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SubscriptionLevelClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one SubscriptionLevel that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {SubscriptionLevelFindUniqueOrThrowArgs} args - Arguments to find a SubscriptionLevel - * @example - * // Get one SubscriptionLevel - * const subscriptionLevel = await prisma.subscriptionLevel.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SubscriptionLevelClient< - runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one SubscriptionLevel that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {SubscriptionLevelFindUniqueOrThrowArgs} args - Arguments to find a SubscriptionLevel + * @example + * // Get one SubscriptionLevel + * const subscriptionLevel = await prisma.subscriptionLevel.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SubscriptionLevelClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first SubscriptionLevel that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SubscriptionLevelFindFirstArgs} args - Arguments to find a SubscriptionLevel - * @example - * // Get one SubscriptionLevel - * const subscriptionLevel = await prisma.subscriptionLevel.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__SubscriptionLevelClient< - runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first SubscriptionLevel that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SubscriptionLevelFindFirstArgs} args - Arguments to find a SubscriptionLevel + * @example + * // Get one SubscriptionLevel + * const subscriptionLevel = await prisma.subscriptionLevel.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SubscriptionLevelClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first SubscriptionLevel that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SubscriptionLevelFindFirstOrThrowArgs} args - Arguments to find a SubscriptionLevel - * @example - * // Get one SubscriptionLevel - * const subscriptionLevel = await prisma.subscriptionLevel.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__SubscriptionLevelClient< - runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first SubscriptionLevel that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SubscriptionLevelFindFirstOrThrowArgs} args - Arguments to find a SubscriptionLevel + * @example + * // Get one SubscriptionLevel + * const subscriptionLevel = await prisma.subscriptionLevel.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SubscriptionLevelClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more SubscriptionLevels that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SubscriptionLevelFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all SubscriptionLevels - * const subscriptionLevels = await prisma.subscriptionLevel.findMany() - * - * // Get first 10 SubscriptionLevels - * const subscriptionLevels = await prisma.subscriptionLevel.findMany({ take: 10 }) - * - * // Only select the `id` - * const subscriptionLevelWithIdOnly = await prisma.subscriptionLevel.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more SubscriptionLevels that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SubscriptionLevelFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all SubscriptionLevels + * const subscriptionLevels = await prisma.subscriptionLevel.findMany() + * + * // Get first 10 SubscriptionLevels + * const subscriptionLevels = await prisma.subscriptionLevel.findMany({ take: 10 }) + * + * // Only select the `id` + * const subscriptionLevelWithIdOnly = await prisma.subscriptionLevel.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a SubscriptionLevel. - * @param {SubscriptionLevelCreateArgs} args - Arguments to create a SubscriptionLevel. - * @example - * // Create one SubscriptionLevel - * const SubscriptionLevel = await prisma.subscriptionLevel.create({ - * data: { - * // ... data to create a SubscriptionLevel - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SubscriptionLevelClient< - runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'create', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a SubscriptionLevel. + * @param {SubscriptionLevelCreateArgs} args - Arguments to create a SubscriptionLevel. + * @example + * // Create one SubscriptionLevel + * const SubscriptionLevel = await prisma.subscriptionLevel.create({ + * data: { + * // ... data to create a SubscriptionLevel + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__SubscriptionLevelClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many SubscriptionLevels. - * @param {SubscriptionLevelCreateManyArgs} args - Arguments to create many SubscriptionLevels. - * @example - * // Create many SubscriptionLevels - * const subscriptionLevel = await prisma.subscriptionLevel.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many SubscriptionLevels. + * @param {SubscriptionLevelCreateManyArgs} args - Arguments to create many SubscriptionLevels. + * @example + * // Create many SubscriptionLevels + * const subscriptionLevel = await prisma.subscriptionLevel.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many SubscriptionLevels and returns the data saved in the database. - * @param {SubscriptionLevelCreateManyAndReturnArgs} args - Arguments to create many SubscriptionLevels. - * @example - * // Create many SubscriptionLevels - * const subscriptionLevel = await prisma.subscriptionLevel.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many SubscriptionLevels and only return the `id` - * const subscriptionLevelWithIdOnly = await prisma.subscriptionLevel.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many SubscriptionLevels and returns the data saved in the database. + * @param {SubscriptionLevelCreateManyAndReturnArgs} args - Arguments to create many SubscriptionLevels. + * @example + * // Create many SubscriptionLevels + * const subscriptionLevel = await prisma.subscriptionLevel.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many SubscriptionLevels and only return the `id` + * const subscriptionLevelWithIdOnly = await prisma.subscriptionLevel.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a SubscriptionLevel. - * @param {SubscriptionLevelDeleteArgs} args - Arguments to delete one SubscriptionLevel. - * @example - * // Delete one SubscriptionLevel - * const SubscriptionLevel = await prisma.subscriptionLevel.delete({ - * where: { - * // ... filter to delete one SubscriptionLevel - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SubscriptionLevelClient< - runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'delete', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a SubscriptionLevel. + * @param {SubscriptionLevelDeleteArgs} args - Arguments to delete one SubscriptionLevel. + * @example + * // Delete one SubscriptionLevel + * const SubscriptionLevel = await prisma.subscriptionLevel.delete({ + * where: { + * // ... filter to delete one SubscriptionLevel + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__SubscriptionLevelClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one SubscriptionLevel. - * @param {SubscriptionLevelUpdateArgs} args - Arguments to update one SubscriptionLevel. - * @example - * // Update one SubscriptionLevel - * const subscriptionLevel = await prisma.subscriptionLevel.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SubscriptionLevelClient< - runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'update', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one SubscriptionLevel. + * @param {SubscriptionLevelUpdateArgs} args - Arguments to update one SubscriptionLevel. + * @example + * // Update one SubscriptionLevel + * const subscriptionLevel = await prisma.subscriptionLevel.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__SubscriptionLevelClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more SubscriptionLevels. - * @param {SubscriptionLevelDeleteManyArgs} args - Arguments to filter SubscriptionLevels to delete. - * @example - * // Delete a few SubscriptionLevels - * const { count } = await prisma.subscriptionLevel.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more SubscriptionLevels. + * @param {SubscriptionLevelDeleteManyArgs} args - Arguments to filter SubscriptionLevels to delete. + * @example + * // Delete a few SubscriptionLevels + * const { count } = await prisma.subscriptionLevel.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more SubscriptionLevels. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SubscriptionLevelUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many SubscriptionLevels - * const subscriptionLevel = await prisma.subscriptionLevel.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more SubscriptionLevels. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SubscriptionLevelUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many SubscriptionLevels + * const subscriptionLevel = await prisma.subscriptionLevel.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more SubscriptionLevels and returns the data updated in the database. - * @param {SubscriptionLevelUpdateManyAndReturnArgs} args - Arguments to update many SubscriptionLevels. - * @example - * // Update many SubscriptionLevels - * const subscriptionLevel = await prisma.subscriptionLevel.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more SubscriptionLevels and only return the `id` - * const subscriptionLevelWithIdOnly = await prisma.subscriptionLevel.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more SubscriptionLevels and returns the data updated in the database. + * @param {SubscriptionLevelUpdateManyAndReturnArgs} args - Arguments to update many SubscriptionLevels. + * @example + * // Update many SubscriptionLevels + * const subscriptionLevel = await prisma.subscriptionLevel.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more SubscriptionLevels and only return the `id` + * const subscriptionLevelWithIdOnly = await prisma.subscriptionLevel.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one SubscriptionLevel. - * @param {SubscriptionLevelUpsertArgs} args - Arguments to update or create a SubscriptionLevel. - * @example - * // Update or create a SubscriptionLevel - * const subscriptionLevel = await prisma.subscriptionLevel.upsert({ - * create: { - * // ... data to create a SubscriptionLevel - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the SubscriptionLevel we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__SubscriptionLevelClient< - runtime.Types.Result.GetResult< - Prisma.$SubscriptionLevelPayload, - T, - 'upsert', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one SubscriptionLevel. + * @param {SubscriptionLevelUpsertArgs} args - Arguments to update or create a SubscriptionLevel. + * @example + * // Update or create a SubscriptionLevel + * const subscriptionLevel = await prisma.subscriptionLevel.upsert({ + * create: { + * // ... data to create a SubscriptionLevel + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the SubscriptionLevel we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SubscriptionLevelClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of SubscriptionLevels. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SubscriptionLevelCountArgs} args - Arguments to filter SubscriptionLevels to count. - * @example - * // Count the number of SubscriptionLevels - * const count = await prisma.subscriptionLevel.count({ - * where: { - * // ... the filter for the SubscriptionLevels we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a SubscriptionLevel. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SubscriptionLevelAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of SubscriptionLevels. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SubscriptionLevelCountArgs} args - Arguments to filter SubscriptionLevels to count. + * @example + * // Count the number of SubscriptionLevels + * const count = await prisma.subscriptionLevel.count({ + * where: { + * // ... the filter for the SubscriptionLevels we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by SubscriptionLevel. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SubscriptionLevelGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends SubscriptionLevelGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: SubscriptionLevelGroupByArgs['orderBy'] } - : { orderBy?: SubscriptionLevelGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors - ? GetSubscriptionLevelGroupByPayload - : Prisma.PrismaPromise; - /** - * Fields of the SubscriptionLevel model - */ - readonly fields: SubscriptionLevelFieldRefs; + /** + * Allows you to perform aggregations operations on a SubscriptionLevel. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SubscriptionLevelAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by SubscriptionLevel. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SubscriptionLevelGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends SubscriptionLevelGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: SubscriptionLevelGroupByArgs['orderBy'] } + : { orderBy?: SubscriptionLevelGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetSubscriptionLevelGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the SubscriptionLevel model + */ +readonly fields: SubscriptionLevelFieldRefs; } /** @@ -1040,545 +911,496 @@ export interface SubscriptionLevelDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__SubscriptionLevelClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - proclamations = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'findMany', - GlobalOmitOptions - > - | Null - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__SubscriptionLevelClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + proclamations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + categoryLevels = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the SubscriptionLevel model */ export interface SubscriptionLevelFieldRefs { - readonly id: Prisma.FieldRef<'SubscriptionLevel', 'Int'>; - readonly name: Prisma.FieldRef<'SubscriptionLevel', 'String'>; - readonly description: Prisma.FieldRef<'SubscriptionLevel', 'String'>; + readonly id: Prisma.FieldRef<"SubscriptionLevel", 'Int'> + readonly name: Prisma.FieldRef<"SubscriptionLevel", 'String'> + readonly description: Prisma.FieldRef<"SubscriptionLevel", 'String'> } + // Custom InputTypes /** * SubscriptionLevel findUnique */ -export type SubscriptionLevelFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelect | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SubscriptionLevelInclude | null; - /** - * Filter, which SubscriptionLevel to fetch. - */ - where: Prisma.SubscriptionLevelWhereUniqueInput; -}; +export type SubscriptionLevelFindUniqueArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelect | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SubscriptionLevelInclude | null + /** + * Filter, which SubscriptionLevel to fetch. + */ + where: Prisma.SubscriptionLevelWhereUniqueInput +} /** * SubscriptionLevel findUniqueOrThrow */ -export type SubscriptionLevelFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelect | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SubscriptionLevelInclude | null; - /** - * Filter, which SubscriptionLevel to fetch. - */ - where: Prisma.SubscriptionLevelWhereUniqueInput; -}; +export type SubscriptionLevelFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelect | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SubscriptionLevelInclude | null + /** + * Filter, which SubscriptionLevel to fetch. + */ + where: Prisma.SubscriptionLevelWhereUniqueInput +} /** * SubscriptionLevel findFirst */ -export type SubscriptionLevelFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelect | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SubscriptionLevelInclude | null; - /** - * Filter, which SubscriptionLevel to fetch. - */ - where?: Prisma.SubscriptionLevelWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SubscriptionLevels to fetch. - */ - orderBy?: - | Prisma.SubscriptionLevelOrderByWithRelationInput - | Prisma.SubscriptionLevelOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for SubscriptionLevels. - */ - cursor?: Prisma.SubscriptionLevelWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SubscriptionLevels from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SubscriptionLevels. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of SubscriptionLevels. - */ - distinct?: Prisma.SubscriptionLevelScalarFieldEnum | Prisma.SubscriptionLevelScalarFieldEnum[]; -}; +export type SubscriptionLevelFindFirstArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelect | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SubscriptionLevelInclude | null + /** + * Filter, which SubscriptionLevel to fetch. + */ + where?: Prisma.SubscriptionLevelWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of SubscriptionLevels to fetch. + */ + orderBy?: Prisma.SubscriptionLevelOrderByWithRelationInput | Prisma.SubscriptionLevelOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for SubscriptionLevels. + */ + cursor?: Prisma.SubscriptionLevelWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` SubscriptionLevels from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` SubscriptionLevels. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of SubscriptionLevels. + */ + distinct?: Prisma.SubscriptionLevelScalarFieldEnum | Prisma.SubscriptionLevelScalarFieldEnum[] +} /** * SubscriptionLevel findFirstOrThrow */ -export type SubscriptionLevelFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelect | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SubscriptionLevelInclude | null; - /** - * Filter, which SubscriptionLevel to fetch. - */ - where?: Prisma.SubscriptionLevelWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SubscriptionLevels to fetch. - */ - orderBy?: - | Prisma.SubscriptionLevelOrderByWithRelationInput - | Prisma.SubscriptionLevelOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for SubscriptionLevels. - */ - cursor?: Prisma.SubscriptionLevelWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SubscriptionLevels from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SubscriptionLevels. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of SubscriptionLevels. - */ - distinct?: Prisma.SubscriptionLevelScalarFieldEnum | Prisma.SubscriptionLevelScalarFieldEnum[]; -}; +export type SubscriptionLevelFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelect | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SubscriptionLevelInclude | null + /** + * Filter, which SubscriptionLevel to fetch. + */ + where?: Prisma.SubscriptionLevelWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of SubscriptionLevels to fetch. + */ + orderBy?: Prisma.SubscriptionLevelOrderByWithRelationInput | Prisma.SubscriptionLevelOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for SubscriptionLevels. + */ + cursor?: Prisma.SubscriptionLevelWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` SubscriptionLevels from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` SubscriptionLevels. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of SubscriptionLevels. + */ + distinct?: Prisma.SubscriptionLevelScalarFieldEnum | Prisma.SubscriptionLevelScalarFieldEnum[] +} /** * SubscriptionLevel findMany */ -export type SubscriptionLevelFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelect | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SubscriptionLevelInclude | null; - /** - * Filter, which SubscriptionLevels to fetch. - */ - where?: Prisma.SubscriptionLevelWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SubscriptionLevels to fetch. - */ - orderBy?: - | Prisma.SubscriptionLevelOrderByWithRelationInput - | Prisma.SubscriptionLevelOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing SubscriptionLevels. - */ - cursor?: Prisma.SubscriptionLevelWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SubscriptionLevels from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SubscriptionLevels. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of SubscriptionLevels. - */ - distinct?: Prisma.SubscriptionLevelScalarFieldEnum | Prisma.SubscriptionLevelScalarFieldEnum[]; -}; +export type SubscriptionLevelFindManyArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelect | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SubscriptionLevelInclude | null + /** + * Filter, which SubscriptionLevels to fetch. + */ + where?: Prisma.SubscriptionLevelWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of SubscriptionLevels to fetch. + */ + orderBy?: Prisma.SubscriptionLevelOrderByWithRelationInput | Prisma.SubscriptionLevelOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing SubscriptionLevels. + */ + cursor?: Prisma.SubscriptionLevelWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` SubscriptionLevels from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` SubscriptionLevels. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of SubscriptionLevels. + */ + distinct?: Prisma.SubscriptionLevelScalarFieldEnum | Prisma.SubscriptionLevelScalarFieldEnum[] +} /** * SubscriptionLevel create */ -export type SubscriptionLevelCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelect | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SubscriptionLevelInclude | null; - /** - * The data needed to create a SubscriptionLevel. - */ - data: Prisma.XOR< - Prisma.SubscriptionLevelCreateInput, - Prisma.SubscriptionLevelUncheckedCreateInput - >; -}; +export type SubscriptionLevelCreateArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelect | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SubscriptionLevelInclude | null + /** + * The data needed to create a SubscriptionLevel. + */ + data: Prisma.XOR +} /** * SubscriptionLevel createMany */ -export type SubscriptionLevelCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many SubscriptionLevels. - */ - data: Prisma.SubscriptionLevelCreateManyInput | Prisma.SubscriptionLevelCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type SubscriptionLevelCreateManyArgs = { + /** + * The data used to create many SubscriptionLevels. + */ + data: Prisma.SubscriptionLevelCreateManyInput | Prisma.SubscriptionLevelCreateManyInput[] + skipDuplicates?: boolean +} /** * SubscriptionLevel createManyAndReturn */ -export type SubscriptionLevelCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelectCreateManyAndReturn | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * The data used to create many SubscriptionLevels. - */ - data: Prisma.SubscriptionLevelCreateManyInput | Prisma.SubscriptionLevelCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type SubscriptionLevelCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelectCreateManyAndReturn | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * The data used to create many SubscriptionLevels. + */ + data: Prisma.SubscriptionLevelCreateManyInput | Prisma.SubscriptionLevelCreateManyInput[] + skipDuplicates?: boolean +} /** * SubscriptionLevel update */ -export type SubscriptionLevelUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelect | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SubscriptionLevelInclude | null; - /** - * The data needed to update a SubscriptionLevel. - */ - data: Prisma.XOR< - Prisma.SubscriptionLevelUpdateInput, - Prisma.SubscriptionLevelUncheckedUpdateInput - >; - /** - * Choose, which SubscriptionLevel to update. - */ - where: Prisma.SubscriptionLevelWhereUniqueInput; -}; +export type SubscriptionLevelUpdateArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelect | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SubscriptionLevelInclude | null + /** + * The data needed to update a SubscriptionLevel. + */ + data: Prisma.XOR + /** + * Choose, which SubscriptionLevel to update. + */ + where: Prisma.SubscriptionLevelWhereUniqueInput +} /** * SubscriptionLevel updateMany */ -export type SubscriptionLevelUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update SubscriptionLevels. - */ - data: Prisma.XOR< - Prisma.SubscriptionLevelUpdateManyMutationInput, - Prisma.SubscriptionLevelUncheckedUpdateManyInput - >; - /** - * Filter which SubscriptionLevels to update - */ - where?: Prisma.SubscriptionLevelWhereInput; - /** - * Limit how many SubscriptionLevels to update. - */ - limit?: number; -}; +export type SubscriptionLevelUpdateManyArgs = { + /** + * The data used to update SubscriptionLevels. + */ + data: Prisma.XOR + /** + * Filter which SubscriptionLevels to update + */ + where?: Prisma.SubscriptionLevelWhereInput + /** + * Limit how many SubscriptionLevels to update. + */ + limit?: number +} /** * SubscriptionLevel updateManyAndReturn */ -export type SubscriptionLevelUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * The data used to update SubscriptionLevels. - */ - data: Prisma.XOR< - Prisma.SubscriptionLevelUpdateManyMutationInput, - Prisma.SubscriptionLevelUncheckedUpdateManyInput - >; - /** - * Filter which SubscriptionLevels to update - */ - where?: Prisma.SubscriptionLevelWhereInput; - /** - * Limit how many SubscriptionLevels to update. - */ - limit?: number; -}; +export type SubscriptionLevelUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * The data used to update SubscriptionLevels. + */ + data: Prisma.XOR + /** + * Filter which SubscriptionLevels to update + */ + where?: Prisma.SubscriptionLevelWhereInput + /** + * Limit how many SubscriptionLevels to update. + */ + limit?: number +} /** * SubscriptionLevel upsert */ -export type SubscriptionLevelUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelect | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SubscriptionLevelInclude | null; - /** - * The filter to search for the SubscriptionLevel to update in case it exists. - */ - where: Prisma.SubscriptionLevelWhereUniqueInput; - /** - * In case the SubscriptionLevel found by the `where` argument doesn't exist, create a new SubscriptionLevel with this data. - */ - create: Prisma.XOR< - Prisma.SubscriptionLevelCreateInput, - Prisma.SubscriptionLevelUncheckedCreateInput - >; - /** - * In case the SubscriptionLevel was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR< - Prisma.SubscriptionLevelUpdateInput, - Prisma.SubscriptionLevelUncheckedUpdateInput - >; -}; +export type SubscriptionLevelUpsertArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelect | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SubscriptionLevelInclude | null + /** + * The filter to search for the SubscriptionLevel to update in case it exists. + */ + where: Prisma.SubscriptionLevelWhereUniqueInput + /** + * In case the SubscriptionLevel found by the `where` argument doesn't exist, create a new SubscriptionLevel with this data. + */ + create: Prisma.XOR + /** + * In case the SubscriptionLevel was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * SubscriptionLevel delete */ -export type SubscriptionLevelDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelect | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SubscriptionLevelInclude | null; - /** - * Filter which SubscriptionLevel to delete. - */ - where: Prisma.SubscriptionLevelWhereUniqueInput; -}; +export type SubscriptionLevelDeleteArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelect | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SubscriptionLevelInclude | null + /** + * Filter which SubscriptionLevel to delete. + */ + where: Prisma.SubscriptionLevelWhereUniqueInput +} /** * SubscriptionLevel deleteMany */ -export type SubscriptionLevelDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which SubscriptionLevels to delete - */ - where?: Prisma.SubscriptionLevelWhereInput; - /** - * Limit how many SubscriptionLevels to delete. - */ - limit?: number; -}; +export type SubscriptionLevelDeleteManyArgs = { + /** + * Filter which SubscriptionLevels to delete + */ + where?: Prisma.SubscriptionLevelWhereInput + /** + * Limit how many SubscriptionLevels to delete. + */ + limit?: number +} /** * SubscriptionLevel.proclamations */ -export type SubscriptionLevel$proclamationsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Proclamation - */ - select?: Prisma.ProclamationSelect | null; - /** - * Omit specific fields from the Proclamation - */ - omit?: Prisma.ProclamationOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProclamationInclude | null; - where?: Prisma.ProclamationWhereInput; - orderBy?: - | Prisma.ProclamationOrderByWithRelationInput - | Prisma.ProclamationOrderByWithRelationInput[]; - cursor?: Prisma.ProclamationWhereUniqueInput; - take?: number; - skip?: number; - distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[]; -}; +export type SubscriptionLevel$proclamationsArgs = { + /** + * Select specific fields to fetch from the Proclamation + */ + select?: Prisma.ProclamationSelect | null + /** + * Omit specific fields from the Proclamation + */ + omit?: Prisma.ProclamationOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationInclude | null + where?: Prisma.ProclamationWhereInput + orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[] + cursor?: Prisma.ProclamationWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[] +} + +/** + * SubscriptionLevel.categoryLevels + */ +export type SubscriptionLevel$categoryLevelsArgs = { + /** + * Select specific fields to fetch from the ProclamationCategorySubscriptionLevel + */ + select?: Prisma.ProclamationCategorySubscriptionLevelSelect | null + /** + * Omit specific fields from the ProclamationCategorySubscriptionLevel + */ + omit?: Prisma.ProclamationCategorySubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProclamationCategorySubscriptionLevelInclude | null + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + orderBy?: Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput | Prisma.ProclamationCategorySubscriptionLevelOrderByWithRelationInput[] + cursor?: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum | Prisma.ProclamationCategorySubscriptionLevelScalarFieldEnum[] +} /** * SubscriptionLevel without action */ -export type SubscriptionLevelDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the SubscriptionLevel - */ - select?: Prisma.SubscriptionLevelSelect | null; - /** - * Omit specific fields from the SubscriptionLevel - */ - omit?: Prisma.SubscriptionLevelOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SubscriptionLevelInclude | null; -}; +export type SubscriptionLevelDefaultArgs = { + /** + * Select specific fields to fetch from the SubscriptionLevel + */ + select?: Prisma.SubscriptionLevelSelect | null + /** + * Omit specific fields from the SubscriptionLevel + */ + omit?: Prisma.SubscriptionLevelOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SubscriptionLevelInclude | null +} diff --git a/src/lib/generated/prisma/models/User.ts b/src/lib/generated/prisma/models/User.ts index f2d5834..e208c0c 100644 --- a/src/lib/generated/prisma/models/User.ts +++ b/src/lib/generated/prisma/models/User.ts @@ -1,1949 +1,1639 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `User` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model User - * + * */ -export type UserModel = runtime.Types.Result.DefaultSelection; +export type UserModel = runtime.Types.Result.DefaultSelection export type AggregateUser = { - _count: UserCountAggregateOutputType | null; - _avg: UserAvgAggregateOutputType | null; - _sum: UserSumAggregateOutputType | null; - _min: UserMinAggregateOutputType | null; - _max: UserMaxAggregateOutputType | null; -}; + _count: UserCountAggregateOutputType | null + _avg: UserAvgAggregateOutputType | null + _sum: UserSumAggregateOutputType | null + _min: UserMinAggregateOutputType | null + _max: UserMaxAggregateOutputType | null +} export type UserAvgAggregateOutputType = { - roleId: number | null; -}; + roleId: number | null +} export type UserSumAggregateOutputType = { - roleId: number | null; -}; + roleId: number | null +} export type UserMinAggregateOutputType = { - id: string | null; - name: string | null; - email: string | null; - emailVerified: boolean | null; - image: string | null; - createdAt: Date | null; - updatedAt: Date | null; - roleId: number | null; -}; + id: string | null + name: string | null + email: string | null + emailVerified: boolean | null + image: string | null + createdAt: Date | null + updatedAt: Date | null + roleId: number | null +} export type UserMaxAggregateOutputType = { - id: string | null; - name: string | null; - email: string | null; - emailVerified: boolean | null; - image: string | null; - createdAt: Date | null; - updatedAt: Date | null; - roleId: number | null; -}; + id: string | null + name: string | null + email: string | null + emailVerified: boolean | null + image: string | null + createdAt: Date | null + updatedAt: Date | null + roleId: number | null +} export type UserCountAggregateOutputType = { - id: number; - name: number; - email: number; - emailVerified: number; - image: number; - createdAt: number; - updatedAt: number; - roleId: number; - _all: number; -}; + id: number + name: number + email: number + emailVerified: number + image: number + createdAt: number + updatedAt: number + roleId: number + _all: number +} + export type UserAvgAggregateInputType = { - roleId?: true; -}; + roleId?: true +} export type UserSumAggregateInputType = { - roleId?: true; -}; + roleId?: true +} export type UserMinAggregateInputType = { - id?: true; - name?: true; - email?: true; - emailVerified?: true; - image?: true; - createdAt?: true; - updatedAt?: true; - roleId?: true; -}; + id?: true + name?: true + email?: true + emailVerified?: true + image?: true + createdAt?: true + updatedAt?: true + roleId?: true +} export type UserMaxAggregateInputType = { - id?: true; - name?: true; - email?: true; - emailVerified?: true; - image?: true; - createdAt?: true; - updatedAt?: true; - roleId?: true; -}; + id?: true + name?: true + email?: true + emailVerified?: true + image?: true + createdAt?: true + updatedAt?: true + roleId?: true +} export type UserCountAggregateInputType = { - id?: true; - name?: true; - email?: true; - emailVerified?: true; - image?: true; - createdAt?: true; - updatedAt?: true; - roleId?: true; - _all?: true; -}; + id?: true + name?: true + email?: true + emailVerified?: true + image?: true + createdAt?: true + updatedAt?: true + roleId?: true + _all?: true +} -export type UserAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which User to aggregate. - */ - where?: Prisma.UserWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.UserWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Users. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Users - **/ - _count?: true | UserCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: UserAvgAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: UserSumAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: UserMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: UserMaxAggregateInputType; -}; +export type UserAggregateArgs = { + /** + * Filter which User to aggregate. + */ + where?: Prisma.UserWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Users to fetch. + */ + orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.UserWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Users from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Users. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned Users + **/ + _count?: true | UserCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: UserAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: UserSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: UserMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: UserMaxAggregateInputType +} export type GetUserAggregateType = { - [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type UserGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.UserWhereInput; - orderBy?: Prisma.UserOrderByWithAggregationInput | Prisma.UserOrderByWithAggregationInput[]; - by: Prisma.UserScalarFieldEnum[] | Prisma.UserScalarFieldEnum; - having?: Prisma.UserScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: UserCountAggregateInputType | true; - _avg?: UserAvgAggregateInputType; - _sum?: UserSumAggregateInputType; - _min?: UserMinAggregateInputType; - _max?: UserMaxAggregateInputType; -}; + + + +export type UserGroupByArgs = { + where?: Prisma.UserWhereInput + orderBy?: Prisma.UserOrderByWithAggregationInput | Prisma.UserOrderByWithAggregationInput[] + by: Prisma.UserScalarFieldEnum[] | Prisma.UserScalarFieldEnum + having?: Prisma.UserScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: UserCountAggregateInputType | true + _avg?: UserAvgAggregateInputType + _sum?: UserSumAggregateInputType + _min?: UserMinAggregateInputType + _max?: UserMaxAggregateInputType +} export type UserGroupByOutputType = { - id: string; - name: string; - email: string; - emailVerified: boolean; - image: string | null; - createdAt: Date; - updatedAt: Date; - roleId: number | null; - _count: UserCountAggregateOutputType | null; - _avg: UserAvgAggregateOutputType | null; - _sum: UserSumAggregateOutputType | null; - _min: UserMinAggregateOutputType | null; - _max: UserMaxAggregateOutputType | null; -}; + id: string + name: string + email: string + emailVerified: boolean + image: string | null + createdAt: Date + updatedAt: Date + roleId: number | null + _count: UserCountAggregateOutputType | null + _avg: UserAvgAggregateOutputType | null + _sum: UserSumAggregateOutputType | null + _min: UserMinAggregateOutputType | null + _max: UserMaxAggregateOutputType | null +} export type GetUserGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof UserGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > ->; + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + export type UserWhereInput = { - AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[]; - OR?: Prisma.UserWhereInput[]; - NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[]; - id?: Prisma.StringFilter<'User'> | string; - name?: Prisma.StringFilter<'User'> | string; - email?: Prisma.StringFilter<'User'> | string; - emailVerified?: Prisma.BoolFilter<'User'> | boolean; - image?: Prisma.StringNullableFilter<'User'> | string | null; - createdAt?: Prisma.DateTimeFilter<'User'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'User'> | Date | string; - roleId?: Prisma.IntNullableFilter<'User'> | number | null; - role?: Prisma.XOR | null; - sessions?: Prisma.SessionListRelationFilter; - accounts?: Prisma.AccountListRelationFilter; - profile?: Prisma.XOR | null; - licenseKeys?: Prisma.LicenseKeyListRelationFilter; - userProclamations?: Prisma.UserProclamationsListRelationFilter; -}; + AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] + OR?: Prisma.UserWhereInput[] + NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] + id?: Prisma.StringFilter<"User"> | string + name?: Prisma.StringFilter<"User"> | string + email?: Prisma.StringFilter<"User"> | string + emailVerified?: Prisma.BoolFilter<"User"> | boolean + image?: Prisma.StringNullableFilter<"User"> | string | null + createdAt?: Prisma.DateTimeFilter<"User"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string + roleId?: Prisma.IntNullableFilter<"User"> | number | null + role?: Prisma.XOR | null + sessions?: Prisma.SessionListRelationFilter + accounts?: Prisma.AccountListRelationFilter + profile?: Prisma.XOR | null + licenseKeys?: Prisma.LicenseKeyListRelationFilter + userProclamations?: Prisma.UserProclamationsListRelationFilter +} export type UserOrderByWithRelationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - email?: Prisma.SortOrder; - emailVerified?: Prisma.SortOrder; - image?: Prisma.SortOrderInput | Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - roleId?: Prisma.SortOrderInput | Prisma.SortOrder; - role?: Prisma.UserRoleOrderByWithRelationInput; - sessions?: Prisma.SessionOrderByRelationAggregateInput; - accounts?: Prisma.AccountOrderByRelationAggregateInput; - profile?: Prisma.ProfileOrderByWithRelationInput; - licenseKeys?: Prisma.LicenseKeyOrderByRelationAggregateInput; - userProclamations?: Prisma.UserProclamationsOrderByRelationAggregateInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + email?: Prisma.SortOrder + emailVerified?: Prisma.SortOrder + image?: Prisma.SortOrderInput | Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + roleId?: Prisma.SortOrderInput | Prisma.SortOrder + role?: Prisma.UserRoleOrderByWithRelationInput + sessions?: Prisma.SessionOrderByRelationAggregateInput + accounts?: Prisma.AccountOrderByRelationAggregateInput + profile?: Prisma.ProfileOrderByWithRelationInput + licenseKeys?: Prisma.LicenseKeyOrderByRelationAggregateInput + userProclamations?: Prisma.UserProclamationsOrderByRelationAggregateInput +} -export type UserWhereUniqueInput = Prisma.AtLeast< - { - id?: string; - email?: string; - AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[]; - OR?: Prisma.UserWhereInput[]; - NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[]; - name?: Prisma.StringFilter<'User'> | string; - emailVerified?: Prisma.BoolFilter<'User'> | boolean; - image?: Prisma.StringNullableFilter<'User'> | string | null; - createdAt?: Prisma.DateTimeFilter<'User'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'User'> | Date | string; - roleId?: Prisma.IntNullableFilter<'User'> | number | null; - role?: Prisma.XOR< - Prisma.UserRoleNullableScalarRelationFilter, - Prisma.UserRoleWhereInput - > | null; - sessions?: Prisma.SessionListRelationFilter; - accounts?: Prisma.AccountListRelationFilter; - profile?: Prisma.XOR< - Prisma.ProfileNullableScalarRelationFilter, - Prisma.ProfileWhereInput - > | null; - licenseKeys?: Prisma.LicenseKeyListRelationFilter; - userProclamations?: Prisma.UserProclamationsListRelationFilter; - }, - 'id' | 'email' ->; +export type UserWhereUniqueInput = Prisma.AtLeast<{ + id?: string + email?: string + AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] + OR?: Prisma.UserWhereInput[] + NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] + name?: Prisma.StringFilter<"User"> | string + emailVerified?: Prisma.BoolFilter<"User"> | boolean + image?: Prisma.StringNullableFilter<"User"> | string | null + createdAt?: Prisma.DateTimeFilter<"User"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string + roleId?: Prisma.IntNullableFilter<"User"> | number | null + role?: Prisma.XOR | null + sessions?: Prisma.SessionListRelationFilter + accounts?: Prisma.AccountListRelationFilter + profile?: Prisma.XOR | null + licenseKeys?: Prisma.LicenseKeyListRelationFilter + userProclamations?: Prisma.UserProclamationsListRelationFilter +}, "id" | "email"> export type UserOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - email?: Prisma.SortOrder; - emailVerified?: Prisma.SortOrder; - image?: Prisma.SortOrderInput | Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - roleId?: Prisma.SortOrderInput | Prisma.SortOrder; - _count?: Prisma.UserCountOrderByAggregateInput; - _avg?: Prisma.UserAvgOrderByAggregateInput; - _max?: Prisma.UserMaxOrderByAggregateInput; - _min?: Prisma.UserMinOrderByAggregateInput; - _sum?: Prisma.UserSumOrderByAggregateInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + email?: Prisma.SortOrder + emailVerified?: Prisma.SortOrder + image?: Prisma.SortOrderInput | Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + roleId?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.UserCountOrderByAggregateInput + _avg?: Prisma.UserAvgOrderByAggregateInput + _max?: Prisma.UserMaxOrderByAggregateInput + _min?: Prisma.UserMinOrderByAggregateInput + _sum?: Prisma.UserSumOrderByAggregateInput +} export type UserScalarWhereWithAggregatesInput = { - AND?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[]; - OR?: Prisma.UserScalarWhereWithAggregatesInput[]; - NOT?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[]; - id?: Prisma.StringWithAggregatesFilter<'User'> | string; - name?: Prisma.StringWithAggregatesFilter<'User'> | string; - email?: Prisma.StringWithAggregatesFilter<'User'> | string; - emailVerified?: Prisma.BoolWithAggregatesFilter<'User'> | boolean; - image?: Prisma.StringNullableWithAggregatesFilter<'User'> | string | null; - createdAt?: Prisma.DateTimeWithAggregatesFilter<'User'> | Date | string; - updatedAt?: Prisma.DateTimeWithAggregatesFilter<'User'> | Date | string; - roleId?: Prisma.IntNullableWithAggregatesFilter<'User'> | number | null; -}; + AND?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] + OR?: Prisma.UserScalarWhereWithAggregatesInput[] + NOT?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"User"> | string + name?: Prisma.StringWithAggregatesFilter<"User"> | string + email?: Prisma.StringWithAggregatesFilter<"User"> | string + emailVerified?: Prisma.BoolWithAggregatesFilter<"User"> | boolean + image?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null + createdAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string + updatedAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string + roleId?: Prisma.IntNullableWithAggregatesFilter<"User"> | number | null +} export type UserCreateInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput; - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput; - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileCreateNestedOneWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput; - userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput + sessions?: Prisma.SessionCreateNestedManyWithoutUserInput + accounts?: Prisma.AccountCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileCreateNestedOneWithoutUserInput + licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput + userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput +} export type UserUncheckedCreateInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - roleId?: number | null; - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput; - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput; - userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + roleId?: number | null + sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput + accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput + licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput + userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput +} export type UserUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput; - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput; - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput + sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput + accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput +} export type UserUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput; - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput + accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput +} export type UserCreateManyInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - roleId?: number | null; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + roleId?: number | null +} export type UserUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type UserUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} export type UserCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - email?: Prisma.SortOrder; - emailVerified?: Prisma.SortOrder; - image?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - roleId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + email?: Prisma.SortOrder + emailVerified?: Prisma.SortOrder + image?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + roleId?: Prisma.SortOrder +} export type UserAvgOrderByAggregateInput = { - roleId?: Prisma.SortOrder; -}; + roleId?: Prisma.SortOrder +} export type UserMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - email?: Prisma.SortOrder; - emailVerified?: Prisma.SortOrder; - image?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - roleId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + email?: Prisma.SortOrder + emailVerified?: Prisma.SortOrder + image?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + roleId?: Prisma.SortOrder +} export type UserMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - email?: Prisma.SortOrder; - emailVerified?: Prisma.SortOrder; - image?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - roleId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + email?: Prisma.SortOrder + emailVerified?: Prisma.SortOrder + image?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + roleId?: Prisma.SortOrder +} export type UserSumOrderByAggregateInput = { - roleId?: Prisma.SortOrder; -}; + roleId?: Prisma.SortOrder +} export type UserScalarRelationFilter = { - is?: Prisma.UserWhereInput; - isNot?: Prisma.UserWhereInput; -}; + is?: Prisma.UserWhereInput + isNot?: Prisma.UserWhereInput +} export type UserListRelationFilter = { - every?: Prisma.UserWhereInput; - some?: Prisma.UserWhereInput; - none?: Prisma.UserWhereInput; -}; + every?: Prisma.UserWhereInput + some?: Prisma.UserWhereInput + none?: Prisma.UserWhereInput +} export type UserOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder; -}; + _count?: Prisma.SortOrder +} export type StringFieldUpdateOperationsInput = { - set?: string; -}; + set?: string +} export type BoolFieldUpdateOperationsInput = { - set?: boolean; -}; + set?: boolean +} export type NullableStringFieldUpdateOperationsInput = { - set?: string | null; -}; + set?: string | null +} export type DateTimeFieldUpdateOperationsInput = { - set?: Date | string; -}; + set?: Date | string +} export type NullableIntFieldUpdateOperationsInput = { - set?: number | null; - increment?: number; - decrement?: number; - multiply?: number; - divide?: number; -}; + set?: number | null + increment?: number + decrement?: number + multiply?: number + divide?: number +} export type UserCreateNestedOneWithoutProfileInput = { - create?: Prisma.XOR< - Prisma.UserCreateWithoutProfileInput, - Prisma.UserUncheckedCreateWithoutProfileInput - >; - connectOrCreate?: Prisma.UserCreateOrConnectWithoutProfileInput; - connect?: Prisma.UserWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserCreateOrConnectWithoutProfileInput + connect?: Prisma.UserWhereUniqueInput +} export type UserUpdateOneRequiredWithoutProfileNestedInput = { - create?: Prisma.XOR< - Prisma.UserCreateWithoutProfileInput, - Prisma.UserUncheckedCreateWithoutProfileInput - >; - connectOrCreate?: Prisma.UserCreateOrConnectWithoutProfileInput; - upsert?: Prisma.UserUpsertWithoutProfileInput; - connect?: Prisma.UserWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.UserUpdateToOneWithWhereWithoutProfileInput, - Prisma.UserUpdateWithoutProfileInput - >, - Prisma.UserUncheckedUpdateWithoutProfileInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserCreateOrConnectWithoutProfileInput + upsert?: Prisma.UserUpsertWithoutProfileInput + connect?: Prisma.UserWhereUniqueInput + update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutProfileInput> +} export type UserCreateNestedOneWithoutSessionsInput = { - create?: Prisma.XOR< - Prisma.UserCreateWithoutSessionsInput, - Prisma.UserUncheckedCreateWithoutSessionsInput - >; - connectOrCreate?: Prisma.UserCreateOrConnectWithoutSessionsInput; - connect?: Prisma.UserWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserCreateOrConnectWithoutSessionsInput + connect?: Prisma.UserWhereUniqueInput +} export type UserUpdateOneRequiredWithoutSessionsNestedInput = { - create?: Prisma.XOR< - Prisma.UserCreateWithoutSessionsInput, - Prisma.UserUncheckedCreateWithoutSessionsInput - >; - connectOrCreate?: Prisma.UserCreateOrConnectWithoutSessionsInput; - upsert?: Prisma.UserUpsertWithoutSessionsInput; - connect?: Prisma.UserWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.UserUpdateToOneWithWhereWithoutSessionsInput, - Prisma.UserUpdateWithoutSessionsInput - >, - Prisma.UserUncheckedUpdateWithoutSessionsInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserCreateOrConnectWithoutSessionsInput + upsert?: Prisma.UserUpsertWithoutSessionsInput + connect?: Prisma.UserWhereUniqueInput + update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutSessionsInput> +} export type UserCreateNestedOneWithoutAccountsInput = { - create?: Prisma.XOR< - Prisma.UserCreateWithoutAccountsInput, - Prisma.UserUncheckedCreateWithoutAccountsInput - >; - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput; - connect?: Prisma.UserWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput + connect?: Prisma.UserWhereUniqueInput +} export type UserUpdateOneRequiredWithoutAccountsNestedInput = { - create?: Prisma.XOR< - Prisma.UserCreateWithoutAccountsInput, - Prisma.UserUncheckedCreateWithoutAccountsInput - >; - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput; - upsert?: Prisma.UserUpsertWithoutAccountsInput; - connect?: Prisma.UserWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.UserUpdateToOneWithWhereWithoutAccountsInput, - Prisma.UserUpdateWithoutAccountsInput - >, - Prisma.UserUncheckedUpdateWithoutAccountsInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput + upsert?: Prisma.UserUpsertWithoutAccountsInput + connect?: Prisma.UserWhereUniqueInput + update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutAccountsInput> +} export type UserCreateNestedManyWithoutRoleInput = { - create?: - | Prisma.XOR - | Prisma.UserCreateWithoutRoleInput[] - | Prisma.UserUncheckedCreateWithoutRoleInput[]; - connectOrCreate?: - | Prisma.UserCreateOrConnectWithoutRoleInput - | Prisma.UserCreateOrConnectWithoutRoleInput[]; - createMany?: Prisma.UserCreateManyRoleInputEnvelope; - connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.UserCreateWithoutRoleInput[] | Prisma.UserUncheckedCreateWithoutRoleInput[] + connectOrCreate?: Prisma.UserCreateOrConnectWithoutRoleInput | Prisma.UserCreateOrConnectWithoutRoleInput[] + createMany?: Prisma.UserCreateManyRoleInputEnvelope + connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] +} export type UserUncheckedCreateNestedManyWithoutRoleInput = { - create?: - | Prisma.XOR - | Prisma.UserCreateWithoutRoleInput[] - | Prisma.UserUncheckedCreateWithoutRoleInput[]; - connectOrCreate?: - | Prisma.UserCreateOrConnectWithoutRoleInput - | Prisma.UserCreateOrConnectWithoutRoleInput[]; - createMany?: Prisma.UserCreateManyRoleInputEnvelope; - connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.UserCreateWithoutRoleInput[] | Prisma.UserUncheckedCreateWithoutRoleInput[] + connectOrCreate?: Prisma.UserCreateOrConnectWithoutRoleInput | Prisma.UserCreateOrConnectWithoutRoleInput[] + createMany?: Prisma.UserCreateManyRoleInputEnvelope + connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] +} export type UserUpdateManyWithoutRoleNestedInput = { - create?: - | Prisma.XOR - | Prisma.UserCreateWithoutRoleInput[] - | Prisma.UserUncheckedCreateWithoutRoleInput[]; - connectOrCreate?: - | Prisma.UserCreateOrConnectWithoutRoleInput - | Prisma.UserCreateOrConnectWithoutRoleInput[]; - upsert?: - | Prisma.UserUpsertWithWhereUniqueWithoutRoleInput - | Prisma.UserUpsertWithWhereUniqueWithoutRoleInput[]; - createMany?: Prisma.UserCreateManyRoleInputEnvelope; - set?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[]; - disconnect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[]; - delete?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[]; - connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[]; - update?: - | Prisma.UserUpdateWithWhereUniqueWithoutRoleInput - | Prisma.UserUpdateWithWhereUniqueWithoutRoleInput[]; - updateMany?: - | Prisma.UserUpdateManyWithWhereWithoutRoleInput - | Prisma.UserUpdateManyWithWhereWithoutRoleInput[]; - deleteMany?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.UserCreateWithoutRoleInput[] | Prisma.UserUncheckedCreateWithoutRoleInput[] + connectOrCreate?: Prisma.UserCreateOrConnectWithoutRoleInput | Prisma.UserCreateOrConnectWithoutRoleInput[] + upsert?: Prisma.UserUpsertWithWhereUniqueWithoutRoleInput | Prisma.UserUpsertWithWhereUniqueWithoutRoleInput[] + createMany?: Prisma.UserCreateManyRoleInputEnvelope + set?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] + disconnect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] + delete?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] + connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] + update?: Prisma.UserUpdateWithWhereUniqueWithoutRoleInput | Prisma.UserUpdateWithWhereUniqueWithoutRoleInput[] + updateMany?: Prisma.UserUpdateManyWithWhereWithoutRoleInput | Prisma.UserUpdateManyWithWhereWithoutRoleInput[] + deleteMany?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[] +} export type UserUncheckedUpdateManyWithoutRoleNestedInput = { - create?: - | Prisma.XOR - | Prisma.UserCreateWithoutRoleInput[] - | Prisma.UserUncheckedCreateWithoutRoleInput[]; - connectOrCreate?: - | Prisma.UserCreateOrConnectWithoutRoleInput - | Prisma.UserCreateOrConnectWithoutRoleInput[]; - upsert?: - | Prisma.UserUpsertWithWhereUniqueWithoutRoleInput - | Prisma.UserUpsertWithWhereUniqueWithoutRoleInput[]; - createMany?: Prisma.UserCreateManyRoleInputEnvelope; - set?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[]; - disconnect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[]; - delete?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[]; - connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[]; - update?: - | Prisma.UserUpdateWithWhereUniqueWithoutRoleInput - | Prisma.UserUpdateWithWhereUniqueWithoutRoleInput[]; - updateMany?: - | Prisma.UserUpdateManyWithWhereWithoutRoleInput - | Prisma.UserUpdateManyWithWhereWithoutRoleInput[]; - deleteMany?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.UserCreateWithoutRoleInput[] | Prisma.UserUncheckedCreateWithoutRoleInput[] + connectOrCreate?: Prisma.UserCreateOrConnectWithoutRoleInput | Prisma.UserCreateOrConnectWithoutRoleInput[] + upsert?: Prisma.UserUpsertWithWhereUniqueWithoutRoleInput | Prisma.UserUpsertWithWhereUniqueWithoutRoleInput[] + createMany?: Prisma.UserCreateManyRoleInputEnvelope + set?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] + disconnect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] + delete?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] + connect?: Prisma.UserWhereUniqueInput | Prisma.UserWhereUniqueInput[] + update?: Prisma.UserUpdateWithWhereUniqueWithoutRoleInput | Prisma.UserUpdateWithWhereUniqueWithoutRoleInput[] + updateMany?: Prisma.UserUpdateManyWithWhereWithoutRoleInput | Prisma.UserUpdateManyWithWhereWithoutRoleInput[] + deleteMany?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[] +} export type UserCreateNestedOneWithoutUserProclamationsInput = { - create?: Prisma.XOR< - Prisma.UserCreateWithoutUserProclamationsInput, - Prisma.UserUncheckedCreateWithoutUserProclamationsInput - >; - connectOrCreate?: Prisma.UserCreateOrConnectWithoutUserProclamationsInput; - connect?: Prisma.UserWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserCreateOrConnectWithoutUserProclamationsInput + connect?: Prisma.UserWhereUniqueInput +} export type UserUpdateOneRequiredWithoutUserProclamationsNestedInput = { - create?: Prisma.XOR< - Prisma.UserCreateWithoutUserProclamationsInput, - Prisma.UserUncheckedCreateWithoutUserProclamationsInput - >; - connectOrCreate?: Prisma.UserCreateOrConnectWithoutUserProclamationsInput; - upsert?: Prisma.UserUpsertWithoutUserProclamationsInput; - connect?: Prisma.UserWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.UserUpdateToOneWithWhereWithoutUserProclamationsInput, - Prisma.UserUpdateWithoutUserProclamationsInput - >, - Prisma.UserUncheckedUpdateWithoutUserProclamationsInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserCreateOrConnectWithoutUserProclamationsInput + upsert?: Prisma.UserUpsertWithoutUserProclamationsInput + connect?: Prisma.UserWhereUniqueInput + update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutUserProclamationsInput> +} export type UserCreateNestedOneWithoutLicenseKeysInput = { - create?: Prisma.XOR< - Prisma.UserCreateWithoutLicenseKeysInput, - Prisma.UserUncheckedCreateWithoutLicenseKeysInput - >; - connectOrCreate?: Prisma.UserCreateOrConnectWithoutLicenseKeysInput; - connect?: Prisma.UserWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserCreateOrConnectWithoutLicenseKeysInput + connect?: Prisma.UserWhereUniqueInput +} export type UserUpdateOneRequiredWithoutLicenseKeysNestedInput = { - create?: Prisma.XOR< - Prisma.UserCreateWithoutLicenseKeysInput, - Prisma.UserUncheckedCreateWithoutLicenseKeysInput - >; - connectOrCreate?: Prisma.UserCreateOrConnectWithoutLicenseKeysInput; - upsert?: Prisma.UserUpsertWithoutLicenseKeysInput; - connect?: Prisma.UserWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.UserUpdateToOneWithWhereWithoutLicenseKeysInput, - Prisma.UserUpdateWithoutLicenseKeysInput - >, - Prisma.UserUncheckedUpdateWithoutLicenseKeysInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserCreateOrConnectWithoutLicenseKeysInput + upsert?: Prisma.UserUpsertWithoutLicenseKeysInput + connect?: Prisma.UserWhereUniqueInput + update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutLicenseKeysInput> +} export type UserCreateWithoutProfileInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput; - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput; - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput; - userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput + sessions?: Prisma.SessionCreateNestedManyWithoutUserInput + accounts?: Prisma.AccountCreateNestedManyWithoutUserInput + licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput + userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput +} export type UserUncheckedCreateWithoutProfileInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - roleId?: number | null; - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput; - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput; - userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + roleId?: number | null + sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput + accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput + licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput + userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput +} export type UserCreateOrConnectWithoutProfileInput = { - where: Prisma.UserWhereUniqueInput; - create: Prisma.XOR< - Prisma.UserCreateWithoutProfileInput, - Prisma.UserUncheckedCreateWithoutProfileInput - >; -}; + where: Prisma.UserWhereUniqueInput + create: Prisma.XOR +} export type UserUpsertWithoutProfileInput = { - update: Prisma.XOR< - Prisma.UserUpdateWithoutProfileInput, - Prisma.UserUncheckedUpdateWithoutProfileInput - >; - create: Prisma.XOR< - Prisma.UserCreateWithoutProfileInput, - Prisma.UserUncheckedCreateWithoutProfileInput - >; - where?: Prisma.UserWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.UserWhereInput +} export type UserUpdateToOneWithWhereWithoutProfileInput = { - where?: Prisma.UserWhereInput; - data: Prisma.XOR< - Prisma.UserUpdateWithoutProfileInput, - Prisma.UserUncheckedUpdateWithoutProfileInput - >; -}; + where?: Prisma.UserWhereInput + data: Prisma.XOR +} export type UserUpdateWithoutProfileInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput; - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput; - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput + sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput + accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput +} export type UserUncheckedUpdateWithoutProfileInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput; - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput + accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput +} export type UserCreateWithoutSessionsInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput; - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileCreateNestedOneWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput; - userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput + accounts?: Prisma.AccountCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileCreateNestedOneWithoutUserInput + licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput + userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput +} export type UserUncheckedCreateWithoutSessionsInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - roleId?: number | null; - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput; - userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + roleId?: number | null + accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput + licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput + userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput +} export type UserCreateOrConnectWithoutSessionsInput = { - where: Prisma.UserWhereUniqueInput; - create: Prisma.XOR< - Prisma.UserCreateWithoutSessionsInput, - Prisma.UserUncheckedCreateWithoutSessionsInput - >; -}; + where: Prisma.UserWhereUniqueInput + create: Prisma.XOR +} export type UserUpsertWithoutSessionsInput = { - update: Prisma.XOR< - Prisma.UserUpdateWithoutSessionsInput, - Prisma.UserUncheckedUpdateWithoutSessionsInput - >; - create: Prisma.XOR< - Prisma.UserCreateWithoutSessionsInput, - Prisma.UserUncheckedCreateWithoutSessionsInput - >; - where?: Prisma.UserWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.UserWhereInput +} export type UserUpdateToOneWithWhereWithoutSessionsInput = { - where?: Prisma.UserWhereInput; - data: Prisma.XOR< - Prisma.UserUpdateWithoutSessionsInput, - Prisma.UserUncheckedUpdateWithoutSessionsInput - >; -}; + where?: Prisma.UserWhereInput + data: Prisma.XOR +} export type UserUpdateWithoutSessionsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput; - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput + accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput +} export type UserUncheckedUpdateWithoutSessionsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput +} export type UserCreateWithoutAccountsInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput; - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileCreateNestedOneWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput; - userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput + sessions?: Prisma.SessionCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileCreateNestedOneWithoutUserInput + licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput + userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput +} export type UserUncheckedCreateWithoutAccountsInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - roleId?: number | null; - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput; - userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + roleId?: number | null + sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput + licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput + userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput +} export type UserCreateOrConnectWithoutAccountsInput = { - where: Prisma.UserWhereUniqueInput; - create: Prisma.XOR< - Prisma.UserCreateWithoutAccountsInput, - Prisma.UserUncheckedCreateWithoutAccountsInput - >; -}; + where: Prisma.UserWhereUniqueInput + create: Prisma.XOR +} export type UserUpsertWithoutAccountsInput = { - update: Prisma.XOR< - Prisma.UserUpdateWithoutAccountsInput, - Prisma.UserUncheckedUpdateWithoutAccountsInput - >; - create: Prisma.XOR< - Prisma.UserCreateWithoutAccountsInput, - Prisma.UserUncheckedCreateWithoutAccountsInput - >; - where?: Prisma.UserWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.UserWhereInput +} export type UserUpdateToOneWithWhereWithoutAccountsInput = { - where?: Prisma.UserWhereInput; - data: Prisma.XOR< - Prisma.UserUpdateWithoutAccountsInput, - Prisma.UserUncheckedUpdateWithoutAccountsInput - >; -}; + where?: Prisma.UserWhereInput + data: Prisma.XOR +} export type UserUpdateWithoutAccountsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput; - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput + sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput +} export type UserUncheckedUpdateWithoutAccountsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput +} export type UserCreateWithoutRoleInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput; - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileCreateNestedOneWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput; - userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + sessions?: Prisma.SessionCreateNestedManyWithoutUserInput + accounts?: Prisma.AccountCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileCreateNestedOneWithoutUserInput + licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput + userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput +} export type UserUncheckedCreateWithoutRoleInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput; - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput; - userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput + accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput + licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput + userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput +} export type UserCreateOrConnectWithoutRoleInput = { - where: Prisma.UserWhereUniqueInput; - create: Prisma.XOR; -}; + where: Prisma.UserWhereUniqueInput + create: Prisma.XOR +} export type UserCreateManyRoleInputEnvelope = { - data: Prisma.UserCreateManyRoleInput | Prisma.UserCreateManyRoleInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.UserCreateManyRoleInput | Prisma.UserCreateManyRoleInput[] + skipDuplicates?: boolean +} export type UserUpsertWithWhereUniqueWithoutRoleInput = { - where: Prisma.UserWhereUniqueInput; - update: Prisma.XOR; - create: Prisma.XOR; -}; + where: Prisma.UserWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type UserUpdateWithWhereUniqueWithoutRoleInput = { - where: Prisma.UserWhereUniqueInput; - data: Prisma.XOR; -}; + where: Prisma.UserWhereUniqueInput + data: Prisma.XOR +} export type UserUpdateManyWithWhereWithoutRoleInput = { - where: Prisma.UserScalarWhereInput; - data: Prisma.XOR< - Prisma.UserUpdateManyMutationInput, - Prisma.UserUncheckedUpdateManyWithoutRoleInput - >; -}; + where: Prisma.UserScalarWhereInput + data: Prisma.XOR +} export type UserScalarWhereInput = { - AND?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[]; - OR?: Prisma.UserScalarWhereInput[]; - NOT?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[]; - id?: Prisma.StringFilter<'User'> | string; - name?: Prisma.StringFilter<'User'> | string; - email?: Prisma.StringFilter<'User'> | string; - emailVerified?: Prisma.BoolFilter<'User'> | boolean; - image?: Prisma.StringNullableFilter<'User'> | string | null; - createdAt?: Prisma.DateTimeFilter<'User'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'User'> | Date | string; - roleId?: Prisma.IntNullableFilter<'User'> | number | null; -}; + AND?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[] + OR?: Prisma.UserScalarWhereInput[] + NOT?: Prisma.UserScalarWhereInput | Prisma.UserScalarWhereInput[] + id?: Prisma.StringFilter<"User"> | string + name?: Prisma.StringFilter<"User"> | string + email?: Prisma.StringFilter<"User"> | string + emailVerified?: Prisma.BoolFilter<"User"> | boolean + image?: Prisma.StringNullableFilter<"User"> | string | null + createdAt?: Prisma.DateTimeFilter<"User"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string + roleId?: Prisma.IntNullableFilter<"User"> | number | null +} export type UserCreateWithoutUserProclamationsInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput; - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput; - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileCreateNestedOneWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput + sessions?: Prisma.SessionCreateNestedManyWithoutUserInput + accounts?: Prisma.AccountCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileCreateNestedOneWithoutUserInput + licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput +} export type UserUncheckedCreateWithoutUserProclamationsInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - roleId?: number | null; - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput; - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput; - licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + roleId?: number | null + sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput + accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput + licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput +} export type UserCreateOrConnectWithoutUserProclamationsInput = { - where: Prisma.UserWhereUniqueInput; - create: Prisma.XOR< - Prisma.UserCreateWithoutUserProclamationsInput, - Prisma.UserUncheckedCreateWithoutUserProclamationsInput - >; -}; + where: Prisma.UserWhereUniqueInput + create: Prisma.XOR +} export type UserUpsertWithoutUserProclamationsInput = { - update: Prisma.XOR< - Prisma.UserUpdateWithoutUserProclamationsInput, - Prisma.UserUncheckedUpdateWithoutUserProclamationsInput - >; - create: Prisma.XOR< - Prisma.UserCreateWithoutUserProclamationsInput, - Prisma.UserUncheckedCreateWithoutUserProclamationsInput - >; - where?: Prisma.UserWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.UserWhereInput +} export type UserUpdateToOneWithWhereWithoutUserProclamationsInput = { - where?: Prisma.UserWhereInput; - data: Prisma.XOR< - Prisma.UserUpdateWithoutUserProclamationsInput, - Prisma.UserUncheckedUpdateWithoutUserProclamationsInput - >; -}; + where?: Prisma.UserWhereInput + data: Prisma.XOR +} export type UserUpdateWithoutUserProclamationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput; - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput; - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput + sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput + accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput +} export type UserUncheckedUpdateWithoutUserProclamationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput; - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput + accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput +} export type UserCreateWithoutLicenseKeysInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput; - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput; - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileCreateNestedOneWithoutUserInput; - userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + role?: Prisma.UserRoleCreateNestedOneWithoutUsersInput + sessions?: Prisma.SessionCreateNestedManyWithoutUserInput + accounts?: Prisma.AccountCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileCreateNestedOneWithoutUserInput + userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput +} export type UserUncheckedCreateWithoutLicenseKeysInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; - roleId?: number | null; - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput; - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput; - profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput; - userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string + roleId?: number | null + sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput + accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput + profile?: Prisma.ProfileUncheckedCreateNestedOneWithoutUserInput + userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput +} export type UserCreateOrConnectWithoutLicenseKeysInput = { - where: Prisma.UserWhereUniqueInput; - create: Prisma.XOR< - Prisma.UserCreateWithoutLicenseKeysInput, - Prisma.UserUncheckedCreateWithoutLicenseKeysInput - >; -}; + where: Prisma.UserWhereUniqueInput + create: Prisma.XOR +} export type UserUpsertWithoutLicenseKeysInput = { - update: Prisma.XOR< - Prisma.UserUpdateWithoutLicenseKeysInput, - Prisma.UserUncheckedUpdateWithoutLicenseKeysInput - >; - create: Prisma.XOR< - Prisma.UserCreateWithoutLicenseKeysInput, - Prisma.UserUncheckedCreateWithoutLicenseKeysInput - >; - where?: Prisma.UserWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.UserWhereInput +} export type UserUpdateToOneWithWhereWithoutLicenseKeysInput = { - where?: Prisma.UserWhereInput; - data: Prisma.XOR< - Prisma.UserUpdateWithoutLicenseKeysInput, - Prisma.UserUncheckedUpdateWithoutLicenseKeysInput - >; -}; + where?: Prisma.UserWhereInput + data: Prisma.XOR +} export type UserUpdateWithoutLicenseKeysInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput; - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput; - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + role?: Prisma.UserRoleUpdateOneWithoutUsersNestedInput + sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput + accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput +} export type UserUncheckedUpdateWithoutLicenseKeysInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput; - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + roleId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput + accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput +} export type UserCreateManyRoleInput = { - id: string; - name: string; - email: string; - emailVerified?: boolean; - image?: string | null; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + id: string + name: string + email: string + emailVerified?: boolean + image?: string | null + createdAt?: Date | string + updatedAt?: Date | string +} export type UserUpdateWithoutRoleInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput; - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput + accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUpdateOneWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput +} export type UserUncheckedUpdateWithoutRoleInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput; - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput; - profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput; - licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput; - userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput + accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput + profile?: Prisma.ProfileUncheckedUpdateOneWithoutUserNestedInput + licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput + userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput +} export type UserUncheckedUpdateManyWithoutRoleInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - name?: Prisma.StringFieldUpdateOperationsInput | string; - email?: Prisma.StringFieldUpdateOperationsInput | string; - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean; - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean + image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} + /** * Count Type UserCountOutputType */ export type UserCountOutputType = { - sessions: number; - accounts: number; - licenseKeys: number; - userProclamations: number; -}; + sessions: number + accounts: number + licenseKeys: number + userProclamations: number +} -export type UserCountOutputTypeSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - sessions?: boolean | UserCountOutputTypeCountSessionsArgs; - accounts?: boolean | UserCountOutputTypeCountAccountsArgs; - licenseKeys?: boolean | UserCountOutputTypeCountLicenseKeysArgs; - userProclamations?: boolean | UserCountOutputTypeCountUserProclamationsArgs; -}; +export type UserCountOutputTypeSelect = { + sessions?: boolean | UserCountOutputTypeCountSessionsArgs + accounts?: boolean | UserCountOutputTypeCountAccountsArgs + licenseKeys?: boolean | UserCountOutputTypeCountLicenseKeysArgs + userProclamations?: boolean | UserCountOutputTypeCountUserProclamationsArgs +} /** * UserCountOutputType without action */ -export type UserCountOutputTypeDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserCountOutputType - */ - select?: Prisma.UserCountOutputTypeSelect | null; -}; +export type UserCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the UserCountOutputType + */ + select?: Prisma.UserCountOutputTypeSelect | null +} /** * UserCountOutputType without action */ -export type UserCountOutputTypeCountSessionsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.SessionWhereInput; -}; +export type UserCountOutputTypeCountSessionsArgs = { + where?: Prisma.SessionWhereInput +} /** * UserCountOutputType without action */ -export type UserCountOutputTypeCountAccountsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.AccountWhereInput; -}; +export type UserCountOutputTypeCountAccountsArgs = { + where?: Prisma.AccountWhereInput +} /** * UserCountOutputType without action */ -export type UserCountOutputTypeCountLicenseKeysArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.LicenseKeyWhereInput; -}; +export type UserCountOutputTypeCountLicenseKeysArgs = { + where?: Prisma.LicenseKeyWhereInput +} /** * UserCountOutputType without action */ -export type UserCountOutputTypeCountUserProclamationsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.UserProclamationsWhereInput; -}; +export type UserCountOutputTypeCountUserProclamationsArgs = { + where?: Prisma.UserProclamationsWhereInput +} -export type UserSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - email?: boolean; - emailVerified?: boolean; - image?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - roleId?: boolean; - role?: boolean | Prisma.User$roleArgs; - sessions?: boolean | Prisma.User$sessionsArgs; - accounts?: boolean | Prisma.User$accountsArgs; - profile?: boolean | Prisma.User$profileArgs; - licenseKeys?: boolean | Prisma.User$licenseKeysArgs; - userProclamations?: boolean | Prisma.User$userProclamationsArgs; - _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs; - }, - ExtArgs['result']['user'] ->; -export type UserSelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - email?: boolean; - emailVerified?: boolean; - image?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - roleId?: boolean; - role?: boolean | Prisma.User$roleArgs; - }, - ExtArgs['result']['user'] ->; +export type UserSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + email?: boolean + emailVerified?: boolean + image?: boolean + createdAt?: boolean + updatedAt?: boolean + roleId?: boolean + role?: boolean | Prisma.User$roleArgs + sessions?: boolean | Prisma.User$sessionsArgs + accounts?: boolean | Prisma.User$accountsArgs + profile?: boolean | Prisma.User$profileArgs + licenseKeys?: boolean | Prisma.User$licenseKeysArgs + userProclamations?: boolean | Prisma.User$userProclamationsArgs + _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs +}, ExtArgs["result"]["user"]> -export type UserSelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - email?: boolean; - emailVerified?: boolean; - image?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - roleId?: boolean; - role?: boolean | Prisma.User$roleArgs; - }, - ExtArgs['result']['user'] ->; +export type UserSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + email?: boolean + emailVerified?: boolean + image?: boolean + createdAt?: boolean + updatedAt?: boolean + roleId?: boolean + role?: boolean | Prisma.User$roleArgs +}, ExtArgs["result"]["user"]> + +export type UserSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + email?: boolean + emailVerified?: boolean + image?: boolean + createdAt?: boolean + updatedAt?: boolean + roleId?: boolean + role?: boolean | Prisma.User$roleArgs +}, ExtArgs["result"]["user"]> export type UserSelectScalar = { - id?: boolean; - name?: boolean; - email?: boolean; - emailVerified?: boolean; - image?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - roleId?: boolean; -}; + id?: boolean + name?: boolean + email?: boolean + emailVerified?: boolean + image?: boolean + createdAt?: boolean + updatedAt?: boolean + roleId?: boolean +} -export type UserOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'id' | 'name' | 'email' | 'emailVerified' | 'image' | 'createdAt' | 'updatedAt' | 'roleId', - ExtArgs['result']['user'] ->; -export type UserInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - role?: boolean | Prisma.User$roleArgs; - sessions?: boolean | Prisma.User$sessionsArgs; - accounts?: boolean | Prisma.User$accountsArgs; - profile?: boolean | Prisma.User$profileArgs; - licenseKeys?: boolean | Prisma.User$licenseKeysArgs; - userProclamations?: boolean | Prisma.User$userProclamationsArgs; - _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs; -}; -export type UserIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - role?: boolean | Prisma.User$roleArgs; -}; -export type UserIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - role?: boolean | Prisma.User$roleArgs; -}; +export type UserOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "email" | "emailVerified" | "image" | "createdAt" | "updatedAt" | "roleId", ExtArgs["result"]["user"]> +export type UserInclude = { + role?: boolean | Prisma.User$roleArgs + sessions?: boolean | Prisma.User$sessionsArgs + accounts?: boolean | Prisma.User$accountsArgs + profile?: boolean | Prisma.User$profileArgs + licenseKeys?: boolean | Prisma.User$licenseKeysArgs + userProclamations?: boolean | Prisma.User$userProclamationsArgs + _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs +} +export type UserIncludeCreateManyAndReturn = { + role?: boolean | Prisma.User$roleArgs +} +export type UserIncludeUpdateManyAndReturn = { + role?: boolean | Prisma.User$roleArgs +} -export type $UserPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'User'; - objects: { - role: Prisma.$UserRolePayload | null; - sessions: Prisma.$SessionPayload[]; - accounts: Prisma.$AccountPayload[]; - profile: Prisma.$ProfilePayload | null; - licenseKeys: Prisma.$LicenseKeyPayload[]; - userProclamations: Prisma.$UserProclamationsPayload[]; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: string; - name: string; - email: string; - emailVerified: boolean; - image: string | null; - createdAt: Date; - updatedAt: Date; - roleId: number | null; - }, - ExtArgs['result']['user'] - >; - composites: {}; -}; +export type $UserPayload = { + name: "User" + objects: { + role: Prisma.$UserRolePayload | null + sessions: Prisma.$SessionPayload[] + accounts: Prisma.$AccountPayload[] + profile: Prisma.$ProfilePayload | null + licenseKeys: Prisma.$LicenseKeyPayload[] + userProclamations: Prisma.$UserProclamationsPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + name: string + email: string + emailVerified: boolean + image: string | null + createdAt: Date + updatedAt: Date + roleId: number | null + }, ExtArgs["result"]["user"]> + composites: {} +} -export type UserGetPayload = - runtime.Types.Result.GetResult; +export type UserGetPayload = runtime.Types.Result.GetResult -export type UserCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: UserCountAggregateInputType | true; -}; +export type UserCountArgs = + Omit & { + select?: UserCountAggregateInputType | true + } -export interface UserDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { types: Prisma.TypeMap['model']['User']; meta: { name: 'User' } }; - /** - * Find zero or one User that matches the filter. - * @param {UserFindUniqueArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserClient< - runtime.Types.Result.GetResult< - Prisma.$UserPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface UserDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['User'], meta: { name: 'User' } } + /** + * Find zero or one User that matches the filter. + * @param {UserFindUniqueArgs} args - Arguments to find a User + * @example + * // Get one User + * const user = await prisma.user.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one User that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserClient< - runtime.Types.Result.GetResult< - Prisma.$UserPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one User that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User + * @example + * // Get one User + * const user = await prisma.user.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first User that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserFindFirstArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__UserClient< - runtime.Types.Result.GetResult< - Prisma.$UserPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first User that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserFindFirstArgs} args - Arguments to find a User + * @example + * // Get one User + * const user = await prisma.user.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first User that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserFindFirstOrThrowArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__UserClient< - runtime.Types.Result.GetResult< - Prisma.$UserPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first User that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserFindFirstOrThrowArgs} args - Arguments to find a User + * @example + * // Get one User + * const user = await prisma.user.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more Users that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Users - * const users = await prisma.user.findMany() - * - * // Get first 10 Users - * const users = await prisma.user.findMany({ take: 10 }) - * - * // Only select the `id` - * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult, T, 'findMany', GlobalOmitOptions> - >; + /** + * Find zero or more Users that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Users + * const users = await prisma.user.findMany() + * + * // Get first 10 Users + * const users = await prisma.user.findMany({ take: 10 }) + * + * // Only select the `id` + * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a User. - * @param {UserCreateArgs} args - Arguments to create a User. - * @example - * // Create one User - * const User = await prisma.user.create({ - * data: { - * // ... data to create a User - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserClient< - runtime.Types.Result.GetResult, T, 'create', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a User. + * @param {UserCreateArgs} args - Arguments to create a User. + * @example + * // Create one User + * const User = await prisma.user.create({ + * data: { + * // ... data to create a User + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many Users. - * @param {UserCreateManyArgs} args - Arguments to create many Users. - * @example - * // Create many Users - * const user = await prisma.user.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many Users. + * @param {UserCreateManyArgs} args - Arguments to create many Users. + * @example + * // Create many Users + * const user = await prisma.user.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many Users and returns the data saved in the database. - * @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users. - * @example - * // Create many Users - * const user = await prisma.user.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Users and only return the `id` - * const userWithIdOnly = await prisma.user.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$UserPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many Users and returns the data saved in the database. + * @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users. + * @example + * // Create many Users + * const user = await prisma.user.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Users and only return the `id` + * const userWithIdOnly = await prisma.user.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a User. - * @param {UserDeleteArgs} args - Arguments to delete one User. - * @example - * // Delete one User - * const User = await prisma.user.delete({ - * where: { - * // ... filter to delete one User - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserClient< - runtime.Types.Result.GetResult, T, 'delete', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a User. + * @param {UserDeleteArgs} args - Arguments to delete one User. + * @example + * // Delete one User + * const User = await prisma.user.delete({ + * where: { + * // ... filter to delete one User + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one User. - * @param {UserUpdateArgs} args - Arguments to update one User. - * @example - * // Update one User - * const user = await prisma.user.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserClient< - runtime.Types.Result.GetResult, T, 'update', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one User. + * @param {UserUpdateArgs} args - Arguments to update one User. + * @example + * // Update one User + * const user = await prisma.user.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more Users. - * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete. - * @example - * // Delete a few Users - * const { count } = await prisma.user.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more Users. + * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete. + * @example + * // Delete a few Users + * const { count } = await prisma.user.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Users. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Users - * const user = await prisma.user.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more Users. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Users + * const user = await prisma.user.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Users and returns the data updated in the database. - * @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users. - * @example - * // Update many Users - * const user = await prisma.user.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Users and only return the `id` - * const userWithIdOnly = await prisma.user.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$UserPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more Users and returns the data updated in the database. + * @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users. + * @example + * // Update many Users + * const user = await prisma.user.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Users and only return the `id` + * const userWithIdOnly = await prisma.user.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one User. - * @param {UserUpsertArgs} args - Arguments to update or create a User. - * @example - * // Update or create a User - * const user = await prisma.user.upsert({ - * create: { - * // ... data to create a User - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the User we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserClient< - runtime.Types.Result.GetResult, T, 'upsert', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one User. + * @param {UserUpsertArgs} args - Arguments to update or create a User. + * @example + * // Update or create a User + * const user = await prisma.user.upsert({ + * create: { + * // ... data to create a User + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the User we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of Users. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserCountArgs} args - Arguments to filter Users to count. - * @example - * // Count the number of Users - * const count = await prisma.user.count({ - * where: { - * // ... the filter for the Users we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a User. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of Users. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserCountArgs} args - Arguments to filter Users to count. + * @example + * // Count the number of Users + * const count = await prisma.user.count({ + * where: { + * // ... the filter for the Users we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by User. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends UserGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: UserGroupByArgs['orderBy'] } - : { orderBy?: UserGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors ? GetUserGroupByPayload : Prisma.PrismaPromise; - /** - * Fields of the User model - */ - readonly fields: UserFieldRefs; + /** + * Allows you to perform aggregations operations on a User. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by User. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends UserGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: UserGroupByArgs['orderBy'] } + : { orderBy?: UserGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the User model + */ +readonly fields: UserFieldRefs; } /** @@ -1952,713 +1642,599 @@ export interface UserDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__UserClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - role = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__UserRoleClient< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; - sessions = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$SessionPayload, - T, - 'findMany', - GlobalOmitOptions - > - | Null - >; - accounts = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$AccountPayload, - T, - 'findMany', - GlobalOmitOptions - > - | Null - >; - profile = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__ProfileClient< - runtime.Types.Result.GetResult< - Prisma.$ProfilePayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; - licenseKeys = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$LicenseKeyPayload, - T, - 'findMany', - GlobalOmitOptions - > - | Null - >; - userProclamations = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'findMany', - GlobalOmitOptions - > - | Null - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__UserClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + role = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserRoleClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + sessions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + accounts = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + profile = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProfileClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + licenseKeys = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + userProclamations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the User model */ export interface UserFieldRefs { - readonly id: Prisma.FieldRef<'User', 'String'>; - readonly name: Prisma.FieldRef<'User', 'String'>; - readonly email: Prisma.FieldRef<'User', 'String'>; - readonly emailVerified: Prisma.FieldRef<'User', 'Boolean'>; - readonly image: Prisma.FieldRef<'User', 'String'>; - readonly createdAt: Prisma.FieldRef<'User', 'DateTime'>; - readonly updatedAt: Prisma.FieldRef<'User', 'DateTime'>; - readonly roleId: Prisma.FieldRef<'User', 'Int'>; + readonly id: Prisma.FieldRef<"User", 'String'> + readonly name: Prisma.FieldRef<"User", 'String'> + readonly email: Prisma.FieldRef<"User", 'String'> + readonly emailVerified: Prisma.FieldRef<"User", 'Boolean'> + readonly image: Prisma.FieldRef<"User", 'String'> + readonly createdAt: Prisma.FieldRef<"User", 'DateTime'> + readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'> + readonly roleId: Prisma.FieldRef<"User", 'Int'> } + // Custom InputTypes /** * User findUnique */ -export type UserFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null; - /** - * Filter, which User to fetch. - */ - where: Prisma.UserWhereUniqueInput; -}; +export type UserFindUniqueArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserInclude | null + /** + * Filter, which User to fetch. + */ + where: Prisma.UserWhereUniqueInput +} /** * User findUniqueOrThrow */ -export type UserFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null; - /** - * Filter, which User to fetch. - */ - where: Prisma.UserWhereUniqueInput; -}; +export type UserFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserInclude | null + /** + * Filter, which User to fetch. + */ + where: Prisma.UserWhereUniqueInput +} /** * User findFirst */ -export type UserFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null; - /** - * Filter, which User to fetch. - */ - where?: Prisma.UserWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Users. - */ - cursor?: Prisma.UserWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Users. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Users. - */ - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]; -}; +export type UserFindFirstArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserInclude | null + /** + * Filter, which User to fetch. + */ + where?: Prisma.UserWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Users to fetch. + */ + orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Users. + */ + cursor?: Prisma.UserWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Users from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Users. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Users. + */ + distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] +} /** * User findFirstOrThrow */ -export type UserFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null; - /** - * Filter, which User to fetch. - */ - where?: Prisma.UserWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Users. - */ - cursor?: Prisma.UserWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Users. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Users. - */ - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]; -}; +export type UserFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserInclude | null + /** + * Filter, which User to fetch. + */ + where?: Prisma.UserWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Users to fetch. + */ + orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Users. + */ + cursor?: Prisma.UserWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Users from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Users. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Users. + */ + distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] +} /** * User findMany */ -export type UserFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null; - /** - * Filter, which Users to fetch. - */ - where?: Prisma.UserWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Users. - */ - cursor?: Prisma.UserWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Users. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Users. - */ - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]; -}; +export type UserFindManyArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserInclude | null + /** + * Filter, which Users to fetch. + */ + where?: Prisma.UserWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Users to fetch. + */ + orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing Users. + */ + cursor?: Prisma.UserWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Users from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Users. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Users. + */ + distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] +} /** * User create */ -export type UserCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null; - /** - * The data needed to create a User. - */ - data: Prisma.XOR; -}; +export type UserCreateArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserInclude | null + /** + * The data needed to create a User. + */ + data: Prisma.XOR +} /** * User createMany */ -export type UserCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many Users. - */ - data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type UserCreateManyArgs = { + /** + * The data used to create many Users. + */ + data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] + skipDuplicates?: boolean +} /** * User createManyAndReturn */ -export type UserCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelectCreateManyAndReturn | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * The data used to create many Users. - */ - data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[]; - skipDuplicates?: boolean; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserIncludeCreateManyAndReturn | null; -}; +export type UserCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelectCreateManyAndReturn | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * The data used to create many Users. + */ + data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserIncludeCreateManyAndReturn | null +} /** * User update */ -export type UserUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null; - /** - * The data needed to update a User. - */ - data: Prisma.XOR; - /** - * Choose, which User to update. - */ - where: Prisma.UserWhereUniqueInput; -}; +export type UserUpdateArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserInclude | null + /** + * The data needed to update a User. + */ + data: Prisma.XOR + /** + * Choose, which User to update. + */ + where: Prisma.UserWhereUniqueInput +} /** * User updateMany */ -export type UserUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update Users. - */ - data: Prisma.XOR; - /** - * Filter which Users to update - */ - where?: Prisma.UserWhereInput; - /** - * Limit how many Users to update. - */ - limit?: number; -}; +export type UserUpdateManyArgs = { + /** + * The data used to update Users. + */ + data: Prisma.XOR + /** + * Filter which Users to update + */ + where?: Prisma.UserWhereInput + /** + * Limit how many Users to update. + */ + limit?: number +} /** * User updateManyAndReturn */ -export type UserUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * The data used to update Users. - */ - data: Prisma.XOR; - /** - * Filter which Users to update - */ - where?: Prisma.UserWhereInput; - /** - * Limit how many Users to update. - */ - limit?: number; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserIncludeUpdateManyAndReturn | null; -}; +export type UserUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * The data used to update Users. + */ + data: Prisma.XOR + /** + * Filter which Users to update + */ + where?: Prisma.UserWhereInput + /** + * Limit how many Users to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserIncludeUpdateManyAndReturn | null +} /** * User upsert */ -export type UserUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null; - /** - * The filter to search for the User to update in case it exists. - */ - where: Prisma.UserWhereUniqueInput; - /** - * In case the User found by the `where` argument doesn't exist, create a new User with this data. - */ - create: Prisma.XOR; - /** - * In case the User was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR; -}; +export type UserUpsertArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserInclude | null + /** + * The filter to search for the User to update in case it exists. + */ + where: Prisma.UserWhereUniqueInput + /** + * In case the User found by the `where` argument doesn't exist, create a new User with this data. + */ + create: Prisma.XOR + /** + * In case the User was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * User delete */ -export type UserDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null; - /** - * Filter which User to delete. - */ - where: Prisma.UserWhereUniqueInput; -}; +export type UserDeleteArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserInclude | null + /** + * Filter which User to delete. + */ + where: Prisma.UserWhereUniqueInput +} /** * User deleteMany */ -export type UserDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Users to delete - */ - where?: Prisma.UserWhereInput; - /** - * Limit how many Users to delete. - */ - limit?: number; -}; +export type UserDeleteManyArgs = { + /** + * Filter which Users to delete + */ + where?: Prisma.UserWhereInput + /** + * Limit how many Users to delete. + */ + limit?: number +} /** * User.role */ -export type User$roleArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelect | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserRoleInclude | null; - where?: Prisma.UserRoleWhereInput; -}; +export type User$roleArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelect | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserRoleInclude | null + where?: Prisma.UserRoleWhereInput +} /** * User.sessions */ -export type User$sessionsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null; - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null; - where?: Prisma.SessionWhereInput; - orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[]; - cursor?: Prisma.SessionWhereUniqueInput; - take?: number; - skip?: number; - distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[]; -}; +export type User$sessionsArgs = { + /** + * Select specific fields to fetch from the Session + */ + select?: Prisma.SessionSelect | null + /** + * Omit specific fields from the Session + */ + omit?: Prisma.SessionOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.SessionInclude | null + where?: Prisma.SessionWhereInput + orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[] + cursor?: Prisma.SessionWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[] +} /** * User.accounts */ -export type User$accountsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null; - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null; - where?: Prisma.AccountWhereInput; - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]; - cursor?: Prisma.AccountWhereUniqueInput; - take?: number; - skip?: number; - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]; -}; +export type User$accountsArgs = { + /** + * Select specific fields to fetch from the Account + */ + select?: Prisma.AccountSelect | null + /** + * Omit specific fields from the Account + */ + omit?: Prisma.AccountOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.AccountInclude | null + where?: Prisma.AccountWhereInput + orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] + cursor?: Prisma.AccountWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] +} /** * User.profile */ -export type User$profileArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Profile - */ - select?: Prisma.ProfileSelect | null; - /** - * Omit specific fields from the Profile - */ - omit?: Prisma.ProfileOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProfileInclude | null; - where?: Prisma.ProfileWhereInput; -}; +export type User$profileArgs = { + /** + * Select specific fields to fetch from the Profile + */ + select?: Prisma.ProfileSelect | null + /** + * Omit specific fields from the Profile + */ + omit?: Prisma.ProfileOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.ProfileInclude | null + where?: Prisma.ProfileWhereInput +} /** * User.licenseKeys */ -export type User$licenseKeysArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the LicenseKey - */ - select?: Prisma.LicenseKeySelect | null; - /** - * Omit specific fields from the LicenseKey - */ - omit?: Prisma.LicenseKeyOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.LicenseKeyInclude | null; - where?: Prisma.LicenseKeyWhereInput; - orderBy?: Prisma.LicenseKeyOrderByWithRelationInput | Prisma.LicenseKeyOrderByWithRelationInput[]; - cursor?: Prisma.LicenseKeyWhereUniqueInput; - take?: number; - skip?: number; - distinct?: Prisma.LicenseKeyScalarFieldEnum | Prisma.LicenseKeyScalarFieldEnum[]; -}; +export type User$licenseKeysArgs = { + /** + * Select specific fields to fetch from the LicenseKey + */ + select?: Prisma.LicenseKeySelect | null + /** + * Omit specific fields from the LicenseKey + */ + omit?: Prisma.LicenseKeyOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.LicenseKeyInclude | null + where?: Prisma.LicenseKeyWhereInput + orderBy?: Prisma.LicenseKeyOrderByWithRelationInput | Prisma.LicenseKeyOrderByWithRelationInput[] + cursor?: Prisma.LicenseKeyWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.LicenseKeyScalarFieldEnum | Prisma.LicenseKeyScalarFieldEnum[] +} /** * User.userProclamations */ -export type User$userProclamationsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; - where?: Prisma.UserProclamationsWhereInput; - orderBy?: - | Prisma.UserProclamationsOrderByWithRelationInput - | Prisma.UserProclamationsOrderByWithRelationInput[]; - cursor?: Prisma.UserProclamationsWhereUniqueInput; - take?: number; - skip?: number; - distinct?: Prisma.UserProclamationsScalarFieldEnum | Prisma.UserProclamationsScalarFieldEnum[]; -}; +export type User$userProclamationsArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null + where?: Prisma.UserProclamationsWhereInput + orderBy?: Prisma.UserProclamationsOrderByWithRelationInput | Prisma.UserProclamationsOrderByWithRelationInput[] + cursor?: Prisma.UserProclamationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.UserProclamationsScalarFieldEnum | Prisma.UserProclamationsScalarFieldEnum[] +} /** * User without action */ -export type UserDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null; -}; +export type UserDefaultArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserInclude | null +} diff --git a/src/lib/generated/prisma/models/UserProclamations.ts b/src/lib/generated/prisma/models/UserProclamations.ts index 8a296fa..fe71f04 100644 --- a/src/lib/generated/prisma/models/UserProclamations.ts +++ b/src/lib/generated/prisma/models/UserProclamations.ts @@ -1,1288 +1,971 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `UserProclamations` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model UserProclamations - * + * */ -export type UserProclamationsModel = - runtime.Types.Result.DefaultSelection; +export type UserProclamationsModel = runtime.Types.Result.DefaultSelection export type AggregateUserProclamations = { - _count: UserProclamationsCountAggregateOutputType | null; - _min: UserProclamationsMinAggregateOutputType | null; - _max: UserProclamationsMaxAggregateOutputType | null; -}; + _count: UserProclamationsCountAggregateOutputType | null + _min: UserProclamationsMinAggregateOutputType | null + _max: UserProclamationsMaxAggregateOutputType | null +} export type UserProclamationsMinAggregateOutputType = { - userId: string | null; - proclamationId: string | null; - createdAt: Date | null; - updatedAt: Date | null; -}; + userId: string | null + proclamationId: string | null + createdAt: Date | null + updatedAt: Date | null +} export type UserProclamationsMaxAggregateOutputType = { - userId: string | null; - proclamationId: string | null; - createdAt: Date | null; - updatedAt: Date | null; -}; + userId: string | null + proclamationId: string | null + createdAt: Date | null + updatedAt: Date | null +} export type UserProclamationsCountAggregateOutputType = { - userId: number; - proclamationId: number; - createdAt: number; - updatedAt: number; - _all: number; -}; + userId: number + proclamationId: number + createdAt: number + updatedAt: number + _all: number +} + export type UserProclamationsMinAggregateInputType = { - userId?: true; - proclamationId?: true; - createdAt?: true; - updatedAt?: true; -}; + userId?: true + proclamationId?: true + createdAt?: true + updatedAt?: true +} export type UserProclamationsMaxAggregateInputType = { - userId?: true; - proclamationId?: true; - createdAt?: true; - updatedAt?: true; -}; + userId?: true + proclamationId?: true + createdAt?: true + updatedAt?: true +} export type UserProclamationsCountAggregateInputType = { - userId?: true; - proclamationId?: true; - createdAt?: true; - updatedAt?: true; - _all?: true; -}; + userId?: true + proclamationId?: true + createdAt?: true + updatedAt?: true + _all?: true +} -export type UserProclamationsAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which UserProclamations to aggregate. - */ - where?: Prisma.UserProclamationsWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserProclamations to fetch. - */ - orderBy?: - | Prisma.UserProclamationsOrderByWithRelationInput - | Prisma.UserProclamationsOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.UserProclamationsWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserProclamations from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserProclamations. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned UserProclamations - **/ - _count?: true | UserProclamationsCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: UserProclamationsMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: UserProclamationsMaxAggregateInputType; -}; +export type UserProclamationsAggregateArgs = { + /** + * Filter which UserProclamations to aggregate. + */ + where?: Prisma.UserProclamationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of UserProclamations to fetch. + */ + orderBy?: Prisma.UserProclamationsOrderByWithRelationInput | Prisma.UserProclamationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.UserProclamationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` UserProclamations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` UserProclamations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned UserProclamations + **/ + _count?: true | UserProclamationsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: UserProclamationsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: UserProclamationsMaxAggregateInputType +} export type GetUserProclamationsAggregateType = { - [P in keyof T & keyof AggregateUserProclamations]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateUserProclamations]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type UserProclamationsGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.UserProclamationsWhereInput; - orderBy?: - | Prisma.UserProclamationsOrderByWithAggregationInput - | Prisma.UserProclamationsOrderByWithAggregationInput[]; - by: Prisma.UserProclamationsScalarFieldEnum[] | Prisma.UserProclamationsScalarFieldEnum; - having?: Prisma.UserProclamationsScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: UserProclamationsCountAggregateInputType | true; - _min?: UserProclamationsMinAggregateInputType; - _max?: UserProclamationsMaxAggregateInputType; -}; + + + +export type UserProclamationsGroupByArgs = { + where?: Prisma.UserProclamationsWhereInput + orderBy?: Prisma.UserProclamationsOrderByWithAggregationInput | Prisma.UserProclamationsOrderByWithAggregationInput[] + by: Prisma.UserProclamationsScalarFieldEnum[] | Prisma.UserProclamationsScalarFieldEnum + having?: Prisma.UserProclamationsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: UserProclamationsCountAggregateInputType | true + _min?: UserProclamationsMinAggregateInputType + _max?: UserProclamationsMaxAggregateInputType +} export type UserProclamationsGroupByOutputType = { - userId: string; - proclamationId: string; - createdAt: Date; - updatedAt: Date; - _count: UserProclamationsCountAggregateOutputType | null; - _min: UserProclamationsMinAggregateOutputType | null; - _max: UserProclamationsMaxAggregateOutputType | null; -}; + userId: string + proclamationId: string + createdAt: Date + updatedAt: Date + _count: UserProclamationsCountAggregateOutputType | null + _min: UserProclamationsMinAggregateOutputType | null + _max: UserProclamationsMaxAggregateOutputType | null +} + +export type GetUserProclamationsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof UserProclamationsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + -export type GetUserProclamationsGroupByPayload = - Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof UserProclamationsGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > - >; export type UserProclamationsWhereInput = { - AND?: Prisma.UserProclamationsWhereInput | Prisma.UserProclamationsWhereInput[]; - OR?: Prisma.UserProclamationsWhereInput[]; - NOT?: Prisma.UserProclamationsWhereInput | Prisma.UserProclamationsWhereInput[]; - userId?: Prisma.StringFilter<'UserProclamations'> | string; - proclamationId?: Prisma.StringFilter<'UserProclamations'> | string; - createdAt?: Prisma.DateTimeFilter<'UserProclamations'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'UserProclamations'> | Date | string; - user?: Prisma.XOR; - proclamation?: Prisma.XOR; -}; + AND?: Prisma.UserProclamationsWhereInput | Prisma.UserProclamationsWhereInput[] + OR?: Prisma.UserProclamationsWhereInput[] + NOT?: Prisma.UserProclamationsWhereInput | Prisma.UserProclamationsWhereInput[] + userId?: Prisma.StringFilter<"UserProclamations"> | string + proclamationId?: Prisma.StringFilter<"UserProclamations"> | string + createdAt?: Prisma.DateTimeFilter<"UserProclamations"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"UserProclamations"> | Date | string + user?: Prisma.XOR + proclamation?: Prisma.XOR +} export type UserProclamationsOrderByWithRelationInput = { - userId?: Prisma.SortOrder; - proclamationId?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - user?: Prisma.UserOrderByWithRelationInput; - proclamation?: Prisma.ProclamationOrderByWithRelationInput; -}; + userId?: Prisma.SortOrder + proclamationId?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + user?: Prisma.UserOrderByWithRelationInput + proclamation?: Prisma.ProclamationOrderByWithRelationInput +} -export type UserProclamationsWhereUniqueInput = Prisma.AtLeast< - { - userId_proclamationId?: Prisma.UserProclamationsUserIdProclamationIdCompoundUniqueInput; - AND?: Prisma.UserProclamationsWhereInput | Prisma.UserProclamationsWhereInput[]; - OR?: Prisma.UserProclamationsWhereInput[]; - NOT?: Prisma.UserProclamationsWhereInput | Prisma.UserProclamationsWhereInput[]; - userId?: Prisma.StringFilter<'UserProclamations'> | string; - proclamationId?: Prisma.StringFilter<'UserProclamations'> | string; - createdAt?: Prisma.DateTimeFilter<'UserProclamations'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'UserProclamations'> | Date | string; - user?: Prisma.XOR; - proclamation?: Prisma.XOR< - Prisma.ProclamationScalarRelationFilter, - Prisma.ProclamationWhereInput - >; - }, - 'userId_proclamationId' ->; +export type UserProclamationsWhereUniqueInput = Prisma.AtLeast<{ + userId_proclamationId?: Prisma.UserProclamationsUserIdProclamationIdCompoundUniqueInput + AND?: Prisma.UserProclamationsWhereInput | Prisma.UserProclamationsWhereInput[] + OR?: Prisma.UserProclamationsWhereInput[] + NOT?: Prisma.UserProclamationsWhereInput | Prisma.UserProclamationsWhereInput[] + userId?: Prisma.StringFilter<"UserProclamations"> | string + proclamationId?: Prisma.StringFilter<"UserProclamations"> | string + createdAt?: Prisma.DateTimeFilter<"UserProclamations"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"UserProclamations"> | Date | string + user?: Prisma.XOR + proclamation?: Prisma.XOR +}, "userId_proclamationId"> export type UserProclamationsOrderByWithAggregationInput = { - userId?: Prisma.SortOrder; - proclamationId?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - _count?: Prisma.UserProclamationsCountOrderByAggregateInput; - _max?: Prisma.UserProclamationsMaxOrderByAggregateInput; - _min?: Prisma.UserProclamationsMinOrderByAggregateInput; -}; + userId?: Prisma.SortOrder + proclamationId?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + _count?: Prisma.UserProclamationsCountOrderByAggregateInput + _max?: Prisma.UserProclamationsMaxOrderByAggregateInput + _min?: Prisma.UserProclamationsMinOrderByAggregateInput +} export type UserProclamationsScalarWhereWithAggregatesInput = { - AND?: - | Prisma.UserProclamationsScalarWhereWithAggregatesInput - | Prisma.UserProclamationsScalarWhereWithAggregatesInput[]; - OR?: Prisma.UserProclamationsScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.UserProclamationsScalarWhereWithAggregatesInput - | Prisma.UserProclamationsScalarWhereWithAggregatesInput[]; - userId?: Prisma.StringWithAggregatesFilter<'UserProclamations'> | string; - proclamationId?: Prisma.StringWithAggregatesFilter<'UserProclamations'> | string; - createdAt?: Prisma.DateTimeWithAggregatesFilter<'UserProclamations'> | Date | string; - updatedAt?: Prisma.DateTimeWithAggregatesFilter<'UserProclamations'> | Date | string; -}; + AND?: Prisma.UserProclamationsScalarWhereWithAggregatesInput | Prisma.UserProclamationsScalarWhereWithAggregatesInput[] + OR?: Prisma.UserProclamationsScalarWhereWithAggregatesInput[] + NOT?: Prisma.UserProclamationsScalarWhereWithAggregatesInput | Prisma.UserProclamationsScalarWhereWithAggregatesInput[] + userId?: Prisma.StringWithAggregatesFilter<"UserProclamations"> | string + proclamationId?: Prisma.StringWithAggregatesFilter<"UserProclamations"> | string + createdAt?: Prisma.DateTimeWithAggregatesFilter<"UserProclamations"> | Date | string + updatedAt?: Prisma.DateTimeWithAggregatesFilter<"UserProclamations"> | Date | string +} export type UserProclamationsCreateInput = { - createdAt?: Date | string; - updatedAt?: Date | string; - user: Prisma.UserCreateNestedOneWithoutUserProclamationsInput; - proclamation: Prisma.ProclamationCreateNestedOneWithoutUserProclamationsInput; -}; + createdAt?: Date | string + updatedAt?: Date | string + user: Prisma.UserCreateNestedOneWithoutUserProclamationsInput + proclamation: Prisma.ProclamationCreateNestedOneWithoutUserProclamationsInput +} export type UserProclamationsUncheckedCreateInput = { - userId: string; - proclamationId: string; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + userId: string + proclamationId: string + createdAt?: Date | string + updatedAt?: Date | string +} export type UserProclamationsUpdateInput = { - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - user?: Prisma.UserUpdateOneRequiredWithoutUserProclamationsNestedInput; - proclamation?: Prisma.ProclamationUpdateOneRequiredWithoutUserProclamationsNestedInput; -}; + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + user?: Prisma.UserUpdateOneRequiredWithoutUserProclamationsNestedInput + proclamation?: Prisma.ProclamationUpdateOneRequiredWithoutUserProclamationsNestedInput +} export type UserProclamationsUncheckedUpdateInput = { - userId?: Prisma.StringFieldUpdateOperationsInput | string; - proclamationId?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + userId?: Prisma.StringFieldUpdateOperationsInput | string + proclamationId?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type UserProclamationsCreateManyInput = { - userId: string; - proclamationId: string; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + userId: string + proclamationId: string + createdAt?: Date | string + updatedAt?: Date | string +} export type UserProclamationsUpdateManyMutationInput = { - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type UserProclamationsUncheckedUpdateManyInput = { - userId?: Prisma.StringFieldUpdateOperationsInput | string; - proclamationId?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + userId?: Prisma.StringFieldUpdateOperationsInput | string + proclamationId?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type UserProclamationsListRelationFilter = { - every?: Prisma.UserProclamationsWhereInput; - some?: Prisma.UserProclamationsWhereInput; - none?: Prisma.UserProclamationsWhereInput; -}; + every?: Prisma.UserProclamationsWhereInput + some?: Prisma.UserProclamationsWhereInput + none?: Prisma.UserProclamationsWhereInput +} export type UserProclamationsOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder; -}; + _count?: Prisma.SortOrder +} export type UserProclamationsUserIdProclamationIdCompoundUniqueInput = { - userId: string; - proclamationId: string; -}; + userId: string + proclamationId: string +} export type UserProclamationsCountOrderByAggregateInput = { - userId?: Prisma.SortOrder; - proclamationId?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; -}; + userId?: Prisma.SortOrder + proclamationId?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder +} export type UserProclamationsMaxOrderByAggregateInput = { - userId?: Prisma.SortOrder; - proclamationId?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; -}; + userId?: Prisma.SortOrder + proclamationId?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder +} export type UserProclamationsMinOrderByAggregateInput = { - userId?: Prisma.SortOrder; - proclamationId?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; -}; + userId?: Prisma.SortOrder + proclamationId?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder +} export type UserProclamationsCreateNestedManyWithoutUserInput = { - create?: - | Prisma.XOR< - Prisma.UserProclamationsCreateWithoutUserInput, - Prisma.UserProclamationsUncheckedCreateWithoutUserInput - > - | Prisma.UserProclamationsCreateWithoutUserInput[] - | Prisma.UserProclamationsUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.UserProclamationsCreateOrConnectWithoutUserInput - | Prisma.UserProclamationsCreateOrConnectWithoutUserInput[]; - createMany?: Prisma.UserProclamationsCreateManyUserInputEnvelope; - connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.UserProclamationsCreateWithoutUserInput[] | Prisma.UserProclamationsUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.UserProclamationsCreateOrConnectWithoutUserInput | Prisma.UserProclamationsCreateOrConnectWithoutUserInput[] + createMany?: Prisma.UserProclamationsCreateManyUserInputEnvelope + connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] +} export type UserProclamationsUncheckedCreateNestedManyWithoutUserInput = { - create?: - | Prisma.XOR< - Prisma.UserProclamationsCreateWithoutUserInput, - Prisma.UserProclamationsUncheckedCreateWithoutUserInput - > - | Prisma.UserProclamationsCreateWithoutUserInput[] - | Prisma.UserProclamationsUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.UserProclamationsCreateOrConnectWithoutUserInput - | Prisma.UserProclamationsCreateOrConnectWithoutUserInput[]; - createMany?: Prisma.UserProclamationsCreateManyUserInputEnvelope; - connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.UserProclamationsCreateWithoutUserInput[] | Prisma.UserProclamationsUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.UserProclamationsCreateOrConnectWithoutUserInput | Prisma.UserProclamationsCreateOrConnectWithoutUserInput[] + createMany?: Prisma.UserProclamationsCreateManyUserInputEnvelope + connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] +} export type UserProclamationsUpdateManyWithoutUserNestedInput = { - create?: - | Prisma.XOR< - Prisma.UserProclamationsCreateWithoutUserInput, - Prisma.UserProclamationsUncheckedCreateWithoutUserInput - > - | Prisma.UserProclamationsCreateWithoutUserInput[] - | Prisma.UserProclamationsUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.UserProclamationsCreateOrConnectWithoutUserInput - | Prisma.UserProclamationsCreateOrConnectWithoutUserInput[]; - upsert?: - | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutUserInput - | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutUserInput[]; - createMany?: Prisma.UserProclamationsCreateManyUserInputEnvelope; - set?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - disconnect?: - | Prisma.UserProclamationsWhereUniqueInput - | Prisma.UserProclamationsWhereUniqueInput[]; - delete?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - update?: - | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutUserInput - | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutUserInput[]; - updateMany?: - | Prisma.UserProclamationsUpdateManyWithWhereWithoutUserInput - | Prisma.UserProclamationsUpdateManyWithWhereWithoutUserInput[]; - deleteMany?: - | Prisma.UserProclamationsScalarWhereInput - | Prisma.UserProclamationsScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.UserProclamationsCreateWithoutUserInput[] | Prisma.UserProclamationsUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.UserProclamationsCreateOrConnectWithoutUserInput | Prisma.UserProclamationsCreateOrConnectWithoutUserInput[] + upsert?: Prisma.UserProclamationsUpsertWithWhereUniqueWithoutUserInput | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutUserInput[] + createMany?: Prisma.UserProclamationsCreateManyUserInputEnvelope + set?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + disconnect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + delete?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + update?: Prisma.UserProclamationsUpdateWithWhereUniqueWithoutUserInput | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: Prisma.UserProclamationsUpdateManyWithWhereWithoutUserInput | Prisma.UserProclamationsUpdateManyWithWhereWithoutUserInput[] + deleteMany?: Prisma.UserProclamationsScalarWhereInput | Prisma.UserProclamationsScalarWhereInput[] +} export type UserProclamationsUncheckedUpdateManyWithoutUserNestedInput = { - create?: - | Prisma.XOR< - Prisma.UserProclamationsCreateWithoutUserInput, - Prisma.UserProclamationsUncheckedCreateWithoutUserInput - > - | Prisma.UserProclamationsCreateWithoutUserInput[] - | Prisma.UserProclamationsUncheckedCreateWithoutUserInput[]; - connectOrCreate?: - | Prisma.UserProclamationsCreateOrConnectWithoutUserInput - | Prisma.UserProclamationsCreateOrConnectWithoutUserInput[]; - upsert?: - | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutUserInput - | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutUserInput[]; - createMany?: Prisma.UserProclamationsCreateManyUserInputEnvelope; - set?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - disconnect?: - | Prisma.UserProclamationsWhereUniqueInput - | Prisma.UserProclamationsWhereUniqueInput[]; - delete?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - update?: - | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutUserInput - | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutUserInput[]; - updateMany?: - | Prisma.UserProclamationsUpdateManyWithWhereWithoutUserInput - | Prisma.UserProclamationsUpdateManyWithWhereWithoutUserInput[]; - deleteMany?: - | Prisma.UserProclamationsScalarWhereInput - | Prisma.UserProclamationsScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.UserProclamationsCreateWithoutUserInput[] | Prisma.UserProclamationsUncheckedCreateWithoutUserInput[] + connectOrCreate?: Prisma.UserProclamationsCreateOrConnectWithoutUserInput | Prisma.UserProclamationsCreateOrConnectWithoutUserInput[] + upsert?: Prisma.UserProclamationsUpsertWithWhereUniqueWithoutUserInput | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutUserInput[] + createMany?: Prisma.UserProclamationsCreateManyUserInputEnvelope + set?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + disconnect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + delete?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + update?: Prisma.UserProclamationsUpdateWithWhereUniqueWithoutUserInput | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: Prisma.UserProclamationsUpdateManyWithWhereWithoutUserInput | Prisma.UserProclamationsUpdateManyWithWhereWithoutUserInput[] + deleteMany?: Prisma.UserProclamationsScalarWhereInput | Prisma.UserProclamationsScalarWhereInput[] +} export type UserProclamationsCreateNestedManyWithoutProclamationInput = { - create?: - | Prisma.XOR< - Prisma.UserProclamationsCreateWithoutProclamationInput, - Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput - > - | Prisma.UserProclamationsCreateWithoutProclamationInput[] - | Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput[]; - connectOrCreate?: - | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput - | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput[]; - createMany?: Prisma.UserProclamationsCreateManyProclamationInputEnvelope; - connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.UserProclamationsCreateWithoutProclamationInput[] | Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput[] + connectOrCreate?: Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput[] + createMany?: Prisma.UserProclamationsCreateManyProclamationInputEnvelope + connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] +} export type UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput = { - create?: - | Prisma.XOR< - Prisma.UserProclamationsCreateWithoutProclamationInput, - Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput - > - | Prisma.UserProclamationsCreateWithoutProclamationInput[] - | Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput[]; - connectOrCreate?: - | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput - | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput[]; - createMany?: Prisma.UserProclamationsCreateManyProclamationInputEnvelope; - connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; -}; + create?: Prisma.XOR | Prisma.UserProclamationsCreateWithoutProclamationInput[] | Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput[] + connectOrCreate?: Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput[] + createMany?: Prisma.UserProclamationsCreateManyProclamationInputEnvelope + connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] +} export type UserProclamationsUpdateManyWithoutProclamationNestedInput = { - create?: - | Prisma.XOR< - Prisma.UserProclamationsCreateWithoutProclamationInput, - Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput - > - | Prisma.UserProclamationsCreateWithoutProclamationInput[] - | Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput[]; - connectOrCreate?: - | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput - | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput[]; - upsert?: - | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutProclamationInput - | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutProclamationInput[]; - createMany?: Prisma.UserProclamationsCreateManyProclamationInputEnvelope; - set?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - disconnect?: - | Prisma.UserProclamationsWhereUniqueInput - | Prisma.UserProclamationsWhereUniqueInput[]; - delete?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - update?: - | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutProclamationInput - | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutProclamationInput[]; - updateMany?: - | Prisma.UserProclamationsUpdateManyWithWhereWithoutProclamationInput - | Prisma.UserProclamationsUpdateManyWithWhereWithoutProclamationInput[]; - deleteMany?: - | Prisma.UserProclamationsScalarWhereInput - | Prisma.UserProclamationsScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.UserProclamationsCreateWithoutProclamationInput[] | Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput[] + connectOrCreate?: Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput[] + upsert?: Prisma.UserProclamationsUpsertWithWhereUniqueWithoutProclamationInput | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutProclamationInput[] + createMany?: Prisma.UserProclamationsCreateManyProclamationInputEnvelope + set?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + disconnect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + delete?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + update?: Prisma.UserProclamationsUpdateWithWhereUniqueWithoutProclamationInput | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutProclamationInput[] + updateMany?: Prisma.UserProclamationsUpdateManyWithWhereWithoutProclamationInput | Prisma.UserProclamationsUpdateManyWithWhereWithoutProclamationInput[] + deleteMany?: Prisma.UserProclamationsScalarWhereInput | Prisma.UserProclamationsScalarWhereInput[] +} export type UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput = { - create?: - | Prisma.XOR< - Prisma.UserProclamationsCreateWithoutProclamationInput, - Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput - > - | Prisma.UserProclamationsCreateWithoutProclamationInput[] - | Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput[]; - connectOrCreate?: - | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput - | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput[]; - upsert?: - | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutProclamationInput - | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutProclamationInput[]; - createMany?: Prisma.UserProclamationsCreateManyProclamationInputEnvelope; - set?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - disconnect?: - | Prisma.UserProclamationsWhereUniqueInput - | Prisma.UserProclamationsWhereUniqueInput[]; - delete?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[]; - update?: - | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutProclamationInput - | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutProclamationInput[]; - updateMany?: - | Prisma.UserProclamationsUpdateManyWithWhereWithoutProclamationInput - | Prisma.UserProclamationsUpdateManyWithWhereWithoutProclamationInput[]; - deleteMany?: - | Prisma.UserProclamationsScalarWhereInput - | Prisma.UserProclamationsScalarWhereInput[]; -}; + create?: Prisma.XOR | Prisma.UserProclamationsCreateWithoutProclamationInput[] | Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput[] + connectOrCreate?: Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput | Prisma.UserProclamationsCreateOrConnectWithoutProclamationInput[] + upsert?: Prisma.UserProclamationsUpsertWithWhereUniqueWithoutProclamationInput | Prisma.UserProclamationsUpsertWithWhereUniqueWithoutProclamationInput[] + createMany?: Prisma.UserProclamationsCreateManyProclamationInputEnvelope + set?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + disconnect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + delete?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + connect?: Prisma.UserProclamationsWhereUniqueInput | Prisma.UserProclamationsWhereUniqueInput[] + update?: Prisma.UserProclamationsUpdateWithWhereUniqueWithoutProclamationInput | Prisma.UserProclamationsUpdateWithWhereUniqueWithoutProclamationInput[] + updateMany?: Prisma.UserProclamationsUpdateManyWithWhereWithoutProclamationInput | Prisma.UserProclamationsUpdateManyWithWhereWithoutProclamationInput[] + deleteMany?: Prisma.UserProclamationsScalarWhereInput | Prisma.UserProclamationsScalarWhereInput[] +} export type UserProclamationsCreateWithoutUserInput = { - createdAt?: Date | string; - updatedAt?: Date | string; - proclamation: Prisma.ProclamationCreateNestedOneWithoutUserProclamationsInput; -}; + createdAt?: Date | string + updatedAt?: Date | string + proclamation: Prisma.ProclamationCreateNestedOneWithoutUserProclamationsInput +} export type UserProclamationsUncheckedCreateWithoutUserInput = { - proclamationId: string; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + proclamationId: string + createdAt?: Date | string + updatedAt?: Date | string +} export type UserProclamationsCreateOrConnectWithoutUserInput = { - where: Prisma.UserProclamationsWhereUniqueInput; - create: Prisma.XOR< - Prisma.UserProclamationsCreateWithoutUserInput, - Prisma.UserProclamationsUncheckedCreateWithoutUserInput - >; -}; + where: Prisma.UserProclamationsWhereUniqueInput + create: Prisma.XOR +} export type UserProclamationsCreateManyUserInputEnvelope = { - data: Prisma.UserProclamationsCreateManyUserInput | Prisma.UserProclamationsCreateManyUserInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.UserProclamationsCreateManyUserInput | Prisma.UserProclamationsCreateManyUserInput[] + skipDuplicates?: boolean +} export type UserProclamationsUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.UserProclamationsWhereUniqueInput; - update: Prisma.XOR< - Prisma.UserProclamationsUpdateWithoutUserInput, - Prisma.UserProclamationsUncheckedUpdateWithoutUserInput - >; - create: Prisma.XOR< - Prisma.UserProclamationsCreateWithoutUserInput, - Prisma.UserProclamationsUncheckedCreateWithoutUserInput - >; -}; + where: Prisma.UserProclamationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type UserProclamationsUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.UserProclamationsWhereUniqueInput; - data: Prisma.XOR< - Prisma.UserProclamationsUpdateWithoutUserInput, - Prisma.UserProclamationsUncheckedUpdateWithoutUserInput - >; -}; + where: Prisma.UserProclamationsWhereUniqueInput + data: Prisma.XOR +} export type UserProclamationsUpdateManyWithWhereWithoutUserInput = { - where: Prisma.UserProclamationsScalarWhereInput; - data: Prisma.XOR< - Prisma.UserProclamationsUpdateManyMutationInput, - Prisma.UserProclamationsUncheckedUpdateManyWithoutUserInput - >; -}; + where: Prisma.UserProclamationsScalarWhereInput + data: Prisma.XOR +} export type UserProclamationsScalarWhereInput = { - AND?: Prisma.UserProclamationsScalarWhereInput | Prisma.UserProclamationsScalarWhereInput[]; - OR?: Prisma.UserProclamationsScalarWhereInput[]; - NOT?: Prisma.UserProclamationsScalarWhereInput | Prisma.UserProclamationsScalarWhereInput[]; - userId?: Prisma.StringFilter<'UserProclamations'> | string; - proclamationId?: Prisma.StringFilter<'UserProclamations'> | string; - createdAt?: Prisma.DateTimeFilter<'UserProclamations'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'UserProclamations'> | Date | string; -}; + AND?: Prisma.UserProclamationsScalarWhereInput | Prisma.UserProclamationsScalarWhereInput[] + OR?: Prisma.UserProclamationsScalarWhereInput[] + NOT?: Prisma.UserProclamationsScalarWhereInput | Prisma.UserProclamationsScalarWhereInput[] + userId?: Prisma.StringFilter<"UserProclamations"> | string + proclamationId?: Prisma.StringFilter<"UserProclamations"> | string + createdAt?: Prisma.DateTimeFilter<"UserProclamations"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"UserProclamations"> | Date | string +} export type UserProclamationsCreateWithoutProclamationInput = { - createdAt?: Date | string; - updatedAt?: Date | string; - user: Prisma.UserCreateNestedOneWithoutUserProclamationsInput; -}; + createdAt?: Date | string + updatedAt?: Date | string + user: Prisma.UserCreateNestedOneWithoutUserProclamationsInput +} export type UserProclamationsUncheckedCreateWithoutProclamationInput = { - userId: string; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + userId: string + createdAt?: Date | string + updatedAt?: Date | string +} export type UserProclamationsCreateOrConnectWithoutProclamationInput = { - where: Prisma.UserProclamationsWhereUniqueInput; - create: Prisma.XOR< - Prisma.UserProclamationsCreateWithoutProclamationInput, - Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput - >; -}; + where: Prisma.UserProclamationsWhereUniqueInput + create: Prisma.XOR +} export type UserProclamationsCreateManyProclamationInputEnvelope = { - data: - | Prisma.UserProclamationsCreateManyProclamationInput - | Prisma.UserProclamationsCreateManyProclamationInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.UserProclamationsCreateManyProclamationInput | Prisma.UserProclamationsCreateManyProclamationInput[] + skipDuplicates?: boolean +} export type UserProclamationsUpsertWithWhereUniqueWithoutProclamationInput = { - where: Prisma.UserProclamationsWhereUniqueInput; - update: Prisma.XOR< - Prisma.UserProclamationsUpdateWithoutProclamationInput, - Prisma.UserProclamationsUncheckedUpdateWithoutProclamationInput - >; - create: Prisma.XOR< - Prisma.UserProclamationsCreateWithoutProclamationInput, - Prisma.UserProclamationsUncheckedCreateWithoutProclamationInput - >; -}; + where: Prisma.UserProclamationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type UserProclamationsUpdateWithWhereUniqueWithoutProclamationInput = { - where: Prisma.UserProclamationsWhereUniqueInput; - data: Prisma.XOR< - Prisma.UserProclamationsUpdateWithoutProclamationInput, - Prisma.UserProclamationsUncheckedUpdateWithoutProclamationInput - >; -}; + where: Prisma.UserProclamationsWhereUniqueInput + data: Prisma.XOR +} export type UserProclamationsUpdateManyWithWhereWithoutProclamationInput = { - where: Prisma.UserProclamationsScalarWhereInput; - data: Prisma.XOR< - Prisma.UserProclamationsUpdateManyMutationInput, - Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationInput - >; -}; + where: Prisma.UserProclamationsScalarWhereInput + data: Prisma.XOR +} export type UserProclamationsCreateManyUserInput = { - proclamationId: string; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + proclamationId: string + createdAt?: Date | string + updatedAt?: Date | string +} export type UserProclamationsUpdateWithoutUserInput = { - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - proclamation?: Prisma.ProclamationUpdateOneRequiredWithoutUserProclamationsNestedInput; -}; + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + proclamation?: Prisma.ProclamationUpdateOneRequiredWithoutUserProclamationsNestedInput +} export type UserProclamationsUncheckedUpdateWithoutUserInput = { - proclamationId?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + proclamationId?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type UserProclamationsUncheckedUpdateManyWithoutUserInput = { - proclamationId?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + proclamationId?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type UserProclamationsCreateManyProclamationInput = { - userId: string; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + userId: string + createdAt?: Date | string + updatedAt?: Date | string +} export type UserProclamationsUpdateWithoutProclamationInput = { - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - user?: Prisma.UserUpdateOneRequiredWithoutUserProclamationsNestedInput; -}; + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + user?: Prisma.UserUpdateOneRequiredWithoutUserProclamationsNestedInput +} export type UserProclamationsUncheckedUpdateWithoutProclamationInput = { - userId?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + userId?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type UserProclamationsUncheckedUpdateManyWithoutProclamationInput = { - userId?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + userId?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} -export type UserProclamationsSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - userId?: boolean; - proclamationId?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - proclamation?: boolean | Prisma.ProclamationDefaultArgs; - }, - ExtArgs['result']['userProclamations'] ->; -export type UserProclamationsSelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - userId?: boolean; - proclamationId?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - proclamation?: boolean | Prisma.ProclamationDefaultArgs; - }, - ExtArgs['result']['userProclamations'] ->; -export type UserProclamationsSelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - userId?: boolean; - proclamationId?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - user?: boolean | Prisma.UserDefaultArgs; - proclamation?: boolean | Prisma.ProclamationDefaultArgs; - }, - ExtArgs['result']['userProclamations'] ->; +export type UserProclamationsSelect = runtime.Types.Extensions.GetSelect<{ + userId?: boolean + proclamationId?: boolean + createdAt?: boolean + updatedAt?: boolean + user?: boolean | Prisma.UserDefaultArgs + proclamation?: boolean | Prisma.ProclamationDefaultArgs +}, ExtArgs["result"]["userProclamations"]> + +export type UserProclamationsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + userId?: boolean + proclamationId?: boolean + createdAt?: boolean + updatedAt?: boolean + user?: boolean | Prisma.UserDefaultArgs + proclamation?: boolean | Prisma.ProclamationDefaultArgs +}, ExtArgs["result"]["userProclamations"]> + +export type UserProclamationsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + userId?: boolean + proclamationId?: boolean + createdAt?: boolean + updatedAt?: boolean + user?: boolean | Prisma.UserDefaultArgs + proclamation?: boolean | Prisma.ProclamationDefaultArgs +}, ExtArgs["result"]["userProclamations"]> export type UserProclamationsSelectScalar = { - userId?: boolean; - proclamationId?: boolean; - createdAt?: boolean; - updatedAt?: boolean; -}; + userId?: boolean + proclamationId?: boolean + createdAt?: boolean + updatedAt?: boolean +} -export type UserProclamationsOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'userId' | 'proclamationId' | 'createdAt' | 'updatedAt', - ExtArgs['result']['userProclamations'] ->; -export type UserProclamationsInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; - proclamation?: boolean | Prisma.ProclamationDefaultArgs; -}; -export type UserProclamationsIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; - proclamation?: boolean | Prisma.ProclamationDefaultArgs; -}; -export type UserProclamationsIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - user?: boolean | Prisma.UserDefaultArgs; - proclamation?: boolean | Prisma.ProclamationDefaultArgs; -}; +export type UserProclamationsOmit = runtime.Types.Extensions.GetOmit<"userId" | "proclamationId" | "createdAt" | "updatedAt", ExtArgs["result"]["userProclamations"]> +export type UserProclamationsInclude = { + user?: boolean | Prisma.UserDefaultArgs + proclamation?: boolean | Prisma.ProclamationDefaultArgs +} +export type UserProclamationsIncludeCreateManyAndReturn = { + user?: boolean | Prisma.UserDefaultArgs + proclamation?: boolean | Prisma.ProclamationDefaultArgs +} +export type UserProclamationsIncludeUpdateManyAndReturn = { + user?: boolean | Prisma.UserDefaultArgs + proclamation?: boolean | Prisma.ProclamationDefaultArgs +} -export type $UserProclamationsPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'UserProclamations'; - objects: { - user: Prisma.$UserPayload; - proclamation: Prisma.$ProclamationPayload; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - userId: string; - proclamationId: string; - createdAt: Date; - updatedAt: Date; - }, - ExtArgs['result']['userProclamations'] - >; - composites: {}; -}; +export type $UserProclamationsPayload = { + name: "UserProclamations" + objects: { + user: Prisma.$UserPayload + proclamation: Prisma.$ProclamationPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + userId: string + proclamationId: string + createdAt: Date + updatedAt: Date + }, ExtArgs["result"]["userProclamations"]> + composites: {} +} -export type UserProclamationsGetPayload< - S extends boolean | null | undefined | UserProclamationsDefaultArgs -> = runtime.Types.Result.GetResult; +export type UserProclamationsGetPayload = runtime.Types.Result.GetResult -export type UserProclamationsCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: UserProclamationsCountAggregateInputType | true; -}; +export type UserProclamationsCountArgs = + Omit & { + select?: UserProclamationsCountAggregateInputType | true + } -export interface UserProclamationsDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { - types: Prisma.TypeMap['model']['UserProclamations']; - meta: { name: 'UserProclamations' }; - }; - /** - * Find zero or one UserProclamations that matches the filter. - * @param {UserProclamationsFindUniqueArgs} args - Arguments to find a UserProclamations - * @example - * // Get one UserProclamations - * const userProclamations = await prisma.userProclamations.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserProclamationsClient< - runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface UserProclamationsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['UserProclamations'], meta: { name: 'UserProclamations' } } + /** + * Find zero or one UserProclamations that matches the filter. + * @param {UserProclamationsFindUniqueArgs} args - Arguments to find a UserProclamations + * @example + * // Get one UserProclamations + * const userProclamations = await prisma.userProclamations.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__UserProclamationsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one UserProclamations that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {UserProclamationsFindUniqueOrThrowArgs} args - Arguments to find a UserProclamations - * @example - * // Get one UserProclamations - * const userProclamations = await prisma.userProclamations.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserProclamationsClient< - runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one UserProclamations that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {UserProclamationsFindUniqueOrThrowArgs} args - Arguments to find a UserProclamations + * @example + * // Get one UserProclamations + * const userProclamations = await prisma.userProclamations.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__UserProclamationsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first UserProclamations that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserProclamationsFindFirstArgs} args - Arguments to find a UserProclamations - * @example - * // Get one UserProclamations - * const userProclamations = await prisma.userProclamations.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__UserProclamationsClient< - runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first UserProclamations that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserProclamationsFindFirstArgs} args - Arguments to find a UserProclamations + * @example + * // Get one UserProclamations + * const userProclamations = await prisma.userProclamations.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__UserProclamationsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first UserProclamations that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserProclamationsFindFirstOrThrowArgs} args - Arguments to find a UserProclamations - * @example - * // Get one UserProclamations - * const userProclamations = await prisma.userProclamations.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__UserProclamationsClient< - runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first UserProclamations that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserProclamationsFindFirstOrThrowArgs} args - Arguments to find a UserProclamations + * @example + * // Get one UserProclamations + * const userProclamations = await prisma.userProclamations.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__UserProclamationsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more UserProclamations that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserProclamationsFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all UserProclamations - * const userProclamations = await prisma.userProclamations.findMany() - * - * // Get first 10 UserProclamations - * const userProclamations = await prisma.userProclamations.findMany({ take: 10 }) - * - * // Only select the `userId` - * const userProclamationsWithUserIdOnly = await prisma.userProclamations.findMany({ select: { userId: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more UserProclamations that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserProclamationsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all UserProclamations + * const userProclamations = await prisma.userProclamations.findMany() + * + * // Get first 10 UserProclamations + * const userProclamations = await prisma.userProclamations.findMany({ take: 10 }) + * + * // Only select the `userId` + * const userProclamationsWithUserIdOnly = await prisma.userProclamations.findMany({ select: { userId: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a UserProclamations. - * @param {UserProclamationsCreateArgs} args - Arguments to create a UserProclamations. - * @example - * // Create one UserProclamations - * const UserProclamations = await prisma.userProclamations.create({ - * data: { - * // ... data to create a UserProclamations - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserProclamationsClient< - runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'create', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a UserProclamations. + * @param {UserProclamationsCreateArgs} args - Arguments to create a UserProclamations. + * @example + * // Create one UserProclamations + * const UserProclamations = await prisma.userProclamations.create({ + * data: { + * // ... data to create a UserProclamations + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__UserProclamationsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many UserProclamations. - * @param {UserProclamationsCreateManyArgs} args - Arguments to create many UserProclamations. - * @example - * // Create many UserProclamations - * const userProclamations = await prisma.userProclamations.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many UserProclamations. + * @param {UserProclamationsCreateManyArgs} args - Arguments to create many UserProclamations. + * @example + * // Create many UserProclamations + * const userProclamations = await prisma.userProclamations.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many UserProclamations and returns the data saved in the database. - * @param {UserProclamationsCreateManyAndReturnArgs} args - Arguments to create many UserProclamations. - * @example - * // Create many UserProclamations - * const userProclamations = await prisma.userProclamations.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many UserProclamations and only return the `userId` - * const userProclamationsWithUserIdOnly = await prisma.userProclamations.createManyAndReturn({ - * select: { userId: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many UserProclamations and returns the data saved in the database. + * @param {UserProclamationsCreateManyAndReturnArgs} args - Arguments to create many UserProclamations. + * @example + * // Create many UserProclamations + * const userProclamations = await prisma.userProclamations.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many UserProclamations and only return the `userId` + * const userProclamationsWithUserIdOnly = await prisma.userProclamations.createManyAndReturn({ + * select: { userId: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a UserProclamations. - * @param {UserProclamationsDeleteArgs} args - Arguments to delete one UserProclamations. - * @example - * // Delete one UserProclamations - * const UserProclamations = await prisma.userProclamations.delete({ - * where: { - * // ... filter to delete one UserProclamations - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserProclamationsClient< - runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'delete', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a UserProclamations. + * @param {UserProclamationsDeleteArgs} args - Arguments to delete one UserProclamations. + * @example + * // Delete one UserProclamations + * const UserProclamations = await prisma.userProclamations.delete({ + * where: { + * // ... filter to delete one UserProclamations + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__UserProclamationsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one UserProclamations. - * @param {UserProclamationsUpdateArgs} args - Arguments to update one UserProclamations. - * @example - * // Update one UserProclamations - * const userProclamations = await prisma.userProclamations.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserProclamationsClient< - runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'update', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one UserProclamations. + * @param {UserProclamationsUpdateArgs} args - Arguments to update one UserProclamations. + * @example + * // Update one UserProclamations + * const userProclamations = await prisma.userProclamations.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__UserProclamationsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more UserProclamations. - * @param {UserProclamationsDeleteManyArgs} args - Arguments to filter UserProclamations to delete. - * @example - * // Delete a few UserProclamations - * const { count } = await prisma.userProclamations.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more UserProclamations. + * @param {UserProclamationsDeleteManyArgs} args - Arguments to filter UserProclamations to delete. + * @example + * // Delete a few UserProclamations + * const { count } = await prisma.userProclamations.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more UserProclamations. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserProclamationsUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many UserProclamations - * const userProclamations = await prisma.userProclamations.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more UserProclamations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserProclamationsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many UserProclamations + * const userProclamations = await prisma.userProclamations.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more UserProclamations and returns the data updated in the database. - * @param {UserProclamationsUpdateManyAndReturnArgs} args - Arguments to update many UserProclamations. - * @example - * // Update many UserProclamations - * const userProclamations = await prisma.userProclamations.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more UserProclamations and only return the `userId` - * const userProclamationsWithUserIdOnly = await prisma.userProclamations.updateManyAndReturn({ - * select: { userId: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more UserProclamations and returns the data updated in the database. + * @param {UserProclamationsUpdateManyAndReturnArgs} args - Arguments to update many UserProclamations. + * @example + * // Update many UserProclamations + * const userProclamations = await prisma.userProclamations.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more UserProclamations and only return the `userId` + * const userProclamationsWithUserIdOnly = await prisma.userProclamations.updateManyAndReturn({ + * select: { userId: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one UserProclamations. - * @param {UserProclamationsUpsertArgs} args - Arguments to update or create a UserProclamations. - * @example - * // Update or create a UserProclamations - * const userProclamations = await prisma.userProclamations.upsert({ - * create: { - * // ... data to create a UserProclamations - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the UserProclamations we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserProclamationsClient< - runtime.Types.Result.GetResult< - Prisma.$UserProclamationsPayload, - T, - 'upsert', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one UserProclamations. + * @param {UserProclamationsUpsertArgs} args - Arguments to update or create a UserProclamations. + * @example + * // Update or create a UserProclamations + * const userProclamations = await prisma.userProclamations.upsert({ + * create: { + * // ... data to create a UserProclamations + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the UserProclamations we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__UserProclamationsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of UserProclamations. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserProclamationsCountArgs} args - Arguments to filter UserProclamations to count. - * @example - * // Count the number of UserProclamations - * const count = await prisma.userProclamations.count({ - * where: { - * // ... the filter for the UserProclamations we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a UserProclamations. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserProclamationsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of UserProclamations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserProclamationsCountArgs} args - Arguments to filter UserProclamations to count. + * @example + * // Count the number of UserProclamations + * const count = await prisma.userProclamations.count({ + * where: { + * // ... the filter for the UserProclamations we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by UserProclamations. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserProclamationsGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends UserProclamationsGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: UserProclamationsGroupByArgs['orderBy'] } - : { orderBy?: UserProclamationsGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors - ? GetUserProclamationsGroupByPayload - : Prisma.PrismaPromise; - /** - * Fields of the UserProclamations model - */ - readonly fields: UserProclamationsFieldRefs; + /** + * Allows you to perform aggregations operations on a UserProclamations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserProclamationsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by UserProclamations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserProclamationsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends UserProclamationsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: UserProclamationsGroupByArgs['orderBy'] } + : { orderBy?: UserProclamationsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserProclamationsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the UserProclamations model + */ +readonly fields: UserProclamationsFieldRefs; } /** @@ -1291,543 +974,457 @@ export interface UserProclamationsDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__UserProclamationsClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - user = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__UserClient< - | runtime.Types.Result.GetResult< - Prisma.$UserPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > - | Null, - Null, - ExtArgs, - GlobalOmitOptions - >; - proclamation = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__ProclamationClient< - | runtime.Types.Result.GetResult< - Prisma.$ProclamationPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > - | Null, - Null, - ExtArgs, - GlobalOmitOptions - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__UserProclamationsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + proclamation = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProclamationClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the UserProclamations model */ export interface UserProclamationsFieldRefs { - readonly userId: Prisma.FieldRef<'UserProclamations', 'String'>; - readonly proclamationId: Prisma.FieldRef<'UserProclamations', 'String'>; - readonly createdAt: Prisma.FieldRef<'UserProclamations', 'DateTime'>; - readonly updatedAt: Prisma.FieldRef<'UserProclamations', 'DateTime'>; + readonly userId: Prisma.FieldRef<"UserProclamations", 'String'> + readonly proclamationId: Prisma.FieldRef<"UserProclamations", 'String'> + readonly createdAt: Prisma.FieldRef<"UserProclamations", 'DateTime'> + readonly updatedAt: Prisma.FieldRef<"UserProclamations", 'DateTime'> } + // Custom InputTypes /** * UserProclamations findUnique */ -export type UserProclamationsFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; - /** - * Filter, which UserProclamations to fetch. - */ - where: Prisma.UserProclamationsWhereUniqueInput; -}; +export type UserProclamationsFindUniqueArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null + /** + * Filter, which UserProclamations to fetch. + */ + where: Prisma.UserProclamationsWhereUniqueInput +} /** * UserProclamations findUniqueOrThrow */ -export type UserProclamationsFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; - /** - * Filter, which UserProclamations to fetch. - */ - where: Prisma.UserProclamationsWhereUniqueInput; -}; +export type UserProclamationsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null + /** + * Filter, which UserProclamations to fetch. + */ + where: Prisma.UserProclamationsWhereUniqueInput +} /** * UserProclamations findFirst */ -export type UserProclamationsFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; - /** - * Filter, which UserProclamations to fetch. - */ - where?: Prisma.UserProclamationsWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserProclamations to fetch. - */ - orderBy?: - | Prisma.UserProclamationsOrderByWithRelationInput - | Prisma.UserProclamationsOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for UserProclamations. - */ - cursor?: Prisma.UserProclamationsWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserProclamations from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserProclamations. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserProclamations. - */ - distinct?: Prisma.UserProclamationsScalarFieldEnum | Prisma.UserProclamationsScalarFieldEnum[]; -}; +export type UserProclamationsFindFirstArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null + /** + * Filter, which UserProclamations to fetch. + */ + where?: Prisma.UserProclamationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of UserProclamations to fetch. + */ + orderBy?: Prisma.UserProclamationsOrderByWithRelationInput | Prisma.UserProclamationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for UserProclamations. + */ + cursor?: Prisma.UserProclamationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` UserProclamations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` UserProclamations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of UserProclamations. + */ + distinct?: Prisma.UserProclamationsScalarFieldEnum | Prisma.UserProclamationsScalarFieldEnum[] +} /** * UserProclamations findFirstOrThrow */ -export type UserProclamationsFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; - /** - * Filter, which UserProclamations to fetch. - */ - where?: Prisma.UserProclamationsWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserProclamations to fetch. - */ - orderBy?: - | Prisma.UserProclamationsOrderByWithRelationInput - | Prisma.UserProclamationsOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for UserProclamations. - */ - cursor?: Prisma.UserProclamationsWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserProclamations from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserProclamations. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserProclamations. - */ - distinct?: Prisma.UserProclamationsScalarFieldEnum | Prisma.UserProclamationsScalarFieldEnum[]; -}; +export type UserProclamationsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null + /** + * Filter, which UserProclamations to fetch. + */ + where?: Prisma.UserProclamationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of UserProclamations to fetch. + */ + orderBy?: Prisma.UserProclamationsOrderByWithRelationInput | Prisma.UserProclamationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for UserProclamations. + */ + cursor?: Prisma.UserProclamationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` UserProclamations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` UserProclamations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of UserProclamations. + */ + distinct?: Prisma.UserProclamationsScalarFieldEnum | Prisma.UserProclamationsScalarFieldEnum[] +} /** * UserProclamations findMany */ -export type UserProclamationsFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; - /** - * Filter, which UserProclamations to fetch. - */ - where?: Prisma.UserProclamationsWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserProclamations to fetch. - */ - orderBy?: - | Prisma.UserProclamationsOrderByWithRelationInput - | Prisma.UserProclamationsOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing UserProclamations. - */ - cursor?: Prisma.UserProclamationsWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserProclamations from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserProclamations. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserProclamations. - */ - distinct?: Prisma.UserProclamationsScalarFieldEnum | Prisma.UserProclamationsScalarFieldEnum[]; -}; +export type UserProclamationsFindManyArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null + /** + * Filter, which UserProclamations to fetch. + */ + where?: Prisma.UserProclamationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of UserProclamations to fetch. + */ + orderBy?: Prisma.UserProclamationsOrderByWithRelationInput | Prisma.UserProclamationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing UserProclamations. + */ + cursor?: Prisma.UserProclamationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` UserProclamations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` UserProclamations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of UserProclamations. + */ + distinct?: Prisma.UserProclamationsScalarFieldEnum | Prisma.UserProclamationsScalarFieldEnum[] +} /** * UserProclamations create */ -export type UserProclamationsCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; - /** - * The data needed to create a UserProclamations. - */ - data: Prisma.XOR< - Prisma.UserProclamationsCreateInput, - Prisma.UserProclamationsUncheckedCreateInput - >; -}; +export type UserProclamationsCreateArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null + /** + * The data needed to create a UserProclamations. + */ + data: Prisma.XOR +} /** * UserProclamations createMany */ -export type UserProclamationsCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many UserProclamations. - */ - data: Prisma.UserProclamationsCreateManyInput | Prisma.UserProclamationsCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type UserProclamationsCreateManyArgs = { + /** + * The data used to create many UserProclamations. + */ + data: Prisma.UserProclamationsCreateManyInput | Prisma.UserProclamationsCreateManyInput[] + skipDuplicates?: boolean +} /** * UserProclamations createManyAndReturn */ -export type UserProclamationsCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelectCreateManyAndReturn | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * The data used to create many UserProclamations. - */ - data: Prisma.UserProclamationsCreateManyInput | Prisma.UserProclamationsCreateManyInput[]; - skipDuplicates?: boolean; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsIncludeCreateManyAndReturn | null; -}; +export type UserProclamationsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * The data used to create many UserProclamations. + */ + data: Prisma.UserProclamationsCreateManyInput | Prisma.UserProclamationsCreateManyInput[] + skipDuplicates?: boolean + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsIncludeCreateManyAndReturn | null +} /** * UserProclamations update */ -export type UserProclamationsUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; - /** - * The data needed to update a UserProclamations. - */ - data: Prisma.XOR< - Prisma.UserProclamationsUpdateInput, - Prisma.UserProclamationsUncheckedUpdateInput - >; - /** - * Choose, which UserProclamations to update. - */ - where: Prisma.UserProclamationsWhereUniqueInput; -}; +export type UserProclamationsUpdateArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null + /** + * The data needed to update a UserProclamations. + */ + data: Prisma.XOR + /** + * Choose, which UserProclamations to update. + */ + where: Prisma.UserProclamationsWhereUniqueInput +} /** * UserProclamations updateMany */ -export type UserProclamationsUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update UserProclamations. - */ - data: Prisma.XOR< - Prisma.UserProclamationsUpdateManyMutationInput, - Prisma.UserProclamationsUncheckedUpdateManyInput - >; - /** - * Filter which UserProclamations to update - */ - where?: Prisma.UserProclamationsWhereInput; - /** - * Limit how many UserProclamations to update. - */ - limit?: number; -}; +export type UserProclamationsUpdateManyArgs = { + /** + * The data used to update UserProclamations. + */ + data: Prisma.XOR + /** + * Filter which UserProclamations to update + */ + where?: Prisma.UserProclamationsWhereInput + /** + * Limit how many UserProclamations to update. + */ + limit?: number +} /** * UserProclamations updateManyAndReturn */ -export type UserProclamationsUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * The data used to update UserProclamations. - */ - data: Prisma.XOR< - Prisma.UserProclamationsUpdateManyMutationInput, - Prisma.UserProclamationsUncheckedUpdateManyInput - >; - /** - * Filter which UserProclamations to update - */ - where?: Prisma.UserProclamationsWhereInput; - /** - * Limit how many UserProclamations to update. - */ - limit?: number; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsIncludeUpdateManyAndReturn | null; -}; +export type UserProclamationsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * The data used to update UserProclamations. + */ + data: Prisma.XOR + /** + * Filter which UserProclamations to update + */ + where?: Prisma.UserProclamationsWhereInput + /** + * Limit how many UserProclamations to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsIncludeUpdateManyAndReturn | null +} /** * UserProclamations upsert */ -export type UserProclamationsUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; - /** - * The filter to search for the UserProclamations to update in case it exists. - */ - where: Prisma.UserProclamationsWhereUniqueInput; - /** - * In case the UserProclamations found by the `where` argument doesn't exist, create a new UserProclamations with this data. - */ - create: Prisma.XOR< - Prisma.UserProclamationsCreateInput, - Prisma.UserProclamationsUncheckedCreateInput - >; - /** - * In case the UserProclamations was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR< - Prisma.UserProclamationsUpdateInput, - Prisma.UserProclamationsUncheckedUpdateInput - >; -}; +export type UserProclamationsUpsertArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null + /** + * The filter to search for the UserProclamations to update in case it exists. + */ + where: Prisma.UserProclamationsWhereUniqueInput + /** + * In case the UserProclamations found by the `where` argument doesn't exist, create a new UserProclamations with this data. + */ + create: Prisma.XOR + /** + * In case the UserProclamations was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * UserProclamations delete */ -export type UserProclamationsDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; - /** - * Filter which UserProclamations to delete. - */ - where: Prisma.UserProclamationsWhereUniqueInput; -}; +export type UserProclamationsDeleteArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null + /** + * Filter which UserProclamations to delete. + */ + where: Prisma.UserProclamationsWhereUniqueInput +} /** * UserProclamations deleteMany */ -export type UserProclamationsDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which UserProclamations to delete - */ - where?: Prisma.UserProclamationsWhereInput; - /** - * Limit how many UserProclamations to delete. - */ - limit?: number; -}; +export type UserProclamationsDeleteManyArgs = { + /** + * Filter which UserProclamations to delete + */ + where?: Prisma.UserProclamationsWhereInput + /** + * Limit how many UserProclamations to delete. + */ + limit?: number +} /** * UserProclamations without action */ -export type UserProclamationsDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserProclamations - */ - select?: Prisma.UserProclamationsSelect | null; - /** - * Omit specific fields from the UserProclamations - */ - omit?: Prisma.UserProclamationsOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserProclamationsInclude | null; -}; +export type UserProclamationsDefaultArgs = { + /** + * Select specific fields to fetch from the UserProclamations + */ + select?: Prisma.UserProclamationsSelect | null + /** + * Omit specific fields from the UserProclamations + */ + omit?: Prisma.UserProclamationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserProclamationsInclude | null +} diff --git a/src/lib/generated/prisma/models/UserRole.ts b/src/lib/generated/prisma/models/UserRole.ts index c9af7df..a36461c 100644 --- a/src/lib/generated/prisma/models/UserRole.ts +++ b/src/lib/generated/prisma/models/UserRole.ts @@ -1,1003 +1,808 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `UserRole` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model UserRole - * + * */ -export type UserRoleModel = runtime.Types.Result.DefaultSelection; +export type UserRoleModel = runtime.Types.Result.DefaultSelection export type AggregateUserRole = { - _count: UserRoleCountAggregateOutputType | null; - _avg: UserRoleAvgAggregateOutputType | null; - _sum: UserRoleSumAggregateOutputType | null; - _min: UserRoleMinAggregateOutputType | null; - _max: UserRoleMaxAggregateOutputType | null; -}; + _count: UserRoleCountAggregateOutputType | null + _avg: UserRoleAvgAggregateOutputType | null + _sum: UserRoleSumAggregateOutputType | null + _min: UserRoleMinAggregateOutputType | null + _max: UserRoleMaxAggregateOutputType | null +} export type UserRoleAvgAggregateOutputType = { - id: number | null; -}; + id: number | null +} export type UserRoleSumAggregateOutputType = { - id: number | null; -}; + id: number | null +} export type UserRoleMinAggregateOutputType = { - id: number | null; - name: string | null; -}; + id: number | null + name: string | null +} export type UserRoleMaxAggregateOutputType = { - id: number | null; - name: string | null; -}; + id: number | null + name: string | null +} export type UserRoleCountAggregateOutputType = { - id: number; - name: number; - _all: number; -}; + id: number + name: number + _all: number +} + export type UserRoleAvgAggregateInputType = { - id?: true; -}; + id?: true +} export type UserRoleSumAggregateInputType = { - id?: true; -}; + id?: true +} export type UserRoleMinAggregateInputType = { - id?: true; - name?: true; -}; + id?: true + name?: true +} export type UserRoleMaxAggregateInputType = { - id?: true; - name?: true; -}; + id?: true + name?: true +} export type UserRoleCountAggregateInputType = { - id?: true; - name?: true; - _all?: true; -}; + id?: true + name?: true + _all?: true +} -export type UserRoleAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which UserRole to aggregate. - */ - where?: Prisma.UserRoleWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserRoles to fetch. - */ - orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.UserRoleWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserRoles from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserRoles. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned UserRoles - **/ - _count?: true | UserRoleCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: UserRoleAvgAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: UserRoleSumAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: UserRoleMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: UserRoleMaxAggregateInputType; -}; +export type UserRoleAggregateArgs = { + /** + * Filter which UserRole to aggregate. + */ + where?: Prisma.UserRoleWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of UserRoles to fetch. + */ + orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.UserRoleWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` UserRoles from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` UserRoles. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned UserRoles + **/ + _count?: true | UserRoleCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: UserRoleAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: UserRoleSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: UserRoleMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: UserRoleMaxAggregateInputType +} export type GetUserRoleAggregateType = { - [P in keyof T & keyof AggregateUserRole]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateUserRole]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type UserRoleGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.UserRoleWhereInput; - orderBy?: - | Prisma.UserRoleOrderByWithAggregationInput - | Prisma.UserRoleOrderByWithAggregationInput[]; - by: Prisma.UserRoleScalarFieldEnum[] | Prisma.UserRoleScalarFieldEnum; - having?: Prisma.UserRoleScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: UserRoleCountAggregateInputType | true; - _avg?: UserRoleAvgAggregateInputType; - _sum?: UserRoleSumAggregateInputType; - _min?: UserRoleMinAggregateInputType; - _max?: UserRoleMaxAggregateInputType; -}; + + + +export type UserRoleGroupByArgs = { + where?: Prisma.UserRoleWhereInput + orderBy?: Prisma.UserRoleOrderByWithAggregationInput | Prisma.UserRoleOrderByWithAggregationInput[] + by: Prisma.UserRoleScalarFieldEnum[] | Prisma.UserRoleScalarFieldEnum + having?: Prisma.UserRoleScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: UserRoleCountAggregateInputType | true + _avg?: UserRoleAvgAggregateInputType + _sum?: UserRoleSumAggregateInputType + _min?: UserRoleMinAggregateInputType + _max?: UserRoleMaxAggregateInputType +} export type UserRoleGroupByOutputType = { - id: number; - name: string; - _count: UserRoleCountAggregateOutputType | null; - _avg: UserRoleAvgAggregateOutputType | null; - _sum: UserRoleSumAggregateOutputType | null; - _min: UserRoleMinAggregateOutputType | null; - _max: UserRoleMaxAggregateOutputType | null; -}; + id: number + name: string + _count: UserRoleCountAggregateOutputType | null + _avg: UserRoleAvgAggregateOutputType | null + _sum: UserRoleSumAggregateOutputType | null + _min: UserRoleMinAggregateOutputType | null + _max: UserRoleMaxAggregateOutputType | null +} export type GetUserRoleGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof UserRoleGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > ->; + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof UserRoleGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + export type UserRoleWhereInput = { - AND?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[]; - OR?: Prisma.UserRoleWhereInput[]; - NOT?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[]; - id?: Prisma.IntFilter<'UserRole'> | number; - name?: Prisma.StringFilter<'UserRole'> | string; - users?: Prisma.UserListRelationFilter; -}; + AND?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[] + OR?: Prisma.UserRoleWhereInput[] + NOT?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[] + id?: Prisma.IntFilter<"UserRole"> | number + name?: Prisma.StringFilter<"UserRole"> | string + users?: Prisma.UserListRelationFilter +} export type UserRoleOrderByWithRelationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - users?: Prisma.UserOrderByRelationAggregateInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + users?: Prisma.UserOrderByRelationAggregateInput +} -export type UserRoleWhereUniqueInput = Prisma.AtLeast< - { - id?: number; - AND?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[]; - OR?: Prisma.UserRoleWhereInput[]; - NOT?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[]; - name?: Prisma.StringFilter<'UserRole'> | string; - users?: Prisma.UserListRelationFilter; - }, - 'id' ->; +export type UserRoleWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[] + OR?: Prisma.UserRoleWhereInput[] + NOT?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[] + name?: Prisma.StringFilter<"UserRole"> | string + users?: Prisma.UserListRelationFilter +}, "id"> export type UserRoleOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - _count?: Prisma.UserRoleCountOrderByAggregateInput; - _avg?: Prisma.UserRoleAvgOrderByAggregateInput; - _max?: Prisma.UserRoleMaxOrderByAggregateInput; - _min?: Prisma.UserRoleMinOrderByAggregateInput; - _sum?: Prisma.UserRoleSumOrderByAggregateInput; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + _count?: Prisma.UserRoleCountOrderByAggregateInput + _avg?: Prisma.UserRoleAvgOrderByAggregateInput + _max?: Prisma.UserRoleMaxOrderByAggregateInput + _min?: Prisma.UserRoleMinOrderByAggregateInput + _sum?: Prisma.UserRoleSumOrderByAggregateInput +} export type UserRoleScalarWhereWithAggregatesInput = { - AND?: - | Prisma.UserRoleScalarWhereWithAggregatesInput - | Prisma.UserRoleScalarWhereWithAggregatesInput[]; - OR?: Prisma.UserRoleScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.UserRoleScalarWhereWithAggregatesInput - | Prisma.UserRoleScalarWhereWithAggregatesInput[]; - id?: Prisma.IntWithAggregatesFilter<'UserRole'> | number; - name?: Prisma.StringWithAggregatesFilter<'UserRole'> | string; -}; + AND?: Prisma.UserRoleScalarWhereWithAggregatesInput | Prisma.UserRoleScalarWhereWithAggregatesInput[] + OR?: Prisma.UserRoleScalarWhereWithAggregatesInput[] + NOT?: Prisma.UserRoleScalarWhereWithAggregatesInput | Prisma.UserRoleScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"UserRole"> | number + name?: Prisma.StringWithAggregatesFilter<"UserRole"> | string +} export type UserRoleCreateInput = { - name: string; - users?: Prisma.UserCreateNestedManyWithoutRoleInput; -}; + name: string + users?: Prisma.UserCreateNestedManyWithoutRoleInput +} export type UserRoleUncheckedCreateInput = { - id?: number; - name: string; - users?: Prisma.UserUncheckedCreateNestedManyWithoutRoleInput; -}; + id?: number + name: string + users?: Prisma.UserUncheckedCreateNestedManyWithoutRoleInput +} export type UserRoleUpdateInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - users?: Prisma.UserUpdateManyWithoutRoleNestedInput; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + users?: Prisma.UserUpdateManyWithoutRoleNestedInput +} export type UserRoleUncheckedUpdateInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - users?: Prisma.UserUncheckedUpdateManyWithoutRoleNestedInput; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + users?: Prisma.UserUncheckedUpdateManyWithoutRoleNestedInput +} export type UserRoleCreateManyInput = { - id?: number; - name: string; -}; + id?: number + name: string +} export type UserRoleUpdateManyMutationInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string +} export type UserRoleUncheckedUpdateManyInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string +} export type UserRoleNullableScalarRelationFilter = { - is?: Prisma.UserRoleWhereInput | null; - isNot?: Prisma.UserRoleWhereInput | null; -}; + is?: Prisma.UserRoleWhereInput | null + isNot?: Prisma.UserRoleWhereInput | null +} export type UserRoleCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder +} export type UserRoleAvgOrderByAggregateInput = { - id?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder +} export type UserRoleMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder +} export type UserRoleMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder +} export type UserRoleSumOrderByAggregateInput = { - id?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder +} export type UserRoleCreateNestedOneWithoutUsersInput = { - create?: Prisma.XOR< - Prisma.UserRoleCreateWithoutUsersInput, - Prisma.UserRoleUncheckedCreateWithoutUsersInput - >; - connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutUsersInput; - connect?: Prisma.UserRoleWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutUsersInput + connect?: Prisma.UserRoleWhereUniqueInput +} export type UserRoleUpdateOneWithoutUsersNestedInput = { - create?: Prisma.XOR< - Prisma.UserRoleCreateWithoutUsersInput, - Prisma.UserRoleUncheckedCreateWithoutUsersInput - >; - connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutUsersInput; - upsert?: Prisma.UserRoleUpsertWithoutUsersInput; - disconnect?: Prisma.UserRoleWhereInput | boolean; - delete?: Prisma.UserRoleWhereInput | boolean; - connect?: Prisma.UserRoleWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.UserRoleUpdateToOneWithWhereWithoutUsersInput, - Prisma.UserRoleUpdateWithoutUsersInput - >, - Prisma.UserRoleUncheckedUpdateWithoutUsersInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutUsersInput + upsert?: Prisma.UserRoleUpsertWithoutUsersInput + disconnect?: Prisma.UserRoleWhereInput | boolean + delete?: Prisma.UserRoleWhereInput | boolean + connect?: Prisma.UserRoleWhereUniqueInput + update?: Prisma.XOR, Prisma.UserRoleUncheckedUpdateWithoutUsersInput> +} export type IntFieldUpdateOperationsInput = { - set?: number; - increment?: number; - decrement?: number; - multiply?: number; - divide?: number; -}; + set?: number + increment?: number + decrement?: number + multiply?: number + divide?: number +} export type UserRoleCreateWithoutUsersInput = { - name: string; -}; + name: string +} export type UserRoleUncheckedCreateWithoutUsersInput = { - id?: number; - name: string; -}; + id?: number + name: string +} export type UserRoleCreateOrConnectWithoutUsersInput = { - where: Prisma.UserRoleWhereUniqueInput; - create: Prisma.XOR< - Prisma.UserRoleCreateWithoutUsersInput, - Prisma.UserRoleUncheckedCreateWithoutUsersInput - >; -}; + where: Prisma.UserRoleWhereUniqueInput + create: Prisma.XOR +} export type UserRoleUpsertWithoutUsersInput = { - update: Prisma.XOR< - Prisma.UserRoleUpdateWithoutUsersInput, - Prisma.UserRoleUncheckedUpdateWithoutUsersInput - >; - create: Prisma.XOR< - Prisma.UserRoleCreateWithoutUsersInput, - Prisma.UserRoleUncheckedCreateWithoutUsersInput - >; - where?: Prisma.UserRoleWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.UserRoleWhereInput +} export type UserRoleUpdateToOneWithWhereWithoutUsersInput = { - where?: Prisma.UserRoleWhereInput; - data: Prisma.XOR< - Prisma.UserRoleUpdateWithoutUsersInput, - Prisma.UserRoleUncheckedUpdateWithoutUsersInput - >; -}; + where?: Prisma.UserRoleWhereInput + data: Prisma.XOR +} export type UserRoleUpdateWithoutUsersInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string +} export type UserRoleUncheckedUpdateWithoutUsersInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string +} + /** * Count Type UserRoleCountOutputType */ export type UserRoleCountOutputType = { - users: number; -}; + users: number +} -export type UserRoleCountOutputTypeSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - users?: boolean | UserRoleCountOutputTypeCountUsersArgs; -}; +export type UserRoleCountOutputTypeSelect = { + users?: boolean | UserRoleCountOutputTypeCountUsersArgs +} /** * UserRoleCountOutputType without action */ -export type UserRoleCountOutputTypeDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRoleCountOutputType - */ - select?: Prisma.UserRoleCountOutputTypeSelect | null; -}; +export type UserRoleCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the UserRoleCountOutputType + */ + select?: Prisma.UserRoleCountOutputTypeSelect | null +} /** * UserRoleCountOutputType without action */ -export type UserRoleCountOutputTypeCountUsersArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.UserWhereInput; -}; +export type UserRoleCountOutputTypeCountUsersArgs = { + where?: Prisma.UserWhereInput +} -export type UserRoleSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - users?: boolean | Prisma.UserRole$usersArgs; - _count?: boolean | Prisma.UserRoleCountOutputTypeDefaultArgs; - }, - ExtArgs['result']['userRole'] ->; -export type UserRoleSelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - }, - ExtArgs['result']['userRole'] ->; +export type UserRoleSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + users?: boolean | Prisma.UserRole$usersArgs + _count?: boolean | Prisma.UserRoleCountOutputTypeDefaultArgs +}, ExtArgs["result"]["userRole"]> -export type UserRoleSelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - }, - ExtArgs['result']['userRole'] ->; +export type UserRoleSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean +}, ExtArgs["result"]["userRole"]> + +export type UserRoleSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean +}, ExtArgs["result"]["userRole"]> export type UserRoleSelectScalar = { - id?: boolean; - name?: boolean; -}; + id?: boolean + name?: boolean +} -export type UserRoleOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit<'id' | 'name', ExtArgs['result']['userRole']>; -export type UserRoleInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - users?: boolean | Prisma.UserRole$usersArgs; - _count?: boolean | Prisma.UserRoleCountOutputTypeDefaultArgs; -}; -export type UserRoleIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = {}; -export type UserRoleIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = {}; +export type UserRoleOmit = runtime.Types.Extensions.GetOmit<"id" | "name", ExtArgs["result"]["userRole"]> +export type UserRoleInclude = { + users?: boolean | Prisma.UserRole$usersArgs + _count?: boolean | Prisma.UserRoleCountOutputTypeDefaultArgs +} +export type UserRoleIncludeCreateManyAndReturn = {} +export type UserRoleIncludeUpdateManyAndReturn = {} -export type $UserRolePayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'UserRole'; - objects: { - users: Prisma.$UserPayload[]; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: number; - name: string; - }, - ExtArgs['result']['userRole'] - >; - composites: {}; -}; +export type $UserRolePayload = { + name: "UserRole" + objects: { + users: Prisma.$UserPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + name: string + }, ExtArgs["result"]["userRole"]> + composites: {} +} -export type UserRoleGetPayload = - runtime.Types.Result.GetResult; +export type UserRoleGetPayload = runtime.Types.Result.GetResult -export type UserRoleCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: UserRoleCountAggregateInputType | true; -}; +export type UserRoleCountArgs = + Omit & { + select?: UserRoleCountAggregateInputType | true + } -export interface UserRoleDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { types: Prisma.TypeMap['model']['UserRole']; meta: { name: 'UserRole' } }; - /** - * Find zero or one UserRole that matches the filter. - * @param {UserRoleFindUniqueArgs} args - Arguments to find a UserRole - * @example - * // Get one UserRole - * const userRole = await prisma.userRole.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserRoleClient< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface UserRoleDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['UserRole'], meta: { name: 'UserRole' } } + /** + * Find zero or one UserRole that matches the filter. + * @param {UserRoleFindUniqueArgs} args - Arguments to find a UserRole + * @example + * // Get one UserRole + * const userRole = await prisma.userRole.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__UserRoleClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one UserRole that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {UserRoleFindUniqueOrThrowArgs} args - Arguments to find a UserRole - * @example - * // Get one UserRole - * const userRole = await prisma.userRole.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserRoleClient< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one UserRole that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {UserRoleFindUniqueOrThrowArgs} args - Arguments to find a UserRole + * @example + * // Get one UserRole + * const userRole = await prisma.userRole.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__UserRoleClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first UserRole that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserRoleFindFirstArgs} args - Arguments to find a UserRole - * @example - * // Get one UserRole - * const userRole = await prisma.userRole.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__UserRoleClient< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first UserRole that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserRoleFindFirstArgs} args - Arguments to find a UserRole + * @example + * // Get one UserRole + * const userRole = await prisma.userRole.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__UserRoleClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first UserRole that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserRoleFindFirstOrThrowArgs} args - Arguments to find a UserRole - * @example - * // Get one UserRole - * const userRole = await prisma.userRole.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__UserRoleClient< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first UserRole that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserRoleFindFirstOrThrowArgs} args - Arguments to find a UserRole + * @example + * // Get one UserRole + * const userRole = await prisma.userRole.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__UserRoleClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more UserRoles that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserRoleFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all UserRoles - * const userRoles = await prisma.userRole.findMany() - * - * // Get first 10 UserRoles - * const userRoles = await prisma.userRole.findMany({ take: 10 }) - * - * // Only select the `id` - * const userRoleWithIdOnly = await prisma.userRole.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more UserRoles that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserRoleFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all UserRoles + * const userRoles = await prisma.userRole.findMany() + * + * // Get first 10 UserRoles + * const userRoles = await prisma.userRole.findMany({ take: 10 }) + * + * // Only select the `id` + * const userRoleWithIdOnly = await prisma.userRole.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a UserRole. - * @param {UserRoleCreateArgs} args - Arguments to create a UserRole. - * @example - * // Create one UserRole - * const UserRole = await prisma.userRole.create({ - * data: { - * // ... data to create a UserRole - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserRoleClient< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'create', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a UserRole. + * @param {UserRoleCreateArgs} args - Arguments to create a UserRole. + * @example + * // Create one UserRole + * const UserRole = await prisma.userRole.create({ + * data: { + * // ... data to create a UserRole + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__UserRoleClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many UserRoles. - * @param {UserRoleCreateManyArgs} args - Arguments to create many UserRoles. - * @example - * // Create many UserRoles - * const userRole = await prisma.userRole.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many UserRoles. + * @param {UserRoleCreateManyArgs} args - Arguments to create many UserRoles. + * @example + * // Create many UserRoles + * const userRole = await prisma.userRole.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many UserRoles and returns the data saved in the database. - * @param {UserRoleCreateManyAndReturnArgs} args - Arguments to create many UserRoles. - * @example - * // Create many UserRoles - * const userRole = await prisma.userRole.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many UserRoles and only return the `id` - * const userRoleWithIdOnly = await prisma.userRole.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many UserRoles and returns the data saved in the database. + * @param {UserRoleCreateManyAndReturnArgs} args - Arguments to create many UserRoles. + * @example + * // Create many UserRoles + * const userRole = await prisma.userRole.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many UserRoles and only return the `id` + * const userRoleWithIdOnly = await prisma.userRole.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a UserRole. - * @param {UserRoleDeleteArgs} args - Arguments to delete one UserRole. - * @example - * // Delete one UserRole - * const UserRole = await prisma.userRole.delete({ - * where: { - * // ... filter to delete one UserRole - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserRoleClient< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'delete', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a UserRole. + * @param {UserRoleDeleteArgs} args - Arguments to delete one UserRole. + * @example + * // Delete one UserRole + * const UserRole = await prisma.userRole.delete({ + * where: { + * // ... filter to delete one UserRole + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__UserRoleClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one UserRole. - * @param {UserRoleUpdateArgs} args - Arguments to update one UserRole. - * @example - * // Update one UserRole - * const userRole = await prisma.userRole.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserRoleClient< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'update', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one UserRole. + * @param {UserRoleUpdateArgs} args - Arguments to update one UserRole. + * @example + * // Update one UserRole + * const userRole = await prisma.userRole.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__UserRoleClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more UserRoles. - * @param {UserRoleDeleteManyArgs} args - Arguments to filter UserRoles to delete. - * @example - * // Delete a few UserRoles - * const { count } = await prisma.userRole.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more UserRoles. + * @param {UserRoleDeleteManyArgs} args - Arguments to filter UserRoles to delete. + * @example + * // Delete a few UserRoles + * const { count } = await prisma.userRole.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more UserRoles. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserRoleUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many UserRoles - * const userRole = await prisma.userRole.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more UserRoles. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserRoleUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many UserRoles + * const userRole = await prisma.userRole.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more UserRoles and returns the data updated in the database. - * @param {UserRoleUpdateManyAndReturnArgs} args - Arguments to update many UserRoles. - * @example - * // Update many UserRoles - * const userRole = await prisma.userRole.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more UserRoles and only return the `id` - * const userRoleWithIdOnly = await prisma.userRole.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more UserRoles and returns the data updated in the database. + * @param {UserRoleUpdateManyAndReturnArgs} args - Arguments to update many UserRoles. + * @example + * // Update many UserRoles + * const userRole = await prisma.userRole.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more UserRoles and only return the `id` + * const userRoleWithIdOnly = await prisma.userRole.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one UserRole. - * @param {UserRoleUpsertArgs} args - Arguments to update or create a UserRole. - * @example - * // Update or create a UserRole - * const userRole = await prisma.userRole.upsert({ - * create: { - * // ... data to create a UserRole - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the UserRole we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__UserRoleClient< - runtime.Types.Result.GetResult< - Prisma.$UserRolePayload, - T, - 'upsert', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one UserRole. + * @param {UserRoleUpsertArgs} args - Arguments to update or create a UserRole. + * @example + * // Update or create a UserRole + * const userRole = await prisma.userRole.upsert({ + * create: { + * // ... data to create a UserRole + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the UserRole we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__UserRoleClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of UserRoles. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserRoleCountArgs} args - Arguments to filter UserRoles to count. - * @example - * // Count the number of UserRoles - * const count = await prisma.userRole.count({ - * where: { - * // ... the filter for the UserRoles we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a UserRole. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserRoleAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of UserRoles. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserRoleCountArgs} args - Arguments to filter UserRoles to count. + * @example + * // Count the number of UserRoles + * const count = await prisma.userRole.count({ + * where: { + * // ... the filter for the UserRoles we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by UserRole. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserRoleGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends UserRoleGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: UserRoleGroupByArgs['orderBy'] } - : { orderBy?: UserRoleGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors ? GetUserRoleGroupByPayload : Prisma.PrismaPromise; - /** - * Fields of the UserRole model - */ - readonly fields: UserRoleFieldRefs; + /** + * Allows you to perform aggregations operations on a UserRole. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserRoleAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by UserRole. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserRoleGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends UserRoleGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: UserRoleGroupByArgs['orderBy'] } + : { orderBy?: UserRoleGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserRoleGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the UserRole model + */ +readonly fields: UserRoleFieldRefs; } /** @@ -1006,513 +811,470 @@ export interface UserRoleDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__UserRoleClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - users = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult, T, 'findMany', GlobalOmitOptions> - | Null - >; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__UserRoleClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the UserRole model */ export interface UserRoleFieldRefs { - readonly id: Prisma.FieldRef<'UserRole', 'Int'>; - readonly name: Prisma.FieldRef<'UserRole', 'String'>; + readonly id: Prisma.FieldRef<"UserRole", 'Int'> + readonly name: Prisma.FieldRef<"UserRole", 'String'> } + // Custom InputTypes /** * UserRole findUnique */ -export type UserRoleFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelect | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserRoleInclude | null; - /** - * Filter, which UserRole to fetch. - */ - where: Prisma.UserRoleWhereUniqueInput; -}; +export type UserRoleFindUniqueArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelect | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserRoleInclude | null + /** + * Filter, which UserRole to fetch. + */ + where: Prisma.UserRoleWhereUniqueInput +} /** * UserRole findUniqueOrThrow */ -export type UserRoleFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelect | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserRoleInclude | null; - /** - * Filter, which UserRole to fetch. - */ - where: Prisma.UserRoleWhereUniqueInput; -}; +export type UserRoleFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelect | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserRoleInclude | null + /** + * Filter, which UserRole to fetch. + */ + where: Prisma.UserRoleWhereUniqueInput +} /** * UserRole findFirst */ -export type UserRoleFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelect | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserRoleInclude | null; - /** - * Filter, which UserRole to fetch. - */ - where?: Prisma.UserRoleWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserRoles to fetch. - */ - orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for UserRoles. - */ - cursor?: Prisma.UserRoleWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserRoles from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserRoles. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserRoles. - */ - distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[]; -}; +export type UserRoleFindFirstArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelect | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserRoleInclude | null + /** + * Filter, which UserRole to fetch. + */ + where?: Prisma.UserRoleWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of UserRoles to fetch. + */ + orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for UserRoles. + */ + cursor?: Prisma.UserRoleWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` UserRoles from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` UserRoles. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of UserRoles. + */ + distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[] +} /** * UserRole findFirstOrThrow */ -export type UserRoleFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelect | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserRoleInclude | null; - /** - * Filter, which UserRole to fetch. - */ - where?: Prisma.UserRoleWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserRoles to fetch. - */ - orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for UserRoles. - */ - cursor?: Prisma.UserRoleWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserRoles from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserRoles. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserRoles. - */ - distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[]; -}; +export type UserRoleFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelect | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserRoleInclude | null + /** + * Filter, which UserRole to fetch. + */ + where?: Prisma.UserRoleWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of UserRoles to fetch. + */ + orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for UserRoles. + */ + cursor?: Prisma.UserRoleWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` UserRoles from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` UserRoles. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of UserRoles. + */ + distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[] +} /** * UserRole findMany */ -export type UserRoleFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelect | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserRoleInclude | null; - /** - * Filter, which UserRoles to fetch. - */ - where?: Prisma.UserRoleWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserRoles to fetch. - */ - orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing UserRoles. - */ - cursor?: Prisma.UserRoleWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserRoles from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserRoles. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserRoles. - */ - distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[]; -}; +export type UserRoleFindManyArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelect | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserRoleInclude | null + /** + * Filter, which UserRoles to fetch. + */ + where?: Prisma.UserRoleWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of UserRoles to fetch. + */ + orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing UserRoles. + */ + cursor?: Prisma.UserRoleWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` UserRoles from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` UserRoles. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of UserRoles. + */ + distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[] +} /** * UserRole create */ -export type UserRoleCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelect | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserRoleInclude | null; - /** - * The data needed to create a UserRole. - */ - data: Prisma.XOR; -}; +export type UserRoleCreateArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelect | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserRoleInclude | null + /** + * The data needed to create a UserRole. + */ + data: Prisma.XOR +} /** * UserRole createMany */ -export type UserRoleCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many UserRoles. - */ - data: Prisma.UserRoleCreateManyInput | Prisma.UserRoleCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type UserRoleCreateManyArgs = { + /** + * The data used to create many UserRoles. + */ + data: Prisma.UserRoleCreateManyInput | Prisma.UserRoleCreateManyInput[] + skipDuplicates?: boolean +} /** * UserRole createManyAndReturn */ -export type UserRoleCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelectCreateManyAndReturn | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * The data used to create many UserRoles. - */ - data: Prisma.UserRoleCreateManyInput | Prisma.UserRoleCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type UserRoleCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelectCreateManyAndReturn | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * The data used to create many UserRoles. + */ + data: Prisma.UserRoleCreateManyInput | Prisma.UserRoleCreateManyInput[] + skipDuplicates?: boolean +} /** * UserRole update */ -export type UserRoleUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelect | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserRoleInclude | null; - /** - * The data needed to update a UserRole. - */ - data: Prisma.XOR; - /** - * Choose, which UserRole to update. - */ - where: Prisma.UserRoleWhereUniqueInput; -}; +export type UserRoleUpdateArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelect | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserRoleInclude | null + /** + * The data needed to update a UserRole. + */ + data: Prisma.XOR + /** + * Choose, which UserRole to update. + */ + where: Prisma.UserRoleWhereUniqueInput +} /** * UserRole updateMany */ -export type UserRoleUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update UserRoles. - */ - data: Prisma.XOR; - /** - * Filter which UserRoles to update - */ - where?: Prisma.UserRoleWhereInput; - /** - * Limit how many UserRoles to update. - */ - limit?: number; -}; +export type UserRoleUpdateManyArgs = { + /** + * The data used to update UserRoles. + */ + data: Prisma.XOR + /** + * Filter which UserRoles to update + */ + where?: Prisma.UserRoleWhereInput + /** + * Limit how many UserRoles to update. + */ + limit?: number +} /** * UserRole updateManyAndReturn */ -export type UserRoleUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * The data used to update UserRoles. - */ - data: Prisma.XOR; - /** - * Filter which UserRoles to update - */ - where?: Prisma.UserRoleWhereInput; - /** - * Limit how many UserRoles to update. - */ - limit?: number; -}; +export type UserRoleUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * The data used to update UserRoles. + */ + data: Prisma.XOR + /** + * Filter which UserRoles to update + */ + where?: Prisma.UserRoleWhereInput + /** + * Limit how many UserRoles to update. + */ + limit?: number +} /** * UserRole upsert */ -export type UserRoleUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelect | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserRoleInclude | null; - /** - * The filter to search for the UserRole to update in case it exists. - */ - where: Prisma.UserRoleWhereUniqueInput; - /** - * In case the UserRole found by the `where` argument doesn't exist, create a new UserRole with this data. - */ - create: Prisma.XOR; - /** - * In case the UserRole was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR; -}; +export type UserRoleUpsertArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelect | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserRoleInclude | null + /** + * The filter to search for the UserRole to update in case it exists. + */ + where: Prisma.UserRoleWhereUniqueInput + /** + * In case the UserRole found by the `where` argument doesn't exist, create a new UserRole with this data. + */ + create: Prisma.XOR + /** + * In case the UserRole was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * UserRole delete */ -export type UserRoleDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelect | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserRoleInclude | null; - /** - * Filter which UserRole to delete. - */ - where: Prisma.UserRoleWhereUniqueInput; -}; +export type UserRoleDeleteArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelect | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserRoleInclude | null + /** + * Filter which UserRole to delete. + */ + where: Prisma.UserRoleWhereUniqueInput +} /** * UserRole deleteMany */ -export type UserRoleDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which UserRoles to delete - */ - where?: Prisma.UserRoleWhereInput; - /** - * Limit how many UserRoles to delete. - */ - limit?: number; -}; +export type UserRoleDeleteManyArgs = { + /** + * Filter which UserRoles to delete + */ + where?: Prisma.UserRoleWhereInput + /** + * Limit how many UserRoles to delete. + */ + limit?: number +} /** * UserRole.users */ -export type UserRole$usersArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null; - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null; - where?: Prisma.UserWhereInput; - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]; - cursor?: Prisma.UserWhereUniqueInput; - take?: number; - skip?: number; - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]; -}; +export type UserRole$usersArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: Prisma.UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: Prisma.UserOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserInclude | null + where?: Prisma.UserWhereInput + orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] + cursor?: Prisma.UserWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] +} /** * UserRole without action */ -export type UserRoleDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the UserRole - */ - select?: Prisma.UserRoleSelect | null; - /** - * Omit specific fields from the UserRole - */ - omit?: Prisma.UserRoleOmit | null; - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserRoleInclude | null; -}; +export type UserRoleDefaultArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: Prisma.UserRoleSelect | null + /** + * Omit specific fields from the UserRole + */ + omit?: Prisma.UserRoleOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.UserRoleInclude | null +} diff --git a/src/lib/generated/prisma/models/Verification.ts b/src/lib/generated/prisma/models/Verification.ts index 1f49331..0babd88 100644 --- a/src/lib/generated/prisma/models/Verification.ts +++ b/src/lib/generated/prisma/models/Verification.ts @@ -1,933 +1,766 @@ + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file -// @ts-nocheck +// @ts-nocheck /* * This file exports the `Verification` model and its related types. * * 🟢 You can import this file directly. */ -import type * as runtime from '@prisma/client/runtime/client'; -import type * as $Enums from '../enums.ts'; -import type * as Prisma from '../internal/prismaNamespace.ts'; +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums.ts" +import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model Verification - * + * */ -export type VerificationModel = runtime.Types.Result.DefaultSelection; +export type VerificationModel = runtime.Types.Result.DefaultSelection export type AggregateVerification = { - _count: VerificationCountAggregateOutputType | null; - _min: VerificationMinAggregateOutputType | null; - _max: VerificationMaxAggregateOutputType | null; -}; + _count: VerificationCountAggregateOutputType | null + _min: VerificationMinAggregateOutputType | null + _max: VerificationMaxAggregateOutputType | null +} export type VerificationMinAggregateOutputType = { - id: string | null; - identifier: string | null; - value: string | null; - expiresAt: Date | null; - createdAt: Date | null; - updatedAt: Date | null; -}; + id: string | null + identifier: string | null + value: string | null + expiresAt: Date | null + createdAt: Date | null + updatedAt: Date | null +} export type VerificationMaxAggregateOutputType = { - id: string | null; - identifier: string | null; - value: string | null; - expiresAt: Date | null; - createdAt: Date | null; - updatedAt: Date | null; -}; + id: string | null + identifier: string | null + value: string | null + expiresAt: Date | null + createdAt: Date | null + updatedAt: Date | null +} export type VerificationCountAggregateOutputType = { - id: number; - identifier: number; - value: number; - expiresAt: number; - createdAt: number; - updatedAt: number; - _all: number; -}; + id: number + identifier: number + value: number + expiresAt: number + createdAt: number + updatedAt: number + _all: number +} + export type VerificationMinAggregateInputType = { - id?: true; - identifier?: true; - value?: true; - expiresAt?: true; - createdAt?: true; - updatedAt?: true; -}; + id?: true + identifier?: true + value?: true + expiresAt?: true + createdAt?: true + updatedAt?: true +} export type VerificationMaxAggregateInputType = { - id?: true; - identifier?: true; - value?: true; - expiresAt?: true; - createdAt?: true; - updatedAt?: true; -}; + id?: true + identifier?: true + value?: true + expiresAt?: true + createdAt?: true + updatedAt?: true +} export type VerificationCountAggregateInputType = { - id?: true; - identifier?: true; - value?: true; - expiresAt?: true; - createdAt?: true; - updatedAt?: true; - _all?: true; -}; + id?: true + identifier?: true + value?: true + expiresAt?: true + createdAt?: true + updatedAt?: true + _all?: true +} -export type VerificationAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Verification to aggregate. - */ - where?: Prisma.VerificationWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Verifications to fetch. - */ - orderBy?: - | Prisma.VerificationOrderByWithRelationInput - | Prisma.VerificationOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.VerificationWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Verifications from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Verifications. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Verifications - **/ - _count?: true | VerificationCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: VerificationMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: VerificationMaxAggregateInputType; -}; +export type VerificationAggregateArgs = { + /** + * Filter which Verification to aggregate. + */ + where?: Prisma.VerificationWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Verifications to fetch. + */ + orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.VerificationWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Verifications from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Verifications. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned Verifications + **/ + _count?: true | VerificationCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: VerificationMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: VerificationMaxAggregateInputType +} export type GetVerificationAggregateType = { - [P in keyof T & keyof AggregateVerification]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateVerification]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type VerificationGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.VerificationWhereInput; - orderBy?: - | Prisma.VerificationOrderByWithAggregationInput - | Prisma.VerificationOrderByWithAggregationInput[]; - by: Prisma.VerificationScalarFieldEnum[] | Prisma.VerificationScalarFieldEnum; - having?: Prisma.VerificationScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: VerificationCountAggregateInputType | true; - _min?: VerificationMinAggregateInputType; - _max?: VerificationMaxAggregateInputType; -}; + + + +export type VerificationGroupByArgs = { + where?: Prisma.VerificationWhereInput + orderBy?: Prisma.VerificationOrderByWithAggregationInput | Prisma.VerificationOrderByWithAggregationInput[] + by: Prisma.VerificationScalarFieldEnum[] | Prisma.VerificationScalarFieldEnum + having?: Prisma.VerificationScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: VerificationCountAggregateInputType | true + _min?: VerificationMinAggregateInputType + _max?: VerificationMaxAggregateInputType +} export type VerificationGroupByOutputType = { - id: string; - identifier: string; - value: string; - expiresAt: Date; - createdAt: Date; - updatedAt: Date; - _count: VerificationCountAggregateOutputType | null; - _min: VerificationMinAggregateOutputType | null; - _max: VerificationMaxAggregateOutputType | null; -}; + id: string + identifier: string + value: string + expiresAt: Date + createdAt: Date + updatedAt: Date + _count: VerificationCountAggregateOutputType | null + _min: VerificationMinAggregateOutputType | null + _max: VerificationMaxAggregateOutputType | null +} export type GetVerificationGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof VerificationGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > ->; + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof VerificationGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + export type VerificationWhereInput = { - AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]; - OR?: Prisma.VerificationWhereInput[]; - NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]; - id?: Prisma.StringFilter<'Verification'> | string; - identifier?: Prisma.StringFilter<'Verification'> | string; - value?: Prisma.StringFilter<'Verification'> | string; - expiresAt?: Prisma.DateTimeFilter<'Verification'> | Date | string; - createdAt?: Prisma.DateTimeFilter<'Verification'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'Verification'> | Date | string; -}; + AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[] + OR?: Prisma.VerificationWhereInput[] + NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[] + id?: Prisma.StringFilter<"Verification"> | string + identifier?: Prisma.StringFilter<"Verification"> | string + value?: Prisma.StringFilter<"Verification"> | string + expiresAt?: Prisma.DateTimeFilter<"Verification"> | Date | string + createdAt?: Prisma.DateTimeFilter<"Verification"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"Verification"> | Date | string +} export type VerificationOrderByWithRelationInput = { - id?: Prisma.SortOrder; - identifier?: Prisma.SortOrder; - value?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + identifier?: Prisma.SortOrder + value?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder +} -export type VerificationWhereUniqueInput = Prisma.AtLeast< - { - id?: string; - AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]; - OR?: Prisma.VerificationWhereInput[]; - NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]; - identifier?: Prisma.StringFilter<'Verification'> | string; - value?: Prisma.StringFilter<'Verification'> | string; - expiresAt?: Prisma.DateTimeFilter<'Verification'> | Date | string; - createdAt?: Prisma.DateTimeFilter<'Verification'> | Date | string; - updatedAt?: Prisma.DateTimeFilter<'Verification'> | Date | string; - }, - 'id' ->; +export type VerificationWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[] + OR?: Prisma.VerificationWhereInput[] + NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[] + identifier?: Prisma.StringFilter<"Verification"> | string + value?: Prisma.StringFilter<"Verification"> | string + expiresAt?: Prisma.DateTimeFilter<"Verification"> | Date | string + createdAt?: Prisma.DateTimeFilter<"Verification"> | Date | string + updatedAt?: Prisma.DateTimeFilter<"Verification"> | Date | string +}, "id"> export type VerificationOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - identifier?: Prisma.SortOrder; - value?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; - _count?: Prisma.VerificationCountOrderByAggregateInput; - _max?: Prisma.VerificationMaxOrderByAggregateInput; - _min?: Prisma.VerificationMinOrderByAggregateInput; -}; + id?: Prisma.SortOrder + identifier?: Prisma.SortOrder + value?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder + _count?: Prisma.VerificationCountOrderByAggregateInput + _max?: Prisma.VerificationMaxOrderByAggregateInput + _min?: Prisma.VerificationMinOrderByAggregateInput +} export type VerificationScalarWhereWithAggregatesInput = { - AND?: - | Prisma.VerificationScalarWhereWithAggregatesInput - | Prisma.VerificationScalarWhereWithAggregatesInput[]; - OR?: Prisma.VerificationScalarWhereWithAggregatesInput[]; - NOT?: - | Prisma.VerificationScalarWhereWithAggregatesInput - | Prisma.VerificationScalarWhereWithAggregatesInput[]; - id?: Prisma.StringWithAggregatesFilter<'Verification'> | string; - identifier?: Prisma.StringWithAggregatesFilter<'Verification'> | string; - value?: Prisma.StringWithAggregatesFilter<'Verification'> | string; - expiresAt?: Prisma.DateTimeWithAggregatesFilter<'Verification'> | Date | string; - createdAt?: Prisma.DateTimeWithAggregatesFilter<'Verification'> | Date | string; - updatedAt?: Prisma.DateTimeWithAggregatesFilter<'Verification'> | Date | string; -}; + AND?: Prisma.VerificationScalarWhereWithAggregatesInput | Prisma.VerificationScalarWhereWithAggregatesInput[] + OR?: Prisma.VerificationScalarWhereWithAggregatesInput[] + NOT?: Prisma.VerificationScalarWhereWithAggregatesInput | Prisma.VerificationScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"Verification"> | string + identifier?: Prisma.StringWithAggregatesFilter<"Verification"> | string + value?: Prisma.StringWithAggregatesFilter<"Verification"> | string + expiresAt?: Prisma.DateTimeWithAggregatesFilter<"Verification"> | Date | string + createdAt?: Prisma.DateTimeWithAggregatesFilter<"Verification"> | Date | string + updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Verification"> | Date | string +} export type VerificationCreateInput = { - id: string; - identifier: string; - value: string; - expiresAt: Date | string; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + id: string + identifier: string + value: string + expiresAt: Date | string + createdAt?: Date | string + updatedAt?: Date | string +} export type VerificationUncheckedCreateInput = { - id: string; - identifier: string; - value: string; - expiresAt: Date | string; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + id: string + identifier: string + value: string + expiresAt: Date | string + createdAt?: Date | string + updatedAt?: Date | string +} export type VerificationUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - identifier?: Prisma.StringFieldUpdateOperationsInput | string; - value?: Prisma.StringFieldUpdateOperationsInput | string; - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + identifier?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.StringFieldUpdateOperationsInput | string + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type VerificationUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - identifier?: Prisma.StringFieldUpdateOperationsInput | string; - value?: Prisma.StringFieldUpdateOperationsInput | string; - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + identifier?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.StringFieldUpdateOperationsInput | string + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type VerificationCreateManyInput = { - id: string; - identifier: string; - value: string; - expiresAt: Date | string; - createdAt?: Date | string; - updatedAt?: Date | string; -}; + id: string + identifier: string + value: string + expiresAt: Date | string + createdAt?: Date | string + updatedAt?: Date | string +} export type VerificationUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - identifier?: Prisma.StringFieldUpdateOperationsInput | string; - value?: Prisma.StringFieldUpdateOperationsInput | string; - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + identifier?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.StringFieldUpdateOperationsInput | string + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type VerificationUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - identifier?: Prisma.StringFieldUpdateOperationsInput | string; - value?: Prisma.StringFieldUpdateOperationsInput | string; - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + identifier?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.StringFieldUpdateOperationsInput | string + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string +} export type VerificationCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - identifier?: Prisma.SortOrder; - value?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + identifier?: Prisma.SortOrder + value?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder +} export type VerificationMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - identifier?: Prisma.SortOrder; - value?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + identifier?: Prisma.SortOrder + value?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder +} export type VerificationMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - identifier?: Prisma.SortOrder; - value?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - updatedAt?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + identifier?: Prisma.SortOrder + value?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + updatedAt?: Prisma.SortOrder +} -export type VerificationSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - identifier?: boolean; - value?: boolean; - expiresAt?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - }, - ExtArgs['result']['verification'] ->; -export type VerificationSelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - identifier?: boolean; - value?: boolean; - expiresAt?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - }, - ExtArgs['result']['verification'] ->; -export type VerificationSelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - identifier?: boolean; - value?: boolean; - expiresAt?: boolean; - createdAt?: boolean; - updatedAt?: boolean; - }, - ExtArgs['result']['verification'] ->; +export type VerificationSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + identifier?: boolean + value?: boolean + expiresAt?: boolean + createdAt?: boolean + updatedAt?: boolean +}, ExtArgs["result"]["verification"]> + +export type VerificationSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + identifier?: boolean + value?: boolean + expiresAt?: boolean + createdAt?: boolean + updatedAt?: boolean +}, ExtArgs["result"]["verification"]> + +export type VerificationSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + identifier?: boolean + value?: boolean + expiresAt?: boolean + createdAt?: boolean + updatedAt?: boolean +}, ExtArgs["result"]["verification"]> export type VerificationSelectScalar = { - id?: boolean; - identifier?: boolean; - value?: boolean; - expiresAt?: boolean; - createdAt?: boolean; - updatedAt?: boolean; -}; + id?: boolean + identifier?: boolean + value?: boolean + expiresAt?: boolean + createdAt?: boolean + updatedAt?: boolean +} -export type VerificationOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'id' | 'identifier' | 'value' | 'expiresAt' | 'createdAt' | 'updatedAt', - ExtArgs['result']['verification'] ->; +export type VerificationOmit = runtime.Types.Extensions.GetOmit<"id" | "identifier" | "value" | "expiresAt" | "createdAt" | "updatedAt", ExtArgs["result"]["verification"]> -export type $VerificationPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'Verification'; - objects: {}; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: string; - identifier: string; - value: string; - expiresAt: Date; - createdAt: Date; - updatedAt: Date; - }, - ExtArgs['result']['verification'] - >; - composites: {}; -}; +export type $VerificationPayload = { + name: "Verification" + objects: {} + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + identifier: string + value: string + expiresAt: Date + createdAt: Date + updatedAt: Date + }, ExtArgs["result"]["verification"]> + composites: {} +} -export type VerificationGetPayload = - runtime.Types.Result.GetResult; +export type VerificationGetPayload = runtime.Types.Result.GetResult -export type VerificationCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: VerificationCountAggregateInputType | true; -}; +export type VerificationCountArgs = + Omit & { + select?: VerificationCountAggregateInputType | true + } -export interface VerificationDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { - types: Prisma.TypeMap['model']['Verification']; - meta: { name: 'Verification' }; - }; - /** - * Find zero or one Verification that matches the filter. - * @param {VerificationFindUniqueArgs} args - Arguments to find a Verification - * @example - * // Get one Verification - * const verification = await prisma.verification.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__VerificationClient< - runtime.Types.Result.GetResult< - Prisma.$VerificationPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface VerificationDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['Verification'], meta: { name: 'Verification' } } + /** + * Find zero or one Verification that matches the filter. + * @param {VerificationFindUniqueArgs} args - Arguments to find a Verification + * @example + * // Get one Verification + * const verification = await prisma.verification.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one Verification that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {VerificationFindUniqueOrThrowArgs} args - Arguments to find a Verification - * @example - * // Get one Verification - * const verification = await prisma.verification.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__VerificationClient< - runtime.Types.Result.GetResult< - Prisma.$VerificationPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one Verification that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {VerificationFindUniqueOrThrowArgs} args - Arguments to find a Verification + * @example + * // Get one Verification + * const verification = await prisma.verification.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first Verification that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationFindFirstArgs} args - Arguments to find a Verification - * @example - * // Get one Verification - * const verification = await prisma.verification.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__VerificationClient< - runtime.Types.Result.GetResult< - Prisma.$VerificationPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Verification that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VerificationFindFirstArgs} args - Arguments to find a Verification + * @example + * // Get one Verification + * const verification = await prisma.verification.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first Verification that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationFindFirstOrThrowArgs} args - Arguments to find a Verification - * @example - * // Get one Verification - * const verification = await prisma.verification.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__VerificationClient< - runtime.Types.Result.GetResult< - Prisma.$VerificationPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first Verification that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VerificationFindFirstOrThrowArgs} args - Arguments to find a Verification + * @example + * // Get one Verification + * const verification = await prisma.verification.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more Verifications that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Verifications - * const verifications = await prisma.verification.findMany() - * - * // Get first 10 Verifications - * const verifications = await prisma.verification.findMany({ take: 10 }) - * - * // Only select the `id` - * const verificationWithIdOnly = await prisma.verification.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$VerificationPayload, - T, - 'findMany', - GlobalOmitOptions - > - >; + /** + * Find zero or more Verifications that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VerificationFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Verifications + * const verifications = await prisma.verification.findMany() + * + * // Get first 10 Verifications + * const verifications = await prisma.verification.findMany({ take: 10 }) + * + * // Only select the `id` + * const verificationWithIdOnly = await prisma.verification.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a Verification. - * @param {VerificationCreateArgs} args - Arguments to create a Verification. - * @example - * // Create one Verification - * const Verification = await prisma.verification.create({ - * data: { - * // ... data to create a Verification - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__VerificationClient< - runtime.Types.Result.GetResult< - Prisma.$VerificationPayload, - T, - 'create', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a Verification. + * @param {VerificationCreateArgs} args - Arguments to create a Verification. + * @example + * // Create one Verification + * const Verification = await prisma.verification.create({ + * data: { + * // ... data to create a Verification + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many Verifications. - * @param {VerificationCreateManyArgs} args - Arguments to create many Verifications. - * @example - * // Create many Verifications - * const verification = await prisma.verification.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many Verifications. + * @param {VerificationCreateManyArgs} args - Arguments to create many Verifications. + * @example + * // Create many Verifications + * const verification = await prisma.verification.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many Verifications and returns the data saved in the database. - * @param {VerificationCreateManyAndReturnArgs} args - Arguments to create many Verifications. - * @example - * // Create many Verifications - * const verification = await prisma.verification.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Verifications and only return the `id` - * const verificationWithIdOnly = await prisma.verification.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$VerificationPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many Verifications and returns the data saved in the database. + * @param {VerificationCreateManyAndReturnArgs} args - Arguments to create many Verifications. + * @example + * // Create many Verifications + * const verification = await prisma.verification.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Verifications and only return the `id` + * const verificationWithIdOnly = await prisma.verification.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - /** - * Delete a Verification. - * @param {VerificationDeleteArgs} args - Arguments to delete one Verification. - * @example - * // Delete one Verification - * const Verification = await prisma.verification.delete({ - * where: { - * // ... filter to delete one Verification - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__VerificationClient< - runtime.Types.Result.GetResult< - Prisma.$VerificationPayload, - T, - 'delete', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a Verification. + * @param {VerificationDeleteArgs} args - Arguments to delete one Verification. + * @example + * // Delete one Verification + * const Verification = await prisma.verification.delete({ + * where: { + * // ... filter to delete one Verification + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one Verification. - * @param {VerificationUpdateArgs} args - Arguments to update one Verification. - * @example - * // Update one Verification - * const verification = await prisma.verification.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__VerificationClient< - runtime.Types.Result.GetResult< - Prisma.$VerificationPayload, - T, - 'update', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one Verification. + * @param {VerificationUpdateArgs} args - Arguments to update one Verification. + * @example + * // Update one Verification + * const verification = await prisma.verification.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more Verifications. - * @param {VerificationDeleteManyArgs} args - Arguments to filter Verifications to delete. - * @example - * // Delete a few Verifications - * const { count } = await prisma.verification.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more Verifications. + * @param {VerificationDeleteManyArgs} args - Arguments to filter Verifications to delete. + * @example + * // Delete a few Verifications + * const { count } = await prisma.verification.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Verifications. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Verifications - * const verification = await prisma.verification.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more Verifications. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VerificationUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Verifications + * const verification = await prisma.verification.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more Verifications and returns the data updated in the database. - * @param {VerificationUpdateManyAndReturnArgs} args - Arguments to update many Verifications. - * @example - * // Update many Verifications - * const verification = await prisma.verification.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Verifications and only return the `id` - * const verificationWithIdOnly = await prisma.verification.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$VerificationPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more Verifications and returns the data updated in the database. + * @param {VerificationUpdateManyAndReturnArgs} args - Arguments to update many Verifications. + * @example + * // Update many Verifications + * const verification = await prisma.verification.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Verifications and only return the `id` + * const verificationWithIdOnly = await prisma.verification.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - /** - * Create or update one Verification. - * @param {VerificationUpsertArgs} args - Arguments to update or create a Verification. - * @example - * // Update or create a Verification - * const verification = await prisma.verification.upsert({ - * create: { - * // ... data to create a Verification - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Verification we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__VerificationClient< - runtime.Types.Result.GetResult< - Prisma.$VerificationPayload, - T, - 'upsert', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one Verification. + * @param {VerificationUpsertArgs} args - Arguments to update or create a Verification. + * @example + * // Update or create a Verification + * const verification = await prisma.verification.upsert({ + * create: { + * // ... data to create a Verification + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Verification we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of Verifications. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationCountArgs} args - Arguments to filter Verifications to count. - * @example - * // Count the number of Verifications - * const count = await prisma.verification.count({ - * where: { - * // ... the filter for the Verifications we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - >; - /** - * Allows you to perform aggregations operations on a Verification. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate( - args: Prisma.Subset - ): Prisma.PrismaPromise>; + /** + * Count the number of Verifications. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VerificationCountArgs} args - Arguments to filter Verifications to count. + * @example + * // Count the number of Verifications + * const count = await prisma.verification.count({ + * where: { + * // ... the filter for the Verifications we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > - /** - * Group by Verification. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends VerificationGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: VerificationGroupByArgs['orderBy'] } - : { orderBy?: VerificationGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys< - Prisma.Keys> - >, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['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] - >( - args: Prisma.SubsetIntersection & InputErrors - ): {} extends InputErrors ? GetVerificationGroupByPayload : Prisma.PrismaPromise; - /** - * Fields of the Verification model - */ - readonly fields: VerificationFieldRefs; + /** + * Allows you to perform aggregations operations on a Verification. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VerificationAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Verification. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {VerificationGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends VerificationGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: VerificationGroupByArgs['orderBy'] } + : { orderBy?: VerificationGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + ByEmpty extends T['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] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVerificationGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the Verification model + */ +readonly fields: VerificationFieldRefs; } /** @@ -936,457 +769,409 @@ export interface VerificationDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__VerificationClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then( - onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, - onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch( - onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null - ): runtime.Types.Utils.JsPromise; - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; +export interface Prisma__VerificationClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } + + + /** * Fields of the Verification model */ export interface VerificationFieldRefs { - readonly id: Prisma.FieldRef<'Verification', 'String'>; - readonly identifier: Prisma.FieldRef<'Verification', 'String'>; - readonly value: Prisma.FieldRef<'Verification', 'String'>; - readonly expiresAt: Prisma.FieldRef<'Verification', 'DateTime'>; - readonly createdAt: Prisma.FieldRef<'Verification', 'DateTime'>; - readonly updatedAt: Prisma.FieldRef<'Verification', 'DateTime'>; + readonly id: Prisma.FieldRef<"Verification", 'String'> + readonly identifier: Prisma.FieldRef<"Verification", 'String'> + readonly value: Prisma.FieldRef<"Verification", 'String'> + readonly expiresAt: Prisma.FieldRef<"Verification", 'DateTime'> + readonly createdAt: Prisma.FieldRef<"Verification", 'DateTime'> + readonly updatedAt: Prisma.FieldRef<"Verification", 'DateTime'> } + // Custom InputTypes /** * Verification findUnique */ -export type VerificationFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; - /** - * Filter, which Verification to fetch. - */ - where: Prisma.VerificationWhereUniqueInput; -}; +export type VerificationFindUniqueArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelect | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null + /** + * Filter, which Verification to fetch. + */ + where: Prisma.VerificationWhereUniqueInput +} /** * Verification findUniqueOrThrow */ -export type VerificationFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; - /** - * Filter, which Verification to fetch. - */ - where: Prisma.VerificationWhereUniqueInput; -}; +export type VerificationFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelect | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null + /** + * Filter, which Verification to fetch. + */ + where: Prisma.VerificationWhereUniqueInput +} /** * Verification findFirst */ -export type VerificationFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; - /** - * Filter, which Verification to fetch. - */ - where?: Prisma.VerificationWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Verifications to fetch. - */ - orderBy?: - | Prisma.VerificationOrderByWithRelationInput - | Prisma.VerificationOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Verifications. - */ - cursor?: Prisma.VerificationWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Verifications from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Verifications. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Verifications. - */ - distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[]; -}; +export type VerificationFindFirstArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelect | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null + /** + * Filter, which Verification to fetch. + */ + where?: Prisma.VerificationWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Verifications to fetch. + */ + orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Verifications. + */ + cursor?: Prisma.VerificationWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Verifications from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Verifications. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Verifications. + */ + distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[] +} /** * Verification findFirstOrThrow */ -export type VerificationFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; - /** - * Filter, which Verification to fetch. - */ - where?: Prisma.VerificationWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Verifications to fetch. - */ - orderBy?: - | Prisma.VerificationOrderByWithRelationInput - | Prisma.VerificationOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Verifications. - */ - cursor?: Prisma.VerificationWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Verifications from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Verifications. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Verifications. - */ - distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[]; -}; +export type VerificationFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelect | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null + /** + * Filter, which Verification to fetch. + */ + where?: Prisma.VerificationWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Verifications to fetch. + */ + orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Verifications. + */ + cursor?: Prisma.VerificationWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Verifications from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Verifications. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Verifications. + */ + distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[] +} /** * Verification findMany */ -export type VerificationFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; - /** - * Filter, which Verifications to fetch. - */ - where?: Prisma.VerificationWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Verifications to fetch. - */ - orderBy?: - | Prisma.VerificationOrderByWithRelationInput - | Prisma.VerificationOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Verifications. - */ - cursor?: Prisma.VerificationWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Verifications from the position of the cursor. - */ - take?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Verifications. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Verifications. - */ - distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[]; -}; +export type VerificationFindManyArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelect | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null + /** + * Filter, which Verifications to fetch. + */ + where?: Prisma.VerificationWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of Verifications to fetch. + */ + orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing Verifications. + */ + cursor?: Prisma.VerificationWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Verifications from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Verifications. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Verifications. + */ + distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[] +} /** * Verification create */ -export type VerificationCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; - /** - * The data needed to create a Verification. - */ - data: Prisma.XOR; -}; +export type VerificationCreateArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelect | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null + /** + * The data needed to create a Verification. + */ + data: Prisma.XOR +} /** * Verification createMany */ -export type VerificationCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many Verifications. - */ - data: Prisma.VerificationCreateManyInput | Prisma.VerificationCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type VerificationCreateManyArgs = { + /** + * The data used to create many Verifications. + */ + data: Prisma.VerificationCreateManyInput | Prisma.VerificationCreateManyInput[] + skipDuplicates?: boolean +} /** * Verification createManyAndReturn */ -export type VerificationCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelectCreateManyAndReturn | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; - /** - * The data used to create many Verifications. - */ - data: Prisma.VerificationCreateManyInput | Prisma.VerificationCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type VerificationCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelectCreateManyAndReturn | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null + /** + * The data used to create many Verifications. + */ + data: Prisma.VerificationCreateManyInput | Prisma.VerificationCreateManyInput[] + skipDuplicates?: boolean +} /** * Verification update */ -export type VerificationUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; - /** - * The data needed to update a Verification. - */ - data: Prisma.XOR; - /** - * Choose, which Verification to update. - */ - where: Prisma.VerificationWhereUniqueInput; -}; +export type VerificationUpdateArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelect | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null + /** + * The data needed to update a Verification. + */ + data: Prisma.XOR + /** + * Choose, which Verification to update. + */ + where: Prisma.VerificationWhereUniqueInput +} /** * Verification updateMany */ -export type VerificationUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update Verifications. - */ - data: Prisma.XOR< - Prisma.VerificationUpdateManyMutationInput, - Prisma.VerificationUncheckedUpdateManyInput - >; - /** - * Filter which Verifications to update - */ - where?: Prisma.VerificationWhereInput; - /** - * Limit how many Verifications to update. - */ - limit?: number; -}; +export type VerificationUpdateManyArgs = { + /** + * The data used to update Verifications. + */ + data: Prisma.XOR + /** + * Filter which Verifications to update + */ + where?: Prisma.VerificationWhereInput + /** + * Limit how many Verifications to update. + */ + limit?: number +} /** * Verification updateManyAndReturn */ -export type VerificationUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; - /** - * The data used to update Verifications. - */ - data: Prisma.XOR< - Prisma.VerificationUpdateManyMutationInput, - Prisma.VerificationUncheckedUpdateManyInput - >; - /** - * Filter which Verifications to update - */ - where?: Prisma.VerificationWhereInput; - /** - * Limit how many Verifications to update. - */ - limit?: number; -}; +export type VerificationUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null + /** + * The data used to update Verifications. + */ + data: Prisma.XOR + /** + * Filter which Verifications to update + */ + where?: Prisma.VerificationWhereInput + /** + * Limit how many Verifications to update. + */ + limit?: number +} /** * Verification upsert */ -export type VerificationUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; - /** - * The filter to search for the Verification to update in case it exists. - */ - where: Prisma.VerificationWhereUniqueInput; - /** - * In case the Verification found by the `where` argument doesn't exist, create a new Verification with this data. - */ - create: Prisma.XOR; - /** - * In case the Verification was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR; -}; +export type VerificationUpsertArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelect | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null + /** + * The filter to search for the Verification to update in case it exists. + */ + where: Prisma.VerificationWhereUniqueInput + /** + * In case the Verification found by the `where` argument doesn't exist, create a new Verification with this data. + */ + create: Prisma.XOR + /** + * In case the Verification was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * Verification delete */ -export type VerificationDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; - /** - * Filter which Verification to delete. - */ - where: Prisma.VerificationWhereUniqueInput; -}; +export type VerificationDeleteArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelect | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null + /** + * Filter which Verification to delete. + */ + where: Prisma.VerificationWhereUniqueInput +} /** * Verification deleteMany */ -export type VerificationDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which Verifications to delete - */ - where?: Prisma.VerificationWhereInput; - /** - * Limit how many Verifications to delete. - */ - limit?: number; -}; +export type VerificationDeleteManyArgs = { + /** + * Filter which Verifications to delete + */ + where?: Prisma.VerificationWhereInput + /** + * Limit how many Verifications to delete. + */ + limit?: number +} /** * Verification without action */ -export type VerificationDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null; - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null; -}; +export type VerificationDefaultArgs = { + /** + * Select specific fields to fetch from the Verification + */ + select?: Prisma.VerificationSelect | null + /** + * Omit specific fields from the Verification + */ + omit?: Prisma.VerificationOmit | null +} diff --git a/src/lib/svelte-admin/registry.ts b/src/lib/svelte-admin/registry.ts index 2811936..b4b895a 100644 --- a/src/lib/svelte-admin/registry.ts +++ b/src/lib/svelte-admin/registry.ts @@ -209,7 +209,8 @@ const models: AdminModelConfig[] = [ readonlyFields: ['id'], fieldTypes: { name: 'String', - parentId: 'Int' + parentId: 'Int', + sortOrder: 'Int' }, relationOptions: { parentId: { model: 'ProclamationCategory', labelField: 'name', valueField: 'id' } diff --git a/src/routes/(protected)/admin/license-keys/+page.server.ts b/src/routes/(protected)/admin/license-keys/+page.server.ts index e3f4f3b..fe221f5 100644 --- a/src/routes/(protected)/admin/license-keys/+page.server.ts +++ b/src/routes/(protected)/admin/license-keys/+page.server.ts @@ -8,7 +8,20 @@ import { error } from '@sveltejs/kit'; const config = getModelConfig('license-keys')!; export const load: PageServerLoad = async ({ locals }) => { - return loadRecords(locals, config); + const records = await loadRecords(locals, config); + + const subscriptionLevels = await prisma.subscriptionLevel.findMany({ + select: { id: true, name: true }, + orderBy: { name: 'asc' } + }); + + return { + ...records, + subscriptionLevels: subscriptionLevels.map((s: { id: number; name: string }) => ({ + label: s.name, + value: s.name + })) + }; }; export const actions = { @@ -17,45 +30,39 @@ export const actions = { const formData = await request.formData(); const email = formData.get('email')?.toString(); - const deactivateOld = formData.get('deactivateOld') === 'on'; + const level = formData.get('level')?.toString(); if (!email) { return { success: false, error: 'Email is required' }; } + if (!level) { + return { success: false, error: 'Subscription level is required' }; + } const user = await prisma.user.findUnique({ where: { email } }); if (!user) { return { success: false, error: 'No user found with that email' }; } - // Deactivate old keys if requested - if (deactivateOld) { - await prisma.licenseKey.updateMany({ - where: { userId: user.id, active: true }, - data: { active: false } - }); - } - - // Generate 16-char hex UUID grouped as 4-4-4-4 const hex = crypto.randomUUID().replace(/-/g, '').slice(0, 16).toUpperCase(); const key = `${hex.slice(0, 4)}-${hex.slice(4, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}`; - const licenseKey = await prisma.licenseKey.create({ + await prisma.licenseKey.create({ data: { key, active: true, - level: 'standard', + level, userId: user.id } }); - // Send email with license key try { + const profile = await prisma.profile.findUnique({ where: { userId: user.id } }); await sendMail({ to: email, subject: 'Your License Key', data: { - firstName: user.name ?? 'Valued Customer', + firstName: profile?.firstName ?? user.name ?? 'Valued Customer', licenseKey: key } }); @@ -63,6 +70,32 @@ export const actions = { console.error('Failed to send license key email:', e); } + return { success: true, error: undefined }; + }, + replace: async ({ request, locals }) => { + if (!locals.user) throw error(401, 'Unauthorized'); + + const formData = await request.formData(); + const keyId = formData.get('id')?.toString(); + if (!keyId) return { success: false, error: 'Missing key id' }; + + const existing = await prisma.licenseKey.findUnique({ where: { id: keyId } }); + if (!existing) return { success: false, error: 'License key not found' }; + + await prisma.licenseKey.delete({ where: { id: keyId } }); + + const hex = crypto.randomUUID().replace(/-/g, '').slice(0, 16).toUpperCase(); + const key = `${hex.slice(0, 4)}-${hex.slice(4, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}`; + + await prisma.licenseKey.create({ + data: { + key, + active: true, + level: existing.level, + userId: existing.userId + } + }); + return { success: true, error: undefined }; } }; diff --git a/src/routes/(protected)/admin/license-keys/+page.svelte b/src/routes/(protected)/admin/license-keys/+page.svelte index d286469..90cbf10 100644 --- a/src/routes/(protected)/admin/license-keys/+page.svelte +++ b/src/routes/(protected)/admin/license-keys/+page.svelte @@ -1,36 +1,52 @@ @@ -39,70 +55,76 @@

{config.displayName}

- {#if showCreateForm} -
-

- Create New License Key -

- {#if createError} -
- {createError} -
- {/if} -
-
- - -
- -
- -
-
-
- {/if} - + + + + + + {#if replaceRecord} +
+

+ Generate a new key to replace {String(replaceRecord.key)}? +

+
+
+ User: {String(replaceRecord['user.name'] ?? '')} +
+
+ Level: {String(replaceRecord.level ?? '')} +
+
+

+ The existing key will be deleted and a new one with the same subscription level will be + created and emailed. +

+
+ + + +
+
+ {/if} +
+ {#if toastMessage} {/if} diff --git a/src/routes/(protected)/admin/license-keys/LicenseKeyForm.svelte b/src/routes/(protected)/admin/license-keys/LicenseKeyForm.svelte new file mode 100644 index 0000000..79a43ed --- /dev/null +++ b/src/routes/(protected)/admin/license-keys/LicenseKeyForm.svelte @@ -0,0 +1,91 @@ + + +
+ {#if formError} +
+ {formError} +
+ {/if} + +
+
+ + +
+ +
+ + +
+ +
+ +
+
+
diff --git a/src/routes/(protected)/admin/proclamation-categories/+page.server.ts b/src/routes/(protected)/admin/proclamation-categories/+page.server.ts index 7099be5..91873fd 100644 --- a/src/routes/(protected)/admin/proclamation-categories/+page.server.ts +++ b/src/routes/(protected)/admin/proclamation-categories/+page.server.ts @@ -10,7 +10,7 @@ export const load: PageServerLoad = async ({ locals }) => { const records = await delegate.findMany({ where: { parentId: null }, include: config.include, - orderBy: { id: 'asc' } + orderBy: { sortOrder: 'asc' } }); const relationOptionsData: Record = {}; @@ -44,8 +44,11 @@ export const actions = { const name = (formData.get('name')?.toString() ?? '').trim(); const rawId = formData.get('id')?.toString(); - const childIds = formData.getAll('childId').map(v => v.toString()); - const childNames = formData.getAll('childName').map(v => v.toString().trim()).filter(Boolean); + const childIds = formData.getAll('childId').map((v) => v.toString()); + const childNames = formData + .getAll('childName') + .map((v) => v.toString().trim()) + .filter(Boolean); if (!name) { return { success: false, error: 'Name is required', fieldErrors: { name: 'Required' } }; @@ -63,8 +66,14 @@ export const actions = { }); categoryId = id; } else { + const maxSort = await delegate.findFirst({ + where: { parentId: null }, + orderBy: { sortOrder: 'desc' }, + select: { sortOrder: true } + }); + const sortOrder = (maxSort?.sortOrder ?? -1) + 1; const created = await delegate.create({ - data: { name } + data: { name, sortOrder } }); categoryId = created.id; } @@ -104,16 +113,10 @@ export const actions = { return { success: true }; } catch (e: unknown) { - if ( - e && - typeof e === 'object' && - 'code' in e && - (e as { code: string }).code === 'P2002' - ) { + if (e && typeof e === 'object' && 'code' in e && (e as { code: string }).code === 'P2002') { return { success: false, - error: - 'A sub-category with this name already exists under this parent.' + error: 'A sub-category with this name already exists under this parent.' }; } throw e; @@ -137,6 +140,24 @@ export const actions = { await delegate.deleteMany({ where: { parentId: id } }); await delegate.delete({ where: { id } }); + return { success: true }; + }, + reorder: async ({ request }) => { + const formData = await request.formData(); + const raw = formData.get('ids')?.toString(); + if (!raw) return { success: false, error: 'Missing ids' }; + + const ids = JSON.parse(raw) as number[]; + + const delegate = getDelegate(config); + + for (let i = 0; i < ids.length; i++) { + await delegate.update({ + where: { id: ids[i] }, + data: { sortOrder: i } + }); + } + return { success: true }; } }; diff --git a/src/routes/(protected)/admin/proclamation-categories/+page.svelte b/src/routes/(protected)/admin/proclamation-categories/+page.svelte index 3845d29..24fc370 100644 --- a/src/routes/(protected)/admin/proclamation-categories/+page.svelte +++ b/src/routes/(protected)/admin/proclamation-categories/+page.svelte @@ -5,6 +5,7 @@ import AdminModal from '$lib/components/admin/AdminModal.svelte'; import Toast from '$lib/components/admin/Toast.svelte'; import { getModelConfig } from '$lib/svelte-admin/registry'; + import { invalidateAll } from '$app/navigation'; import CategoryForm from './CategoryForm.svelte'; let { data, form }: PageProps = $props(); @@ -33,6 +34,13 @@ } }); + async function handleReorder(ids: (string | number)[]) { + const formData = new FormData(); + formData.set('ids', JSON.stringify(ids)); + await fetch('?/reorder', { method: 'POST', body: formData }); + await invalidateAll(); + } + function openCreate() { editingRecord = null; formError = ''; @@ -63,6 +71,8 @@ searchFields={config.searchFields} fieldTypes={config.fieldTypes} singular={config.displayNameSingular} + draggable={true} + onReorder={handleReorder} onRowClick={openEdit} onNew={openCreate} />