@app-vitals/agent-admin 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +43 -0
- package/README.md +72 -2
- package/e2e/agents-page.e2e.ts +338 -0
- package/e2e/chat-degraded.e2e.ts +153 -0
- package/e2e/chat-page.e2e.ts +169 -0
- package/e2e/chat-progress.e2e.ts +206 -0
- package/e2e/chat-thread-page.e2e.ts +444 -0
- package/e2e/login-page.e2e.ts +148 -0
- package/e2e/test-server.ts +427 -0
- package/openapi.json +6098 -0
- package/openapi.platform.json +5553 -0
- package/package.json +64 -4
- package/playwright.config.ts +25 -0
- package/prisma/client/browser.ts +134 -0
- package/prisma/client/client.ts +158 -0
- package/prisma/client/commonInputTypes.ts +578 -0
- package/prisma/client/enums.ts +15 -0
- package/prisma/client/internal/class.ts +424 -0
- package/prisma/client/internal/prismaNamespace.ts +2898 -0
- package/prisma/client/internal/prismaNamespaceBrowser.ts +476 -0
- package/prisma/client/models/Account.ts +1774 -0
- package/prisma/client/models/AccountInvite.ts +1386 -0
- package/prisma/client/models/AccountMember.ts +1351 -0
- package/prisma/client/models/Agent.ts +4554 -0
- package/prisma/client/models/AgentAsk.ts +1373 -0
- package/prisma/client/models/AgentChatTokenUsageDailyByModel.ts +1638 -0
- package/prisma/client/models/AgentCronJob.ts +2416 -0
- package/prisma/client/models/AgentCronRun.ts +2858 -0
- package/prisma/client/models/AgentCronRunModelBreakdown.ts +1532 -0
- package/prisma/client/models/AgentCronRunSkillUsage.ts +1642 -0
- package/prisma/client/models/AgentEnv.ts +1421 -0
- package/prisma/client/models/AgentGitHubInstallationsSnapshot.ts +1289 -0
- package/prisma/client/models/AgentMember.ts +1316 -0
- package/prisma/client/models/AgentPhaseMethodology.ts +1355 -0
- package/prisma/client/models/AgentPlugin.ts +1421 -0
- package/prisma/client/models/AgentToken.ts +1380 -0
- package/prisma/client/models/AgentTool.ts +1351 -0
- package/prisma/client/models/AgentWorkQueueSnapshot.ts +1297 -0
- package/prisma/client/models/ChatThreadWatch.ts +1183 -0
- package/prisma/client/models/PushSubscription.ts +1233 -0
- package/prisma/client/models/SessionAlertState.ts +1187 -0
- package/prisma/client/models/SessionFollow.ts +1187 -0
- package/prisma/client/models/UserNotificationPrefs.ts +1221 -0
- package/prisma/client/models.ts +34 -0
- package/prisma/migrations/20260608000000_init/migration.sql +112 -0
- package/prisma/migrations/20260616000000_agent_members/migration.sql +18 -0
- package/prisma/migrations/20260624000000_add_agent_self_hosted/migration.sql +2 -0
- package/prisma/migrations/20260624120000_add_agent_repos/migration.sql +3 -0
- package/prisma/migrations/20260625000000_add_agent_cron_run/migration.sql +26 -0
- package/prisma/migrations/20260626000000_add_cron_run_token_fields/migration.sql +10 -0
- package/prisma/migrations/20260627000000_add_agent_chat_token_usage_daily/migration.sql +18 -0
- package/prisma/migrations/20260627010000_add_agent_chat_token_usage_fk/migration.sql +2 -0
- package/prisma/migrations/20260701000000_add_chat_threads_messages/migration.sql +37 -0
- package/prisma/migrations/20260701010000_drop_chat_threads_messages/migration.sql +17 -0
- package/prisma/migrations/20260701020000_add_cron_run_model_breakdown/migration.sql +23 -0
- package/prisma/migrations/20260701020000_chat_token_by_model/migration.sql +25 -0
- package/prisma/migrations/20260701030000_add_secret_flag_to_agent_env/migration.sql +2 -0
- package/prisma/migrations/20260701030000_drop_cron_run_legacy_columns/migration.sql +5 -0
- package/prisma/migrations/20260706000000_consolidate_cron_run_token_accounting/migration.sql +54 -0
- package/prisma/migrations/20260709000000_add_phase_to_agent_cron_run/migration.sql +8 -0
- package/prisma/migrations/20260717000000_add_item_tracking_to_agent_cron_run/migration.sql +10 -0
- package/prisma/migrations/20260717010000_add_agent_work_queue_snapshot/migration.sql +20 -0
- package/prisma/migrations/20260718000000_add_cron_phase_columns/migration.sql +25 -0
- package/prisma/migrations/20260718100000_drop_agent_cron_run_phase_column/migration.sql +8 -0
- package/prisma/migrations/20260724000000_add_agent_type_name/migration.sql +3 -0
- package/prisma/migrations/20260725232433_add_agent_author_allowlist/migration.sql +2 -0
- package/prisma/migrations/20260727120000_add_not_null_to_agent_author_allowlist/migration.sql +3 -0
- package/prisma/migrations/20260731000000_add_session_id_to_agent_cron_run/migration.sql +2 -0
- package/prisma/migrations/20260821000000_add_agent_restrict_slack_to_members/migration.sql +3 -0
- package/prisma/migrations/20260901000000_add_push_subscription_and_chat_thread_watch/migration.sql +40 -0
- package/prisma/migrations/20260903000000_add_agent_patch_author_allowlist/migration.sql +2 -0
- package/prisma/migrations/20260903120000_add_agent_review_author_allowlist/migration.sql +18 -0
- package/prisma/migrations/20260903150000_drop_agent_author_allowlist/migration.sql +14 -0
- package/prisma/migrations/20260905000000_add_started_at_index_to_agent_cron_run/migration.sql +11 -0
- package/prisma/migrations/20260906000000_add_session_follow_notification_prefs_alert_state/migration.sql +47 -0
- package/prisma/migrations/20260911000000_backfill_auto_follow_since/migration.sql +16 -0
- package/prisma/migrations/20260923115814_add_last_heartbeat_at_to_agent_cron_run/migration.sql +2 -0
- package/prisma/migrations/20260924120000_add_trial_expiry_fields_to_agent/migration.sql +6 -0
- package/prisma/migrations/20260929000000_add_agent_phase_methodology/migration.sql +21 -0
- package/prisma/migrations/20260929120000_add_agent_policy_fields/migration.sql +15 -0
- package/prisma/migrations/20261005000000_add_agent_github_installations_snapshot/migration.sql +21 -0
- package/prisma/migrations/20261008000000_add_cron_run_telemetry/migration.sql +50 -0
- package/prisma/migrations/20261008010000_add_account_models/migration.sql +48 -0
- package/prisma/migrations/20261008020000_add_cron_lockdown_disabled_at/migration.sql +3 -0
- package/prisma/migrations/20261009000000_chat_token_usage_bigint/migration.sql +7 -0
- package/prisma/migrations/20261010000000_add_cron_run_command_variant/migration.sql +2 -0
- package/prisma/migrations/20261019000000_add_agent_anthropic_identity/migration.sql +9 -0
- package/prisma/migrations/20261025000000_add_agent_ask/migration.sql +23 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema/coding.prisma +85 -0
- package/prisma/schema/schema.prisma +506 -0
- package/prisma.config.ts +34 -0
- package/pwa-assets/icons/apple-touch-icon.png +0 -0
- package/pwa-assets/icons/favicon-32.png +0 -0
- package/pwa-assets/icons/icon-192.png +0 -0
- package/pwa-assets/icons/icon-512.png +0 -0
- package/pwa-assets/icons/icon-maskable-192.png +0 -0
- package/pwa-assets/icons/icon-maskable-512.png +0 -0
- package/src/account-agent-create.ts +42 -0
- package/src/account-agent-create.unit.test.ts +28 -0
- package/src/account-created-notifier.ts +71 -0
- package/src/account-created-notifier.unit.test.ts +70 -0
- package/src/account-email.ts +9 -0
- package/src/account-email.unit.test.ts +21 -0
- package/src/account-invites.ts +70 -0
- package/src/account-lifecycle.integration.test.ts +329 -0
- package/src/account-lifecycle.ts +206 -0
- package/src/account-lifecycle.unit.test.ts +108 -0
- package/src/account-members.ts +128 -0
- package/src/account-onboarding.integration.test.ts +101 -0
- package/src/account-onboarding.ts +95 -0
- package/src/account-trial-expiry-sweeper.ts +85 -0
- package/src/account-trial-warning-sweeper.integration.test.ts +228 -0
- package/src/account-trial-warning-sweeper.ts +216 -0
- package/src/accounts-api.integration.test.ts +196 -0
- package/src/accounts-api.smoke.test.ts +292 -0
- package/src/accounts-api.ts +289 -0
- package/src/accounts-api.unit.test.ts +93 -0
- package/src/accounts.integration.test.ts +178 -0
- package/src/accounts.ts +208 -0
- package/src/admin-boot-config.ts +574 -0
- package/src/admin-boot-config.unit.test.ts +28 -0
- package/src/admin-boot.boot-order.unit.test.ts +91 -0
- package/src/admin-boot.ts +690 -0
- package/src/admin-dev-login.smoke.test.ts +317 -0
- package/src/admin-extension.ts +432 -0
- package/src/admin-extension.unit.test.ts +532 -0
- package/src/admin-local-agent.smoke.test.ts +1643 -0
- package/src/admin-spec.smoke.test.ts +96 -0
- package/src/admin-spec.ts +186 -0
- package/src/admin-ui-account-nav.ts +20 -0
- package/src/admin-ui-account-pages.ts +131 -0
- package/src/admin-ui-account-pages.unit.test.ts +112 -0
- package/src/admin-ui-account.smoke.test.ts +286 -0
- package/src/admin-ui-account.ts +185 -0
- package/src/admin-ui-accounts-pages.ts +202 -0
- package/src/admin-ui-accounts-pages.unit.test.ts +138 -0
- package/src/admin-ui-accounts.smoke.test.ts +434 -0
- package/src/admin-ui-accounts.ts +266 -0
- package/src/admin-ui-layout.ts +60 -0
- package/src/admin-ui-layout.unit.test.ts +140 -0
- package/src/admin-ui-pages.ts +3489 -0
- package/src/admin-ui-pages.unit.test.ts +4355 -0
- package/src/admin-ui-push-test.smoke.test.ts +125 -0
- package/src/admin-ui-push-test.ts +102 -0
- package/src/admin-ui-styles.ts +656 -0
- package/src/admin-ui-styles.unit.test.ts +103 -0
- package/src/admin-ui.fixtures.ts +457 -0
- package/src/admin-ui.smoke.test.ts +7227 -0
- package/src/admin-ui.ts +3824 -0
- package/src/agent-account-assignment.ts +49 -0
- package/src/agent-account-assignment.unit.test.ts +99 -0
- package/src/agent-anthropic-identity.integration.test.ts +99 -0
- package/src/agent-anthropic-identity.ts +78 -0
- package/src/agent-anthropic-identity.unit.test.ts +77 -0
- package/src/agent-ask-config.ts +59 -0
- package/src/agent-ask-config.unit.test.ts +70 -0
- package/src/agent-ask.integration.test.ts +175 -0
- package/src/agent-ask.smoke.test.ts +457 -0
- package/src/agent-ask.ts +378 -0
- package/src/agent-chat-tokens.integration.test.ts +420 -0
- package/src/agent-chat-tokens.smoke.test.ts +551 -0
- package/src/agent-chat-tokens.ts +259 -0
- package/src/agent-cron-jobs.integration.test.ts +582 -0
- package/src/agent-cron-jobs.ts +615 -0
- package/src/agent-cron-jobs.unit.test.ts +420 -0
- package/src/agent-cron-run-stats.integration.test.ts +1551 -0
- package/src/agent-cron-run-stats.smoke.test.ts +953 -0
- package/src/agent-cron-run-stats.ts +752 -0
- package/src/agent-cron-runs.integration.test.ts +1491 -0
- package/src/agent-cron-runs.ts +489 -0
- package/src/agent-deletion-checklist.ts +128 -0
- package/src/agent-deletion-checklist.unit.test.ts +201 -0
- package/src/agent-deletion-per-agent.integration.test.ts +323 -0
- package/src/agent-deletion.integration.test.ts +323 -0
- package/src/agent-deletion.ts +329 -0
- package/src/agent-deletion.unit.test.ts +412 -0
- package/src/agent-envs.integration.test.ts +323 -0
- package/src/agent-envs.ts +244 -0
- package/src/agent-github-installations.integration.test.ts +115 -0
- package/src/agent-github-installations.ts +52 -0
- package/src/agent-manifest.ts +685 -0
- package/src/agent-manifest.unit.test.ts +870 -0
- package/src/agent-members.ts +69 -0
- package/src/agent-members.unit.test.ts +250 -0
- package/src/agent-patch-author-allowlist.integration.test.ts +218 -0
- package/src/agent-plugins.integration.test.ts +157 -0
- package/src/agent-plugins.ts +95 -0
- package/src/agent-plugins.unit.test.ts +43 -0
- package/src/agent-provisioner-per-agent.integration.test.ts +949 -0
- package/src/agent-provisioner.integration.test.ts +1245 -0
- package/src/agent-provisioner.ts +1650 -0
- package/src/agent-provisioner.unit.test.ts +1852 -0
- package/src/agent-tokens.integration.test.ts +150 -0
- package/src/agent-tokens.ts +112 -0
- package/src/agent-tools.integration.test.ts +129 -0
- package/src/agent-tools.ts +111 -0
- package/src/agents-api.integration.test.ts +705 -0
- package/src/agents-api.sentry.smoke.test.ts +478 -0
- package/src/agents-api.smoke.test.ts +5986 -0
- package/src/agents-api.ts +2826 -0
- package/src/agents.integration.test.ts +512 -0
- package/src/agents.ts +1097 -0
- package/src/agents.unit.test.ts +1736 -0
- package/src/anthropic-credential-guard.ts +44 -0
- package/src/anthropic-credential-guard.unit.test.ts +88 -0
- package/src/anthropic-federated-token-provider.integration.test.ts +248 -0
- package/src/anthropic-federated-token-provider.ts +249 -0
- package/src/anthropic-identity-client.fixtures.ts +237 -0
- package/src/anthropic-identity-client.integration.test.ts +342 -0
- package/src/anthropic-identity-client.ts +473 -0
- package/src/anthropic-identity-fixture-spec.integration.test.ts +169 -0
- package/src/anthropic-identity-name.integration.test.ts +83 -0
- package/src/anthropic-identity-name.ts +163 -0
- package/src/anthropic-identity-name.unit.test.ts +345 -0
- package/src/anthropic-openapi-contract.fixtures.ts +192 -0
- package/src/api-auth.ts +383 -0
- package/src/api-auth.unit.test.ts +837 -0
- package/src/api.smoke.test.ts +1225 -0
- package/src/api.ts +376 -0
- package/src/attachment-validation.ts +124 -0
- package/src/attachment-validation.unit.test.ts +218 -0
- package/src/caller-scope.ts +131 -0
- package/src/caller-scope.unit.test.ts +116 -0
- package/src/chat-credential-config.ts +22 -0
- package/src/chat-credentials-logging.unit.test.ts +92 -0
- package/src/chat-markers.ts +114 -0
- package/src/chat-markers.unit.test.ts +116 -0
- package/src/chat-service-provisioning-client.integration.test.ts +412 -0
- package/src/chat-service-provisioning-client.ts +221 -0
- package/src/chat.smoke.test.ts +1875 -0
- package/src/clock.ts +47 -0
- package/src/coding-task-store-provisioning-client.integration.test.ts +372 -0
- package/src/coding-task-store-provisioning-client.ts +156 -0
- package/src/crypto.ts +83 -0
- package/src/dev-auth-guard.ts +29 -0
- package/src/dev-auth-guard.unit.test.ts +51 -0
- package/src/errors.ts +77 -0
- package/src/errors.unit.test.ts +52 -0
- package/src/fixtures/anthropic-identity-recorded-fixtures.json +850 -0
- package/src/fixtures/anthropic-openapi/SDK_VERSION +1 -0
- package/src/fixtures/anthropic-openapi/mock-spec.json.gz +0 -0
- package/src/fixtures/chat-service-provisioning-cassette.json +156 -0
- package/src/fixtures/github-app-manifest-cassette.json +44 -0
- package/src/fixtures/google-auth-cassette.json +36 -0
- package/src/fixtures/http-chat-client-cassette.json +226 -0
- package/src/fixtures/k8s-cassette.json +470 -0
- package/src/fixtures/okta-auth-cassette.json +36 -0
- package/src/fixtures/slack-provision-cassette.json +12 -0
- package/src/fixtures/slack-provisioning-http-cassette.json +98 -0
- package/src/fixtures/task-store-provisioning-cassette.json +85 -0
- package/src/github-app-provisioning-client.integration.test.ts +149 -0
- package/src/github-app-provisioning-client.ts +161 -0
- package/src/github-app-provisioning-client.unit.test.ts +114 -0
- package/src/github-provisioning-service.ts +569 -0
- package/src/github-provisioning-service.unit.test.ts +123 -0
- package/src/google-auth-client.integration.test.ts +195 -0
- package/src/google-auth-client.ts +121 -0
- package/src/http-chat-client.integration.test.ts +554 -0
- package/src/http-chat-client.ts +533 -0
- package/src/http-chat-client.unit.test.ts +119 -0
- package/src/import-boundary.unit.test.ts +240 -0
- package/src/kubernetes-client.integration.test.ts +697 -0
- package/src/kubernetes-client.ts +1027 -0
- package/src/kubernetes-client.unit.test.ts +726 -0
- package/src/main.smoke.test.ts +91 -0
- package/src/main.ts +21 -0
- package/src/main.unit.test.ts +801 -0
- package/src/okta-auth-client.integration.test.ts +263 -0
- package/src/okta-auth-client.ts +152 -0
- package/src/openapi-schemas.ts +1310 -0
- package/src/openapi-schemas.unit.test.ts +348 -0
- package/src/per-agent-identity.fixtures.ts +305 -0
- package/src/platform-doc-route.ts +40 -0
- package/src/prisma-client.integration.test.ts +57 -0
- package/src/prisma-client.ts +187 -0
- package/src/prisma-client.unit.test.ts +178 -0
- package/src/prisma-tx.ts +23 -0
- package/src/push-content.ts +177 -0
- package/src/push-content.unit.test.ts +213 -0
- package/src/push-crypto.ts +135 -0
- package/src/push-crypto.unit.test.ts +66 -0
- package/src/push-sender.ts +169 -0
- package/src/push-sender.unit.test.ts +107 -0
- package/src/push-service.ts +332 -0
- package/src/push-service.unit.test.ts +679 -0
- package/src/push-toggle.ts +135 -0
- package/src/push-toggle.unit.test.ts +78 -0
- package/src/pwa-https-gating.smoke.test.ts +229 -0
- package/src/pwa-icons.unit.test.ts +41 -0
- package/src/pwa-routes.smoke.test.ts +276 -0
- package/src/pwa.ts +380 -0
- package/src/pwa.unit.test.ts +321 -0
- package/src/schema.unit.test.ts +122 -0
- package/src/self-serve-config.ts +52 -0
- package/src/self-serve-config.unit.test.ts +79 -0
- package/src/server.smoke.test.ts +273 -0
- package/src/server.ts +50 -0
- package/src/service-integration.ts +67 -0
- package/src/service-integration.unit.test.ts +129 -0
- package/src/slack-provisioning-client.integration.test.ts +308 -0
- package/src/slack-provisioning-client.ts +411 -0
- package/src/slack-provisioning-client.unit.test.ts +80 -0
- package/src/slack-provisioning-service.integration.test.ts +637 -0
- package/src/slack-provisioning-service.ts +451 -0
- package/src/slack-provisioning.integration.test.ts +395 -0
- package/src/specialty-manifest-loader.fixture.integration.test.ts +63 -0
- package/src/specialty-manifest-loader.ts +255 -0
- package/src/specialty-manifest-loader.unit.test.ts +301 -0
- package/src/specialty-registry.schema.unit.test.ts +35 -0
- package/src/specialty-registry.ts +236 -0
- package/src/specialty-registry.unit.test.ts +272 -0
- package/src/startup-policy-reconcile.ts +77 -0
- package/src/startup-policy-reconcile.unit.test.ts +251 -0
- package/src/theme-tokens.json +12 -0
- package/src/token-crypto.ts +60 -0
- package/src/token-crypto.unit.test.ts +182 -0
- package/src/trial-expiry-sweeper.integration.test.ts +318 -0
- package/src/trial-expiry-sweeper.ts +132 -0
- package/src/trial-expiry-sweeper.unit.test.ts +391 -0
- package/src/trial-expiry-warning-sweeper.integration.test.ts +468 -0
- package/src/trial-expiry-warning-sweeper.ts +447 -0
- package/src/trial-expiry-warning-sweeper.unit.test.ts +148 -0
- package/src/voice-contract.unit.test.ts +102 -0
- package/tsconfig.json +9 -0
|
@@ -0,0 +1,1183 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `ChatThreadWatch` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model ChatThreadWatch
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type ChatThreadWatchModel = runtime.Types.Result.DefaultSelection<Prisma.$ChatThreadWatchPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateChatThreadWatch = {
|
|
22
|
+
_count: ChatThreadWatchCountAggregateOutputType | null
|
|
23
|
+
_min: ChatThreadWatchMinAggregateOutputType | null
|
|
24
|
+
_max: ChatThreadWatchMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type ChatThreadWatchMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
userEmail: string | null
|
|
30
|
+
threadId: string | null
|
|
31
|
+
agentId: string | null
|
|
32
|
+
createdAt: Date | null
|
|
33
|
+
updatedAt: Date | null
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type ChatThreadWatchMaxAggregateOutputType = {
|
|
37
|
+
id: string | null
|
|
38
|
+
userEmail: string | null
|
|
39
|
+
threadId: string | null
|
|
40
|
+
agentId: string | null
|
|
41
|
+
createdAt: Date | null
|
|
42
|
+
updatedAt: Date | null
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type ChatThreadWatchCountAggregateOutputType = {
|
|
46
|
+
id: number
|
|
47
|
+
userEmail: number
|
|
48
|
+
threadId: number
|
|
49
|
+
agentId: number
|
|
50
|
+
createdAt: number
|
|
51
|
+
updatedAt: number
|
|
52
|
+
_all: number
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
export type ChatThreadWatchMinAggregateInputType = {
|
|
57
|
+
id?: true
|
|
58
|
+
userEmail?: true
|
|
59
|
+
threadId?: true
|
|
60
|
+
agentId?: true
|
|
61
|
+
createdAt?: true
|
|
62
|
+
updatedAt?: true
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export type ChatThreadWatchMaxAggregateInputType = {
|
|
66
|
+
id?: true
|
|
67
|
+
userEmail?: true
|
|
68
|
+
threadId?: true
|
|
69
|
+
agentId?: true
|
|
70
|
+
createdAt?: true
|
|
71
|
+
updatedAt?: true
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export type ChatThreadWatchCountAggregateInputType = {
|
|
75
|
+
id?: true
|
|
76
|
+
userEmail?: true
|
|
77
|
+
threadId?: true
|
|
78
|
+
agentId?: true
|
|
79
|
+
createdAt?: true
|
|
80
|
+
updatedAt?: true
|
|
81
|
+
_all?: true
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type ChatThreadWatchAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
85
|
+
/**
|
|
86
|
+
* Filter which ChatThreadWatch to aggregate.
|
|
87
|
+
*/
|
|
88
|
+
where?: Prisma.ChatThreadWatchWhereInput
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
91
|
+
*
|
|
92
|
+
* Determine the order of ChatThreadWatches to fetch.
|
|
93
|
+
*/
|
|
94
|
+
orderBy?: Prisma.ChatThreadWatchOrderByWithRelationInput | Prisma.ChatThreadWatchOrderByWithRelationInput[]
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
97
|
+
*
|
|
98
|
+
* Sets the start position
|
|
99
|
+
*/
|
|
100
|
+
cursor?: Prisma.ChatThreadWatchWhereUniqueInput
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
103
|
+
*
|
|
104
|
+
* Take `±n` ChatThreadWatches from the position of the cursor.
|
|
105
|
+
*/
|
|
106
|
+
take?: number
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109
|
+
*
|
|
110
|
+
* Skip the first `n` ChatThreadWatches.
|
|
111
|
+
*/
|
|
112
|
+
skip?: number
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
+
*
|
|
116
|
+
* Count returned ChatThreadWatches
|
|
117
|
+
**/
|
|
118
|
+
_count?: true | ChatThreadWatchCountAggregateInputType
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Select which fields to find the minimum value
|
|
123
|
+
**/
|
|
124
|
+
_min?: ChatThreadWatchMinAggregateInputType
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
+
*
|
|
128
|
+
* Select which fields to find the maximum value
|
|
129
|
+
**/
|
|
130
|
+
_max?: ChatThreadWatchMaxAggregateInputType
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export type GetChatThreadWatchAggregateType<T extends ChatThreadWatchAggregateArgs> = {
|
|
134
|
+
[P in keyof T & keyof AggregateChatThreadWatch]: P extends '_count' | 'count'
|
|
135
|
+
? T[P] extends true
|
|
136
|
+
? number
|
|
137
|
+
: Prisma.GetScalarType<T[P], AggregateChatThreadWatch[P]>
|
|
138
|
+
: Prisma.GetScalarType<T[P], AggregateChatThreadWatch[P]>
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
export type ChatThreadWatchGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
145
|
+
where?: Prisma.ChatThreadWatchWhereInput
|
|
146
|
+
orderBy?: Prisma.ChatThreadWatchOrderByWithAggregationInput | Prisma.ChatThreadWatchOrderByWithAggregationInput[]
|
|
147
|
+
by: Prisma.ChatThreadWatchScalarFieldEnum[] | Prisma.ChatThreadWatchScalarFieldEnum
|
|
148
|
+
having?: Prisma.ChatThreadWatchScalarWhereWithAggregatesInput
|
|
149
|
+
take?: number
|
|
150
|
+
skip?: number
|
|
151
|
+
_count?: ChatThreadWatchCountAggregateInputType | true
|
|
152
|
+
_min?: ChatThreadWatchMinAggregateInputType
|
|
153
|
+
_max?: ChatThreadWatchMaxAggregateInputType
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export type ChatThreadWatchGroupByOutputType = {
|
|
157
|
+
id: string
|
|
158
|
+
userEmail: string
|
|
159
|
+
threadId: string
|
|
160
|
+
agentId: string
|
|
161
|
+
createdAt: Date
|
|
162
|
+
updatedAt: Date
|
|
163
|
+
_count: ChatThreadWatchCountAggregateOutputType | null
|
|
164
|
+
_min: ChatThreadWatchMinAggregateOutputType | null
|
|
165
|
+
_max: ChatThreadWatchMaxAggregateOutputType | null
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export type GetChatThreadWatchGroupByPayload<T extends ChatThreadWatchGroupByArgs> = Prisma.PrismaPromise<
|
|
169
|
+
Array<
|
|
170
|
+
Prisma.PickEnumerable<ChatThreadWatchGroupByOutputType, T['by']> &
|
|
171
|
+
{
|
|
172
|
+
[P in ((keyof T) & (keyof ChatThreadWatchGroupByOutputType))]: P extends '_count'
|
|
173
|
+
? T[P] extends boolean
|
|
174
|
+
? number
|
|
175
|
+
: Prisma.GetScalarType<T[P], ChatThreadWatchGroupByOutputType[P]>
|
|
176
|
+
: Prisma.GetScalarType<T[P], ChatThreadWatchGroupByOutputType[P]>
|
|
177
|
+
}
|
|
178
|
+
>
|
|
179
|
+
>
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
export type ChatThreadWatchWhereInput = {
|
|
184
|
+
AND?: Prisma.ChatThreadWatchWhereInput | Prisma.ChatThreadWatchWhereInput[]
|
|
185
|
+
OR?: Prisma.ChatThreadWatchWhereInput[]
|
|
186
|
+
NOT?: Prisma.ChatThreadWatchWhereInput | Prisma.ChatThreadWatchWhereInput[]
|
|
187
|
+
id?: Prisma.StringFilter<"ChatThreadWatch"> | string
|
|
188
|
+
userEmail?: Prisma.StringFilter<"ChatThreadWatch"> | string
|
|
189
|
+
threadId?: Prisma.StringFilter<"ChatThreadWatch"> | string
|
|
190
|
+
agentId?: Prisma.StringFilter<"ChatThreadWatch"> | string
|
|
191
|
+
createdAt?: Prisma.DateTimeFilter<"ChatThreadWatch"> | Date | string
|
|
192
|
+
updatedAt?: Prisma.DateTimeFilter<"ChatThreadWatch"> | Date | string
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export type ChatThreadWatchOrderByWithRelationInput = {
|
|
196
|
+
id?: Prisma.SortOrder
|
|
197
|
+
userEmail?: Prisma.SortOrder
|
|
198
|
+
threadId?: Prisma.SortOrder
|
|
199
|
+
agentId?: Prisma.SortOrder
|
|
200
|
+
createdAt?: Prisma.SortOrder
|
|
201
|
+
updatedAt?: Prisma.SortOrder
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export type ChatThreadWatchWhereUniqueInput = Prisma.AtLeast<{
|
|
205
|
+
id?: string
|
|
206
|
+
userEmail_threadId?: Prisma.ChatThreadWatchUserEmailThreadIdCompoundUniqueInput
|
|
207
|
+
AND?: Prisma.ChatThreadWatchWhereInput | Prisma.ChatThreadWatchWhereInput[]
|
|
208
|
+
OR?: Prisma.ChatThreadWatchWhereInput[]
|
|
209
|
+
NOT?: Prisma.ChatThreadWatchWhereInput | Prisma.ChatThreadWatchWhereInput[]
|
|
210
|
+
userEmail?: Prisma.StringFilter<"ChatThreadWatch"> | string
|
|
211
|
+
threadId?: Prisma.StringFilter<"ChatThreadWatch"> | string
|
|
212
|
+
agentId?: Prisma.StringFilter<"ChatThreadWatch"> | string
|
|
213
|
+
createdAt?: Prisma.DateTimeFilter<"ChatThreadWatch"> | Date | string
|
|
214
|
+
updatedAt?: Prisma.DateTimeFilter<"ChatThreadWatch"> | Date | string
|
|
215
|
+
}, "id" | "userEmail_threadId">
|
|
216
|
+
|
|
217
|
+
export type ChatThreadWatchOrderByWithAggregationInput = {
|
|
218
|
+
id?: Prisma.SortOrder
|
|
219
|
+
userEmail?: Prisma.SortOrder
|
|
220
|
+
threadId?: Prisma.SortOrder
|
|
221
|
+
agentId?: Prisma.SortOrder
|
|
222
|
+
createdAt?: Prisma.SortOrder
|
|
223
|
+
updatedAt?: Prisma.SortOrder
|
|
224
|
+
_count?: Prisma.ChatThreadWatchCountOrderByAggregateInput
|
|
225
|
+
_max?: Prisma.ChatThreadWatchMaxOrderByAggregateInput
|
|
226
|
+
_min?: Prisma.ChatThreadWatchMinOrderByAggregateInput
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export type ChatThreadWatchScalarWhereWithAggregatesInput = {
|
|
230
|
+
AND?: Prisma.ChatThreadWatchScalarWhereWithAggregatesInput | Prisma.ChatThreadWatchScalarWhereWithAggregatesInput[]
|
|
231
|
+
OR?: Prisma.ChatThreadWatchScalarWhereWithAggregatesInput[]
|
|
232
|
+
NOT?: Prisma.ChatThreadWatchScalarWhereWithAggregatesInput | Prisma.ChatThreadWatchScalarWhereWithAggregatesInput[]
|
|
233
|
+
id?: Prisma.StringWithAggregatesFilter<"ChatThreadWatch"> | string
|
|
234
|
+
userEmail?: Prisma.StringWithAggregatesFilter<"ChatThreadWatch"> | string
|
|
235
|
+
threadId?: Prisma.StringWithAggregatesFilter<"ChatThreadWatch"> | string
|
|
236
|
+
agentId?: Prisma.StringWithAggregatesFilter<"ChatThreadWatch"> | string
|
|
237
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ChatThreadWatch"> | Date | string
|
|
238
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ChatThreadWatch"> | Date | string
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export type ChatThreadWatchCreateInput = {
|
|
242
|
+
id?: string
|
|
243
|
+
userEmail: string
|
|
244
|
+
threadId: string
|
|
245
|
+
agentId: string
|
|
246
|
+
createdAt?: Date | string
|
|
247
|
+
updatedAt?: Date | string
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export type ChatThreadWatchUncheckedCreateInput = {
|
|
251
|
+
id?: string
|
|
252
|
+
userEmail: string
|
|
253
|
+
threadId: string
|
|
254
|
+
agentId: string
|
|
255
|
+
createdAt?: Date | string
|
|
256
|
+
updatedAt?: Date | string
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export type ChatThreadWatchUpdateInput = {
|
|
260
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
261
|
+
userEmail?: Prisma.StringFieldUpdateOperationsInput | string
|
|
262
|
+
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
263
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
264
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
265
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export type ChatThreadWatchUncheckedUpdateInput = {
|
|
269
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
270
|
+
userEmail?: Prisma.StringFieldUpdateOperationsInput | string
|
|
271
|
+
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
272
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
273
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
274
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export type ChatThreadWatchCreateManyInput = {
|
|
278
|
+
id?: string
|
|
279
|
+
userEmail: string
|
|
280
|
+
threadId: string
|
|
281
|
+
agentId: string
|
|
282
|
+
createdAt?: Date | string
|
|
283
|
+
updatedAt?: Date | string
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export type ChatThreadWatchUpdateManyMutationInput = {
|
|
287
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
288
|
+
userEmail?: Prisma.StringFieldUpdateOperationsInput | string
|
|
289
|
+
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
290
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
291
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
292
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export type ChatThreadWatchUncheckedUpdateManyInput = {
|
|
296
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
297
|
+
userEmail?: Prisma.StringFieldUpdateOperationsInput | string
|
|
298
|
+
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
299
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
300
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
301
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export type ChatThreadWatchUserEmailThreadIdCompoundUniqueInput = {
|
|
305
|
+
userEmail: string
|
|
306
|
+
threadId: string
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export type ChatThreadWatchCountOrderByAggregateInput = {
|
|
310
|
+
id?: Prisma.SortOrder
|
|
311
|
+
userEmail?: Prisma.SortOrder
|
|
312
|
+
threadId?: Prisma.SortOrder
|
|
313
|
+
agentId?: Prisma.SortOrder
|
|
314
|
+
createdAt?: Prisma.SortOrder
|
|
315
|
+
updatedAt?: Prisma.SortOrder
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export type ChatThreadWatchMaxOrderByAggregateInput = {
|
|
319
|
+
id?: Prisma.SortOrder
|
|
320
|
+
userEmail?: Prisma.SortOrder
|
|
321
|
+
threadId?: Prisma.SortOrder
|
|
322
|
+
agentId?: Prisma.SortOrder
|
|
323
|
+
createdAt?: Prisma.SortOrder
|
|
324
|
+
updatedAt?: Prisma.SortOrder
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export type ChatThreadWatchMinOrderByAggregateInput = {
|
|
328
|
+
id?: Prisma.SortOrder
|
|
329
|
+
userEmail?: Prisma.SortOrder
|
|
330
|
+
threadId?: Prisma.SortOrder
|
|
331
|
+
agentId?: Prisma.SortOrder
|
|
332
|
+
createdAt?: Prisma.SortOrder
|
|
333
|
+
updatedAt?: Prisma.SortOrder
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
export type ChatThreadWatchSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
339
|
+
id?: boolean
|
|
340
|
+
userEmail?: boolean
|
|
341
|
+
threadId?: boolean
|
|
342
|
+
agentId?: boolean
|
|
343
|
+
createdAt?: boolean
|
|
344
|
+
updatedAt?: boolean
|
|
345
|
+
}, ExtArgs["result"]["chatThreadWatch"]>
|
|
346
|
+
|
|
347
|
+
export type ChatThreadWatchSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
348
|
+
id?: boolean
|
|
349
|
+
userEmail?: boolean
|
|
350
|
+
threadId?: boolean
|
|
351
|
+
agentId?: boolean
|
|
352
|
+
createdAt?: boolean
|
|
353
|
+
updatedAt?: boolean
|
|
354
|
+
}, ExtArgs["result"]["chatThreadWatch"]>
|
|
355
|
+
|
|
356
|
+
export type ChatThreadWatchSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
357
|
+
id?: boolean
|
|
358
|
+
userEmail?: boolean
|
|
359
|
+
threadId?: boolean
|
|
360
|
+
agentId?: boolean
|
|
361
|
+
createdAt?: boolean
|
|
362
|
+
updatedAt?: boolean
|
|
363
|
+
}, ExtArgs["result"]["chatThreadWatch"]>
|
|
364
|
+
|
|
365
|
+
export type ChatThreadWatchSelectScalar = {
|
|
366
|
+
id?: boolean
|
|
367
|
+
userEmail?: boolean
|
|
368
|
+
threadId?: boolean
|
|
369
|
+
agentId?: boolean
|
|
370
|
+
createdAt?: boolean
|
|
371
|
+
updatedAt?: boolean
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export type ChatThreadWatchOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userEmail" | "threadId" | "agentId" | "createdAt" | "updatedAt", ExtArgs["result"]["chatThreadWatch"]>
|
|
375
|
+
|
|
376
|
+
export type $ChatThreadWatchPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
377
|
+
name: "ChatThreadWatch"
|
|
378
|
+
objects: {}
|
|
379
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
380
|
+
id: string
|
|
381
|
+
userEmail: string
|
|
382
|
+
threadId: string
|
|
383
|
+
agentId: string
|
|
384
|
+
createdAt: Date
|
|
385
|
+
updatedAt: Date
|
|
386
|
+
}, ExtArgs["result"]["chatThreadWatch"]>
|
|
387
|
+
composites: {}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export type ChatThreadWatchGetPayload<S extends boolean | null | undefined | ChatThreadWatchDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload, S>
|
|
391
|
+
|
|
392
|
+
export type ChatThreadWatchCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
393
|
+
Omit<ChatThreadWatchFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
394
|
+
select?: ChatThreadWatchCountAggregateInputType | true
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export interface ChatThreadWatchDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
398
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ChatThreadWatch'], meta: { name: 'ChatThreadWatch' } }
|
|
399
|
+
/**
|
|
400
|
+
* Find zero or one ChatThreadWatch that matches the filter.
|
|
401
|
+
* @param {ChatThreadWatchFindUniqueArgs} args - Arguments to find a ChatThreadWatch
|
|
402
|
+
* @example
|
|
403
|
+
* // Get one ChatThreadWatch
|
|
404
|
+
* const chatThreadWatch = await prisma.chatThreadWatch.findUnique({
|
|
405
|
+
* where: {
|
|
406
|
+
* // ... provide filter here
|
|
407
|
+
* }
|
|
408
|
+
* })
|
|
409
|
+
*/
|
|
410
|
+
findUnique<T extends ChatThreadWatchFindUniqueArgs>(args: Prisma.SelectSubset<T, ChatThreadWatchFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ChatThreadWatchClient<runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* Find one ChatThreadWatch that matches the filter or throw an error with `error.code='P2025'`
|
|
414
|
+
* if no matches were found.
|
|
415
|
+
* @param {ChatThreadWatchFindUniqueOrThrowArgs} args - Arguments to find a ChatThreadWatch
|
|
416
|
+
* @example
|
|
417
|
+
* // Get one ChatThreadWatch
|
|
418
|
+
* const chatThreadWatch = await prisma.chatThreadWatch.findUniqueOrThrow({
|
|
419
|
+
* where: {
|
|
420
|
+
* // ... provide filter here
|
|
421
|
+
* }
|
|
422
|
+
* })
|
|
423
|
+
*/
|
|
424
|
+
findUniqueOrThrow<T extends ChatThreadWatchFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ChatThreadWatchFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChatThreadWatchClient<runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Find the first ChatThreadWatch that matches the filter.
|
|
428
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
429
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
430
|
+
* @param {ChatThreadWatchFindFirstArgs} args - Arguments to find a ChatThreadWatch
|
|
431
|
+
* @example
|
|
432
|
+
* // Get one ChatThreadWatch
|
|
433
|
+
* const chatThreadWatch = await prisma.chatThreadWatch.findFirst({
|
|
434
|
+
* where: {
|
|
435
|
+
* // ... provide filter here
|
|
436
|
+
* }
|
|
437
|
+
* })
|
|
438
|
+
*/
|
|
439
|
+
findFirst<T extends ChatThreadWatchFindFirstArgs>(args?: Prisma.SelectSubset<T, ChatThreadWatchFindFirstArgs<ExtArgs>>): Prisma.Prisma__ChatThreadWatchClient<runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Find the first ChatThreadWatch that matches the filter or
|
|
443
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
444
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
445
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
446
|
+
* @param {ChatThreadWatchFindFirstOrThrowArgs} args - Arguments to find a ChatThreadWatch
|
|
447
|
+
* @example
|
|
448
|
+
* // Get one ChatThreadWatch
|
|
449
|
+
* const chatThreadWatch = await prisma.chatThreadWatch.findFirstOrThrow({
|
|
450
|
+
* where: {
|
|
451
|
+
* // ... provide filter here
|
|
452
|
+
* }
|
|
453
|
+
* })
|
|
454
|
+
*/
|
|
455
|
+
findFirstOrThrow<T extends ChatThreadWatchFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ChatThreadWatchFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChatThreadWatchClient<runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Find zero or more ChatThreadWatches that matches the filter.
|
|
459
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
460
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
461
|
+
* @param {ChatThreadWatchFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
462
|
+
* @example
|
|
463
|
+
* // Get all ChatThreadWatches
|
|
464
|
+
* const chatThreadWatches = await prisma.chatThreadWatch.findMany()
|
|
465
|
+
*
|
|
466
|
+
* // Get first 10 ChatThreadWatches
|
|
467
|
+
* const chatThreadWatches = await prisma.chatThreadWatch.findMany({ take: 10 })
|
|
468
|
+
*
|
|
469
|
+
* // Only select the `id`
|
|
470
|
+
* const chatThreadWatchWithIdOnly = await prisma.chatThreadWatch.findMany({ select: { id: true } })
|
|
471
|
+
*
|
|
472
|
+
*/
|
|
473
|
+
findMany<T extends ChatThreadWatchFindManyArgs>(args?: Prisma.SelectSubset<T, ChatThreadWatchFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Create a ChatThreadWatch.
|
|
477
|
+
* @param {ChatThreadWatchCreateArgs} args - Arguments to create a ChatThreadWatch.
|
|
478
|
+
* @example
|
|
479
|
+
* // Create one ChatThreadWatch
|
|
480
|
+
* const ChatThreadWatch = await prisma.chatThreadWatch.create({
|
|
481
|
+
* data: {
|
|
482
|
+
* // ... data to create a ChatThreadWatch
|
|
483
|
+
* }
|
|
484
|
+
* })
|
|
485
|
+
*
|
|
486
|
+
*/
|
|
487
|
+
create<T extends ChatThreadWatchCreateArgs>(args: Prisma.SelectSubset<T, ChatThreadWatchCreateArgs<ExtArgs>>): Prisma.Prisma__ChatThreadWatchClient<runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Create many ChatThreadWatches.
|
|
491
|
+
* @param {ChatThreadWatchCreateManyArgs} args - Arguments to create many ChatThreadWatches.
|
|
492
|
+
* @example
|
|
493
|
+
* // Create many ChatThreadWatches
|
|
494
|
+
* const chatThreadWatch = await prisma.chatThreadWatch.createMany({
|
|
495
|
+
* data: [
|
|
496
|
+
* // ... provide data here
|
|
497
|
+
* ]
|
|
498
|
+
* })
|
|
499
|
+
*
|
|
500
|
+
*/
|
|
501
|
+
createMany<T extends ChatThreadWatchCreateManyArgs>(args?: Prisma.SelectSubset<T, ChatThreadWatchCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Create many ChatThreadWatches and returns the data saved in the database.
|
|
505
|
+
* @param {ChatThreadWatchCreateManyAndReturnArgs} args - Arguments to create many ChatThreadWatches.
|
|
506
|
+
* @example
|
|
507
|
+
* // Create many ChatThreadWatches
|
|
508
|
+
* const chatThreadWatch = await prisma.chatThreadWatch.createManyAndReturn({
|
|
509
|
+
* data: [
|
|
510
|
+
* // ... provide data here
|
|
511
|
+
* ]
|
|
512
|
+
* })
|
|
513
|
+
*
|
|
514
|
+
* // Create many ChatThreadWatches and only return the `id`
|
|
515
|
+
* const chatThreadWatchWithIdOnly = await prisma.chatThreadWatch.createManyAndReturn({
|
|
516
|
+
* select: { id: true },
|
|
517
|
+
* data: [
|
|
518
|
+
* // ... provide data here
|
|
519
|
+
* ]
|
|
520
|
+
* })
|
|
521
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
522
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
523
|
+
*
|
|
524
|
+
*/
|
|
525
|
+
createManyAndReturn<T extends ChatThreadWatchCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ChatThreadWatchCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Delete a ChatThreadWatch.
|
|
529
|
+
* @param {ChatThreadWatchDeleteArgs} args - Arguments to delete one ChatThreadWatch.
|
|
530
|
+
* @example
|
|
531
|
+
* // Delete one ChatThreadWatch
|
|
532
|
+
* const ChatThreadWatch = await prisma.chatThreadWatch.delete({
|
|
533
|
+
* where: {
|
|
534
|
+
* // ... filter to delete one ChatThreadWatch
|
|
535
|
+
* }
|
|
536
|
+
* })
|
|
537
|
+
*
|
|
538
|
+
*/
|
|
539
|
+
delete<T extends ChatThreadWatchDeleteArgs>(args: Prisma.SelectSubset<T, ChatThreadWatchDeleteArgs<ExtArgs>>): Prisma.Prisma__ChatThreadWatchClient<runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Update one ChatThreadWatch.
|
|
543
|
+
* @param {ChatThreadWatchUpdateArgs} args - Arguments to update one ChatThreadWatch.
|
|
544
|
+
* @example
|
|
545
|
+
* // Update one ChatThreadWatch
|
|
546
|
+
* const chatThreadWatch = await prisma.chatThreadWatch.update({
|
|
547
|
+
* where: {
|
|
548
|
+
* // ... provide filter here
|
|
549
|
+
* },
|
|
550
|
+
* data: {
|
|
551
|
+
* // ... provide data here
|
|
552
|
+
* }
|
|
553
|
+
* })
|
|
554
|
+
*
|
|
555
|
+
*/
|
|
556
|
+
update<T extends ChatThreadWatchUpdateArgs>(args: Prisma.SelectSubset<T, ChatThreadWatchUpdateArgs<ExtArgs>>): Prisma.Prisma__ChatThreadWatchClient<runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Delete zero or more ChatThreadWatches.
|
|
560
|
+
* @param {ChatThreadWatchDeleteManyArgs} args - Arguments to filter ChatThreadWatches to delete.
|
|
561
|
+
* @example
|
|
562
|
+
* // Delete a few ChatThreadWatches
|
|
563
|
+
* const { count } = await prisma.chatThreadWatch.deleteMany({
|
|
564
|
+
* where: {
|
|
565
|
+
* // ... provide filter here
|
|
566
|
+
* }
|
|
567
|
+
* })
|
|
568
|
+
*
|
|
569
|
+
*/
|
|
570
|
+
deleteMany<T extends ChatThreadWatchDeleteManyArgs>(args?: Prisma.SelectSubset<T, ChatThreadWatchDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Update zero or more ChatThreadWatches.
|
|
574
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
575
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
576
|
+
* @param {ChatThreadWatchUpdateManyArgs} args - Arguments to update one or more rows.
|
|
577
|
+
* @example
|
|
578
|
+
* // Update many ChatThreadWatches
|
|
579
|
+
* const chatThreadWatch = await prisma.chatThreadWatch.updateMany({
|
|
580
|
+
* where: {
|
|
581
|
+
* // ... provide filter here
|
|
582
|
+
* },
|
|
583
|
+
* data: {
|
|
584
|
+
* // ... provide data here
|
|
585
|
+
* }
|
|
586
|
+
* })
|
|
587
|
+
*
|
|
588
|
+
*/
|
|
589
|
+
updateMany<T extends ChatThreadWatchUpdateManyArgs>(args: Prisma.SelectSubset<T, ChatThreadWatchUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Update zero or more ChatThreadWatches and returns the data updated in the database.
|
|
593
|
+
* @param {ChatThreadWatchUpdateManyAndReturnArgs} args - Arguments to update many ChatThreadWatches.
|
|
594
|
+
* @example
|
|
595
|
+
* // Update many ChatThreadWatches
|
|
596
|
+
* const chatThreadWatch = await prisma.chatThreadWatch.updateManyAndReturn({
|
|
597
|
+
* where: {
|
|
598
|
+
* // ... provide filter here
|
|
599
|
+
* },
|
|
600
|
+
* data: [
|
|
601
|
+
* // ... provide data here
|
|
602
|
+
* ]
|
|
603
|
+
* })
|
|
604
|
+
*
|
|
605
|
+
* // Update zero or more ChatThreadWatches and only return the `id`
|
|
606
|
+
* const chatThreadWatchWithIdOnly = await prisma.chatThreadWatch.updateManyAndReturn({
|
|
607
|
+
* select: { id: true },
|
|
608
|
+
* where: {
|
|
609
|
+
* // ... provide filter here
|
|
610
|
+
* },
|
|
611
|
+
* data: [
|
|
612
|
+
* // ... provide data here
|
|
613
|
+
* ]
|
|
614
|
+
* })
|
|
615
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
616
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
617
|
+
*
|
|
618
|
+
*/
|
|
619
|
+
updateManyAndReturn<T extends ChatThreadWatchUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ChatThreadWatchUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* Create or update one ChatThreadWatch.
|
|
623
|
+
* @param {ChatThreadWatchUpsertArgs} args - Arguments to update or create a ChatThreadWatch.
|
|
624
|
+
* @example
|
|
625
|
+
* // Update or create a ChatThreadWatch
|
|
626
|
+
* const chatThreadWatch = await prisma.chatThreadWatch.upsert({
|
|
627
|
+
* create: {
|
|
628
|
+
* // ... data to create a ChatThreadWatch
|
|
629
|
+
* },
|
|
630
|
+
* update: {
|
|
631
|
+
* // ... in case it already exists, update
|
|
632
|
+
* },
|
|
633
|
+
* where: {
|
|
634
|
+
* // ... the filter for the ChatThreadWatch we want to update
|
|
635
|
+
* }
|
|
636
|
+
* })
|
|
637
|
+
*/
|
|
638
|
+
upsert<T extends ChatThreadWatchUpsertArgs>(args: Prisma.SelectSubset<T, ChatThreadWatchUpsertArgs<ExtArgs>>): Prisma.Prisma__ChatThreadWatchClient<runtime.Types.Result.GetResult<Prisma.$ChatThreadWatchPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Count the number of ChatThreadWatches.
|
|
643
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
644
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
645
|
+
* @param {ChatThreadWatchCountArgs} args - Arguments to filter ChatThreadWatches to count.
|
|
646
|
+
* @example
|
|
647
|
+
* // Count the number of ChatThreadWatches
|
|
648
|
+
* const count = await prisma.chatThreadWatch.count({
|
|
649
|
+
* where: {
|
|
650
|
+
* // ... the filter for the ChatThreadWatches we want to count
|
|
651
|
+
* }
|
|
652
|
+
* })
|
|
653
|
+
**/
|
|
654
|
+
count<T extends ChatThreadWatchCountArgs>(
|
|
655
|
+
args?: Prisma.Subset<T, ChatThreadWatchCountArgs>,
|
|
656
|
+
): Prisma.PrismaPromise<
|
|
657
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
658
|
+
? T['select'] extends true
|
|
659
|
+
? number
|
|
660
|
+
: Prisma.GetScalarType<T['select'], ChatThreadWatchCountAggregateOutputType>
|
|
661
|
+
: number
|
|
662
|
+
>
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Allows you to perform aggregations operations on a ChatThreadWatch.
|
|
666
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
667
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
668
|
+
* @param {ChatThreadWatchAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
669
|
+
* @example
|
|
670
|
+
* // Ordered by age ascending
|
|
671
|
+
* // Where email contains prisma.io
|
|
672
|
+
* // Limited to the 10 users
|
|
673
|
+
* const aggregations = await prisma.user.aggregate({
|
|
674
|
+
* _avg: {
|
|
675
|
+
* age: true,
|
|
676
|
+
* },
|
|
677
|
+
* where: {
|
|
678
|
+
* email: {
|
|
679
|
+
* contains: "prisma.io",
|
|
680
|
+
* },
|
|
681
|
+
* },
|
|
682
|
+
* orderBy: {
|
|
683
|
+
* age: "asc",
|
|
684
|
+
* },
|
|
685
|
+
* take: 10,
|
|
686
|
+
* })
|
|
687
|
+
**/
|
|
688
|
+
aggregate<T extends ChatThreadWatchAggregateArgs>(args: Prisma.Subset<T, ChatThreadWatchAggregateArgs>): Prisma.PrismaPromise<GetChatThreadWatchAggregateType<T>>
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* Group by ChatThreadWatch.
|
|
692
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
693
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
694
|
+
* @param {ChatThreadWatchGroupByArgs} args - Group by arguments.
|
|
695
|
+
* @example
|
|
696
|
+
* // Group by city, order by createdAt, get count
|
|
697
|
+
* const result = await prisma.user.groupBy({
|
|
698
|
+
* by: ['city', 'createdAt'],
|
|
699
|
+
* orderBy: {
|
|
700
|
+
* createdAt: true
|
|
701
|
+
* },
|
|
702
|
+
* _count: {
|
|
703
|
+
* _all: true
|
|
704
|
+
* },
|
|
705
|
+
* })
|
|
706
|
+
*
|
|
707
|
+
**/
|
|
708
|
+
groupBy<
|
|
709
|
+
T extends ChatThreadWatchGroupByArgs,
|
|
710
|
+
HasSelectOrTake extends Prisma.Or<
|
|
711
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
712
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
713
|
+
>,
|
|
714
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
715
|
+
? { orderBy: ChatThreadWatchGroupByArgs['orderBy'] }
|
|
716
|
+
: { orderBy?: ChatThreadWatchGroupByArgs['orderBy'] },
|
|
717
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
718
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
719
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
720
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
721
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
722
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
723
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
724
|
+
? `Error: "by" must not be empty.`
|
|
725
|
+
: HavingValid extends Prisma.False
|
|
726
|
+
? {
|
|
727
|
+
[P in HavingFields]: P extends ByFields
|
|
728
|
+
? never
|
|
729
|
+
: P extends string
|
|
730
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
731
|
+
: [
|
|
732
|
+
Error,
|
|
733
|
+
'Field ',
|
|
734
|
+
P,
|
|
735
|
+
` in "having" needs to be provided in "by"`,
|
|
736
|
+
]
|
|
737
|
+
}[HavingFields]
|
|
738
|
+
: 'take' extends Prisma.Keys<T>
|
|
739
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
740
|
+
? ByValid extends Prisma.True
|
|
741
|
+
? {}
|
|
742
|
+
: {
|
|
743
|
+
[P in OrderFields]: P extends ByFields
|
|
744
|
+
? never
|
|
745
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
746
|
+
}[OrderFields]
|
|
747
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
748
|
+
: 'skip' extends Prisma.Keys<T>
|
|
749
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
750
|
+
? ByValid extends Prisma.True
|
|
751
|
+
? {}
|
|
752
|
+
: {
|
|
753
|
+
[P in OrderFields]: P extends ByFields
|
|
754
|
+
? never
|
|
755
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
756
|
+
}[OrderFields]
|
|
757
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
758
|
+
: ByValid extends Prisma.True
|
|
759
|
+
? {}
|
|
760
|
+
: {
|
|
761
|
+
[P in OrderFields]: P extends ByFields
|
|
762
|
+
? never
|
|
763
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
764
|
+
}[OrderFields]
|
|
765
|
+
>(args: Prisma.SubsetIntersection<T, ChatThreadWatchGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetChatThreadWatchGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
766
|
+
/**
|
|
767
|
+
* Fields of the ChatThreadWatch model
|
|
768
|
+
*/
|
|
769
|
+
readonly fields: ChatThreadWatchFieldRefs;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* The delegate class that acts as a "Promise-like" for ChatThreadWatch.
|
|
774
|
+
* Why is this prefixed with `Prisma__`?
|
|
775
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
776
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
777
|
+
*/
|
|
778
|
+
export interface Prisma__ChatThreadWatchClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
779
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
780
|
+
/**
|
|
781
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
782
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
783
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
784
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
785
|
+
*/
|
|
786
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
787
|
+
/**
|
|
788
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
789
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
790
|
+
* @returns A Promise for the completion of the callback.
|
|
791
|
+
*/
|
|
792
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
793
|
+
/**
|
|
794
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
795
|
+
* resolved value cannot be modified from the callback.
|
|
796
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
797
|
+
* @returns A Promise for the completion of the callback.
|
|
798
|
+
*/
|
|
799
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* Fields of the ChatThreadWatch model
|
|
807
|
+
*/
|
|
808
|
+
export interface ChatThreadWatchFieldRefs {
|
|
809
|
+
readonly id: Prisma.FieldRef<"ChatThreadWatch", 'String'>
|
|
810
|
+
readonly userEmail: Prisma.FieldRef<"ChatThreadWatch", 'String'>
|
|
811
|
+
readonly threadId: Prisma.FieldRef<"ChatThreadWatch", 'String'>
|
|
812
|
+
readonly agentId: Prisma.FieldRef<"ChatThreadWatch", 'String'>
|
|
813
|
+
readonly createdAt: Prisma.FieldRef<"ChatThreadWatch", 'DateTime'>
|
|
814
|
+
readonly updatedAt: Prisma.FieldRef<"ChatThreadWatch", 'DateTime'>
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
// Custom InputTypes
|
|
819
|
+
/**
|
|
820
|
+
* ChatThreadWatch findUnique
|
|
821
|
+
*/
|
|
822
|
+
export type ChatThreadWatchFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
823
|
+
/**
|
|
824
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
825
|
+
*/
|
|
826
|
+
select?: Prisma.ChatThreadWatchSelect<ExtArgs> | null
|
|
827
|
+
/**
|
|
828
|
+
* Omit specific fields from the ChatThreadWatch
|
|
829
|
+
*/
|
|
830
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
831
|
+
/**
|
|
832
|
+
* Filter, which ChatThreadWatch to fetch.
|
|
833
|
+
*/
|
|
834
|
+
where: Prisma.ChatThreadWatchWhereUniqueInput
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* ChatThreadWatch findUniqueOrThrow
|
|
839
|
+
*/
|
|
840
|
+
export type ChatThreadWatchFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
841
|
+
/**
|
|
842
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
843
|
+
*/
|
|
844
|
+
select?: Prisma.ChatThreadWatchSelect<ExtArgs> | null
|
|
845
|
+
/**
|
|
846
|
+
* Omit specific fields from the ChatThreadWatch
|
|
847
|
+
*/
|
|
848
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
849
|
+
/**
|
|
850
|
+
* Filter, which ChatThreadWatch to fetch.
|
|
851
|
+
*/
|
|
852
|
+
where: Prisma.ChatThreadWatchWhereUniqueInput
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* ChatThreadWatch findFirst
|
|
857
|
+
*/
|
|
858
|
+
export type ChatThreadWatchFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
859
|
+
/**
|
|
860
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
861
|
+
*/
|
|
862
|
+
select?: Prisma.ChatThreadWatchSelect<ExtArgs> | null
|
|
863
|
+
/**
|
|
864
|
+
* Omit specific fields from the ChatThreadWatch
|
|
865
|
+
*/
|
|
866
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
867
|
+
/**
|
|
868
|
+
* Filter, which ChatThreadWatch to fetch.
|
|
869
|
+
*/
|
|
870
|
+
where?: Prisma.ChatThreadWatchWhereInput
|
|
871
|
+
/**
|
|
872
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
873
|
+
*
|
|
874
|
+
* Determine the order of ChatThreadWatches to fetch.
|
|
875
|
+
*/
|
|
876
|
+
orderBy?: Prisma.ChatThreadWatchOrderByWithRelationInput | Prisma.ChatThreadWatchOrderByWithRelationInput[]
|
|
877
|
+
/**
|
|
878
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
879
|
+
*
|
|
880
|
+
* Sets the position for searching for ChatThreadWatches.
|
|
881
|
+
*/
|
|
882
|
+
cursor?: Prisma.ChatThreadWatchWhereUniqueInput
|
|
883
|
+
/**
|
|
884
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
885
|
+
*
|
|
886
|
+
* Take `±n` ChatThreadWatches from the position of the cursor.
|
|
887
|
+
*/
|
|
888
|
+
take?: number
|
|
889
|
+
/**
|
|
890
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
891
|
+
*
|
|
892
|
+
* Skip the first `n` ChatThreadWatches.
|
|
893
|
+
*/
|
|
894
|
+
skip?: number
|
|
895
|
+
/**
|
|
896
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
897
|
+
*
|
|
898
|
+
* Filter by unique combinations of ChatThreadWatches.
|
|
899
|
+
*/
|
|
900
|
+
distinct?: Prisma.ChatThreadWatchScalarFieldEnum | Prisma.ChatThreadWatchScalarFieldEnum[]
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* ChatThreadWatch findFirstOrThrow
|
|
905
|
+
*/
|
|
906
|
+
export type ChatThreadWatchFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
907
|
+
/**
|
|
908
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
909
|
+
*/
|
|
910
|
+
select?: Prisma.ChatThreadWatchSelect<ExtArgs> | null
|
|
911
|
+
/**
|
|
912
|
+
* Omit specific fields from the ChatThreadWatch
|
|
913
|
+
*/
|
|
914
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
915
|
+
/**
|
|
916
|
+
* Filter, which ChatThreadWatch to fetch.
|
|
917
|
+
*/
|
|
918
|
+
where?: Prisma.ChatThreadWatchWhereInput
|
|
919
|
+
/**
|
|
920
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
921
|
+
*
|
|
922
|
+
* Determine the order of ChatThreadWatches to fetch.
|
|
923
|
+
*/
|
|
924
|
+
orderBy?: Prisma.ChatThreadWatchOrderByWithRelationInput | Prisma.ChatThreadWatchOrderByWithRelationInput[]
|
|
925
|
+
/**
|
|
926
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
927
|
+
*
|
|
928
|
+
* Sets the position for searching for ChatThreadWatches.
|
|
929
|
+
*/
|
|
930
|
+
cursor?: Prisma.ChatThreadWatchWhereUniqueInput
|
|
931
|
+
/**
|
|
932
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
933
|
+
*
|
|
934
|
+
* Take `±n` ChatThreadWatches from the position of the cursor.
|
|
935
|
+
*/
|
|
936
|
+
take?: number
|
|
937
|
+
/**
|
|
938
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
939
|
+
*
|
|
940
|
+
* Skip the first `n` ChatThreadWatches.
|
|
941
|
+
*/
|
|
942
|
+
skip?: number
|
|
943
|
+
/**
|
|
944
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
945
|
+
*
|
|
946
|
+
* Filter by unique combinations of ChatThreadWatches.
|
|
947
|
+
*/
|
|
948
|
+
distinct?: Prisma.ChatThreadWatchScalarFieldEnum | Prisma.ChatThreadWatchScalarFieldEnum[]
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* ChatThreadWatch findMany
|
|
953
|
+
*/
|
|
954
|
+
export type ChatThreadWatchFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
955
|
+
/**
|
|
956
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
957
|
+
*/
|
|
958
|
+
select?: Prisma.ChatThreadWatchSelect<ExtArgs> | null
|
|
959
|
+
/**
|
|
960
|
+
* Omit specific fields from the ChatThreadWatch
|
|
961
|
+
*/
|
|
962
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
963
|
+
/**
|
|
964
|
+
* Filter, which ChatThreadWatches to fetch.
|
|
965
|
+
*/
|
|
966
|
+
where?: Prisma.ChatThreadWatchWhereInput
|
|
967
|
+
/**
|
|
968
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
969
|
+
*
|
|
970
|
+
* Determine the order of ChatThreadWatches to fetch.
|
|
971
|
+
*/
|
|
972
|
+
orderBy?: Prisma.ChatThreadWatchOrderByWithRelationInput | Prisma.ChatThreadWatchOrderByWithRelationInput[]
|
|
973
|
+
/**
|
|
974
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
975
|
+
*
|
|
976
|
+
* Sets the position for listing ChatThreadWatches.
|
|
977
|
+
*/
|
|
978
|
+
cursor?: Prisma.ChatThreadWatchWhereUniqueInput
|
|
979
|
+
/**
|
|
980
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
981
|
+
*
|
|
982
|
+
* Take `±n` ChatThreadWatches from the position of the cursor.
|
|
983
|
+
*/
|
|
984
|
+
take?: number
|
|
985
|
+
/**
|
|
986
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
987
|
+
*
|
|
988
|
+
* Skip the first `n` ChatThreadWatches.
|
|
989
|
+
*/
|
|
990
|
+
skip?: number
|
|
991
|
+
/**
|
|
992
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
993
|
+
*
|
|
994
|
+
* Filter by unique combinations of ChatThreadWatches.
|
|
995
|
+
*/
|
|
996
|
+
distinct?: Prisma.ChatThreadWatchScalarFieldEnum | Prisma.ChatThreadWatchScalarFieldEnum[]
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* ChatThreadWatch create
|
|
1001
|
+
*/
|
|
1002
|
+
export type ChatThreadWatchCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1003
|
+
/**
|
|
1004
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
1005
|
+
*/
|
|
1006
|
+
select?: Prisma.ChatThreadWatchSelect<ExtArgs> | null
|
|
1007
|
+
/**
|
|
1008
|
+
* Omit specific fields from the ChatThreadWatch
|
|
1009
|
+
*/
|
|
1010
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
1011
|
+
/**
|
|
1012
|
+
* The data needed to create a ChatThreadWatch.
|
|
1013
|
+
*/
|
|
1014
|
+
data: Prisma.XOR<Prisma.ChatThreadWatchCreateInput, Prisma.ChatThreadWatchUncheckedCreateInput>
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* ChatThreadWatch createMany
|
|
1019
|
+
*/
|
|
1020
|
+
export type ChatThreadWatchCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1021
|
+
/**
|
|
1022
|
+
* The data used to create many ChatThreadWatches.
|
|
1023
|
+
*/
|
|
1024
|
+
data: Prisma.ChatThreadWatchCreateManyInput | Prisma.ChatThreadWatchCreateManyInput[]
|
|
1025
|
+
skipDuplicates?: boolean
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* ChatThreadWatch createManyAndReturn
|
|
1030
|
+
*/
|
|
1031
|
+
export type ChatThreadWatchCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1032
|
+
/**
|
|
1033
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
1034
|
+
*/
|
|
1035
|
+
select?: Prisma.ChatThreadWatchSelectCreateManyAndReturn<ExtArgs> | null
|
|
1036
|
+
/**
|
|
1037
|
+
* Omit specific fields from the ChatThreadWatch
|
|
1038
|
+
*/
|
|
1039
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
1040
|
+
/**
|
|
1041
|
+
* The data used to create many ChatThreadWatches.
|
|
1042
|
+
*/
|
|
1043
|
+
data: Prisma.ChatThreadWatchCreateManyInput | Prisma.ChatThreadWatchCreateManyInput[]
|
|
1044
|
+
skipDuplicates?: boolean
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* ChatThreadWatch update
|
|
1049
|
+
*/
|
|
1050
|
+
export type ChatThreadWatchUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1051
|
+
/**
|
|
1052
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
1053
|
+
*/
|
|
1054
|
+
select?: Prisma.ChatThreadWatchSelect<ExtArgs> | null
|
|
1055
|
+
/**
|
|
1056
|
+
* Omit specific fields from the ChatThreadWatch
|
|
1057
|
+
*/
|
|
1058
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
1059
|
+
/**
|
|
1060
|
+
* The data needed to update a ChatThreadWatch.
|
|
1061
|
+
*/
|
|
1062
|
+
data: Prisma.XOR<Prisma.ChatThreadWatchUpdateInput, Prisma.ChatThreadWatchUncheckedUpdateInput>
|
|
1063
|
+
/**
|
|
1064
|
+
* Choose, which ChatThreadWatch to update.
|
|
1065
|
+
*/
|
|
1066
|
+
where: Prisma.ChatThreadWatchWhereUniqueInput
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* ChatThreadWatch updateMany
|
|
1071
|
+
*/
|
|
1072
|
+
export type ChatThreadWatchUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1073
|
+
/**
|
|
1074
|
+
* The data used to update ChatThreadWatches.
|
|
1075
|
+
*/
|
|
1076
|
+
data: Prisma.XOR<Prisma.ChatThreadWatchUpdateManyMutationInput, Prisma.ChatThreadWatchUncheckedUpdateManyInput>
|
|
1077
|
+
/**
|
|
1078
|
+
* Filter which ChatThreadWatches to update
|
|
1079
|
+
*/
|
|
1080
|
+
where?: Prisma.ChatThreadWatchWhereInput
|
|
1081
|
+
/**
|
|
1082
|
+
* Limit how many ChatThreadWatches to update.
|
|
1083
|
+
*/
|
|
1084
|
+
limit?: number
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* ChatThreadWatch updateManyAndReturn
|
|
1089
|
+
*/
|
|
1090
|
+
export type ChatThreadWatchUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1091
|
+
/**
|
|
1092
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
1093
|
+
*/
|
|
1094
|
+
select?: Prisma.ChatThreadWatchSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1095
|
+
/**
|
|
1096
|
+
* Omit specific fields from the ChatThreadWatch
|
|
1097
|
+
*/
|
|
1098
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
1099
|
+
/**
|
|
1100
|
+
* The data used to update ChatThreadWatches.
|
|
1101
|
+
*/
|
|
1102
|
+
data: Prisma.XOR<Prisma.ChatThreadWatchUpdateManyMutationInput, Prisma.ChatThreadWatchUncheckedUpdateManyInput>
|
|
1103
|
+
/**
|
|
1104
|
+
* Filter which ChatThreadWatches to update
|
|
1105
|
+
*/
|
|
1106
|
+
where?: Prisma.ChatThreadWatchWhereInput
|
|
1107
|
+
/**
|
|
1108
|
+
* Limit how many ChatThreadWatches to update.
|
|
1109
|
+
*/
|
|
1110
|
+
limit?: number
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* ChatThreadWatch upsert
|
|
1115
|
+
*/
|
|
1116
|
+
export type ChatThreadWatchUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1117
|
+
/**
|
|
1118
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
1119
|
+
*/
|
|
1120
|
+
select?: Prisma.ChatThreadWatchSelect<ExtArgs> | null
|
|
1121
|
+
/**
|
|
1122
|
+
* Omit specific fields from the ChatThreadWatch
|
|
1123
|
+
*/
|
|
1124
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
1125
|
+
/**
|
|
1126
|
+
* The filter to search for the ChatThreadWatch to update in case it exists.
|
|
1127
|
+
*/
|
|
1128
|
+
where: Prisma.ChatThreadWatchWhereUniqueInput
|
|
1129
|
+
/**
|
|
1130
|
+
* In case the ChatThreadWatch found by the `where` argument doesn't exist, create a new ChatThreadWatch with this data.
|
|
1131
|
+
*/
|
|
1132
|
+
create: Prisma.XOR<Prisma.ChatThreadWatchCreateInput, Prisma.ChatThreadWatchUncheckedCreateInput>
|
|
1133
|
+
/**
|
|
1134
|
+
* In case the ChatThreadWatch was found with the provided `where` argument, update it with this data.
|
|
1135
|
+
*/
|
|
1136
|
+
update: Prisma.XOR<Prisma.ChatThreadWatchUpdateInput, Prisma.ChatThreadWatchUncheckedUpdateInput>
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* ChatThreadWatch delete
|
|
1141
|
+
*/
|
|
1142
|
+
export type ChatThreadWatchDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1143
|
+
/**
|
|
1144
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
1145
|
+
*/
|
|
1146
|
+
select?: Prisma.ChatThreadWatchSelect<ExtArgs> | null
|
|
1147
|
+
/**
|
|
1148
|
+
* Omit specific fields from the ChatThreadWatch
|
|
1149
|
+
*/
|
|
1150
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
1151
|
+
/**
|
|
1152
|
+
* Filter which ChatThreadWatch to delete.
|
|
1153
|
+
*/
|
|
1154
|
+
where: Prisma.ChatThreadWatchWhereUniqueInput
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* ChatThreadWatch deleteMany
|
|
1159
|
+
*/
|
|
1160
|
+
export type ChatThreadWatchDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1161
|
+
/**
|
|
1162
|
+
* Filter which ChatThreadWatches to delete
|
|
1163
|
+
*/
|
|
1164
|
+
where?: Prisma.ChatThreadWatchWhereInput
|
|
1165
|
+
/**
|
|
1166
|
+
* Limit how many ChatThreadWatches to delete.
|
|
1167
|
+
*/
|
|
1168
|
+
limit?: number
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* ChatThreadWatch without action
|
|
1173
|
+
*/
|
|
1174
|
+
export type ChatThreadWatchDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1175
|
+
/**
|
|
1176
|
+
* Select specific fields to fetch from the ChatThreadWatch
|
|
1177
|
+
*/
|
|
1178
|
+
select?: Prisma.ChatThreadWatchSelect<ExtArgs> | null
|
|
1179
|
+
/**
|
|
1180
|
+
* Omit specific fields from the ChatThreadWatch
|
|
1181
|
+
*/
|
|
1182
|
+
omit?: Prisma.ChatThreadWatchOmit<ExtArgs> | null
|
|
1183
|
+
}
|