From 64f7070ad7bafd57c94b9b70d14c41f612bddbd4 Mon Sep 17 00:00:00 2001 From: NeilClack Date: Fri, 7 Aug 2026 14:06:20 -0500 Subject: [PATCH] Build API v2 --- .env.example | 3 +- .gitea/workflows/deploy.yaml | 22 + portal_api_v2_schema.md | 756 +++ .../migration.sql | 7 + prisma/schema.prisma | 10 + prisma/seed.ts | 59 +- src/app.d.ts | 2 + src/hooks.server.spec.ts | 111 +- src/hooks.server.ts | 28 + src/lib/generated/prisma/browser.ts | 79 +- src/lib/generated/prisma/client.ts | 103 +- src/lib/generated/prisma/commonInputTypes.ts | 741 +-- src/lib/generated/prisma/enums.ts | 15 +- src/lib/generated/prisma/internal/class.ts | 596 ++- .../prisma/internal/prismaNamespace.ts | 3524 +++++++------- .../prisma/internal/prismaNamespaceBrowser.ts | 390 +- src/lib/generated/prisma/models.ts | 36 +- src/lib/generated/prisma/models/Account.ts | 3126 ++++++------ src/lib/generated/prisma/models/Address.ts | 2972 ++++++------ src/lib/generated/prisma/models/ApiKey.ts | 2191 ++++----- .../generated/prisma/models/ColorPalette.ts | 1103 +++++ src/lib/generated/prisma/models/LicenseKey.ts | 2573 +++++----- .../generated/prisma/models/Proclamation.ts | 3553 ++++++-------- .../prisma/models/ProclamationCategory.ts | 3363 ++++++------- .../ProclamationCategorySubscriptionLevel.ts | 2834 +++++------ 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 | 2654 +++++------ 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/server/v2-helpers.ts | 64 + src/lib/server/v2-rate-limit.spec.ts | 40 + src/lib/server/v2-rate-limit.ts | 36 + src/lib/server/v2-serializers.spec.ts | 188 + src/lib/server/v2-serializers.ts | 161 + src/lib/server/v2-signature.spec.ts | 120 + src/lib/server/v2-signature.ts | 96 + .../v2/automations/create/account/+server.ts | 175 + .../automations/create/account/server.spec.ts | 236 + src/routes/api/v2/categories/+server.ts | 9 + src/routes/api/v2/color-palettes/+server.ts | 16 + src/routes/api/v2/frequencies/+server.ts | 7 + src/routes/api/v2/license/+server.ts | 65 + src/routes/api/v2/license/server.spec.ts | 167 + src/routes/api/v2/proclamations/+server.ts | 72 + .../api/v2/proclamations/server.spec.ts | 177 + .../api/v2/subscription-levels/+server.ts | 11 + 50 files changed, 25534 insertions(+), 26502 deletions(-) create mode 100644 portal_api_v2_schema.md create mode 100644 prisma/migrations/20260807000000_add_color_palette/migration.sql create mode 100644 src/lib/generated/prisma/models/ColorPalette.ts create mode 100644 src/lib/server/v2-helpers.ts create mode 100644 src/lib/server/v2-rate-limit.spec.ts create mode 100644 src/lib/server/v2-rate-limit.ts create mode 100644 src/lib/server/v2-serializers.spec.ts create mode 100644 src/lib/server/v2-serializers.ts create mode 100644 src/lib/server/v2-signature.spec.ts create mode 100644 src/lib/server/v2-signature.ts create mode 100644 src/routes/api/v2/automations/create/account/+server.ts create mode 100644 src/routes/api/v2/automations/create/account/server.spec.ts create mode 100644 src/routes/api/v2/categories/+server.ts create mode 100644 src/routes/api/v2/color-palettes/+server.ts create mode 100644 src/routes/api/v2/frequencies/+server.ts create mode 100644 src/routes/api/v2/license/+server.ts create mode 100644 src/routes/api/v2/license/server.spec.ts create mode 100644 src/routes/api/v2/proclamations/+server.ts create mode 100644 src/routes/api/v2/proclamations/server.spec.ts create mode 100644 src/routes/api/v2/subscription-levels/+server.ts diff --git a/.env.example b/.env.example index 9fe22a7..a0a5977 100644 --- a/.env.example +++ b/.env.example @@ -5,4 +5,5 @@ GOOGLE_CLIENT_ID=6 GOOGLE_CLIENT_SECRET= RESEND_API_KEY= EMAIL_FROM= -RESEND_TEMPLATE_ID= \ No newline at end of file +RESEND_TEMPLATE_ID= +API_V2_ONBOARDING_SECRET= \ No newline at end of file diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index f033828..3437851 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -30,3 +30,25 @@ jobs: run: | docker push registry.digitalocean.com/radiantwave-portal-container-registry/portal:${{ gitea.sha }} docker push registry.digitalocean.com/radiantwave-portal-container-registry/portal:latest + + migrate: + needs: build-and-push + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 24 + + - name: Install dependencies + run: npm ci + + - name: Run database migrations + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} + NODE_EXTRA_CA_CERTS: ./digital-ocean.crt + run: npm run deploy diff --git a/portal_api_v2_schema.md b/portal_api_v2_schema.md new file mode 100644 index 0000000..fea689b --- /dev/null +++ b/portal_api_v2_schema.md @@ -0,0 +1,756 @@ +# RadiantWave Portal API v2 Schema + +This document defines the **required** API surface for the RadiantWave kiosk +application and serves as the implementation contract for the portal +(`../portal`). + +It supersedes `payloads.md` and `ApiUpdates.md`, which described a v1 API that +does not meet the application's requirements. + +--- + +## Background and constraints + +- The kiosk application (`this repo`) talks to + `https://portal.radiantwavetech.com/api/v1`. +- The **existing v1 routes must not change**: previously shipped kiosk binaries + depend on them. The v1 routes and their exact request/response shapes stay + frozen. +- To bring the API into compliance with this application's expectations we + introduce a **new, versioned API under `/api/v2`**, and migrate the kiosk + client to call `/api/v2` instead of `/api/v1`. +- The kiosk client currently uses a single base URL + (`src/network/api_client.h` → `API_BASE_URL`). All endpoint paths are + relative to that base, so migrating the base URL is the only client-side + change required. + +Compliance means: every endpoint the kiosk parses must return exactly the +fields the kiosk expects, in the shapes documented below. Deviations break +provisioning, content sync, or rendering. + +--- + +## Versioning strategy + +| Route space | Status | Consumer | +|-------------|---------------------------|-------------------------------------------------------| +| `/api/v1/*` | Frozen, never modified | Old/shipped kiosk binaries, GoHighLevel automation | +| `/api/v2/*` | New (this document) | Current kiosk application (after base-URL migration) | + +Rules: + +1. Never change the behavior or response shape of an existing `/api/v1/*` + route. If a v1 fix is required, fix it in v2. +2. New capabilities ship under `/api/v2` only. +3. A consumer may pin to the major version it was built against. The kiosk + pins to `/api/v2`. + +--- + +## General conventions (v2) + +- Base URL: `https://portal.radiantwavetech.com/api/v2`. +- All routes require HTTPS (TLS 1.2+; TLS 1.3 recommended). +- Success responses are JSON with `content-type: application/json`. +- Error bodies use the shape `{"message": "..."}` for route-handler errors and + `{"error": "..."}` for the authentication layer (see Security). +- Any response code outside the documented success code is a failure; the + kiosk surfaces `message`/`error` text when present. +- API keys are sent as `Authorization: Bearer sk_` and are **required on + every v2 route** except the signed onboarding route (below). +- Credentials (license keys, emails) must **never** be passed in the query + string. v1 accepted `?email=&key=`; v2 must not. +- Request body sizes are capped (see Security); oversized bodies are rejected + with `413`. + +--- + +## Canonical data model: solfeggio frequencies + +The kiosk uses a fixed 9-preset frequency scheme. Frequency ids must be +**canonical** — they appear on proclamations and color palettes and must match +the kiosk's own `frequencyIdForHz()` mapping: + +| Canonical id | Hz | Frequency (kiosk label) | +|--------------|------|------------------------------| +| 1 | 174 | Grounding / Relief (285 Hz is an alias of id 1) | +| 2 | 396 | Root | +| 3 | 417 | Sacral | +| 4 | 432 | Clarity / Wellbeing | +| 5 | 528 | Solar Plexus (fallback palette) | +| 6 | 639 | Heart | +| 7 | 741 | Throat | +| 8 | 852 | 3rd Eye | +| 9 | 963 | Crown | + +**Compliance gap in v1:** the portal's `SolfeggioFrequency` table stores 7 +rows whose ids do **not** match this scheme (id 1 = 936 Hz, id 5 = 528 Hz, +id 7 = 396 Hz, etc.). Because proclamations and color palettes are keyed by +frequency id, returning portal ids would make the kiosk look up the wrong +palette (e.g. a 396 Hz proclamation would render with the 741 Hz palette). + +**v2 requirement:** every `solfeggioFrequencyId` emitted by v2 must be a +canonical id (1–9) whose `value` resolves through the kiosk map above. +Frequencies that have no canonical id (e.g. 936 Hz) must not be referenced by +any v2 proclamation or palette. See Implementation notes for the reconciling +strategy. + +--- + +## Endpoints + +### 1. `GET /api/v2/frequencies` + +Lists the canonical solfeggio frequencies. + +Request: + +``` +GET /api/v2/frequencies +Authorization: Bearer sk_ +``` + +Response (200): + +```json +[ + { "id": 1, "name": "Grounding / Relief", "value": 174 }, + { "id": 2, "name": "Root", "value": 396 }, + { "id": 3, "name": "Sacral", "value": 417 }, + { "id": 4, "name": "Clarity / Wellbeing", "value": 432 }, + { "id": 5, "name": "Solar Plexus", "value": 528 }, + { "id": 6, "name": "Heart", "value": 639 }, + { "id": 7, "name": "Throat", "value": 741 }, + { "id": 8, "name": "3rd Eye", "value": 852 }, + { "id": 9, "name": "Crown", "value": 963 } +] +``` + +Contract (kiosk `parseFrequenciesJson`): + +- `id`: int, 1–9, **non-zero** (entries with id 0 are skipped). +- `name`: string. +- `value`: int, Hz. Should be a value the kiosk's `frequencyIdForHz()` map + recognizes (174, 285, 396, 417, 432, 528, 639, 741, 852, 963). + +Errors: + +| Code | Body | Meaning | +|------|------|---------| +| 200 | array of frequency objects | Success | +| 401 | `{"error": "..."}` | Missing/invalid API key | + +--- + +### 2. `GET /api/v2/categories` + +Lists all proclamation categories (identical shape to v1). + +Request: + +``` +GET /api/v2/categories +Authorization: Bearer sk_ +``` + +Response (200): + +```json +[ + { "id": 4, "name": "Spiritual", "sortOrder": 0, "parentId": null }, + { "id": 5, "name": "General", "sortOrder": 0, "parentId": 4 } +] +``` + +Contract (kiosk `parseCategoriesJson`): + +- `id`: int, **non-zero** (id 0 entries are skipped). +- `name`: string. +- `parentId`: int for children, **`null` for root** categories (kiosk maps + null → 0). +- `sortOrder`: int. + +Errors: + +| Code | Body | Meaning | +|------|------|---------| +| 200 | array of category objects | Success | +| 401 | `{"error": "..."}` | Missing/invalid API key | + +--- + +### 3. `GET /api/v2/proclamations` + +Returns the proclamation library. This is the kiosk's primary content sync. + +Request (default: full library): + +``` +GET /api/v2/proclamations +Authorization: Bearer sk_ +``` + +Optional entitlement filter (full records, see below): + +``` +GET /api/v2/proclamations +Authorization: Bearer sk_ +X-License-Key: XXXX-XXXX-XXXX-XXXX +X-Email: user@example.com +``` + +> Header-based credentials replace the v1 `?email=&key=` query form. Do not +> read credentials from the URL. + +Response (200) — every item is a **full proclamation record**: + +```json +[ + { + "id": "b40fdcb9-703c-420e-af32-a081964c6f08", + "name": "Peace & Relaxation", + "content": "

The text content, HTML formatted

", + "categoryId": 5, + "solfeggioFrequencyId": 5, + "subscriptionLevelId": 1, + "colorPalette": ["#32CD32", "#3CB371", "#90EE90", "#98FB98", "#ADFFA9", "#C8FFD2", "#F0FFF0"] + } +] +``` + +Contract (kiosk `parseProclamationsJson` + `parseProclamationPalettesJson`): + +- `id`: string UUID, **required non-empty** (empty ids are skipped). +- `name`: string, used as the display title. Kiosk strips HTML from it. +- `content`: string, **HTML** (the kiosk strips tags and unescapes entities + before rendering). Plain text is also acceptable but HTML is the convention. +- `categoryId`: int, maps to a `/categories` id. +- `solfeggioFrequencyId`: int, **must be a canonical id (1–9)** — see the + canonical model above. +- `subscriptionLevelId`: int or `null`. The kiosk treats missing/null/≤0 as + level 1 (Basic). +- `colorPalette` (optional): array of exactly 7 `"#RRGGBB"` strings, indexed + color 0 (primary) through color 6 (tertiary). When present, the kiosk can + color a proclamation directly from this payload (first proclamation per + frequency wins for palette derivation). When absent, the kiosk falls back to + `/color-palettes`, then to its own 528 Hz seed. + +With entitlement headers (`X-License-Key` + `X-Email`): + +- Validate the key exists, is active, and belongs to the email's user. +- Return the **full proclamation records** the user may access (matching the + record shape above), **not** raw `UserProclamations` join-table rows. + (v1 returned join rows, which the kiosk parser cannot consume — this is the + primary v1 compliance defect this endpoint fixes.) + +Errors: + +| Code | Body | Meaning | +|------|------|---------| +| 200 | array of proclamation records | Success | +| 400 | `{"message": "not-authorized"}` | Entitlement headers supplied but key or email does not exist | +| 400 | `{"message": "this key doesn't appear to belong to you"}` | Key exists but owned by a different user | +| 401 | `{"error": "..."}` | Missing/invalid API key | + +--- + +### 4. `POST /api/v2/license` + +Validates a license key / email pair and returns the full subscription level. + +Request: + +``` +POST /api/v2/license +Content-Type: application/json +Authorization: Bearer sk_ +``` + +```json +{ + "license_key": "XXXX-XXXX-XXXX-XXXX", + "email_address": "user@example.com" +} +``` + +Response (200): + +```json +{ + "key": "XXXX-XXXX-XXXX-XXXX", + "email_address": "user@example.com", + "subscription_level": { + "id": 2, + "name": "Advanced", + "description": "General + Specific" + } +} +``` + +`subscription_level` is **always an object** `{ id, name, description }`. If +the license's level name does not match any `SubscriptionLevel` row, fall back +to a structurally consistent object: + +```json +{ + "key": "XXXX-XXXX-XXXX-XXXX", + "email_address": "user@example.com", + "subscription_level": { "id": null, "name": "SomeCustomLevel", "description": null } +} +``` + +Contract (kiosk `parseLicenseJson`): + +- `key`: string, **required non-empty**. +- `email_address`: string. +- `subscription_level.name`: string, **required** for a successful validation + (the kiosk persists id/name/description into its local `system_kv` table and + uses the level for proclamation gating and the Home footer). + +Errors: + +| Code | Body | Meaning | +|------|------|---------| +| 200 | success object | License valid and owned by the email | +| 400 | `{"message": "license_key is required"}` | Missing `license_key` | +| 400 | `{"message": "email_address is required"}` | Missing `email_address` | +| 400 | `{"message": "license key not found"}` | No key with that value | +| 400 | `{"message": "license key is not active"}` | Key exists but inactive | +| 400 | `{"message": "user does not exist"}` | No user with that email | +| 400 | `{"message": "key does not belong to specified user"}` | Key owned by a different user | +| 401 | `{"error": "..."}` | Missing/invalid API key | + +> The kiosk client also tolerates the v1 string form and flat +> `subscription_level_id` / `subscription_level_description` fields. v2 should +> always send the object form; the fallbacks exist only for transitional +> compatibility. + +--- + +### 5. `GET /api/v2/subscription-levels` + +Lists the subscription levels. + +Request: + +``` +GET /api/v2/subscription-levels +Authorization: Bearer sk_ +``` + +Response (200): + +```json +[ + { "id": 1, "name": "Basic", "description": "General only" }, + { "id": 2, "name": "Advanced", "description": "General + Specific" }, + { "id": 3, "name": "Elite", "description": "General + Specific + Precise" } +] +``` + +Errors: + +| Code | Body | Meaning | +|------|------|---------| +| 200 | array of `{id, name, description}` | Success | +| 401 | `{"error": "..."}` | Missing/invalid API key | + +--- + +### 6. `GET /api/v2/color-palettes` + +Exposes the 7-color palette for every canonical frequency so the portal admin +can update colors without a kiosk code release. + +Request: + +``` +GET /api/v2/color-palettes +Authorization: Bearer sk_ +``` + +Response (200) — one entry per canonical frequency (1–9): + +```json +[ + { + "solfeggioFrequencyId": 1, + "colors": ["#8B6914", "#B8860B", "#DAA520", "#E8B64C", "#FFD700", "#FFE9A8", "#FFF4CC"] + }, + { + "solfeggioFrequencyId": 5, + "colors": ["#32CD32", "#3CB371", "#90EE90", "#98FB98", "#ADFFA9", "#C8FFD2", "#F0FFF0"] + } +] +``` + +Contract (kiosk `parseColorPalettesJson`): + +- `solfeggioFrequencyId`: int, **non-zero**, canonical id. +- `colors`: array of `"#RRGGBB"` (or `"RRGGBB"`) strings, exactly 7. + +Kiosk fallback: `db::getPaletteForFrequencyId()` falls back to the 528 Hz +palette for any frequency id with no rows; the startup seed backfills missing +ids with `INSERT OR IGNORE`, so portal values win after a successful sync. + +Errors: + +| Code | Body | Meaning | +|------|------|---------| +| 200 | array of `{solfeggioFrequencyId, colors}` | Success | +| 401 | `{"error": "..."}` | Missing/invalid API key | + +--- + +### 7. `POST /api/v2/automations/create/account` + +Creates (or reuses) a user account and issues a brand-new active license key. +The key is **not returned** — it is emailed to the user. This is the only v2 +route that does not require a bearer API key; instead it requires an +**HMAC-SHA256 signature** (see Security). It is used for first-run provisioning +and by the GoHighLevel automation. + +Request: + +``` +POST /api/v2/automations/create/account +Content-Type: application/json +X-Timestamp: +X-Nonce: +X-Signature: +``` + +```json +{ + "email": "user@example.com", + "name": "Optional Display Name", + "subscription_level": "Basic" +} +``` + +- `email` (required, string). +- `name` (optional, string; defaults to the local part of `email`). +- `subscription_level` (required, string) — one of `Basic`, `Advanced`, + `Elite` (must match a `SubscriptionLevel.name`). + +Response (200): + +```json +{ + "success": true, + "message": "Account and license key created", + "user_id": "uuid" +} +``` + +Errors: + +| Code | Body | Meaning | +|------|------|---------| +| 200 | success object | Account (+ license key) created | +| 400 | `{"message": "email is required"}` | Missing/empty `email` | +| 400 | `{"message": "subscription_level is required"}` | Missing/empty `subscription_level` | +| 400 | `{"message": "subscription_level \"\" not found"}` | Unknown level name | +| 401 | `{"error": "invalid signature"}` | Bad/expired/replayed HMAC signature | +| 429 | `{"message": "rate limit exceeded"}` | Too many requests from this IP/email | +| 500 | `{"message": "Failed to create account"}` | User creation failed | +| 500 | `{"message": "Failed to find or create user"}` | User could not be located | + +Behavior (unchanged from v1): + +- If the email already belongs to a user, no new user is created — only a new + license key for that user. +- A new user receives a temporary-password/verify email and a license-key + email. Sending up to two emails, so this endpoint must be rate-limited + aggressively. + +--- + +## Compliance contract (kiosk → v2) + +| Kiosk consumer | v2 endpoint | Required fields / shape | +|----------------|-------------|-------------------------| +| `sync::syncProclamationsFromApi` (Home + ProclamationOptions sync) | `GET /proclamations`, `GET /categories` | Full proclamation records; `id`, `name`, `content`, `categoryId`, `solfeggioFrequencyId` (canonical), `subscriptionLevelId` | +| `license::validateStoredLicense` (License Key provisioning page) | `POST /license` | `subscription_level` as `{id, name, description}` object | +| `api::fetchColorPalettes` / `sync::syncColorPalettesFromApi` (readiness, to be wired) | `GET /color-palettes` | `[{solfeggioFrequencyId, colors[7]}]` | +| `sync::syncProclamationPalettesFromApi` (readiness, to be wired) | `GET /proclamations` | Embedded `colorPalette` array per proclamation | +| `api::fetchFrequencies` (readiness) | `GET /frequencies` | Canonical id 1–9 + `value` in Hz | +| Future level-picker UI | `GET /subscription-levels` | `{id, name, description}` | +| Provisioning / GHL automation | `POST /automations/create/account` | `email`, `subscription_level`, optional `name` | + +--- + +## Implementation instructions (portal, `../portal`) + +### Route layout + +Create the v2 route tree alongside the frozen v1 tree: + +``` +src/routes/api/v2/ + frequencies/+server.ts + categories/+server.ts + proclamations/+server.ts + license/+server.ts + subscription-levels/+server.ts + color-palettes/+server.ts + automations/create/account/+server.ts +``` + +### Auth gate (`src/hooks.server.ts`) + +Extend the existing handler so v2 auth is **always enforced** (do not honor +`API_KEYS_ACTIVE` for v2): + +```ts +const isV2 = event.url.pathname.startsWith('/api/v2/'); +const isSignedOnboarding = + event.url.pathname.startsWith('/api/v2/automations/'); + +if (isV2 && !isSignedOnboarding) { + // validateApiKey() ALWAYS runs for v2 — no env-var bypass. + const authHeader = event.request.headers.get('authorization'); + if (!authHeader?.startsWith('Bearer ')) { + return new Response(JSON.stringify({ error: 'API key required' }), { + status: 401, + headers: { 'content-type': 'application/json' } + }); + } + const record = await validateApiKey(authHeader.slice(7)); + if (!record) { + return new Response(JSON.stringify({ error: 'Invalid or expired API key' }), { + status: 401, + headers: { 'content-type': 'application/json' } + }); + } + return resolve(event); +} +``` + +Keep the existing v1 branch untouched. + +### Shared serializer (`src/lib/server/v2-serializers.ts`) + +Add one module that maps DB rows to the v2 wire format. The critical piece is +frequency-id reconciliation: + +```ts +// Canonical id <- Hz (kiosk frequencyIdForHz map). +const CANONICAL_ID_FOR_HZ: Record = { + 174: 1, 285: 1, 396: 2, 417: 3, 432: 4, + 528: 5, 639: 6, 741: 7, 852: 8, 963: 9 +}; + +function canonicalIdForFrequency(freq: { id: number; value: number; name: string }): number | null { + const id = CANONICAL_ID_FOR_HZ[freq.value]; + return id ?? null; // e.g. 936 Hz has no canonical id -> excluded from v2 +} + +export function serializeProclamation(p: Proclamation & { solfeggioFrequency: { value: number } }) { + const solfeggioFrequencyId = CANONICAL_ID_FOR_HZ[p.solfeggioFrequency.value]; + if (!solfeggioFrequencyId) return null; // drop proclamations with no canonical frequency + return { + id: p.id, + name: p.name, + content: p.content, + categoryId: p.categoryId, + solfeggioFrequencyId, + subscriptionLevelId: p.subscriptionLevelId, + // optional; read from the palette source below + colorPalette: paletteFor(p.solfeggioFrequency.value) // 7x "#RRGGBB" or omit + }; +} +``` + +Key points: + +- Derive the emitted `solfeggioFrequencyId` from the joined frequency's + **Hz value**, never from the DB id. This keeps v1 rows (and their ids) + untouched while v2 emits canonical ids. +- Proclamations whose frequency has no canonical id (e.g. 936 Hz) are excluded + from v2 responses (or re-assigned a canonical frequency in data). +- Add the missing frequencies to the DB so content can be authored for them: + `174, 285, 432, 963` (by `value`). Do not delete or renumber the existing + rows that v1 depends on. + +### Color palettes + +Add a portal-editable palette source keyed by canonical frequency, for example +a `colorPalette` JSON column on `SolfeggioFrequency` or a +`ColorPalette`/`ColorPaletteColor` table: + +```prisma +model ColorPalette { + solfeggioFrequencyId Int @id + colors Json // ["#RRGGBB", ... x7] +} +``` + +- Seed all 9 canonical palettes to match the kiosk's current seed + (`src/db/database_manager.cpp` → `seedColorPalettes()`). +- `GET /color-palettes` returns one entry per canonical id. +- `GET /proclamations` embeds the palette for the proclamation's canonical + frequency. + +### License endpoint + +In `license/+server.ts`, resolve the level object like v1 change #1 suggested: + +```ts +const level = await prisma.subscriptionLevel.findFirst({ + where: { name: storedKey.level } +}); + +subscription_level = level + ? { id: level.id, name: level.name, description: level.description } + : { id: null, name: storedKey.level, description: null }; +``` + +### Proclamations entitlement filter + +When `X-License-Key` / `X-Email` headers are present, validate them exactly as +v1 does, but return **full proclamation records** (the user's entitled set via +`UserProclamations` + `Proclamation` include), never join-table rows. + +### Tests + +- Unit-test the serializers with fixtures matching the kiosk's offline tests + in `tests/test_api_client.cpp` (string vs object `subscription_level`, + `subscriptionLevelId: null`, `parentId: null`, 7-color palettes, canonical + frequency mapping incl. 936 → dropped). +- Live smoke tests against `/api/v2` mirroring the existing v1 live tests. + +--- + +## Security: restricting v2 to the kiosk application + +These endpoints should be reachable only from enrolled kiosk devices. v1's +auth could be disabled with `API_KEYS_ACTIVE=false`; v2 must not offer that +bypass. Suggestions below are ordered by impact. + +### 1. Mandatory bearer-key auth on every content route + +- Every v2 route except the signed onboarding route requires + `Authorization: Bearer sk_`. +- Enforce it in `hooks.server.ts` unconditionally (no env toggle). +- Keys are generated with `generateApiKey()`, stored **SHA-256 hashed**, and + only the `sk_xxxxxxxxxx` prefix is ever displayed. Never log or return the + plaintext key. +- Use constant-time comparison / lookup by hash (already the case via + `validateApiKey`). + +### 2. Per-device credentials (enroll each kiosk) + +One shared API key is a single point of failure. Instead: + +- Add a `Device` record (id, serial, model, owner, enrolledAt, apiKeyId) and + issue **one unique key per kiosk** at first boot (or at manufacturing). +- Bind the key to the device: include the device id in a custom header + (`X-Device-Id`) and verify the key belongs to that device. +- A compromised key is then revoked per-device without a global rotation, and + the portal can tell which device made each request. + +### 3. Least privilege / scoped keys + +- Kiosk keys are read-only for content (`/frequencies`, `/categories`, + `/proclamations`, `/color-palettes`, `/subscription-levels`) and may POST to + `/license`. +- Reject any other verb/route combination with 403. Admin and data-mutation + keys are issued separately to portal staff only. + +### 4. Rate limiting per key and per IP + +- Content GETs: ~60/min per key/IP. +- `/license`: ~10/min per key/IP. +- `/automations/create/account`: ~5/min per IP and ~3/day per email. +- Return `429` with `Retry-After`; the kiosk client should back off and retry. +- Slippery handling for repeated failures (rate-limit on failures too). + +### 5. Replay protection / request signing + +- The bearer key alone is replayable if captured. Add to the high-risk routes + (and the onboarding route) an HMAC-SHA256 signature over the canonical + request (method, path, `X-Timestamp`, `X-Nonce`, raw body) using a secret + known only to the device and the server. +- Reject when `|now − X-Timestamp| > 300s` or when a nonce has been seen + before. This defeats capture-and-replay attacks over the network. +- Implement the same scheme for the onboarding route using a shared secret + configured on the portal and the GoHighLevel automation (replacing the + current entirely unauthenticated `/automations/*` exemption). + +### 6. Never put credentials in URLs + +- v1 accepted license keys and emails in the query string, which land in + access logs, proxies, and referrers. v2 reads credentials from the + `Authorization` header and JSON body only. +- Redact `Authorization` values, license keys, and emails in application and + proxy logs. + +### 7. Client fingerprinting and bot rejection + +- The kiosk sends `User-Agent: RadiantWave-Kiosk/0.1`. Require it (optionally + with a signed `X-Client-Id`) and return `403` for generic browsers, `curl`, + and headless scanners. +- Reject request bodies that are not `application/json` where JSON is + expected; enforce request-size limits (reject with `413`). +- At the proxy layer: require TLS 1.2+, prefer 1.3, set HSTS; consider + restricting v2 to expected deployment geographies and blocking TOR/exit + nodes and known hosting/bot ASNs. + +### 8. Input validation and uniform errors + +- Validate each body against a strict schema: email ≤ 254 chars and a valid + shape, `license_key` must match `^[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}$`, + `subscription_level` must equal a known level name, `name` ≤ 120 chars. +- Reject embedded HTML/script in string fields. +- Return uniform `{"message": ...}` bodies; never leak stack traces or SQL + errors. Avoid verbose error differences that enable credential enumeration + (see below). + +### 9. License / onboarding abuse resistance + +- `/license` success/failure is enumerable by design (a fixed key format). At + minimum rate-limit aggressively. Consider returning a generic + `{"message": "invalid credentials"}` (possibly plus a structured `code` + field for the kiosk) so attackers cannot distinguish "user exists" from + "key exists". Keep the specific messages only behind authenticated admin + tooling if they are needed for support. +- `/automations/create/account` mints real license keys and sends email, so + protect it hardest: HMAC signature (above), per-IP and per-email rate + limits, an email-domain/typo check, and a honeypot field. Never expose it + without signature as an unauthenticated "create account" funnel. + +### 10. Monitoring, logging, alerting + +- Log every v2 request as structured data: timestamp, endpoint, method, status, + key prefix, `X-Device-Id`, IP, latency. Never log full keys, emails, or + bodies. +- Alert on: error-rate spikes, repeated 401s, unexpected `/license` volume, + signup bursts, single-device request floods, and revoked-key usage. +- Automatically suspend a device that shows abusive patterns; require + re-enrollment. + +### 11. Key lifecycle + +- Rotate keys on a schedule; support the existing `rotateApiKey` 48-hour grace + and emergency revocation per device. +- Auto-expire keys that have not authenticated in N days. +- Consider an authenticated `/api/v2/auth/refresh` (or device re-enrollment) + so a kiosk can obtain a fresh key, turning a leaked key into a self-healing + problem. + +--- + +## Rollout checklist + +1. Implement the v2 routes and serializers; add unit + live smoke tests. +2. Ship v2 alongside v1 (both live; v1 frozen). +3. Flip the kiosk base URL: `src/network/api_client.h` → + `https://portal.radiantwavetech.com/api/v2` (already done by this change). +4. Run the kiosk live tests with `RW_LIVE_API_KEY` set: + - `./build/test_api_client` + - `./build/test_license_service` +5. Update portal-admin color palettes and verify a fresh kiosk sync picks them + up (now wired via `/color-palettes`). +6. Keep `/api/v1` online until all deployed kiosks are on the v2 build; + monitor v1 traffic and sunset it only after the fleet is migrated. diff --git a/prisma/migrations/20260807000000_add_color_palette/migration.sql b/prisma/migrations/20260807000000_add_color_palette/migration.sql new file mode 100644 index 0000000..72a61ff --- /dev/null +++ b/prisma/migrations/20260807000000_add_color_palette/migration.sql @@ -0,0 +1,7 @@ +-- CreateTable +CREATE TABLE "ColorPalette" ( + "solfeggioFrequencyId" INTEGER NOT NULL, + "colors" JSONB NOT NULL, + + CONSTRAINT "ColorPalette_pkey" PRIMARY KEY ("solfeggioFrequencyId") +); diff --git a/prisma/schema.prisma b/prisma/schema.prisma index eec5c1a..02ffba9 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -193,4 +193,14 @@ model SubscriptionLevel { description String? proclamations Proclamation[] categoryLevels ProclamationCategorySubscriptionLevel[] +} + +// Portal-editable 7-color palette per canonical solfeggio frequency id (1-9). +// `solfeggioFrequencyId` is the canonical id the kiosk uses (see +// v2-serializers.ts), not the DB autoincrement id of `SolfeggioFrequency`. +model ColorPalette { + solfeggioFrequencyId Int @id + colors Json // ["#RRGGBB", ... x7] + + @@map("ColorPalette") } \ No newline at end of file diff --git a/prisma/seed.ts b/prisma/seed.ts index c53f0b3..fffd785 100644 --- a/prisma/seed.ts +++ b/prisma/seed.ts @@ -21,7 +21,55 @@ const solfeggioFrequencies = [ { id: 4, name: 'Heart', value: 639 }, { id: 5, name: 'Solar Plexus', value: 528 }, { id: 6, name: 'Sacral', value: 417 }, - { id: 7, name: 'Root', value: 396 } + { id: 7, name: 'Root', value: 396 }, + // Canonical frequencies missing from the original 7-row set. Kept as + // separate rows (with distinct unique names) so the canonical id mapping + // in v2-serializers.ts can resolve 1-9 without renumbering v1 rows. + { id: 8, name: 'Grounding / Relief', value: 174 }, + { id: 9, name: 'Relief', value: 285 }, + { id: 10, name: 'Clarity / Wellbeing', value: 432 }, + { id: 11, name: 'Crown 963', value: 963 } +]; + +// Canonical id -> 7-color palette, matching the kiosk's +// DatabaseManager::seedColorPalettes() (radiantwave-rebuild). +const colorPalettes: { solfeggioFrequencyId: number; colors: string[] }[] = [ + { + solfeggioFrequencyId: 1, + colors: ['#8B6914', '#B8860B', '#DAA520', '#E8B64C', '#FFD700', '#FFE9A8', '#FFF4CC'] + }, + { + solfeggioFrequencyId: 2, + colors: ['#8B0000', '#B22222', '#DC143C', '#FF6347', '#FF8C69', '#FFA500', '#FFDAB9'] + }, + { + solfeggioFrequencyId: 3, + colors: ['#FF4500', '#FF7F50', '#FF8C00', '#FFA500', '#FFC87F', '#FFDFBA', '#FFEBCD'] + }, + { + solfeggioFrequencyId: 4, + colors: ['#8B2252', '#CD3278', '#DB7093', '#FF69B4', '#FFB6C1', '#FFC0CB', '#FFE4E1'] + }, + { + solfeggioFrequencyId: 5, + colors: ['#32CD32', '#3CB371', '#90EE90', '#98FB98', '#ADFFA9', '#C8FFD2', '#F0FFF0'] + }, + { + solfeggioFrequencyId: 6, + colors: ['#00FF7F', '#00CED1', '#40E0D0', '#5F9EA0', '#7FFFD4', '#AFEEEE', '#E0FFFF'] + }, + { + solfeggioFrequencyId: 7, + colors: ['#00BFFF', '#1E90FF', '#4169E1', '#6495ED', '#87CEEB', '#ADD8E6', '#F0F8FF'] + }, + { + solfeggioFrequencyId: 8, + colors: ['#4B0082', '#9370DB', '#8A2BE2', '#7B68EE', '#DA70D6', '#D8BFD8', '#E6E6FA'] + }, + { + solfeggioFrequencyId: 9, + colors: ['#9400D3', '#BA55D3', '#C71585', '#DDA0DD', '#EE82EE', '#FFF0F5', '#FAF0FA'] + } ]; const subscriptionLevels = [ @@ -100,6 +148,15 @@ async function main() { }); } + console.log('Seeding ColorPalette...'); + for (const palette of colorPalettes) { + await prisma.colorPalette.upsert({ + where: { solfeggioFrequencyId: palette.solfeggioFrequencyId }, + create: palette, + update: palette + }); + } + console.log('Seed complete.'); } diff --git a/src/app.d.ts b/src/app.d.ts index 1dc9c84..8f835de 100644 --- a/src/app.d.ts +++ b/src/app.d.ts @@ -1,10 +1,12 @@ import type { Session, User } from 'better-auth'; +import type { ApiKeyRecord } from '$lib/server/api-key'; declare global { namespace App { interface Locals { session: Session | null; user: User | null; + apiKey?: ApiKeyRecord; } } } diff --git a/src/hooks.server.spec.ts b/src/hooks.server.spec.ts index e79d7aa..c7dde5c 100644 --- a/src/hooks.server.spec.ts +++ b/src/hooks.server.spec.ts @@ -1,4 +1,5 @@ import { describe, it, expect, vi, beforeEach } from 'vitest'; +import type { RequestEvent } from '@sveltejs/kit'; const { getSession } = vi.hoisted(() => ({ getSession: vi.fn() @@ -8,10 +9,19 @@ const { svelteKitHandler } = vi.hoisted(() => ({ svelteKitHandler: vi.fn() })); +const { validateApiKeyMock, envMock } = vi.hoisted(() => ({ + validateApiKeyMock: vi.fn(), + envMock: { API_KEYS_ACTIVE: undefined as string | undefined } +})); + vi.mock('$app/environment', () => ({ building: false })); +vi.mock('$env/dynamic/private', () => ({ + env: envMock +})); + vi.mock('better-auth/svelte-kit', () => ({ svelteKitHandler })); @@ -25,24 +35,33 @@ vi.mock('$lib/auth', () => ({ })); vi.mock('$lib/server/api-key', () => ({ - validateApiKey: vi.fn() + validateApiKey: validateApiKeyMock })); import { handle } from './hooks.server'; -function createMockEvent(path = '/dashboard') { +type MockRequestEvent = RequestEvent & { resolve: ReturnType }; + +function createMockEvent(path = '/dashboard'): MockRequestEvent { return { request: new Request(`http://localhost${path}`), url: new URL(`http://localhost${path}`), locals: {} as Record, resolve: vi.fn() - } as any; + } as unknown as MockRequestEvent; +} + +function runHandle(event: MockRequestEvent) { + type HandleArgs = Parameters[0]; + return handle({ event, resolve: event.resolve as unknown as HandleArgs['resolve'] }); } describe('hooks.server handle', () => { beforeEach(() => { getSession.mockReset(); svelteKitHandler.mockReset(); + validateApiKeyMock.mockReset(); + envMock.API_KEYS_ACTIVE = undefined; }); it('sets session and user on locals when authenticated', async () => { @@ -53,7 +72,7 @@ describe('hooks.server handle', () => { getSession.mockResolvedValue(sessionData); const event = createMockEvent(); - await handle({ event, resolve: event.resolve }); + await runHandle(event); expect(event.locals.session).toEqual(sessionData.session); expect(event.locals.user).toEqual(sessionData.user); @@ -70,7 +89,7 @@ describe('hooks.server handle', () => { getSession.mockResolvedValue(null); const event = createMockEvent(); - await handle({ event, resolve: event.resolve }); + await runHandle(event); expect(event.locals.session).toBeUndefined(); expect(event.locals.user).toBeUndefined(); @@ -80,7 +99,7 @@ describe('hooks.server handle', () => { getSession.mockResolvedValue(undefined); const event = createMockEvent(); - await handle({ event, resolve: event.resolve }); + await runHandle(event); expect(event.locals.session).toBeUndefined(); expect(event.locals.user).toBeUndefined(); @@ -90,7 +109,7 @@ describe('hooks.server handle', () => { getSession.mockResolvedValue(null); const event = createMockEvent(); - await handle({ event, resolve: event.resolve }); + await runHandle(event); expect(svelteKitHandler).toHaveBeenCalledWith(expect.objectContaining({ building: false })); }); @@ -99,7 +118,7 @@ describe('hooks.server handle', () => { getSession.mockResolvedValue(null); const event = createMockEvent(); - await handle({ event, resolve: event.resolve }); + await runHandle(event); expect(svelteKitHandler).toHaveBeenCalledWith( expect.objectContaining({ @@ -109,4 +128,80 @@ describe('hooks.server handle', () => { }) ); }); + + describe('v2 auth gate', () => { + it('returns 401 for v2 routes without an Authorization header', async () => { + const event = createMockEvent('/api/v2/proclamations'); + const res = await runHandle(event); + + expect(res.status).toBe(401); + expect(await res.json()).toEqual({ error: 'API key required' }); + expect(validateApiKeyMock).not.toHaveBeenCalled(); + expect(event.resolve).not.toHaveBeenCalled(); + }); + + it('returns 401 for v2 routes with an invalid bearer key', async () => { + validateApiKeyMock.mockResolvedValue(null); + + const event = createMockEvent('/api/v2/proclamations'); + event.request = new Request('http://localhost/api/v2/proclamations', { + headers: { authorization: 'Bearer sk_invalid' } + }); + const res = await runHandle(event); + + expect(res.status).toBe(401); + expect(await res.json()).toEqual({ error: 'Invalid or expired API key' }); + expect(validateApiKeyMock).toHaveBeenCalledWith('sk_invalid'); + expect(event.resolve).not.toHaveBeenCalled(); + }); + + it('resolves v2 routes with a valid bearer key and sets locals.apiKey', async () => { + validateApiKeyMock.mockResolvedValue({ id: 'key-1', keyPrefix: 'sk_abc123' }); + + const event = createMockEvent('/api/v2/proclamations'); + event.request = new Request('http://localhost/api/v2/proclamations', { + headers: { authorization: 'Bearer sk_abc123def' } + }); + await runHandle(event); + + expect(event.resolve).toHaveBeenCalled(); + expect(event.locals.apiKey).toEqual({ id: 'key-1', keyPrefix: 'sk_abc123' }); + expect(validateApiKeyMock).toHaveBeenCalledWith('sk_abc123def'); + }); + + it('always validates the v2 API key even when API_KEYS_ACTIVE would bypass v1', async () => { + envMock.API_KEYS_ACTIVE = 'false'; + validateApiKeyMock.mockResolvedValue(null); + + const event = createMockEvent('/api/v2/frequencies'); + event.request = new Request('http://localhost/api/v2/frequencies', { + headers: { authorization: 'Bearer sk_abc' } + }); + const res = await runHandle(event); + + expect(res.status).toBe(401); + expect(await res.json()).toEqual({ error: 'Invalid or expired API key' }); + expect(validateApiKeyMock).toHaveBeenCalledWith('sk_abc'); + }); + + it('does not require an API key for signed v2 onboarding routes', async () => { + getSession.mockResolvedValue(null); + + const event = createMockEvent('/api/v2/automations/create/account'); + await runHandle(event); + + expect(validateApiKeyMock).not.toHaveBeenCalled(); + expect(svelteKitHandler).toHaveBeenCalled(); + }); + + it('does not apply the v2 gate to non-API routes', async () => { + getSession.mockResolvedValue(null); + + const event = createMockEvent('/dashboard'); + await runHandle(event); + + expect(validateApiKeyMock).not.toHaveBeenCalled(); + expect(svelteKitHandler).toHaveBeenCalled(); + }); + }); }); diff --git a/src/hooks.server.ts b/src/hooks.server.ts index 6105ad5..369409f 100644 --- a/src/hooks.server.ts +++ b/src/hooks.server.ts @@ -5,6 +5,34 @@ import { validateApiKey } from '$lib/server/api-key'; import { env } from '$env/dynamic/private'; export async function handle({ event, resolve }) { + // v2 auth is ALWAYS enforced — no API_KEYS_ACTIVE bypass. The only + // exceptions are the signed onboarding routes (HMAC-protected). + const isV2 = event.url.pathname.startsWith('/api/v2/'); + const isSignedOnboarding = event.url.pathname.startsWith('/api/v2/automations/'); + + if (isV2 && !isSignedOnboarding) { + const authHeader = event.request.headers.get('authorization'); + if (!authHeader?.startsWith('Bearer ')) { + return new Response(JSON.stringify({ error: 'API key required' }), { + status: 401, + headers: { 'content-type': 'application/json' } + }); + } + + const key = authHeader.slice(7); + const record = await validateApiKey(key); + if (!record) { + return new Response(JSON.stringify({ error: 'Invalid or expired API key' }), { + status: 401, + headers: { 'content-type': 'application/json' } + }); + } + + event.locals.apiKey = record; + + return resolve(event); + } + if ( event.url.pathname.startsWith('/api/v1/') && !event.url.pathname.startsWith('/api/v1/automations/') diff --git a/src/lib/generated/prisma/browser.ts b/src/lib/generated/prisma/browser.ts index c6c3738..c8e1476 100644 --- a/src/lib/generated/prisma/browser.ts +++ b/src/lib/generated/prisma/browser.ts @@ -1,94 +1,99 @@ + /* !!! 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; +export type ProclamationCategorySubscriptionLevel = Prisma.ProclamationCategorySubscriptionLevelModel /** * Model LicenseKey - * + * */ -export type LicenseKey = Prisma.LicenseKeyModel; +export type LicenseKey = Prisma.LicenseKeyModel /** * Model ApiKey - * + * */ -export type ApiKey = Prisma.ApiKeyModel; +export type ApiKey = Prisma.ApiKeyModel /** * Model SubscriptionLevel - * + * */ -export type SubscriptionLevel = Prisma.SubscriptionLevelModel; +export type SubscriptionLevel = Prisma.SubscriptionLevelModel +/** + * Model ColorPalette + * + */ +export type ColorPalette = Prisma.ColorPaletteModel diff --git a/src/lib/generated/prisma/client.ts b/src/lib/generated/prisma/client.ts index 292a3a0..5cd2390 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,90 +34,90 @@ 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; +export type ProclamationCategorySubscriptionLevel = Prisma.ProclamationCategorySubscriptionLevelModel /** * Model LicenseKey - * + * */ -export type LicenseKey = Prisma.LicenseKeyModel; +export type LicenseKey = Prisma.LicenseKeyModel /** * Model ApiKey - * + * */ -export type ApiKey = Prisma.ApiKeyModel; +export type ApiKey = Prisma.ApiKeyModel /** * Model SubscriptionLevel - * + * */ -export type SubscriptionLevel = Prisma.SubscriptionLevelModel; +export type SubscriptionLevel = Prisma.SubscriptionLevelModel +/** + * Model ColorPalette + * + */ +export type ColorPalette = Prisma.ColorPaletteModel diff --git a/src/lib/generated/prisma/commonInputTypes.ts b/src/lib/generated/prisma/commonInputTypes.ts index 9d5baa4..48a3f1c 100644 --- a/src/lib/generated/prisma/commonInputTypes.ts +++ b/src/lib/generated/prisma/commonInputTypes.ts @@ -1,402 +1,481 @@ + /* !!! 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 JsonFilter<$PrismaModel = never> = +| Prisma.PatchUndefined< + Prisma.Either>, Exclude>, 'path'>>, + Required> + > +| Prisma.OptionalFlat>, 'path'>> + +export type JsonFilterBase<$PrismaModel = never> = { + equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter + path?: string[] + mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> + string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> + string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> + array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null + array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null + lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter +} + +export type JsonWithAggregatesFilter<$PrismaModel = never> = +| Prisma.PatchUndefined< + Prisma.Either>, Exclude>, 'path'>>, + Required> + > +| Prisma.OptionalFlat>, 'path'>> + +export type JsonWithAggregatesFilterBase<$PrismaModel = never> = { + equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter + path?: string[] + mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> + string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> + string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> + array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null + array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null + lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter + _count?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedJsonFilter<$PrismaModel> + _max?: Prisma.NestedJsonFilter<$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 +} + +export type NestedJsonFilter<$PrismaModel = never> = +| Prisma.PatchUndefined< + Prisma.Either>, Exclude>, 'path'>>, + Required> + > +| Prisma.OptionalFlat>, 'path'>> + +export type NestedJsonFilterBase<$PrismaModel = never> = { + equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter + path?: string[] + mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> + string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> + string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> + array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null + array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null + lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> + not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter +} + + 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 28b8d35..392255b 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 // 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 ApiKey {\n id String @id @default(cuid())\n keyPrefix String\n keyHash String @unique\n createdAt DateTime @default(now())\n expiresAt DateTime?\n revokedAt DateTime?\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: '' - } -}; + "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 ApiKey {\n id String @id @default(cuid())\n keyPrefix String\n keyHash String @unique\n createdAt DateTime @default(now())\n expiresAt DateTime?\n revokedAt DateTime?\n}\n\nmodel SubscriptionLevel {\n id Int @id @default(autoincrement())\n name String\n description String?\n proclamations Proclamation[]\n categoryLevels ProclamationCategorySubscriptionLevel[]\n}\n\n// Portal-editable 7-color palette per canonical solfeggio frequency id (1-9).\n// `solfeggioFrequencyId` is the canonical id the kiosk uses (see\n// v2-serializers.ts), not the DB autoincrement id of `SolfeggioFrequency`.\nmodel ColorPalette {\n solfeggioFrequencyId Int @id\n colors Json // [\"#RRGGBB\", ... x7]\n\n @@map(\"ColorPalette\")\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":"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},"ApiKey":{"fields":[{"name":"id","kind":"scalar","type":"String"},{"name":"keyPrefix","kind":"scalar","type":"String"},{"name":"keyHash","kind":"scalar","type":"String"},{"name":"createdAt","kind":"scalar","type":"DateTime"},{"name":"expiresAt","kind":"scalar","type":"DateTime"},{"name":"revokedAt","kind":"scalar","type":"DateTime"}],"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.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},\"ApiKey\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"keyPrefix\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"keyHash\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"revokedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"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},\"ColorPalette\":{\"fields\":[{\"name\":\"solfeggioFrequencyId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"colors\",\"kind\":\"scalar\",\"type\":\"Json\"}],\"dbName\":\"ColorPalette\"}},\"enums\":{},\"types\":{}}") config.parameterizationSchema = { - 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","ApiKey.findUnique","ApiKey.findUniqueOrThrow","ApiKey.findFirst","ApiKey.findFirstOrThrow","ApiKey.findMany","ApiKey.createOne","ApiKey.createMany","ApiKey.createManyAndReturn","ApiKey.updateOne","ApiKey.updateMany","ApiKey.updateManyAndReturn","ApiKey.upsertOne","ApiKey.deleteOne","ApiKey.deleteMany","ApiKey.groupBy","ApiKey.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","keyPrefix","keyHash","createdAt","expiresAt","revokedAt","key","active","level","userId","categoryId","subscriptionLevelId","sortOrder","parentId","value","proclamationId","updatedAt","content","solfeggioFrequencyId","identifier","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: - '3AaOAfABEQUAAOUDACAHAADmAwAgCAAA5wMAIAkAAOgDACALAADpAwAgFAAA2gMAII4CAADkAwAwjwIAAAUAEJACAADkAwAwkQIBAAAAAZICAQCnAwAhpAJAALMDACGxAkAAswMAIc8CAQAAAAHQAiAA3wMAIdECAQCoAwAh0gICANUDACEBAAAAAQAgBgMAAMYDACCOAgAAxQMAMI8CAAADABCQAgAAxQMAMJECAgCmAwAhkgIBAKcDACEBAAAAAwAgEQUAAOUDACAHAADmAwAgCAAA5wMAIAkAAOgDACALAADpAwAgFAAA2gMAII4CAADkAwAwjwIAAAUAEJACAADkAwAwkQIBAKcDACGSAgEApwMAIaQCQACzAwAhsQJAALMDACHPAgEApwMAIdACIADfAwAh0QIBAKgDACHSAgIA1QMAIQgFAACGBgAgBwAAhwYAIAgAAIgGACAJAACFBgAgCwAAiQYAIBQAAIMGACDRAgAA6gMAINICAADqAwAgAwAAAAUAIAEAAAYAMAIAAAEAIAEAAAAFACAMBgAAzAMAII4CAADjAwAwjwIAAAkAEJACAADjAwAwkQIBAKcDACGkAkAAswMAIaUCQACzAwAhqgIBAKcDACGxAkAAswMAIb4CAQCnAwAhvwIBAKgDACHAAgEAqAMAIQMGAAD2BQAgvwIAAOoDACDAAgAA6gMAIAwGAADMAwAgjgIAAOMDADCPAgAACQAQkAIAAOMDADCRAgEAAAABpAJAALMDACGlAkAAswMAIaoCAQCnAwAhsQJAALMDACG-AgEAAAABvwIBAKgDACHAAgEAqAMAIQMAAAAJACABAAAKADACAAALACARBgAAzAMAII4CAADiAwAwjwIAAA0AEJACAADiAwAwkQIBAKcDACGkAkAAswMAIaoCAQCnAwAhsQJAALMDACG1AgEApwMAIbYCAQCnAwAhtwIBAKgDACG4AgEAqAMAIbkCAQCoAwAhugJAALQDACG7AkAAtAMAIbwCAQCoAwAhvQIBAKgDACEIBgAA9gUAILcCAADqAwAguAIAAOoDACC5AgAA6gMAILoCAADqAwAguwIAAOoDACC8AgAA6gMAIL0CAADqAwAgEQYAAMwDACCOAgAA4gMAMI8CAAANABCQAgAA4gMAMJECAQAAAAGkAkAAswMAIaoCAQCnAwAhsQJAALMDACG1AgEApwMAIbYCAQCnAwAhtwIBAKgDACG4AgEAqAMAIbkCAQCoAwAhugJAALQDACG7AkAAtAMAIbwCAQCoAwAhvQIBAKgDACEDAAAADQAgAQAADgAwAgAADwAgCwYAAMwDACAKAADNAwAgjgIAAMsDADCPAgAAEQAQkAIAAMsDADCRAgEApwMAIaoCAQCnAwAhywIBAKcDACHMAgEApwMAIc0CAQCnAwAhzgIBAKgDACEBAAAAEQAgDwkAAOEDACCOAgAA4AMAMI8CAAATABCQAgAA4AMAMJECAQCnAwAhwQIBAKcDACHCAgEApwMAIcMCAQCnAwAhxAIBAKcDACHFAgEApwMAIcYCAQCnAwAhxwIBAKcDACHIAiAA3wMAIckCIADfAwAhygIgAN8DACEBCQAAhQYAIA8JAADhAwAgjgIAAOADADCPAgAAEwAQkAIAAOADADCRAgEAAAABwQIBAKcDACHCAgEApwMAIcMCAQCnAwAhxAIBAKcDACHFAgEApwMAIcYCAQCnAwAhxwIBAKcDACHIAiAA3wMAIckCIADfAwAhygIgAN8DACEDAAAAEwAgAQAAFAAwAgAAFQAgAQAAABMAIAkGAADMAwAgjgIAAN4DADCPAgAAGAAQkAIAAN4DADCRAgEApwMAIacCAQCnAwAhqAIgAN8DACGpAgEApwMAIaoCAQCnAwAhAQYAAPYFACAJBgAAzAMAII4CAADeAwAwjwIAABgAEJACAADeAwAwkQIBAAAAAacCAQAAAAGoAiAA3wMAIakCAQCnAwAhqgIBAKcDACEDAAAAGAAgAQAAGQAwAgAAGgAgCQYAAMwDACAVAADdAwAgjgIAANwDADCPAgAAHAAQkAIAANwDADCkAkAAswMAIaoCAQCnAwAhsAIBAKcDACGxAkAAswMAIQIGAAD2BQAgFQAAhAYAIAoGAADMAwAgFQAA3QMAII4CAADcAwAwjwIAABwAEJACAADcAwAwpAJAALMDACGqAgEApwMAIbACAQCnAwAhsQJAALMDACHVAgAA2wMAIAMAAAAcACABAAAdADACAAAeACANDQAA2QMAIBAAANEDACASAADSAwAgFAAA2gMAII4CAADYAwAwjwIAACAAEJACAADYAwAwkQIBAKcDACGSAgEApwMAIasCAgCmAwAhrAICAKYDACGyAgEApwMAIbMCAgCmAwAhBA0AAIIGACAQAAD_BQAgEgAAgAYAIBQAAIMGACANDQAA2QMAIBAAANEDACASAADSAwAgFAAA2gMAII4CAADYAwAwjwIAACAAEJACAADYAwAwkQIBAAAAAZICAQAAAAGrAgIApgMAIawCAgCmAwAhsgIBAKcDACGzAgIApgMAIQMAAAAgACABAAAhADACAAAiACABAAAAIAAgCwwAAKkDACAOAADWAwAgDwAA1wMAIBMAAKoDACCOAgAA1AMAMI8CAAAlABCQAgAA1AMAMJECAgCmAwAhkgIBAKcDACGtAgIApgMAIa4CAgDVAwAhAQAAACUAIAUMAACmBAAgDgAA_wUAIA8AAIEGACATAACnBAAgrgIAAOoDACAMDAAAqQMAIA4AANYDACAPAADXAwAgEwAAqgMAII4CAADUAwAwjwIAACUAEJACAADUAwAwkQICAAAAAZICAQCnAwAhrQICAKYDACGuAgIA1QMAIdQCAADTAwAgAwAAACUAIAEAACcAMAIAACgAIAMAAAAgACABAAAhADACAAAiACAHEAAA0QMAIBIAANIDACCOAgAA0AMAMI8CAAArABCQAgAA0AMAMKsCAgCmAwAhrAICAKYDACECEAAA_wUAIBIAAIAGACAIEAAA0QMAIBIAANIDACCOAgAA0AMAMI8CAAArABCQAgAA0AMAMKsCAgCmAwAhrAICAKYDACHTAgAAzwMAIAMAAAArACABAAAsADACAAAtACADAAAAIAAgAQAAIQAwAgAAIgAgAwAAACsAIAEAACwAMAIAAC0AIAEAAAAgACABAAAAKwAgAQAAACUAIAEAAAAgACABAAAAKwAgAwAAABwAIAEAAB0AMAIAAB4AIAEAAAAcACABAAAACQAgAQAAAA0AIAEAAAAYACABAAAAHAAgAQAAAAEAIAMAAAAFACABAAAGADACAAABACADAAAABQAgAQAABgAwAgAAAQAgAwAAAAUAIAEAAAYAMAIAAAEAIA4FAAD-BQAgBwAA2wUAIAgAANwFACAJAADdBQAgCwAA3gUAIBQAAN8FACCRAgEAAAABkgIBAAAAAaQCQAAAAAGxAkAAAAABzwIBAAAAAdACIAAAAAHRAgEAAAAB0gICAAAAAQEbAABAACAIkQIBAAAAAZICAQAAAAGkAkAAAAABsQJAAAAAAc8CAQAAAAHQAiAAAAAB0QIBAAAAAdICAgAAAAEBGwAAQgAwARsAAEIAMAEAAAADACAOBQAA_QUAIAcAAJUFACAIAACWBQAgCQAAlwUAIAsAAJgFACAUAACZBQAgkQIBAPADACGSAgEA8AMAIaQCQACbBAAhsQJAAJsEACHPAgEA8AMAIdACIACvBAAh0QIBAPEDACHSAgIAvgQAIQIAAAABACAbAABGACAIkQIBAPADACGSAgEA8AMAIaQCQACbBAAhsQJAAJsEACHPAgEA8AMAIdACIACvBAAh0QIBAPEDACHSAgIAvgQAIQIAAAAFACAbAABIACACAAAABQAgGwAASAAgAQAAAAMAIAMAAAABACAiAABAACAjAABGACABAAAAAQAgAQAAAAUAIAcEAAD4BQAgKAAA-QUAICkAAPwFACAqAAD7BQAgKwAA-gUAINECAADqAwAg0gIAAOoDACALjgIAAM4DADCPAgAAUAAQkAIAAM4DADCRAgEAmwMAIZICAQCbAwAhpAJAAKwDACGxAkAArAMAIc8CAQCbAwAh0AIgALYDACHRAgEAnAMAIdICAgC7AwAhAwAAAAUAIAEAAE8AMCcAAFAAIAMAAAAFACABAAAGADACAAABACALBgAAzAMAIAoAAM0DACCOAgAAywMAMI8CAAARABCQAgAAywMAMJECAQAAAAGqAgEAAAABywIBAKcDACHMAgEApwMAIc0CAQCnAwAhzgIBAKgDACEBAAAAUwAgAQAAAFMAIAMGAAD2BQAgCgAA9wUAIM4CAADqAwAgAwAAABEAIAEAAFYAMAIAAFMAIAMAAAARACABAABWADACAABTACADAAAAEQAgAQAAVgAwAgAAUwAgCAYAAPUFACAKAADBBQAgkQIBAAAAAaoCAQAAAAHLAgEAAAABzAIBAAAAAc0CAQAAAAHOAgEAAAABARsAAFoAIAaRAgEAAAABqgIBAAAAAcsCAQAAAAHMAgEAAAABzQIBAAAAAc4CAQAAAAEBGwAAXAAwARsAAFwAMAgGAAD0BQAgCgAAtAUAIJECAQDwAwAhqgIBAPADACHLAgEA8AMAIcwCAQDwAwAhzQIBAPADACHOAgEA8QMAIQIAAABTACAbAABfACAGkQIBAPADACGqAgEA8AMAIcsCAQDwAwAhzAIBAPADACHNAgEA8AMAIc4CAQDxAwAhAgAAABEAIBsAAGEAIAIAAAARACAbAABhACADAAAAUwAgIgAAWgAgIwAAXwAgAQAAAFMAIAEAAAARACAEBAAA8QUAICoAAPMFACArAADyBQAgzgIAAOoDACAJjgIAAMoDADCPAgAAaAAQkAIAAMoDADCRAgEAmwMAIaoCAQCbAwAhywIBAJsDACHMAgEAmwMAIc0CAQCbAwAhzgIBAJwDACEDAAAAEQAgAQAAZwAwJwAAaAAgAwAAABEAIAEAAFYAMAIAAFMAIAEAAAAVACABAAAAFQAgAwAAABMAIAEAABQAMAIAABUAIAMAAAATACABAAAUADACAAAVACADAAAAEwAgAQAAFAAwAgAAFQAgDAkAAPAFACCRAgEAAAABwQIBAAAAAcICAQAAAAHDAgEAAAABxAIBAAAAAcUCAQAAAAHGAgEAAAABxwIBAAAAAcgCIAAAAAHJAiAAAAABygIgAAAAAQEbAABwACALkQIBAAAAAcECAQAAAAHCAgEAAAABwwIBAAAAAcQCAQAAAAHFAgEAAAABxgIBAAAAAccCAQAAAAHIAiAAAAAByQIgAAAAAcoCIAAAAAEBGwAAcgAwARsAAHIAMAwJAADvBQAgkQIBAPADACHBAgEA8AMAIcICAQDwAwAhwwIBAPADACHEAgEA8AMAIcUCAQDwAwAhxgIBAPADACHHAgEA8AMAIcgCIACvBAAhyQIgAK8EACHKAiAArwQAIQIAAAAVACAbAAB1ACALkQIBAPADACHBAgEA8AMAIcICAQDwAwAhwwIBAPADACHEAgEA8AMAIcUCAQDwAwAhxgIBAPADACHHAgEA8AMAIcgCIACvBAAhyQIgAK8EACHKAiAArwQAIQIAAAATACAbAAB3ACACAAAAEwAgGwAAdwAgAwAAABUAICIAAHAAICMAAHUAIAEAAAAVACABAAAAEwAgAwQAAOwFACAqAADuBQAgKwAA7QUAIA6OAgAAyQMAMI8CAAB-ABCQAgAAyQMAMJECAQCbAwAhwQIBAJsDACHCAgEAmwMAIcMCAQCbAwAhxAIBAJsDACHFAgEAmwMAIcYCAQCbAwAhxwIBAJsDACHIAiAAtgMAIckCIAC2AwAhygIgALYDACEDAAAAEwAgAQAAfQAwJwAAfgAgAwAAABMAIAEAABQAMAIAABUAIAEAAAALACABAAAACwAgAwAAAAkAIAEAAAoAMAIAAAsAIAMAAAAJACABAAAKADACAAALACADAAAACQAgAQAACgAwAgAACwAgCQYAAOsFACCRAgEAAAABpAJAAAAAAaUCQAAAAAGqAgEAAAABsQJAAAAAAb4CAQAAAAG_AgEAAAABwAIBAAAAAQEbAACGAQAgCJECAQAAAAGkAkAAAAABpQJAAAAAAaoCAQAAAAGxAkAAAAABvgIBAAAAAb8CAQAAAAHAAgEAAAABARsAAIgBADABGwAAiAEAMAkGAADqBQAgkQIBAPADACGkAkAAmwQAIaUCQACbBAAhqgIBAPADACGxAkAAmwQAIb4CAQDwAwAhvwIBAPEDACHAAgEA8QMAIQIAAAALACAbAACLAQAgCJECAQDwAwAhpAJAAJsEACGlAkAAmwQAIaoCAQDwAwAhsQJAAJsEACG-AgEA8AMAIb8CAQDxAwAhwAIBAPEDACECAAAACQAgGwAAjQEAIAIAAAAJACAbAACNAQAgAwAAAAsAICIAAIYBACAjAACLAQAgAQAAAAsAIAEAAAAJACAFBAAA5wUAICoAAOkFACArAADoBQAgvwIAAOoDACDAAgAA6gMAIAuOAgAAyAMAMI8CAACUAQAQkAIAAMgDADCRAgEAmwMAIaQCQACsAwAhpQJAAKwDACGqAgEAmwMAIbECQACsAwAhvgIBAJsDACG_AgEAnAMAIcACAQCcAwAhAwAAAAkAIAEAAJMBADAnAACUAQAgAwAAAAkAIAEAAAoAMAIAAAsAIAEAAAAPACABAAAADwAgAwAAAA0AIAEAAA4AMAIAAA8AIAMAAAANACABAAAOADACAAAPACADAAAADQAgAQAADgAwAgAADwAgDgYAAOYFACCRAgEAAAABpAJAAAAAAaoCAQAAAAGxAkAAAAABtQIBAAAAAbYCAQAAAAG3AgEAAAABuAIBAAAAAbkCAQAAAAG6AkAAAAABuwJAAAAAAbwCAQAAAAG9AgEAAAABARsAAJwBACANkQIBAAAAAaQCQAAAAAGqAgEAAAABsQJAAAAAAbUCAQAAAAG2AgEAAAABtwIBAAAAAbgCAQAAAAG5AgEAAAABugJAAAAAAbsCQAAAAAG8AgEAAAABvQIBAAAAAQEbAACeAQAwARsAAJ4BADAOBgAA5QUAIJECAQDwAwAhpAJAAJsEACGqAgEA8AMAIbECQACbBAAhtQIBAPADACG2AgEA8AMAIbcCAQDxAwAhuAIBAPEDACG5AgEA8QMAIboCQACrBAAhuwJAAKsEACG8AgEA8QMAIb0CAQDxAwAhAgAAAA8AIBsAAKEBACANkQIBAPADACGkAkAAmwQAIaoCAQDwAwAhsQJAAJsEACG1AgEA8AMAIbYCAQDwAwAhtwIBAPEDACG4AgEA8QMAIbkCAQDxAwAhugJAAKsEACG7AkAAqwQAIbwCAQDxAwAhvQIBAPEDACECAAAADQAgGwAAowEAIAIAAAANACAbAACjAQAgAwAAAA8AICIAAJwBACAjAAChAQAgAQAAAA8AIAEAAAANACAKBAAA4gUAICoAAOQFACArAADjBQAgtwIAAOoDACC4AgAA6gMAILkCAADqAwAgugIAAOoDACC7AgAA6gMAILwCAADqAwAgvQIAAOoDACAQjgIAAMcDADCPAgAAqgEAEJACAADHAwAwkQIBAJsDACGkAkAArAMAIaoCAQCbAwAhsQJAAKwDACG1AgEAmwMAIbYCAQCbAwAhtwIBAJwDACG4AgEAnAMAIbkCAQCcAwAhugJAAK0DACG7AkAArQMAIbwCAQCcAwAhvQIBAJwDACEDAAAADQAgAQAAqQEAMCcAAKoBACADAAAADQAgAQAADgAwAgAADwAgBgMAAMYDACCOAgAAxQMAMI8CAAADABCQAgAAxQMAMJECAgAAAAGSAgEApwMAIQEAAACtAQAgAQAAAK0BACABAwAA4QUAIAMAAAADACABAACwAQAwAgAArQEAIAMAAAADACABAACwAQAwAgAArQEAIAMAAAADACABAACwAQAwAgAArQEAIAMDAADgBQAgkQICAAAAAZICAQAAAAEBGwAAtAEAIAKRAgIAAAABkgIBAAAAAQEbAAC2AQAwARsAALYBADADAwAAiQUAIJECAgDyAwAhkgIBAPADACECAAAArQEAIBsAALkBACACkQICAPIDACGSAgEA8AMAIQIAAAADACAbAAC7AQAgAgAAAAMAIBsAALsBACADAAAArQEAICIAALQBACAjAAC5AQAgAQAAAK0BACABAAAAAwAgBQQAAIQFACAoAACFBQAgKQAAiAUAICoAAIcFACArAACGBQAgBY4CAADEAwAwjwIAAMIBABCQAgAAxAMAMJECAgCaAwAhkgIBAJsDACEDAAAAAwAgAQAAwQEAMCcAAMIBACADAAAAAwAgAQAAsAEAMAIAAK0BACAJjgIAAMMDADCPAgAAyAEAEJACAADDAwAwkQIBAAAAAaQCQACzAwAhpQJAALMDACGvAgEApwMAIbECQACzAwAhtAIBAKcDACEBAAAAxQEAIAEAAADFAQAgCY4CAADDAwAwjwIAAMgBABCQAgAAwwMAMJECAQCnAwAhpAJAALMDACGlAkAAswMAIa8CAQCnAwAhsQJAALMDACG0AgEApwMAIQADAAAAyAEAIAEAAMkBADACAADFAQAgAwAAAMgBACABAADJAQAwAgAAxQEAIAMAAADIAQAgAQAAyQEAMAIAAMUBACAGkQIBAAAAAaQCQAAAAAGlAkAAAAABrwIBAAAAAbECQAAAAAG0AgEAAAABARsAAM0BACAGkQIBAAAAAaQCQAAAAAGlAkAAAAABrwIBAAAAAbECQAAAAAG0AgEAAAABARsAAM8BADABGwAAzwEAMAaRAgEA8AMAIaQCQACbBAAhpQJAAJsEACGvAgEA8AMAIbECQACbBAAhtAIBAPADACECAAAAxQEAIBsAANIBACAGkQIBAPADACGkAkAAmwQAIaUCQACbBAAhrwIBAPADACGxAkAAmwQAIbQCAQDwAwAhAgAAAMgBACAbAADUAQAgAgAAAMgBACAbAADUAQAgAwAAAMUBACAiAADNAQAgIwAA0gEAIAEAAADFAQAgAQAAAMgBACADBAAAgQUAICoAAIMFACArAACCBQAgCY4CAADCAwAwjwIAANsBABCQAgAAwgMAMJECAQCbAwAhpAJAAKwDACGlAkAArAMAIa8CAQCbAwAhsQJAAKwDACG0AgEAmwMAIQMAAADIAQAgAQAA2gEAMCcAANsBACADAAAAyAEAIAEAAMkBADACAADFAQAgAQAAACIAIAEAAAAiACADAAAAIAAgAQAAIQAwAgAAIgAgAwAAACAAIAEAACEAMAIAACIAIAMAAAAgACABAAAhADACAAAiACAKDQAAoQQAIBAAAKIEACASAADWBAAgFAAAowQAIJECAQAAAAGSAgEAAAABqwICAAAAAawCAgAAAAGyAgEAAAABswICAAAAAQEbAADjAQAgBpECAQAAAAGSAgEAAAABqwICAAAAAawCAgAAAAGyAgEAAAABswICAAAAAQEbAADlAQAwARsAAOUBADAKDQAAjgQAIBAAAI8EACASAADUBAAgFAAAkAQAIJECAQDwAwAhkgIBAPADACGrAgIA8gMAIawCAgDyAwAhsgIBAPADACGzAgIA8gMAIQIAAAAiACAbAADoAQAgBpECAQDwAwAhkgIBAPADACGrAgIA8gMAIawCAgDyAwAhsgIBAPADACGzAgIA8gMAIQIAAAAgACAbAADqAQAgAgAAACAAIBsAAOoBACADAAAAIgAgIgAA4wEAICMAAOgBACABAAAAIgAgAQAAACAAIAUEAAD8BAAgKAAA_QQAICkAAIAFACAqAAD_BAAgKwAA_gQAIAmOAgAAwQMAMI8CAADxAQAQkAIAAMEDADCRAgEAmwMAIZICAQCbAwAhqwICAJoDACGsAgIAmgMAIbICAQCbAwAhswICAJoDACEDAAAAIAAgAQAA8AEAMCcAAPEBACADAAAAIAAgAQAAIQAwAgAAIgAgAQAAAB4AIAEAAAAeACADAAAAHAAgAQAAHQAwAgAAHgAgAwAAABwAIAEAAB0AMAIAAB4AIAMAAAAcACABAAAdADACAAAeACAGBgAAnwQAIBUAAPsEACCkAkAAAAABqgIBAAAAAbACAQAAAAGxAkAAAAABARsAAPkBACAEpAJAAAAAAaoCAQAAAAGwAgEAAAABsQJAAAAAAQEbAAD7AQAwARsAAPsBADAGBgAAnQQAIBUAAPoEACCkAkAAmwQAIaoCAQDwAwAhsAIBAPADACGxAkAAmwQAIQIAAAAeACAbAAD-AQAgBKQCQACbBAAhqgIBAPADACGwAgEA8AMAIbECQACbBAAhAgAAABwAIBsAAIACACACAAAAHAAgGwAAgAIAIAMAAAAeACAiAAD5AQAgIwAA_gEAIAEAAAAeACABAAAAHAAgAwQAAPcEACAqAAD5BAAgKwAA-AQAIAeOAgAAwAMAMI8CAACHAgAQkAIAAMADADCkAkAArAMAIaoCAQCbAwAhsAIBAJsDACGxAkAArAMAIQMAAAAcACABAACGAgAwJwAAhwIAIAMAAAAcACABAAAdADACAAAeACAHDAAAqQMAII4CAAC_AwAwjwIAAI0CABCQAgAAvwMAMJECAgAAAAGSAgEAAAABrwICAAAAAQEAAACKAgAgAQAAAIoCACAHDAAAqQMAII4CAAC_AwAwjwIAAI0CABCQAgAAvwMAMJECAgCmAwAhkgIBAKcDACGvAgIApgMAIQEMAACmBAAgAwAAAI0CACABAACOAgAwAgAAigIAIAMAAACNAgAgAQAAjgIAMAIAAIoCACADAAAAjQIAIAEAAI4CADACAACKAgAgBAwAAPYEACCRAgIAAAABkgIBAAAAAa8CAgAAAAEBGwAAkgIAIAORAgIAAAABkgIBAAAAAa8CAgAAAAEBGwAAlAIAMAEbAACUAgAwBAwAAOwEACCRAgIA8gMAIZICAQDwAwAhrwICAPIDACECAAAAigIAIBsAAJcCACADkQICAPIDACGSAgEA8AMAIa8CAgDyAwAhAgAAAI0CACAbAACZAgAgAgAAAI0CACAbAACZAgAgAwAAAIoCACAiAACSAgAgIwAAlwIAIAEAAACKAgAgAQAAAI0CACAFBAAA5wQAICgAAOgEACApAADrBAAgKgAA6gQAICsAAOkEACAGjgIAAL4DADCPAgAAoAIAEJACAAC-AwAwkQICAJoDACGSAgEAmwMAIa8CAgCaAwAhAwAAAI0CACABAACfAgAwJwAAoAIAIAMAAACNAgAgAQAAjgIAMAIAAIoCACABAAAAKAAgAQAAACgAIAMAAAAlACABAAAnADACAAAoACADAAAAJQAgAQAAJwAwAgAAKAAgAwAAACUAIAEAACcAMAIAACgAIAgMAADkBAAgDgAA5gQAIA8AAOMEACATAADlBAAgkQICAAAAAZICAQAAAAGtAgIAAAABrgICAAAAAQEbAACoAgAgBJECAgAAAAGSAgEAAAABrQICAAAAAa4CAgAAAAEBGwAAqgIAMAEbAACqAgAwAQAAACUAIAgMAADBBAAgDgAAvwQAIA8AAMAEACATAADCBAAgkQICAPIDACGSAgEA8AMAIa0CAgDyAwAhrgICAL4EACECAAAAKAAgGwAArgIAIASRAgIA8gMAIZICAQDwAwAhrQICAPIDACGuAgIAvgQAIQIAAAAlACAbAACwAgAgAgAAACUAIBsAALACACABAAAAJQAgAwAAACgAICIAAKgCACAjAACuAgAgAQAAACgAIAEAAAAlACAGBAAAuQQAICgAALoEACApAAC9BAAgKgAAvAQAICsAALsEACCuAgAA6gMAIAeOAgAAugMAMI8CAAC4AgAQkAIAALoDADCRAgIAmgMAIZICAQCbAwAhrQICAJoDACGuAgIAuwMAIQMAAAAlACABAAC3AgAwJwAAuAIAIAMAAAAlACABAAAnADACAAAoACABAAAALQAgAQAAAC0AIAMAAAArACABAAAsADACAAAtACADAAAAKwAgAQAALAAwAgAALQAgAwAAACsAIAEAACwAMAIAAC0AIAQQAACCBAAgEgAAuAQAIKsCAgAAAAGsAgIAAAABARsAAMACACACqwICAAAAAawCAgAAAAEBGwAAwgIAMAEbAADCAgAwBBAAAIAEACASAAC3BAAgqwICAPIDACGsAgIA8gMAIQIAAAAtACAbAADFAgAgAqsCAgDyAwAhrAICAPIDACECAAAAKwAgGwAAxwIAIAIAAAArACAbAADHAgAgAwAAAC0AICIAAMACACAjAADFAgAgAQAAAC0AIAEAAAArACAFBAAAsgQAICgAALMEACApAAC2BAAgKgAAtQQAICsAALQEACAFjgIAALkDADCPAgAAzgIAEJACAAC5AwAwqwICAJoDACGsAgIAmgMAIQMAAAArACABAADNAgAwJwAAzgIAIAMAAAArACABAAAsADACAAAtACABAAAAGgAgAQAAABoAIAMAAAAYACABAAAZADACAAAaACADAAAAGAAgAQAAGQAwAgAAGgAgAwAAABgAIAEAABkAMAIAABoAIAYGAACxBAAgkQIBAAAAAacCAQAAAAGoAiAAAAABqQIBAAAAAaoCAQAAAAEBGwAA1gIAIAWRAgEAAAABpwIBAAAAAagCIAAAAAGpAgEAAAABqgIBAAAAAQEbAADYAgAwARsAANgCADAGBgAAsAQAIJECAQDwAwAhpwIBAPADACGoAiAArwQAIakCAQDwAwAhqgIBAPADACECAAAAGgAgGwAA2wIAIAWRAgEA8AMAIacCAQDwAwAhqAIgAK8EACGpAgEA8AMAIaoCAQDwAwAhAgAAABgAIBsAAN0CACACAAAAGAAgGwAA3QIAIAMAAAAaACAiAADWAgAgIwAA2wIAIAEAAAAaACABAAAAGAAgAwQAAKwEACAqAACuBAAgKwAArQQAIAiOAgAAtQMAMI8CAADkAgAQkAIAALUDADCRAgEAmwMAIacCAQCbAwAhqAIgALYDACGpAgEAmwMAIaoCAQCbAwAhAwAAABgAIAEAAOMCADAnAADkAgAgAwAAABgAIAEAABkAMAIAABoAIAmOAgAAsgMAMI8CAADqAgAQkAIAALIDADCRAgEAAAABogIBAKcDACGjAgEAAAABpAJAALMDACGlAkAAtAMAIaYCQAC0AwAhAQAAAOcCACABAAAA5wIAIAmOAgAAsgMAMI8CAADqAgAQkAIAALIDADCRAgEApwMAIaICAQCnAwAhowIBAKcDACGkAkAAswMAIaUCQAC0AwAhpgJAALQDACECpQIAAOoDACCmAgAA6gMAIAMAAADqAgAgAQAA6wIAMAIAAOcCACADAAAA6gIAIAEAAOsCADACAADnAgAgAwAAAOoCACABAADrAgAwAgAA5wIAIAaRAgEAAAABogIBAAAAAaMCAQAAAAGkAkAAAAABpQJAAAAAAaYCQAAAAAEBGwAA7wIAIAaRAgEAAAABogIBAAAAAaMCAQAAAAGkAkAAAAABpQJAAAAAAaYCQAAAAAEBGwAA8QIAMAEbAADxAgAwBpECAQDwAwAhogIBAPADACGjAgEA8AMAIaQCQACbBAAhpQJAAKsEACGmAkAAqwQAIQIAAADnAgAgGwAA9AIAIAaRAgEA8AMAIaICAQDwAwAhowIBAPADACGkAkAAmwQAIaUCQACrBAAhpgJAAKsEACECAAAA6gIAIBsAAPYCACACAAAA6gIAIBsAAPYCACADAAAA5wIAICIAAO8CACAjAAD0AgAgAQAAAOcCACABAAAA6gIAIAUEAACoBAAgKgAAqgQAICsAAKkEACClAgAA6gMAIKYCAADqAwAgCY4CAACrAwAwjwIAAP0CABCQAgAAqwMAMJECAQCbAwAhogIBAJsDACGjAgEAmwMAIaQCQACsAwAhpQJAAK0DACGmAkAArQMAIQMAAADqAgAgAQAA_AIAMCcAAP0CACADAAAA6gIAIAEAAOsCADACAADnAgAgCAwAAKkDACARAACqAwAgjgIAAKUDADCPAgAAgwMAEJACAAClAwAwkQICAAAAAZICAQCnAwAhkwIBAKgDACEBAAAAgAMAIAEAAACAAwAgCAwAAKkDACARAACqAwAgjgIAAKUDADCPAgAAgwMAEJACAAClAwAwkQICAKYDACGSAgEApwMAIZMCAQCoAwAhAwwAAKYEACARAACnBAAgkwIAAOoDACADAAAAgwMAIAEAAIQDADACAACAAwAgAwAAAIMDACABAACEAwAwAgAAgAMAIAMAAACDAwAgAQAAhAMAMAIAAIADACAFDAAApAQAIBEAAKUEACCRAgIAAAABkgIBAAAAAZMCAQAAAAEBGwAAiAMAIAORAgIAAAABkgIBAAAAAZMCAQAAAAEBGwAAigMAMAEbAACKAwAwBQwAAPMDACARAAD0AwAgkQICAPIDACGSAgEA8AMAIZMCAQDxAwAhAgAAAIADACAbAACNAwAgA5ECAgDyAwAhkgIBAPADACGTAgEA8QMAIQIAAACDAwAgGwAAjwMAIAIAAACDAwAgGwAAjwMAIAMAAACAAwAgIgAAiAMAICMAAI0DACABAAAAgAMAIAEAAACDAwAgBgQAAOsDACAoAADsAwAgKQAA7wMAICoAAO4DACArAADtAwAgkwIAAOoDACAGjgIAAJkDADCPAgAAlgMAEJACAACZAwAwkQICAJoDACGSAgEAmwMAIZMCAQCcAwAhAwAAAIMDACABAACVAwAwJwAAlgMAIAMAAACDAwAgAQAAhAMAMAIAAIADACAGjgIAAJkDADCPAgAAlgMAEJACAACZAwAwkQICAJoDACGSAgEAmwMAIZMCAQCcAwAhDQQAAKEDACAoAACkAwAgKQAAoQMAICoAAKEDACArAAChAwAglAICAAAAAZUCAgAAAASWAgIAAAAElwICAAAAAZgCAgAAAAGZAgIAAAABmgICAAAAAZ4CAgCjAwAhDgQAAKEDACAqAACiAwAgKwAAogMAIJQCAQAAAAGVAgEAAAAElgIBAAAABJcCAQAAAAGYAgEAAAABmQIBAAAAAZoCAQAAAAGbAgEAAAABnAIBAAAAAZ0CAQAAAAGeAgEAoAMAIQ4EAACeAwAgKgAAnwMAICsAAJ8DACCUAgEAAAABlQIBAAAABZYCAQAAAAWXAgEAAAABmAIBAAAAAZkCAQAAAAGaAgEAAAABmwIBAAAAAZwCAQAAAAGdAgEAAAABngIBAJ0DACEOBAAAngMAICoAAJ8DACArAACfAwAglAIBAAAAAZUCAQAAAAWWAgEAAAAFlwIBAAAAAZgCAQAAAAGZAgEAAAABmgIBAAAAAZsCAQAAAAGcAgEAAAABnQIBAAAAAZ4CAQCdAwAhCJQCAgAAAAGVAgIAAAAFlgICAAAABZcCAgAAAAGYAgIAAAABmQICAAAAAZoCAgAAAAGeAgIAngMAIQuUAgEAAAABlQIBAAAABZYCAQAAAAWXAgEAAAABmAIBAAAAAZkCAQAAAAGaAgEAAAABmwIBAAAAAZwCAQAAAAGdAgEAAAABngIBAJ8DACEOBAAAoQMAICoAAKIDACArAACiAwAglAIBAAAAAZUCAQAAAASWAgEAAAAElwIBAAAAAZgCAQAAAAGZAgEAAAABmgIBAAAAAZsCAQAAAAGcAgEAAAABnQIBAAAAAZ4CAQCgAwAhCJQCAgAAAAGVAgIAAAAElgICAAAABJcCAgAAAAGYAgIAAAABmQICAAAAAZoCAgAAAAGeAgIAoQMAIQuUAgEAAAABlQIBAAAABJYCAQAAAASXAgEAAAABmAIBAAAAAZkCAQAAAAGaAgEAAAABmwIBAAAAAZwCAQAAAAGdAgEAAAABngIBAKIDACENBAAAoQMAICgAAKQDACApAAChAwAgKgAAoQMAICsAAKEDACCUAgIAAAABlQICAAAABJYCAgAAAASXAgIAAAABmAICAAAAAZkCAgAAAAGaAgIAAAABngICAKMDACEIlAIIAAAAAZUCCAAAAASWAggAAAAElwIIAAAAAZgCCAAAAAGZAggAAAABmgIIAAAAAZ4CCACkAwAhCAwAAKkDACARAACqAwAgjgIAAKUDADCPAgAAgwMAEJACAAClAwAwkQICAKYDACGSAgEApwMAIZMCAQCoAwAhCJQCAgAAAAGVAgIAAAAElgICAAAABJcCAgAAAAGYAgIAAAABmQICAAAAAZoCAgAAAAGeAgIAoQMAIQuUAgEAAAABlQIBAAAABJYCAQAAAASXAgEAAAABmAIBAAAAAZkCAQAAAAGaAgEAAAABmwIBAAAAAZwCAQAAAAGdAgEAAAABngIBAKIDACELlAIBAAAAAZUCAQAAAAWWAgEAAAAFlwIBAAAAAZgCAQAAAAGZAgEAAAABmgIBAAAAAZsCAQAAAAGcAgEAAAABnQIBAAAAAZ4CAQCfAwAhA58CAAAgACCgAgAAIAAgoQIAACAAIAOfAgAAKwAgoAIAACsAIKECAAArACAJjgIAAKsDADCPAgAA_QIAEJACAACrAwAwkQIBAJsDACGiAgEAmwMAIaMCAQCbAwAhpAJAAKwDACGlAkAArQMAIaYCQACtAwAhCwQAAKEDACAqAACxAwAgKwAAsQMAIJQCQAAAAAGVAkAAAAAElgJAAAAABJcCQAAAAAGYAkAAAAABmQJAAAAAAZoCQAAAAAGeAkAAsAMAIQsEAACeAwAgKgAArwMAICsAAK8DACCUAkAAAAABlQJAAAAABZYCQAAAAAWXAkAAAAABmAJAAAAAAZkCQAAAAAGaAkAAAAABngJAAK4DACELBAAAngMAICoAAK8DACArAACvAwAglAJAAAAAAZUCQAAAAAWWAkAAAAAFlwJAAAAAAZgCQAAAAAGZAkAAAAABmgJAAAAAAZ4CQACuAwAhCJQCQAAAAAGVAkAAAAAFlgJAAAAABZcCQAAAAAGYAkAAAAABmQJAAAAAAZoCQAAAAAGeAkAArwMAIQsEAAChAwAgKgAAsQMAICsAALEDACCUAkAAAAABlQJAAAAABJYCQAAAAASXAkAAAAABmAJAAAAAAZkCQAAAAAGaAkAAAAABngJAALADACEIlAJAAAAAAZUCQAAAAASWAkAAAAAElwJAAAAAAZgCQAAAAAGZAkAAAAABmgJAAAAAAZ4CQACxAwAhCY4CAACyAwAwjwIAAOoCABCQAgAAsgMAMJECAQCnAwAhogIBAKcDACGjAgEApwMAIaQCQACzAwAhpQJAALQDACGmAkAAtAMAIQiUAkAAAAABlQJAAAAABJYCQAAAAASXAkAAAAABmAJAAAAAAZkCQAAAAAGaAkAAAAABngJAALEDACEIlAJAAAAAAZUCQAAAAAWWAkAAAAAFlwJAAAAAAZgCQAAAAAGZAkAAAAABmgJAAAAAAZ4CQACvAwAhCI4CAAC1AwAwjwIAAOQCABCQAgAAtQMAMJECAQCbAwAhpwIBAJsDACGoAiAAtgMAIakCAQCbAwAhqgIBAJsDACEFBAAAoQMAICoAALgDACArAAC4AwAglAIgAAAAAZ4CIAC3AwAhBQQAAKEDACAqAAC4AwAgKwAAuAMAIJQCIAAAAAGeAiAAtwMAIQKUAiAAAAABngIgALgDACEFjgIAALkDADCPAgAAzgIAEJACAAC5AwAwqwICAJoDACGsAgIAmgMAIQeOAgAAugMAMI8CAAC4AgAQkAIAALoDADCRAgIAmgMAIZICAQCbAwAhrQICAJoDACGuAgIAuwMAIQ0EAACeAwAgKAAAvQMAICkAAJ4DACAqAACeAwAgKwAAngMAIJQCAgAAAAGVAgIAAAAFlgICAAAABZcCAgAAAAGYAgIAAAABmQICAAAAAZoCAgAAAAGeAgIAvAMAIQ0EAACeAwAgKAAAvQMAICkAAJ4DACAqAACeAwAgKwAAngMAIJQCAgAAAAGVAgIAAAAFlgICAAAABZcCAgAAAAGYAgIAAAABmQICAAAAAZoCAgAAAAGeAgIAvAMAIQiUAggAAAABlQIIAAAABZYCCAAAAAWXAggAAAABmAIIAAAAAZkCCAAAAAGaAggAAAABngIIAL0DACEGjgIAAL4DADCPAgAAoAIAEJACAAC-AwAwkQICAJoDACGSAgEAmwMAIa8CAgCaAwAhBwwAAKkDACCOAgAAvwMAMI8CAACNAgAQkAIAAL8DADCRAgIApgMAIZICAQCnAwAhrwICAKYDACEHjgIAAMADADCPAgAAhwIAEJACAADAAwAwpAJAAKwDACGqAgEAmwMAIbACAQCbAwAhsQJAAKwDACEJjgIAAMEDADCPAgAA8QEAEJACAADBAwAwkQIBAJsDACGSAgEAmwMAIasCAgCaAwAhrAICAJoDACGyAgEAmwMAIbMCAgCaAwAhCY4CAADCAwAwjwIAANsBABCQAgAAwgMAMJECAQCbAwAhpAJAAKwDACGlAkAArAMAIa8CAQCbAwAhsQJAAKwDACG0AgEAmwMAIQmOAgAAwwMAMI8CAADIAQAQkAIAAMMDADCRAgEApwMAIaQCQACzAwAhpQJAALMDACGvAgEApwMAIbECQACzAwAhtAIBAKcDACEFjgIAAMQDADCPAgAAwgEAEJACAADEAwAwkQICAJoDACGSAgEAmwMAIQYDAADGAwAgjgIAAMUDADCPAgAAAwAQkAIAAMUDADCRAgIApgMAIZICAQCnAwAhA58CAAAFACCgAgAABQAgoQIAAAUAIBCOAgAAxwMAMI8CAACqAQAQkAIAAMcDADCRAgEAmwMAIaQCQACsAwAhqgIBAJsDACGxAkAArAMAIbUCAQCbAwAhtgIBAJsDACG3AgEAnAMAIbgCAQCcAwAhuQIBAJwDACG6AkAArQMAIbsCQACtAwAhvAIBAJwDACG9AgEAnAMAIQuOAgAAyAMAMI8CAACUAQAQkAIAAMgDADCRAgEAmwMAIaQCQACsAwAhpQJAAKwDACGqAgEAmwMAIbECQACsAwAhvgIBAJsDACG_AgEAnAMAIcACAQCcAwAhDo4CAADJAwAwjwIAAH4AEJACAADJAwAwkQIBAJsDACHBAgEAmwMAIcICAQCbAwAhwwIBAJsDACHEAgEAmwMAIcUCAQCbAwAhxgIBAJsDACHHAgEAmwMAIcgCIAC2AwAhyQIgALYDACHKAiAAtgMAIQmOAgAAygMAMI8CAABoABCQAgAAygMAMJECAQCbAwAhqgIBAJsDACHLAgEAmwMAIcwCAQCbAwAhzQIBAJsDACHOAgEAnAMAIQsGAADMAwAgCgAAzQMAII4CAADLAwAwjwIAABEAEJACAADLAwAwkQIBAKcDACGqAgEApwMAIcsCAQCnAwAhzAIBAKcDACHNAgEApwMAIc4CAQCoAwAhEwUAAOUDACAHAADmAwAgCAAA5wMAIAkAAOgDACALAADpAwAgFAAA2gMAII4CAADkAwAwjwIAAAUAEJACAADkAwAwkQIBAKcDACGSAgEApwMAIaQCQACzAwAhsQJAALMDACHPAgEApwMAIdACIADfAwAh0QIBAKgDACHSAgIA1QMAIdYCAAAFACDXAgAABQAgA58CAAATACCgAgAAEwAgoQIAABMAIAuOAgAAzgMAMI8CAABQABCQAgAAzgMAMJECAQCbAwAhkgIBAJsDACGkAkAArAMAIbECQACsAwAhzwIBAJsDACHQAiAAtgMAIdECAQCcAwAh0gICALsDACECqwICAAAAAawCAgAAAAEHEAAA0QMAIBIAANIDACCOAgAA0AMAMI8CAAArABCQAgAA0AMAMKsCAgCmAwAhrAICAKYDACENDAAAqQMAIA4AANYDACAPAADXAwAgEwAAqgMAII4CAADUAwAwjwIAACUAEJACAADUAwAwkQICAKYDACGSAgEApwMAIa0CAgCmAwAhrgICANUDACHWAgAAJQAg1wIAACUAIAoMAACpAwAgEQAAqgMAII4CAAClAwAwjwIAAIMDABCQAgAApQMAMJECAgCmAwAhkgIBAKcDACGTAgEAqAMAIdYCAACDAwAg1wIAAIMDACACkgIBAAAAAa4CAgAAAAELDAAAqQMAIA4AANYDACAPAADXAwAgEwAAqgMAII4CAADUAwAwjwIAACUAEJACAADUAwAwkQICAKYDACGSAgEApwMAIa0CAgCmAwAhrgICANUDACEIlAICAAAAAZUCAgAAAAWWAgIAAAAFlwICAAAAAZgCAgAAAAGZAgIAAAABmgICAAAAAZ4CAgCeAwAhDQwAAKkDACAOAADWAwAgDwAA1wMAIBMAAKoDACCOAgAA1AMAMI8CAAAlABCQAgAA1AMAMJECAgCmAwAhkgIBAKcDACGtAgIApgMAIa4CAgDVAwAh1gIAACUAINcCAAAlACADnwIAACUAIKACAAAlACChAgAAJQAgDQ0AANkDACAQAADRAwAgEgAA0gMAIBQAANoDACCOAgAA2AMAMI8CAAAgABCQAgAA2AMAMJECAQCnAwAhkgIBAKcDACGrAgIApgMAIawCAgCmAwAhsgIBAKcDACGzAgIApgMAIQkMAACpAwAgjgIAAL8DADCPAgAAjQIAEJACAAC_AwAwkQICAKYDACGSAgEApwMAIa8CAgCmAwAh1gIAAI0CACDXAgAAjQIAIAOfAgAAHAAgoAIAABwAIKECAAAcACACqgIBAAAAAbACAQAAAAEJBgAAzAMAIBUAAN0DACCOAgAA3AMAMI8CAAAcABCQAgAA3AMAMKQCQACzAwAhqgIBAKcDACGwAgEApwMAIbECQACzAwAhDw0AANkDACAQAADRAwAgEgAA0gMAIBQAANoDACCOAgAA2AMAMI8CAAAgABCQAgAA2AMAMJECAQCnAwAhkgIBAKcDACGrAgIApgMAIawCAgCmAwAhsgIBAKcDACGzAgIApgMAIdYCAAAgACDXAgAAIAAgCQYAAMwDACCOAgAA3gMAMI8CAAAYABCQAgAA3gMAMJECAQCnAwAhpwIBAKcDACGoAiAA3wMAIakCAQCnAwAhqgIBAKcDACEClAIgAAAAAZ4CIAC4AwAhDwkAAOEDACCOAgAA4AMAMI8CAAATABCQAgAA4AMAMJECAQCnAwAhwQIBAKcDACHCAgEApwMAIcMCAQCnAwAhxAIBAKcDACHFAgEApwMAIcYCAQCnAwAhxwIBAKcDACHIAiAA3wMAIckCIADfAwAhygIgAN8DACENBgAAzAMAIAoAAM0DACCOAgAAywMAMI8CAAARABCQAgAAywMAMJECAQCnAwAhqgIBAKcDACHLAgEApwMAIcwCAQCnAwAhzQIBAKcDACHOAgEAqAMAIdYCAAARACDXAgAAEQAgEQYAAMwDACCOAgAA4gMAMI8CAAANABCQAgAA4gMAMJECAQCnAwAhpAJAALMDACGqAgEApwMAIbECQACzAwAhtQIBAKcDACG2AgEApwMAIbcCAQCoAwAhuAIBAKgDACG5AgEAqAMAIboCQAC0AwAhuwJAALQDACG8AgEAqAMAIb0CAQCoAwAhDAYAAMwDACCOAgAA4wMAMI8CAAAJABCQAgAA4wMAMJECAQCnAwAhpAJAALMDACGlAkAAswMAIaoCAQCnAwAhsQJAALMDACG-AgEApwMAIb8CAQCoAwAhwAIBAKgDACERBQAA5QMAIAcAAOYDACAIAADnAwAgCQAA6AMAIAsAAOkDACAUAADaAwAgjgIAAOQDADCPAgAABQAQkAIAAOQDADCRAgEApwMAIZICAQCnAwAhpAJAALMDACGxAkAAswMAIc8CAQCnAwAh0AIgAN8DACHRAgEAqAMAIdICAgDVAwAhCAMAAMYDACCOAgAAxQMAMI8CAAADABCQAgAAxQMAMJECAgCmAwAhkgIBAKcDACHWAgAAAwAg1wIAAAMAIAOfAgAACQAgoAIAAAkAIKECAAAJACADnwIAAA0AIKACAAANACChAgAADQAgDQYAAMwDACAKAADNAwAgjgIAAMsDADCPAgAAEQAQkAIAAMsDADCRAgEApwMAIaoCAQCnAwAhywIBAKcDACHMAgEApwMAIc0CAQCnAwAhzgIBAKgDACHWAgAAEQAg1wIAABEAIAOfAgAAGAAgoAIAABgAIKECAAAYACAAAAAAAAAB2wIBAAAAAQHbAgEAAAABBdsCAgAAAAHhAgIAAAAB4gICAAAAAeMCAgAAAAHkAgIAAAABCyIAAIMEADAjAACIBAAw2AIAAIQEADDZAgAAhQQAMNoCAACGBAAg2wIAAIcEADDcAgAAhwQAMN0CAACHBAAw3gIAAIcEADDfAgAAiQQAMOACAACKBAAwCyIAAPUDADAjAAD6AwAw2AIAAPYDADDZAgAA9wMAMNoCAAD4AwAg2wIAAPkDADDcAgAA-QMAMN0CAAD5AwAw3gIAAPkDADDfAgAA-wMAMOACAAD8AwAwAhAAAIIEACCrAgIAAAABAgAAAC0AICIAAIEEACADAAAALQAgIgAAgQQAICMAAP8DACABGwAA3AYAMAgQAADRAwAgEgAA0gMAII4CAADQAwAwjwIAACsAEJACAADQAwAwqwICAKYDACGsAgIApgMAIdMCAADPAwAgAgAAAC0AIBsAAP8DACACAAAA_QMAIBsAAP4DACAFjgIAAPwDADCPAgAA_QMAEJACAAD8AwAwqwICAKYDACGsAgIApgMAIQWOAgAA_AMAMI8CAAD9AwAQkAIAAPwDADCrAgIApgMAIawCAgCmAwAhAasCAgDyAwAhAhAAAIAEACCrAgIA8gMAIQUiAADXBgAgIwAA2gYAINgCAADYBgAg2QIAANkGACDeAgAAKAAgAhAAAIIEACCrAgIAAAABAyIAANcGACDYAgAA2AYAIN4CAAAoACAIDQAAoQQAIBAAAKIEACAUAACjBAAgkQIBAAAAAZICAQAAAAGrAgIAAAABsgIBAAAAAbMCAgAAAAECAAAAIgAgIgAAoAQAIAMAAAAiACAiAACgBAAgIwAAjQQAIAEbAADWBgAwDQ0AANkDACAQAADRAwAgEgAA0gMAIBQAANoDACCOAgAA2AMAMI8CAAAgABCQAgAA2AMAMJECAQAAAAGSAgEAAAABqwICAKYDACGsAgIApgMAIbICAQCnAwAhswICAKYDACECAAAAIgAgGwAAjQQAIAIAAACLBAAgGwAAjAQAIAmOAgAAigQAMI8CAACLBAAQkAIAAIoEADCRAgEApwMAIZICAQCnAwAhqwICAKYDACGsAgIApgMAIbICAQCnAwAhswICAKYDACEJjgIAAIoEADCPAgAAiwQAEJACAACKBAAwkQIBAKcDACGSAgEApwMAIasCAgCmAwAhrAICAKYDACGyAgEApwMAIbMCAgCmAwAhBZECAQDwAwAhkgIBAPADACGrAgIA8gMAIbICAQDwAwAhswICAPIDACEIDQAAjgQAIBAAAI8EACAUAACQBAAgkQIBAPADACGSAgEA8AMAIasCAgDyAwAhsgIBAPADACGzAgIA8gMAIQUiAADIBgAgIwAA1AYAINgCAADJBgAg2QIAANMGACDeAgAAigIAIAUiAADGBgAgIwAA0QYAINgCAADHBgAg2QIAANAGACDeAgAAKAAgCyIAAJEEADAjAACWBAAw2AIAAJIEADDZAgAAkwQAMNoCAACUBAAg2wIAAJUEADDcAgAAlQQAMN0CAACVBAAw3gIAAJUEADDfAgAAlwQAMOACAACYBAAwBAYAAJ8EACCkAkAAAAABqgIBAAAAAbECQAAAAAECAAAAHgAgIgAAngQAIAMAAAAeACAiAACeBAAgIwAAnAQAIAEbAADPBgAwCgYAAMwDACAVAADdAwAgjgIAANwDADCPAgAAHAAQkAIAANwDADCkAkAAswMAIaoCAQCnAwAhsAIBAKcDACGxAkAAswMAIdUCAADbAwAgAgAAAB4AIBsAAJwEACACAAAAmQQAIBsAAJoEACAHjgIAAJgEADCPAgAAmQQAEJACAACYBAAwpAJAALMDACGqAgEApwMAIbACAQCnAwAhsQJAALMDACEHjgIAAJgEADCPAgAAmQQAEJACAACYBAAwpAJAALMDACGqAgEApwMAIbACAQCnAwAhsQJAALMDACEDpAJAAJsEACGqAgEA8AMAIbECQACbBAAhAdsCQAAAAAEEBgAAnQQAIKQCQACbBAAhqgIBAPADACGxAkAAmwQAIQUiAADKBgAgIwAAzQYAINgCAADLBgAg2QIAAMwGACDeAgAAAQAgBAYAAJ8EACCkAkAAAAABqgIBAAAAAbECQAAAAAEDIgAAygYAINgCAADLBgAg3gIAAAEAIAgNAAChBAAgEAAAogQAIBQAAKMEACCRAgEAAAABkgIBAAAAAasCAgAAAAGyAgEAAAABswICAAAAAQMiAADIBgAg2AIAAMkGACDeAgAAigIAIAMiAADGBgAg2AIAAMcGACDeAgAAKAAgBCIAAJEEADDYAgAAkgQAMNoCAACUBAAg3gIAAJUEADAEIgAAgwQAMNgCAACEBAAw2gIAAIYEACDeAgAAhwQAMAQiAAD1AwAw2AIAAPYDADDaAgAA-AMAIN4CAAD5AwAwAAAAAAAB2wJAAAAAAQAAAAHbAiAAAAABBSIAAMEGACAjAADEBgAg2AIAAMIGACDZAgAAwwYAIN4CAAABACADIgAAwQYAINgCAADCBgAg3gIAAAEAIAAAAAAABSIAALwGACAjAAC_BgAg2AIAAL0GACDZAgAAvgYAIN4CAACAAwAgAyIAALwGACDYAgAAvQYAIN4CAACAAwAgAAAAAAAF2wICAAAAAeECAgAAAAHiAgIAAAAB4wICAAAAAeQCAgAAAAEHIgAArwYAICMAALoGACDYAgAAsAYAINkCAAC5BgAg3AIAACUAIN0CAAAlACDeAgAAKAAgCyIAANcEADAjAADcBAAw2AIAANgEADDZAgAA2QQAMNoCAADaBAAg2wIAANsEADDcAgAA2wQAMN0CAADbBAAw3gIAANsEADDfAgAA3QQAMOACAADeBAAwCyIAAMwEADAjAADQBAAw2AIAAM0EADDZAgAAzgQAMNoCAADPBAAg2wIAAIcEADDcAgAAhwQAMN0CAACHBAAw3gIAAIcEADDfAgAA0QQAMOACAACKBAAwCyIAAMMEADAjAADHBAAw2AIAAMQEADDZAgAAxQQAMNoCAADGBAAg2wIAAPkDADDcAgAA-QMAMN0CAAD5AwAw3gIAAPkDADDfAgAAyAQAMOACAAD8AwAwAhIAALgEACCsAgIAAAABAgAAAC0AICIAAMsEACADAAAALQAgIgAAywQAICMAAMoEACABGwAAuAYAMAIAAAAtACAbAADKBAAgAgAAAP0DACAbAADJBAAgAawCAgDyAwAhAhIAALcEACCsAgIA8gMAIQISAAC4BAAgrAICAAAAAQgNAAChBAAgEgAA1gQAIBQAAKMEACCRAgEAAAABkgIBAAAAAawCAgAAAAGyAgEAAAABswICAAAAAQIAAAAiACAiAADVBAAgAwAAACIAICIAANUEACAjAADTBAAgARsAALcGADACAAAAIgAgGwAA0wQAIAIAAACLBAAgGwAA0gQAIAWRAgEA8AMAIZICAQDwAwAhrAICAPIDACGyAgEA8AMAIbMCAgDyAwAhCA0AAI4EACASAADUBAAgFAAAkAQAIJECAQDwAwAhkgIBAPADACGsAgIA8gMAIbICAQDwAwAhswICAPIDACEFIgAAsgYAICMAALUGACDYAgAAswYAINkCAAC0BgAg3gIAAIADACAIDQAAoQQAIBIAANYEACAUAACjBAAgkQIBAAAAAZICAQAAAAGsAgIAAAABsgIBAAAAAbMCAgAAAAEDIgAAsgYAINgCAACzBgAg3gIAAIADACAGDAAA5AQAIA8AAOMEACATAADlBAAgkQICAAAAAZICAQAAAAGtAgIAAAABAgAAACgAICIAAOIEACADAAAAKAAgIgAA4gQAICMAAOEEACABGwAAsQYAMAwMAACpAwAgDgAA1gMAIA8AANcDACATAACqAwAgjgIAANQDADCPAgAAJQAQkAIAANQDADCRAgIAAAABkgIBAKcDACGtAgIApgMAIa4CAgDVAwAh1AIAANMDACACAAAAKAAgGwAA4QQAIAIAAADfBAAgGwAA4AQAIAeOAgAA3gQAMI8CAADfBAAQkAIAAN4EADCRAgIApgMAIZICAQCnAwAhrQICAKYDACGuAgIA1QMAIQeOAgAA3gQAMI8CAADfBAAQkAIAAN4EADCRAgIApgMAIZICAQCnAwAhrQICAKYDACGuAgIA1QMAIQORAgIA8gMAIZICAQDwAwAhrQICAPIDACEGDAAAwQQAIA8AAMAEACATAADCBAAgkQICAPIDACGSAgEA8AMAIa0CAgDyAwAhBgwAAOQEACAPAADjBAAgEwAA5QQAIJECAgAAAAGSAgEAAAABrQICAAAAAQQiAADXBAAw2AIAANgEADDaAgAA2gQAIN4CAADbBAAwBCIAAMwEADDYAgAAzQQAMNoCAADPBAAg3gIAAIcEADAEIgAAwwQAMNgCAADEBAAw2gIAAMYEACDeAgAA-QMAMAMiAACvBgAg2AIAALAGACDeAgAAKAAgAAAAAAALIgAA7QQAMCMAAPEEADDYAgAA7gQAMNkCAADvBAAw2gIAAPAEACDbAgAAhwQAMNwCAACHBAAw3QIAAIcEADDeAgAAhwQAMN8CAADyBAAw4AIAAIoEADAIEAAAogQAIBIAANYEACAUAACjBAAgkQIBAAAAAZICAQAAAAGrAgIAAAABrAICAAAAAbICAQAAAAECAAAAIgAgIgAA9QQAIAMAAAAiACAiAAD1BAAgIwAA9AQAIAEbAACuBgAwAgAAACIAIBsAAPQEACACAAAAiwQAIBsAAPMEACAFkQIBAPADACGSAgEA8AMAIasCAgDyAwAhrAICAPIDACGyAgEA8AMAIQgQAACPBAAgEgAA1AQAIBQAAJAEACCRAgEA8AMAIZICAQDwAwAhqwICAPIDACGsAgIA8gMAIbICAQDwAwAhCBAAAKIEACASAADWBAAgFAAAowQAIJECAQAAAAGSAgEAAAABqwICAAAAAawCAgAAAAGyAgEAAAABBCIAAO0EADDYAgAA7gQAMNoCAADwBAAg3gIAAIcEADAAAAAFIgAAqQYAICMAAKwGACDYAgAAqgYAINkCAACrBgAg3gIAACIAIAMiAACpBgAg2AIAAKoGACDeAgAAIgAgAAAAAAAAAAAAAAAAAAsiAACKBQAwIwAAjwUAMNgCAACLBQAw2QIAAIwFADDaAgAAjQUAINsCAACOBQAw3AIAAI4FADDdAgAAjgUAMN4CAACOBQAw3wIAAJAFADDgAgAAkQUAMAwHAADbBQAgCAAA3AUAIAkAAN0FACALAADeBQAgFAAA3wUAIJECAQAAAAGSAgEAAAABpAJAAAAAAbECQAAAAAHPAgEAAAAB0AIgAAAAAdECAQAAAAECAAAAAQAgIgAA2gUAIAMAAAABACAiAADaBQAgIwAAlAUAIAEbAACoBgAwEQUAAOUDACAHAADmAwAgCAAA5wMAIAkAAOgDACALAADpAwAgFAAA2gMAII4CAADkAwAwjwIAAAUAEJACAADkAwAwkQIBAAAAAZICAQCnAwAhpAJAALMDACGxAkAAswMAIc8CAQAAAAHQAiAA3wMAIdECAQCoAwAh0gICANUDACECAAAAAQAgGwAAlAUAIAIAAACSBQAgGwAAkwUAIAuOAgAAkQUAMI8CAACSBQAQkAIAAJEFADCRAgEApwMAIZICAQCnAwAhpAJAALMDACGxAkAAswMAIc8CAQCnAwAh0AIgAN8DACHRAgEAqAMAIdICAgDVAwAhC44CAACRBQAwjwIAAJIFABCQAgAAkQUAMJECAQCnAwAhkgIBAKcDACGkAkAAswMAIbECQACzAwAhzwIBAKcDACHQAiAA3wMAIdECAQCoAwAh0gICANUDACEHkQIBAPADACGSAgEA8AMAIaQCQACbBAAhsQJAAJsEACHPAgEA8AMAIdACIACvBAAh0QIBAPEDACEMBwAAlQUAIAgAAJYFACAJAACXBQAgCwAAmAUAIBQAAJkFACCRAgEA8AMAIZICAQDwAwAhpAJAAJsEACGxAkAAmwQAIc8CAQDwAwAh0AIgAK8EACHRAgEA8QMAIQsiAADOBQAwIwAA0wUAMNgCAADPBQAw2QIAANAFADDaAgAA0QUAINsCAADSBQAw3AIAANIFADDdAgAA0gUAMN4CAADSBQAw3wIAANQFADDgAgAA1QUAMAsiAADCBQAwIwAAxwUAMNgCAADDBQAw2QIAAMQFADDaAgAAxQUAINsCAADGBQAw3AIAAMYFADDdAgAAxgUAMN4CAADGBQAw3wIAAMgFADDgAgAAyQUAMAciAACvBQAgIwAAsgUAINgCAACwBQAg2QIAALEFACDcAgAAEQAg3QIAABEAIN4CAABTACALIgAAowUAMCMAAKgFADDYAgAApAUAMNkCAAClBQAw2gIAAKYFACDbAgAApwUAMNwCAACnBQAw3QIAAKcFADDeAgAApwUAMN8CAACpBQAw4AIAAKoFADALIgAAmgUAMCMAAJ4FADDYAgAAmwUAMNkCAACcBQAw2gIAAJ0FACDbAgAAlQQAMNwCAACVBAAw3QIAAJUEADDeAgAAlQQAMN8CAACfBQAw4AIAAJgEADAEFQAA-wQAIKQCQAAAAAGwAgEAAAABsQJAAAAAAQIAAAAeACAiAACiBQAgAwAAAB4AICIAAKIFACAjAAChBQAgARsAAKcGADACAAAAHgAgGwAAoQUAIAIAAACZBAAgGwAAoAUAIAOkAkAAmwQAIbACAQDwAwAhsQJAAJsEACEEFQAA-gQAIKQCQACbBAAhsAIBAPADACGxAkAAmwQAIQQVAAD7BAAgpAJAAAAAAbACAQAAAAGxAkAAAAABBJECAQAAAAGnAgEAAAABqAIgAAAAAakCAQAAAAECAAAAGgAgIgAArgUAIAMAAAAaACAiAACuBQAgIwAArQUAIAEbAACmBgAwCQYAAMwDACCOAgAA3gMAMI8CAAAYABCQAgAA3gMAMJECAQAAAAGnAgEAAAABqAIgAN8DACGpAgEApwMAIaoCAQCnAwAhAgAAABoAIBsAAK0FACACAAAAqwUAIBsAAKwFACAIjgIAAKoFADCPAgAAqwUAEJACAACqBQAwkQIBAKcDACGnAgEApwMAIagCIADfAwAhqQIBAKcDACGqAgEApwMAIQiOAgAAqgUAMI8CAACrBQAQkAIAAKoFADCRAgEApwMAIacCAQCnAwAhqAIgAN8DACGpAgEApwMAIaoCAQCnAwAhBJECAQDwAwAhpwIBAPADACGoAiAArwQAIakCAQDwAwAhBJECAQDwAwAhpwIBAPADACGoAiAArwQAIakCAQDwAwAhBJECAQAAAAGnAgEAAAABqAIgAAAAAakCAQAAAAEGCgAAwQUAIJECAQAAAAHLAgEAAAABzAIBAAAAAc0CAQAAAAHOAgEAAAABAgAAAFMAICIAAK8FACADAAAAEQAgIgAArwUAICMAALMFACAIAAAAEQAgCgAAtAUAIBsAALMFACCRAgEA8AMAIcsCAQDwAwAhzAIBAPADACHNAgEA8AMAIc4CAQDxAwAhBgoAALQFACCRAgEA8AMAIcsCAQDwAwAhzAIBAPADACHNAgEA8AMAIc4CAQDxAwAhCyIAALUFADAjAAC6BQAw2AIAALYFADDZAgAAtwUAMNoCAAC4BQAg2wIAALkFADDcAgAAuQUAMN0CAAC5BQAw3gIAALkFADDfAgAAuwUAMOACAAC8BQAwCpECAQAAAAHCAgEAAAABwwIBAAAAAcQCAQAAAAHFAgEAAAABxgIBAAAAAccCAQAAAAHIAiAAAAAByQIgAAAAAcoCIAAAAAECAAAAFQAgIgAAwAUAIAMAAAAVACAiAADABQAgIwAAvwUAIAEbAAClBgAwDwkAAOEDACCOAgAA4AMAMI8CAAATABCQAgAA4AMAMJECAQAAAAHBAgEApwMAIcICAQCnAwAhwwIBAKcDACHEAgEApwMAIcUCAQCnAwAhxgIBAKcDACHHAgEApwMAIcgCIADfAwAhyQIgAN8DACHKAiAA3wMAIQIAAAAVACAbAAC_BQAgAgAAAL0FACAbAAC-BQAgDo4CAAC8BQAwjwIAAL0FABCQAgAAvAUAMJECAQCnAwAhwQIBAKcDACHCAgEApwMAIcMCAQCnAwAhxAIBAKcDACHFAgEApwMAIcYCAQCnAwAhxwIBAKcDACHIAiAA3wMAIckCIADfAwAhygIgAN8DACEOjgIAALwFADCPAgAAvQUAEJACAAC8BQAwkQIBAKcDACHBAgEApwMAIcICAQCnAwAhwwIBAKcDACHEAgEApwMAIcUCAQCnAwAhxgIBAKcDACHHAgEApwMAIcgCIADfAwAhyQIgAN8DACHKAiAA3wMAIQqRAgEA8AMAIcICAQDwAwAhwwIBAPADACHEAgEA8AMAIcUCAQDwAwAhxgIBAPADACHHAgEA8AMAIcgCIACvBAAhyQIgAK8EACHKAiAArwQAIQqRAgEA8AMAIcICAQDwAwAhwwIBAPADACHEAgEA8AMAIcUCAQDwAwAhxgIBAPADACHHAgEA8AMAIcgCIACvBAAhyQIgAK8EACHKAiAArwQAIQqRAgEAAAABwgIBAAAAAcMCAQAAAAHEAgEAAAABxQIBAAAAAcYCAQAAAAHHAgEAAAAByAIgAAAAAckCIAAAAAHKAiAAAAABBCIAALUFADDYAgAAtgUAMNoCAAC4BQAg3gIAALkFADAMkQIBAAAAAaQCQAAAAAGxAkAAAAABtQIBAAAAAbYCAQAAAAG3AgEAAAABuAIBAAAAAbkCAQAAAAG6AkAAAAABuwJAAAAAAbwCAQAAAAG9AgEAAAABAgAAAA8AICIAAM0FACADAAAADwAgIgAAzQUAICMAAMwFACABGwAApAYAMBEGAADMAwAgjgIAAOIDADCPAgAADQAQkAIAAOIDADCRAgEAAAABpAJAALMDACGqAgEApwMAIbECQACzAwAhtQIBAKcDACG2AgEApwMAIbcCAQCoAwAhuAIBAKgDACG5AgEAqAMAIboCQAC0AwAhuwJAALQDACG8AgEAqAMAIb0CAQCoAwAhAgAAAA8AIBsAAMwFACACAAAAygUAIBsAAMsFACAQjgIAAMkFADCPAgAAygUAEJACAADJBQAwkQIBAKcDACGkAkAAswMAIaoCAQCnAwAhsQJAALMDACG1AgEApwMAIbYCAQCnAwAhtwIBAKgDACG4AgEAqAMAIbkCAQCoAwAhugJAALQDACG7AkAAtAMAIbwCAQCoAwAhvQIBAKgDACEQjgIAAMkFADCPAgAAygUAEJACAADJBQAwkQIBAKcDACGkAkAAswMAIaoCAQCnAwAhsQJAALMDACG1AgEApwMAIbYCAQCnAwAhtwIBAKgDACG4AgEAqAMAIbkCAQCoAwAhugJAALQDACG7AkAAtAMAIbwCAQCoAwAhvQIBAKgDACEMkQIBAPADACGkAkAAmwQAIbECQACbBAAhtQIBAPADACG2AgEA8AMAIbcCAQDxAwAhuAIBAPEDACG5AgEA8QMAIboCQACrBAAhuwJAAKsEACG8AgEA8QMAIb0CAQDxAwAhDJECAQDwAwAhpAJAAJsEACGxAkAAmwQAIbUCAQDwAwAhtgIBAPADACG3AgEA8QMAIbgCAQDxAwAhuQIBAPEDACG6AkAAqwQAIbsCQACrBAAhvAIBAPEDACG9AgEA8QMAIQyRAgEAAAABpAJAAAAAAbECQAAAAAG1AgEAAAABtgIBAAAAAbcCAQAAAAG4AgEAAAABuQIBAAAAAboCQAAAAAG7AkAAAAABvAIBAAAAAb0CAQAAAAEHkQIBAAAAAaQCQAAAAAGlAkAAAAABsQJAAAAAAb4CAQAAAAG_AgEAAAABwAIBAAAAAQIAAAALACAiAADZBQAgAwAAAAsAICIAANkFACAjAADYBQAgARsAAKMGADAMBgAAzAMAII4CAADjAwAwjwIAAAkAEJACAADjAwAwkQIBAAAAAaQCQACzAwAhpQJAALMDACGqAgEApwMAIbECQACzAwAhvgIBAAAAAb8CAQCoAwAhwAIBAKgDACECAAAACwAgGwAA2AUAIAIAAADWBQAgGwAA1wUAIAuOAgAA1QUAMI8CAADWBQAQkAIAANUFADCRAgEApwMAIaQCQACzAwAhpQJAALMDACGqAgEApwMAIbECQACzAwAhvgIBAKcDACG_AgEAqAMAIcACAQCoAwAhC44CAADVBQAwjwIAANYFABCQAgAA1QUAMJECAQCnAwAhpAJAALMDACGlAkAAswMAIaoCAQCnAwAhsQJAALMDACG-AgEApwMAIb8CAQCoAwAhwAIBAKgDACEHkQIBAPADACGkAkAAmwQAIaUCQACbBAAhsQJAAJsEACG-AgEA8AMAIb8CAQDxAwAhwAIBAPEDACEHkQIBAPADACGkAkAAmwQAIaUCQACbBAAhsQJAAJsEACG-AgEA8AMAIb8CAQDxAwAhwAIBAPEDACEHkQIBAAAAAaQCQAAAAAGlAkAAAAABsQJAAAAAAb4CAQAAAAG_AgEAAAABwAIBAAAAAQwHAADbBQAgCAAA3AUAIAkAAN0FACALAADeBQAgFAAA3wUAIJECAQAAAAGSAgEAAAABpAJAAAAAAbECQAAAAAHPAgEAAAAB0AIgAAAAAdECAQAAAAEEIgAAzgUAMNgCAADPBQAw2gIAANEFACDeAgAA0gUAMAQiAADCBQAw2AIAAMMFADDaAgAAxQUAIN4CAADGBQAwAyIAAK8FACDYAgAAsAUAIN4CAABTACAEIgAAowUAMNgCAACkBQAw2gIAAKYFACDeAgAApwUAMAQiAACaBQAw2AIAAJsFADDaAgAAnQUAIN4CAACVBAAwBCIAAIoFADDYAgAAiwUAMNoCAACNBQAg3gIAAI4FADAAAAAABSIAAJ4GACAjAAChBgAg2AIAAJ8GACDZAgAAoAYAIN4CAAABACADIgAAngYAINgCAACfBgAg3gIAAAEAIAAAAAUiAACZBgAgIwAAnAYAINgCAACaBgAg2QIAAJsGACDeAgAAAQAgAyIAAJkGACDYAgAAmgYAIN4CAAABACAAAAAFIgAAlAYAICMAAJcGACDYAgAAlQYAINkCAACWBgAg3gIAAFMAIAMiAACUBgAg2AIAAJUGACDeAgAAUwAgAAAABSIAAI8GACAjAACSBgAg2AIAAJAGACDZAgAAkQYAIN4CAAABACADIgAAjwYAINgCAACQBgAg3gIAAAEAIAgFAACGBgAgBwAAhwYAIAgAAIgGACAJAACFBgAgCwAAiQYAIBQAAIMGACDRAgAA6gMAINICAADqAwAgAAAAAAAAByIAAIoGACAjAACNBgAg2AIAAIsGACDZAgAAjAYAINwCAAADACDdAgAAAwAg3gIAAK0BACADIgAAigYAINgCAACLBgAg3gIAAK0BACAFDAAApgQAIA4AAP8FACAPAACBBgAgEwAApwQAIK4CAADqAwAgAwwAAKYEACARAACnBAAgkwIAAOoDACAAAQwAAKYEACAABA0AAIIGACAQAAD_BQAgEgAAgAYAIBQAAIMGACADBgAA9gUAIAoAAPcFACDOAgAA6gMAIAEDAADhBQAgAAAAApECAgAAAAGSAgEAAAABAgAAAK0BACAiAACKBgAgAwAAAAMAICIAAIoGACAjAACOBgAgBAAAAAMAIBsAAI4GACCRAgIA8gMAIZICAQDwAwAhApECAgDyAwAhkgIBAPADACENBQAA_gUAIAcAANsFACAIAADcBQAgCwAA3gUAIBQAAN8FACCRAgEAAAABkgIBAAAAAaQCQAAAAAGxAkAAAAABzwIBAAAAAdACIAAAAAHRAgEAAAAB0gICAAAAAQIAAAABACAiAACPBgAgAwAAAAUAICIAAI8GACAjAACTBgAgDwAAAAUAIAUAAP0FACAHAACVBQAgCAAAlgUAIAsAAJgFACAUAACZBQAgGwAAkwYAIJECAQDwAwAhkgIBAPADACGkAkAAmwQAIbECQACbBAAhzwIBAPADACHQAiAArwQAIdECAQDxAwAh0gICAL4EACENBQAA_QUAIAcAAJUFACAIAACWBQAgCwAAmAUAIBQAAJkFACCRAgEA8AMAIZICAQDwAwAhpAJAAJsEACGxAkAAmwQAIc8CAQDwAwAh0AIgAK8EACHRAgEA8QMAIdICAgC-BAAhBwYAAPUFACCRAgEAAAABqgIBAAAAAcsCAQAAAAHMAgEAAAABzQIBAAAAAc4CAQAAAAECAAAAUwAgIgAAlAYAIAMAAAARACAiAACUBgAgIwAAmAYAIAkAAAARACAGAAD0BQAgGwAAmAYAIJECAQDwAwAhqgIBAPADACHLAgEA8AMAIcwCAQDwAwAhzQIBAPADACHOAgEA8QMAIQcGAAD0BQAgkQIBAPADACGqAgEA8AMAIcsCAQDwAwAhzAIBAPADACHNAgEA8AMAIc4CAQDxAwAhDQUAAP4FACAIAADcBQAgCQAA3QUAIAsAAN4FACAUAADfBQAgkQIBAAAAAZICAQAAAAGkAkAAAAABsQJAAAAAAc8CAQAAAAHQAiAAAAAB0QIBAAAAAdICAgAAAAECAAAAAQAgIgAAmQYAIAMAAAAFACAiAACZBgAgIwAAnQYAIA8AAAAFACAFAAD9BQAgCAAAlgUAIAkAAJcFACALAACYBQAgFAAAmQUAIBsAAJ0GACCRAgEA8AMAIZICAQDwAwAhpAJAAJsEACGxAkAAmwQAIc8CAQDwAwAh0AIgAK8EACHRAgEA8QMAIdICAgC-BAAhDQUAAP0FACAIAACWBQAgCQAAlwUAIAsAAJgFACAUAACZBQAgkQIBAPADACGSAgEA8AMAIaQCQACbBAAhsQJAAJsEACHPAgEA8AMAIdACIACvBAAh0QIBAPEDACHSAgIAvgQAIQ0FAAD-BQAgBwAA2wUAIAkAAN0FACALAADeBQAgFAAA3wUAIJECAQAAAAGSAgEAAAABpAJAAAAAAbECQAAAAAHPAgEAAAAB0AIgAAAAAdECAQAAAAHSAgIAAAABAgAAAAEAICIAAJ4GACADAAAABQAgIgAAngYAICMAAKIGACAPAAAABQAgBQAA_QUAIAcAAJUFACAJAACXBQAgCwAAmAUAIBQAAJkFACAbAACiBgAgkQIBAPADACGSAgEA8AMAIaQCQACbBAAhsQJAAJsEACHPAgEA8AMAIdACIACvBAAh0QIBAPEDACHSAgIAvgQAIQ0FAAD9BQAgBwAAlQUAIAkAAJcFACALAACYBQAgFAAAmQUAIJECAQDwAwAhkgIBAPADACGkAkAAmwQAIbECQACbBAAhzwIBAPADACHQAiAArwQAIdECAQDxAwAh0gICAL4EACEHkQIBAAAAAaQCQAAAAAGlAkAAAAABsQJAAAAAAb4CAQAAAAG_AgEAAAABwAIBAAAAAQyRAgEAAAABpAJAAAAAAbECQAAAAAG1AgEAAAABtgIBAAAAAbcCAQAAAAG4AgEAAAABuQIBAAAAAboCQAAAAAG7AkAAAAABvAIBAAAAAb0CAQAAAAEKkQIBAAAAAcICAQAAAAHDAgEAAAABxAIBAAAAAcUCAQAAAAHGAgEAAAABxwIBAAAAAcgCIAAAAAHJAiAAAAABygIgAAAAAQSRAgEAAAABpwIBAAAAAagCIAAAAAGpAgEAAAABA6QCQAAAAAGwAgEAAAABsQJAAAAAAQeRAgEAAAABkgIBAAAAAaQCQAAAAAGxAkAAAAABzwIBAAAAAdACIAAAAAHRAgEAAAABCQ0AAKEEACAQAACiBAAgEgAA1gQAIJECAQAAAAGSAgEAAAABqwICAAAAAawCAgAAAAGyAgEAAAABswICAAAAAQIAAAAiACAiAACpBgAgAwAAACAAICIAAKkGACAjAACtBgAgCwAAACAAIA0AAI4EACAQAACPBAAgEgAA1AQAIBsAAK0GACCRAgEA8AMAIZICAQDwAwAhqwICAPIDACGsAgIA8gMAIbICAQDwAwAhswICAPIDACEJDQAAjgQAIBAAAI8EACASAADUBAAgkQIBAPADACGSAgEA8AMAIasCAgDyAwAhrAICAPIDACGyAgEA8AMAIbMCAgDyAwAhBZECAQAAAAGSAgEAAAABqwICAAAAAawCAgAAAAGyAgEAAAABBwwAAOQEACAOAADmBAAgEwAA5QQAIJECAgAAAAGSAgEAAAABrQICAAAAAa4CAgAAAAECAAAAKAAgIgAArwYAIAORAgIAAAABkgIBAAAAAa0CAgAAAAEEEQAApQQAIJECAgAAAAGSAgEAAAABkwIBAAAAAQIAAACAAwAgIgAAsgYAIAMAAACDAwAgIgAAsgYAICMAALYGACAGAAAAgwMAIBEAAPQDACAbAAC2BgAgkQICAPIDACGSAgEA8AMAIZMCAQDxAwAhBBEAAPQDACCRAgIA8gMAIZICAQDwAwAhkwIBAPEDACEFkQIBAAAAAZICAQAAAAGsAgIAAAABsgIBAAAAAbMCAgAAAAEBrAICAAAAAQMAAAAlACAiAACvBgAgIwAAuwYAIAkAAAAlACAMAADBBAAgDgAAvwQAIBMAAMIEACAbAAC7BgAgkQICAPIDACGSAgEA8AMAIa0CAgDyAwAhrgICAL4EACEHDAAAwQQAIA4AAL8EACATAADCBAAgkQICAPIDACGSAgEA8AMAIa0CAgDyAwAhrgICAL4EACEEDAAApAQAIJECAgAAAAGSAgEAAAABkwIBAAAAAQIAAACAAwAgIgAAvAYAIAMAAACDAwAgIgAAvAYAICMAAMAGACAGAAAAgwMAIAwAAPMDACAbAADABgAgkQICAPIDACGSAgEA8AMAIZMCAQDxAwAhBAwAAPMDACCRAgIA8gMAIZICAQDwAwAhkwIBAPEDACENBQAA_gUAIAcAANsFACAIAADcBQAgCQAA3QUAIBQAAN8FACCRAgEAAAABkgIBAAAAAaQCQAAAAAGxAkAAAAABzwIBAAAAAdACIAAAAAHRAgEAAAAB0gICAAAAAQIAAAABACAiAADBBgAgAwAAAAUAICIAAMEGACAjAADFBgAgDwAAAAUAIAUAAP0FACAHAACVBQAgCAAAlgUAIAkAAJcFACAUAACZBQAgGwAAxQYAIJECAQDwAwAhkgIBAPADACGkAkAAmwQAIbECQACbBAAhzwIBAPADACHQAiAArwQAIdECAQDxAwAh0gICAL4EACENBQAA_QUAIAcAAJUFACAIAACWBQAgCQAAlwUAIBQAAJkFACCRAgEA8AMAIZICAQDwAwAhpAJAAJsEACGxAkAAmwQAIc8CAQDwAwAh0AIgAK8EACHRAgEA8QMAIdICAgC-BAAhBw4AAOYEACAPAADjBAAgEwAA5QQAIJECAgAAAAGSAgEAAAABrQICAAAAAa4CAgAAAAECAAAAKAAgIgAAxgYAIAORAgIAAAABkgIBAAAAAa8CAgAAAAECAAAAigIAICIAAMgGACANBQAA_gUAIAcAANsFACAIAADcBQAgCQAA3QUAIAsAAN4FACCRAgEAAAABkgIBAAAAAaQCQAAAAAGxAkAAAAABzwIBAAAAAdACIAAAAAHRAgEAAAAB0gICAAAAAQIAAAABACAiAADKBgAgAwAAAAUAICIAAMoGACAjAADOBgAgDwAAAAUAIAUAAP0FACAHAACVBQAgCAAAlgUAIAkAAJcFACALAACYBQAgGwAAzgYAIJECAQDwAwAhkgIBAPADACGkAkAAmwQAIbECQACbBAAhzwIBAPADACHQAiAArwQAIdECAQDxAwAh0gICAL4EACENBQAA_QUAIAcAAJUFACAIAACWBQAgCQAAlwUAIAsAAJgFACCRAgEA8AMAIZICAQDwAwAhpAJAAJsEACGxAkAAmwQAIc8CAQDwAwAh0AIgAK8EACHRAgEA8QMAIdICAgC-BAAhA6QCQAAAAAGqAgEAAAABsQJAAAAAAQMAAAAlACAiAADGBgAgIwAA0gYAIAkAAAAlACAOAAC_BAAgDwAAwAQAIBMAAMIEACAbAADSBgAgkQICAPIDACGSAgEA8AMAIa0CAgDyAwAhrgICAL4EACEHDgAAvwQAIA8AAMAEACATAADCBAAgkQICAPIDACGSAgEA8AMAIa0CAgDyAwAhrgICAL4EACEDAAAAjQIAICIAAMgGACAjAADVBgAgBQAAAI0CACAbAADVBgAgkQICAPIDACGSAgEA8AMAIa8CAgDyAwAhA5ECAgDyAwAhkgIBAPADACGvAgIA8gMAIQWRAgEAAAABkgIBAAAAAasCAgAAAAGyAgEAAAABswICAAAAAQcMAADkBAAgDgAA5gQAIA8AAOMEACCRAgIAAAABkgIBAAAAAa0CAgAAAAGuAgIAAAABAgAAACgAICIAANcGACADAAAAJQAgIgAA1wYAICMAANsGACAJAAAAJQAgDAAAwQQAIA4AAL8EACAPAADABAAgGwAA2wYAIJECAgDyAwAhkgIBAPADACGtAgIA8gMAIa4CAgC-BAAhBwwAAMEEACAOAAC_BAAgDwAAwAQAIJECAgDyAwAhkgIBAPADACGtAgIA8gMAIa4CAgC-BAAhAasCAgAAAAEHBAAUBQQCBwwECBAFCRIGCxsJFB8KAgMHAQQAAwEDCAABBgABAQYAAQMEAAgGAAEKFgcBCQAGAQoXAAEGAAECBgABFQALBQQAEw0ADBAADhIAEBQ2CgIEAA0MIwsBDCQABQQAEgwqCw4mDg8pDhMuDwIQAA4SABADBAARDC8LETAPAgwxABEyAAMMNAAPMwATNQABFDcABAc4AAg5AAs6ABQ7AAABBUUCAQVLAgUEABkoABopABsqABwrAB0AAAAAAAUEABkoABopABsqABwrAB0BBgABAQYAAQMEACIqACMrACQAAAADBAAiKgAjKwAkAQkABgEJAAYDBAApKgAqKwArAAAAAwQAKSoAKisAKwEGAAEBBgABAwQAMCoAMSsAMgAAAAMEADAqADErADIBBgABAQYAAQMEADcqADgrADkAAAADBAA3KgA4KwA5AAAFBAA-KAA_KQBAKgBBKwBCAAAAAAAFBAA-KAA_KQBAKgBBKwBCAAAAAwQASCoASSsASgAAAAMEAEgqAEkrAEoDDQAMEAAOEgAQAw0ADBAADhIAEAUEAE8oAFApAFEqAFIrAFMAAAAAAAUEAE8oAFApAFEqAFIrAFMCBgABFQALAgYAARUACwMEAFgqAFkrAFoAAAADBABYKgBZKwBaAAAFBABfKABgKQBhKgBiKwBjAAAAAAAFBABfKABgKQBhKgBiKwBjAQ6tAg4BDrMCDgUEAGgoAGkpAGoqAGsrAGwAAAAAAAUEAGgoAGkpAGoqAGsrAGwCEAAOEgAQAhAADhIAEAUEAHEoAHIpAHMqAHQrAHUAAAAAAAUEAHEoAHIpAHMqAHQrAHUBBgABAQYAAQMEAHoqAHsrAHwAAAADBAB6KgB7KwB8AAAAAwQAggEqAIMBKwCEAQAAAAMEAIIBKgCDASsAhAEAAAUEAIkBKACKASkAiwEqAIwBKwCNAQAAAAAABQQAiQEoAIoBKQCLASoAjAErAI0BFgIBFzwBGD0BGT4BGj8BHEEBHUMVHkQWH0cBIEkVIUoXJEwBJU0BJk4VLFEYLVIeLlQGL1UGMFcGMVgGMlkGM1sGNF0VNV4fNmAGN2IVOGMgOWQGOmUGO2YVPGkhPWolPmsHP2wHQG0HQW4HQm8HQ3EHRHMVRXQmRnYHR3gVSHknSXoHSnsHS3wVTH8oTYABLE6BAQRPggEEUIMBBFGEAQRShQEEU4cBBFSJARVVigEtVowBBFeOARVYjwEuWZABBFqRAQRbkgEVXJUBL12WATNelwEFX5gBBWCZAQVhmgEFYpsBBWOdAQVknwEVZaABNGaiAQVnpAEVaKUBNWmmAQVqpwEFa6gBFWyrATZtrAE6bq4BAm-vAQJwsQECcbIBAnKzAQJztQECdLcBFXW4ATt2ugECd7wBFXi9ATx5vgECer8BAnvAARV8wwE9fcQBQ37GAUR_xwFEgAHKAUSBAcsBRIIBzAFEgwHOAUSEAdABFYUB0QFFhgHTAUSHAdUBFYgB1gFGiQHXAUSKAdgBRIsB2QEVjAHcAUeNAd0BS44B3gELjwHfAQuQAeABC5EB4QELkgHiAQuTAeQBC5QB5gEVlQHnAUyWAekBC5cB6wEVmAHsAU2ZAe0BC5oB7gELmwHvARWcAfIBTp0B8wFUngH0AQqfAfUBCqAB9gEKoQH3AQqiAfgBCqMB-gEKpAH8ARWlAf0BVaYB_wEKpwGBAhWoAYICVqkBgwIKqgGEAgqrAYUCFawBiAJXrQGJAluuAYsCDK8BjAIMsAGPAgyxAZACDLIBkQIMswGTAgy0AZUCFbUBlgJctgGYAgy3AZoCFbgBmwJduQGcAgy6AZ0CDLsBngIVvAGhAl69AaICZL4BowIOvwGkAg7AAaUCDsEBpgIOwgGnAg7DAakCDsQBqwIVxQGsAmXGAa8CDscBsQIVyAGyAmbJAbQCDsoBtQIOywG2AhXMAbkCZ80BugJtzgG7Ag_PAbwCD9ABvQIP0QG-Ag_SAb8CD9MBwQIP1AHDAhXVAcQCbtYBxgIP1wHIAhXYAckCb9kBygIP2gHLAg_bAcwCFdwBzwJw3QHQAnbeAdECCd8B0gIJ4AHTAgnhAdQCCeIB1QIJ4wHXAgnkAdkCFeUB2gJ35gHcAgnnAd4CFegB3wJ46QHgAgnqAeECCesB4gIV7AHlAnntAeYCfe4B6AJ-7wHpAn7wAewCfvEB7QJ-8gHuAn7zAfACfvQB8gIV9QHzAn_2AfUCfvcB9wIV-AH4AoAB-QH5An76AfoCfvsB-wIV_AH-AoEB_QH_AoUB_gGBAxD_AYIDEIAChQMQgQKGAxCCAocDEIMCiQMQhAKLAxWFAowDhgGGAo4DEIcCkAMViAKRA4cBiQKSAxCKApMDEIsClAMVjAKXA4gBjQKYA44B' -}; + 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\",\"ApiKey.findUnique\",\"ApiKey.findUniqueOrThrow\",\"ApiKey.findFirst\",\"ApiKey.findFirstOrThrow\",\"ApiKey.findMany\",\"ApiKey.createOne\",\"ApiKey.createMany\",\"ApiKey.createManyAndReturn\",\"ApiKey.updateOne\",\"ApiKey.updateMany\",\"ApiKey.updateManyAndReturn\",\"ApiKey.upsertOne\",\"ApiKey.deleteOne\",\"ApiKey.deleteMany\",\"ApiKey.groupBy\",\"ApiKey.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\",\"ColorPalette.findUnique\",\"ColorPalette.findUniqueOrThrow\",\"ColorPalette.findFirst\",\"ColorPalette.findFirstOrThrow\",\"ColorPalette.findMany\",\"ColorPalette.createOne\",\"ColorPalette.createMany\",\"ColorPalette.createManyAndReturn\",\"ColorPalette.updateOne\",\"ColorPalette.updateMany\",\"ColorPalette.updateManyAndReturn\",\"ColorPalette.upsertOne\",\"ColorPalette.deleteOne\",\"ColorPalette.deleteMany\",\"ColorPalette.groupBy\",\"ColorPalette.aggregate\",\"AND\",\"OR\",\"NOT\",\"solfeggioFrequencyId\",\"colors\",\"equals\",\"string_contains\",\"string_starts_with\",\"string_ends_with\",\"array_starts_with\",\"array_ends_with\",\"array_contains\",\"lt\",\"lte\",\"gt\",\"gte\",\"not\",\"in\",\"notIn\",\"id\",\"name\",\"description\",\"contains\",\"startsWith\",\"endsWith\",\"every\",\"some\",\"none\",\"keyPrefix\",\"keyHash\",\"createdAt\",\"expiresAt\",\"revokedAt\",\"key\",\"active\",\"level\",\"userId\",\"categoryId\",\"subscriptionLevelId\",\"sortOrder\",\"parentId\",\"value\",\"proclamationId\",\"updatedAt\",\"content\",\"identifier\",\"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: "_waYAYACEQUAAIMEACAHAACEBAAgCAAAhQQAIAkAAIYEACALAACHBAAgFAAA-AMAIJ4CAACCBAAwnwIAAAUAEKACAACCBAAwsQIBAAAAAbICAQDFAwAhvAJAANEDACHJAkAA0QMAIeYCAQAAAAHnAiAA_QMAIegCAQDGAwAh6QICAPMDACEBAAAAAQAgBgMAAOQDACCeAgAA4wMAMJ8CAAADABCgAgAA4wMAMLECAgC6AwAhsgIBAMUDACEBAAAAAwAgEQUAAIMEACAHAACEBAAgCAAAhQQAIAkAAIYEACALAACHBAAgFAAA-AMAIJ4CAACCBAAwnwIAAAUAEKACAACCBAAwsQIBAMUDACGyAgEAxQMAIbwCQADRAwAhyQJAANEDACHmAgEAxQMAIecCIAD9AwAh6AIBAMYDACHpAgIA8wMAIQgFAACpBgAgBwAAqgYAIAgAAKsGACAJAACoBgAgCwAArAYAIBQAAKYGACDoAgAAjgQAIOkCAACOBAAgAwAAAAUAIAEAAAYAMAIAAAEAIAEAAAAFACAMBgAA6gMAIJ4CAACBBAAwnwIAAAkAEKACAACBBAAwsQIBAMUDACG8AkAA0QMAIb0CQADRAwAhwgIBAMUDACHJAkAA0QMAIdUCAQDFAwAh1gIBAMYDACHXAgEAxgMAIQMGAACZBgAg1gIAAI4EACDXAgAAjgQAIAwGAADqAwAgngIAAIEEADCfAgAACQAQoAIAAIEEADCxAgEAAAABvAJAANEDACG9AkAA0QMAIcICAQDFAwAhyQJAANEDACHVAgEAAAAB1gIBAMYDACHXAgEAxgMAIQMAAAAJACABAAAKADACAAALACARBgAA6gMAIJ4CAACABAAwnwIAAA0AEKACAACABAAwsQIBAMUDACG8AkAA0QMAIcICAQDFAwAhyQJAANEDACHMAgEAxQMAIc0CAQDFAwAhzgIBAMYDACHPAgEAxgMAIdACAQDGAwAh0QJAANIDACHSAkAA0gMAIdMCAQDGAwAh1AIBAMYDACEIBgAAmQYAIM4CAACOBAAgzwIAAI4EACDQAgAAjgQAINECAACOBAAg0gIAAI4EACDTAgAAjgQAINQCAACOBAAgEQYAAOoDACCeAgAAgAQAMJ8CAAANABCgAgAAgAQAMLECAQAAAAG8AkAA0QMAIcICAQDFAwAhyQJAANEDACHMAgEAxQMAIc0CAQDFAwAhzgIBAMYDACHPAgEAxgMAIdACAQDGAwAh0QJAANIDACHSAkAA0gMAIdMCAQDGAwAh1AIBAMYDACEDAAAADQAgAQAADgAwAgAADwAgCwYAAOoDACAKAADrAwAgngIAAOkDADCfAgAAEQAQoAIAAOkDADCxAgEAxQMAIcICAQDFAwAh4gIBAMUDACHjAgEAxQMAIeQCAQDFAwAh5QIBAMYDACEBAAAAEQAgDwkAAP8DACCeAgAA_gMAMJ8CAAATABCgAgAA_gMAMLECAQDFAwAh2AIBAMUDACHZAgEAxQMAIdoCAQDFAwAh2wIBAMUDACHcAgEAxQMAId0CAQDFAwAh3gIBAMUDACHfAiAA_QMAIeACIAD9AwAh4QIgAP0DACEBCQAAqAYAIA8JAAD_AwAgngIAAP4DADCfAgAAEwAQoAIAAP4DADCxAgEAAAAB2AIBAMUDACHZAgEAxQMAIdoCAQDFAwAh2wIBAMUDACHcAgEAxQMAId0CAQDFAwAh3gIBAMUDACHfAiAA_QMAIeACIAD9AwAh4QIgAP0DACEDAAAAEwAgAQAAFAAwAgAAFQAgAQAAABMAIAkGAADqAwAgngIAAPwDADCfAgAAGAAQoAIAAPwDADCxAgEAxQMAIb8CAQDFAwAhwAIgAP0DACHBAgEAxQMAIcICAQDFAwAhAQYAAJkGACAJBgAA6gMAIJ4CAAD8AwAwnwIAABgAEKACAAD8AwAwsQIBAAAAAb8CAQAAAAHAAiAA_QMAIcECAQDFAwAhwgIBAMUDACEDAAAAGAAgAQAAGQAwAgAAGgAgCQYAAOoDACAVAAD7AwAgngIAAPoDADCfAgAAHAAQoAIAAPoDADC8AkAA0QMAIcICAQDFAwAhyAIBAMUDACHJAkAA0QMAIQIGAACZBgAgFQAApwYAIAoGAADqAwAgFQAA-wMAIJ4CAAD6AwAwnwIAABwAEKACAAD6AwAwvAJAANEDACHCAgEAxQMAIcgCAQDFAwAhyQJAANEDACHsAgAA-QMAIAMAAAAcACABAAAdADACAAAeACANDQAA9wMAIBAAAO8DACASAADwAwAgFAAA-AMAIJ4CAAD2AwAwnwIAACAAEKACAAD2AwAwoQICALoDACGxAgEAxQMAIbICAQDFAwAhwwICALoDACHEAgIAugMAIcoCAQDFAwAhBA0AAKUGACAQAACiBgAgEgAAowYAIBQAAKYGACANDQAA9wMAIBAAAO8DACASAADwAwAgFAAA-AMAIJ4CAAD2AwAwnwIAACAAEKACAAD2AwAwoQICALoDACGxAgEAAAABsgIBAAAAAcMCAgC6AwAhxAICALoDACHKAgEAxQMAIQMAAAAgACABAAAhADACAAAiACABAAAAIAAgCwwAAMcDACAOAAD0AwAgDwAA9QMAIBMAAMgDACCeAgAA8gMAMJ8CAAAlABCgAgAA8gMAMLECAgC6AwAhsgIBAMUDACHFAgIAugMAIcYCAgDzAwAhAQAAACUAIAUMAADJBAAgDgAAogYAIA8AAKQGACATAADKBAAgxgIAAI4EACAMDAAAxwMAIA4AAPQDACAPAAD1AwAgEwAAyAMAIJ4CAADyAwAwnwIAACUAEKACAADyAwAwsQICAAAAAbICAQDFAwAhxQICALoDACHGAgIA8wMAIesCAADxAwAgAwAAACUAIAEAACcAMAIAACgAIAMAAAAgACABAAAhADACAAAiACAHEAAA7wMAIBIAAPADACCeAgAA7gMAMJ8CAAArABCgAgAA7gMAMMMCAgC6AwAhxAICALoDACECEAAAogYAIBIAAKMGACAIEAAA7wMAIBIAAPADACCeAgAA7gMAMJ8CAAArABCgAgAA7gMAMMMCAgC6AwAhxAICALoDACHqAgAA7QMAIAMAAAArACABAAAsADACAAAtACADAAAAIAAgAQAAIQAwAgAAIgAgAwAAACsAIAEAACwAMAIAAC0AIAEAAAAgACABAAAAKwAgAQAAACUAIAEAAAAgACABAAAAKwAgAwAAABwAIAEAAB0AMAIAAB4AIAEAAAAcACABAAAACQAgAQAAAA0AIAEAAAAYACABAAAAHAAgAQAAAAEAIAMAAAAFACABAAAGADACAAABACADAAAABQAgAQAABgAwAgAAAQAgAwAAAAUAIAEAAAYAMAIAAAEAIA4FAAChBgAgBwAA_gUAIAgAAP8FACAJAACABgAgCwAAgQYAIBQAAIIGACCxAgEAAAABsgIBAAAAAbwCQAAAAAHJAkAAAAAB5gIBAAAAAecCIAAAAAHoAgEAAAAB6QICAAAAAQEbAABAACAIsQIBAAAAAbICAQAAAAG8AkAAAAAByQJAAAAAAeYCAQAAAAHnAiAAAAAB6AIBAAAAAekCAgAAAAEBGwAAQgAwARsAAEIAMAEAAAADACAOBQAAoAYAIAcAALgFACAIAAC5BQAgCQAAugUAIAsAALsFACAUAAC8BQAgsQIBAJQEACGyAgEAlAQAIbwCQAC-BAAhyQJAAL4EACHmAgEAlAQAIecCIADSBAAh6AIBAJUEACHpAgIA4QQAIQIAAAABACAbAABGACAIsQIBAJQEACGyAgEAlAQAIbwCQAC-BAAhyQJAAL4EACHmAgEAlAQAIecCIADSBAAh6AIBAJUEACHpAgIA4QQAIQIAAAAFACAbAABIACACAAAABQAgGwAASAAgAQAAAAMAIAMAAAABACAiAABAACAjAABGACABAAAAAQAgAQAAAAUAIAcEAACbBgAgKAAAnAYAICkAAJ8GACAqAACeBgAgKwAAnQYAIOgCAACOBAAg6QIAAI4EACALngIAAOwDADCfAgAAUAAQoAIAAOwDADCxAgEAvQMAIbICAQC9AwAhvAJAAMoDACHJAkAAygMAIeYCAQC9AwAh5wIgANQDACHoAgEAvgMAIekCAgDZAwAhAwAAAAUAIAEAAE8AMCcAAFAAIAMAAAAFACABAAAGADACAAABACALBgAA6gMAIAoAAOsDACCeAgAA6QMAMJ8CAAARABCgAgAA6QMAMLECAQAAAAHCAgEAAAAB4gIBAMUDACHjAgEAxQMAIeQCAQDFAwAh5QIBAMYDACEBAAAAUwAgAQAAAFMAIAMGAACZBgAgCgAAmgYAIOUCAACOBAAgAwAAABEAIAEAAFYAMAIAAFMAIAMAAAARACABAABWADACAABTACADAAAAEQAgAQAAVgAwAgAAUwAgCAYAAJgGACAKAADkBQAgsQIBAAAAAcICAQAAAAHiAgEAAAAB4wIBAAAAAeQCAQAAAAHlAgEAAAABARsAAFoAIAaxAgEAAAABwgIBAAAAAeICAQAAAAHjAgEAAAAB5AIBAAAAAeUCAQAAAAEBGwAAXAAwARsAAFwAMAgGAACXBgAgCgAA1wUAILECAQCUBAAhwgIBAJQEACHiAgEAlAQAIeMCAQCUBAAh5AIBAJQEACHlAgEAlQQAIQIAAABTACAbAABfACAGsQIBAJQEACHCAgEAlAQAIeICAQCUBAAh4wIBAJQEACHkAgEAlAQAIeUCAQCVBAAhAgAAABEAIBsAAGEAIAIAAAARACAbAABhACADAAAAUwAgIgAAWgAgIwAAXwAgAQAAAFMAIAEAAAARACAEBAAAlAYAICoAAJYGACArAACVBgAg5QIAAI4EACAJngIAAOgDADCfAgAAaAAQoAIAAOgDADCxAgEAvQMAIcICAQC9AwAh4gIBAL0DACHjAgEAvQMAIeQCAQC9AwAh5QIBAL4DACEDAAAAEQAgAQAAZwAwJwAAaAAgAwAAABEAIAEAAFYAMAIAAFMAIAEAAAAVACABAAAAFQAgAwAAABMAIAEAABQAMAIAABUAIAMAAAATACABAAAUADACAAAVACADAAAAEwAgAQAAFAAwAgAAFQAgDAkAAJMGACCxAgEAAAAB2AIBAAAAAdkCAQAAAAHaAgEAAAAB2wIBAAAAAdwCAQAAAAHdAgEAAAAB3gIBAAAAAd8CIAAAAAHgAiAAAAAB4QIgAAAAAQEbAABwACALsQIBAAAAAdgCAQAAAAHZAgEAAAAB2gIBAAAAAdsCAQAAAAHcAgEAAAAB3QIBAAAAAd4CAQAAAAHfAiAAAAAB4AIgAAAAAeECIAAAAAEBGwAAcgAwARsAAHIAMAwJAACSBgAgsQIBAJQEACHYAgEAlAQAIdkCAQCUBAAh2gIBAJQEACHbAgEAlAQAIdwCAQCUBAAh3QIBAJQEACHeAgEAlAQAId8CIADSBAAh4AIgANIEACHhAiAA0gQAIQIAAAAVACAbAAB1ACALsQIBAJQEACHYAgEAlAQAIdkCAQCUBAAh2gIBAJQEACHbAgEAlAQAIdwCAQCUBAAh3QIBAJQEACHeAgEAlAQAId8CIADSBAAh4AIgANIEACHhAiAA0gQAIQIAAAATACAbAAB3ACACAAAAEwAgGwAAdwAgAwAAABUAICIAAHAAICMAAHUAIAEAAAAVACABAAAAEwAgAwQAAI8GACAqAACRBgAgKwAAkAYAIA6eAgAA5wMAMJ8CAAB-ABCgAgAA5wMAMLECAQC9AwAh2AIBAL0DACHZAgEAvQMAIdoCAQC9AwAh2wIBAL0DACHcAgEAvQMAId0CAQC9AwAh3gIBAL0DACHfAiAA1AMAIeACIADUAwAh4QIgANQDACEDAAAAEwAgAQAAfQAwJwAAfgAgAwAAABMAIAEAABQAMAIAABUAIAEAAAALACABAAAACwAgAwAAAAkAIAEAAAoAMAIAAAsAIAMAAAAJACABAAAKADACAAALACADAAAACQAgAQAACgAwAgAACwAgCQYAAI4GACCxAgEAAAABvAJAAAAAAb0CQAAAAAHCAgEAAAAByQJAAAAAAdUCAQAAAAHWAgEAAAAB1wIBAAAAAQEbAACGAQAgCLECAQAAAAG8AkAAAAABvQJAAAAAAcICAQAAAAHJAkAAAAAB1QIBAAAAAdYCAQAAAAHXAgEAAAABARsAAIgBADABGwAAiAEAMAkGAACNBgAgsQIBAJQEACG8AkAAvgQAIb0CQAC-BAAhwgIBAJQEACHJAkAAvgQAIdUCAQCUBAAh1gIBAJUEACHXAgEAlQQAIQIAAAALACAbAACLAQAgCLECAQCUBAAhvAJAAL4EACG9AkAAvgQAIcICAQCUBAAhyQJAAL4EACHVAgEAlAQAIdYCAQCVBAAh1wIBAJUEACECAAAACQAgGwAAjQEAIAIAAAAJACAbAACNAQAgAwAAAAsAICIAAIYBACAjAACLAQAgAQAAAAsAIAEAAAAJACAFBAAAigYAICoAAIwGACArAACLBgAg1gIAAI4EACDXAgAAjgQAIAueAgAA5gMAMJ8CAACUAQAQoAIAAOYDADCxAgEAvQMAIbwCQADKAwAhvQJAAMoDACHCAgEAvQMAIckCQADKAwAh1QIBAL0DACHWAgEAvgMAIdcCAQC-AwAhAwAAAAkAIAEAAJMBADAnAACUAQAgAwAAAAkAIAEAAAoAMAIAAAsAIAEAAAAPACABAAAADwAgAwAAAA0AIAEAAA4AMAIAAA8AIAMAAAANACABAAAOADACAAAPACADAAAADQAgAQAADgAwAgAADwAgDgYAAIkGACCxAgEAAAABvAJAAAAAAcICAQAAAAHJAkAAAAABzAIBAAAAAc0CAQAAAAHOAgEAAAABzwIBAAAAAdACAQAAAAHRAkAAAAAB0gJAAAAAAdMCAQAAAAHUAgEAAAABARsAAJwBACANsQIBAAAAAbwCQAAAAAHCAgEAAAAByQJAAAAAAcwCAQAAAAHNAgEAAAABzgIBAAAAAc8CAQAAAAHQAgEAAAAB0QJAAAAAAdICQAAAAAHTAgEAAAAB1AIBAAAAAQEbAACeAQAwARsAAJ4BADAOBgAAiAYAILECAQCUBAAhvAJAAL4EACHCAgEAlAQAIckCQAC-BAAhzAIBAJQEACHNAgEAlAQAIc4CAQCVBAAhzwIBAJUEACHQAgEAlQQAIdECQADOBAAh0gJAAM4EACHTAgEAlQQAIdQCAQCVBAAhAgAAAA8AIBsAAKEBACANsQIBAJQEACG8AkAAvgQAIcICAQCUBAAhyQJAAL4EACHMAgEAlAQAIc0CAQCUBAAhzgIBAJUEACHPAgEAlQQAIdACAQCVBAAh0QJAAM4EACHSAkAAzgQAIdMCAQCVBAAh1AIBAJUEACECAAAADQAgGwAAowEAIAIAAAANACAbAACjAQAgAwAAAA8AICIAAJwBACAjAAChAQAgAQAAAA8AIAEAAAANACAKBAAAhQYAICoAAIcGACArAACGBgAgzgIAAI4EACDPAgAAjgQAINACAACOBAAg0QIAAI4EACDSAgAAjgQAINMCAACOBAAg1AIAAI4EACAQngIAAOUDADCfAgAAqgEAEKACAADlAwAwsQIBAL0DACG8AkAAygMAIcICAQC9AwAhyQJAAMoDACHMAgEAvQMAIc0CAQC9AwAhzgIBAL4DACHPAgEAvgMAIdACAQC-AwAh0QJAAMsDACHSAkAAywMAIdMCAQC-AwAh1AIBAL4DACEDAAAADQAgAQAAqQEAMCcAAKoBACADAAAADQAgAQAADgAwAgAADwAgBgMAAOQDACCeAgAA4wMAMJ8CAAADABCgAgAA4wMAMLECAgAAAAGyAgEAxQMAIQEAAACtAQAgAQAAAK0BACABAwAAhAYAIAMAAAADACABAACwAQAwAgAArQEAIAMAAAADACABAACwAQAwAgAArQEAIAMAAAADACABAACwAQAwAgAArQEAIAMDAACDBgAgsQICAAAAAbICAQAAAAEBGwAAtAEAIAKxAgIAAAABsgIBAAAAAQEbAAC2AQAwARsAALYBADADAwAArAUAILECAgCNBAAhsgIBAJQEACECAAAArQEAIBsAALkBACACsQICAI0EACGyAgEAlAQAIQIAAAADACAbAAC7AQAgAgAAAAMAIBsAALsBACADAAAArQEAICIAALQBACAjAAC5AQAgAQAAAK0BACABAAAAAwAgBQQAAKcFACAoAACoBQAgKQAAqwUAICoAAKoFACArAACpBQAgBZ4CAADiAwAwnwIAAMIBABCgAgAA4gMAMLECAgCzAwAhsgIBAL0DACEDAAAAAwAgAQAAwQEAMCcAAMIBACADAAAAAwAgAQAAsAEAMAIAAK0BACAJngIAAOEDADCfAgAAyAEAEKACAADhAwAwsQIBAAAAAbwCQADRAwAhvQJAANEDACHHAgEAxQMAIckCQADRAwAhywIBAMUDACEBAAAAxQEAIAEAAADFAQAgCZ4CAADhAwAwnwIAAMgBABCgAgAA4QMAMLECAQDFAwAhvAJAANEDACG9AkAA0QMAIccCAQDFAwAhyQJAANEDACHLAgEAxQMAIQADAAAAyAEAIAEAAMkBADACAADFAQAgAwAAAMgBACABAADJAQAwAgAAxQEAIAMAAADIAQAgAQAAyQEAMAIAAMUBACAGsQIBAAAAAbwCQAAAAAG9AkAAAAABxwIBAAAAAckCQAAAAAHLAgEAAAABARsAAM0BACAGsQIBAAAAAbwCQAAAAAG9AkAAAAABxwIBAAAAAckCQAAAAAHLAgEAAAABARsAAM8BADABGwAAzwEAMAaxAgEAlAQAIbwCQAC-BAAhvQJAAL4EACHHAgEAlAQAIckCQAC-BAAhywIBAJQEACECAAAAxQEAIBsAANIBACAGsQIBAJQEACG8AkAAvgQAIb0CQAC-BAAhxwIBAJQEACHJAkAAvgQAIcsCAQCUBAAhAgAAAMgBACAbAADUAQAgAgAAAMgBACAbAADUAQAgAwAAAMUBACAiAADNAQAgIwAA0gEAIAEAAADFAQAgAQAAAMgBACADBAAApAUAICoAAKYFACArAAClBQAgCZ4CAADgAwAwnwIAANsBABCgAgAA4AMAMLECAQC9AwAhvAJAAMoDACG9AkAAygMAIccCAQC9AwAhyQJAAMoDACHLAgEAvQMAIQMAAADIAQAgAQAA2gEAMCcAANsBACADAAAAyAEAIAEAAMkBADACAADFAQAgAQAAACIAIAEAAAAiACADAAAAIAAgAQAAIQAwAgAAIgAgAwAAACAAIAEAACEAMAIAACIAIAMAAAAgACABAAAhADACAAAiACAKDQAAxAQAIBAAAMUEACASAAD5BAAgFAAAxgQAIKECAgAAAAGxAgEAAAABsgIBAAAAAcMCAgAAAAHEAgIAAAABygIBAAAAAQEbAADjAQAgBqECAgAAAAGxAgEAAAABsgIBAAAAAcMCAgAAAAHEAgIAAAABygIBAAAAAQEbAADlAQAwARsAAOUBADAKDQAAsQQAIBAAALIEACASAAD3BAAgFAAAswQAIKECAgCNBAAhsQIBAJQEACGyAgEAlAQAIcMCAgCNBAAhxAICAI0EACHKAgEAlAQAIQIAAAAiACAbAADoAQAgBqECAgCNBAAhsQIBAJQEACGyAgEAlAQAIcMCAgCNBAAhxAICAI0EACHKAgEAlAQAIQIAAAAgACAbAADqAQAgAgAAACAAIBsAAOoBACADAAAAIgAgIgAA4wEAICMAAOgBACABAAAAIgAgAQAAACAAIAUEAACfBQAgKAAAoAUAICkAAKMFACAqAACiBQAgKwAAoQUAIAmeAgAA3wMAMJ8CAADxAQAQoAIAAN8DADChAgIAswMAIbECAQC9AwAhsgIBAL0DACHDAgIAswMAIcQCAgCzAwAhygIBAL0DACEDAAAAIAAgAQAA8AEAMCcAAPEBACADAAAAIAAgAQAAIQAwAgAAIgAgAQAAAB4AIAEAAAAeACADAAAAHAAgAQAAHQAwAgAAHgAgAwAAABwAIAEAAB0AMAIAAB4AIAMAAAAcACABAAAdADACAAAeACAGBgAAwgQAIBUAAJ4FACC8AkAAAAABwgIBAAAAAcgCAQAAAAHJAkAAAAABARsAAPkBACAEvAJAAAAAAcICAQAAAAHIAgEAAAAByQJAAAAAAQEbAAD7AQAwARsAAPsBADAGBgAAwAQAIBUAAJ0FACC8AkAAvgQAIcICAQCUBAAhyAIBAJQEACHJAkAAvgQAIQIAAAAeACAbAAD-AQAgBLwCQAC-BAAhwgIBAJQEACHIAgEAlAQAIckCQAC-BAAhAgAAABwAIBsAAIACACACAAAAHAAgGwAAgAIAIAMAAAAeACAiAAD5AQAgIwAA_gEAIAEAAAAeACABAAAAHAAgAwQAAJoFACAqAACcBQAgKwAAmwUAIAeeAgAA3gMAMJ8CAACHAgAQoAIAAN4DADC8AkAAygMAIcICAQC9AwAhyAIBAL0DACHJAkAAygMAIQMAAAAcACABAACGAgAwJwAAhwIAIAMAAAAcACABAAAdADACAAAeACAHDAAAxwMAIJ4CAADdAwAwnwIAAI0CABCgAgAA3QMAMLECAgAAAAGyAgEAAAABxwICAAAAAQEAAACKAgAgAQAAAIoCACAHDAAAxwMAIJ4CAADdAwAwnwIAAI0CABCgAgAA3QMAMLECAgC6AwAhsgIBAMUDACHHAgIAugMAIQEMAADJBAAgAwAAAI0CACABAACOAgAwAgAAigIAIAMAAACNAgAgAQAAjgIAMAIAAIoCACADAAAAjQIAIAEAAI4CADACAACKAgAgBAwAAJkFACCxAgIAAAABsgIBAAAAAccCAgAAAAEBGwAAkgIAIAOxAgIAAAABsgIBAAAAAccCAgAAAAEBGwAAlAIAMAEbAACUAgAwBAwAAI8FACCxAgIAjQQAIbICAQCUBAAhxwICAI0EACECAAAAigIAIBsAAJcCACADsQICAI0EACGyAgEAlAQAIccCAgCNBAAhAgAAAI0CACAbAACZAgAgAgAAAI0CACAbAACZAgAgAwAAAIoCACAiAACSAgAgIwAAlwIAIAEAAACKAgAgAQAAAI0CACAFBAAAigUAICgAAIsFACApAACOBQAgKgAAjQUAICsAAIwFACAGngIAANwDADCfAgAAoAIAEKACAADcAwAwsQICALMDACGyAgEAvQMAIccCAgCzAwAhAwAAAI0CACABAACfAgAwJwAAoAIAIAMAAACNAgAgAQAAjgIAMAIAAIoCACABAAAAKAAgAQAAACgAIAMAAAAlACABAAAnADACAAAoACADAAAAJQAgAQAAJwAwAgAAKAAgAwAAACUAIAEAACcAMAIAACgAIAgMAACHBQAgDgAAiQUAIA8AAIYFACATAACIBQAgsQICAAAAAbICAQAAAAHFAgIAAAABxgICAAAAAQEbAACoAgAgBLECAgAAAAGyAgEAAAABxQICAAAAAcYCAgAAAAEBGwAAqgIAMAEbAACqAgAwAQAAACUAIAgMAADkBAAgDgAA4gQAIA8AAOMEACATAADlBAAgsQICAI0EACGyAgEAlAQAIcUCAgCNBAAhxgICAOEEACECAAAAKAAgGwAArgIAIASxAgIAjQQAIbICAQCUBAAhxQICAI0EACHGAgIA4QQAIQIAAAAlACAbAACwAgAgAgAAACUAIBsAALACACABAAAAJQAgAwAAACgAICIAAKgCACAjAACuAgAgAQAAACgAIAEAAAAlACAGBAAA3AQAICgAAN0EACApAADgBAAgKgAA3wQAICsAAN4EACDGAgAAjgQAIAeeAgAA2AMAMJ8CAAC4AgAQoAIAANgDADCxAgIAswMAIbICAQC9AwAhxQICALMDACHGAgIA2QMAIQMAAAAlACABAAC3AgAwJwAAuAIAIAMAAAAlACABAAAnADACAAAoACABAAAALQAgAQAAAC0AIAMAAAArACABAAAsADACAAAtACADAAAAKwAgAQAALAAwAgAALQAgAwAAACsAIAEAACwAMAIAAC0AIAQQAAClBAAgEgAA2wQAIMMCAgAAAAHEAgIAAAABARsAAMACACACwwICAAAAAcQCAgAAAAEBGwAAwgIAMAEbAADCAgAwBBAAAKMEACASAADaBAAgwwICAI0EACHEAgIAjQQAIQIAAAAtACAbAADFAgAgAsMCAgCNBAAhxAICAI0EACECAAAAKwAgGwAAxwIAIAIAAAArACAbAADHAgAgAwAAAC0AICIAAMACACAjAADFAgAgAQAAAC0AIAEAAAArACAFBAAA1QQAICgAANYEACApAADZBAAgKgAA2AQAICsAANcEACAFngIAANcDADCfAgAAzgIAEKACAADXAwAwwwICALMDACHEAgIAswMAIQMAAAArACABAADNAgAwJwAAzgIAIAMAAAArACABAAAsADACAAAtACABAAAAGgAgAQAAABoAIAMAAAAYACABAAAZADACAAAaACADAAAAGAAgAQAAGQAwAgAAGgAgAwAAABgAIAEAABkAMAIAABoAIAYGAADUBAAgsQIBAAAAAb8CAQAAAAHAAiAAAAABwQIBAAAAAcICAQAAAAEBGwAA1gIAIAWxAgEAAAABvwIBAAAAAcACIAAAAAHBAgEAAAABwgIBAAAAAQEbAADYAgAwARsAANgCADAGBgAA0wQAILECAQCUBAAhvwIBAJQEACHAAiAA0gQAIcECAQCUBAAhwgIBAJQEACECAAAAGgAgGwAA2wIAIAWxAgEAlAQAIb8CAQCUBAAhwAIgANIEACHBAgEAlAQAIcICAQCUBAAhAgAAABgAIBsAAN0CACACAAAAGAAgGwAA3QIAIAMAAAAaACAiAADWAgAgIwAA2wIAIAEAAAAaACABAAAAGAAgAwQAAM8EACAqAADRBAAgKwAA0AQAIAieAgAA0wMAMJ8CAADkAgAQoAIAANMDADCxAgEAvQMAIb8CAQC9AwAhwAIgANQDACHBAgEAvQMAIcICAQC9AwAhAwAAABgAIAEAAOMCADAnAADkAgAgAwAAABgAIAEAABkAMAIAABoAIAmeAgAA0AMAMJ8CAADqAgAQoAIAANADADCxAgEAAAABugIBAMUDACG7AgEAAAABvAJAANEDACG9AkAA0gMAIb4CQADSAwAhAQAAAOcCACABAAAA5wIAIAmeAgAA0AMAMJ8CAADqAgAQoAIAANADADCxAgEAxQMAIboCAQDFAwAhuwIBAMUDACG8AkAA0QMAIb0CQADSAwAhvgJAANIDACECvQIAAI4EACC-AgAAjgQAIAMAAADqAgAgAQAA6wIAMAIAAOcCACADAAAA6gIAIAEAAOsCADACAADnAgAgAwAAAOoCACABAADrAgAwAgAA5wIAIAaxAgEAAAABugIBAAAAAbsCAQAAAAG8AkAAAAABvQJAAAAAAb4CQAAAAAEBGwAA7wIAIAaxAgEAAAABugIBAAAAAbsCAQAAAAG8AkAAAAABvQJAAAAAAb4CQAAAAAEBGwAA8QIAMAEbAADxAgAwBrECAQCUBAAhugIBAJQEACG7AgEAlAQAIbwCQAC-BAAhvQJAAM4EACG-AkAAzgQAIQIAAADnAgAgGwAA9AIAIAaxAgEAlAQAIboCAQCUBAAhuwIBAJQEACG8AkAAvgQAIb0CQADOBAAhvgJAAM4EACECAAAA6gIAIBsAAPYCACACAAAA6gIAIBsAAPYCACADAAAA5wIAICIAAO8CACAjAAD0AgAgAQAAAOcCACABAAAA6gIAIAUEAADLBAAgKgAAzQQAICsAAMwEACC9AgAAjgQAIL4CAACOBAAgCZ4CAADJAwAwnwIAAP0CABCgAgAAyQMAMLECAQC9AwAhugIBAL0DACG7AgEAvQMAIbwCQADKAwAhvQJAAMsDACG-AkAAywMAIQMAAADqAgAgAQAA_AIAMCcAAP0CACADAAAA6gIAIAEAAOsCADACAADnAgAgCAwAAMcDACARAADIAwAgngIAAMQDADCfAgAAgwMAEKACAADEAwAwsQICAAAAAbICAQDFAwAhswIBAMYDACEBAAAAgAMAIAEAAACAAwAgCAwAAMcDACARAADIAwAgngIAAMQDADCfAgAAgwMAEKACAADEAwAwsQICALoDACGyAgEAxQMAIbMCAQDGAwAhAwwAAMkEACARAADKBAAgswIAAI4EACADAAAAgwMAIAEAAIQDADACAACAAwAgAwAAAIMDACABAACEAwAwAgAAgAMAIAMAAACDAwAgAQAAhAMAMAIAAIADACAFDAAAxwQAIBEAAMgEACCxAgIAAAABsgIBAAAAAbMCAQAAAAEBGwAAiAMAIAOxAgIAAAABsgIBAAAAAbMCAQAAAAEBGwAAigMAMAEbAACKAwAwBQwAAJYEACARAACXBAAgsQICAI0EACGyAgEAlAQAIbMCAQCVBAAhAgAAAIADACAbAACNAwAgA7ECAgCNBAAhsgIBAJQEACGzAgEAlQQAIQIAAACDAwAgGwAAjwMAIAIAAACDAwAgGwAAjwMAIAMAAACAAwAgIgAAiAMAICMAAI0DACABAAAAgAMAIAEAAACDAwAgBgQAAI8EACAoAACQBAAgKQAAkwQAICoAAJIEACArAACRBAAgswIAAI4EACAGngIAALwDADCfAgAAlgMAEKACAAC8AwAwsQICALMDACGyAgEAvQMAIbMCAQC-AwAhAwAAAIMDACABAACVAwAwJwAAlgMAIAMAAACDAwAgAQAAhAMAMAIAAIADACAFngIAALkDADCfAgAAnAMAEKACAAC5AwAwoQICAAAAAaICAAC7AwAgAQAAAJkDACABAAAAmQMAIAWeAgAAuQMAMJ8CAACcAwAQoAIAALkDADChAgIAugMAIaICAAC7AwAgAAMAAACcAwAgAQAAnQMAMAIAAJkDACADAAAAnAMAIAEAAJ0DADACAACZAwAgAwAAAJwDACABAACdAwAwAgAAmQMAIAKhAgIAAAABogKAAAAAAQEbAAChAwAgAqECAgAAAAGiAoAAAAABARsAAKMDADABGwAAowMAMAKhAgIAjQQAIaICgAAAAAECAAAAmQMAIBsAAKYDACACoQICAI0EACGiAoAAAAABAgAAAJwDACAbAACoAwAgAgAAAJwDACAbAACoAwAgAwAAAJkDACAiAAChAwAgIwAApgMAIAEAAACZAwAgAQAAAJwDACAFBAAAiAQAICgAAIkEACApAACMBAAgKgAAiwQAICsAAIoEACAFngIAALIDADCfAgAArwMAEKACAACyAwAwoQICALMDACGiAgAAtAMAIAMAAACcAwAgAQAArgMAMCcAAK8DACADAAAAnAMAIAEAAJ0DADACAACZAwAgBZ4CAACyAwAwnwIAAK8DABCgAgAAsgMAMKECAgCzAwAhogIAALQDACANBAAAtQMAICgAALgDACApAAC1AwAgKgAAtQMAICsAALUDACCjAgIAAAABqgICAAAAAasCAgAAAAGsAgIAAAABrQICAAAAAa4CAgC3AwAhrwICAAAABLACAgAAAAQPBAAAtQMAICoAALYDACArAAC2AwAgowKAAAAAAaQCAQAAAAGlAgEAAAABpgIBAAAAAacCgAAAAAGoAoAAAAABqQKAAAAAAaoCgAAAAAGrAoAAAAABrAKAAAAAAa0CgAAAAAGuAoAAAAABCKMCAgAAAAGqAgIAAAABqwICAAAAAawCAgAAAAGtAgIAAAABrgICALUDACGvAgIAAAAEsAICAAAABAyjAoAAAAABpAIBAAAAAaUCAQAAAAGmAgEAAAABpwKAAAAAAagCgAAAAAGpAoAAAAABqgKAAAAAAasCgAAAAAGsAoAAAAABrQKAAAAAAa4CgAAAAAENBAAAtQMAICgAALgDACApAAC1AwAgKgAAtQMAICsAALUDACCjAgIAAAABqgICAAAAAasCAgAAAAGsAgIAAAABrQICAAAAAa4CAgC3AwAhrwICAAAABLACAgAAAAQIowIIAAAAAaoCCAAAAAGrAggAAAABrAIIAAAAAa0CCAAAAAGuAggAuAMAIa8CCAAAAASwAggAAAAEBZ4CAAC5AwAwnwIAAJwDABCgAgAAuQMAMKECAgC6AwAhogIAALsDACAIowICAAAAAaoCAgAAAAGrAgIAAAABrAICAAAAAa0CAgAAAAGuAgIAtQMAIa8CAgAAAASwAgIAAAAEDKMCgAAAAAGkAgEAAAABpQIBAAAAAaYCAQAAAAGnAoAAAAABqAKAAAAAAakCgAAAAAGqAoAAAAABqwKAAAAAAawCgAAAAAGtAoAAAAABrgKAAAAAAQaeAgAAvAMAMJ8CAACWAwAQoAIAALwDADCxAgIAswMAIbICAQC9AwAhswIBAL4DACEOBAAAtQMAICoAAMMDACArAADDAwAgowIBAAAAAaoCAQAAAAGrAgEAAAABrAIBAAAAAa0CAQAAAAGuAgEAwgMAIa8CAQAAAASwAgEAAAAEtAIBAAAAAbUCAQAAAAG2AgEAAAABDgQAAMADACAqAADBAwAgKwAAwQMAIKMCAQAAAAGqAgEAAAABqwIBAAAAAawCAQAAAAGtAgEAAAABrgIBAL8DACGvAgEAAAAFsAIBAAAABbQCAQAAAAG1AgEAAAABtgIBAAAAAQ4EAADAAwAgKgAAwQMAICsAAMEDACCjAgEAAAABqgIBAAAAAasCAQAAAAGsAgEAAAABrQIBAAAAAa4CAQC_AwAhrwIBAAAABbACAQAAAAW0AgEAAAABtQIBAAAAAbYCAQAAAAEIowICAAAAAaoCAgAAAAGrAgIAAAABrAICAAAAAa0CAgAAAAGuAgIAwAMAIa8CAgAAAAWwAgIAAAAFC6MCAQAAAAGqAgEAAAABqwIBAAAAAawCAQAAAAGtAgEAAAABrgIBAMEDACGvAgEAAAAFsAIBAAAABbQCAQAAAAG1AgEAAAABtgIBAAAAAQ4EAAC1AwAgKgAAwwMAICsAAMMDACCjAgEAAAABqgIBAAAAAasCAQAAAAGsAgEAAAABrQIBAAAAAa4CAQDCAwAhrwIBAAAABLACAQAAAAS0AgEAAAABtQIBAAAAAbYCAQAAAAELowIBAAAAAaoCAQAAAAGrAgEAAAABrAIBAAAAAa0CAQAAAAGuAgEAwwMAIa8CAQAAAASwAgEAAAAEtAIBAAAAAbUCAQAAAAG2AgEAAAABCAwAAMcDACARAADIAwAgngIAAMQDADCfAgAAgwMAEKACAADEAwAwsQICALoDACGyAgEAxQMAIbMCAQDGAwAhC6MCAQAAAAGqAgEAAAABqwIBAAAAAawCAQAAAAGtAgEAAAABrgIBAMMDACGvAgEAAAAEsAIBAAAABLQCAQAAAAG1AgEAAAABtgIBAAAAAQujAgEAAAABqgIBAAAAAasCAQAAAAGsAgEAAAABrQIBAAAAAa4CAQDBAwAhrwIBAAAABbACAQAAAAW0AgEAAAABtQIBAAAAAbYCAQAAAAEDtwIAACAAILgCAAAgACC5AgAAIAAgA7cCAAArACC4AgAAKwAguQIAACsAIAmeAgAAyQMAMJ8CAAD9AgAQoAIAAMkDADCxAgEAvQMAIboCAQC9AwAhuwIBAL0DACG8AkAAygMAIb0CQADLAwAhvgJAAMsDACELBAAAtQMAICoAAM8DACArAADPAwAgowJAAAAAAaoCQAAAAAGrAkAAAAABrAJAAAAAAa0CQAAAAAGuAkAAzgMAIa8CQAAAAASwAkAAAAAECwQAAMADACAqAADNAwAgKwAAzQMAIKMCQAAAAAGqAkAAAAABqwJAAAAAAawCQAAAAAGtAkAAAAABrgJAAMwDACGvAkAAAAAFsAJAAAAABQsEAADAAwAgKgAAzQMAICsAAM0DACCjAkAAAAABqgJAAAAAAasCQAAAAAGsAkAAAAABrQJAAAAAAa4CQADMAwAhrwJAAAAABbACQAAAAAUIowJAAAAAAaoCQAAAAAGrAkAAAAABrAJAAAAAAa0CQAAAAAGuAkAAzQMAIa8CQAAAAAWwAkAAAAAFCwQAALUDACAqAADPAwAgKwAAzwMAIKMCQAAAAAGqAkAAAAABqwJAAAAAAawCQAAAAAGtAkAAAAABrgJAAM4DACGvAkAAAAAEsAJAAAAABAijAkAAAAABqgJAAAAAAasCQAAAAAGsAkAAAAABrQJAAAAAAa4CQADPAwAhrwJAAAAABLACQAAAAAQJngIAANADADCfAgAA6gIAEKACAADQAwAwsQIBAMUDACG6AgEAxQMAIbsCAQDFAwAhvAJAANEDACG9AkAA0gMAIb4CQADSAwAhCKMCQAAAAAGqAkAAAAABqwJAAAAAAawCQAAAAAGtAkAAAAABrgJAAM8DACGvAkAAAAAEsAJAAAAABAijAkAAAAABqgJAAAAAAasCQAAAAAGsAkAAAAABrQJAAAAAAa4CQADNAwAhrwJAAAAABbACQAAAAAUIngIAANMDADCfAgAA5AIAEKACAADTAwAwsQIBAL0DACG_AgEAvQMAIcACIADUAwAhwQIBAL0DACHCAgEAvQMAIQUEAAC1AwAgKgAA1gMAICsAANYDACCjAiAAAAABrgIgANUDACEFBAAAtQMAICoAANYDACArAADWAwAgowIgAAAAAa4CIADVAwAhAqMCIAAAAAGuAiAA1gMAIQWeAgAA1wMAMJ8CAADOAgAQoAIAANcDADDDAgIAswMAIcQCAgCzAwAhB54CAADYAwAwnwIAALgCABCgAgAA2AMAMLECAgCzAwAhsgIBAL0DACHFAgIAswMAIcYCAgDZAwAhDQQAAMADACAoAADbAwAgKQAAwAMAICoAAMADACArAADAAwAgowICAAAAAaoCAgAAAAGrAgIAAAABrAICAAAAAa0CAgAAAAGuAgIA2gMAIa8CAgAAAAWwAgIAAAAFDQQAAMADACAoAADbAwAgKQAAwAMAICoAAMADACArAADAAwAgowICAAAAAaoCAgAAAAGrAgIAAAABrAICAAAAAa0CAgAAAAGuAgIA2gMAIa8CAgAAAAWwAgIAAAAFCKMCCAAAAAGqAggAAAABqwIIAAAAAawCCAAAAAGtAggAAAABrgIIANsDACGvAggAAAAFsAIIAAAABQaeAgAA3AMAMJ8CAACgAgAQoAIAANwDADCxAgIAswMAIbICAQC9AwAhxwICALMDACEHDAAAxwMAIJ4CAADdAwAwnwIAAI0CABCgAgAA3QMAMLECAgC6AwAhsgIBAMUDACHHAgIAugMAIQeeAgAA3gMAMJ8CAACHAgAQoAIAAN4DADC8AkAAygMAIcICAQC9AwAhyAIBAL0DACHJAkAAygMAIQmeAgAA3wMAMJ8CAADxAQAQoAIAAN8DADChAgIAswMAIbECAQC9AwAhsgIBAL0DACHDAgIAswMAIcQCAgCzAwAhygIBAL0DACEJngIAAOADADCfAgAA2wEAEKACAADgAwAwsQIBAL0DACG8AkAAygMAIb0CQADKAwAhxwIBAL0DACHJAkAAygMAIcsCAQC9AwAhCZ4CAADhAwAwnwIAAMgBABCgAgAA4QMAMLECAQDFAwAhvAJAANEDACG9AkAA0QMAIccCAQDFAwAhyQJAANEDACHLAgEAxQMAIQWeAgAA4gMAMJ8CAADCAQAQoAIAAOIDADCxAgIAswMAIbICAQC9AwAhBgMAAOQDACCeAgAA4wMAMJ8CAAADABCgAgAA4wMAMLECAgC6AwAhsgIBAMUDACEDtwIAAAUAILgCAAAFACC5AgAABQAgEJ4CAADlAwAwnwIAAKoBABCgAgAA5QMAMLECAQC9AwAhvAJAAMoDACHCAgEAvQMAIckCQADKAwAhzAIBAL0DACHNAgEAvQMAIc4CAQC-AwAhzwIBAL4DACHQAgEAvgMAIdECQADLAwAh0gJAAMsDACHTAgEAvgMAIdQCAQC-AwAhC54CAADmAwAwnwIAAJQBABCgAgAA5gMAMLECAQC9AwAhvAJAAMoDACG9AkAAygMAIcICAQC9AwAhyQJAAMoDACHVAgEAvQMAIdYCAQC-AwAh1wIBAL4DACEOngIAAOcDADCfAgAAfgAQoAIAAOcDADCxAgEAvQMAIdgCAQC9AwAh2QIBAL0DACHaAgEAvQMAIdsCAQC9AwAh3AIBAL0DACHdAgEAvQMAId4CAQC9AwAh3wIgANQDACHgAiAA1AMAIeECIADUAwAhCZ4CAADoAwAwnwIAAGgAEKACAADoAwAwsQIBAL0DACHCAgEAvQMAIeICAQC9AwAh4wIBAL0DACHkAgEAvQMAIeUCAQC-AwAhCwYAAOoDACAKAADrAwAgngIAAOkDADCfAgAAEQAQoAIAAOkDADCxAgEAxQMAIcICAQDFAwAh4gIBAMUDACHjAgEAxQMAIeQCAQDFAwAh5QIBAMYDACETBQAAgwQAIAcAAIQEACAIAACFBAAgCQAAhgQAIAsAAIcEACAUAAD4AwAgngIAAIIEADCfAgAABQAQoAIAAIIEADCxAgEAxQMAIbICAQDFAwAhvAJAANEDACHJAkAA0QMAIeYCAQDFAwAh5wIgAP0DACHoAgEAxgMAIekCAgDzAwAh7QIAAAUAIO4CAAAFACADtwIAABMAILgCAAATACC5AgAAEwAgC54CAADsAwAwnwIAAFAAEKACAADsAwAwsQIBAL0DACGyAgEAvQMAIbwCQADKAwAhyQJAAMoDACHmAgEAvQMAIecCIADUAwAh6AIBAL4DACHpAgIA2QMAIQLDAgIAAAABxAICAAAAAQcQAADvAwAgEgAA8AMAIJ4CAADuAwAwnwIAACsAEKACAADuAwAwwwICALoDACHEAgIAugMAIQ0MAADHAwAgDgAA9AMAIA8AAPUDACATAADIAwAgngIAAPIDADCfAgAAJQAQoAIAAPIDADCxAgIAugMAIbICAQDFAwAhxQICALoDACHGAgIA8wMAIe0CAAAlACDuAgAAJQAgCgwAAMcDACARAADIAwAgngIAAMQDADCfAgAAgwMAEKACAADEAwAwsQICALoDACGyAgEAxQMAIbMCAQDGAwAh7QIAAIMDACDuAgAAgwMAIAKyAgEAAAABxgICAAAAAQsMAADHAwAgDgAA9AMAIA8AAPUDACATAADIAwAgngIAAPIDADCfAgAAJQAQoAIAAPIDADCxAgIAugMAIbICAQDFAwAhxQICALoDACHGAgIA8wMAIQijAgIAAAABqgICAAAAAasCAgAAAAGsAgIAAAABrQICAAAAAa4CAgDAAwAhrwICAAAABbACAgAAAAUNDAAAxwMAIA4AAPQDACAPAAD1AwAgEwAAyAMAIJ4CAADyAwAwnwIAACUAEKACAADyAwAwsQICALoDACGyAgEAxQMAIcUCAgC6AwAhxgICAPMDACHtAgAAJQAg7gIAACUAIAO3AgAAJQAguAIAACUAILkCAAAlACANDQAA9wMAIBAAAO8DACASAADwAwAgFAAA-AMAIJ4CAAD2AwAwnwIAACAAEKACAAD2AwAwoQICALoDACGxAgEAxQMAIbICAQDFAwAhwwICALoDACHEAgIAugMAIcoCAQDFAwAhCQwAAMcDACCeAgAA3QMAMJ8CAACNAgAQoAIAAN0DADCxAgIAugMAIbICAQDFAwAhxwICALoDACHtAgAAjQIAIO4CAACNAgAgA7cCAAAcACC4AgAAHAAguQIAABwAIALCAgEAAAAByAIBAAAAAQkGAADqAwAgFQAA-wMAIJ4CAAD6AwAwnwIAABwAEKACAAD6AwAwvAJAANEDACHCAgEAxQMAIcgCAQDFAwAhyQJAANEDACEPDQAA9wMAIBAAAO8DACASAADwAwAgFAAA-AMAIJ4CAAD2AwAwnwIAACAAEKACAAD2AwAwoQICALoDACGxAgEAxQMAIbICAQDFAwAhwwICALoDACHEAgIAugMAIcoCAQDFAwAh7QIAACAAIO4CAAAgACAJBgAA6gMAIJ4CAAD8AwAwnwIAABgAEKACAAD8AwAwsQIBAMUDACG_AgEAxQMAIcACIAD9AwAhwQIBAMUDACHCAgEAxQMAIQKjAiAAAAABrgIgANYDACEPCQAA_wMAIJ4CAAD-AwAwnwIAABMAEKACAAD-AwAwsQIBAMUDACHYAgEAxQMAIdkCAQDFAwAh2gIBAMUDACHbAgEAxQMAIdwCAQDFAwAh3QIBAMUDACHeAgEAxQMAId8CIAD9AwAh4AIgAP0DACHhAiAA_QMAIQ0GAADqAwAgCgAA6wMAIJ4CAADpAwAwnwIAABEAEKACAADpAwAwsQIBAMUDACHCAgEAxQMAIeICAQDFAwAh4wIBAMUDACHkAgEAxQMAIeUCAQDGAwAh7QIAABEAIO4CAAARACARBgAA6gMAIJ4CAACABAAwnwIAAA0AEKACAACABAAwsQIBAMUDACG8AkAA0QMAIcICAQDFAwAhyQJAANEDACHMAgEAxQMAIc0CAQDFAwAhzgIBAMYDACHPAgEAxgMAIdACAQDGAwAh0QJAANIDACHSAkAA0gMAIdMCAQDGAwAh1AIBAMYDACEMBgAA6gMAIJ4CAACBBAAwnwIAAAkAEKACAACBBAAwsQIBAMUDACG8AkAA0QMAIb0CQADRAwAhwgIBAMUDACHJAkAA0QMAIdUCAQDFAwAh1gIBAMYDACHXAgEAxgMAIREFAACDBAAgBwAAhAQAIAgAAIUEACAJAACGBAAgCwAAhwQAIBQAAPgDACCeAgAAggQAMJ8CAAAFABCgAgAAggQAMLECAQDFAwAhsgIBAMUDACG8AkAA0QMAIckCQADRAwAh5gIBAMUDACHnAiAA_QMAIegCAQDGAwAh6QICAPMDACEIAwAA5AMAIJ4CAADjAwAwnwIAAAMAEKACAADjAwAwsQICALoDACGyAgEAxQMAIe0CAAADACDuAgAAAwAgA7cCAAAJACC4AgAACQAguQIAAAkAIAO3AgAADQAguAIAAA0AILkCAAANACANBgAA6gMAIAoAAOsDACCeAgAA6QMAMJ8CAAARABCgAgAA6QMAMLECAQDFAwAhwgIBAMUDACHiAgEAxQMAIeMCAQDFAwAh5AIBAMUDACHlAgEAxgMAIe0CAAARACDuAgAAEQAgA7cCAAAYACC4AgAAGAAguQIAABgAIAAAAAAABfICAgAAAAH4AgIAAAAB-QICAAAAAfoCAgAAAAH7AgIAAAABAAAAAAAAAfICAQAAAAEB8gIBAAAAAQsiAACmBAAwIwAAqwQAMO8CAACnBAAw8AIAAKgEADDxAgAAqQQAIPICAACqBAAw8wIAAKoEADD0AgAAqgQAMPUCAACqBAAw9gIAAKwEADD3AgAArQQAMAsiAACYBAAwIwAAnQQAMO8CAACZBAAw8AIAAJoEADDxAgAAmwQAIPICAACcBAAw8wIAAJwEADD0AgAAnAQAMPUCAACcBAAw9gIAAJ4EADD3AgAAnwQAMAIQAAClBAAgwwICAAAAAQIAAAAtACAiAACkBAAgAwAAAC0AICIAAKQEACAjAACiBAAgARsAAP8GADAIEAAA7wMAIBIAAPADACCeAgAA7gMAMJ8CAAArABCgAgAA7gMAMMMCAgC6AwAhxAICALoDACHqAgAA7QMAIAIAAAAtACAbAACiBAAgAgAAAKAEACAbAAChBAAgBZ4CAACfBAAwnwIAAKAEABCgAgAAnwQAMMMCAgC6AwAhxAICALoDACEFngIAAJ8EADCfAgAAoAQAEKACAACfBAAwwwICALoDACHEAgIAugMAIQHDAgIAjQQAIQIQAACjBAAgwwICAI0EACEFIgAA-gYAICMAAP0GACDvAgAA-wYAIPACAAD8BgAg9QIAACgAIAIQAAClBAAgwwICAAAAAQMiAAD6BgAg7wIAAPsGACD1AgAAKAAgCA0AAMQEACAQAADFBAAgFAAAxgQAIKECAgAAAAGxAgEAAAABsgIBAAAAAcMCAgAAAAHKAgEAAAABAgAAACIAICIAAMMEACADAAAAIgAgIgAAwwQAICMAALAEACABGwAA-QYAMA0NAAD3AwAgEAAA7wMAIBIAAPADACAUAAD4AwAgngIAAPYDADCfAgAAIAAQoAIAAPYDADChAgIAugMAIbECAQAAAAGyAgEAAAABwwICALoDACHEAgIAugMAIcoCAQDFAwAhAgAAACIAIBsAALAEACACAAAArgQAIBsAAK8EACAJngIAAK0EADCfAgAArgQAEKACAACtBAAwoQICALoDACGxAgEAxQMAIbICAQDFAwAhwwICALoDACHEAgIAugMAIcoCAQDFAwAhCZ4CAACtBAAwnwIAAK4EABCgAgAArQQAMKECAgC6AwAhsQIBAMUDACGyAgEAxQMAIcMCAgC6AwAhxAICALoDACHKAgEAxQMAIQWhAgIAjQQAIbECAQCUBAAhsgIBAJQEACHDAgIAjQQAIcoCAQCUBAAhCA0AALEEACAQAACyBAAgFAAAswQAIKECAgCNBAAhsQIBAJQEACGyAgEAlAQAIcMCAgCNBAAhygIBAJQEACEFIgAA6wYAICMAAPcGACDvAgAA7AYAIPACAAD2BgAg9QIAAIoCACAFIgAA6QYAICMAAPQGACDvAgAA6gYAIPACAADzBgAg9QIAACgAIAsiAAC0BAAwIwAAuQQAMO8CAAC1BAAw8AIAALYEADDxAgAAtwQAIPICAAC4BAAw8wIAALgEADD0AgAAuAQAMPUCAAC4BAAw9gIAALoEADD3AgAAuwQAMAQGAADCBAAgvAJAAAAAAcICAQAAAAHJAkAAAAABAgAAAB4AICIAAMEEACADAAAAHgAgIgAAwQQAICMAAL8EACABGwAA8gYAMAoGAADqAwAgFQAA-wMAIJ4CAAD6AwAwnwIAABwAEKACAAD6AwAwvAJAANEDACHCAgEAxQMAIcgCAQDFAwAhyQJAANEDACHsAgAA-QMAIAIAAAAeACAbAAC_BAAgAgAAALwEACAbAAC9BAAgB54CAAC7BAAwnwIAALwEABCgAgAAuwQAMLwCQADRAwAhwgIBAMUDACHIAgEAxQMAIckCQADRAwAhB54CAAC7BAAwnwIAALwEABCgAgAAuwQAMLwCQADRAwAhwgIBAMUDACHIAgEAxQMAIckCQADRAwAhA7wCQAC-BAAhwgIBAJQEACHJAkAAvgQAIQHyAkAAAAABBAYAAMAEACC8AkAAvgQAIcICAQCUBAAhyQJAAL4EACEFIgAA7QYAICMAAPAGACDvAgAA7gYAIPACAADvBgAg9QIAAAEAIAQGAADCBAAgvAJAAAAAAcICAQAAAAHJAkAAAAABAyIAAO0GACDvAgAA7gYAIPUCAAABACAIDQAAxAQAIBAAAMUEACAUAADGBAAgoQICAAAAAbECAQAAAAGyAgEAAAABwwICAAAAAcoCAQAAAAEDIgAA6wYAIO8CAADsBgAg9QIAAIoCACADIgAA6QYAIO8CAADqBgAg9QIAACgAIAQiAAC0BAAw7wIAALUEADDxAgAAtwQAIPUCAAC4BAAwBCIAAKYEADDvAgAApwQAMPECAACpBAAg9QIAAKoEADAEIgAAmAQAMO8CAACZBAAw8QIAAJsEACD1AgAAnAQAMAAAAAAAAfICQAAAAAEAAAAB8gIgAAAAAQUiAADkBgAgIwAA5wYAIO8CAADlBgAg8AIAAOYGACD1AgAAAQAgAyIAAOQGACDvAgAA5QYAIPUCAAABACAAAAAAAAUiAADfBgAgIwAA4gYAIO8CAADgBgAg8AIAAOEGACD1AgAAgAMAIAMiAADfBgAg7wIAAOAGACD1AgAAgAMAIAAAAAAABfICAgAAAAH4AgIAAAAB-QICAAAAAfoCAgAAAAH7AgIAAAABByIAANIGACAjAADdBgAg7wIAANMGACDwAgAA3AYAIPMCAAAlACD0AgAAJQAg9QIAACgAIAsiAAD6BAAwIwAA_wQAMO8CAAD7BAAw8AIAAPwEADDxAgAA_QQAIPICAAD-BAAw8wIAAP4EADD0AgAA_gQAMPUCAAD-BAAw9gIAAIAFADD3AgAAgQUAMAsiAADvBAAwIwAA8wQAMO8CAADwBAAw8AIAAPEEADDxAgAA8gQAIPICAACqBAAw8wIAAKoEADD0AgAAqgQAMPUCAACqBAAw9gIAAPQEADD3AgAArQQAMAsiAADmBAAwIwAA6gQAMO8CAADnBAAw8AIAAOgEADDxAgAA6QQAIPICAACcBAAw8wIAAJwEADD0AgAAnAQAMPUCAACcBAAw9gIAAOsEADD3AgAAnwQAMAISAADbBAAgxAICAAAAAQIAAAAtACAiAADuBAAgAwAAAC0AICIAAO4EACAjAADtBAAgARsAANsGADACAAAALQAgGwAA7QQAIAIAAACgBAAgGwAA7AQAIAHEAgIAjQQAIQISAADaBAAgxAICAI0EACECEgAA2wQAIMQCAgAAAAEIDQAAxAQAIBIAAPkEACAUAADGBAAgoQICAAAAAbECAQAAAAGyAgEAAAABxAICAAAAAcoCAQAAAAECAAAAIgAgIgAA-AQAIAMAAAAiACAiAAD4BAAgIwAA9gQAIAEbAADaBgAwAgAAACIAIBsAAPYEACACAAAArgQAIBsAAPUEACAFoQICAI0EACGxAgEAlAQAIbICAQCUBAAhxAICAI0EACHKAgEAlAQAIQgNAACxBAAgEgAA9wQAIBQAALMEACChAgIAjQQAIbECAQCUBAAhsgIBAJQEACHEAgIAjQQAIcoCAQCUBAAhBSIAANUGACAjAADYBgAg7wIAANYGACDwAgAA1wYAIPUCAACAAwAgCA0AAMQEACASAAD5BAAgFAAAxgQAIKECAgAAAAGxAgEAAAABsgIBAAAAAcQCAgAAAAHKAgEAAAABAyIAANUGACDvAgAA1gYAIPUCAACAAwAgBgwAAIcFACAPAACGBQAgEwAAiAUAILECAgAAAAGyAgEAAAABxQICAAAAAQIAAAAoACAiAACFBQAgAwAAACgAICIAAIUFACAjAACEBQAgARsAANQGADAMDAAAxwMAIA4AAPQDACAPAAD1AwAgEwAAyAMAIJ4CAADyAwAwnwIAACUAEKACAADyAwAwsQICAAAAAbICAQDFAwAhxQICALoDACHGAgIA8wMAIesCAADxAwAgAgAAACgAIBsAAIQFACACAAAAggUAIBsAAIMFACAHngIAAIEFADCfAgAAggUAEKACAACBBQAwsQICALoDACGyAgEAxQMAIcUCAgC6AwAhxgICAPMDACEHngIAAIEFADCfAgAAggUAEKACAACBBQAwsQICALoDACGyAgEAxQMAIcUCAgC6AwAhxgICAPMDACEDsQICAI0EACGyAgEAlAQAIcUCAgCNBAAhBgwAAOQEACAPAADjBAAgEwAA5QQAILECAgCNBAAhsgIBAJQEACHFAgIAjQQAIQYMAACHBQAgDwAAhgUAIBMAAIgFACCxAgIAAAABsgIBAAAAAcUCAgAAAAEEIgAA-gQAMO8CAAD7BAAw8QIAAP0EACD1AgAA_gQAMAQiAADvBAAw7wIAAPAEADDxAgAA8gQAIPUCAACqBAAwBCIAAOYEADDvAgAA5wQAMPECAADpBAAg9QIAAJwEADADIgAA0gYAIO8CAADTBgAg9QIAACgAIAAAAAAACyIAAJAFADAjAACUBQAw7wIAAJEFADDwAgAAkgUAMPECAACTBQAg8gIAAKoEADDzAgAAqgQAMPQCAACqBAAw9QIAAKoEADD2AgAAlQUAMPcCAACtBAAwCBAAAMUEACASAAD5BAAgFAAAxgQAILECAQAAAAGyAgEAAAABwwICAAAAAcQCAgAAAAHKAgEAAAABAgAAACIAICIAAJgFACADAAAAIgAgIgAAmAUAICMAAJcFACABGwAA0QYAMAIAAAAiACAbAACXBQAgAgAAAK4EACAbAACWBQAgBbECAQCUBAAhsgIBAJQEACHDAgIAjQQAIcQCAgCNBAAhygIBAJQEACEIEAAAsgQAIBIAAPcEACAUAACzBAAgsQIBAJQEACGyAgEAlAQAIcMCAgCNBAAhxAICAI0EACHKAgEAlAQAIQgQAADFBAAgEgAA-QQAIBQAAMYEACCxAgEAAAABsgIBAAAAAcMCAgAAAAHEAgIAAAABygIBAAAAAQQiAACQBQAw7wIAAJEFADDxAgAAkwUAIPUCAACqBAAwAAAABSIAAMwGACAjAADPBgAg7wIAAM0GACDwAgAAzgYAIPUCAAAiACADIgAAzAYAIO8CAADNBgAg9QIAACIAIAAAAAAAAAAAAAAAAAALIgAArQUAMCMAALIFADDvAgAArgUAMPACAACvBQAw8QIAALAFACDyAgAAsQUAMPMCAACxBQAw9AIAALEFADD1AgAAsQUAMPYCAACzBQAw9wIAALQFADAMBwAA_gUAIAgAAP8FACAJAACABgAgCwAAgQYAIBQAAIIGACCxAgEAAAABsgIBAAAAAbwCQAAAAAHJAkAAAAAB5gIBAAAAAecCIAAAAAHoAgEAAAABAgAAAAEAICIAAP0FACADAAAAAQAgIgAA_QUAICMAALcFACABGwAAywYAMBEFAACDBAAgBwAAhAQAIAgAAIUEACAJAACGBAAgCwAAhwQAIBQAAPgDACCeAgAAggQAMJ8CAAAFABCgAgAAggQAMLECAQAAAAGyAgEAxQMAIbwCQADRAwAhyQJAANEDACHmAgEAAAAB5wIgAP0DACHoAgEAxgMAIekCAgDzAwAhAgAAAAEAIBsAALcFACACAAAAtQUAIBsAALYFACALngIAALQFADCfAgAAtQUAEKACAAC0BQAwsQIBAMUDACGyAgEAxQMAIbwCQADRAwAhyQJAANEDACHmAgEAxQMAIecCIAD9AwAh6AIBAMYDACHpAgIA8wMAIQueAgAAtAUAMJ8CAAC1BQAQoAIAALQFADCxAgEAxQMAIbICAQDFAwAhvAJAANEDACHJAkAA0QMAIeYCAQDFAwAh5wIgAP0DACHoAgEAxgMAIekCAgDzAwAhB7ECAQCUBAAhsgIBAJQEACG8AkAAvgQAIckCQAC-BAAh5gIBAJQEACHnAiAA0gQAIegCAQCVBAAhDAcAALgFACAIAAC5BQAgCQAAugUAIAsAALsFACAUAAC8BQAgsQIBAJQEACGyAgEAlAQAIbwCQAC-BAAhyQJAAL4EACHmAgEAlAQAIecCIADSBAAh6AIBAJUEACELIgAA8QUAMCMAAPYFADDvAgAA8gUAMPACAADzBQAw8QIAAPQFACDyAgAA9QUAMPMCAAD1BQAw9AIAAPUFADD1AgAA9QUAMPYCAAD3BQAw9wIAAPgFADALIgAA5QUAMCMAAOoFADDvAgAA5gUAMPACAADnBQAw8QIAAOgFACDyAgAA6QUAMPMCAADpBQAw9AIAAOkFADD1AgAA6QUAMPYCAADrBQAw9wIAAOwFADAHIgAA0gUAICMAANUFACDvAgAA0wUAIPACAADUBQAg8wIAABEAIPQCAAARACD1AgAAUwAgCyIAAMYFADAjAADLBQAw7wIAAMcFADDwAgAAyAUAMPECAADJBQAg8gIAAMoFADDzAgAAygUAMPQCAADKBQAw9QIAAMoFADD2AgAAzAUAMPcCAADNBQAwCyIAAL0FADAjAADBBQAw7wIAAL4FADDwAgAAvwUAMPECAADABQAg8gIAALgEADDzAgAAuAQAMPQCAAC4BAAw9QIAALgEADD2AgAAwgUAMPcCAAC7BAAwBBUAAJ4FACC8AkAAAAAByAIBAAAAAckCQAAAAAECAAAAHgAgIgAAxQUAIAMAAAAeACAiAADFBQAgIwAAxAUAIAEbAADKBgAwAgAAAB4AIBsAAMQFACACAAAAvAQAIBsAAMMFACADvAJAAL4EACHIAgEAlAQAIckCQAC-BAAhBBUAAJ0FACC8AkAAvgQAIcgCAQCUBAAhyQJAAL4EACEEFQAAngUAILwCQAAAAAHIAgEAAAAByQJAAAAAAQSxAgEAAAABvwIBAAAAAcACIAAAAAHBAgEAAAABAgAAABoAICIAANEFACADAAAAGgAgIgAA0QUAICMAANAFACABGwAAyQYAMAkGAADqAwAgngIAAPwDADCfAgAAGAAQoAIAAPwDADCxAgEAAAABvwIBAAAAAcACIAD9AwAhwQIBAMUDACHCAgEAxQMAIQIAAAAaACAbAADQBQAgAgAAAM4FACAbAADPBQAgCJ4CAADNBQAwnwIAAM4FABCgAgAAzQUAMLECAQDFAwAhvwIBAMUDACHAAiAA_QMAIcECAQDFAwAhwgIBAMUDACEIngIAAM0FADCfAgAAzgUAEKACAADNBQAwsQIBAMUDACG_AgEAxQMAIcACIAD9AwAhwQIBAMUDACHCAgEAxQMAIQSxAgEAlAQAIb8CAQCUBAAhwAIgANIEACHBAgEAlAQAIQSxAgEAlAQAIb8CAQCUBAAhwAIgANIEACHBAgEAlAQAIQSxAgEAAAABvwIBAAAAAcACIAAAAAHBAgEAAAABBgoAAOQFACCxAgEAAAAB4gIBAAAAAeMCAQAAAAHkAgEAAAAB5QIBAAAAAQIAAABTACAiAADSBQAgAwAAABEAICIAANIFACAjAADWBQAgCAAAABEAIAoAANcFACAbAADWBQAgsQIBAJQEACHiAgEAlAQAIeMCAQCUBAAh5AIBAJQEACHlAgEAlQQAIQYKAADXBQAgsQIBAJQEACHiAgEAlAQAIeMCAQCUBAAh5AIBAJQEACHlAgEAlQQAIQsiAADYBQAwIwAA3QUAMO8CAADZBQAw8AIAANoFADDxAgAA2wUAIPICAADcBQAw8wIAANwFADD0AgAA3AUAMPUCAADcBQAw9gIAAN4FADD3AgAA3wUAMAqxAgEAAAAB2QIBAAAAAdoCAQAAAAHbAgEAAAAB3AIBAAAAAd0CAQAAAAHeAgEAAAAB3wIgAAAAAeACIAAAAAHhAiAAAAABAgAAABUAICIAAOMFACADAAAAFQAgIgAA4wUAICMAAOIFACABGwAAyAYAMA8JAAD_AwAgngIAAP4DADCfAgAAEwAQoAIAAP4DADCxAgEAAAAB2AIBAMUDACHZAgEAxQMAIdoCAQDFAwAh2wIBAMUDACHcAgEAxQMAId0CAQDFAwAh3gIBAMUDACHfAiAA_QMAIeACIAD9AwAh4QIgAP0DACECAAAAFQAgGwAA4gUAIAIAAADgBQAgGwAA4QUAIA6eAgAA3wUAMJ8CAADgBQAQoAIAAN8FADCxAgEAxQMAIdgCAQDFAwAh2QIBAMUDACHaAgEAxQMAIdsCAQDFAwAh3AIBAMUDACHdAgEAxQMAId4CAQDFAwAh3wIgAP0DACHgAiAA_QMAIeECIAD9AwAhDp4CAADfBQAwnwIAAOAFABCgAgAA3wUAMLECAQDFAwAh2AIBAMUDACHZAgEAxQMAIdoCAQDFAwAh2wIBAMUDACHcAgEAxQMAId0CAQDFAwAh3gIBAMUDACHfAiAA_QMAIeACIAD9AwAh4QIgAP0DACEKsQIBAJQEACHZAgEAlAQAIdoCAQCUBAAh2wIBAJQEACHcAgEAlAQAId0CAQCUBAAh3gIBAJQEACHfAiAA0gQAIeACIADSBAAh4QIgANIEACEKsQIBAJQEACHZAgEAlAQAIdoCAQCUBAAh2wIBAJQEACHcAgEAlAQAId0CAQCUBAAh3gIBAJQEACHfAiAA0gQAIeACIADSBAAh4QIgANIEACEKsQIBAAAAAdkCAQAAAAHaAgEAAAAB2wIBAAAAAdwCAQAAAAHdAgEAAAAB3gIBAAAAAd8CIAAAAAHgAiAAAAAB4QIgAAAAAQQiAADYBQAw7wIAANkFADDxAgAA2wUAIPUCAADcBQAwDLECAQAAAAG8AkAAAAAByQJAAAAAAcwCAQAAAAHNAgEAAAABzgIBAAAAAc8CAQAAAAHQAgEAAAAB0QJAAAAAAdICQAAAAAHTAgEAAAAB1AIBAAAAAQIAAAAPACAiAADwBQAgAwAAAA8AICIAAPAFACAjAADvBQAgARsAAMcGADARBgAA6gMAIJ4CAACABAAwnwIAAA0AEKACAACABAAwsQIBAAAAAbwCQADRAwAhwgIBAMUDACHJAkAA0QMAIcwCAQDFAwAhzQIBAMUDACHOAgEAxgMAIc8CAQDGAwAh0AIBAMYDACHRAkAA0gMAIdICQADSAwAh0wIBAMYDACHUAgEAxgMAIQIAAAAPACAbAADvBQAgAgAAAO0FACAbAADuBQAgEJ4CAADsBQAwnwIAAO0FABCgAgAA7AUAMLECAQDFAwAhvAJAANEDACHCAgEAxQMAIckCQADRAwAhzAIBAMUDACHNAgEAxQMAIc4CAQDGAwAhzwIBAMYDACHQAgEAxgMAIdECQADSAwAh0gJAANIDACHTAgEAxgMAIdQCAQDGAwAhEJ4CAADsBQAwnwIAAO0FABCgAgAA7AUAMLECAQDFAwAhvAJAANEDACHCAgEAxQMAIckCQADRAwAhzAIBAMUDACHNAgEAxQMAIc4CAQDGAwAhzwIBAMYDACHQAgEAxgMAIdECQADSAwAh0gJAANIDACHTAgEAxgMAIdQCAQDGAwAhDLECAQCUBAAhvAJAAL4EACHJAkAAvgQAIcwCAQCUBAAhzQIBAJQEACHOAgEAlQQAIc8CAQCVBAAh0AIBAJUEACHRAkAAzgQAIdICQADOBAAh0wIBAJUEACHUAgEAlQQAIQyxAgEAlAQAIbwCQAC-BAAhyQJAAL4EACHMAgEAlAQAIc0CAQCUBAAhzgIBAJUEACHPAgEAlQQAIdACAQCVBAAh0QJAAM4EACHSAkAAzgQAIdMCAQCVBAAh1AIBAJUEACEMsQIBAAAAAbwCQAAAAAHJAkAAAAABzAIBAAAAAc0CAQAAAAHOAgEAAAABzwIBAAAAAdACAQAAAAHRAkAAAAAB0gJAAAAAAdMCAQAAAAHUAgEAAAABB7ECAQAAAAG8AkAAAAABvQJAAAAAAckCQAAAAAHVAgEAAAAB1gIBAAAAAdcCAQAAAAECAAAACwAgIgAA_AUAIAMAAAALACAiAAD8BQAgIwAA-wUAIAEbAADGBgAwDAYAAOoDACCeAgAAgQQAMJ8CAAAJABCgAgAAgQQAMLECAQAAAAG8AkAA0QMAIb0CQADRAwAhwgIBAMUDACHJAkAA0QMAIdUCAQAAAAHWAgEAxgMAIdcCAQDGAwAhAgAAAAsAIBsAAPsFACACAAAA-QUAIBsAAPoFACALngIAAPgFADCfAgAA-QUAEKACAAD4BQAwsQIBAMUDACG8AkAA0QMAIb0CQADRAwAhwgIBAMUDACHJAkAA0QMAIdUCAQDFAwAh1gIBAMYDACHXAgEAxgMAIQueAgAA-AUAMJ8CAAD5BQAQoAIAAPgFADCxAgEAxQMAIbwCQADRAwAhvQJAANEDACHCAgEAxQMAIckCQADRAwAh1QIBAMUDACHWAgEAxgMAIdcCAQDGAwAhB7ECAQCUBAAhvAJAAL4EACG9AkAAvgQAIckCQAC-BAAh1QIBAJQEACHWAgEAlQQAIdcCAQCVBAAhB7ECAQCUBAAhvAJAAL4EACG9AkAAvgQAIckCQAC-BAAh1QIBAJQEACHWAgEAlQQAIdcCAQCVBAAhB7ECAQAAAAG8AkAAAAABvQJAAAAAAckCQAAAAAHVAgEAAAAB1gIBAAAAAdcCAQAAAAEMBwAA_gUAIAgAAP8FACAJAACABgAgCwAAgQYAIBQAAIIGACCxAgEAAAABsgIBAAAAAbwCQAAAAAHJAkAAAAAB5gIBAAAAAecCIAAAAAHoAgEAAAABBCIAAPEFADDvAgAA8gUAMPECAAD0BQAg9QIAAPUFADAEIgAA5QUAMO8CAADmBQAw8QIAAOgFACD1AgAA6QUAMAMiAADSBQAg7wIAANMFACD1AgAAUwAgBCIAAMYFADDvAgAAxwUAMPECAADJBQAg9QIAAMoFADAEIgAAvQUAMO8CAAC-BQAw8QIAAMAFACD1AgAAuAQAMAQiAACtBQAw7wIAAK4FADDxAgAAsAUAIPUCAACxBQAwAAAAAAUiAADBBgAgIwAAxAYAIO8CAADCBgAg8AIAAMMGACD1AgAAAQAgAyIAAMEGACDvAgAAwgYAIPUCAAABACAAAAAFIgAAvAYAICMAAL8GACDvAgAAvQYAIPACAAC-BgAg9QIAAAEAIAMiAAC8BgAg7wIAAL0GACD1AgAAAQAgAAAABSIAALcGACAjAAC6BgAg7wIAALgGACDwAgAAuQYAIPUCAABTACADIgAAtwYAIO8CAAC4BgAg9QIAAFMAIAAAAAUiAACyBgAgIwAAtQYAIO8CAACzBgAg8AIAALQGACD1AgAAAQAgAyIAALIGACDvAgAAswYAIPUCAAABACAIBQAAqQYAIAcAAKoGACAIAACrBgAgCQAAqAYAIAsAAKwGACAUAACmBgAg6AIAAI4EACDpAgAAjgQAIAAAAAAAAAciAACtBgAgIwAAsAYAIO8CAACuBgAg8AIAAK8GACDzAgAAAwAg9AIAAAMAIPUCAACtAQAgAyIAAK0GACDvAgAArgYAIPUCAACtAQAgBQwAAMkEACAOAACiBgAgDwAApAYAIBMAAMoEACDGAgAAjgQAIAMMAADJBAAgEQAAygQAILMCAACOBAAgAAEMAADJBAAgAAQNAAClBgAgEAAAogYAIBIAAKMGACAUAACmBgAgAwYAAJkGACAKAACaBgAg5QIAAI4EACABAwAAhAYAIAAAAAKxAgIAAAABsgIBAAAAAQIAAACtAQAgIgAArQYAIAMAAAADACAiAACtBgAgIwAAsQYAIAQAAAADACAbAACxBgAgsQICAI0EACGyAgEAlAQAIQKxAgIAjQQAIbICAQCUBAAhDQUAAKEGACAHAAD-BQAgCAAA_wUAIAsAAIEGACAUAACCBgAgsQIBAAAAAbICAQAAAAG8AkAAAAAByQJAAAAAAeYCAQAAAAHnAiAAAAAB6AIBAAAAAekCAgAAAAECAAAAAQAgIgAAsgYAIAMAAAAFACAiAACyBgAgIwAAtgYAIA8AAAAFACAFAACgBgAgBwAAuAUAIAgAALkFACALAAC7BQAgFAAAvAUAIBsAALYGACCxAgEAlAQAIbICAQCUBAAhvAJAAL4EACHJAkAAvgQAIeYCAQCUBAAh5wIgANIEACHoAgEAlQQAIekCAgDhBAAhDQUAAKAGACAHAAC4BQAgCAAAuQUAIAsAALsFACAUAAC8BQAgsQIBAJQEACGyAgEAlAQAIbwCQAC-BAAhyQJAAL4EACHmAgEAlAQAIecCIADSBAAh6AIBAJUEACHpAgIA4QQAIQcGAACYBgAgsQIBAAAAAcICAQAAAAHiAgEAAAAB4wIBAAAAAeQCAQAAAAHlAgEAAAABAgAAAFMAICIAALcGACADAAAAEQAgIgAAtwYAICMAALsGACAJAAAAEQAgBgAAlwYAIBsAALsGACCxAgEAlAQAIcICAQCUBAAh4gIBAJQEACHjAgEAlAQAIeQCAQCUBAAh5QIBAJUEACEHBgAAlwYAILECAQCUBAAhwgIBAJQEACHiAgEAlAQAIeMCAQCUBAAh5AIBAJQEACHlAgEAlQQAIQ0FAAChBgAgCAAA_wUAIAkAAIAGACALAACBBgAgFAAAggYAILECAQAAAAGyAgEAAAABvAJAAAAAAckCQAAAAAHmAgEAAAAB5wIgAAAAAegCAQAAAAHpAgIAAAABAgAAAAEAICIAALwGACADAAAABQAgIgAAvAYAICMAAMAGACAPAAAABQAgBQAAoAYAIAgAALkFACAJAAC6BQAgCwAAuwUAIBQAALwFACAbAADABgAgsQIBAJQEACGyAgEAlAQAIbwCQAC-BAAhyQJAAL4EACHmAgEAlAQAIecCIADSBAAh6AIBAJUEACHpAgIA4QQAIQ0FAACgBgAgCAAAuQUAIAkAALoFACALAAC7BQAgFAAAvAUAILECAQCUBAAhsgIBAJQEACG8AkAAvgQAIckCQAC-BAAh5gIBAJQEACHnAiAA0gQAIegCAQCVBAAh6QICAOEEACENBQAAoQYAIAcAAP4FACAJAACABgAgCwAAgQYAIBQAAIIGACCxAgEAAAABsgIBAAAAAbwCQAAAAAHJAkAAAAAB5gIBAAAAAecCIAAAAAHoAgEAAAAB6QICAAAAAQIAAAABACAiAADBBgAgAwAAAAUAICIAAMEGACAjAADFBgAgDwAAAAUAIAUAAKAGACAHAAC4BQAgCQAAugUAIAsAALsFACAUAAC8BQAgGwAAxQYAILECAQCUBAAhsgIBAJQEACG8AkAAvgQAIckCQAC-BAAh5gIBAJQEACHnAiAA0gQAIegCAQCVBAAh6QICAOEEACENBQAAoAYAIAcAALgFACAJAAC6BQAgCwAAuwUAIBQAALwFACCxAgEAlAQAIbICAQCUBAAhvAJAAL4EACHJAkAAvgQAIeYCAQCUBAAh5wIgANIEACHoAgEAlQQAIekCAgDhBAAhB7ECAQAAAAG8AkAAAAABvQJAAAAAAckCQAAAAAHVAgEAAAAB1gIBAAAAAdcCAQAAAAEMsQIBAAAAAbwCQAAAAAHJAkAAAAABzAIBAAAAAc0CAQAAAAHOAgEAAAABzwIBAAAAAdACAQAAAAHRAkAAAAAB0gJAAAAAAdMCAQAAAAHUAgEAAAABCrECAQAAAAHZAgEAAAAB2gIBAAAAAdsCAQAAAAHcAgEAAAAB3QIBAAAAAd4CAQAAAAHfAiAAAAAB4AIgAAAAAeECIAAAAAEEsQIBAAAAAb8CAQAAAAHAAiAAAAABwQIBAAAAAQO8AkAAAAAByAIBAAAAAckCQAAAAAEHsQIBAAAAAbICAQAAAAG8AkAAAAAByQJAAAAAAeYCAQAAAAHnAiAAAAAB6AIBAAAAAQkNAADEBAAgEAAAxQQAIBIAAPkEACChAgIAAAABsQIBAAAAAbICAQAAAAHDAgIAAAABxAICAAAAAcoCAQAAAAECAAAAIgAgIgAAzAYAIAMAAAAgACAiAADMBgAgIwAA0AYAIAsAAAAgACANAACxBAAgEAAAsgQAIBIAAPcEACAbAADQBgAgoQICAI0EACGxAgEAlAQAIbICAQCUBAAhwwICAI0EACHEAgIAjQQAIcoCAQCUBAAhCQ0AALEEACAQAACyBAAgEgAA9wQAIKECAgCNBAAhsQIBAJQEACGyAgEAlAQAIcMCAgCNBAAhxAICAI0EACHKAgEAlAQAIQWxAgEAAAABsgIBAAAAAcMCAgAAAAHEAgIAAAABygIBAAAAAQcMAACHBQAgDgAAiQUAIBMAAIgFACCxAgIAAAABsgIBAAAAAcUCAgAAAAHGAgIAAAABAgAAACgAICIAANIGACADsQICAAAAAbICAQAAAAHFAgIAAAABBBEAAMgEACCxAgIAAAABsgIBAAAAAbMCAQAAAAECAAAAgAMAICIAANUGACADAAAAgwMAICIAANUGACAjAADZBgAgBgAAAIMDACARAACXBAAgGwAA2QYAILECAgCNBAAhsgIBAJQEACGzAgEAlQQAIQQRAACXBAAgsQICAI0EACGyAgEAlAQAIbMCAQCVBAAhBaECAgAAAAGxAgEAAAABsgIBAAAAAcQCAgAAAAHKAgEAAAABAcQCAgAAAAEDAAAAJQAgIgAA0gYAICMAAN4GACAJAAAAJQAgDAAA5AQAIA4AAOIEACATAADlBAAgGwAA3gYAILECAgCNBAAhsgIBAJQEACHFAgIAjQQAIcYCAgDhBAAhBwwAAOQEACAOAADiBAAgEwAA5QQAILECAgCNBAAhsgIBAJQEACHFAgIAjQQAIcYCAgDhBAAhBAwAAMcEACCxAgIAAAABsgIBAAAAAbMCAQAAAAECAAAAgAMAICIAAN8GACADAAAAgwMAICIAAN8GACAjAADjBgAgBgAAAIMDACAMAACWBAAgGwAA4wYAILECAgCNBAAhsgIBAJQEACGzAgEAlQQAIQQMAACWBAAgsQICAI0EACGyAgEAlAQAIbMCAQCVBAAhDQUAAKEGACAHAAD-BQAgCAAA_wUAIAkAAIAGACAUAACCBgAgsQIBAAAAAbICAQAAAAG8AkAAAAAByQJAAAAAAeYCAQAAAAHnAiAAAAAB6AIBAAAAAekCAgAAAAECAAAAAQAgIgAA5AYAIAMAAAAFACAiAADkBgAgIwAA6AYAIA8AAAAFACAFAACgBgAgBwAAuAUAIAgAALkFACAJAAC6BQAgFAAAvAUAIBsAAOgGACCxAgEAlAQAIbICAQCUBAAhvAJAAL4EACHJAkAAvgQAIeYCAQCUBAAh5wIgANIEACHoAgEAlQQAIekCAgDhBAAhDQUAAKAGACAHAAC4BQAgCAAAuQUAIAkAALoFACAUAAC8BQAgsQIBAJQEACGyAgEAlAQAIbwCQAC-BAAhyQJAAL4EACHmAgEAlAQAIecCIADSBAAh6AIBAJUEACHpAgIA4QQAIQcOAACJBQAgDwAAhgUAIBMAAIgFACCxAgIAAAABsgIBAAAAAcUCAgAAAAHGAgIAAAABAgAAACgAICIAAOkGACADsQICAAAAAbICAQAAAAHHAgIAAAABAgAAAIoCACAiAADrBgAgDQUAAKEGACAHAAD-BQAgCAAA_wUAIAkAAIAGACALAACBBgAgsQIBAAAAAbICAQAAAAG8AkAAAAAByQJAAAAAAeYCAQAAAAHnAiAAAAAB6AIBAAAAAekCAgAAAAECAAAAAQAgIgAA7QYAIAMAAAAFACAiAADtBgAgIwAA8QYAIA8AAAAFACAFAACgBgAgBwAAuAUAIAgAALkFACAJAAC6BQAgCwAAuwUAIBsAAPEGACCxAgEAlAQAIbICAQCUBAAhvAJAAL4EACHJAkAAvgQAIeYCAQCUBAAh5wIgANIEACHoAgEAlQQAIekCAgDhBAAhDQUAAKAGACAHAAC4BQAgCAAAuQUAIAkAALoFACALAAC7BQAgsQIBAJQEACGyAgEAlAQAIbwCQAC-BAAhyQJAAL4EACHmAgEAlAQAIecCIADSBAAh6AIBAJUEACHpAgIA4QQAIQO8AkAAAAABwgIBAAAAAckCQAAAAAEDAAAAJQAgIgAA6QYAICMAAPUGACAJAAAAJQAgDgAA4gQAIA8AAOMEACATAADlBAAgGwAA9QYAILECAgCNBAAhsgIBAJQEACHFAgIAjQQAIcYCAgDhBAAhBw4AAOIEACAPAADjBAAgEwAA5QQAILECAgCNBAAhsgIBAJQEACHFAgIAjQQAIcYCAgDhBAAhAwAAAI0CACAiAADrBgAgIwAA-AYAIAUAAACNAgAgGwAA-AYAILECAgCNBAAhsgIBAJQEACHHAgIAjQQAIQOxAgIAjQQAIbICAQCUBAAhxwICAI0EACEFoQICAAAAAbECAQAAAAGyAgEAAAABwwICAAAAAcoCAQAAAAEHDAAAhwUAIA4AAIkFACAPAACGBQAgsQICAAAAAbICAQAAAAHFAgIAAAABxgICAAAAAQIAAAAoACAiAAD6BgAgAwAAACUAICIAAPoGACAjAAD-BgAgCQAAACUAIAwAAOQEACAOAADiBAAgDwAA4wQAIBsAAP4GACCxAgIAjQQAIbICAQCUBAAhxQICAI0EACHGAgIA4QQAIQcMAADkBAAgDgAA4gQAIA8AAOMEACCxAgIAjQQAIbICAQCUBAAhxQICAI0EACHGAgIA4QQAIQHDAgIAAAABBwQAFAUEAgcMBAgQBQkSBgsbCRQfCgIDBwEEAAMBAwgAAQYAAQEGAAEDBAAIBgABChYHAQkABgEKFwABBgABAgYAARUACwUEABMNAAwQAA4SABAUNgoCBAANDCMLAQwkAAUEABIMKgsOJg4PKQ4TLg8CEAAOEgAQAwQAEQwvCxEwDwIMMQARMgADDDQADzMAEzUAARQ3AAQHOAAIOQALOgAUOwAAAQVFAgEFSwIFBAAZKAAaKQAbKgAcKwAdAAAAAAAFBAAZKAAaKQAbKgAcKwAdAQYAAQEGAAEDBAAiKgAjKwAkAAAAAwQAIioAIysAJAEJAAYBCQAGAwQAKSoAKisAKwAAAAMEACkqACorACsBBgABAQYAAQMEADAqADErADIAAAADBAAwKgAxKwAyAQYAAQEGAAEDBAA3KgA4KwA5AAAAAwQANyoAOCsAOQAABQQAPigAPykAQCoAQSsAQgAAAAAABQQAPigAPykAQCoAQSsAQgAAAAMEAEgqAEkrAEoAAAADBABIKgBJKwBKAw0ADBAADhIAEAMNAAwQAA4SABAFBABPKABQKQBRKgBSKwBTAAAAAAAFBABPKABQKQBRKgBSKwBTAgYAARUACwIGAAEVAAsDBABYKgBZKwBaAAAAAwQAWCoAWSsAWgAABQQAXygAYCkAYSoAYisAYwAAAAAABQQAXygAYCkAYSoAYisAYwEOrQIOAQ6zAg4FBABoKABpKQBqKgBrKwBsAAAAAAAFBABoKABpKQBqKgBrKwBsAhAADhIAEAIQAA4SABAFBABxKAByKQBzKgB0KwB1AAAAAAAFBABxKAByKQBzKgB0KwB1AQYAAQEGAAEDBAB6KgB7KwB8AAAAAwQAeioAeysAfAAAAAMEAIIBKgCDASsAhAEAAAADBACCASoAgwErAIQBAAAFBACJASgAigEpAIsBKgCMASsAjQEAAAAAAAUEAIkBKACKASkAiwEqAIwBKwCNAQAAAAUEAJMBKACUASkAlQEqAJYBKwCXAQAAAAAABQQAkwEoAJQBKQCVASoAlgErAJcBFgIBFzwBGD0BGT4BGj8BHEEBHUMVHkQWH0cBIEkVIUoXJEwBJU0BJk4VLFEYLVIeLlQGL1UGMFcGMVgGMlkGM1sGNF0VNV4fNmAGN2IVOGMgOWQGOmUGO2YVPGkhPWolPmsHP2wHQG0HQW4HQm8HQ3EHRHMVRXQmRnYHR3gVSHknSXoHSnsHS3wVTH8oTYABLE6BAQRPggEEUIMBBFGEAQRShQEEU4cBBFSJARVVigEtVowBBFeOARVYjwEuWZABBFqRAQRbkgEVXJUBL12WATNelwEFX5gBBWCZAQVhmgEFYpsBBWOdAQVknwEVZaABNGaiAQVnpAEVaKUBNWmmAQVqpwEFa6gBFWyrATZtrAE6bq4BAm-vAQJwsQECcbIBAnKzAQJztQECdLcBFXW4ATt2ugECd7wBFXi9ATx5vgECer8BAnvAARV8wwE9fcQBQ37GAUR_xwFEgAHKAUSBAcsBRIIBzAFEgwHOAUSEAdABFYUB0QFFhgHTAUSHAdUBFYgB1gFGiQHXAUSKAdgBRIsB2QEVjAHcAUeNAd0BS44B3gELjwHfAQuQAeABC5EB4QELkgHiAQuTAeQBC5QB5gEVlQHnAUyWAekBC5cB6wEVmAHsAU2ZAe0BC5oB7gELmwHvARWcAfIBTp0B8wFUngH0AQqfAfUBCqAB9gEKoQH3AQqiAfgBCqMB-gEKpAH8ARWlAf0BVaYB_wEKpwGBAhWoAYICVqkBgwIKqgGEAgqrAYUCFawBiAJXrQGJAluuAYsCDK8BjAIMsAGPAgyxAZACDLIBkQIMswGTAgy0AZUCFbUBlgJctgGYAgy3AZoCFbgBmwJduQGcAgy6AZ0CDLsBngIVvAGhAl69AaICZL4BowIOvwGkAg7AAaUCDsEBpgIOwgGnAg7DAakCDsQBqwIVxQGsAmXGAa8CDscBsQIVyAGyAmbJAbQCDsoBtQIOywG2AhXMAbkCZ80BugJtzgG7Ag_PAbwCD9ABvQIP0QG-Ag_SAb8CD9MBwQIP1AHDAhXVAcQCbtYBxgIP1wHIAhXYAckCb9kBygIP2gHLAg_bAcwCFdwBzwJw3QHQAnbeAdECCd8B0gIJ4AHTAgnhAdQCCeIB1QIJ4wHXAgnkAdkCFeUB2gJ35gHcAgnnAd4CFegB3wJ46QHgAgnqAeECCesB4gIV7AHlAnntAeYCfe4B6AJ-7wHpAn7wAewCfvEB7QJ-8gHuAn7zAfACfvQB8gIV9QHzAn_2AfUCfvcB9wIV-AH4AoAB-QH5An76AfoCfvsB-wIV_AH-AoEB_QH_AoUB_gGBAxD_AYIDEIAChQMQgQKGAxCCAocDEIMCiQMQhAKLAxWFAowDhgGGAo4DEIcCkAMViAKRA4cBiQKSAxCKApMDEIsClAMVjAKXA4gBjQKYA44BjgKaA48BjwKbA48BkAKeA48BkQKfA48BkgKgA48BkwKiA48BlAKkAxWVAqUDkAGWAqcDjwGXAqkDFZgCqgORAZkCqwOPAZoCrAOPAZsCrQMVnAKwA5IBnQKxA5gB" +} 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,282 +97,258 @@ 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.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< - ExtArgs, - { omit: OmitOpts } - >; + /** + * `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.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.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.apiKey`: Exposes CRUD operations for the **ApiKey** model. - * Example usage: - * ```ts - * // Fetch zero or more ApiKeys - * const apiKeys = await prisma.apiKey.findMany() - * ``` - */ - get apiKey(): Prisma.ApiKeyDelegate; + /** + * `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; + /** + * `prisma.apiKey`: Exposes CRUD operations for the **ApiKey** model. + * Example usage: + * ```ts + * // Fetch zero or more ApiKeys + * const apiKeys = await prisma.apiKey.findMany() + * ``` + */ + get apiKey(): Prisma.ApiKeyDelegate; + + /** + * `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.colorPalette`: Exposes CRUD operations for the **ColorPalette** model. + * Example usage: + * ```ts + * // Fetch zero or more ColorPalettes + * const colorPalettes = await prisma.colorPalette.findMany() + * ``` + */ + get colorPalette(): Prisma.ColorPaletteDelegate; } 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 3bdece3..9896e36 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,1751 +287,1854 @@ 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', - ProclamationCategorySubscriptionLevel: 'ProclamationCategorySubscriptionLevel', - LicenseKey: 'LicenseKey', - ApiKey: 'ApiKey', - 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', + ApiKey: 'ApiKey', + SubscriptionLevel: 'SubscriptionLevel', + ColorPalette: 'ColorPalette' +} 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' - | 'proclamationCategorySubscriptionLevel' - | 'licenseKey' - | 'apiKey' - | '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; - }; - }; - }; - ApiKey: { - payload: Prisma.$ApiKeyPayload; - fields: Prisma.ApiKeyFieldRefs; - operations: { - findUnique: { - args: Prisma.ApiKeyFindUniqueArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findUniqueOrThrow: { - args: Prisma.ApiKeyFindUniqueOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findFirst: { - args: Prisma.ApiKeyFindFirstArgs; - result: runtime.Types.Utils.PayloadToResult | null; - }; - findFirstOrThrow: { - args: Prisma.ApiKeyFindFirstOrThrowArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - findMany: { - args: Prisma.ApiKeyFindManyArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - create: { - args: Prisma.ApiKeyCreateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - createMany: { - args: Prisma.ApiKeyCreateManyArgs; - result: BatchPayload; - }; - createManyAndReturn: { - args: Prisma.ApiKeyCreateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - delete: { - args: Prisma.ApiKeyDeleteArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - update: { - args: Prisma.ApiKeyUpdateArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - deleteMany: { - args: Prisma.ApiKeyDeleteManyArgs; - result: BatchPayload; - }; - updateMany: { - args: Prisma.ApiKeyUpdateManyArgs; - result: BatchPayload; - }; - updateManyAndReturn: { - args: Prisma.ApiKeyUpdateManyAndReturnArgs; - result: runtime.Types.Utils.PayloadToResult[]; - }; - upsert: { - args: Prisma.ApiKeyUpsertArgs; - result: runtime.Types.Utils.PayloadToResult; - }; - aggregate: { - args: Prisma.ApiKeyAggregateArgs; - result: runtime.Types.Utils.Optional; - }; - groupBy: { - args: Prisma.ApiKeyGroupByArgs; - result: runtime.Types.Utils.Optional[]; - }; - count: { - args: Prisma.ApiKeyCountArgs; - 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" | "apiKey" | "subscriptionLevel" | "colorPalette" + 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 + } + } + } + ApiKey: { + payload: Prisma.$ApiKeyPayload + fields: Prisma.ApiKeyFieldRefs + operations: { + findUnique: { + args: Prisma.ApiKeyFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.ApiKeyFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.ApiKeyFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.ApiKeyFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.ApiKeyFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.ApiKeyCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.ApiKeyCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.ApiKeyCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.ApiKeyDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.ApiKeyUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.ApiKeyDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.ApiKeyUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.ApiKeyUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.ApiKeyUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.ApiKeyAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.ApiKeyGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.ApiKeyCountArgs + 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 + } + } + } + ColorPalette: { + payload: Prisma.$ColorPalettePayload + fields: Prisma.ColorPaletteFieldRefs + operations: { + findUnique: { + args: Prisma.ColorPaletteFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.ColorPaletteFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.ColorPaletteFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.ColorPaletteFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.ColorPaletteFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.ColorPaletteCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.ColorPaletteCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.ColorPaletteCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.ColorPaletteDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.ColorPaletteUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.ColorPaletteDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.ColorPaletteUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.ColorPaletteUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.ColorPaletteUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.ColorPaletteAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.ColorPaletteGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.ColorPaletteCountArgs + 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', - sortOrder: 'sortOrder', - parentId: 'parentId' -} as const; + id: 'id', + name: 'name', + sortOrder: 'sortOrder', + parentId: 'parentId' +} as const + +export type ProclamationCategoryScalarFieldEnum = (typeof ProclamationCategoryScalarFieldEnum)[keyof typeof ProclamationCategoryScalarFieldEnum] -export type ProclamationCategoryScalarFieldEnum = - (typeof ProclamationCategoryScalarFieldEnum)[keyof typeof ProclamationCategoryScalarFieldEnum]; export const ProclamationCategorySubscriptionLevelScalarFieldEnum = { - categoryId: 'categoryId', - subscriptionLevelId: 'subscriptionLevelId' -} as const; + categoryId: 'categoryId', + subscriptionLevelId: 'subscriptionLevelId' +} as const + +export type ProclamationCategorySubscriptionLevelScalarFieldEnum = (typeof ProclamationCategorySubscriptionLevelScalarFieldEnum)[keyof typeof ProclamationCategorySubscriptionLevelScalarFieldEnum] -export type ProclamationCategorySubscriptionLevelScalarFieldEnum = - (typeof ProclamationCategorySubscriptionLevelScalarFieldEnum)[keyof typeof ProclamationCategorySubscriptionLevelScalarFieldEnum]; 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 ApiKeyScalarFieldEnum = { - id: 'id', - keyPrefix: 'keyPrefix', - keyHash: 'keyHash', - createdAt: 'createdAt', - expiresAt: 'expiresAt', - revokedAt: 'revokedAt' -} as const; + id: 'id', + keyPrefix: 'keyPrefix', + keyHash: 'keyHash', + createdAt: 'createdAt', + expiresAt: 'expiresAt', + revokedAt: 'revokedAt' +} as const + +export type ApiKeyScalarFieldEnum = (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum] -export type ApiKeyScalarFieldEnum = - (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum]; 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 const ColorPaletteScalarFieldEnum = { + solfeggioFrequencyId: 'solfeggioFrequencyId', + colors: 'colors' +} as const + +export type ColorPaletteScalarFieldEnum = (typeof ColorPaletteScalarFieldEnum)[keyof typeof ColorPaletteScalarFieldEnum] -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 const JsonNullValueInput = { + JsonNull: JsonNull +} as const + +export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput] -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 const JsonNullValueFilter = { + DbNull: DbNull, + JsonNull: JsonNull, + AnyNull: AnyNull +} as const + +export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] + -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 'Json' + */ +export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'> + + + +/** + * Reference to a field of type 'QueryMode' + */ +export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'> + + /** * 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; - proclamationCategorySubscriptionLevel?: Prisma.ProclamationCategorySubscriptionLevelOmit; - licenseKey?: Prisma.LicenseKeyOmit; - apiKey?: Prisma.ApiKeyOmit; - 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 + apiKey?: Prisma.ApiKeyOmit + subscriptionLevel?: Prisma.SubscriptionLevelOmit + colorPalette?: Prisma.ColorPaletteOmit +} /* 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 7775ed4..1d9e852 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,266 +15,297 @@ * 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', - ProclamationCategorySubscriptionLevel: 'ProclamationCategorySubscriptionLevel', - LicenseKey: 'LicenseKey', - ApiKey: 'ApiKey', - 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', + ApiKey: 'ApiKey', + SubscriptionLevel: 'SubscriptionLevel', + ColorPalette: 'ColorPalette' +} 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', - sortOrder: 'sortOrder', - parentId: 'parentId' -} as const; + id: 'id', + name: 'name', + sortOrder: 'sortOrder', + parentId: 'parentId' +} as const + +export type ProclamationCategoryScalarFieldEnum = (typeof ProclamationCategoryScalarFieldEnum)[keyof typeof ProclamationCategoryScalarFieldEnum] -export type ProclamationCategoryScalarFieldEnum = - (typeof ProclamationCategoryScalarFieldEnum)[keyof typeof ProclamationCategoryScalarFieldEnum]; export const ProclamationCategorySubscriptionLevelScalarFieldEnum = { - categoryId: 'categoryId', - subscriptionLevelId: 'subscriptionLevelId' -} as const; + categoryId: 'categoryId', + subscriptionLevelId: 'subscriptionLevelId' +} as const + +export type ProclamationCategorySubscriptionLevelScalarFieldEnum = (typeof ProclamationCategorySubscriptionLevelScalarFieldEnum)[keyof typeof ProclamationCategorySubscriptionLevelScalarFieldEnum] -export type ProclamationCategorySubscriptionLevelScalarFieldEnum = - (typeof ProclamationCategorySubscriptionLevelScalarFieldEnum)[keyof typeof ProclamationCategorySubscriptionLevelScalarFieldEnum]; 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 ApiKeyScalarFieldEnum = { - id: 'id', - keyPrefix: 'keyPrefix', - keyHash: 'keyHash', - createdAt: 'createdAt', - expiresAt: 'expiresAt', - revokedAt: 'revokedAt' -} as const; + id: 'id', + keyPrefix: 'keyPrefix', + keyHash: 'keyHash', + createdAt: 'createdAt', + expiresAt: 'expiresAt', + revokedAt: 'revokedAt' +} as const + +export type ApiKeyScalarFieldEnum = (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum] -export type ApiKeyScalarFieldEnum = - (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum]; 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 const ColorPaletteScalarFieldEnum = { + solfeggioFrequencyId: 'solfeggioFrequencyId', + colors: 'colors' +} as const + +export type ColorPaletteScalarFieldEnum = (typeof ColorPaletteScalarFieldEnum)[keyof typeof ColorPaletteScalarFieldEnum] -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 const JsonNullValueInput = { + JsonNull: JsonNull +} as const + +export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput] -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 const JsonNullValueFilter = { + DbNull: DbNull, + JsonNull: JsonNull, + AnyNull: AnyNull +} as const + +export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] -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 e8062d4..eeddadb 100644 --- a/src/lib/generated/prisma/models.ts +++ b/src/lib/generated/prisma/models.ts @@ -1,25 +1,27 @@ + /* !!! 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/ProclamationCategorySubscriptionLevel.ts'; -export type * from './models/LicenseKey.ts'; -export type * from './models/ApiKey.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/ApiKey.ts' +export type * from './models/SubscriptionLevel.ts' +export type * from './models/ColorPalette.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/ApiKey.ts b/src/lib/generated/prisma/models/ApiKey.ts index 071fbbc..2bbf780 100644 --- a/src/lib/generated/prisma/models/ApiKey.ts +++ b/src/lib/generated/prisma/models/ApiKey.ts @@ -1,897 +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 `ApiKey` 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 ApiKey - * + * */ -export type ApiKeyModel = runtime.Types.Result.DefaultSelection; +export type ApiKeyModel = runtime.Types.Result.DefaultSelection export type AggregateApiKey = { - _count: ApiKeyCountAggregateOutputType | null; - _min: ApiKeyMinAggregateOutputType | null; - _max: ApiKeyMaxAggregateOutputType | null; -}; + _count: ApiKeyCountAggregateOutputType | null + _min: ApiKeyMinAggregateOutputType | null + _max: ApiKeyMaxAggregateOutputType | null +} export type ApiKeyMinAggregateOutputType = { - id: string | null; - keyPrefix: string | null; - keyHash: string | null; - createdAt: Date | null; - expiresAt: Date | null; - revokedAt: Date | null; -}; + id: string | null + keyPrefix: string | null + keyHash: string | null + createdAt: Date | null + expiresAt: Date | null + revokedAt: Date | null +} export type ApiKeyMaxAggregateOutputType = { - id: string | null; - keyPrefix: string | null; - keyHash: string | null; - createdAt: Date | null; - expiresAt: Date | null; - revokedAt: Date | null; -}; + id: string | null + keyPrefix: string | null + keyHash: string | null + createdAt: Date | null + expiresAt: Date | null + revokedAt: Date | null +} export type ApiKeyCountAggregateOutputType = { - id: number; - keyPrefix: number; - keyHash: number; - createdAt: number; - expiresAt: number; - revokedAt: number; - _all: number; -}; + id: number + keyPrefix: number + keyHash: number + createdAt: number + expiresAt: number + revokedAt: number + _all: number +} + export type ApiKeyMinAggregateInputType = { - id?: true; - keyPrefix?: true; - keyHash?: true; - createdAt?: true; - expiresAt?: true; - revokedAt?: true; -}; + id?: true + keyPrefix?: true + keyHash?: true + createdAt?: true + expiresAt?: true + revokedAt?: true +} export type ApiKeyMaxAggregateInputType = { - id?: true; - keyPrefix?: true; - keyHash?: true; - createdAt?: true; - expiresAt?: true; - revokedAt?: true; -}; + id?: true + keyPrefix?: true + keyHash?: true + createdAt?: true + expiresAt?: true + revokedAt?: true +} export type ApiKeyCountAggregateInputType = { - id?: true; - keyPrefix?: true; - keyHash?: true; - createdAt?: true; - expiresAt?: true; - revokedAt?: true; - _all?: true; -}; + id?: true + keyPrefix?: true + keyHash?: true + createdAt?: true + expiresAt?: true + revokedAt?: true + _all?: true +} -export type ApiKeyAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which ApiKey to aggregate. - */ - where?: Prisma.ApiKeyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ApiKeys to fetch. - */ - orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.ApiKeyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ApiKeys 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` ApiKeys. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned ApiKeys - **/ - _count?: true | ApiKeyCountAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: ApiKeyMinAggregateInputType; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: ApiKeyMaxAggregateInputType; -}; +export type ApiKeyAggregateArgs = { + /** + * Filter which ApiKey to aggregate. + */ + where?: Prisma.ApiKeyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ApiKeys to fetch. + */ + orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.ApiKeyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ApiKeys 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` ApiKeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned ApiKeys + **/ + _count?: true | ApiKeyCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: ApiKeyMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: ApiKeyMaxAggregateInputType +} export type GetApiKeyAggregateType = { - [P in keyof T & keyof AggregateApiKey]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; + [P in keyof T & keyof AggregateApiKey]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} -export type ApiKeyGroupByArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.ApiKeyWhereInput; - orderBy?: Prisma.ApiKeyOrderByWithAggregationInput | Prisma.ApiKeyOrderByWithAggregationInput[]; - by: Prisma.ApiKeyScalarFieldEnum[] | Prisma.ApiKeyScalarFieldEnum; - having?: Prisma.ApiKeyScalarWhereWithAggregatesInput; - take?: number; - skip?: number; - _count?: ApiKeyCountAggregateInputType | true; - _min?: ApiKeyMinAggregateInputType; - _max?: ApiKeyMaxAggregateInputType; -}; + + + +export type ApiKeyGroupByArgs = { + where?: Prisma.ApiKeyWhereInput + orderBy?: Prisma.ApiKeyOrderByWithAggregationInput | Prisma.ApiKeyOrderByWithAggregationInput[] + by: Prisma.ApiKeyScalarFieldEnum[] | Prisma.ApiKeyScalarFieldEnum + having?: Prisma.ApiKeyScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: ApiKeyCountAggregateInputType | true + _min?: ApiKeyMinAggregateInputType + _max?: ApiKeyMaxAggregateInputType +} export type ApiKeyGroupByOutputType = { - id: string; - keyPrefix: string; - keyHash: string; - createdAt: Date; - expiresAt: Date | null; - revokedAt: Date | null; - _count: ApiKeyCountAggregateOutputType | null; - _min: ApiKeyMinAggregateOutputType | null; - _max: ApiKeyMaxAggregateOutputType | null; -}; + id: string + keyPrefix: string + keyHash: string + createdAt: Date + expiresAt: Date | null + revokedAt: Date | null + _count: ApiKeyCountAggregateOutputType | null + _min: ApiKeyMinAggregateOutputType | null + _max: ApiKeyMaxAggregateOutputType | null +} export type GetApiKeyGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & { - [P in keyof T & keyof ApiKeyGroupByOutputType]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; - } - > ->; + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof ApiKeyGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + export type ApiKeyWhereInput = { - AND?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[]; - OR?: Prisma.ApiKeyWhereInput[]; - NOT?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[]; - id?: Prisma.StringFilter<'ApiKey'> | string; - keyPrefix?: Prisma.StringFilter<'ApiKey'> | string; - keyHash?: Prisma.StringFilter<'ApiKey'> | string; - createdAt?: Prisma.DateTimeFilter<'ApiKey'> | Date | string; - expiresAt?: Prisma.DateTimeNullableFilter<'ApiKey'> | Date | string | null; - revokedAt?: Prisma.DateTimeNullableFilter<'ApiKey'> | Date | string | null; -}; + AND?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[] + OR?: Prisma.ApiKeyWhereInput[] + NOT?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[] + id?: Prisma.StringFilter<"ApiKey"> | string + keyPrefix?: Prisma.StringFilter<"ApiKey"> | string + keyHash?: Prisma.StringFilter<"ApiKey"> | string + createdAt?: Prisma.DateTimeFilter<"ApiKey"> | Date | string + expiresAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null + revokedAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null +} export type ApiKeyOrderByWithRelationInput = { - id?: Prisma.SortOrder; - keyPrefix?: Prisma.SortOrder; - keyHash?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder; - revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder; -}; + id?: Prisma.SortOrder + keyPrefix?: Prisma.SortOrder + keyHash?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder + revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder +} -export type ApiKeyWhereUniqueInput = Prisma.AtLeast< - { - id?: string; - keyHash?: string; - AND?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[]; - OR?: Prisma.ApiKeyWhereInput[]; - NOT?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[]; - keyPrefix?: Prisma.StringFilter<'ApiKey'> | string; - createdAt?: Prisma.DateTimeFilter<'ApiKey'> | Date | string; - expiresAt?: Prisma.DateTimeNullableFilter<'ApiKey'> | Date | string | null; - revokedAt?: Prisma.DateTimeNullableFilter<'ApiKey'> | Date | string | null; - }, - 'id' | 'keyHash' ->; +export type ApiKeyWhereUniqueInput = Prisma.AtLeast<{ + id?: string + keyHash?: string + AND?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[] + OR?: Prisma.ApiKeyWhereInput[] + NOT?: Prisma.ApiKeyWhereInput | Prisma.ApiKeyWhereInput[] + keyPrefix?: Prisma.StringFilter<"ApiKey"> | string + createdAt?: Prisma.DateTimeFilter<"ApiKey"> | Date | string + expiresAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null + revokedAt?: Prisma.DateTimeNullableFilter<"ApiKey"> | Date | string | null +}, "id" | "keyHash"> export type ApiKeyOrderByWithAggregationInput = { - id?: Prisma.SortOrder; - keyPrefix?: Prisma.SortOrder; - keyHash?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder; - revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder; - _count?: Prisma.ApiKeyCountOrderByAggregateInput; - _max?: Prisma.ApiKeyMaxOrderByAggregateInput; - _min?: Prisma.ApiKeyMinOrderByAggregateInput; -}; + id?: Prisma.SortOrder + keyPrefix?: Prisma.SortOrder + keyHash?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder + revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.ApiKeyCountOrderByAggregateInput + _max?: Prisma.ApiKeyMaxOrderByAggregateInput + _min?: Prisma.ApiKeyMinOrderByAggregateInput +} export type ApiKeyScalarWhereWithAggregatesInput = { - AND?: Prisma.ApiKeyScalarWhereWithAggregatesInput | Prisma.ApiKeyScalarWhereWithAggregatesInput[]; - OR?: Prisma.ApiKeyScalarWhereWithAggregatesInput[]; - NOT?: Prisma.ApiKeyScalarWhereWithAggregatesInput | Prisma.ApiKeyScalarWhereWithAggregatesInput[]; - id?: Prisma.StringWithAggregatesFilter<'ApiKey'> | string; - keyPrefix?: Prisma.StringWithAggregatesFilter<'ApiKey'> | string; - keyHash?: Prisma.StringWithAggregatesFilter<'ApiKey'> | string; - createdAt?: Prisma.DateTimeWithAggregatesFilter<'ApiKey'> | Date | string; - expiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<'ApiKey'> | Date | string | null; - revokedAt?: Prisma.DateTimeNullableWithAggregatesFilter<'ApiKey'> | Date | string | null; -}; + AND?: Prisma.ApiKeyScalarWhereWithAggregatesInput | Prisma.ApiKeyScalarWhereWithAggregatesInput[] + OR?: Prisma.ApiKeyScalarWhereWithAggregatesInput[] + NOT?: Prisma.ApiKeyScalarWhereWithAggregatesInput | Prisma.ApiKeyScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"ApiKey"> | string + keyPrefix?: Prisma.StringWithAggregatesFilter<"ApiKey"> | string + keyHash?: Prisma.StringWithAggregatesFilter<"ApiKey"> | string + createdAt?: Prisma.DateTimeWithAggregatesFilter<"ApiKey"> | Date | string + expiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ApiKey"> | Date | string | null + revokedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ApiKey"> | Date | string | null +} export type ApiKeyCreateInput = { - id?: string; - keyPrefix: string; - keyHash: string; - createdAt?: Date | string; - expiresAt?: Date | string | null; - revokedAt?: Date | string | null; -}; + id?: string + keyPrefix: string + keyHash: string + createdAt?: Date | string + expiresAt?: Date | string | null + revokedAt?: Date | string | null +} export type ApiKeyUncheckedCreateInput = { - id?: string; - keyPrefix: string; - keyHash: string; - createdAt?: Date | string; - expiresAt?: Date | string | null; - revokedAt?: Date | string | null; -}; + id?: string + keyPrefix: string + keyHash: string + createdAt?: Date | string + expiresAt?: Date | string | null + revokedAt?: Date | string | null +} export type ApiKeyUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string; - keyHash?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string + keyHash?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} export type ApiKeyUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string; - keyHash?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string + keyHash?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} export type ApiKeyCreateManyInput = { - id?: string; - keyPrefix: string; - keyHash: string; - createdAt?: Date | string; - expiresAt?: Date | string | null; - revokedAt?: Date | string | null; -}; + id?: string + keyPrefix: string + keyHash: string + createdAt?: Date | string + expiresAt?: Date | string | null + revokedAt?: Date | string | null +} export type ApiKeyUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string; - keyHash?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string + keyHash?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} export type ApiKeyUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string; - keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string; - keyHash?: Prisma.StringFieldUpdateOperationsInput | string; - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; - expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; - revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; -}; + id?: Prisma.StringFieldUpdateOperationsInput | string + keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string + keyHash?: Prisma.StringFieldUpdateOperationsInput | string + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} export type ApiKeyCountOrderByAggregateInput = { - id?: Prisma.SortOrder; - keyPrefix?: Prisma.SortOrder; - keyHash?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - revokedAt?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + keyPrefix?: Prisma.SortOrder + keyHash?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + revokedAt?: Prisma.SortOrder +} export type ApiKeyMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - keyPrefix?: Prisma.SortOrder; - keyHash?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - revokedAt?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + keyPrefix?: Prisma.SortOrder + keyHash?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + revokedAt?: Prisma.SortOrder +} export type ApiKeyMinOrderByAggregateInput = { - id?: Prisma.SortOrder; - keyPrefix?: Prisma.SortOrder; - keyHash?: Prisma.SortOrder; - createdAt?: Prisma.SortOrder; - expiresAt?: Prisma.SortOrder; - revokedAt?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + keyPrefix?: Prisma.SortOrder + keyHash?: Prisma.SortOrder + createdAt?: Prisma.SortOrder + expiresAt?: Prisma.SortOrder + revokedAt?: Prisma.SortOrder +} -export type ApiKeySelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - keyPrefix?: boolean; - keyHash?: boolean; - createdAt?: boolean; - expiresAt?: boolean; - revokedAt?: boolean; - }, - ExtArgs['result']['apiKey'] ->; -export type ApiKeySelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - keyPrefix?: boolean; - keyHash?: boolean; - createdAt?: boolean; - expiresAt?: boolean; - revokedAt?: boolean; - }, - ExtArgs['result']['apiKey'] ->; -export type ApiKeySelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - keyPrefix?: boolean; - keyHash?: boolean; - createdAt?: boolean; - expiresAt?: boolean; - revokedAt?: boolean; - }, - ExtArgs['result']['apiKey'] ->; +export type ApiKeySelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + keyPrefix?: boolean + keyHash?: boolean + createdAt?: boolean + expiresAt?: boolean + revokedAt?: boolean +}, ExtArgs["result"]["apiKey"]> + +export type ApiKeySelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + keyPrefix?: boolean + keyHash?: boolean + createdAt?: boolean + expiresAt?: boolean + revokedAt?: boolean +}, ExtArgs["result"]["apiKey"]> + +export type ApiKeySelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + keyPrefix?: boolean + keyHash?: boolean + createdAt?: boolean + expiresAt?: boolean + revokedAt?: boolean +}, ExtArgs["result"]["apiKey"]> export type ApiKeySelectScalar = { - id?: boolean; - keyPrefix?: boolean; - keyHash?: boolean; - createdAt?: boolean; - expiresAt?: boolean; - revokedAt?: boolean; -}; + id?: boolean + keyPrefix?: boolean + keyHash?: boolean + createdAt?: boolean + expiresAt?: boolean + revokedAt?: boolean +} -export type ApiKeyOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'id' | 'keyPrefix' | 'keyHash' | 'createdAt' | 'expiresAt' | 'revokedAt', - ExtArgs['result']['apiKey'] ->; +export type ApiKeyOmit = runtime.Types.Extensions.GetOmit<"id" | "keyPrefix" | "keyHash" | "createdAt" | "expiresAt" | "revokedAt", ExtArgs["result"]["apiKey"]> -export type $ApiKeyPayload< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'ApiKey'; - objects: {}; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: string; - keyPrefix: string; - keyHash: string; - createdAt: Date; - expiresAt: Date | null; - revokedAt: Date | null; - }, - ExtArgs['result']['apiKey'] - >; - composites: {}; -}; +export type $ApiKeyPayload = { + name: "ApiKey" + objects: {} + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + keyPrefix: string + keyHash: string + createdAt: Date + expiresAt: Date | null + revokedAt: Date | null + }, ExtArgs["result"]["apiKey"]> + composites: {} +} -export type ApiKeyGetPayload = - runtime.Types.Result.GetResult; +export type ApiKeyGetPayload = runtime.Types.Result.GetResult -export type ApiKeyCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit & { - select?: ApiKeyCountAggregateInputType | true; -}; +export type ApiKeyCountArgs = + Omit & { + select?: ApiKeyCountAggregateInputType | true + } -export interface ApiKeyDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [K: symbol]: { types: Prisma.TypeMap['model']['ApiKey']; meta: { name: 'ApiKey' } }; - /** - * Find zero or one ApiKey that matches the filter. - * @param {ApiKeyFindUniqueArgs} args - Arguments to find a ApiKey - * @example - * // Get one ApiKey - * const apiKey = await prisma.apiKey.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ApiKeyClient< - runtime.Types.Result.GetResult< - Prisma.$ApiKeyPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +export interface ApiKeyDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['ApiKey'], meta: { name: 'ApiKey' } } + /** + * Find zero or one ApiKey that matches the filter. + * @param {ApiKeyFindUniqueArgs} args - Arguments to find a ApiKey + * @example + * // Get one ApiKey + * const apiKey = await prisma.apiKey.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ApiKeyClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find one ApiKey that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {ApiKeyFindUniqueOrThrowArgs} args - Arguments to find a ApiKey - * @example - * // Get one ApiKey - * const apiKey = await prisma.apiKey.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ApiKeyClient< - runtime.Types.Result.GetResult< - Prisma.$ApiKeyPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find one ApiKey that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {ApiKeyFindUniqueOrThrowArgs} args - Arguments to find a ApiKey + * @example + * // Get one ApiKey + * const apiKey = await prisma.apiKey.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ApiKeyClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find the first ApiKey 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 {ApiKeyFindFirstArgs} args - Arguments to find a ApiKey - * @example - * // Get one ApiKey - * const apiKey = await prisma.apiKey.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__ApiKeyClient< - runtime.Types.Result.GetResult< - Prisma.$ApiKeyPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first ApiKey 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 {ApiKeyFindFirstArgs} args - Arguments to find a ApiKey + * @example + * // Get one ApiKey + * const apiKey = await prisma.apiKey.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ApiKeyClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Find the first ApiKey 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 {ApiKeyFindFirstOrThrowArgs} args - Arguments to find a ApiKey - * @example - * // Get one ApiKey - * const apiKey = await prisma.apiKey.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow( - args?: Prisma.SelectSubset> - ): Prisma.Prisma__ApiKeyClient< - runtime.Types.Result.GetResult< - Prisma.$ApiKeyPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Find the first ApiKey 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 {ApiKeyFindFirstOrThrowArgs} args - Arguments to find a ApiKey + * @example + * // Get one ApiKey + * const apiKey = await prisma.apiKey.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ApiKeyClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Find zero or more ApiKeys 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 {ApiKeyFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all ApiKeys - * const apiKeys = await prisma.apiKey.findMany() - * - * // Get first 10 ApiKeys - * const apiKeys = await prisma.apiKey.findMany({ take: 10 }) - * - * // Only select the `id` - * const apiKeyWithIdOnly = await prisma.apiKey.findMany({ select: { id: true } }) - * - */ - findMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult, T, 'findMany', GlobalOmitOptions> - >; + /** + * Find zero or more ApiKeys 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 {ApiKeyFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all ApiKeys + * const apiKeys = await prisma.apiKey.findMany() + * + * // Get first 10 ApiKeys + * const apiKeys = await prisma.apiKey.findMany({ take: 10 }) + * + * // Only select the `id` + * const apiKeyWithIdOnly = await prisma.apiKey.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - /** - * Create a ApiKey. - * @param {ApiKeyCreateArgs} args - Arguments to create a ApiKey. - * @example - * // Create one ApiKey - * const ApiKey = await prisma.apiKey.create({ - * data: { - * // ... data to create a ApiKey - * } - * }) - * - */ - create( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ApiKeyClient< - runtime.Types.Result.GetResult, T, 'create', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create a ApiKey. + * @param {ApiKeyCreateArgs} args - Arguments to create a ApiKey. + * @example + * // Create one ApiKey + * const ApiKey = await prisma.apiKey.create({ + * data: { + * // ... data to create a ApiKey + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__ApiKeyClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Create many ApiKeys. - * @param {ApiKeyCreateManyArgs} args - Arguments to create many ApiKeys. - * @example - * // Create many ApiKeys - * const apiKey = await prisma.apiKey.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Create many ApiKeys. + * @param {ApiKeyCreateManyArgs} args - Arguments to create many ApiKeys. + * @example + * // Create many ApiKeys + * const apiKey = await prisma.apiKey.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Create many ApiKeys and returns the data saved in the database. - * @param {ApiKeyCreateManyAndReturnArgs} args - Arguments to create many ApiKeys. - * @example - * // Create many ApiKeys - * const apiKey = await prisma.apiKey.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many ApiKeys and only return the `id` - * const apiKeyWithIdOnly = await prisma.apiKey.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.$ApiKeyPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Create many ApiKeys and returns the data saved in the database. + * @param {ApiKeyCreateManyAndReturnArgs} args - Arguments to create many ApiKeys. + * @example + * // Create many ApiKeys + * const apiKey = await prisma.apiKey.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many ApiKeys and only return the `id` + * const apiKeyWithIdOnly = await prisma.apiKey.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 ApiKey. - * @param {ApiKeyDeleteArgs} args - Arguments to delete one ApiKey. - * @example - * // Delete one ApiKey - * const ApiKey = await prisma.apiKey.delete({ - * where: { - * // ... filter to delete one ApiKey - * } - * }) - * - */ - delete( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ApiKeyClient< - runtime.Types.Result.GetResult, T, 'delete', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Delete a ApiKey. + * @param {ApiKeyDeleteArgs} args - Arguments to delete one ApiKey. + * @example + * // Delete one ApiKey + * const ApiKey = await prisma.apiKey.delete({ + * where: { + * // ... filter to delete one ApiKey + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__ApiKeyClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Update one ApiKey. - * @param {ApiKeyUpdateArgs} args - Arguments to update one ApiKey. - * @example - * // Update one ApiKey - * const apiKey = await prisma.apiKey.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ApiKeyClient< - runtime.Types.Result.GetResult, T, 'update', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Update one ApiKey. + * @param {ApiKeyUpdateArgs} args - Arguments to update one ApiKey. + * @example + * // Update one ApiKey + * const apiKey = await prisma.apiKey.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__ApiKeyClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Delete zero or more ApiKeys. - * @param {ApiKeyDeleteManyArgs} args - Arguments to filter ApiKeys to delete. - * @example - * // Delete a few ApiKeys - * const { count } = await prisma.apiKey.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany( - args?: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Delete zero or more ApiKeys. + * @param {ApiKeyDeleteManyArgs} args - Arguments to filter ApiKeys to delete. + * @example + * // Delete a few ApiKeys + * const { count } = await prisma.apiKey.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more ApiKeys. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ApiKeyUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many ApiKeys - * const apiKey = await prisma.apiKey.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany( - args: Prisma.SelectSubset> - ): Prisma.PrismaPromise; + /** + * Update zero or more ApiKeys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ApiKeyUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many ApiKeys + * const apiKey = await prisma.apiKey.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - /** - * Update zero or more ApiKeys and returns the data updated in the database. - * @param {ApiKeyUpdateManyAndReturnArgs} args - Arguments to update many ApiKeys. - * @example - * // Update many ApiKeys - * const apiKey = await prisma.apiKey.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more ApiKeys and only return the `id` - * const apiKeyWithIdOnly = await prisma.apiKey.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.$ApiKeyPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * Update zero or more ApiKeys and returns the data updated in the database. + * @param {ApiKeyUpdateManyAndReturnArgs} args - Arguments to update many ApiKeys. + * @example + * // Update many ApiKeys + * const apiKey = await prisma.apiKey.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more ApiKeys and only return the `id` + * const apiKeyWithIdOnly = await prisma.apiKey.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 ApiKey. - * @param {ApiKeyUpsertArgs} args - Arguments to update or create a ApiKey. - * @example - * // Update or create a ApiKey - * const apiKey = await prisma.apiKey.upsert({ - * create: { - * // ... data to create a ApiKey - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the ApiKey we want to update - * } - * }) - */ - upsert( - args: Prisma.SelectSubset> - ): Prisma.Prisma__ApiKeyClient< - runtime.Types.Result.GetResult, T, 'upsert', GlobalOmitOptions>, - never, - ExtArgs, - GlobalOmitOptions - >; + /** + * Create or update one ApiKey. + * @param {ApiKeyUpsertArgs} args - Arguments to update or create a ApiKey. + * @example + * // Update or create a ApiKey + * const apiKey = await prisma.apiKey.upsert({ + * create: { + * // ... data to create a ApiKey + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the ApiKey we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ApiKeyClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - /** - * Count the number of ApiKeys. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ApiKeyCountArgs} args - Arguments to filter ApiKeys to count. - * @example - * // Count the number of ApiKeys - * const count = await prisma.apiKey.count({ - * where: { - * // ... the filter for the ApiKeys 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 ApiKey. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ApiKeyAggregateArgs} 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 ApiKeys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ApiKeyCountArgs} args - Arguments to filter ApiKeys to count. + * @example + * // Count the number of ApiKeys + * const count = await prisma.apiKey.count({ + * where: { + * // ... the filter for the ApiKeys 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 ApiKey. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ApiKeyGroupByArgs} 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 ApiKeyGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: ApiKeyGroupByArgs['orderBy'] } - : { orderBy?: ApiKeyGroupByArgs['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 ? GetApiKeyGroupByPayload : Prisma.PrismaPromise; - /** - * Fields of the ApiKey model - */ - readonly fields: ApiKeyFieldRefs; + /** + * Allows you to perform aggregations operations on a ApiKey. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ApiKeyAggregateArgs} 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 ApiKey. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ApiKeyGroupByArgs} 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 ApiKeyGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: ApiKeyGroupByArgs['orderBy'] } + : { orderBy?: ApiKeyGroupByArgs['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 ? GetApiKeyGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the ApiKey model + */ +readonly fields: ApiKeyFieldRefs; } /** @@ -900,445 +769,409 @@ export interface ApiKeyDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__ApiKeyClient< - 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__ApiKeyClient 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 ApiKey model */ export interface ApiKeyFieldRefs { - readonly id: Prisma.FieldRef<'ApiKey', 'String'>; - readonly keyPrefix: Prisma.FieldRef<'ApiKey', 'String'>; - readonly keyHash: Prisma.FieldRef<'ApiKey', 'String'>; - readonly createdAt: Prisma.FieldRef<'ApiKey', 'DateTime'>; - readonly expiresAt: Prisma.FieldRef<'ApiKey', 'DateTime'>; - readonly revokedAt: Prisma.FieldRef<'ApiKey', 'DateTime'>; + readonly id: Prisma.FieldRef<"ApiKey", 'String'> + readonly keyPrefix: Prisma.FieldRef<"ApiKey", 'String'> + readonly keyHash: Prisma.FieldRef<"ApiKey", 'String'> + readonly createdAt: Prisma.FieldRef<"ApiKey", 'DateTime'> + readonly expiresAt: Prisma.FieldRef<"ApiKey", 'DateTime'> + readonly revokedAt: Prisma.FieldRef<"ApiKey", 'DateTime'> } + // Custom InputTypes /** * ApiKey findUnique */ -export type ApiKeyFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelect | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; - /** - * Filter, which ApiKey to fetch. - */ - where: Prisma.ApiKeyWhereUniqueInput; -}; +export type ApiKeyFindUniqueArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelect | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null + /** + * Filter, which ApiKey to fetch. + */ + where: Prisma.ApiKeyWhereUniqueInput +} /** * ApiKey findUniqueOrThrow */ -export type ApiKeyFindUniqueOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelect | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; - /** - * Filter, which ApiKey to fetch. - */ - where: Prisma.ApiKeyWhereUniqueInput; -}; +export type ApiKeyFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelect | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null + /** + * Filter, which ApiKey to fetch. + */ + where: Prisma.ApiKeyWhereUniqueInput +} /** * ApiKey findFirst */ -export type ApiKeyFindFirstArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelect | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; - /** - * Filter, which ApiKey to fetch. - */ - where?: Prisma.ApiKeyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ApiKeys to fetch. - */ - orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for ApiKeys. - */ - cursor?: Prisma.ApiKeyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ApiKeys 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` ApiKeys. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ApiKeys. - */ - distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[]; -}; +export type ApiKeyFindFirstArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelect | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null + /** + * Filter, which ApiKey to fetch. + */ + where?: Prisma.ApiKeyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ApiKeys to fetch. + */ + orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ApiKeys. + */ + cursor?: Prisma.ApiKeyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ApiKeys 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` ApiKeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ApiKeys. + */ + distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[] +} /** * ApiKey findFirstOrThrow */ -export type ApiKeyFindFirstOrThrowArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelect | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; - /** - * Filter, which ApiKey to fetch. - */ - where?: Prisma.ApiKeyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ApiKeys to fetch. - */ - orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for ApiKeys. - */ - cursor?: Prisma.ApiKeyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ApiKeys 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` ApiKeys. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ApiKeys. - */ - distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[]; -}; +export type ApiKeyFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelect | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null + /** + * Filter, which ApiKey to fetch. + */ + where?: Prisma.ApiKeyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ApiKeys to fetch. + */ + orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ApiKeys. + */ + cursor?: Prisma.ApiKeyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ApiKeys 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` ApiKeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ApiKeys. + */ + distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[] +} /** * ApiKey findMany */ -export type ApiKeyFindManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelect | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; - /** - * Filter, which ApiKeys to fetch. - */ - where?: Prisma.ApiKeyWhereInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ApiKeys to fetch. - */ - orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[]; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing ApiKeys. - */ - cursor?: Prisma.ApiKeyWhereUniqueInput; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ApiKeys 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` ApiKeys. - */ - skip?: number; - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ApiKeys. - */ - distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[]; -}; +export type ApiKeyFindManyArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelect | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null + /** + * Filter, which ApiKeys to fetch. + */ + where?: Prisma.ApiKeyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ApiKeys to fetch. + */ + orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing ApiKeys. + */ + cursor?: Prisma.ApiKeyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ApiKeys 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` ApiKeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ApiKeys. + */ + distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[] +} /** * ApiKey create */ -export type ApiKeyCreateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelect | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; - /** - * The data needed to create a ApiKey. - */ - data: Prisma.XOR; -}; +export type ApiKeyCreateArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelect | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null + /** + * The data needed to create a ApiKey. + */ + data: Prisma.XOR +} /** * ApiKey createMany */ -export type ApiKeyCreateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many ApiKeys. - */ - data: Prisma.ApiKeyCreateManyInput | Prisma.ApiKeyCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type ApiKeyCreateManyArgs = { + /** + * The data used to create many ApiKeys. + */ + data: Prisma.ApiKeyCreateManyInput | Prisma.ApiKeyCreateManyInput[] + skipDuplicates?: boolean +} /** * ApiKey createManyAndReturn */ -export type ApiKeyCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelectCreateManyAndReturn | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; - /** - * The data used to create many ApiKeys. - */ - data: Prisma.ApiKeyCreateManyInput | Prisma.ApiKeyCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type ApiKeyCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelectCreateManyAndReturn | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null + /** + * The data used to create many ApiKeys. + */ + data: Prisma.ApiKeyCreateManyInput | Prisma.ApiKeyCreateManyInput[] + skipDuplicates?: boolean +} /** * ApiKey update */ -export type ApiKeyUpdateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelect | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; - /** - * The data needed to update a ApiKey. - */ - data: Prisma.XOR; - /** - * Choose, which ApiKey to update. - */ - where: Prisma.ApiKeyWhereUniqueInput; -}; +export type ApiKeyUpdateArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelect | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null + /** + * The data needed to update a ApiKey. + */ + data: Prisma.XOR + /** + * Choose, which ApiKey to update. + */ + where: Prisma.ApiKeyWhereUniqueInput +} /** * ApiKey updateMany */ -export type ApiKeyUpdateManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update ApiKeys. - */ - data: Prisma.XOR; - /** - * Filter which ApiKeys to update - */ - where?: Prisma.ApiKeyWhereInput; - /** - * Limit how many ApiKeys to update. - */ - limit?: number; -}; +export type ApiKeyUpdateManyArgs = { + /** + * The data used to update ApiKeys. + */ + data: Prisma.XOR + /** + * Filter which ApiKeys to update + */ + where?: Prisma.ApiKeyWhereInput + /** + * Limit how many ApiKeys to update. + */ + limit?: number +} /** * ApiKey updateManyAndReturn */ -export type ApiKeyUpdateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelectUpdateManyAndReturn | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; - /** - * The data used to update ApiKeys. - */ - data: Prisma.XOR; - /** - * Filter which ApiKeys to update - */ - where?: Prisma.ApiKeyWhereInput; - /** - * Limit how many ApiKeys to update. - */ - limit?: number; -}; +export type ApiKeyUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelectUpdateManyAndReturn | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null + /** + * The data used to update ApiKeys. + */ + data: Prisma.XOR + /** + * Filter which ApiKeys to update + */ + where?: Prisma.ApiKeyWhereInput + /** + * Limit how many ApiKeys to update. + */ + limit?: number +} /** * ApiKey upsert */ -export type ApiKeyUpsertArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelect | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; - /** - * The filter to search for the ApiKey to update in case it exists. - */ - where: Prisma.ApiKeyWhereUniqueInput; - /** - * In case the ApiKey found by the `where` argument doesn't exist, create a new ApiKey with this data. - */ - create: Prisma.XOR; - /** - * In case the ApiKey was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR; -}; +export type ApiKeyUpsertArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelect | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null + /** + * The filter to search for the ApiKey to update in case it exists. + */ + where: Prisma.ApiKeyWhereUniqueInput + /** + * In case the ApiKey found by the `where` argument doesn't exist, create a new ApiKey with this data. + */ + create: Prisma.XOR + /** + * In case the ApiKey was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} /** * ApiKey delete */ -export type ApiKeyDeleteArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelect | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; - /** - * Filter which ApiKey to delete. - */ - where: Prisma.ApiKeyWhereUniqueInput; -}; +export type ApiKeyDeleteArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelect | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null + /** + * Filter which ApiKey to delete. + */ + where: Prisma.ApiKeyWhereUniqueInput +} /** * ApiKey deleteMany */ -export type ApiKeyDeleteManyArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which ApiKeys to delete - */ - where?: Prisma.ApiKeyWhereInput; - /** - * Limit how many ApiKeys to delete. - */ - limit?: number; -}; +export type ApiKeyDeleteManyArgs = { + /** + * Filter which ApiKeys to delete + */ + where?: Prisma.ApiKeyWhereInput + /** + * Limit how many ApiKeys to delete. + */ + limit?: number +} /** * ApiKey without action */ -export type ApiKeyDefaultArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Select specific fields to fetch from the ApiKey - */ - select?: Prisma.ApiKeySelect | null; - /** - * Omit specific fields from the ApiKey - */ - omit?: Prisma.ApiKeyOmit | null; -}; +export type ApiKeyDefaultArgs = { + /** + * Select specific fields to fetch from the ApiKey + */ + select?: Prisma.ApiKeySelect | null + /** + * Omit specific fields from the ApiKey + */ + omit?: Prisma.ApiKeyOmit | null +} diff --git a/src/lib/generated/prisma/models/ColorPalette.ts b/src/lib/generated/prisma/models/ColorPalette.ts new file mode 100644 index 0000000..f741d92 --- /dev/null +++ b/src/lib/generated/prisma/models/ColorPalette.ts @@ -0,0 +1,1103 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `ColorPalette` 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 ColorPalette + * + */ +export type ColorPaletteModel = runtime.Types.Result.DefaultSelection + +export type AggregateColorPalette = { + _count: ColorPaletteCountAggregateOutputType | null + _avg: ColorPaletteAvgAggregateOutputType | null + _sum: ColorPaletteSumAggregateOutputType | null + _min: ColorPaletteMinAggregateOutputType | null + _max: ColorPaletteMaxAggregateOutputType | null +} + +export type ColorPaletteAvgAggregateOutputType = { + solfeggioFrequencyId: number | null +} + +export type ColorPaletteSumAggregateOutputType = { + solfeggioFrequencyId: number | null +} + +export type ColorPaletteMinAggregateOutputType = { + solfeggioFrequencyId: number | null +} + +export type ColorPaletteMaxAggregateOutputType = { + solfeggioFrequencyId: number | null +} + +export type ColorPaletteCountAggregateOutputType = { + solfeggioFrequencyId: number + colors: number + _all: number +} + + +export type ColorPaletteAvgAggregateInputType = { + solfeggioFrequencyId?: true +} + +export type ColorPaletteSumAggregateInputType = { + solfeggioFrequencyId?: true +} + +export type ColorPaletteMinAggregateInputType = { + solfeggioFrequencyId?: true +} + +export type ColorPaletteMaxAggregateInputType = { + solfeggioFrequencyId?: true +} + +export type ColorPaletteCountAggregateInputType = { + solfeggioFrequencyId?: true + colors?: true + _all?: true +} + +export type ColorPaletteAggregateArgs = { + /** + * Filter which ColorPalette to aggregate. + */ + where?: Prisma.ColorPaletteWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ColorPalettes to fetch. + */ + orderBy?: Prisma.ColorPaletteOrderByWithRelationInput | Prisma.ColorPaletteOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.ColorPaletteWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ColorPalettes 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` ColorPalettes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned ColorPalettes + **/ + _count?: true | ColorPaletteCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: ColorPaletteAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: ColorPaletteSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: ColorPaletteMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: ColorPaletteMaxAggregateInputType +} + +export type GetColorPaletteAggregateType = { + [P in keyof T & keyof AggregateColorPalette]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type ColorPaletteGroupByArgs = { + where?: Prisma.ColorPaletteWhereInput + orderBy?: Prisma.ColorPaletteOrderByWithAggregationInput | Prisma.ColorPaletteOrderByWithAggregationInput[] + by: Prisma.ColorPaletteScalarFieldEnum[] | Prisma.ColorPaletteScalarFieldEnum + having?: Prisma.ColorPaletteScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: ColorPaletteCountAggregateInputType | true + _avg?: ColorPaletteAvgAggregateInputType + _sum?: ColorPaletteSumAggregateInputType + _min?: ColorPaletteMinAggregateInputType + _max?: ColorPaletteMaxAggregateInputType +} + +export type ColorPaletteGroupByOutputType = { + solfeggioFrequencyId: number + colors: runtime.JsonValue + _count: ColorPaletteCountAggregateOutputType | null + _avg: ColorPaletteAvgAggregateOutputType | null + _sum: ColorPaletteSumAggregateOutputType | null + _min: ColorPaletteMinAggregateOutputType | null + _max: ColorPaletteMaxAggregateOutputType | null +} + +export type GetColorPaletteGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof ColorPaletteGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type ColorPaletteWhereInput = { + AND?: Prisma.ColorPaletteWhereInput | Prisma.ColorPaletteWhereInput[] + OR?: Prisma.ColorPaletteWhereInput[] + NOT?: Prisma.ColorPaletteWhereInput | Prisma.ColorPaletteWhereInput[] + solfeggioFrequencyId?: Prisma.IntFilter<"ColorPalette"> | number + colors?: Prisma.JsonFilter<"ColorPalette"> +} + +export type ColorPaletteOrderByWithRelationInput = { + solfeggioFrequencyId?: Prisma.SortOrder + colors?: Prisma.SortOrder +} + +export type ColorPaletteWhereUniqueInput = Prisma.AtLeast<{ + solfeggioFrequencyId?: number + AND?: Prisma.ColorPaletteWhereInput | Prisma.ColorPaletteWhereInput[] + OR?: Prisma.ColorPaletteWhereInput[] + NOT?: Prisma.ColorPaletteWhereInput | Prisma.ColorPaletteWhereInput[] + colors?: Prisma.JsonFilter<"ColorPalette"> +}, "solfeggioFrequencyId"> + +export type ColorPaletteOrderByWithAggregationInput = { + solfeggioFrequencyId?: Prisma.SortOrder + colors?: Prisma.SortOrder + _count?: Prisma.ColorPaletteCountOrderByAggregateInput + _avg?: Prisma.ColorPaletteAvgOrderByAggregateInput + _max?: Prisma.ColorPaletteMaxOrderByAggregateInput + _min?: Prisma.ColorPaletteMinOrderByAggregateInput + _sum?: Prisma.ColorPaletteSumOrderByAggregateInput +} + +export type ColorPaletteScalarWhereWithAggregatesInput = { + AND?: Prisma.ColorPaletteScalarWhereWithAggregatesInput | Prisma.ColorPaletteScalarWhereWithAggregatesInput[] + OR?: Prisma.ColorPaletteScalarWhereWithAggregatesInput[] + NOT?: Prisma.ColorPaletteScalarWhereWithAggregatesInput | Prisma.ColorPaletteScalarWhereWithAggregatesInput[] + solfeggioFrequencyId?: Prisma.IntWithAggregatesFilter<"ColorPalette"> | number + colors?: Prisma.JsonWithAggregatesFilter<"ColorPalette"> +} + +export type ColorPaletteCreateInput = { + solfeggioFrequencyId: number + colors: Prisma.JsonNullValueInput | runtime.InputJsonValue +} + +export type ColorPaletteUncheckedCreateInput = { + solfeggioFrequencyId: number + colors: Prisma.JsonNullValueInput | runtime.InputJsonValue +} + +export type ColorPaletteUpdateInput = { + solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number + colors?: Prisma.JsonNullValueInput | runtime.InputJsonValue +} + +export type ColorPaletteUncheckedUpdateInput = { + solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number + colors?: Prisma.JsonNullValueInput | runtime.InputJsonValue +} + +export type ColorPaletteCreateManyInput = { + solfeggioFrequencyId: number + colors: Prisma.JsonNullValueInput | runtime.InputJsonValue +} + +export type ColorPaletteUpdateManyMutationInput = { + solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number + colors?: Prisma.JsonNullValueInput | runtime.InputJsonValue +} + +export type ColorPaletteUncheckedUpdateManyInput = { + solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number + colors?: Prisma.JsonNullValueInput | runtime.InputJsonValue +} + +export type ColorPaletteCountOrderByAggregateInput = { + solfeggioFrequencyId?: Prisma.SortOrder + colors?: Prisma.SortOrder +} + +export type ColorPaletteAvgOrderByAggregateInput = { + solfeggioFrequencyId?: Prisma.SortOrder +} + +export type ColorPaletteMaxOrderByAggregateInput = { + solfeggioFrequencyId?: Prisma.SortOrder +} + +export type ColorPaletteMinOrderByAggregateInput = { + solfeggioFrequencyId?: Prisma.SortOrder +} + +export type ColorPaletteSumOrderByAggregateInput = { + solfeggioFrequencyId?: Prisma.SortOrder +} + + + +export type ColorPaletteSelect = runtime.Types.Extensions.GetSelect<{ + solfeggioFrequencyId?: boolean + colors?: boolean +}, ExtArgs["result"]["colorPalette"]> + +export type ColorPaletteSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + solfeggioFrequencyId?: boolean + colors?: boolean +}, ExtArgs["result"]["colorPalette"]> + +export type ColorPaletteSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + solfeggioFrequencyId?: boolean + colors?: boolean +}, ExtArgs["result"]["colorPalette"]> + +export type ColorPaletteSelectScalar = { + solfeggioFrequencyId?: boolean + colors?: boolean +} + +export type ColorPaletteOmit = runtime.Types.Extensions.GetOmit<"solfeggioFrequencyId" | "colors", ExtArgs["result"]["colorPalette"]> + +export type $ColorPalettePayload = { + name: "ColorPalette" + objects: {} + scalars: runtime.Types.Extensions.GetPayloadResult<{ + solfeggioFrequencyId: number + colors: runtime.JsonValue + }, ExtArgs["result"]["colorPalette"]> + composites: {} +} + +export type ColorPaletteGetPayload = runtime.Types.Result.GetResult + +export type ColorPaletteCountArgs = + Omit & { + select?: ColorPaletteCountAggregateInputType | true + } + +export interface ColorPaletteDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['ColorPalette'], meta: { name: 'ColorPalette' } } + /** + * Find zero or one ColorPalette that matches the filter. + * @param {ColorPaletteFindUniqueArgs} args - Arguments to find a ColorPalette + * @example + * // Get one ColorPalette + * const colorPalette = await prisma.colorPalette.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ColorPaletteClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one ColorPalette that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {ColorPaletteFindUniqueOrThrowArgs} args - Arguments to find a ColorPalette + * @example + * // Get one ColorPalette + * const colorPalette = await prisma.colorPalette.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ColorPaletteClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first ColorPalette 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 {ColorPaletteFindFirstArgs} args - Arguments to find a ColorPalette + * @example + * // Get one ColorPalette + * const colorPalette = await prisma.colorPalette.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ColorPaletteClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first ColorPalette 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 {ColorPaletteFindFirstOrThrowArgs} args - Arguments to find a ColorPalette + * @example + * // Get one ColorPalette + * const colorPalette = await prisma.colorPalette.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ColorPaletteClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more ColorPalettes 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 {ColorPaletteFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all ColorPalettes + * const colorPalettes = await prisma.colorPalette.findMany() + * + * // Get first 10 ColorPalettes + * const colorPalettes = await prisma.colorPalette.findMany({ take: 10 }) + * + * // Only select the `solfeggioFrequencyId` + * const colorPaletteWithSolfeggioFrequencyIdOnly = await prisma.colorPalette.findMany({ select: { solfeggioFrequencyId: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a ColorPalette. + * @param {ColorPaletteCreateArgs} args - Arguments to create a ColorPalette. + * @example + * // Create one ColorPalette + * const ColorPalette = await prisma.colorPalette.create({ + * data: { + * // ... data to create a ColorPalette + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__ColorPaletteClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many ColorPalettes. + * @param {ColorPaletteCreateManyArgs} args - Arguments to create many ColorPalettes. + * @example + * // Create many ColorPalettes + * const colorPalette = await prisma.colorPalette.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many ColorPalettes and returns the data saved in the database. + * @param {ColorPaletteCreateManyAndReturnArgs} args - Arguments to create many ColorPalettes. + * @example + * // Create many ColorPalettes + * const colorPalette = await prisma.colorPalette.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many ColorPalettes and only return the `solfeggioFrequencyId` + * const colorPaletteWithSolfeggioFrequencyIdOnly = await prisma.colorPalette.createManyAndReturn({ + * select: { solfeggioFrequencyId: 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 ColorPalette. + * @param {ColorPaletteDeleteArgs} args - Arguments to delete one ColorPalette. + * @example + * // Delete one ColorPalette + * const ColorPalette = await prisma.colorPalette.delete({ + * where: { + * // ... filter to delete one ColorPalette + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__ColorPaletteClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one ColorPalette. + * @param {ColorPaletteUpdateArgs} args - Arguments to update one ColorPalette. + * @example + * // Update one ColorPalette + * const colorPalette = await prisma.colorPalette.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__ColorPaletteClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more ColorPalettes. + * @param {ColorPaletteDeleteManyArgs} args - Arguments to filter ColorPalettes to delete. + * @example + * // Delete a few ColorPalettes + * const { count } = await prisma.colorPalette.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more ColorPalettes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ColorPaletteUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many ColorPalettes + * const colorPalette = await prisma.colorPalette.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more ColorPalettes and returns the data updated in the database. + * @param {ColorPaletteUpdateManyAndReturnArgs} args - Arguments to update many ColorPalettes. + * @example + * // Update many ColorPalettes + * const colorPalette = await prisma.colorPalette.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more ColorPalettes and only return the `solfeggioFrequencyId` + * const colorPaletteWithSolfeggioFrequencyIdOnly = await prisma.colorPalette.updateManyAndReturn({ + * select: { solfeggioFrequencyId: 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 ColorPalette. + * @param {ColorPaletteUpsertArgs} args - Arguments to update or create a ColorPalette. + * @example + * // Update or create a ColorPalette + * const colorPalette = await prisma.colorPalette.upsert({ + * create: { + * // ... data to create a ColorPalette + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the ColorPalette we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ColorPaletteClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of ColorPalettes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ColorPaletteCountArgs} args - Arguments to filter ColorPalettes to count. + * @example + * // Count the number of ColorPalettes + * const count = await prisma.colorPalette.count({ + * where: { + * // ... the filter for the ColorPalettes 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 ColorPalette. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ColorPaletteAggregateArgs} 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 ColorPalette. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ColorPaletteGroupByArgs} 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 ColorPaletteGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: ColorPaletteGroupByArgs['orderBy'] } + : { orderBy?: ColorPaletteGroupByArgs['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 ? GetColorPaletteGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the ColorPalette model + */ +readonly fields: ColorPaletteFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for ColorPalette. + * 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__ColorPaletteClient 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 ColorPalette model + */ +export interface ColorPaletteFieldRefs { + readonly solfeggioFrequencyId: Prisma.FieldRef<"ColorPalette", 'Int'> + readonly colors: Prisma.FieldRef<"ColorPalette", 'Json'> +} + + +// Custom InputTypes +/** + * ColorPalette findUnique + */ +export type ColorPaletteFindUniqueArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelect | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | null + /** + * Filter, which ColorPalette to fetch. + */ + where: Prisma.ColorPaletteWhereUniqueInput +} + +/** + * ColorPalette findUniqueOrThrow + */ +export type ColorPaletteFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelect | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | null + /** + * Filter, which ColorPalette to fetch. + */ + where: Prisma.ColorPaletteWhereUniqueInput +} + +/** + * ColorPalette findFirst + */ +export type ColorPaletteFindFirstArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelect | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | null + /** + * Filter, which ColorPalette to fetch. + */ + where?: Prisma.ColorPaletteWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ColorPalettes to fetch. + */ + orderBy?: Prisma.ColorPaletteOrderByWithRelationInput | Prisma.ColorPaletteOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ColorPalettes. + */ + cursor?: Prisma.ColorPaletteWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ColorPalettes 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` ColorPalettes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ColorPalettes. + */ + distinct?: Prisma.ColorPaletteScalarFieldEnum | Prisma.ColorPaletteScalarFieldEnum[] +} + +/** + * ColorPalette findFirstOrThrow + */ +export type ColorPaletteFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelect | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | null + /** + * Filter, which ColorPalette to fetch. + */ + where?: Prisma.ColorPaletteWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ColorPalettes to fetch. + */ + orderBy?: Prisma.ColorPaletteOrderByWithRelationInput | Prisma.ColorPaletteOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for ColorPalettes. + */ + cursor?: Prisma.ColorPaletteWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ColorPalettes 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` ColorPalettes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ColorPalettes. + */ + distinct?: Prisma.ColorPaletteScalarFieldEnum | Prisma.ColorPaletteScalarFieldEnum[] +} + +/** + * ColorPalette findMany + */ +export type ColorPaletteFindManyArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelect | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | null + /** + * Filter, which ColorPalettes to fetch. + */ + where?: Prisma.ColorPaletteWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of ColorPalettes to fetch. + */ + orderBy?: Prisma.ColorPaletteOrderByWithRelationInput | Prisma.ColorPaletteOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing ColorPalettes. + */ + cursor?: Prisma.ColorPaletteWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` ColorPalettes 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` ColorPalettes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of ColorPalettes. + */ + distinct?: Prisma.ColorPaletteScalarFieldEnum | Prisma.ColorPaletteScalarFieldEnum[] +} + +/** + * ColorPalette create + */ +export type ColorPaletteCreateArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelect | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | null + /** + * The data needed to create a ColorPalette. + */ + data: Prisma.XOR +} + +/** + * ColorPalette createMany + */ +export type ColorPaletteCreateManyArgs = { + /** + * The data used to create many ColorPalettes. + */ + data: Prisma.ColorPaletteCreateManyInput | Prisma.ColorPaletteCreateManyInput[] + skipDuplicates?: boolean +} + +/** + * ColorPalette createManyAndReturn + */ +export type ColorPaletteCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelectCreateManyAndReturn | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | null + /** + * The data used to create many ColorPalettes. + */ + data: Prisma.ColorPaletteCreateManyInput | Prisma.ColorPaletteCreateManyInput[] + skipDuplicates?: boolean +} + +/** + * ColorPalette update + */ +export type ColorPaletteUpdateArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelect | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | null + /** + * The data needed to update a ColorPalette. + */ + data: Prisma.XOR + /** + * Choose, which ColorPalette to update. + */ + where: Prisma.ColorPaletteWhereUniqueInput +} + +/** + * ColorPalette updateMany + */ +export type ColorPaletteUpdateManyArgs = { + /** + * The data used to update ColorPalettes. + */ + data: Prisma.XOR + /** + * Filter which ColorPalettes to update + */ + where?: Prisma.ColorPaletteWhereInput + /** + * Limit how many ColorPalettes to update. + */ + limit?: number +} + +/** + * ColorPalette updateManyAndReturn + */ +export type ColorPaletteUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | null + /** + * The data used to update ColorPalettes. + */ + data: Prisma.XOR + /** + * Filter which ColorPalettes to update + */ + where?: Prisma.ColorPaletteWhereInput + /** + * Limit how many ColorPalettes to update. + */ + limit?: number +} + +/** + * ColorPalette upsert + */ +export type ColorPaletteUpsertArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelect | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | null + /** + * The filter to search for the ColorPalette to update in case it exists. + */ + where: Prisma.ColorPaletteWhereUniqueInput + /** + * In case the ColorPalette found by the `where` argument doesn't exist, create a new ColorPalette with this data. + */ + create: Prisma.XOR + /** + * In case the ColorPalette was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * ColorPalette delete + */ +export type ColorPaletteDeleteArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelect | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | null + /** + * Filter which ColorPalette to delete. + */ + where: Prisma.ColorPaletteWhereUniqueInput +} + +/** + * ColorPalette deleteMany + */ +export type ColorPaletteDeleteManyArgs = { + /** + * Filter which ColorPalettes to delete + */ + where?: Prisma.ColorPaletteWhereInput + /** + * Limit how many ColorPalettes to delete. + */ + limit?: number +} + +/** + * ColorPalette without action + */ +export type ColorPaletteDefaultArgs = { + /** + * Select specific fields to fetch from the ColorPalette + */ + select?: Prisma.ColorPaletteSelect | null + /** + * Omit specific fields from the ColorPalette + */ + omit?: Prisma.ColorPaletteOmit | 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 3c5782c..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 c95d61d..c194f94 100644 --- a/src/lib/generated/prisma/models/ProclamationCategory.ts +++ b/src/lib/generated/prisma/models/ProclamationCategory.ts @@ -1,1551 +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; - sortOrder: number | null; - parentId: number | null; -}; + id: number | null + sortOrder: number | null + parentId: number | null +} export type ProclamationCategorySumAggregateOutputType = { - id: number | null; - sortOrder: number | null; - parentId: number | null; -}; + id: number | null + sortOrder: number | null + parentId: number | null +} export type ProclamationCategoryMinAggregateOutputType = { - id: number | null; - name: string | null; - sortOrder: number | 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; - sortOrder: number | null; - parentId: number | null; -}; + id: number | null + name: string | null + sortOrder: number | null + parentId: number | null +} export type ProclamationCategoryCountAggregateOutputType = { - id: number; - name: number; - sortOrder: number; - parentId: number; - _all: number; -}; + id: number + name: number + sortOrder: number + parentId: number + _all: number +} + export type ProclamationCategoryAvgAggregateInputType = { - id?: true; - sortOrder?: true; - parentId?: true; -}; + id?: true + sortOrder?: true + parentId?: true +} export type ProclamationCategorySumAggregateInputType = { - id?: true; - sortOrder?: true; - parentId?: true; -}; + id?: true + sortOrder?: true + parentId?: true +} export type ProclamationCategoryMinAggregateInputType = { - id?: true; - name?: true; - sortOrder?: true; - parentId?: true; -}; + id?: true + name?: true + sortOrder?: true + parentId?: true +} export type ProclamationCategoryMaxAggregateInputType = { - id?: true; - name?: true; - sortOrder?: true; - parentId?: true; -}; + id?: true + name?: true + sortOrder?: true + parentId?: true +} export type ProclamationCategoryCountAggregateInputType = { - id?: true; - name?: true; - sortOrder?: 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; - sortOrder: number; - 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; - sortOrder?: Prisma.IntFilter<'ProclamationCategory'> | number; - parentId?: Prisma.IntNullableFilter<'ProclamationCategory'> | number | null; - parent?: Prisma.XOR< - Prisma.ProclamationCategoryNullableScalarRelationFilter, - Prisma.ProclamationCategoryWhereInput - > | null; - children?: Prisma.ProclamationCategoryListRelationFilter; - proclamations?: Prisma.ProclamationListRelationFilter; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelListRelationFilter; -}; + 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; - sortOrder?: Prisma.SortOrder; - parentId?: Prisma.SortOrderInput | Prisma.SortOrder; - parent?: Prisma.ProclamationCategoryOrderByWithRelationInput; - children?: Prisma.ProclamationCategoryOrderByRelationAggregateInput; - proclamations?: Prisma.ProclamationOrderByRelationAggregateInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelOrderByRelationAggregateInput; -}; + 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; - sortOrder?: Prisma.IntFilter<'ProclamationCategory'> | number; - parentId?: Prisma.IntNullableFilter<'ProclamationCategory'> | number | null; - parent?: Prisma.XOR< - Prisma.ProclamationCategoryNullableScalarRelationFilter, - Prisma.ProclamationCategoryWhereInput - > | null; - children?: Prisma.ProclamationCategoryListRelationFilter; - proclamations?: Prisma.ProclamationListRelationFilter; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelListRelationFilter; - }, - '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; - sortOrder?: 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; - sortOrder?: Prisma.IntWithAggregatesFilter<'ProclamationCategory'> | number; - 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; - sortOrder?: number; - parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput; - children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput; - proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput; -}; + name: string + sortOrder?: number + parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput + children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput + proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryUncheckedCreateInput = { - id?: number; - name: string; - sortOrder?: number; - parentId?: number | null; - children?: Prisma.ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput; - proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutCategoryInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutCategoryInput; -}; + 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; - sortOrder?: Prisma.IntFieldUpdateOperationsInput | number; - parent?: Prisma.ProclamationCategoryUpdateOneWithoutChildrenNestedInput; - children?: Prisma.ProclamationCategoryUpdateManyWithoutParentNestedInput; - proclamations?: Prisma.ProclamationUpdateManyWithoutCategoryNestedInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutCategoryNestedInput; -}; + 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; - sortOrder?: Prisma.IntFieldUpdateOperationsInput | number; - parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - children?: Prisma.ProclamationCategoryUncheckedUpdateManyWithoutParentNestedInput; - proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutCategoryNestedInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryNestedInput; -}; + 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; - sortOrder?: number; - parentId?: number | null; -}; + id?: number + name: string + sortOrder?: number + parentId?: number | null +} export type ProclamationCategoryUpdateManyMutationInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - sortOrder?: Prisma.IntFieldUpdateOperationsInput | number; -}; + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number +} export type ProclamationCategoryUncheckedUpdateManyInput = { - id?: Prisma.IntFieldUpdateOperationsInput | number; - name?: Prisma.StringFieldUpdateOperationsInput | string; - sortOrder?: Prisma.IntFieldUpdateOperationsInput | number; - 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; - sortOrder?: Prisma.SortOrder; - parentId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + sortOrder?: Prisma.SortOrder + parentId?: Prisma.SortOrder +} export type ProclamationCategoryAvgOrderByAggregateInput = { - id?: Prisma.SortOrder; - sortOrder?: Prisma.SortOrder; - parentId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + sortOrder?: Prisma.SortOrder + parentId?: Prisma.SortOrder +} export type ProclamationCategoryMaxOrderByAggregateInput = { - id?: Prisma.SortOrder; - name?: Prisma.SortOrder; - sortOrder?: 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; - sortOrder?: Prisma.SortOrder; - parentId?: Prisma.SortOrder; -}; + id?: Prisma.SortOrder + name?: Prisma.SortOrder + sortOrder?: Prisma.SortOrder + parentId?: Prisma.SortOrder +} export type ProclamationCategorySumOrderByAggregateInput = { - id?: Prisma.SortOrder; - sortOrder?: 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< - Prisma.ProclamationCategoryCreateWithoutSubscriptionLevelsInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutSubscriptionLevelsInput - >; - connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutSubscriptionLevelsInput; - connect?: Prisma.ProclamationCategoryWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutSubscriptionLevelsInput + connect?: Prisma.ProclamationCategoryWhereUniqueInput +} export type ProclamationCategoryUpdateOneRequiredWithoutSubscriptionLevelsNestedInput = { - create?: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutSubscriptionLevelsInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutSubscriptionLevelsInput - >; - connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutSubscriptionLevelsInput; - upsert?: Prisma.ProclamationCategoryUpsertWithoutSubscriptionLevelsInput; - connect?: Prisma.ProclamationCategoryWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.ProclamationCategoryUpdateToOneWithWhereWithoutSubscriptionLevelsInput, - Prisma.ProclamationCategoryUpdateWithoutSubscriptionLevelsInput - >, - Prisma.ProclamationCategoryUncheckedUpdateWithoutSubscriptionLevelsInput - >; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.ProclamationCategoryCreateOrConnectWithoutSubscriptionLevelsInput + upsert?: Prisma.ProclamationCategoryUpsertWithoutSubscriptionLevelsInput + connect?: Prisma.ProclamationCategoryWhereUniqueInput + update?: Prisma.XOR, Prisma.ProclamationCategoryUncheckedUpdateWithoutSubscriptionLevelsInput> +} export type ProclamationCategoryCreateWithoutProclamationsInput = { - name: string; - sortOrder?: number; - parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput; - children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput; -}; + name: string + sortOrder?: number + parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput + children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryUncheckedCreateWithoutProclamationsInput = { - id?: number; - name: string; - sortOrder?: number; - parentId?: number | null; - children?: Prisma.ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutCategoryInput; -}; + 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; - sortOrder?: Prisma.IntFieldUpdateOperationsInput | number; - parent?: Prisma.ProclamationCategoryUpdateOneWithoutChildrenNestedInput; - children?: Prisma.ProclamationCategoryUpdateManyWithoutParentNestedInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutCategoryNestedInput; -}; + 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; - sortOrder?: Prisma.IntFieldUpdateOperationsInput | number; - parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - children?: Prisma.ProclamationCategoryUncheckedUpdateManyWithoutParentNestedInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryNestedInput; -}; + 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; - sortOrder?: number; - parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput; - proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput; -}; + name: string + sortOrder?: number + parent?: Prisma.ProclamationCategoryCreateNestedOneWithoutChildrenInput + proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryUncheckedCreateWithoutChildrenInput = { - id?: number; - name: string; - sortOrder?: number; - parentId?: number | null; - proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutCategoryInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutCategoryInput; -}; + 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; - sortOrder?: number; - children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput; - proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput; -}; + name: string + sortOrder?: number + children?: Prisma.ProclamationCategoryCreateNestedManyWithoutParentInput + proclamations?: Prisma.ProclamationCreateNestedManyWithoutCategoryInput + subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryUncheckedCreateWithoutParentInput = { - id?: number; - name: string; - sortOrder?: number; - children?: Prisma.ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput; - proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutCategoryInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutCategoryInput; -}; + 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; - sortOrder?: Prisma.IntFieldUpdateOperationsInput | number; - parent?: Prisma.ProclamationCategoryUpdateOneWithoutChildrenNestedInput; - proclamations?: Prisma.ProclamationUpdateManyWithoutCategoryNestedInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutCategoryNestedInput; -}; + 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; - sortOrder?: Prisma.IntFieldUpdateOperationsInput | number; - parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; - proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutCategoryNestedInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryNestedInput; -}; + 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; - sortOrder?: Prisma.IntFilter<'ProclamationCategory'> | number; - 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; -}; + 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; -}; + id?: number + name: string + sortOrder?: number + parentId?: number | null + children?: Prisma.ProclamationCategoryUncheckedCreateNestedManyWithoutParentInput + proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutCategoryInput +} export type ProclamationCategoryCreateOrConnectWithoutSubscriptionLevelsInput = { - where: Prisma.ProclamationCategoryWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutSubscriptionLevelsInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutSubscriptionLevelsInput - >; -}; + where: Prisma.ProclamationCategoryWhereUniqueInput + create: Prisma.XOR +} export type ProclamationCategoryUpsertWithoutSubscriptionLevelsInput = { - update: Prisma.XOR< - Prisma.ProclamationCategoryUpdateWithoutSubscriptionLevelsInput, - Prisma.ProclamationCategoryUncheckedUpdateWithoutSubscriptionLevelsInput - >; - create: Prisma.XOR< - Prisma.ProclamationCategoryCreateWithoutSubscriptionLevelsInput, - Prisma.ProclamationCategoryUncheckedCreateWithoutSubscriptionLevelsInput - >; - where?: Prisma.ProclamationCategoryWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.ProclamationCategoryWhereInput +} export type ProclamationCategoryUpdateToOneWithWhereWithoutSubscriptionLevelsInput = { - where?: Prisma.ProclamationCategoryWhereInput; - data: Prisma.XOR< - Prisma.ProclamationCategoryUpdateWithoutSubscriptionLevelsInput, - Prisma.ProclamationCategoryUncheckedUpdateWithoutSubscriptionLevelsInput - >; -}; + 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; -}; + 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; -}; + 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; - sortOrder?: number; -}; + id?: number + name: string + sortOrder?: number +} export type ProclamationCategoryUpdateWithoutParentInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - sortOrder?: Prisma.IntFieldUpdateOperationsInput | number; - children?: Prisma.ProclamationCategoryUpdateManyWithoutParentNestedInput; - proclamations?: Prisma.ProclamationUpdateManyWithoutCategoryNestedInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutCategoryNestedInput; -}; + 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; - sortOrder?: Prisma.IntFieldUpdateOperationsInput | number; - children?: Prisma.ProclamationCategoryUncheckedUpdateManyWithoutParentNestedInput; - proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutCategoryNestedInput; - subscriptionLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryNestedInput; -}; + 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; - sortOrder?: Prisma.IntFieldUpdateOperationsInput | number; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sortOrder?: Prisma.IntFieldUpdateOperationsInput | number +} + /** * Count Type ProclamationCategoryCountOutputType */ export type ProclamationCategoryCountOutputType = { - children: number; - proclamations: number; - subscriptionLevels: 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; - subscriptionLevels?: boolean | ProclamationCategoryCountOutputTypeCountSubscriptionLevelsArgs; -}; +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 +} /** * ProclamationCategoryCountOutputType without action */ -export type ProclamationCategoryCountOutputTypeCountSubscriptionLevelsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput; -}; +export type ProclamationCategoryCountOutputTypeCountSubscriptionLevelsArgs = { + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput +} -export type ProclamationCategorySelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = 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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - sortOrder?: 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 ProclamationCategorySelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - id?: boolean; - name?: boolean; - sortOrder?: boolean; - parentId?: boolean; - parent?: boolean | Prisma.ProclamationCategory$parentArgs; - }, - 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; - sortOrder?: 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' | 'sortOrder' | '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; - subscriptionLevels?: boolean | Prisma.ProclamationCategory$subscriptionLevelsArgs; - _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[]; - subscriptionLevels: Prisma.$ProclamationCategorySubscriptionLevelPayload[]; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - id: number; - name: string; - sortOrder: number; - 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; } /** @@ -1554,676 +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 - >; - subscriptionLevels = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - 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 sortOrder: Prisma.FieldRef<'ProclamationCategory', 'Int'>; - 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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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[]; -}; +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 index d8d5fde..d62d855 100644 --- a/src/lib/generated/prisma/models/ProclamationCategorySubscriptionLevel.ts +++ b/src/lib/generated/prisma/models/ProclamationCategorySubscriptionLevel.ts @@ -1,1352 +1,942 @@ + /* !!! 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 `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'; +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 ProclamationCategorySubscriptionLevelModel = runtime.Types.Result.DefaultSelection export type AggregateProclamationCategorySubscriptionLevel = { - _count: ProclamationCategorySubscriptionLevelCountAggregateOutputType | null; - _avg: ProclamationCategorySubscriptionLevelAvgAggregateOutputType | null; - _sum: ProclamationCategorySubscriptionLevelSumAggregateOutputType | null; - _min: ProclamationCategorySubscriptionLevelMinAggregateOutputType | null; - _max: ProclamationCategorySubscriptionLevelMaxAggregateOutputType | null; -}; + _count: ProclamationCategorySubscriptionLevelCountAggregateOutputType | null + _avg: ProclamationCategorySubscriptionLevelAvgAggregateOutputType | null + _sum: ProclamationCategorySubscriptionLevelSumAggregateOutputType | null + _min: ProclamationCategorySubscriptionLevelMinAggregateOutputType | null + _max: ProclamationCategorySubscriptionLevelMaxAggregateOutputType | null +} export type ProclamationCategorySubscriptionLevelAvgAggregateOutputType = { - categoryId: number | null; - subscriptionLevelId: number | null; -}; + categoryId: number | null + subscriptionLevelId: number | null +} export type ProclamationCategorySubscriptionLevelSumAggregateOutputType = { - categoryId: number | null; - subscriptionLevelId: number | null; -}; + categoryId: number | null + subscriptionLevelId: number | null +} export type ProclamationCategorySubscriptionLevelMinAggregateOutputType = { - categoryId: number | null; - subscriptionLevelId: number | null; -}; + categoryId: number | null + subscriptionLevelId: number | null +} export type ProclamationCategorySubscriptionLevelMaxAggregateOutputType = { - categoryId: number | null; - subscriptionLevelId: number | null; -}; + categoryId: number | null + subscriptionLevelId: number | null +} export type ProclamationCategorySubscriptionLevelCountAggregateOutputType = { - categoryId: number; - subscriptionLevelId: number; - _all: number; -}; + categoryId: number + subscriptionLevelId: number + _all: number +} + export type ProclamationCategorySubscriptionLevelAvgAggregateInputType = { - categoryId?: true; - subscriptionLevelId?: true; -}; + categoryId?: true + subscriptionLevelId?: true +} export type ProclamationCategorySubscriptionLevelSumAggregateInputType = { - categoryId?: true; - subscriptionLevelId?: true; -}; + categoryId?: true + subscriptionLevelId?: true +} export type ProclamationCategorySubscriptionLevelMinAggregateInputType = { - categoryId?: true; - subscriptionLevelId?: true; -}; + categoryId?: true + subscriptionLevelId?: true +} export type ProclamationCategorySubscriptionLevelMaxAggregateInputType = { - categoryId?: true; - subscriptionLevelId?: true; -}; + categoryId?: true + subscriptionLevelId?: true +} export type ProclamationCategorySubscriptionLevelCountAggregateInputType = { - categoryId?: true; - subscriptionLevelId?: true; - _all?: true; -}; + categoryId?: true + subscriptionLevelId?: true + _all?: true +} -export type ProclamationCategorySubscriptionLevelAggregateArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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 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< - T extends ProclamationCategorySubscriptionLevelAggregateArgs -> = { - [P in keyof T & keyof AggregateProclamationCategorySubscriptionLevel]: P extends - | '_count' - | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - 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 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; -}; + 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 GetProclamationCategorySubscriptionLevelGroupByPayload< - T extends ProclamationCategorySubscriptionLevelGroupByArgs -> = 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< - Prisma.ProclamationCategoryScalarRelationFilter, - Prisma.ProclamationCategoryWhereInput - >; - subscriptionLevel?: Prisma.XOR< - Prisma.SubscriptionLevelScalarRelationFilter, - Prisma.SubscriptionLevelWhereInput - >; -}; + 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; -}; + 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< - Prisma.ProclamationCategoryScalarRelationFilter, - Prisma.ProclamationCategoryWhereInput - >; - subscriptionLevel?: Prisma.XOR< - Prisma.SubscriptionLevelScalarRelationFilter, - Prisma.SubscriptionLevelWhereInput - >; - }, - 'categoryId_subscriptionLevelId' ->; +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; -}; + 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; -}; + 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; -}; + category: Prisma.ProclamationCategoryCreateNestedOneWithoutSubscriptionLevelsInput + subscriptionLevel: Prisma.SubscriptionLevelCreateNestedOneWithoutCategoryLevelsInput +} export type ProclamationCategorySubscriptionLevelUncheckedCreateInput = { - categoryId: number; - subscriptionLevelId: number; -}; + categoryId: number + subscriptionLevelId: number +} export type ProclamationCategorySubscriptionLevelUpdateInput = { - category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutSubscriptionLevelsNestedInput; - subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutCategoryLevelsNestedInput; -}; + category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutSubscriptionLevelsNestedInput + subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutCategoryLevelsNestedInput +} export type ProclamationCategorySubscriptionLevelUncheckedUpdateInput = { - categoryId?: Prisma.IntFieldUpdateOperationsInput | number; - subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number; -}; + categoryId?: Prisma.IntFieldUpdateOperationsInput | number + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} export type ProclamationCategorySubscriptionLevelCreateManyInput = { - categoryId: number; - subscriptionLevelId: number; -}; + categoryId: number + subscriptionLevelId: number +} -export type ProclamationCategorySubscriptionLevelUpdateManyMutationInput = {}; +export type ProclamationCategorySubscriptionLevelUpdateManyMutationInput = { + +} export type ProclamationCategorySubscriptionLevelUncheckedUpdateManyInput = { - categoryId?: Prisma.IntFieldUpdateOperationsInput | number; - subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number; -}; + categoryId?: Prisma.IntFieldUpdateOperationsInput | number + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} export type ProclamationCategorySubscriptionLevelListRelationFilter = { - every?: Prisma.ProclamationCategorySubscriptionLevelWhereInput; - some?: Prisma.ProclamationCategorySubscriptionLevelWhereInput; - none?: Prisma.ProclamationCategorySubscriptionLevelWhereInput; -}; + every?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + some?: Prisma.ProclamationCategorySubscriptionLevelWhereInput + none?: Prisma.ProclamationCategorySubscriptionLevelWhereInput +} export type ProclamationCategorySubscriptionLevelOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder; -}; + _count?: Prisma.SortOrder +} -export type ProclamationCategorySubscriptionLevelCategoryIdSubscriptionLevelIdCompoundUniqueInput = - { - categoryId: number; - subscriptionLevelId: number; - }; +export type ProclamationCategorySubscriptionLevelCategoryIdSubscriptionLevelIdCompoundUniqueInput = { + categoryId: number + subscriptionLevelId: number +} export type ProclamationCategorySubscriptionLevelCountOrderByAggregateInput = { - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; -}; + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} export type ProclamationCategorySubscriptionLevelAvgOrderByAggregateInput = { - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; -}; + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} export type ProclamationCategorySubscriptionLevelMaxOrderByAggregateInput = { - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; -}; + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} export type ProclamationCategorySubscriptionLevelMinOrderByAggregateInput = { - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; -}; + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} export type ProclamationCategorySubscriptionLevelSumOrderByAggregateInput = { - categoryId?: Prisma.SortOrder; - subscriptionLevelId?: Prisma.SortOrder; -}; + categoryId?: Prisma.SortOrder + subscriptionLevelId?: Prisma.SortOrder +} export type ProclamationCategorySubscriptionLevelCreateNestedManyWithoutCategoryInput = { - create?: - | Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelCreateWithoutCategoryInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutCategoryInput - > - | Prisma.ProclamationCategorySubscriptionLevelCreateWithoutCategoryInput[] - | Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutCategoryInput[]; - connectOrCreate?: - | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput - | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput[]; - createMany?: Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInputEnvelope; - connect?: - | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput - | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[]; -}; + 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 - > - | Prisma.ProclamationCategorySubscriptionLevelCreateWithoutCategoryInput[] - | Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutCategoryInput[]; - connectOrCreate?: - | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput - | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput[]; - createMany?: Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInputEnvelope; - connect?: - | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput - | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[]; -}; + 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 - > - | 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[]; -}; + 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 - > - | 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[]; -}; + 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 - > - | Prisma.ProclamationCategorySubscriptionLevelCreateWithoutSubscriptionLevelInput[] - | Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutSubscriptionLevelInput[]; - connectOrCreate?: - | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput - | Prisma.ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput[]; - createMany?: Prisma.ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInputEnvelope; - connect?: - | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput - | Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput[]; -}; + 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 - > - | 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 - > - | 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[]; -}; + 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 - > - | 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; -}; + subscriptionLevel: Prisma.SubscriptionLevelCreateNestedOneWithoutCategoryLevelsInput +} export type ProclamationCategorySubscriptionLevelUncheckedCreateWithoutCategoryInput = { - subscriptionLevelId: number; -}; + subscriptionLevelId: number +} export type ProclamationCategorySubscriptionLevelCreateOrConnectWithoutCategoryInput = { - where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelCreateWithoutCategoryInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutCategoryInput - >; -}; + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + create: Prisma.XOR +} export type ProclamationCategorySubscriptionLevelCreateManyCategoryInputEnvelope = { - data: - | Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInput - | Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInput | Prisma.ProclamationCategorySubscriptionLevelCreateManyCategoryInput[] + skipDuplicates?: boolean +} export type ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutCategoryInput = { - where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput; - update: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelUpdateWithoutCategoryInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateWithoutCategoryInput - >; - create: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelCreateWithoutCategoryInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutCategoryInput - >; -}; + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} export type ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutCategoryInput = { - where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput; - data: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelUpdateWithoutCategoryInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateWithoutCategoryInput - >; -}; + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + data: Prisma.XOR +} export type ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutCategoryInput = { - where: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput; - data: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelUpdateManyMutationInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryInput - >; -}; + 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; -}; + 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; -}; + category: Prisma.ProclamationCategoryCreateNestedOneWithoutSubscriptionLevelsInput +} export type ProclamationCategorySubscriptionLevelUncheckedCreateWithoutSubscriptionLevelInput = { - categoryId: number; -}; + categoryId: number +} export type ProclamationCategorySubscriptionLevelCreateOrConnectWithoutSubscriptionLevelInput = { - where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput; - create: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelCreateWithoutSubscriptionLevelInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutSubscriptionLevelInput - >; -}; + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + create: Prisma.XOR +} export type ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInputEnvelope = { - data: - | Prisma.ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInput - | Prisma.ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInput[]; - skipDuplicates?: boolean; -}; + data: Prisma.ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInput | Prisma.ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInput[] + skipDuplicates?: boolean +} -export type ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutSubscriptionLevelInput = - { - where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput; - update: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelUpdateWithoutSubscriptionLevelInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateWithoutSubscriptionLevelInput - >; - create: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelCreateWithoutSubscriptionLevelInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateWithoutSubscriptionLevelInput - >; - }; +export type ProclamationCategorySubscriptionLevelUpsertWithWhereUniqueWithoutSubscriptionLevelInput = { + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} -export type ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutSubscriptionLevelInput = - { - where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput; - data: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelUpdateWithoutSubscriptionLevelInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateWithoutSubscriptionLevelInput - >; - }; +export type ProclamationCategorySubscriptionLevelUpdateWithWhereUniqueWithoutSubscriptionLevelInput = { + where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput + data: Prisma.XOR +} -export type ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutSubscriptionLevelInput = - { - where: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput; - data: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelUpdateManyMutationInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutSubscriptionLevelInput - >; - }; +export type ProclamationCategorySubscriptionLevelUpdateManyWithWhereWithoutSubscriptionLevelInput = { + where: Prisma.ProclamationCategorySubscriptionLevelScalarWhereInput + data: Prisma.XOR +} export type ProclamationCategorySubscriptionLevelCreateManyCategoryInput = { - subscriptionLevelId: number; -}; + subscriptionLevelId: number +} export type ProclamationCategorySubscriptionLevelUpdateWithoutCategoryInput = { - subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutCategoryLevelsNestedInput; -}; + subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutCategoryLevelsNestedInput +} export type ProclamationCategorySubscriptionLevelUncheckedUpdateWithoutCategoryInput = { - subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number; -}; + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} export type ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutCategoryInput = { - subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number; -}; + subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number +} export type ProclamationCategorySubscriptionLevelCreateManySubscriptionLevelInput = { - categoryId: number; -}; + categoryId: number +} export type ProclamationCategorySubscriptionLevelUpdateWithoutSubscriptionLevelInput = { - category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutSubscriptionLevelsNestedInput; -}; + category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutSubscriptionLevelsNestedInput +} export type ProclamationCategorySubscriptionLevelUncheckedUpdateWithoutSubscriptionLevelInput = { - categoryId?: Prisma.IntFieldUpdateOperationsInput | number; -}; + categoryId?: Prisma.IntFieldUpdateOperationsInput | number +} -export type ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutSubscriptionLevelInput = - { - categoryId?: Prisma.IntFieldUpdateOperationsInput | number; - }; +export type ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutSubscriptionLevelInput = { + categoryId?: Prisma.IntFieldUpdateOperationsInput | number +} -export type ProclamationCategorySubscriptionLevelSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - categoryId?: boolean; - subscriptionLevelId?: boolean; - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; - }, - ExtArgs['result']['proclamationCategorySubscriptionLevel'] ->; -export type ProclamationCategorySubscriptionLevelSelectCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - categoryId?: boolean; - subscriptionLevelId?: boolean; - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; - }, - ExtArgs['result']['proclamationCategorySubscriptionLevel'] ->; -export type ProclamationCategorySubscriptionLevelSelectUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetSelect< - { - categoryId?: boolean; - subscriptionLevelId?: boolean; - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; - }, - ExtArgs['result']['proclamationCategorySubscriptionLevel'] ->; +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; -}; + categoryId?: boolean + subscriptionLevelId?: boolean +} -export type ProclamationCategorySubscriptionLevelOmit< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = runtime.Types.Extensions.GetOmit< - 'categoryId' | 'subscriptionLevelId', - ExtArgs['result']['proclamationCategorySubscriptionLevel'] ->; -export type ProclamationCategorySubscriptionLevelInclude< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; -}; -export type ProclamationCategorySubscriptionLevelIncludeCreateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; -}; -export type ProclamationCategorySubscriptionLevelIncludeUpdateManyAndReturn< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - category?: boolean | Prisma.ProclamationCategoryDefaultArgs; - subscriptionLevel?: boolean | Prisma.SubscriptionLevelDefaultArgs; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - name: 'ProclamationCategorySubscriptionLevel'; - objects: { - category: Prisma.$ProclamationCategoryPayload; - subscriptionLevel: Prisma.$SubscriptionLevelPayload; - }; - scalars: runtime.Types.Extensions.GetPayloadResult< - { - categoryId: number; - subscriptionLevelId: number; - }, - ExtArgs['result']['proclamationCategorySubscriptionLevel'] - >; - composites: {}; -}; +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< - S extends boolean | null | undefined | ProclamationCategorySubscriptionLevelDefaultArgs -> = runtime.Types.Result.GetResult; +export type ProclamationCategorySubscriptionLevelGetPayload = runtime.Types.Result.GetResult -export type ProclamationCategorySubscriptionLevelCountArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = Omit< - ProclamationCategorySubscriptionLevelFindManyArgs, - 'select' | 'include' | 'distinct' | 'omit' -> & { - select?: ProclamationCategorySubscriptionLevelCountAggregateInputType | true; -}; +export type ProclamationCategorySubscriptionLevelCountArgs = + Omit & { + select?: ProclamationCategorySubscriptionLevelCountAggregateInputType | true + } -export interface ProclamationCategorySubscriptionLevelDelegate< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> { - [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< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - T, - 'findUnique', - GlobalOmitOptions - > | null, - null, - ExtArgs, - GlobalOmitOptions - >; +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< - T, - ProclamationCategorySubscriptionLevelFindUniqueOrThrowArgs - > - ): Prisma.Prisma__ProclamationCategorySubscriptionLevelClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - >, - never, - 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< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - T, - 'findFirst', - GlobalOmitOptions - > | null, - null, - 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< - T, - ProclamationCategorySubscriptionLevelFindFirstOrThrowArgs - > - ): Prisma.Prisma__ProclamationCategorySubscriptionLevelClient< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - T, - 'findFirstOrThrow', - GlobalOmitOptions - >, - never, - 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< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - T, - 'findMany', - 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< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - T, - 'create', - GlobalOmitOptions - >, - never, - ExtArgs, - 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. + * @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< - T, - ProclamationCategorySubscriptionLevelCreateManyAndReturnArgs - > - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - T, - 'createManyAndReturn', - GlobalOmitOptions - > - >; + /** + * 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< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - T, - 'delete', - GlobalOmitOptions - >, - never, - ExtArgs, - 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< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - T, - 'update', - 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; + /** + * 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. + * 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< - T, - ProclamationCategorySubscriptionLevelUpdateManyAndReturnArgs - > - ): Prisma.PrismaPromise< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - T, - 'updateManyAndReturn', - GlobalOmitOptions - > - >; + /** + * 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< - runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - T, - 'upsert', - GlobalOmitOptions - >, - never, - ExtArgs, - 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< - T['select'], - ProclamationCategorySubscriptionLevelCountAggregateOutputType - > - : 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>; + /** + * 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 + > - /** - * 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< - 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< - T, - ProclamationCategorySubscriptionLevelGroupByArgs, - OrderByArg - > & - InputErrors - ): {} extends InputErrors - ? GetProclamationCategorySubscriptionLevelGroupByPayload - : Prisma.PrismaPromise; - /** - * Fields of the ProclamationCategorySubscriptionLevel model - */ - readonly fields: ProclamationCategorySubscriptionLevelFieldRefs; + /** + * 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; } /** @@ -1355,551 +945,455 @@ export interface ProclamationCategorySubscriptionLevelDelegate< * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ -export interface Prisma__ProclamationCategorySubscriptionLevelClient< - T, - Null = never, - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, - GlobalOmitOptions = {} -> extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: 'PrismaPromise'; - category = {}>( - args?: Prisma.Subset> - ): Prisma.Prisma__ProclamationCategoryClient< - | runtime.Types.Result.GetResult< - Prisma.$ProclamationCategoryPayload, - T, - 'findUniqueOrThrow', - GlobalOmitOptions - > - | Null, - Null, - ExtArgs, - GlobalOmitOptions - >; - 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__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'>; + readonly categoryId: Prisma.FieldRef<"ProclamationCategorySubscriptionLevel", 'Int'> + readonly subscriptionLevelId: Prisma.FieldRef<"ProclamationCategorySubscriptionLevel", 'Int'> } + // Custom InputTypes /** * ProclamationCategorySubscriptionLevel findUnique */ -export type ProclamationCategorySubscriptionLevelFindUniqueArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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[]; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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[]; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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[]; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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< - Prisma.ProclamationCategorySubscriptionLevelCreateInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateInput - >; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to create many ProclamationCategorySubscriptionLevels. - */ - data: - | Prisma.ProclamationCategorySubscriptionLevelCreateManyInput - | Prisma.ProclamationCategorySubscriptionLevelCreateManyInput[]; - skipDuplicates?: boolean; -}; +export type ProclamationCategorySubscriptionLevelCreateManyArgs = { + /** + * The data used to create many ProclamationCategorySubscriptionLevels. + */ + data: Prisma.ProclamationCategorySubscriptionLevelCreateManyInput | Prisma.ProclamationCategorySubscriptionLevelCreateManyInput[] + skipDuplicates?: boolean +} /** * ProclamationCategorySubscriptionLevel createManyAndReturn */ -export type ProclamationCategorySubscriptionLevelCreateManyAndReturnArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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< - Prisma.ProclamationCategorySubscriptionLevelUpdateInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateInput - >; - /** - * Choose, which ProclamationCategorySubscriptionLevel to update. - */ - where: Prisma.ProclamationCategorySubscriptionLevelWhereUniqueInput; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * The data used to update ProclamationCategorySubscriptionLevels. - */ - data: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelUpdateManyMutationInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyInput - >; - /** - * Filter which ProclamationCategorySubscriptionLevels to update - */ - where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput; - /** - * Limit how many ProclamationCategorySubscriptionLevels to update. - */ - limit?: number; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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< - Prisma.ProclamationCategorySubscriptionLevelUpdateManyMutationInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyInput - >; - /** - * 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; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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< - Prisma.ProclamationCategorySubscriptionLevelCreateInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateInput - >; - /** - * In case the ProclamationCategorySubscriptionLevel was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR< - Prisma.ProclamationCategorySubscriptionLevelUpdateInput, - Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateInput - >; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * Filter which ProclamationCategorySubscriptionLevels to delete - */ - where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput; - /** - * Limit how many ProclamationCategorySubscriptionLevels to delete. - */ - limit?: number; -}; +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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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; -}; +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 47b3f77..4e7c6aa 100644 --- a/src/lib/generated/prisma/models/SubscriptionLevel.ts +++ b/src/lib/generated/prisma/models/SubscriptionLevel.ts @@ -1,1142 +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; - categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelListRelationFilter; -}; + 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; - categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelOrderByRelationAggregateInput; -}; + 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; - categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelListRelationFilter; - }, - '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; - categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutSubscriptionLevelInput; -}; + name: string + description?: string | null + proclamations?: Prisma.ProclamationCreateNestedManyWithoutSubscriptionLevelInput + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutSubscriptionLevelInput +} export type SubscriptionLevelUncheckedCreateInput = { - id?: number; - name: string; - description?: string | null; - proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutSubscriptionLevelInput; - categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutSubscriptionLevelInput; -}; + 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; - categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutSubscriptionLevelNestedInput; -}; + 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; - categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutSubscriptionLevelNestedInput; -}; + 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< - Prisma.SubscriptionLevelCreateWithoutCategoryLevelsInput, - Prisma.SubscriptionLevelUncheckedCreateWithoutCategoryLevelsInput - >; - connectOrCreate?: Prisma.SubscriptionLevelCreateOrConnectWithoutCategoryLevelsInput; - connect?: Prisma.SubscriptionLevelWhereUniqueInput; -}; + create?: Prisma.XOR + connectOrCreate?: Prisma.SubscriptionLevelCreateOrConnectWithoutCategoryLevelsInput + connect?: Prisma.SubscriptionLevelWhereUniqueInput +} export type SubscriptionLevelUpdateOneRequiredWithoutCategoryLevelsNestedInput = { - create?: Prisma.XOR< - Prisma.SubscriptionLevelCreateWithoutCategoryLevelsInput, - Prisma.SubscriptionLevelUncheckedCreateWithoutCategoryLevelsInput - >; - connectOrCreate?: Prisma.SubscriptionLevelCreateOrConnectWithoutCategoryLevelsInput; - upsert?: Prisma.SubscriptionLevelUpsertWithoutCategoryLevelsInput; - connect?: Prisma.SubscriptionLevelWhereUniqueInput; - update?: Prisma.XOR< - Prisma.XOR< - Prisma.SubscriptionLevelUpdateToOneWithWhereWithoutCategoryLevelsInput, - Prisma.SubscriptionLevelUpdateWithoutCategoryLevelsInput - >, - Prisma.SubscriptionLevelUncheckedUpdateWithoutCategoryLevelsInput - >; -}; + 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; - categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutSubscriptionLevelInput; -}; + name: string + description?: string | null + categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelCreateNestedManyWithoutSubscriptionLevelInput +} export type SubscriptionLevelUncheckedCreateWithoutProclamationsInput = { - id?: number; - name: string; - description?: string | null; - categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedCreateNestedManyWithoutSubscriptionLevelInput; -}; + 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; - categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUpdateManyWithoutSubscriptionLevelNestedInput; -}; + 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; - categoryLevels?: Prisma.ProclamationCategorySubscriptionLevelUncheckedUpdateManyWithoutSubscriptionLevelNestedInput; -}; + 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; -}; + name: string + description?: string | null + proclamations?: Prisma.ProclamationCreateNestedManyWithoutSubscriptionLevelInput +} export type SubscriptionLevelUncheckedCreateWithoutCategoryLevelsInput = { - id?: number; - name: string; - description?: string | null; - proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutSubscriptionLevelInput; -}; + id?: number + name: string + description?: string | null + proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutSubscriptionLevelInput +} export type SubscriptionLevelCreateOrConnectWithoutCategoryLevelsInput = { - where: Prisma.SubscriptionLevelWhereUniqueInput; - create: Prisma.XOR< - Prisma.SubscriptionLevelCreateWithoutCategoryLevelsInput, - Prisma.SubscriptionLevelUncheckedCreateWithoutCategoryLevelsInput - >; -}; + where: Prisma.SubscriptionLevelWhereUniqueInput + create: Prisma.XOR +} export type SubscriptionLevelUpsertWithoutCategoryLevelsInput = { - update: Prisma.XOR< - Prisma.SubscriptionLevelUpdateWithoutCategoryLevelsInput, - Prisma.SubscriptionLevelUncheckedUpdateWithoutCategoryLevelsInput - >; - create: Prisma.XOR< - Prisma.SubscriptionLevelCreateWithoutCategoryLevelsInput, - Prisma.SubscriptionLevelUncheckedCreateWithoutCategoryLevelsInput - >; - where?: Prisma.SubscriptionLevelWhereInput; -}; + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.SubscriptionLevelWhereInput +} export type SubscriptionLevelUpdateToOneWithWhereWithoutCategoryLevelsInput = { - where?: Prisma.SubscriptionLevelWhereInput; - data: Prisma.XOR< - Prisma.SubscriptionLevelUpdateWithoutCategoryLevelsInput, - Prisma.SubscriptionLevelUncheckedUpdateWithoutCategoryLevelsInput - >; -}; + where?: Prisma.SubscriptionLevelWhereInput + data: Prisma.XOR +} export type SubscriptionLevelUpdateWithoutCategoryLevelsInput = { - name?: Prisma.StringFieldUpdateOperationsInput | string; - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; - proclamations?: Prisma.ProclamationUpdateManyWithoutSubscriptionLevelNestedInput; -}; + 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; -}; + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutSubscriptionLevelNestedInput +} + /** * Count Type SubscriptionLevelCountOutputType */ export type SubscriptionLevelCountOutputType = { - proclamations: number; - categoryLevels: number; -}; + proclamations: number + categoryLevels: number +} -export type SubscriptionLevelCountOutputTypeSelect< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - proclamations?: boolean | SubscriptionLevelCountOutputTypeCountProclamationsArgs; - categoryLevels?: boolean | SubscriptionLevelCountOutputTypeCountCategoryLevelsArgs; -}; +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 +} /** * SubscriptionLevelCountOutputType without action */ -export type SubscriptionLevelCountOutputTypeCountCategoryLevelsArgs< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput; -}; +export type SubscriptionLevelCountOutputTypeCountCategoryLevelsArgs = { + where?: Prisma.ProclamationCategorySubscriptionLevelWhereInput +} -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; - categoryLevels?: boolean | Prisma.SubscriptionLevel$categoryLevelsArgs; - _count?: boolean | Prisma.SubscriptionLevelCountOutputTypeDefaultArgs; - }, - ExtArgs['result']['subscriptionLevel'] ->; -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 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 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 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; - categoryLevels?: boolean | Prisma.SubscriptionLevel$categoryLevelsArgs; - _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[]; - categoryLevels: Prisma.$ProclamationCategorySubscriptionLevelPayload[]; - }; - 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; } /** @@ -1145,586 +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 - >; - categoryLevels = {}>( - args?: Prisma.Subset> - ): Prisma.PrismaPromise< - | runtime.Types.Result.GetResult< - Prisma.$ProclamationCategorySubscriptionLevelPayload, - 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< - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> = { - /** - * 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[]; -}; +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/server/v2-helpers.ts b/src/lib/server/v2-helpers.ts new file mode 100644 index 0000000..5ea1624 --- /dev/null +++ b/src/lib/server/v2-helpers.ts @@ -0,0 +1,64 @@ +import { error } from '@sveltejs/kit'; + +export const MAX_JSON_BODY_BYTES = 64 * 1024; + +export function jsonOk(data: unknown, status = 200): Response { + return new Response(JSON.stringify(data), { + status, + headers: { 'content-type': 'application/json' } + }); +} + +export function jsonError( + status: number, + message: string, + headers?: Record +): Response { + return new Response(JSON.stringify({ message }), { + status, + headers: { 'content-type': 'application/json', ...headers } + }); +} + +/** Read and parse a JSON request body with a size cap. Throws 413 for + * oversized bodies and 400 for invalid JSON / wrong content type. */ +export async function readJsonBody(request: Request): Promise { + const contentType = request.headers.get('content-type') ?? ''; + if (!contentType.includes('application/json')) { + throw error(400, 'content-type must be application/json'); + } + + const contentLength = Number(request.headers.get('content-length') ?? 0); + if (contentLength > MAX_JSON_BODY_BYTES) { + throw error(413, 'request body too large'); + } + + const raw = await request.text(); + if (raw.length === 0) { + throw error(400, 'request body is required'); + } + if (raw.length > MAX_JSON_BODY_BYTES) { + throw error(413, 'request body too large'); + } + + try { + return JSON.parse(raw); + } catch { + throw error(400, 'invalid JSON body'); + } +} + +/** Build a 429 response with Retry-After set in seconds. */ +export function rateLimited(retryAfterMs: number): Response { + const retryAfterSeconds = Math.max(1, Math.ceil(retryAfterMs / 1000)); + return jsonError(429, 'rate limit exceeded', { 'retry-after': String(retryAfterSeconds) }); +} + +export function clientIp(request: Request): string { + const fwd = request.headers.get('x-forwarded-for'); + if (fwd) { + const first = fwd.split(',')[0]?.trim(); + if (first) return first; + } + return request.headers.get('x-real-ip') ?? 'unknown'; +} diff --git a/src/lib/server/v2-rate-limit.spec.ts b/src/lib/server/v2-rate-limit.spec.ts new file mode 100644 index 0000000..8316c74 --- /dev/null +++ b/src/lib/server/v2-rate-limit.spec.ts @@ -0,0 +1,40 @@ +import { describe, it, expect, beforeEach } from 'vitest'; +import { rateLimit, _clearRateLimits } from './v2-rate-limit'; + +describe('rateLimit', () => { + beforeEach(() => { + _clearRateLimits(); + }); + + it('allows requests up to the limit', () => { + for (let i = 0; i < 3; i++) { + const r = rateLimit({ key: 'k', limit: 3, windowMs: 60_000, now: 1000 }); + expect(r.ok).toBe(true); + } + }); + + it('rejects once the limit is exceeded and reports Retry-After', () => { + for (let i = 0; i < 3; i++) { + rateLimit({ key: 'k', limit: 3, windowMs: 60_000, now: 1000 }); + } + const r = rateLimit({ key: 'k', limit: 3, windowMs: 60_000, now: 1000 }); + expect(r.ok).toBe(false); + expect(r.retryAfterMs).toBeGreaterThan(0); + }); + + it('treats keys independently', () => { + rateLimit({ key: 'a', limit: 1, windowMs: 60_000, now: 1000 }); + expect(rateLimit({ key: 'a', limit: 1, windowMs: 60_000, now: 1000 }).ok).toBe(false); + expect(rateLimit({ key: 'b', limit: 1, windowMs: 60_000, now: 1000 }).ok).toBe(true); + }); + + it('lets the window expire before allowing again', () => { + for (let i = 0; i < 2; i++) { + rateLimit({ key: 'k', limit: 2, windowMs: 10_000, now: 1000 }); + } + expect(rateLimit({ key: 'k', limit: 2, windowMs: 10_000, now: 1000 }).ok).toBe(false); + expect(rateLimit({ key: 'k', limit: 2, windowMs: 10_000, now: 1000 + 10_000 + 1 }).ok).toBe( + true + ); + }); +}); diff --git a/src/lib/server/v2-rate-limit.ts b/src/lib/server/v2-rate-limit.ts new file mode 100644 index 0000000..74a6421 --- /dev/null +++ b/src/lib/server/v2-rate-limit.ts @@ -0,0 +1,36 @@ +// Simple in-memory sliding-window rate limiter, keyed per process. Suitable +// for per-IP / per-email limits on v2 routes; for multi-instance deployments +// this should move to shared storage (e.g. the database or Redis). + +type Bucket = { timestamps: number[] }; + +const buckets = new Map(); + +export function rateLimit(opts: { key: string; limit: number; windowMs: number; now?: number }): { + ok: boolean; + retryAfterMs: number; +} { + const now = opts.now ?? Date.now(); + + let bucket = buckets.get(opts.key); + if (!bucket) { + bucket = { timestamps: [] }; + buckets.set(opts.key, bucket); + } + + bucket.timestamps = bucket.timestamps.filter((t) => now - t < opts.windowMs); + + if (bucket.timestamps.length >= opts.limit) { + const oldest = bucket.timestamps[0]; + const retryAfterMs = Math.max(0, oldest + opts.windowMs - now); + return { ok: false, retryAfterMs }; + } + + bucket.timestamps.push(now); + return { ok: true, retryAfterMs: 0 }; +} + +/** Test hook: clears all rate-limit buckets. */ +export function _clearRateLimits(): void { + buckets.clear(); +} diff --git a/src/lib/server/v2-serializers.spec.ts b/src/lib/server/v2-serializers.spec.ts new file mode 100644 index 0000000..764cfbe --- /dev/null +++ b/src/lib/server/v2-serializers.spec.ts @@ -0,0 +1,188 @@ +import { describe, it, expect } from 'vitest'; +import { + CANONICAL_FREQUENCIES, + CANONICAL_PALETTES, + canonicalIdForFrequency, + serializeCategory, + serializeColorPalette, + serializeLicense, + serializeProclamation, + serializeSubscriptionLevel +} from './v2-serializers'; + +describe('canonicalIdForFrequency', () => { + it('maps Hz values to canonical ids via the kiosk frequencyIdForHz map', () => { + expect(canonicalIdForFrequency({ value: 174 })).toBe(1); + expect(canonicalIdForFrequency({ value: 285 })).toBe(1); + expect(canonicalIdForFrequency({ value: 396 })).toBe(2); + expect(canonicalIdForFrequency({ value: 417 })).toBe(3); + expect(canonicalIdForFrequency({ value: 432 })).toBe(4); + expect(canonicalIdForFrequency({ value: 528 })).toBe(5); + expect(canonicalIdForFrequency({ value: 639 })).toBe(6); + expect(canonicalIdForFrequency({ value: 741 })).toBe(7); + expect(canonicalIdForFrequency({ value: 852 })).toBe(8); + expect(canonicalIdForFrequency({ value: 963 })).toBe(9); + }); + + it('returns null for frequencies with no canonical id (e.g. 936 Hz)', () => { + expect(canonicalIdForFrequency({ value: 936 })).toBeNull(); + }); +}); + +describe('CANONICAL_FREQUENCIES', () => { + it('emits exactly the 9 canonical frequencies with non-zero ids', () => { + expect(CANONICAL_FREQUENCIES).toHaveLength(9); + for (const freq of CANONICAL_FREQUENCIES) { + expect(freq.id).toBeGreaterThan(0); + expect(typeof freq.name).toBe('string'); + expect(canonicalIdForFrequency({ value: freq.value })).toBe(freq.id); + } + }); + + it('ships a 7-color palette for every canonical id', () => { + for (const freq of CANONICAL_FREQUENCIES) { + const colors = CANONICAL_PALETTES[freq.id]; + expect(colors).toBeDefined(); + expect(colors).toHaveLength(7); + for (const c of colors) { + expect(c).toMatch(/^#([0-9A-Fa-f]{6})$/); + } + } + }); +}); + +describe('serializeProclamation', () => { + const root396 = { id: 7, name: 'Root', value: 396 }; + const crown936 = { id: 1, name: 'Crown', value: 936 }; + const solarPlexus528 = { id: 5, name: 'Solar Plexus', value: 528 }; + + const base = { + id: 'b40fdcb9-703c-420e-af32-a081964c6f08', + name: 'Peace & Relaxation', + content: '

The text content, HTML formatted

', + categoryId: 5, + subscriptionLevelId: 1 + }; + + it('derives solfeggioFrequencyId from the Hz value, not the DB id', () => { + // DB row id 7 is 396 Hz -> canonical id 2. + const record = serializeProclamation({ + ...base, + solfeggioFrequency: root396 + }); + expect(record).toEqual({ + ...base, + solfeggioFrequencyId: 2 + }); + }); + + it('returns null and drops proclamations whose frequency has no canonical id (936 Hz)', () => { + const record = serializeProclamation({ + ...base, + solfeggioFrequency: crown936 + }); + expect(record).toBeNull(); + }); + + it('passes through a null subscriptionLevelId (kiosk treats as level 1)', () => { + const record = serializeProclamation({ + ...base, + subscriptionLevelId: null, + solfeggioFrequency: solarPlexus528 + }); + expect(record?.subscriptionLevelId).toBeNull(); + }); + + it('embeds a 7-color palette when provided', () => { + const palette = ['#32CD32', '#3CB371', '#90EE90', '#98FB98', '#ADFFA9', '#C8FFD2', '#F0FFF0']; + const record = serializeProclamation( + { + ...base, + solfeggioFrequency: solarPlexus528 + }, + palette + ); + expect(record?.colorPalette).toEqual(palette); + }); + + it('omits colorPalette when not provided', () => { + const record = serializeProclamation({ + ...base, + solfeggioFrequency: solarPlexus528 + }); + expect(record?.colorPalette).toBeUndefined(); + expect(Object.keys(record ?? {})).not.toContain('colorPalette'); + }); +}); + +describe('serializeCategory', () => { + it('keeps parentId null for root categories', () => { + expect(serializeCategory({ id: 4, name: 'Spiritual', sortOrder: 0, parentId: null })).toEqual({ + id: 4, + name: 'Spiritual', + sortOrder: 0, + parentId: null + }); + }); + + it('keeps parentId int for children', () => { + expect(serializeCategory({ id: 5, name: 'General', sortOrder: 0, parentId: 4 })).toEqual({ + id: 5, + name: 'General', + sortOrder: 0, + parentId: 4 + }); + }); +}); + +describe('serializeLicense', () => { + it('returns subscription_level as an object when the level row exists', () => { + const result = serializeLicense({ + key: 'XXXX-XXXX-XXXX-XXXX', + emailAddress: 'user@example.com', + levelName: 'Advanced', + level: { id: 2, name: 'Advanced', description: 'General + Specific' } + }); + expect(result).toEqual({ + key: 'XXXX-XXXX-XXXX-XXXX', + email_address: 'user@example.com', + subscription_level: { id: 2, name: 'Advanced', description: 'General + Specific' } + }); + }); + + it('falls back to a structurally consistent object when no level row matches', () => { + const result = serializeLicense({ + key: 'XXXX-XXXX-XXXX-XXXX', + emailAddress: 'user@example.com', + levelName: 'SomeCustomLevel', + level: null + }); + expect(result).toEqual({ + key: 'XXXX-XXXX-XXXX-XXXX', + email_address: 'user@example.com', + subscription_level: { id: null, name: 'SomeCustomLevel', description: null } + }); + }); +}); + +describe('serializeSubscriptionLevel', () => { + it('maps rows to {id, name, description}', () => { + expect( + serializeSubscriptionLevel({ id: 1, name: 'Basic', description: 'General only' }) + ).toEqual({ + id: 1, + name: 'Basic', + description: 'General only' + }); + }); +}); + +describe('serializeColorPalette', () => { + it('maps rows to {solfeggioFrequencyId, colors}', () => { + const colors = ['#8B6914', '#B8860B', '#DAA520', '#E8B64C', '#FFD700', '#FFE9A8', '#FFF4CC']; + expect(serializeColorPalette({ solfeggioFrequencyId: 1, colors })).toEqual({ + solfeggioFrequencyId: 1, + colors + }); + }); +}); diff --git a/src/lib/server/v2-serializers.ts b/src/lib/server/v2-serializers.ts new file mode 100644 index 0000000..efca866 --- /dev/null +++ b/src/lib/server/v2-serializers.ts @@ -0,0 +1,161 @@ +// Canonical solfeggio id <- Hz, mirroring the kiosk's `frequencyIdForHz()` +// map (radiantwave-rebuild src/audio/audio_downloader.cpp). v2 must emit these +// canonical ids (1-9), never the portal DB autoincrement ids, because +// proclamations and color palettes on the kiosk are keyed by them. +export const CANONICAL_ID_FOR_HZ: Record = { + 174: 1, + 285: 1, + 396: 2, + 417: 3, + 432: 4, + 528: 5, + 639: 6, + 741: 7, + 852: 8, + 963: 9 +}; + +// The 9 canonical frequencies exactly as the kiosk expects from +// GET /frequencies (id 1-9, non-zero, `value` recognized by frequencyIdForHz). +export const CANONICAL_FREQUENCIES: { id: number; name: string; value: number }[] = [ + { id: 1, name: 'Grounding / Relief', value: 174 }, + { id: 2, name: 'Root', value: 396 }, + { id: 3, name: 'Sacral', value: 417 }, + { id: 4, name: 'Clarity / Wellbeing', value: 432 }, + { id: 5, name: 'Solar Plexus', value: 528 }, + { id: 6, name: 'Heart', value: 639 }, + { id: 7, name: 'Throat', value: 741 }, + { id: 8, name: '3rd Eye', value: 852 }, + { id: 9, name: 'Crown', value: 963 } +]; + +// Seed palettes per canonical id, matching the kiosk's +// DatabaseManager::seedColorPalettes(). Used to backfill /color-palettes +// when the DB has not been seeded for an id yet. +export const CANONICAL_PALETTES: Record = { + 1: ['#8B6914', '#B8860B', '#DAA520', '#E8B64C', '#FFD700', '#FFE9A8', '#FFF4CC'], + 2: ['#8B0000', '#B22222', '#DC143C', '#FF6347', '#FF8C69', '#FFA500', '#FFDAB9'], + 3: ['#FF4500', '#FF7F50', '#FF8C00', '#FFA500', '#FFC87F', '#FFDFBA', '#FFEBCD'], + 4: ['#8B2252', '#CD3278', '#DB7093', '#FF69B4', '#FFB6C1', '#FFC0CB', '#FFE4E1'], + 5: ['#32CD32', '#3CB371', '#90EE90', '#98FB98', '#ADFFA9', '#C8FFD2', '#F0FFF0'], + 6: ['#00FF7F', '#00CED1', '#40E0D0', '#5F9EA0', '#7FFFD4', '#AFEEEE', '#E0FFFF'], + 7: ['#00BFFF', '#1E90FF', '#4169E1', '#6495ED', '#87CEEB', '#ADD8E6', '#F0F8FF'], + 8: ['#4B0082', '#9370DB', '#8A2BE2', '#7B68EE', '#DA70D6', '#D8BFD8', '#E6E6FA'], + 9: ['#9400D3', '#BA55D3', '#C71585', '#DDA0DD', '#EE82EE', '#FFF0F5', '#FAF0FA'] +}; + +/** Map a SolfeggioFrequency row to its canonical id, or null if it has no + * canonical id (e.g. 936 Hz). */ +export function canonicalIdForFrequency(freq: { value: number }): number | null { + return CANONICAL_ID_FOR_HZ[freq.value] ?? null; +} + +export type V2Proclamation = { + id: string; + name: string; + content: string; + categoryId: number; + solfeggioFrequencyId: number; + subscriptionLevelId: number | null; + colorPalette?: string[]; +}; + +export type ProclamationWithFrequency = { + id: string; + name: string; + content: string; + categoryId: number; + subscriptionLevelId: number | null; + solfeggioFrequency: { value: number }; +}; + +/** Serialize a DB proclamation row to the v2 wire format. Returns null when + * the proclamation's frequency has no canonical id (dropped from v2). */ +export function serializeProclamation( + p: ProclamationWithFrequency, + palette?: string[] +): V2Proclamation | null { + const solfeggioFrequencyId = CANONICAL_ID_FOR_HZ[p.solfeggioFrequency.value]; + if (!solfeggioFrequencyId) return null; + + const record: V2Proclamation = { + id: p.id, + name: p.name, + content: p.content, + categoryId: p.categoryId, + solfeggioFrequencyId, + subscriptionLevelId: p.subscriptionLevelId + }; + + if (palette && palette.length > 0) { + record.colorPalette = palette; + } + + return record; +} + +export type V2Category = { + id: number; + name: string; + sortOrder: number; + parentId: number | null; +}; + +export function serializeCategory(c: { + id: number; + name: string; + sortOrder: number; + parentId: number | null; +}): V2Category { + return { id: c.id, name: c.name, sortOrder: c.sortOrder, parentId: c.parentId }; +} + +export type V2SubscriptionLevel = { + id: number; + name: string; + description: string | null; +}; + +export function serializeSubscriptionLevel(level: { + id: number; + name: string; + description: string | null; +}): V2SubscriptionLevel { + return { id: level.id, name: level.name, description: level.description }; +} + +export type V2License = { + key: string; + email_address: string; + subscription_level: { id: number | null; name: string; description: string | null }; +}; + +/** Build the POST /license response. `subscription_level` is always an object; + * when no SubscriptionLevel row matches the license's level name, fall back to + * a structurally consistent object with a null id/description. */ +export function serializeLicense(opts: { + key: string; + emailAddress: string; + levelName: string; + level: { id: number; name: string; description: string | null } | null; +}): V2License { + return { + key: opts.key, + email_address: opts.emailAddress, + subscription_level: opts.level + ? { id: opts.level.id, name: opts.level.name, description: opts.level.description } + : { id: null, name: opts.levelName, description: null } + }; +} + +export type V2ColorPalette = { + solfeggioFrequencyId: number; + colors: string[]; +}; + +export function serializeColorPalette(palette: { + solfeggioFrequencyId: number; + colors: string[]; +}): V2ColorPalette { + return { solfeggioFrequencyId: palette.solfeggioFrequencyId, colors: palette.colors }; +} diff --git a/src/lib/server/v2-signature.spec.ts b/src/lib/server/v2-signature.spec.ts new file mode 100644 index 0000000..2014331 --- /dev/null +++ b/src/lib/server/v2-signature.spec.ts @@ -0,0 +1,120 @@ +import { describe, it, expect, beforeEach } from 'vitest'; +import { + computeSignature, + buildCanonicalRequest, + verifyRequestSignature, + _clearNonces +} from './v2-signature'; + +const SECRET = 'test-onboarding-secret'; + +function signedRequest(opts: { + now?: Date; + timestampOffsetSec?: number; + tamper?: Partial>; +}) { + const method = 'POST'; + const path = '/api/v2/automations/create/account'; + const timestamp = String(Math.floor((opts.now ?? new Date()).getTime() / 1000)); + const nonce = 'a48c0f2e-5f34-4b0b-9a12-3c7d6b8e1f00'; + const body = '{"email":"user@example.com","subscription_level":"Basic"}'; + + let ts = timestamp; + let nonceValue = nonce; + + if (opts.tamper?.timestamp) ts = opts.tamper.timestamp; + if (opts.tamper?.nonce) nonceValue = opts.tamper.nonce; + + let sig = computeSignature(SECRET, buildCanonicalRequest(method, path, ts, nonceValue, body)); + + if (opts.tamper?.body) + sig = computeSignature( + SECRET, + buildCanonicalRequest(method, path, ts, nonceValue, opts.tamper.body) + ); + if (opts.tamper?.signature) sig = opts.tamper.signature; + + const headers = new Headers({ + 'content-type': 'application/json', + 'x-timestamp': ts, + 'x-nonce': nonceValue, + 'x-signature': sig + }); + + return { method, path, headers, rawBody: body }; +} + +describe('verifyRequestSignature', () => { + beforeEach(() => { + _clearNonces(); + }); + + it('accepts a correctly signed request', () => { + const { method, path, headers, rawBody } = signedRequest({}); + const result = verifyRequestSignature({ method, path, headers, rawBody, secret: SECRET }); + expect(result.ok).toBe(true); + }); + + it('rejects a request with a wrong signature', () => { + const { method, path, headers, rawBody } = signedRequest({ + tamper: { signature: 'deadbeef'.repeat(8) } + }); + const result = verifyRequestSignature({ method, path, headers, rawBody, secret: SECRET }); + expect(result.ok).toBe(false); + if (!result.ok) expect(result.reason).toBe('invalid signature'); + }); + + it('rejects a request signed with the wrong secret', () => { + const { method, path, headers, rawBody } = signedRequest({}); + const result = verifyRequestSignature({ + method, + path, + headers, + rawBody, + secret: 'other-secret' + }); + expect(result.ok).toBe(false); + }); + + it('rejects missing signature headers', () => { + const { method, path, rawBody } = signedRequest({}); + const result = verifyRequestSignature({ + method, + path, + headers: new Headers(), + rawBody, + secret: SECRET + }); + expect(result.ok).toBe(false); + }); + + it('rejects an expired timestamp (>300s skew)', () => { + const now = new Date(); + const { method, path, headers, rawBody } = signedRequest({ + tamper: { timestamp: String(Math.floor(now.getTime() / 1000) - 600) } + }); + const result = verifyRequestSignature({ method, path, headers, rawBody, secret: SECRET, now }); + expect(result.ok).toBe(false); + if (!result.ok) expect(result.reason).toBe('expired timestamp'); + }); + + it('accepts a timestamp within the 300s skew', () => { + const now = new Date(); + const { method, path, headers, rawBody } = signedRequest({ + tamper: { timestamp: String(Math.floor(now.getTime() / 1000) - 120) } + }); + const result = verifyRequestSignature({ method, path, headers, rawBody, secret: SECRET, now }); + expect(result.ok).toBe(true); + }); + + it('rejects a replayed nonce', () => { + const { method, path, headers, rawBody } = signedRequest({}); + expect(verifyRequestSignature({ method, path, headers, rawBody, secret: SECRET }).ok).toBe( + true + ); + + const replay = verifyRequestSignature({ method, path, headers, rawBody, secret: SECRET }); + expect(replay.ok).toBe(false); + if (!replay.ok) expect(replay.reason).toBe('replayed nonce'); + }); +}); diff --git a/src/lib/server/v2-signature.ts b/src/lib/server/v2-signature.ts new file mode 100644 index 0000000..66baa5e --- /dev/null +++ b/src/lib/server/v2-signature.ts @@ -0,0 +1,96 @@ +import { createHmac, timingSafeEqual } from 'node:crypto'; + +export const SIGNATURE_MAX_SKEW_SECONDS = 300; + +export function computeSignature(secret: string, canonicalRequest: string): string { + return createHmac('sha256', secret).update(canonicalRequest, 'utf8').digest('hex'); +} + +/** Canonical request string covered by the HMAC: method, path, timestamp, + * nonce, and the raw body, newline-separated. */ +export function buildCanonicalRequest( + method: string, + path: string, + timestamp: string, + nonce: string, + body: string +): string { + return [method, path, timestamp, nonce, body].join('\n'); +} + +export function safeEqual(a: string, b: string): boolean { + const bufA = Buffer.from(a, 'utf8'); + const bufB = Buffer.from(b, 'utf8'); + if (bufA.length !== bufB.length) return false; + return timingSafeEqual(bufA, bufB); +} + +// In-memory nonce store. Prunes entries older than twice the allowed skew. +const seenNonces = new Map(); + +export function isNonceReplayed(nonce: string, now = Date.now()): boolean { + const seenAt = seenNonces.get(nonce); + if (seenAt === undefined) return false; + // Keep treating it as replayed only while within the replay window; beyond + // that the entry is pruned and the nonce could in theory be reused, but the + // timestamp skew check still bounds it. + return now - seenAt < SIGNATURE_MAX_SKEW_SECONDS * 2 * 1000; +} + +export function recordNonce(nonce: string, now = Date.now()): void { + seenNonces.set(nonce, now); + // Opportunistically prune stale entries. + const cutoff = now - SIGNATURE_MAX_SKEW_SECONDS * 2 * 1000; + for (const [key, seenAt] of seenNonces) { + if (seenAt < cutoff) seenNonces.delete(key); + } +} + +export type SignatureVerification = { ok: true } | { ok: false; reason: string }; + +export function verifyRequestSignature(opts: { + method: string; + path: string; + headers: Headers; + rawBody: string; + secret: string; + now?: Date; +}): SignatureVerification { + const { method, path, headers, rawBody, secret } = opts; + + const timestamp = headers.get('x-timestamp'); + const nonce = headers.get('x-nonce'); + const signature = headers.get('x-signature'); + + if (!timestamp || !nonce || !signature) { + return { ok: false, reason: 'missing signature headers' }; + } + + const ts = Number(timestamp); + if (!Number.isFinite(ts)) { + return { ok: false, reason: 'invalid timestamp' }; + } + + const now = (opts.now ?? new Date()).getTime() / 1000; + if (Math.abs(now - ts) > SIGNATURE_MAX_SKEW_SECONDS) { + return { ok: false, reason: 'expired timestamp' }; + } + + if (isNonceReplayed(nonce)) { + return { ok: false, reason: 'replayed nonce' }; + } + + const canonical = buildCanonicalRequest(method, path, timestamp, nonce, rawBody); + const expected = computeSignature(secret, canonical); + if (!safeEqual(expected, signature)) { + return { ok: false, reason: 'invalid signature' }; + } + + recordNonce(nonce); + return { ok: true }; +} + +/** Test hook: clears the in-memory nonce store. */ +export function _clearNonces(): void { + seenNonces.clear(); +} diff --git a/src/routes/api/v2/automations/create/account/+server.ts b/src/routes/api/v2/automations/create/account/+server.ts new file mode 100644 index 0000000..b0d7238 --- /dev/null +++ b/src/routes/api/v2/automations/create/account/+server.ts @@ -0,0 +1,175 @@ +import { json, error } from '@sveltejs/kit'; +import type { RequestHandler } from './$types'; +import { auth } from '$lib/auth'; +import { prisma } from '$lib/db'; +import { sendMail } from '$lib/server/resend'; +import { env } from '$env/dynamic/private'; +import { clientIp, rateLimited } from '$lib/server/v2-helpers'; +import { rateLimit } from '$lib/server/v2-rate-limit'; +import { verifyRequestSignature } from '$lib/server/v2-signature'; +import { MAX_JSON_BODY_BYTES } from '$lib/server/v2-helpers'; + +const EMAIL_RE = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; + +function generateLicenseKey(): string { + const hex = crypto.randomUUID().replace(/-/g, '').slice(0, 16).toUpperCase(); + return `${hex.slice(0, 4)}-${hex.slice(4, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}`; +} + +function unauthorized(): Response { + return new Response(JSON.stringify({ error: 'invalid signature' }), { + status: 401, + headers: { 'content-type': 'application/json' } + }); +} + +export const POST: RequestHandler = async ({ request, url }) => { + const secret = env.API_V2_ONBOARDING_SECRET; + if (!secret) { + return unauthorized(); + } + + const rawBody = await request.text(); + if (rawBody.length === 0) { + throw error(400, 'request body is required'); + } + if (rawBody.length > MAX_JSON_BODY_BYTES) { + throw error(413, 'request body too large'); + } + + const verification = verifyRequestSignature({ + method: 'POST', + path: url.pathname, + headers: request.headers, + rawBody, + secret + }); + if (!verification.ok) { + return unauthorized(); + } + + const ip = clientIp(request); + const ipLimit = rateLimit({ key: `onboarding:ip:${ip}`, limit: 5, windowMs: 60_000 }); + if (!ipLimit.ok) { + return rateLimited(ipLimit.retryAfterMs); + } + + let body: unknown; + try { + body = JSON.parse(rawBody); + } catch { + throw error(400, 'invalid JSON body'); + } + + const { email, name, subscription_level } = body as Record; + + if (typeof email !== 'string' || !email.trim()) { + error(400, 'email is required'); + } + const cleanEmail = email.trim().toLowerCase(); + if (cleanEmail.length > 254 || !EMAIL_RE.test(cleanEmail)) { + error(400, 'email is required'); + } + + if (typeof subscription_level !== 'string' || !subscription_level.trim()) { + error(400, 'subscription_level is required'); + } + + const emailLimit = rateLimit({ + key: `onboarding:email:${cleanEmail}`, + limit: 3, + windowMs: 24 * 60 * 60 * 1000 + }); + if (!emailLimit.ok) { + return rateLimited(emailLimit.retryAfterMs); + } + + const levelName = subscription_level.trim(); + const level = await prisma.subscriptionLevel.findFirst({ where: { name: levelName } }); + if (!level) { + error(400, `subscription_level "${levelName}" not found`); + } + + const displayName = + typeof name === 'string' && name.trim() ? name.trim().slice(0, 120) : cleanEmail.split('@')[0]; + + let user = await prisma.user.findUnique({ where: { email: cleanEmail } }); + + if (!user) { + const tempPassword = crypto.randomUUID().replace(/-/g, '').slice(0, 20); + + try { + await auth.api.signUpEmail({ + body: { + email: cleanEmail, + password: tempPassword, + name: displayName + } + }); + + user = await prisma.user.findUnique({ where: { email: cleanEmail } }); + + const verification = await prisma.verification.findFirst({ + where: { + identifier: cleanEmail, + expiresAt: { gt: new Date() } + }, + orderBy: { createdAt: 'desc' } + }); + + const verifyUrl = verification + ? `${env.BETTER_AUTH_URL}/api/auth/verify-email?token=${verification.value}&callbackURL=/login?verified=true` + : `${env.BETTER_AUTH_URL}/login`; + + await sendMail({ + to: cleanEmail, + subject: 'Your account is ready', + templateId: 'automated-user-registration', + data: { + firstName: displayName, + tempPassword, + verifyUrl, + loginUrl: `${env.BETTER_AUTH_URL}/login` + } + }); + } catch (err) { + console.error('Failed to create user:', err); + error(500, 'Failed to create account'); + } + } + + if (!user) { + error(500, 'Failed to find or create user'); + } + + const key = generateLicenseKey(); + + await prisma.licenseKey.create({ + data: { + key, + active: true, + level: levelName, + userId: user.id + } + }); + + try { + await sendMail({ + to: cleanEmail, + subject: 'Your Rhemawave License Key', + templateId: 'license-key-delivery', + data: { + firstName: displayName, + license_key: key + } + }); + } catch (e) { + console.error('Failed to send license key email:', e); + } + + return json({ + success: true, + message: 'Account and license key created', + user_id: user.id + }); +}; diff --git a/src/routes/api/v2/automations/create/account/server.spec.ts b/src/routes/api/v2/automations/create/account/server.spec.ts new file mode 100644 index 0000000..638279c --- /dev/null +++ b/src/routes/api/v2/automations/create/account/server.spec.ts @@ -0,0 +1,236 @@ +import { describe, it, expect, vi, beforeEach } from 'vitest'; +import { isHttpError } from '@sveltejs/kit'; +import { computeSignature, buildCanonicalRequest, _clearNonces } from '$lib/server/v2-signature'; +import { _clearRateLimits } from '$lib/server/v2-rate-limit'; + +const { authApi, sendMailMock } = vi.hoisted(() => ({ + authApi: { signUpEmail: vi.fn() }, + sendMailMock: vi.fn() +})); + +vi.mock('$env/dynamic/private', () => ({ + env: { + API_V2_ONBOARDING_SECRET: 'test-onboarding-secret', + BETTER_AUTH_URL: 'http://localhost:5173' + } +})); + +vi.mock('$lib/auth', () => ({ + auth: { api: authApi } +})); + +vi.mock('$lib/server/resend', () => ({ + sendMail: sendMailMock +})); + +vi.mock('$lib/db', () => ({ + prisma: { + subscriptionLevel: { findFirst: vi.fn() }, + user: { findUnique: vi.fn() }, + verification: { findFirst: vi.fn() }, + licenseKey: { create: vi.fn() } + } +})); + +import { prisma } from '$lib/db'; +import { POST } from './+server'; + +type POSTEvent = Parameters[0]; + +const SECRET = 'test-onboarding-secret'; +const PATH = '/api/v2/automations/create/account'; + +const mockLevelFindFirst = prisma.subscriptionLevel.findFirst as ReturnType; +const mockUserFindUnique = prisma.user.findUnique as ReturnType; +const mockVerification = prisma.verification.findFirst as ReturnType; +const mockLicenseCreate = prisma.licenseKey.create as ReturnType; + +function signedOnboardingRequest(body: object, secret = SECRET): Request { + const method = 'POST'; + const timestamp = String(Math.floor(Date.now() / 1000)); + const nonce = crypto.randomUUID(); + const rawBody = JSON.stringify(body); + const signature = computeSignature( + secret, + buildCanonicalRequest(method, PATH, timestamp, nonce, rawBody) + ); + + return new Request(`http://localhost${PATH}`, { + method: 'POST', + headers: { + 'content-type': 'application/json', + 'x-timestamp': timestamp, + 'x-nonce': nonce, + 'x-signature': signature + }, + body: rawBody + }); +} + +async function expectHttpError(promise: unknown, status: number, message: string) { + try { + await promise; + } catch (e) { + expect(isHttpError(e)).toBe(true); + const err = e as { status: number; body: { message: string } }; + expect(err.status).toBe(status); + expect(err.body.message).toBe(message); + return; + } + throw new Error('expected handler to throw an HttpError'); +} + +describe('POST /api/v2/automations/create/account', () => { + beforeEach(() => { + vi.clearAllMocks(); + _clearNonces(); + _clearRateLimits(); + }); + + it('creates a license key for an existing user without a new signup', async () => { + mockLevelFindFirst.mockResolvedValue({ id: 1, name: 'Basic', description: 'General only' }); + mockUserFindUnique.mockResolvedValue({ id: 'user-1', email: 'user@example.com' }); + mockLicenseCreate.mockResolvedValue({ id: 'lic-1' }); + sendMailMock.mockResolvedValue({}); + + const res = await POST({ + request: signedOnboardingRequest({ email: 'user@example.com', subscription_level: 'Basic' }), + url: new URL(`http://localhost${PATH}`) + } as POSTEvent); + + expect(res.status).toBe(200); + expect(await res.json()).toEqual({ + success: true, + message: 'Account and license key created', + user_id: 'user-1' + }); + expect(authApi.signUpEmail).not.toHaveBeenCalled(); + expect(mockLicenseCreate).toHaveBeenCalledTimes(1); + expect(sendMailMock).toHaveBeenCalledTimes(1); + }); + + it('signs up a new user and sends registration + license emails', async () => { + mockLevelFindFirst.mockResolvedValue({ id: 1, name: 'Basic', description: 'General only' }); + mockUserFindUnique + .mockResolvedValueOnce(null) + .mockResolvedValueOnce({ id: 'user-2', email: 'new@example.com' }); + mockVerification.mockResolvedValue({ value: 'verify-token' }); + mockLicenseCreate.mockResolvedValue({ id: 'lic-2' }); + sendMailMock.mockResolvedValue({}); + authApi.signUpEmail.mockResolvedValue({}); + + const res = await POST({ + request: signedOnboardingRequest({ email: 'new@example.com', subscription_level: 'Elite' }), + url: new URL(`http://localhost${PATH}`) + } as POSTEvent); + + expect(res.status).toBe(200); + expect(await res.json()).toEqual({ + success: true, + message: 'Account and license key created', + user_id: 'user-2' + }); + expect(authApi.signUpEmail).toHaveBeenCalledWith( + expect.objectContaining({ + body: expect.objectContaining({ email: 'new@example.com', name: 'new' }) + }) + ); + expect(sendMailMock).toHaveBeenCalledTimes(2); + }); + + it('rejects a request without a valid signature', async () => { + const req = new Request(`http://localhost${PATH}`, { + method: 'POST', + headers: { 'content-type': 'application/json' }, + body: JSON.stringify({ email: 'user@example.com', subscription_level: 'Basic' }) + }); + + const res = await POST({ request: req, url: new URL(`http://localhost${PATH}`) } as POSTEvent); + expect(res.status).toBe(401); + expect(await res.json()).toEqual({ error: 'invalid signature' }); + }); + + it('rejects a request signed with the wrong secret', async () => { + const res = await POST({ + request: signedOnboardingRequest( + { email: 'user@example.com', subscription_level: 'Basic' }, + 'wrong-secret' + ), + url: new URL(`http://localhost${PATH}`) + } as POSTEvent); + expect(res.status).toBe(401); + expect(await res.json()).toEqual({ error: 'invalid signature' }); + }); + + it('rejects a missing email', async () => { + await expectHttpError( + POST({ + request: signedOnboardingRequest({ subscription_level: 'Basic' }), + url: new URL(`http://localhost${PATH}`) + } as POSTEvent), + 400, + 'email is required' + ); + }); + + it('rejects an oversized body with 413', async () => { + const rawBody = JSON.stringify({ + email: 'user@example.com', + subscription_level: 'Basic', + name: 'x'.repeat(64 * 1024 + 1) + }); + expect(rawBody.length).toBeGreaterThan(64 * 1024); + + const req = new Request(`http://localhost${PATH}`, { + method: 'POST', + headers: { 'content-type': 'application/json' }, + body: rawBody + }); + + await expectHttpError( + POST({ request: req, url: new URL(`http://localhost${PATH}`) } as POSTEvent), + 413, + 'request body too large' + ); + }); + + it('rejects an unknown subscription level', async () => { + mockLevelFindFirst.mockResolvedValue(null); + await expectHttpError( + POST({ + request: signedOnboardingRequest({ + email: 'user@example.com', + subscription_level: 'Titanium' + }), + url: new URL(`http://localhost${PATH}`) + } as POSTEvent), + 400, + 'subscription_level "Titanium" not found' + ); + }); + + it('rate limits repeated requests for the same email', async () => { + mockLevelFindFirst.mockResolvedValue({ id: 1, name: 'Basic', description: 'General only' }); + mockUserFindUnique.mockResolvedValue({ id: 'user-1', email: 'user@example.com' }); + mockLicenseCreate.mockResolvedValue({ id: 'lic-1' }); + sendMailMock.mockResolvedValue({}); + + for (let i = 0; i < 3; i++) { + const res = await POST({ + request: signedOnboardingRequest({ + email: 'user@example.com', + subscription_level: 'Basic' + }), + url: new URL(`http://localhost${PATH}`) + } as POSTEvent); + expect(res.status).toBe(200); + } + + const res = await POST({ + request: signedOnboardingRequest({ email: 'user@example.com', subscription_level: 'Basic' }), + url: new URL(`http://localhost${PATH}`) + } as POSTEvent); + expect(res.status).toBe(429); + expect(await res.json()).toEqual({ message: 'rate limit exceeded' }); + }); +}); diff --git a/src/routes/api/v2/categories/+server.ts b/src/routes/api/v2/categories/+server.ts new file mode 100644 index 0000000..44bf44b --- /dev/null +++ b/src/routes/api/v2/categories/+server.ts @@ -0,0 +1,9 @@ +import type { RequestHandler } from './$types'; +import { prisma } from '$lib/db'; +import { jsonOk } from '$lib/server/v2-helpers'; +import { serializeCategory } from '$lib/server/v2-serializers'; + +export const GET: RequestHandler = async () => { + const categories = await prisma.proclamationCategory.findMany(); + return jsonOk(categories.map(serializeCategory)); +}; diff --git a/src/routes/api/v2/color-palettes/+server.ts b/src/routes/api/v2/color-palettes/+server.ts new file mode 100644 index 0000000..15e01a4 --- /dev/null +++ b/src/routes/api/v2/color-palettes/+server.ts @@ -0,0 +1,16 @@ +import type { RequestHandler } from './$types'; +import { prisma } from '$lib/db'; +import { jsonOk } from '$lib/server/v2-helpers'; +import { CANONICAL_FREQUENCIES, CANONICAL_PALETTES } from '$lib/server/v2-serializers'; + +export const GET: RequestHandler = async () => { + const rows = await prisma.colorPalette.findMany(); + const byId = new Map(rows.map((r) => [r.solfeggioFrequencyId, r.colors as unknown as string[]])); + + const palettes = CANONICAL_FREQUENCIES.map((f) => ({ + solfeggioFrequencyId: f.id, + colors: byId.get(f.id) ?? CANONICAL_PALETTES[f.id] + })); + + return jsonOk(palettes); +}; diff --git a/src/routes/api/v2/frequencies/+server.ts b/src/routes/api/v2/frequencies/+server.ts new file mode 100644 index 0000000..b0731f5 --- /dev/null +++ b/src/routes/api/v2/frequencies/+server.ts @@ -0,0 +1,7 @@ +import type { RequestHandler } from './$types'; +import { jsonOk } from '$lib/server/v2-helpers'; +import { CANONICAL_FREQUENCIES } from '$lib/server/v2-serializers'; + +export const GET: RequestHandler = async () => { + return jsonOk(CANONICAL_FREQUENCIES); +}; diff --git a/src/routes/api/v2/license/+server.ts b/src/routes/api/v2/license/+server.ts new file mode 100644 index 0000000..4ab6518 --- /dev/null +++ b/src/routes/api/v2/license/+server.ts @@ -0,0 +1,65 @@ +import { error } from '@sveltejs/kit'; +import type { RequestHandler } from './$types'; +import { prisma } from '$lib/db'; +import { clientIp, jsonOk, rateLimited, readJsonBody } from '$lib/server/v2-helpers'; +import { rateLimit } from '$lib/server/v2-rate-limit'; +import { serializeLicense } from '$lib/server/v2-serializers'; + +const LICENSE_KEY_RE = /^[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}$/; + +export const POST: RequestHandler = async ({ request }) => { + const ip = clientIp(request); + const rl = rateLimit({ key: `license:${ip}`, limit: 10, windowMs: 60_000 }); + if (!rl.ok) { + return rateLimited(rl.retryAfterMs); + } + + const body = (await readJsonBody(request)) as Record; + const licenseKey = typeof body.license_key === 'string' ? body.license_key.trim() : ''; + const email = + typeof body.email_address === 'string' ? body.email_address.trim().toLowerCase() : ''; + + if (!licenseKey) { + throw error(400, 'license_key is required'); + } + if (!email) { + throw error(400, 'email_address is required'); + } + if (email.length > 254 || !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) { + throw error(400, 'email_address is required'); + } + if (!LICENSE_KEY_RE.test(licenseKey)) { + throw error(400, 'license key not found'); + } + + const storedKey = await prisma.licenseKey.findFirst({ + where: { key: licenseKey } + }); + if (!storedKey) { + throw error(400, 'license key not found'); + } + if (!storedKey.active) { + throw error(400, 'license key is not active'); + } + + const userAccount = await prisma.user.findUnique({ where: { email } }); + if (!userAccount) { + throw error(400, 'user does not exist'); + } + if (storedKey.userId !== userAccount.id) { + throw error(400, 'key does not belong to specified user'); + } + + const level = await prisma.subscriptionLevel.findFirst({ + where: { name: storedKey.level } + }); + + return jsonOk( + serializeLicense({ + key: storedKey.key, + emailAddress: email, + levelName: storedKey.level, + level + }) + ); +}; diff --git a/src/routes/api/v2/license/server.spec.ts b/src/routes/api/v2/license/server.spec.ts new file mode 100644 index 0000000..710283f --- /dev/null +++ b/src/routes/api/v2/license/server.spec.ts @@ -0,0 +1,167 @@ +import { describe, it, expect, vi, beforeEach } from 'vitest'; +import { isHttpError } from '@sveltejs/kit'; +import { _clearRateLimits } from '$lib/server/v2-rate-limit'; + +vi.mock('$lib/db', () => ({ + prisma: { + licenseKey: { findFirst: vi.fn() }, + user: { findUnique: vi.fn() }, + subscriptionLevel: { findFirst: vi.fn() } + } +})); + +import { prisma } from '$lib/db'; +import { POST } from './+server'; + +type POSTEvent = Parameters[0]; + +const mockKeyFindFirst = prisma.licenseKey.findFirst as ReturnType; +const mockUserFindUnique = prisma.user.findUnique as ReturnType; +const mockLevelFindFirst = prisma.subscriptionLevel.findFirst as ReturnType; + +function licenseRequest(body: unknown): Request { + return new Request('http://localhost/api/v2/license', { + method: 'POST', + headers: { 'content-type': 'application/json' }, + body: JSON.stringify(body) + }); +} + +async function expectHttpError(promise: unknown, status: number, message: string) { + try { + await promise; + } catch (e) { + expect(isHttpError(e)).toBe(true); + const err = e as { status: number; body: { message: string } }; + expect(err.status).toBe(status); + expect(err.body.message).toBe(message); + return; + } + throw new Error('expected handler to throw an HttpError'); +} + +const storedKey = { + id: 'key-1', + key: 'ABCD-EFGH-IJKL-MNOP', + active: true, + level: 'Advanced', + userId: 'user-1' +}; + +describe('POST /api/v2/license', () => { + beforeEach(() => { + vi.clearAllMocks(); + _clearRateLimits(); + }); + + it('returns the subscription_level object for a valid key', async () => { + mockKeyFindFirst.mockResolvedValue(storedKey); + mockUserFindUnique.mockResolvedValue({ id: 'user-1', email: 'user@example.com' }); + mockLevelFindFirst.mockResolvedValue({ + id: 2, + name: 'Advanced', + description: 'General + Specific' + }); + + const res = await POST({ + request: licenseRequest({ license_key: storedKey.key, email_address: 'user@example.com' }) + } as POSTEvent); + + expect(res.status).toBe(200); + expect(await res.json()).toEqual({ + key: storedKey.key, + email_address: 'user@example.com', + subscription_level: { id: 2, name: 'Advanced', description: 'General + Specific' } + }); + }); + + it('falls back to a structurally consistent subscription_level for an unknown level name', async () => { + mockKeyFindFirst.mockResolvedValue({ ...storedKey, level: 'SomeCustomLevel' }); + mockUserFindUnique.mockResolvedValue({ id: 'user-1', email: 'user@example.com' }); + mockLevelFindFirst.mockResolvedValue(null); + + const res = await POST({ + request: licenseRequest({ license_key: storedKey.key, email_address: 'user@example.com' }) + } as POSTEvent); + + expect(res.status).toBe(200); + expect(await res.json()).toEqual({ + key: storedKey.key, + email_address: 'user@example.com', + subscription_level: { id: null, name: 'SomeCustomLevel', description: null } + }); + }); + + it('rejects a missing license_key', async () => { + await expectHttpError( + POST({ request: licenseRequest({ email_address: 'user@example.com' }) } as POSTEvent), + 400, + 'license_key is required' + ); + }); + + it('rejects a missing email_address', async () => { + await expectHttpError( + POST({ request: licenseRequest({ license_key: storedKey.key }) } as POSTEvent), + 400, + 'email_address is required' + ); + }); + + it('rejects an unknown key', async () => { + mockKeyFindFirst.mockResolvedValue(null); + await expectHttpError( + POST({ + request: licenseRequest({ license_key: storedKey.key, email_address: 'user@example.com' }) + } as POSTEvent), + 400, + 'license key not found' + ); + }); + + it('rejects an inactive key', async () => { + mockKeyFindFirst.mockResolvedValue({ ...storedKey, active: false }); + await expectHttpError( + POST({ + request: licenseRequest({ license_key: storedKey.key, email_address: 'user@example.com' }) + } as POSTEvent), + 400, + 'license key is not active' + ); + }); + + it('rejects a nonexistent user', async () => { + mockKeyFindFirst.mockResolvedValue(storedKey); + mockUserFindUnique.mockResolvedValue(null); + await expectHttpError( + POST({ + request: licenseRequest({ license_key: storedKey.key, email_address: 'nobody@example.com' }) + } as POSTEvent), + 400, + 'user does not exist' + ); + }); + + it('rejects a key owned by a different user', async () => { + mockKeyFindFirst.mockResolvedValue(storedKey); + mockUserFindUnique.mockResolvedValue({ id: 'user-2', email: 'other@example.com' }); + await expectHttpError( + POST({ + request: licenseRequest({ license_key: storedKey.key, email_address: 'other@example.com' }) + } as POSTEvent), + 400, + 'key does not belong to specified user' + ); + }); + + it('rejects a malformed license key format', async () => { + await expectHttpError( + POST({ + request: licenseRequest({ license_key: 'not-a-key', email_address: 'user@example.com' }) + } as POSTEvent), + 400, + 'license key not found' + ); + expect(mockKeyFindFirst).not.toHaveBeenCalled(); + }); +}); diff --git a/src/routes/api/v2/proclamations/+server.ts b/src/routes/api/v2/proclamations/+server.ts new file mode 100644 index 0000000..82bdc76 --- /dev/null +++ b/src/routes/api/v2/proclamations/+server.ts @@ -0,0 +1,72 @@ +import { error } from '@sveltejs/kit'; +import type { RequestHandler } from './$types'; +import { prisma } from '$lib/db'; +import { jsonOk } from '$lib/server/v2-helpers'; +import { + canonicalIdForFrequency, + serializeProclamation, + type ProclamationWithFrequency +} from '$lib/server/v2-serializers'; + +const PROCLAMATION_INCLUDE = { solfeggioFrequency: true } as const; + +export const GET: RequestHandler = async ({ request }) => { + const licenseKey = request.headers.get('x-license-key') ?? ''; + const email = request.headers.get('x-email') ?? ''; + + const hasEntitlementHeaders = licenseKey !== '' || email !== ''; + + let proclamations: ProclamationWithFrequency[]; + + if (hasEntitlementHeaders) { + if (licenseKey === '' || email === '') { + throw error(400, 'not-authorized'); + } + + const verifiedKey = await prisma.licenseKey.findUnique({ + where: { key: licenseKey } + }); + if (!verifiedKey) { + throw error(400, 'not-authorized'); + } + + const existingUser = await prisma.user.findUnique({ + where: { email }, + include: { licenseKeys: true } + }); + if (!existingUser) { + throw error(400, 'not-authorized'); + } + + const owned = existingUser.licenseKeys.some((k) => k.key === verifiedKey.key); + if (!owned) { + throw error(400, "this key doesn't appear to belong to you"); + } + + const userProclamations = await prisma.userProclamations.findMany({ + where: { userId: existingUser.id }, + include: { proclamation: { include: PROCLAMATION_INCLUDE } } + }); + + proclamations = userProclamations.map((up) => up.proclamation); + } else { + proclamations = await prisma.proclamation.findMany({ + include: PROCLAMATION_INCLUDE + }); + } + + const paletteRows = await prisma.colorPalette.findMany(); + const palettesByCanonicalId = new Map( + paletteRows.map((p) => [p.solfeggioFrequencyId, p.colors as unknown as string[]]) + ); + + const records = proclamations + .map((p) => { + const canonicalId = canonicalIdForFrequency(p.solfeggioFrequency); + const palette = canonicalId ? palettesByCanonicalId.get(canonicalId) : undefined; + return serializeProclamation(p, palette); + }) + .filter((r) => r !== null); + + return jsonOk(records); +}; diff --git a/src/routes/api/v2/proclamations/server.spec.ts b/src/routes/api/v2/proclamations/server.spec.ts new file mode 100644 index 0000000..3c99eaf --- /dev/null +++ b/src/routes/api/v2/proclamations/server.spec.ts @@ -0,0 +1,177 @@ +import { describe, it, expect, vi, beforeEach } from 'vitest'; +import { isHttpError } from '@sveltejs/kit'; + +vi.mock('$lib/db', () => ({ + prisma: { + proclamation: { findMany: vi.fn() }, + licenseKey: { findUnique: vi.fn() }, + user: { findUnique: vi.fn() }, + userProclamations: { findMany: vi.fn() }, + colorPalette: { findMany: vi.fn() } + } +})); + +import { prisma } from '$lib/db'; +import { GET } from './+server'; + +type GETEvent = Parameters[0]; + +const mockProclamationFindMany = prisma.proclamation.findMany as ReturnType; +const mockLicenseKey = prisma.licenseKey.findUnique as ReturnType; +const mockUser = prisma.user.findUnique as ReturnType; +const mockUserProclamations = prisma.userProclamations.findMany as ReturnType; +const mockColorPalette = prisma.colorPalette.findMany as ReturnType; + +const palettes = [ + { + solfeggioFrequencyId: 5, + colors: ['#32CD32', '#3CB371', '#90EE90', '#98FB98', '#ADFFA9', '#C8FFD2', '#F0FFF0'] + }, + { + solfeggioFrequencyId: 7, + colors: ['#00BFFF', '#1E90FF', '#4169E1', '#6495ED', '#87CEEB', '#ADD8E6', '#F0F8FF'] + } +]; + +const peaceProclamation = { + id: 'b40fdcb9-703c-420e-af32-a081964c6f08', + name: 'Peace & Relaxation', + content: '

The text content

', + categoryId: 5, + subscriptionLevelId: 1, + solfeggioFrequencyId: 5, + solfeggioFrequency: { id: 5, name: 'Solar Plexus', value: 528 } +}; + +const crown936 = { + id: '936-hz-proclamation', + name: 'Crown 936', + content: '

no canonical id

', + categoryId: 4, + subscriptionLevelId: 1, + solfeggioFrequencyId: 1, + solfeggioFrequency: { id: 1, name: 'Crown', value: 936 } +}; + +function getRequest(headers: Record = {}): Request { + return new Request('http://localhost/api/v2/proclamations', { headers }); +} + +async function expectHttpError(promise: unknown, status: number, message: string) { + try { + await promise; + } catch (e) { + expect(isHttpError(e)).toBe(true); + const err = e as { status: number; body: { message: string } }; + expect(err.status).toBe(status); + expect(err.body.message).toBe(message); + return; + } + throw new Error('expected handler to throw an HttpError'); +} + +describe('GET /api/v2/proclamations', () => { + beforeEach(() => { + vi.clearAllMocks(); + }); + + it('returns full proclamation records with canonical ids and embedded palettes', async () => { + mockProclamationFindMany.mockResolvedValue([peaceProclamation]); + mockColorPalette.mockResolvedValue(palettes); + + const res = await GET({ request: getRequest() } as GETEvent); + + expect(res.status).toBe(200); + expect(await res.json()).toEqual([ + { + id: peaceProclamation.id, + name: peaceProclamation.name, + content: peaceProclamation.content, + categoryId: 5, + solfeggioFrequencyId: 5, + subscriptionLevelId: 1, + colorPalette: palettes[0].colors + } + ]); + }); + + it('drops proclamations whose frequency has no canonical id (936 Hz)', async () => { + mockProclamationFindMany.mockResolvedValue([peaceProclamation, crown936]); + mockColorPalette.mockResolvedValue(palettes); + + const res = await GET({ request: getRequest() } as GETEvent); + const body = (await res.json()) as { id: string }[]; + + expect(body).toHaveLength(1); + expect(body[0].id).toBe(peaceProclamation.id); + }); + + it('returns the entitled proclamations as full records when headers are supplied', async () => { + mockLicenseKey.mockResolvedValue({ id: 'key-1', key: 'ABCD-EFGH-IJKL-MNOP' }); + mockUser.mockResolvedValue({ + id: 'user-1', + email: 'user@example.com', + licenseKeys: [{ id: 'key-1', key: 'ABCD-EFGH-IJKL-MNOP' }] + }); + mockUserProclamations.mockResolvedValue([ + { userId: 'user-1', proclamationId: peaceProclamation.id, proclamation: peaceProclamation } + ]); + mockColorPalette.mockResolvedValue(palettes); + + const res = await GET({ + request: getRequest({ + 'x-license-key': 'ABCD-EFGH-IJKL-MNOP', + 'x-email': 'user@example.com' + }) + } as GETEvent); + + expect(res.status).toBe(200); + const body = (await res.json()) as { id: string }[]; + expect(body).toHaveLength(1); + expect(body[0].id).toBe(peaceProclamation.id); + expect(mockUserProclamations).toHaveBeenCalledWith( + expect.objectContaining({ where: { userId: 'user-1' } }) + ); + }); + + it('rejects when only one entitlement header is supplied', async () => { + await expectHttpError( + GET({ request: getRequest({ 'x-license-key': 'ABCD-EFGH-IJKL-MNOP' }) } as GETEvent), + 400, + 'not-authorized' + ); + }); + + it('rejects an unknown license key', async () => { + mockLicenseKey.mockResolvedValue(null); + await expectHttpError( + GET({ + request: getRequest({ + 'x-license-key': 'UNKNOWN-KEY', + 'x-email': 'user@example.com' + }) + } as GETEvent), + 400, + 'not-authorized' + ); + }); + + it('rejects a key that does not belong to the user', async () => { + mockLicenseKey.mockResolvedValue({ id: 'key-2', key: 'OTHER-KEY' }); + mockUser.mockResolvedValue({ + id: 'user-1', + email: 'user@example.com', + licenseKeys: [{ id: 'key-1', key: 'ABCD-EFGH-IJKL-MNOP' }] + }); + await expectHttpError( + GET({ + request: getRequest({ + 'x-license-key': 'OTHER-KEY', + 'x-email': 'user@example.com' + }) + } as GETEvent), + 400, + "this key doesn't appear to belong to you" + ); + }); +}); diff --git a/src/routes/api/v2/subscription-levels/+server.ts b/src/routes/api/v2/subscription-levels/+server.ts new file mode 100644 index 0000000..dd97856 --- /dev/null +++ b/src/routes/api/v2/subscription-levels/+server.ts @@ -0,0 +1,11 @@ +import type { RequestHandler } from './$types'; +import { prisma } from '$lib/db'; +import { jsonOk } from '$lib/server/v2-helpers'; +import { serializeSubscriptionLevel } from '$lib/server/v2-serializers'; + +export const GET: RequestHandler = async () => { + const levels = await prisma.subscriptionLevel.findMany({ + orderBy: { id: 'asc' } + }); + return jsonOk(levels.map(serializeSubscriptionLevel)); +};