@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,2416 @@
|
|
|
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 `AgentCronJob` 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 AgentCronJob
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AgentCronJobModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentCronJobPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAgentCronJob = {
|
|
22
|
+
_count: AgentCronJobCountAggregateOutputType | null
|
|
23
|
+
_min: AgentCronJobMinAggregateOutputType | null
|
|
24
|
+
_max: AgentCronJobMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type AgentCronJobMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
agentId: string | null
|
|
30
|
+
schedule: string | null
|
|
31
|
+
prompt: string | null
|
|
32
|
+
channel: string | null
|
|
33
|
+
user: string | null
|
|
34
|
+
silent: boolean | null
|
|
35
|
+
enabled: boolean | null
|
|
36
|
+
preCheck: string | null
|
|
37
|
+
name: string | null
|
|
38
|
+
system: boolean | null
|
|
39
|
+
lockdownDisabledAt: Date | null
|
|
40
|
+
createdAt: Date | null
|
|
41
|
+
updatedAt: Date | null
|
|
42
|
+
parentCronId: string | null
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type AgentCronJobMaxAggregateOutputType = {
|
|
46
|
+
id: string | null
|
|
47
|
+
agentId: string | null
|
|
48
|
+
schedule: string | null
|
|
49
|
+
prompt: string | null
|
|
50
|
+
channel: string | null
|
|
51
|
+
user: string | null
|
|
52
|
+
silent: boolean | null
|
|
53
|
+
enabled: boolean | null
|
|
54
|
+
preCheck: string | null
|
|
55
|
+
name: string | null
|
|
56
|
+
system: boolean | null
|
|
57
|
+
lockdownDisabledAt: Date | null
|
|
58
|
+
createdAt: Date | null
|
|
59
|
+
updatedAt: Date | null
|
|
60
|
+
parentCronId: string | null
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type AgentCronJobCountAggregateOutputType = {
|
|
64
|
+
id: number
|
|
65
|
+
agentId: number
|
|
66
|
+
schedule: number
|
|
67
|
+
prompt: number
|
|
68
|
+
channel: number
|
|
69
|
+
user: number
|
|
70
|
+
silent: number
|
|
71
|
+
enabled: number
|
|
72
|
+
preCheck: number
|
|
73
|
+
name: number
|
|
74
|
+
system: number
|
|
75
|
+
lockdownDisabledAt: number
|
|
76
|
+
createdAt: number
|
|
77
|
+
updatedAt: number
|
|
78
|
+
parentCronId: number
|
|
79
|
+
_all: number
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
export type AgentCronJobMinAggregateInputType = {
|
|
84
|
+
id?: true
|
|
85
|
+
agentId?: true
|
|
86
|
+
schedule?: true
|
|
87
|
+
prompt?: true
|
|
88
|
+
channel?: true
|
|
89
|
+
user?: true
|
|
90
|
+
silent?: true
|
|
91
|
+
enabled?: true
|
|
92
|
+
preCheck?: true
|
|
93
|
+
name?: true
|
|
94
|
+
system?: true
|
|
95
|
+
lockdownDisabledAt?: true
|
|
96
|
+
createdAt?: true
|
|
97
|
+
updatedAt?: true
|
|
98
|
+
parentCronId?: true
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export type AgentCronJobMaxAggregateInputType = {
|
|
102
|
+
id?: true
|
|
103
|
+
agentId?: true
|
|
104
|
+
schedule?: true
|
|
105
|
+
prompt?: true
|
|
106
|
+
channel?: true
|
|
107
|
+
user?: true
|
|
108
|
+
silent?: true
|
|
109
|
+
enabled?: true
|
|
110
|
+
preCheck?: true
|
|
111
|
+
name?: true
|
|
112
|
+
system?: true
|
|
113
|
+
lockdownDisabledAt?: true
|
|
114
|
+
createdAt?: true
|
|
115
|
+
updatedAt?: true
|
|
116
|
+
parentCronId?: true
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export type AgentCronJobCountAggregateInputType = {
|
|
120
|
+
id?: true
|
|
121
|
+
agentId?: true
|
|
122
|
+
schedule?: true
|
|
123
|
+
prompt?: true
|
|
124
|
+
channel?: true
|
|
125
|
+
user?: true
|
|
126
|
+
silent?: true
|
|
127
|
+
enabled?: true
|
|
128
|
+
preCheck?: true
|
|
129
|
+
name?: true
|
|
130
|
+
system?: true
|
|
131
|
+
lockdownDisabledAt?: true
|
|
132
|
+
createdAt?: true
|
|
133
|
+
updatedAt?: true
|
|
134
|
+
parentCronId?: true
|
|
135
|
+
_all?: true
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export type AgentCronJobAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
139
|
+
/**
|
|
140
|
+
* Filter which AgentCronJob to aggregate.
|
|
141
|
+
*/
|
|
142
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
145
|
+
*
|
|
146
|
+
* Determine the order of AgentCronJobs to fetch.
|
|
147
|
+
*/
|
|
148
|
+
orderBy?: Prisma.AgentCronJobOrderByWithRelationInput | Prisma.AgentCronJobOrderByWithRelationInput[]
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
151
|
+
*
|
|
152
|
+
* Sets the start position
|
|
153
|
+
*/
|
|
154
|
+
cursor?: Prisma.AgentCronJobWhereUniqueInput
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
157
|
+
*
|
|
158
|
+
* Take `±n` AgentCronJobs from the position of the cursor.
|
|
159
|
+
*/
|
|
160
|
+
take?: number
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
163
|
+
*
|
|
164
|
+
* Skip the first `n` AgentCronJobs.
|
|
165
|
+
*/
|
|
166
|
+
skip?: number
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
+
*
|
|
170
|
+
* Count returned AgentCronJobs
|
|
171
|
+
**/
|
|
172
|
+
_count?: true | AgentCronJobCountAggregateInputType
|
|
173
|
+
/**
|
|
174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
+
*
|
|
176
|
+
* Select which fields to find the minimum value
|
|
177
|
+
**/
|
|
178
|
+
_min?: AgentCronJobMinAggregateInputType
|
|
179
|
+
/**
|
|
180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
181
|
+
*
|
|
182
|
+
* Select which fields to find the maximum value
|
|
183
|
+
**/
|
|
184
|
+
_max?: AgentCronJobMaxAggregateInputType
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export type GetAgentCronJobAggregateType<T extends AgentCronJobAggregateArgs> = {
|
|
188
|
+
[P in keyof T & keyof AggregateAgentCronJob]: P extends '_count' | 'count'
|
|
189
|
+
? T[P] extends true
|
|
190
|
+
? number
|
|
191
|
+
: Prisma.GetScalarType<T[P], AggregateAgentCronJob[P]>
|
|
192
|
+
: Prisma.GetScalarType<T[P], AggregateAgentCronJob[P]>
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
export type AgentCronJobGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
199
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
200
|
+
orderBy?: Prisma.AgentCronJobOrderByWithAggregationInput | Prisma.AgentCronJobOrderByWithAggregationInput[]
|
|
201
|
+
by: Prisma.AgentCronJobScalarFieldEnum[] | Prisma.AgentCronJobScalarFieldEnum
|
|
202
|
+
having?: Prisma.AgentCronJobScalarWhereWithAggregatesInput
|
|
203
|
+
take?: number
|
|
204
|
+
skip?: number
|
|
205
|
+
_count?: AgentCronJobCountAggregateInputType | true
|
|
206
|
+
_min?: AgentCronJobMinAggregateInputType
|
|
207
|
+
_max?: AgentCronJobMaxAggregateInputType
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export type AgentCronJobGroupByOutputType = {
|
|
211
|
+
id: string
|
|
212
|
+
agentId: string
|
|
213
|
+
schedule: string
|
|
214
|
+
prompt: string
|
|
215
|
+
channel: string | null
|
|
216
|
+
user: string | null
|
|
217
|
+
silent: boolean
|
|
218
|
+
enabled: boolean
|
|
219
|
+
preCheck: string | null
|
|
220
|
+
name: string | null
|
|
221
|
+
system: boolean
|
|
222
|
+
lockdownDisabledAt: Date | null
|
|
223
|
+
createdAt: Date
|
|
224
|
+
updatedAt: Date
|
|
225
|
+
parentCronId: string | null
|
|
226
|
+
_count: AgentCronJobCountAggregateOutputType | null
|
|
227
|
+
_min: AgentCronJobMinAggregateOutputType | null
|
|
228
|
+
_max: AgentCronJobMaxAggregateOutputType | null
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export type GetAgentCronJobGroupByPayload<T extends AgentCronJobGroupByArgs> = Prisma.PrismaPromise<
|
|
232
|
+
Array<
|
|
233
|
+
Prisma.PickEnumerable<AgentCronJobGroupByOutputType, T['by']> &
|
|
234
|
+
{
|
|
235
|
+
[P in ((keyof T) & (keyof AgentCronJobGroupByOutputType))]: P extends '_count'
|
|
236
|
+
? T[P] extends boolean
|
|
237
|
+
? number
|
|
238
|
+
: Prisma.GetScalarType<T[P], AgentCronJobGroupByOutputType[P]>
|
|
239
|
+
: Prisma.GetScalarType<T[P], AgentCronJobGroupByOutputType[P]>
|
|
240
|
+
}
|
|
241
|
+
>
|
|
242
|
+
>
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
export type AgentCronJobWhereInput = {
|
|
247
|
+
AND?: Prisma.AgentCronJobWhereInput | Prisma.AgentCronJobWhereInput[]
|
|
248
|
+
OR?: Prisma.AgentCronJobWhereInput[]
|
|
249
|
+
NOT?: Prisma.AgentCronJobWhereInput | Prisma.AgentCronJobWhereInput[]
|
|
250
|
+
id?: Prisma.StringFilter<"AgentCronJob"> | string
|
|
251
|
+
agentId?: Prisma.StringFilter<"AgentCronJob"> | string
|
|
252
|
+
schedule?: Prisma.StringFilter<"AgentCronJob"> | string
|
|
253
|
+
prompt?: Prisma.StringFilter<"AgentCronJob"> | string
|
|
254
|
+
channel?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
255
|
+
user?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
256
|
+
silent?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
257
|
+
enabled?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
258
|
+
preCheck?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
259
|
+
name?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
260
|
+
system?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
261
|
+
lockdownDisabledAt?: Prisma.DateTimeNullableFilter<"AgentCronJob"> | Date | string | null
|
|
262
|
+
createdAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
263
|
+
updatedAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
264
|
+
parentCronId?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
265
|
+
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>
|
|
266
|
+
parentCron?: Prisma.XOR<Prisma.AgentCronJobNullableScalarRelationFilter, Prisma.AgentCronJobWhereInput> | null
|
|
267
|
+
phases?: Prisma.AgentCronJobListRelationFilter
|
|
268
|
+
runs?: Prisma.AgentCronRunListRelationFilter
|
|
269
|
+
phaseRuns?: Prisma.AgentCronRunListRelationFilter
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export type AgentCronJobOrderByWithRelationInput = {
|
|
273
|
+
id?: Prisma.SortOrder
|
|
274
|
+
agentId?: Prisma.SortOrder
|
|
275
|
+
schedule?: Prisma.SortOrder
|
|
276
|
+
prompt?: Prisma.SortOrder
|
|
277
|
+
channel?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
278
|
+
user?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
279
|
+
silent?: Prisma.SortOrder
|
|
280
|
+
enabled?: Prisma.SortOrder
|
|
281
|
+
preCheck?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
282
|
+
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
283
|
+
system?: Prisma.SortOrder
|
|
284
|
+
lockdownDisabledAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
285
|
+
createdAt?: Prisma.SortOrder
|
|
286
|
+
updatedAt?: Prisma.SortOrder
|
|
287
|
+
parentCronId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
288
|
+
agent?: Prisma.AgentOrderByWithRelationInput
|
|
289
|
+
parentCron?: Prisma.AgentCronJobOrderByWithRelationInput
|
|
290
|
+
phases?: Prisma.AgentCronJobOrderByRelationAggregateInput
|
|
291
|
+
runs?: Prisma.AgentCronRunOrderByRelationAggregateInput
|
|
292
|
+
phaseRuns?: Prisma.AgentCronRunOrderByRelationAggregateInput
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export type AgentCronJobWhereUniqueInput = Prisma.AtLeast<{
|
|
296
|
+
id?: string
|
|
297
|
+
AND?: Prisma.AgentCronJobWhereInput | Prisma.AgentCronJobWhereInput[]
|
|
298
|
+
OR?: Prisma.AgentCronJobWhereInput[]
|
|
299
|
+
NOT?: Prisma.AgentCronJobWhereInput | Prisma.AgentCronJobWhereInput[]
|
|
300
|
+
agentId?: Prisma.StringFilter<"AgentCronJob"> | string
|
|
301
|
+
schedule?: Prisma.StringFilter<"AgentCronJob"> | string
|
|
302
|
+
prompt?: Prisma.StringFilter<"AgentCronJob"> | string
|
|
303
|
+
channel?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
304
|
+
user?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
305
|
+
silent?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
306
|
+
enabled?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
307
|
+
preCheck?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
308
|
+
name?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
309
|
+
system?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
310
|
+
lockdownDisabledAt?: Prisma.DateTimeNullableFilter<"AgentCronJob"> | Date | string | null
|
|
311
|
+
createdAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
312
|
+
updatedAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
313
|
+
parentCronId?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
314
|
+
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>
|
|
315
|
+
parentCron?: Prisma.XOR<Prisma.AgentCronJobNullableScalarRelationFilter, Prisma.AgentCronJobWhereInput> | null
|
|
316
|
+
phases?: Prisma.AgentCronJobListRelationFilter
|
|
317
|
+
runs?: Prisma.AgentCronRunListRelationFilter
|
|
318
|
+
phaseRuns?: Prisma.AgentCronRunListRelationFilter
|
|
319
|
+
}, "id">
|
|
320
|
+
|
|
321
|
+
export type AgentCronJobOrderByWithAggregationInput = {
|
|
322
|
+
id?: Prisma.SortOrder
|
|
323
|
+
agentId?: Prisma.SortOrder
|
|
324
|
+
schedule?: Prisma.SortOrder
|
|
325
|
+
prompt?: Prisma.SortOrder
|
|
326
|
+
channel?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
327
|
+
user?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
328
|
+
silent?: Prisma.SortOrder
|
|
329
|
+
enabled?: Prisma.SortOrder
|
|
330
|
+
preCheck?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
331
|
+
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
332
|
+
system?: Prisma.SortOrder
|
|
333
|
+
lockdownDisabledAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
334
|
+
createdAt?: Prisma.SortOrder
|
|
335
|
+
updatedAt?: Prisma.SortOrder
|
|
336
|
+
parentCronId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
337
|
+
_count?: Prisma.AgentCronJobCountOrderByAggregateInput
|
|
338
|
+
_max?: Prisma.AgentCronJobMaxOrderByAggregateInput
|
|
339
|
+
_min?: Prisma.AgentCronJobMinOrderByAggregateInput
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type AgentCronJobScalarWhereWithAggregatesInput = {
|
|
343
|
+
AND?: Prisma.AgentCronJobScalarWhereWithAggregatesInput | Prisma.AgentCronJobScalarWhereWithAggregatesInput[]
|
|
344
|
+
OR?: Prisma.AgentCronJobScalarWhereWithAggregatesInput[]
|
|
345
|
+
NOT?: Prisma.AgentCronJobScalarWhereWithAggregatesInput | Prisma.AgentCronJobScalarWhereWithAggregatesInput[]
|
|
346
|
+
id?: Prisma.StringWithAggregatesFilter<"AgentCronJob"> | string
|
|
347
|
+
agentId?: Prisma.StringWithAggregatesFilter<"AgentCronJob"> | string
|
|
348
|
+
schedule?: Prisma.StringWithAggregatesFilter<"AgentCronJob"> | string
|
|
349
|
+
prompt?: Prisma.StringWithAggregatesFilter<"AgentCronJob"> | string
|
|
350
|
+
channel?: Prisma.StringNullableWithAggregatesFilter<"AgentCronJob"> | string | null
|
|
351
|
+
user?: Prisma.StringNullableWithAggregatesFilter<"AgentCronJob"> | string | null
|
|
352
|
+
silent?: Prisma.BoolWithAggregatesFilter<"AgentCronJob"> | boolean
|
|
353
|
+
enabled?: Prisma.BoolWithAggregatesFilter<"AgentCronJob"> | boolean
|
|
354
|
+
preCheck?: Prisma.StringNullableWithAggregatesFilter<"AgentCronJob"> | string | null
|
|
355
|
+
name?: Prisma.StringNullableWithAggregatesFilter<"AgentCronJob"> | string | null
|
|
356
|
+
system?: Prisma.BoolWithAggregatesFilter<"AgentCronJob"> | boolean
|
|
357
|
+
lockdownDisabledAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AgentCronJob"> | Date | string | null
|
|
358
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AgentCronJob"> | Date | string
|
|
359
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AgentCronJob"> | Date | string
|
|
360
|
+
parentCronId?: Prisma.StringNullableWithAggregatesFilter<"AgentCronJob"> | string | null
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export type AgentCronJobCreateInput = {
|
|
364
|
+
id?: string
|
|
365
|
+
schedule: string
|
|
366
|
+
prompt: string
|
|
367
|
+
channel?: string | null
|
|
368
|
+
user?: string | null
|
|
369
|
+
silent?: boolean
|
|
370
|
+
enabled?: boolean
|
|
371
|
+
preCheck?: string | null
|
|
372
|
+
name?: string | null
|
|
373
|
+
system?: boolean
|
|
374
|
+
lockdownDisabledAt?: Date | string | null
|
|
375
|
+
createdAt?: Date | string
|
|
376
|
+
updatedAt?: Date | string
|
|
377
|
+
agent: Prisma.AgentCreateNestedOneWithoutCronJobsInput
|
|
378
|
+
parentCron?: Prisma.AgentCronJobCreateNestedOneWithoutPhasesInput
|
|
379
|
+
phases?: Prisma.AgentCronJobCreateNestedManyWithoutParentCronInput
|
|
380
|
+
runs?: Prisma.AgentCronRunCreateNestedManyWithoutCronInput
|
|
381
|
+
phaseRuns?: Prisma.AgentCronRunCreateNestedManyWithoutPhaseCronInput
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export type AgentCronJobUncheckedCreateInput = {
|
|
385
|
+
id?: string
|
|
386
|
+
agentId: string
|
|
387
|
+
schedule: string
|
|
388
|
+
prompt: string
|
|
389
|
+
channel?: string | null
|
|
390
|
+
user?: string | null
|
|
391
|
+
silent?: boolean
|
|
392
|
+
enabled?: boolean
|
|
393
|
+
preCheck?: string | null
|
|
394
|
+
name?: string | null
|
|
395
|
+
system?: boolean
|
|
396
|
+
lockdownDisabledAt?: Date | string | null
|
|
397
|
+
createdAt?: Date | string
|
|
398
|
+
updatedAt?: Date | string
|
|
399
|
+
parentCronId?: string | null
|
|
400
|
+
phases?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutParentCronInput
|
|
401
|
+
runs?: Prisma.AgentCronRunUncheckedCreateNestedManyWithoutCronInput
|
|
402
|
+
phaseRuns?: Prisma.AgentCronRunUncheckedCreateNestedManyWithoutPhaseCronInput
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export type AgentCronJobUpdateInput = {
|
|
406
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
407
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
408
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
409
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
410
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
411
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
412
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
413
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
414
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
415
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
416
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
417
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
418
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
419
|
+
agent?: Prisma.AgentUpdateOneRequiredWithoutCronJobsNestedInput
|
|
420
|
+
parentCron?: Prisma.AgentCronJobUpdateOneWithoutPhasesNestedInput
|
|
421
|
+
phases?: Prisma.AgentCronJobUpdateManyWithoutParentCronNestedInput
|
|
422
|
+
runs?: Prisma.AgentCronRunUpdateManyWithoutCronNestedInput
|
|
423
|
+
phaseRuns?: Prisma.AgentCronRunUpdateManyWithoutPhaseCronNestedInput
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export type AgentCronJobUncheckedUpdateInput = {
|
|
427
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
428
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
429
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
430
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
431
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
432
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
433
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
434
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
435
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
436
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
437
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
438
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
439
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
440
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
441
|
+
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
442
|
+
phases?: Prisma.AgentCronJobUncheckedUpdateManyWithoutParentCronNestedInput
|
|
443
|
+
runs?: Prisma.AgentCronRunUncheckedUpdateManyWithoutCronNestedInput
|
|
444
|
+
phaseRuns?: Prisma.AgentCronRunUncheckedUpdateManyWithoutPhaseCronNestedInput
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export type AgentCronJobCreateManyInput = {
|
|
448
|
+
id?: string
|
|
449
|
+
agentId: string
|
|
450
|
+
schedule: string
|
|
451
|
+
prompt: string
|
|
452
|
+
channel?: string | null
|
|
453
|
+
user?: string | null
|
|
454
|
+
silent?: boolean
|
|
455
|
+
enabled?: boolean
|
|
456
|
+
preCheck?: string | null
|
|
457
|
+
name?: string | null
|
|
458
|
+
system?: boolean
|
|
459
|
+
lockdownDisabledAt?: Date | string | null
|
|
460
|
+
createdAt?: Date | string
|
|
461
|
+
updatedAt?: Date | string
|
|
462
|
+
parentCronId?: string | null
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export type AgentCronJobUpdateManyMutationInput = {
|
|
466
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
467
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
468
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
469
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
470
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
471
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
472
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
473
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
474
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
475
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
476
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
477
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
478
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export type AgentCronJobUncheckedUpdateManyInput = {
|
|
482
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
483
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
484
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
485
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
486
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
487
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
488
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
489
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
490
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
491
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
492
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
493
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
494
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
495
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
496
|
+
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export type AgentCronJobListRelationFilter = {
|
|
500
|
+
every?: Prisma.AgentCronJobWhereInput
|
|
501
|
+
some?: Prisma.AgentCronJobWhereInput
|
|
502
|
+
none?: Prisma.AgentCronJobWhereInput
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export type AgentCronJobOrderByRelationAggregateInput = {
|
|
506
|
+
_count?: Prisma.SortOrder
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export type AgentCronJobNullableScalarRelationFilter = {
|
|
510
|
+
is?: Prisma.AgentCronJobWhereInput | null
|
|
511
|
+
isNot?: Prisma.AgentCronJobWhereInput | null
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export type AgentCronJobCountOrderByAggregateInput = {
|
|
515
|
+
id?: Prisma.SortOrder
|
|
516
|
+
agentId?: Prisma.SortOrder
|
|
517
|
+
schedule?: Prisma.SortOrder
|
|
518
|
+
prompt?: Prisma.SortOrder
|
|
519
|
+
channel?: Prisma.SortOrder
|
|
520
|
+
user?: Prisma.SortOrder
|
|
521
|
+
silent?: Prisma.SortOrder
|
|
522
|
+
enabled?: Prisma.SortOrder
|
|
523
|
+
preCheck?: Prisma.SortOrder
|
|
524
|
+
name?: Prisma.SortOrder
|
|
525
|
+
system?: Prisma.SortOrder
|
|
526
|
+
lockdownDisabledAt?: Prisma.SortOrder
|
|
527
|
+
createdAt?: Prisma.SortOrder
|
|
528
|
+
updatedAt?: Prisma.SortOrder
|
|
529
|
+
parentCronId?: Prisma.SortOrder
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export type AgentCronJobMaxOrderByAggregateInput = {
|
|
533
|
+
id?: Prisma.SortOrder
|
|
534
|
+
agentId?: Prisma.SortOrder
|
|
535
|
+
schedule?: Prisma.SortOrder
|
|
536
|
+
prompt?: Prisma.SortOrder
|
|
537
|
+
channel?: Prisma.SortOrder
|
|
538
|
+
user?: Prisma.SortOrder
|
|
539
|
+
silent?: Prisma.SortOrder
|
|
540
|
+
enabled?: Prisma.SortOrder
|
|
541
|
+
preCheck?: Prisma.SortOrder
|
|
542
|
+
name?: Prisma.SortOrder
|
|
543
|
+
system?: Prisma.SortOrder
|
|
544
|
+
lockdownDisabledAt?: Prisma.SortOrder
|
|
545
|
+
createdAt?: Prisma.SortOrder
|
|
546
|
+
updatedAt?: Prisma.SortOrder
|
|
547
|
+
parentCronId?: Prisma.SortOrder
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export type AgentCronJobMinOrderByAggregateInput = {
|
|
551
|
+
id?: Prisma.SortOrder
|
|
552
|
+
agentId?: Prisma.SortOrder
|
|
553
|
+
schedule?: Prisma.SortOrder
|
|
554
|
+
prompt?: Prisma.SortOrder
|
|
555
|
+
channel?: Prisma.SortOrder
|
|
556
|
+
user?: Prisma.SortOrder
|
|
557
|
+
silent?: Prisma.SortOrder
|
|
558
|
+
enabled?: Prisma.SortOrder
|
|
559
|
+
preCheck?: Prisma.SortOrder
|
|
560
|
+
name?: Prisma.SortOrder
|
|
561
|
+
system?: Prisma.SortOrder
|
|
562
|
+
lockdownDisabledAt?: Prisma.SortOrder
|
|
563
|
+
createdAt?: Prisma.SortOrder
|
|
564
|
+
updatedAt?: Prisma.SortOrder
|
|
565
|
+
parentCronId?: Prisma.SortOrder
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export type AgentCronJobScalarRelationFilter = {
|
|
569
|
+
is?: Prisma.AgentCronJobWhereInput
|
|
570
|
+
isNot?: Prisma.AgentCronJobWhereInput
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
export type AgentCronJobCreateNestedManyWithoutAgentInput = {
|
|
574
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutAgentInput, Prisma.AgentCronJobUncheckedCreateWithoutAgentInput> | Prisma.AgentCronJobCreateWithoutAgentInput[] | Prisma.AgentCronJobUncheckedCreateWithoutAgentInput[]
|
|
575
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutAgentInput | Prisma.AgentCronJobCreateOrConnectWithoutAgentInput[]
|
|
576
|
+
createMany?: Prisma.AgentCronJobCreateManyAgentInputEnvelope
|
|
577
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export type AgentCronJobUncheckedCreateNestedManyWithoutAgentInput = {
|
|
581
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutAgentInput, Prisma.AgentCronJobUncheckedCreateWithoutAgentInput> | Prisma.AgentCronJobCreateWithoutAgentInput[] | Prisma.AgentCronJobUncheckedCreateWithoutAgentInput[]
|
|
582
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutAgentInput | Prisma.AgentCronJobCreateOrConnectWithoutAgentInput[]
|
|
583
|
+
createMany?: Prisma.AgentCronJobCreateManyAgentInputEnvelope
|
|
584
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export type AgentCronJobUpdateManyWithoutAgentNestedInput = {
|
|
588
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutAgentInput, Prisma.AgentCronJobUncheckedCreateWithoutAgentInput> | Prisma.AgentCronJobCreateWithoutAgentInput[] | Prisma.AgentCronJobUncheckedCreateWithoutAgentInput[]
|
|
589
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutAgentInput | Prisma.AgentCronJobCreateOrConnectWithoutAgentInput[]
|
|
590
|
+
upsert?: Prisma.AgentCronJobUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentCronJobUpsertWithWhereUniqueWithoutAgentInput[]
|
|
591
|
+
createMany?: Prisma.AgentCronJobCreateManyAgentInputEnvelope
|
|
592
|
+
set?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
593
|
+
disconnect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
594
|
+
delete?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
595
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
596
|
+
update?: Prisma.AgentCronJobUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentCronJobUpdateWithWhereUniqueWithoutAgentInput[]
|
|
597
|
+
updateMany?: Prisma.AgentCronJobUpdateManyWithWhereWithoutAgentInput | Prisma.AgentCronJobUpdateManyWithWhereWithoutAgentInput[]
|
|
598
|
+
deleteMany?: Prisma.AgentCronJobScalarWhereInput | Prisma.AgentCronJobScalarWhereInput[]
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export type AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput = {
|
|
602
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutAgentInput, Prisma.AgentCronJobUncheckedCreateWithoutAgentInput> | Prisma.AgentCronJobCreateWithoutAgentInput[] | Prisma.AgentCronJobUncheckedCreateWithoutAgentInput[]
|
|
603
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutAgentInput | Prisma.AgentCronJobCreateOrConnectWithoutAgentInput[]
|
|
604
|
+
upsert?: Prisma.AgentCronJobUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentCronJobUpsertWithWhereUniqueWithoutAgentInput[]
|
|
605
|
+
createMany?: Prisma.AgentCronJobCreateManyAgentInputEnvelope
|
|
606
|
+
set?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
607
|
+
disconnect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
608
|
+
delete?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
609
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
610
|
+
update?: Prisma.AgentCronJobUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentCronJobUpdateWithWhereUniqueWithoutAgentInput[]
|
|
611
|
+
updateMany?: Prisma.AgentCronJobUpdateManyWithWhereWithoutAgentInput | Prisma.AgentCronJobUpdateManyWithWhereWithoutAgentInput[]
|
|
612
|
+
deleteMany?: Prisma.AgentCronJobScalarWhereInput | Prisma.AgentCronJobScalarWhereInput[]
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export type AgentCronJobCreateNestedOneWithoutPhasesInput = {
|
|
616
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutPhasesInput, Prisma.AgentCronJobUncheckedCreateWithoutPhasesInput>
|
|
617
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutPhasesInput
|
|
618
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
export type AgentCronJobCreateNestedManyWithoutParentCronInput = {
|
|
622
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutParentCronInput, Prisma.AgentCronJobUncheckedCreateWithoutParentCronInput> | Prisma.AgentCronJobCreateWithoutParentCronInput[] | Prisma.AgentCronJobUncheckedCreateWithoutParentCronInput[]
|
|
623
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutParentCronInput | Prisma.AgentCronJobCreateOrConnectWithoutParentCronInput[]
|
|
624
|
+
createMany?: Prisma.AgentCronJobCreateManyParentCronInputEnvelope
|
|
625
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
export type AgentCronJobUncheckedCreateNestedManyWithoutParentCronInput = {
|
|
629
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutParentCronInput, Prisma.AgentCronJobUncheckedCreateWithoutParentCronInput> | Prisma.AgentCronJobCreateWithoutParentCronInput[] | Prisma.AgentCronJobUncheckedCreateWithoutParentCronInput[]
|
|
630
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutParentCronInput | Prisma.AgentCronJobCreateOrConnectWithoutParentCronInput[]
|
|
631
|
+
createMany?: Prisma.AgentCronJobCreateManyParentCronInputEnvelope
|
|
632
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
export type AgentCronJobUpdateOneWithoutPhasesNestedInput = {
|
|
636
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutPhasesInput, Prisma.AgentCronJobUncheckedCreateWithoutPhasesInput>
|
|
637
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutPhasesInput
|
|
638
|
+
upsert?: Prisma.AgentCronJobUpsertWithoutPhasesInput
|
|
639
|
+
disconnect?: Prisma.AgentCronJobWhereInput | boolean
|
|
640
|
+
delete?: Prisma.AgentCronJobWhereInput | boolean
|
|
641
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput
|
|
642
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AgentCronJobUpdateToOneWithWhereWithoutPhasesInput, Prisma.AgentCronJobUpdateWithoutPhasesInput>, Prisma.AgentCronJobUncheckedUpdateWithoutPhasesInput>
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
export type AgentCronJobUpdateManyWithoutParentCronNestedInput = {
|
|
646
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutParentCronInput, Prisma.AgentCronJobUncheckedCreateWithoutParentCronInput> | Prisma.AgentCronJobCreateWithoutParentCronInput[] | Prisma.AgentCronJobUncheckedCreateWithoutParentCronInput[]
|
|
647
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutParentCronInput | Prisma.AgentCronJobCreateOrConnectWithoutParentCronInput[]
|
|
648
|
+
upsert?: Prisma.AgentCronJobUpsertWithWhereUniqueWithoutParentCronInput | Prisma.AgentCronJobUpsertWithWhereUniqueWithoutParentCronInput[]
|
|
649
|
+
createMany?: Prisma.AgentCronJobCreateManyParentCronInputEnvelope
|
|
650
|
+
set?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
651
|
+
disconnect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
652
|
+
delete?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
653
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
654
|
+
update?: Prisma.AgentCronJobUpdateWithWhereUniqueWithoutParentCronInput | Prisma.AgentCronJobUpdateWithWhereUniqueWithoutParentCronInput[]
|
|
655
|
+
updateMany?: Prisma.AgentCronJobUpdateManyWithWhereWithoutParentCronInput | Prisma.AgentCronJobUpdateManyWithWhereWithoutParentCronInput[]
|
|
656
|
+
deleteMany?: Prisma.AgentCronJobScalarWhereInput | Prisma.AgentCronJobScalarWhereInput[]
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
export type AgentCronJobUncheckedUpdateManyWithoutParentCronNestedInput = {
|
|
660
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutParentCronInput, Prisma.AgentCronJobUncheckedCreateWithoutParentCronInput> | Prisma.AgentCronJobCreateWithoutParentCronInput[] | Prisma.AgentCronJobUncheckedCreateWithoutParentCronInput[]
|
|
661
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutParentCronInput | Prisma.AgentCronJobCreateOrConnectWithoutParentCronInput[]
|
|
662
|
+
upsert?: Prisma.AgentCronJobUpsertWithWhereUniqueWithoutParentCronInput | Prisma.AgentCronJobUpsertWithWhereUniqueWithoutParentCronInput[]
|
|
663
|
+
createMany?: Prisma.AgentCronJobCreateManyParentCronInputEnvelope
|
|
664
|
+
set?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
665
|
+
disconnect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
666
|
+
delete?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
667
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput | Prisma.AgentCronJobWhereUniqueInput[]
|
|
668
|
+
update?: Prisma.AgentCronJobUpdateWithWhereUniqueWithoutParentCronInput | Prisma.AgentCronJobUpdateWithWhereUniqueWithoutParentCronInput[]
|
|
669
|
+
updateMany?: Prisma.AgentCronJobUpdateManyWithWhereWithoutParentCronInput | Prisma.AgentCronJobUpdateManyWithWhereWithoutParentCronInput[]
|
|
670
|
+
deleteMany?: Prisma.AgentCronJobScalarWhereInput | Prisma.AgentCronJobScalarWhereInput[]
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export type AgentCronJobCreateNestedOneWithoutRunsInput = {
|
|
674
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutRunsInput, Prisma.AgentCronJobUncheckedCreateWithoutRunsInput>
|
|
675
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutRunsInput
|
|
676
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
export type AgentCronJobCreateNestedOneWithoutPhaseRunsInput = {
|
|
680
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutPhaseRunsInput, Prisma.AgentCronJobUncheckedCreateWithoutPhaseRunsInput>
|
|
681
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutPhaseRunsInput
|
|
682
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
export type AgentCronJobUpdateOneRequiredWithoutRunsNestedInput = {
|
|
686
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutRunsInput, Prisma.AgentCronJobUncheckedCreateWithoutRunsInput>
|
|
687
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutRunsInput
|
|
688
|
+
upsert?: Prisma.AgentCronJobUpsertWithoutRunsInput
|
|
689
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput
|
|
690
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AgentCronJobUpdateToOneWithWhereWithoutRunsInput, Prisma.AgentCronJobUpdateWithoutRunsInput>, Prisma.AgentCronJobUncheckedUpdateWithoutRunsInput>
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
export type AgentCronJobUpdateOneWithoutPhaseRunsNestedInput = {
|
|
694
|
+
create?: Prisma.XOR<Prisma.AgentCronJobCreateWithoutPhaseRunsInput, Prisma.AgentCronJobUncheckedCreateWithoutPhaseRunsInput>
|
|
695
|
+
connectOrCreate?: Prisma.AgentCronJobCreateOrConnectWithoutPhaseRunsInput
|
|
696
|
+
upsert?: Prisma.AgentCronJobUpsertWithoutPhaseRunsInput
|
|
697
|
+
disconnect?: Prisma.AgentCronJobWhereInput | boolean
|
|
698
|
+
delete?: Prisma.AgentCronJobWhereInput | boolean
|
|
699
|
+
connect?: Prisma.AgentCronJobWhereUniqueInput
|
|
700
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AgentCronJobUpdateToOneWithWhereWithoutPhaseRunsInput, Prisma.AgentCronJobUpdateWithoutPhaseRunsInput>, Prisma.AgentCronJobUncheckedUpdateWithoutPhaseRunsInput>
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
export type AgentCronJobCreateWithoutAgentInput = {
|
|
704
|
+
id?: string
|
|
705
|
+
schedule: string
|
|
706
|
+
prompt: string
|
|
707
|
+
channel?: string | null
|
|
708
|
+
user?: string | null
|
|
709
|
+
silent?: boolean
|
|
710
|
+
enabled?: boolean
|
|
711
|
+
preCheck?: string | null
|
|
712
|
+
name?: string | null
|
|
713
|
+
system?: boolean
|
|
714
|
+
lockdownDisabledAt?: Date | string | null
|
|
715
|
+
createdAt?: Date | string
|
|
716
|
+
updatedAt?: Date | string
|
|
717
|
+
parentCron?: Prisma.AgentCronJobCreateNestedOneWithoutPhasesInput
|
|
718
|
+
phases?: Prisma.AgentCronJobCreateNestedManyWithoutParentCronInput
|
|
719
|
+
runs?: Prisma.AgentCronRunCreateNestedManyWithoutCronInput
|
|
720
|
+
phaseRuns?: Prisma.AgentCronRunCreateNestedManyWithoutPhaseCronInput
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
export type AgentCronJobUncheckedCreateWithoutAgentInput = {
|
|
724
|
+
id?: string
|
|
725
|
+
schedule: string
|
|
726
|
+
prompt: string
|
|
727
|
+
channel?: string | null
|
|
728
|
+
user?: string | null
|
|
729
|
+
silent?: boolean
|
|
730
|
+
enabled?: boolean
|
|
731
|
+
preCheck?: string | null
|
|
732
|
+
name?: string | null
|
|
733
|
+
system?: boolean
|
|
734
|
+
lockdownDisabledAt?: Date | string | null
|
|
735
|
+
createdAt?: Date | string
|
|
736
|
+
updatedAt?: Date | string
|
|
737
|
+
parentCronId?: string | null
|
|
738
|
+
phases?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutParentCronInput
|
|
739
|
+
runs?: Prisma.AgentCronRunUncheckedCreateNestedManyWithoutCronInput
|
|
740
|
+
phaseRuns?: Prisma.AgentCronRunUncheckedCreateNestedManyWithoutPhaseCronInput
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
export type AgentCronJobCreateOrConnectWithoutAgentInput = {
|
|
744
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
745
|
+
create: Prisma.XOR<Prisma.AgentCronJobCreateWithoutAgentInput, Prisma.AgentCronJobUncheckedCreateWithoutAgentInput>
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
export type AgentCronJobCreateManyAgentInputEnvelope = {
|
|
749
|
+
data: Prisma.AgentCronJobCreateManyAgentInput | Prisma.AgentCronJobCreateManyAgentInput[]
|
|
750
|
+
skipDuplicates?: boolean
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
export type AgentCronJobUpsertWithWhereUniqueWithoutAgentInput = {
|
|
754
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
755
|
+
update: Prisma.XOR<Prisma.AgentCronJobUpdateWithoutAgentInput, Prisma.AgentCronJobUncheckedUpdateWithoutAgentInput>
|
|
756
|
+
create: Prisma.XOR<Prisma.AgentCronJobCreateWithoutAgentInput, Prisma.AgentCronJobUncheckedCreateWithoutAgentInput>
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
export type AgentCronJobUpdateWithWhereUniqueWithoutAgentInput = {
|
|
760
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
761
|
+
data: Prisma.XOR<Prisma.AgentCronJobUpdateWithoutAgentInput, Prisma.AgentCronJobUncheckedUpdateWithoutAgentInput>
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
export type AgentCronJobUpdateManyWithWhereWithoutAgentInput = {
|
|
765
|
+
where: Prisma.AgentCronJobScalarWhereInput
|
|
766
|
+
data: Prisma.XOR<Prisma.AgentCronJobUpdateManyMutationInput, Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentInput>
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
export type AgentCronJobScalarWhereInput = {
|
|
770
|
+
AND?: Prisma.AgentCronJobScalarWhereInput | Prisma.AgentCronJobScalarWhereInput[]
|
|
771
|
+
OR?: Prisma.AgentCronJobScalarWhereInput[]
|
|
772
|
+
NOT?: Prisma.AgentCronJobScalarWhereInput | Prisma.AgentCronJobScalarWhereInput[]
|
|
773
|
+
id?: Prisma.StringFilter<"AgentCronJob"> | string
|
|
774
|
+
agentId?: Prisma.StringFilter<"AgentCronJob"> | string
|
|
775
|
+
schedule?: Prisma.StringFilter<"AgentCronJob"> | string
|
|
776
|
+
prompt?: Prisma.StringFilter<"AgentCronJob"> | string
|
|
777
|
+
channel?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
778
|
+
user?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
779
|
+
silent?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
780
|
+
enabled?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
781
|
+
preCheck?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
782
|
+
name?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
783
|
+
system?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
784
|
+
lockdownDisabledAt?: Prisma.DateTimeNullableFilter<"AgentCronJob"> | Date | string | null
|
|
785
|
+
createdAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
786
|
+
updatedAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
787
|
+
parentCronId?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
export type AgentCronJobCreateWithoutPhasesInput = {
|
|
791
|
+
id?: string
|
|
792
|
+
schedule: string
|
|
793
|
+
prompt: string
|
|
794
|
+
channel?: string | null
|
|
795
|
+
user?: string | null
|
|
796
|
+
silent?: boolean
|
|
797
|
+
enabled?: boolean
|
|
798
|
+
preCheck?: string | null
|
|
799
|
+
name?: string | null
|
|
800
|
+
system?: boolean
|
|
801
|
+
lockdownDisabledAt?: Date | string | null
|
|
802
|
+
createdAt?: Date | string
|
|
803
|
+
updatedAt?: Date | string
|
|
804
|
+
agent: Prisma.AgentCreateNestedOneWithoutCronJobsInput
|
|
805
|
+
parentCron?: Prisma.AgentCronJobCreateNestedOneWithoutPhasesInput
|
|
806
|
+
runs?: Prisma.AgentCronRunCreateNestedManyWithoutCronInput
|
|
807
|
+
phaseRuns?: Prisma.AgentCronRunCreateNestedManyWithoutPhaseCronInput
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
export type AgentCronJobUncheckedCreateWithoutPhasesInput = {
|
|
811
|
+
id?: string
|
|
812
|
+
agentId: string
|
|
813
|
+
schedule: string
|
|
814
|
+
prompt: string
|
|
815
|
+
channel?: string | null
|
|
816
|
+
user?: string | null
|
|
817
|
+
silent?: boolean
|
|
818
|
+
enabled?: boolean
|
|
819
|
+
preCheck?: string | null
|
|
820
|
+
name?: string | null
|
|
821
|
+
system?: boolean
|
|
822
|
+
lockdownDisabledAt?: Date | string | null
|
|
823
|
+
createdAt?: Date | string
|
|
824
|
+
updatedAt?: Date | string
|
|
825
|
+
parentCronId?: string | null
|
|
826
|
+
runs?: Prisma.AgentCronRunUncheckedCreateNestedManyWithoutCronInput
|
|
827
|
+
phaseRuns?: Prisma.AgentCronRunUncheckedCreateNestedManyWithoutPhaseCronInput
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
export type AgentCronJobCreateOrConnectWithoutPhasesInput = {
|
|
831
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
832
|
+
create: Prisma.XOR<Prisma.AgentCronJobCreateWithoutPhasesInput, Prisma.AgentCronJobUncheckedCreateWithoutPhasesInput>
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
export type AgentCronJobCreateWithoutParentCronInput = {
|
|
836
|
+
id?: string
|
|
837
|
+
schedule: string
|
|
838
|
+
prompt: string
|
|
839
|
+
channel?: string | null
|
|
840
|
+
user?: string | null
|
|
841
|
+
silent?: boolean
|
|
842
|
+
enabled?: boolean
|
|
843
|
+
preCheck?: string | null
|
|
844
|
+
name?: string | null
|
|
845
|
+
system?: boolean
|
|
846
|
+
lockdownDisabledAt?: Date | string | null
|
|
847
|
+
createdAt?: Date | string
|
|
848
|
+
updatedAt?: Date | string
|
|
849
|
+
agent: Prisma.AgentCreateNestedOneWithoutCronJobsInput
|
|
850
|
+
phases?: Prisma.AgentCronJobCreateNestedManyWithoutParentCronInput
|
|
851
|
+
runs?: Prisma.AgentCronRunCreateNestedManyWithoutCronInput
|
|
852
|
+
phaseRuns?: Prisma.AgentCronRunCreateNestedManyWithoutPhaseCronInput
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export type AgentCronJobUncheckedCreateWithoutParentCronInput = {
|
|
856
|
+
id?: string
|
|
857
|
+
agentId: string
|
|
858
|
+
schedule: string
|
|
859
|
+
prompt: string
|
|
860
|
+
channel?: string | null
|
|
861
|
+
user?: string | null
|
|
862
|
+
silent?: boolean
|
|
863
|
+
enabled?: boolean
|
|
864
|
+
preCheck?: string | null
|
|
865
|
+
name?: string | null
|
|
866
|
+
system?: boolean
|
|
867
|
+
lockdownDisabledAt?: Date | string | null
|
|
868
|
+
createdAt?: Date | string
|
|
869
|
+
updatedAt?: Date | string
|
|
870
|
+
phases?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutParentCronInput
|
|
871
|
+
runs?: Prisma.AgentCronRunUncheckedCreateNestedManyWithoutCronInput
|
|
872
|
+
phaseRuns?: Prisma.AgentCronRunUncheckedCreateNestedManyWithoutPhaseCronInput
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
export type AgentCronJobCreateOrConnectWithoutParentCronInput = {
|
|
876
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
877
|
+
create: Prisma.XOR<Prisma.AgentCronJobCreateWithoutParentCronInput, Prisma.AgentCronJobUncheckedCreateWithoutParentCronInput>
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
export type AgentCronJobCreateManyParentCronInputEnvelope = {
|
|
881
|
+
data: Prisma.AgentCronJobCreateManyParentCronInput | Prisma.AgentCronJobCreateManyParentCronInput[]
|
|
882
|
+
skipDuplicates?: boolean
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
export type AgentCronJobUpsertWithoutPhasesInput = {
|
|
886
|
+
update: Prisma.XOR<Prisma.AgentCronJobUpdateWithoutPhasesInput, Prisma.AgentCronJobUncheckedUpdateWithoutPhasesInput>
|
|
887
|
+
create: Prisma.XOR<Prisma.AgentCronJobCreateWithoutPhasesInput, Prisma.AgentCronJobUncheckedCreateWithoutPhasesInput>
|
|
888
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
export type AgentCronJobUpdateToOneWithWhereWithoutPhasesInput = {
|
|
892
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
893
|
+
data: Prisma.XOR<Prisma.AgentCronJobUpdateWithoutPhasesInput, Prisma.AgentCronJobUncheckedUpdateWithoutPhasesInput>
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
export type AgentCronJobUpdateWithoutPhasesInput = {
|
|
897
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
898
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
899
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
900
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
901
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
902
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
903
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
904
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
905
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
906
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
907
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
908
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
909
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
910
|
+
agent?: Prisma.AgentUpdateOneRequiredWithoutCronJobsNestedInput
|
|
911
|
+
parentCron?: Prisma.AgentCronJobUpdateOneWithoutPhasesNestedInput
|
|
912
|
+
runs?: Prisma.AgentCronRunUpdateManyWithoutCronNestedInput
|
|
913
|
+
phaseRuns?: Prisma.AgentCronRunUpdateManyWithoutPhaseCronNestedInput
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
export type AgentCronJobUncheckedUpdateWithoutPhasesInput = {
|
|
917
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
918
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
919
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
920
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
921
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
922
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
923
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
924
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
925
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
926
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
927
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
928
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
929
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
930
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
931
|
+
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
932
|
+
runs?: Prisma.AgentCronRunUncheckedUpdateManyWithoutCronNestedInput
|
|
933
|
+
phaseRuns?: Prisma.AgentCronRunUncheckedUpdateManyWithoutPhaseCronNestedInput
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
export type AgentCronJobUpsertWithWhereUniqueWithoutParentCronInput = {
|
|
937
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
938
|
+
update: Prisma.XOR<Prisma.AgentCronJobUpdateWithoutParentCronInput, Prisma.AgentCronJobUncheckedUpdateWithoutParentCronInput>
|
|
939
|
+
create: Prisma.XOR<Prisma.AgentCronJobCreateWithoutParentCronInput, Prisma.AgentCronJobUncheckedCreateWithoutParentCronInput>
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
export type AgentCronJobUpdateWithWhereUniqueWithoutParentCronInput = {
|
|
943
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
944
|
+
data: Prisma.XOR<Prisma.AgentCronJobUpdateWithoutParentCronInput, Prisma.AgentCronJobUncheckedUpdateWithoutParentCronInput>
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
export type AgentCronJobUpdateManyWithWhereWithoutParentCronInput = {
|
|
948
|
+
where: Prisma.AgentCronJobScalarWhereInput
|
|
949
|
+
data: Prisma.XOR<Prisma.AgentCronJobUpdateManyMutationInput, Prisma.AgentCronJobUncheckedUpdateManyWithoutParentCronInput>
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
export type AgentCronJobCreateWithoutRunsInput = {
|
|
953
|
+
id?: string
|
|
954
|
+
schedule: string
|
|
955
|
+
prompt: string
|
|
956
|
+
channel?: string | null
|
|
957
|
+
user?: string | null
|
|
958
|
+
silent?: boolean
|
|
959
|
+
enabled?: boolean
|
|
960
|
+
preCheck?: string | null
|
|
961
|
+
name?: string | null
|
|
962
|
+
system?: boolean
|
|
963
|
+
lockdownDisabledAt?: Date | string | null
|
|
964
|
+
createdAt?: Date | string
|
|
965
|
+
updatedAt?: Date | string
|
|
966
|
+
agent: Prisma.AgentCreateNestedOneWithoutCronJobsInput
|
|
967
|
+
parentCron?: Prisma.AgentCronJobCreateNestedOneWithoutPhasesInput
|
|
968
|
+
phases?: Prisma.AgentCronJobCreateNestedManyWithoutParentCronInput
|
|
969
|
+
phaseRuns?: Prisma.AgentCronRunCreateNestedManyWithoutPhaseCronInput
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
export type AgentCronJobUncheckedCreateWithoutRunsInput = {
|
|
973
|
+
id?: string
|
|
974
|
+
agentId: string
|
|
975
|
+
schedule: string
|
|
976
|
+
prompt: string
|
|
977
|
+
channel?: string | null
|
|
978
|
+
user?: string | null
|
|
979
|
+
silent?: boolean
|
|
980
|
+
enabled?: boolean
|
|
981
|
+
preCheck?: string | null
|
|
982
|
+
name?: string | null
|
|
983
|
+
system?: boolean
|
|
984
|
+
lockdownDisabledAt?: Date | string | null
|
|
985
|
+
createdAt?: Date | string
|
|
986
|
+
updatedAt?: Date | string
|
|
987
|
+
parentCronId?: string | null
|
|
988
|
+
phases?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutParentCronInput
|
|
989
|
+
phaseRuns?: Prisma.AgentCronRunUncheckedCreateNestedManyWithoutPhaseCronInput
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
export type AgentCronJobCreateOrConnectWithoutRunsInput = {
|
|
993
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
994
|
+
create: Prisma.XOR<Prisma.AgentCronJobCreateWithoutRunsInput, Prisma.AgentCronJobUncheckedCreateWithoutRunsInput>
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
export type AgentCronJobCreateWithoutPhaseRunsInput = {
|
|
998
|
+
id?: string
|
|
999
|
+
schedule: string
|
|
1000
|
+
prompt: string
|
|
1001
|
+
channel?: string | null
|
|
1002
|
+
user?: string | null
|
|
1003
|
+
silent?: boolean
|
|
1004
|
+
enabled?: boolean
|
|
1005
|
+
preCheck?: string | null
|
|
1006
|
+
name?: string | null
|
|
1007
|
+
system?: boolean
|
|
1008
|
+
lockdownDisabledAt?: Date | string | null
|
|
1009
|
+
createdAt?: Date | string
|
|
1010
|
+
updatedAt?: Date | string
|
|
1011
|
+
agent: Prisma.AgentCreateNestedOneWithoutCronJobsInput
|
|
1012
|
+
parentCron?: Prisma.AgentCronJobCreateNestedOneWithoutPhasesInput
|
|
1013
|
+
phases?: Prisma.AgentCronJobCreateNestedManyWithoutParentCronInput
|
|
1014
|
+
runs?: Prisma.AgentCronRunCreateNestedManyWithoutCronInput
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
export type AgentCronJobUncheckedCreateWithoutPhaseRunsInput = {
|
|
1018
|
+
id?: string
|
|
1019
|
+
agentId: string
|
|
1020
|
+
schedule: string
|
|
1021
|
+
prompt: string
|
|
1022
|
+
channel?: string | null
|
|
1023
|
+
user?: string | null
|
|
1024
|
+
silent?: boolean
|
|
1025
|
+
enabled?: boolean
|
|
1026
|
+
preCheck?: string | null
|
|
1027
|
+
name?: string | null
|
|
1028
|
+
system?: boolean
|
|
1029
|
+
lockdownDisabledAt?: Date | string | null
|
|
1030
|
+
createdAt?: Date | string
|
|
1031
|
+
updatedAt?: Date | string
|
|
1032
|
+
parentCronId?: string | null
|
|
1033
|
+
phases?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutParentCronInput
|
|
1034
|
+
runs?: Prisma.AgentCronRunUncheckedCreateNestedManyWithoutCronInput
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
export type AgentCronJobCreateOrConnectWithoutPhaseRunsInput = {
|
|
1038
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
1039
|
+
create: Prisma.XOR<Prisma.AgentCronJobCreateWithoutPhaseRunsInput, Prisma.AgentCronJobUncheckedCreateWithoutPhaseRunsInput>
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
export type AgentCronJobUpsertWithoutRunsInput = {
|
|
1043
|
+
update: Prisma.XOR<Prisma.AgentCronJobUpdateWithoutRunsInput, Prisma.AgentCronJobUncheckedUpdateWithoutRunsInput>
|
|
1044
|
+
create: Prisma.XOR<Prisma.AgentCronJobCreateWithoutRunsInput, Prisma.AgentCronJobUncheckedCreateWithoutRunsInput>
|
|
1045
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
export type AgentCronJobUpdateToOneWithWhereWithoutRunsInput = {
|
|
1049
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
1050
|
+
data: Prisma.XOR<Prisma.AgentCronJobUpdateWithoutRunsInput, Prisma.AgentCronJobUncheckedUpdateWithoutRunsInput>
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
export type AgentCronJobUpdateWithoutRunsInput = {
|
|
1054
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1055
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1056
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1057
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1058
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1059
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1060
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1061
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1062
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1063
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1064
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1065
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1066
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1067
|
+
agent?: Prisma.AgentUpdateOneRequiredWithoutCronJobsNestedInput
|
|
1068
|
+
parentCron?: Prisma.AgentCronJobUpdateOneWithoutPhasesNestedInput
|
|
1069
|
+
phases?: Prisma.AgentCronJobUpdateManyWithoutParentCronNestedInput
|
|
1070
|
+
phaseRuns?: Prisma.AgentCronRunUpdateManyWithoutPhaseCronNestedInput
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
export type AgentCronJobUncheckedUpdateWithoutRunsInput = {
|
|
1074
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1075
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1076
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1077
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1078
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1079
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1080
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1081
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1082
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1083
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1084
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1085
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1086
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1087
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1088
|
+
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1089
|
+
phases?: Prisma.AgentCronJobUncheckedUpdateManyWithoutParentCronNestedInput
|
|
1090
|
+
phaseRuns?: Prisma.AgentCronRunUncheckedUpdateManyWithoutPhaseCronNestedInput
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
export type AgentCronJobUpsertWithoutPhaseRunsInput = {
|
|
1094
|
+
update: Prisma.XOR<Prisma.AgentCronJobUpdateWithoutPhaseRunsInput, Prisma.AgentCronJobUncheckedUpdateWithoutPhaseRunsInput>
|
|
1095
|
+
create: Prisma.XOR<Prisma.AgentCronJobCreateWithoutPhaseRunsInput, Prisma.AgentCronJobUncheckedCreateWithoutPhaseRunsInput>
|
|
1096
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
export type AgentCronJobUpdateToOneWithWhereWithoutPhaseRunsInput = {
|
|
1100
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
1101
|
+
data: Prisma.XOR<Prisma.AgentCronJobUpdateWithoutPhaseRunsInput, Prisma.AgentCronJobUncheckedUpdateWithoutPhaseRunsInput>
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
export type AgentCronJobUpdateWithoutPhaseRunsInput = {
|
|
1105
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1106
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1107
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1108
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1109
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1110
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1111
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1112
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1113
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1114
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1115
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1116
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1117
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1118
|
+
agent?: Prisma.AgentUpdateOneRequiredWithoutCronJobsNestedInput
|
|
1119
|
+
parentCron?: Prisma.AgentCronJobUpdateOneWithoutPhasesNestedInput
|
|
1120
|
+
phases?: Prisma.AgentCronJobUpdateManyWithoutParentCronNestedInput
|
|
1121
|
+
runs?: Prisma.AgentCronRunUpdateManyWithoutCronNestedInput
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
export type AgentCronJobUncheckedUpdateWithoutPhaseRunsInput = {
|
|
1125
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1126
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1127
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1128
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1129
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1130
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1131
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1132
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1133
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1134
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1135
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1136
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1137
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1138
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1139
|
+
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1140
|
+
phases?: Prisma.AgentCronJobUncheckedUpdateManyWithoutParentCronNestedInput
|
|
1141
|
+
runs?: Prisma.AgentCronRunUncheckedUpdateManyWithoutCronNestedInput
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
export type AgentCronJobCreateManyAgentInput = {
|
|
1145
|
+
id?: string
|
|
1146
|
+
schedule: string
|
|
1147
|
+
prompt: string
|
|
1148
|
+
channel?: string | null
|
|
1149
|
+
user?: string | null
|
|
1150
|
+
silent?: boolean
|
|
1151
|
+
enabled?: boolean
|
|
1152
|
+
preCheck?: string | null
|
|
1153
|
+
name?: string | null
|
|
1154
|
+
system?: boolean
|
|
1155
|
+
lockdownDisabledAt?: Date | string | null
|
|
1156
|
+
createdAt?: Date | string
|
|
1157
|
+
updatedAt?: Date | string
|
|
1158
|
+
parentCronId?: string | null
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
export type AgentCronJobUpdateWithoutAgentInput = {
|
|
1162
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1163
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1164
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1165
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1166
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1167
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1168
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1169
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1170
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1171
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1172
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1173
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1174
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1175
|
+
parentCron?: Prisma.AgentCronJobUpdateOneWithoutPhasesNestedInput
|
|
1176
|
+
phases?: Prisma.AgentCronJobUpdateManyWithoutParentCronNestedInput
|
|
1177
|
+
runs?: Prisma.AgentCronRunUpdateManyWithoutCronNestedInput
|
|
1178
|
+
phaseRuns?: Prisma.AgentCronRunUpdateManyWithoutPhaseCronNestedInput
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
export type AgentCronJobUncheckedUpdateWithoutAgentInput = {
|
|
1182
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1183
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1184
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1185
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1186
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1187
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1188
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1189
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1190
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1191
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1192
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1193
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1194
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1195
|
+
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1196
|
+
phases?: Prisma.AgentCronJobUncheckedUpdateManyWithoutParentCronNestedInput
|
|
1197
|
+
runs?: Prisma.AgentCronRunUncheckedUpdateManyWithoutCronNestedInput
|
|
1198
|
+
phaseRuns?: Prisma.AgentCronRunUncheckedUpdateManyWithoutPhaseCronNestedInput
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
export type AgentCronJobUncheckedUpdateManyWithoutAgentInput = {
|
|
1202
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1203
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1204
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1205
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1206
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1207
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1208
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1209
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1210
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1211
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1212
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1213
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1214
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1215
|
+
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
export type AgentCronJobCreateManyParentCronInput = {
|
|
1219
|
+
id?: string
|
|
1220
|
+
agentId: string
|
|
1221
|
+
schedule: string
|
|
1222
|
+
prompt: string
|
|
1223
|
+
channel?: string | null
|
|
1224
|
+
user?: string | null
|
|
1225
|
+
silent?: boolean
|
|
1226
|
+
enabled?: boolean
|
|
1227
|
+
preCheck?: string | null
|
|
1228
|
+
name?: string | null
|
|
1229
|
+
system?: boolean
|
|
1230
|
+
lockdownDisabledAt?: Date | string | null
|
|
1231
|
+
createdAt?: Date | string
|
|
1232
|
+
updatedAt?: Date | string
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
export type AgentCronJobUpdateWithoutParentCronInput = {
|
|
1236
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1237
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1238
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1239
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1240
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1241
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1242
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1243
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1244
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1245
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1246
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1247
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1248
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1249
|
+
agent?: Prisma.AgentUpdateOneRequiredWithoutCronJobsNestedInput
|
|
1250
|
+
phases?: Prisma.AgentCronJobUpdateManyWithoutParentCronNestedInput
|
|
1251
|
+
runs?: Prisma.AgentCronRunUpdateManyWithoutCronNestedInput
|
|
1252
|
+
phaseRuns?: Prisma.AgentCronRunUpdateManyWithoutPhaseCronNestedInput
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
export type AgentCronJobUncheckedUpdateWithoutParentCronInput = {
|
|
1256
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1257
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1258
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1259
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1260
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1261
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1262
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1263
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1264
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1265
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1266
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1267
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1268
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1269
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1270
|
+
phases?: Prisma.AgentCronJobUncheckedUpdateManyWithoutParentCronNestedInput
|
|
1271
|
+
runs?: Prisma.AgentCronRunUncheckedUpdateManyWithoutCronNestedInput
|
|
1272
|
+
phaseRuns?: Prisma.AgentCronRunUncheckedUpdateManyWithoutPhaseCronNestedInput
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
export type AgentCronJobUncheckedUpdateManyWithoutParentCronInput = {
|
|
1276
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1277
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1278
|
+
schedule?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1279
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1280
|
+
channel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1281
|
+
user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1282
|
+
silent?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1283
|
+
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1284
|
+
preCheck?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1285
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1286
|
+
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1287
|
+
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1288
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1289
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* Count Type AgentCronJobCountOutputType
|
|
1295
|
+
*/
|
|
1296
|
+
|
|
1297
|
+
export type AgentCronJobCountOutputType = {
|
|
1298
|
+
phases: number
|
|
1299
|
+
runs: number
|
|
1300
|
+
phaseRuns: number
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
export type AgentCronJobCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1304
|
+
phases?: boolean | AgentCronJobCountOutputTypeCountPhasesArgs
|
|
1305
|
+
runs?: boolean | AgentCronJobCountOutputTypeCountRunsArgs
|
|
1306
|
+
phaseRuns?: boolean | AgentCronJobCountOutputTypeCountPhaseRunsArgs
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* AgentCronJobCountOutputType without action
|
|
1311
|
+
*/
|
|
1312
|
+
export type AgentCronJobCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1313
|
+
/**
|
|
1314
|
+
* Select specific fields to fetch from the AgentCronJobCountOutputType
|
|
1315
|
+
*/
|
|
1316
|
+
select?: Prisma.AgentCronJobCountOutputTypeSelect<ExtArgs> | null
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* AgentCronJobCountOutputType without action
|
|
1321
|
+
*/
|
|
1322
|
+
export type AgentCronJobCountOutputTypeCountPhasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1323
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* AgentCronJobCountOutputType without action
|
|
1328
|
+
*/
|
|
1329
|
+
export type AgentCronJobCountOutputTypeCountRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1330
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* AgentCronJobCountOutputType without action
|
|
1335
|
+
*/
|
|
1336
|
+
export type AgentCronJobCountOutputTypeCountPhaseRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1337
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
export type AgentCronJobSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1342
|
+
id?: boolean
|
|
1343
|
+
agentId?: boolean
|
|
1344
|
+
schedule?: boolean
|
|
1345
|
+
prompt?: boolean
|
|
1346
|
+
channel?: boolean
|
|
1347
|
+
user?: boolean
|
|
1348
|
+
silent?: boolean
|
|
1349
|
+
enabled?: boolean
|
|
1350
|
+
preCheck?: boolean
|
|
1351
|
+
name?: boolean
|
|
1352
|
+
system?: boolean
|
|
1353
|
+
lockdownDisabledAt?: boolean
|
|
1354
|
+
createdAt?: boolean
|
|
1355
|
+
updatedAt?: boolean
|
|
1356
|
+
parentCronId?: boolean
|
|
1357
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
1358
|
+
parentCron?: boolean | Prisma.AgentCronJob$parentCronArgs<ExtArgs>
|
|
1359
|
+
phases?: boolean | Prisma.AgentCronJob$phasesArgs<ExtArgs>
|
|
1360
|
+
runs?: boolean | Prisma.AgentCronJob$runsArgs<ExtArgs>
|
|
1361
|
+
phaseRuns?: boolean | Prisma.AgentCronJob$phaseRunsArgs<ExtArgs>
|
|
1362
|
+
_count?: boolean | Prisma.AgentCronJobCountOutputTypeDefaultArgs<ExtArgs>
|
|
1363
|
+
}, ExtArgs["result"]["agentCronJob"]>
|
|
1364
|
+
|
|
1365
|
+
export type AgentCronJobSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1366
|
+
id?: boolean
|
|
1367
|
+
agentId?: boolean
|
|
1368
|
+
schedule?: boolean
|
|
1369
|
+
prompt?: boolean
|
|
1370
|
+
channel?: boolean
|
|
1371
|
+
user?: boolean
|
|
1372
|
+
silent?: boolean
|
|
1373
|
+
enabled?: boolean
|
|
1374
|
+
preCheck?: boolean
|
|
1375
|
+
name?: boolean
|
|
1376
|
+
system?: boolean
|
|
1377
|
+
lockdownDisabledAt?: boolean
|
|
1378
|
+
createdAt?: boolean
|
|
1379
|
+
updatedAt?: boolean
|
|
1380
|
+
parentCronId?: boolean
|
|
1381
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
1382
|
+
parentCron?: boolean | Prisma.AgentCronJob$parentCronArgs<ExtArgs>
|
|
1383
|
+
}, ExtArgs["result"]["agentCronJob"]>
|
|
1384
|
+
|
|
1385
|
+
export type AgentCronJobSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1386
|
+
id?: boolean
|
|
1387
|
+
agentId?: boolean
|
|
1388
|
+
schedule?: boolean
|
|
1389
|
+
prompt?: boolean
|
|
1390
|
+
channel?: boolean
|
|
1391
|
+
user?: boolean
|
|
1392
|
+
silent?: boolean
|
|
1393
|
+
enabled?: boolean
|
|
1394
|
+
preCheck?: boolean
|
|
1395
|
+
name?: boolean
|
|
1396
|
+
system?: boolean
|
|
1397
|
+
lockdownDisabledAt?: boolean
|
|
1398
|
+
createdAt?: boolean
|
|
1399
|
+
updatedAt?: boolean
|
|
1400
|
+
parentCronId?: boolean
|
|
1401
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
1402
|
+
parentCron?: boolean | Prisma.AgentCronJob$parentCronArgs<ExtArgs>
|
|
1403
|
+
}, ExtArgs["result"]["agentCronJob"]>
|
|
1404
|
+
|
|
1405
|
+
export type AgentCronJobSelectScalar = {
|
|
1406
|
+
id?: boolean
|
|
1407
|
+
agentId?: boolean
|
|
1408
|
+
schedule?: boolean
|
|
1409
|
+
prompt?: boolean
|
|
1410
|
+
channel?: boolean
|
|
1411
|
+
user?: boolean
|
|
1412
|
+
silent?: boolean
|
|
1413
|
+
enabled?: boolean
|
|
1414
|
+
preCheck?: boolean
|
|
1415
|
+
name?: boolean
|
|
1416
|
+
system?: boolean
|
|
1417
|
+
lockdownDisabledAt?: boolean
|
|
1418
|
+
createdAt?: boolean
|
|
1419
|
+
updatedAt?: boolean
|
|
1420
|
+
parentCronId?: boolean
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
export type AgentCronJobOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "schedule" | "prompt" | "channel" | "user" | "silent" | "enabled" | "preCheck" | "name" | "system" | "lockdownDisabledAt" | "createdAt" | "updatedAt" | "parentCronId", ExtArgs["result"]["agentCronJob"]>
|
|
1424
|
+
export type AgentCronJobInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1425
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
1426
|
+
parentCron?: boolean | Prisma.AgentCronJob$parentCronArgs<ExtArgs>
|
|
1427
|
+
phases?: boolean | Prisma.AgentCronJob$phasesArgs<ExtArgs>
|
|
1428
|
+
runs?: boolean | Prisma.AgentCronJob$runsArgs<ExtArgs>
|
|
1429
|
+
phaseRuns?: boolean | Prisma.AgentCronJob$phaseRunsArgs<ExtArgs>
|
|
1430
|
+
_count?: boolean | Prisma.AgentCronJobCountOutputTypeDefaultArgs<ExtArgs>
|
|
1431
|
+
}
|
|
1432
|
+
export type AgentCronJobIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1433
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
1434
|
+
parentCron?: boolean | Prisma.AgentCronJob$parentCronArgs<ExtArgs>
|
|
1435
|
+
}
|
|
1436
|
+
export type AgentCronJobIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1437
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
1438
|
+
parentCron?: boolean | Prisma.AgentCronJob$parentCronArgs<ExtArgs>
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
export type $AgentCronJobPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1442
|
+
name: "AgentCronJob"
|
|
1443
|
+
objects: {
|
|
1444
|
+
agent: Prisma.$AgentPayload<ExtArgs>
|
|
1445
|
+
parentCron: Prisma.$AgentCronJobPayload<ExtArgs> | null
|
|
1446
|
+
phases: Prisma.$AgentCronJobPayload<ExtArgs>[]
|
|
1447
|
+
runs: Prisma.$AgentCronRunPayload<ExtArgs>[]
|
|
1448
|
+
phaseRuns: Prisma.$AgentCronRunPayload<ExtArgs>[]
|
|
1449
|
+
}
|
|
1450
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1451
|
+
id: string
|
|
1452
|
+
agentId: string
|
|
1453
|
+
schedule: string
|
|
1454
|
+
prompt: string
|
|
1455
|
+
channel: string | null
|
|
1456
|
+
user: string | null
|
|
1457
|
+
silent: boolean
|
|
1458
|
+
enabled: boolean
|
|
1459
|
+
preCheck: string | null
|
|
1460
|
+
name: string | null
|
|
1461
|
+
system: boolean
|
|
1462
|
+
lockdownDisabledAt: Date | null
|
|
1463
|
+
createdAt: Date
|
|
1464
|
+
updatedAt: Date
|
|
1465
|
+
parentCronId: string | null
|
|
1466
|
+
}, ExtArgs["result"]["agentCronJob"]>
|
|
1467
|
+
composites: {}
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
export type AgentCronJobGetPayload<S extends boolean | null | undefined | AgentCronJobDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload, S>
|
|
1471
|
+
|
|
1472
|
+
export type AgentCronJobCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1473
|
+
Omit<AgentCronJobFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1474
|
+
select?: AgentCronJobCountAggregateInputType | true
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
export interface AgentCronJobDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1478
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AgentCronJob'], meta: { name: 'AgentCronJob' } }
|
|
1479
|
+
/**
|
|
1480
|
+
* Find zero or one AgentCronJob that matches the filter.
|
|
1481
|
+
* @param {AgentCronJobFindUniqueArgs} args - Arguments to find a AgentCronJob
|
|
1482
|
+
* @example
|
|
1483
|
+
* // Get one AgentCronJob
|
|
1484
|
+
* const agentCronJob = await prisma.agentCronJob.findUnique({
|
|
1485
|
+
* where: {
|
|
1486
|
+
* // ... provide filter here
|
|
1487
|
+
* }
|
|
1488
|
+
* })
|
|
1489
|
+
*/
|
|
1490
|
+
findUnique<T extends AgentCronJobFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentCronJobFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentCronJobClient<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* Find one AgentCronJob that matches the filter or throw an error with `error.code='P2025'`
|
|
1494
|
+
* if no matches were found.
|
|
1495
|
+
* @param {AgentCronJobFindUniqueOrThrowArgs} args - Arguments to find a AgentCronJob
|
|
1496
|
+
* @example
|
|
1497
|
+
* // Get one AgentCronJob
|
|
1498
|
+
* const agentCronJob = await prisma.agentCronJob.findUniqueOrThrow({
|
|
1499
|
+
* where: {
|
|
1500
|
+
* // ... provide filter here
|
|
1501
|
+
* }
|
|
1502
|
+
* })
|
|
1503
|
+
*/
|
|
1504
|
+
findUniqueOrThrow<T extends AgentCronJobFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentCronJobFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentCronJobClient<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* Find the first AgentCronJob that matches the filter.
|
|
1508
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1509
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1510
|
+
* @param {AgentCronJobFindFirstArgs} args - Arguments to find a AgentCronJob
|
|
1511
|
+
* @example
|
|
1512
|
+
* // Get one AgentCronJob
|
|
1513
|
+
* const agentCronJob = await prisma.agentCronJob.findFirst({
|
|
1514
|
+
* where: {
|
|
1515
|
+
* // ... provide filter here
|
|
1516
|
+
* }
|
|
1517
|
+
* })
|
|
1518
|
+
*/
|
|
1519
|
+
findFirst<T extends AgentCronJobFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentCronJobFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentCronJobClient<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* Find the first AgentCronJob that matches the filter or
|
|
1523
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1524
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1525
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1526
|
+
* @param {AgentCronJobFindFirstOrThrowArgs} args - Arguments to find a AgentCronJob
|
|
1527
|
+
* @example
|
|
1528
|
+
* // Get one AgentCronJob
|
|
1529
|
+
* const agentCronJob = await prisma.agentCronJob.findFirstOrThrow({
|
|
1530
|
+
* where: {
|
|
1531
|
+
* // ... provide filter here
|
|
1532
|
+
* }
|
|
1533
|
+
* })
|
|
1534
|
+
*/
|
|
1535
|
+
findFirstOrThrow<T extends AgentCronJobFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentCronJobFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentCronJobClient<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* Find zero or more AgentCronJobs that matches the filter.
|
|
1539
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1540
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1541
|
+
* @param {AgentCronJobFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1542
|
+
* @example
|
|
1543
|
+
* // Get all AgentCronJobs
|
|
1544
|
+
* const agentCronJobs = await prisma.agentCronJob.findMany()
|
|
1545
|
+
*
|
|
1546
|
+
* // Get first 10 AgentCronJobs
|
|
1547
|
+
* const agentCronJobs = await prisma.agentCronJob.findMany({ take: 10 })
|
|
1548
|
+
*
|
|
1549
|
+
* // Only select the `id`
|
|
1550
|
+
* const agentCronJobWithIdOnly = await prisma.agentCronJob.findMany({ select: { id: true } })
|
|
1551
|
+
*
|
|
1552
|
+
*/
|
|
1553
|
+
findMany<T extends AgentCronJobFindManyArgs>(args?: Prisma.SelectSubset<T, AgentCronJobFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1554
|
+
|
|
1555
|
+
/**
|
|
1556
|
+
* Create a AgentCronJob.
|
|
1557
|
+
* @param {AgentCronJobCreateArgs} args - Arguments to create a AgentCronJob.
|
|
1558
|
+
* @example
|
|
1559
|
+
* // Create one AgentCronJob
|
|
1560
|
+
* const AgentCronJob = await prisma.agentCronJob.create({
|
|
1561
|
+
* data: {
|
|
1562
|
+
* // ... data to create a AgentCronJob
|
|
1563
|
+
* }
|
|
1564
|
+
* })
|
|
1565
|
+
*
|
|
1566
|
+
*/
|
|
1567
|
+
create<T extends AgentCronJobCreateArgs>(args: Prisma.SelectSubset<T, AgentCronJobCreateArgs<ExtArgs>>): Prisma.Prisma__AgentCronJobClient<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* Create many AgentCronJobs.
|
|
1571
|
+
* @param {AgentCronJobCreateManyArgs} args - Arguments to create many AgentCronJobs.
|
|
1572
|
+
* @example
|
|
1573
|
+
* // Create many AgentCronJobs
|
|
1574
|
+
* const agentCronJob = await prisma.agentCronJob.createMany({
|
|
1575
|
+
* data: [
|
|
1576
|
+
* // ... provide data here
|
|
1577
|
+
* ]
|
|
1578
|
+
* })
|
|
1579
|
+
*
|
|
1580
|
+
*/
|
|
1581
|
+
createMany<T extends AgentCronJobCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentCronJobCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* Create many AgentCronJobs and returns the data saved in the database.
|
|
1585
|
+
* @param {AgentCronJobCreateManyAndReturnArgs} args - Arguments to create many AgentCronJobs.
|
|
1586
|
+
* @example
|
|
1587
|
+
* // Create many AgentCronJobs
|
|
1588
|
+
* const agentCronJob = await prisma.agentCronJob.createManyAndReturn({
|
|
1589
|
+
* data: [
|
|
1590
|
+
* // ... provide data here
|
|
1591
|
+
* ]
|
|
1592
|
+
* })
|
|
1593
|
+
*
|
|
1594
|
+
* // Create many AgentCronJobs and only return the `id`
|
|
1595
|
+
* const agentCronJobWithIdOnly = await prisma.agentCronJob.createManyAndReturn({
|
|
1596
|
+
* select: { id: true },
|
|
1597
|
+
* data: [
|
|
1598
|
+
* // ... provide data here
|
|
1599
|
+
* ]
|
|
1600
|
+
* })
|
|
1601
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1602
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1603
|
+
*
|
|
1604
|
+
*/
|
|
1605
|
+
createManyAndReturn<T extends AgentCronJobCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentCronJobCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* Delete a AgentCronJob.
|
|
1609
|
+
* @param {AgentCronJobDeleteArgs} args - Arguments to delete one AgentCronJob.
|
|
1610
|
+
* @example
|
|
1611
|
+
* // Delete one AgentCronJob
|
|
1612
|
+
* const AgentCronJob = await prisma.agentCronJob.delete({
|
|
1613
|
+
* where: {
|
|
1614
|
+
* // ... filter to delete one AgentCronJob
|
|
1615
|
+
* }
|
|
1616
|
+
* })
|
|
1617
|
+
*
|
|
1618
|
+
*/
|
|
1619
|
+
delete<T extends AgentCronJobDeleteArgs>(args: Prisma.SelectSubset<T, AgentCronJobDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentCronJobClient<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* Update one AgentCronJob.
|
|
1623
|
+
* @param {AgentCronJobUpdateArgs} args - Arguments to update one AgentCronJob.
|
|
1624
|
+
* @example
|
|
1625
|
+
* // Update one AgentCronJob
|
|
1626
|
+
* const agentCronJob = await prisma.agentCronJob.update({
|
|
1627
|
+
* where: {
|
|
1628
|
+
* // ... provide filter here
|
|
1629
|
+
* },
|
|
1630
|
+
* data: {
|
|
1631
|
+
* // ... provide data here
|
|
1632
|
+
* }
|
|
1633
|
+
* })
|
|
1634
|
+
*
|
|
1635
|
+
*/
|
|
1636
|
+
update<T extends AgentCronJobUpdateArgs>(args: Prisma.SelectSubset<T, AgentCronJobUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentCronJobClient<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* Delete zero or more AgentCronJobs.
|
|
1640
|
+
* @param {AgentCronJobDeleteManyArgs} args - Arguments to filter AgentCronJobs to delete.
|
|
1641
|
+
* @example
|
|
1642
|
+
* // Delete a few AgentCronJobs
|
|
1643
|
+
* const { count } = await prisma.agentCronJob.deleteMany({
|
|
1644
|
+
* where: {
|
|
1645
|
+
* // ... provide filter here
|
|
1646
|
+
* }
|
|
1647
|
+
* })
|
|
1648
|
+
*
|
|
1649
|
+
*/
|
|
1650
|
+
deleteMany<T extends AgentCronJobDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentCronJobDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* Update zero or more AgentCronJobs.
|
|
1654
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1655
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1656
|
+
* @param {AgentCronJobUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1657
|
+
* @example
|
|
1658
|
+
* // Update many AgentCronJobs
|
|
1659
|
+
* const agentCronJob = await prisma.agentCronJob.updateMany({
|
|
1660
|
+
* where: {
|
|
1661
|
+
* // ... provide filter here
|
|
1662
|
+
* },
|
|
1663
|
+
* data: {
|
|
1664
|
+
* // ... provide data here
|
|
1665
|
+
* }
|
|
1666
|
+
* })
|
|
1667
|
+
*
|
|
1668
|
+
*/
|
|
1669
|
+
updateMany<T extends AgentCronJobUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentCronJobUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1670
|
+
|
|
1671
|
+
/**
|
|
1672
|
+
* Update zero or more AgentCronJobs and returns the data updated in the database.
|
|
1673
|
+
* @param {AgentCronJobUpdateManyAndReturnArgs} args - Arguments to update many AgentCronJobs.
|
|
1674
|
+
* @example
|
|
1675
|
+
* // Update many AgentCronJobs
|
|
1676
|
+
* const agentCronJob = await prisma.agentCronJob.updateManyAndReturn({
|
|
1677
|
+
* where: {
|
|
1678
|
+
* // ... provide filter here
|
|
1679
|
+
* },
|
|
1680
|
+
* data: [
|
|
1681
|
+
* // ... provide data here
|
|
1682
|
+
* ]
|
|
1683
|
+
* })
|
|
1684
|
+
*
|
|
1685
|
+
* // Update zero or more AgentCronJobs and only return the `id`
|
|
1686
|
+
* const agentCronJobWithIdOnly = await prisma.agentCronJob.updateManyAndReturn({
|
|
1687
|
+
* select: { id: true },
|
|
1688
|
+
* where: {
|
|
1689
|
+
* // ... provide filter here
|
|
1690
|
+
* },
|
|
1691
|
+
* data: [
|
|
1692
|
+
* // ... provide data here
|
|
1693
|
+
* ]
|
|
1694
|
+
* })
|
|
1695
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1696
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1697
|
+
*
|
|
1698
|
+
*/
|
|
1699
|
+
updateManyAndReturn<T extends AgentCronJobUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentCronJobUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* Create or update one AgentCronJob.
|
|
1703
|
+
* @param {AgentCronJobUpsertArgs} args - Arguments to update or create a AgentCronJob.
|
|
1704
|
+
* @example
|
|
1705
|
+
* // Update or create a AgentCronJob
|
|
1706
|
+
* const agentCronJob = await prisma.agentCronJob.upsert({
|
|
1707
|
+
* create: {
|
|
1708
|
+
* // ... data to create a AgentCronJob
|
|
1709
|
+
* },
|
|
1710
|
+
* update: {
|
|
1711
|
+
* // ... in case it already exists, update
|
|
1712
|
+
* },
|
|
1713
|
+
* where: {
|
|
1714
|
+
* // ... the filter for the AgentCronJob we want to update
|
|
1715
|
+
* }
|
|
1716
|
+
* })
|
|
1717
|
+
*/
|
|
1718
|
+
upsert<T extends AgentCronJobUpsertArgs>(args: Prisma.SelectSubset<T, AgentCronJobUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentCronJobClient<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1719
|
+
|
|
1720
|
+
|
|
1721
|
+
/**
|
|
1722
|
+
* Count the number of AgentCronJobs.
|
|
1723
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1724
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1725
|
+
* @param {AgentCronJobCountArgs} args - Arguments to filter AgentCronJobs to count.
|
|
1726
|
+
* @example
|
|
1727
|
+
* // Count the number of AgentCronJobs
|
|
1728
|
+
* const count = await prisma.agentCronJob.count({
|
|
1729
|
+
* where: {
|
|
1730
|
+
* // ... the filter for the AgentCronJobs we want to count
|
|
1731
|
+
* }
|
|
1732
|
+
* })
|
|
1733
|
+
**/
|
|
1734
|
+
count<T extends AgentCronJobCountArgs>(
|
|
1735
|
+
args?: Prisma.Subset<T, AgentCronJobCountArgs>,
|
|
1736
|
+
): Prisma.PrismaPromise<
|
|
1737
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1738
|
+
? T['select'] extends true
|
|
1739
|
+
? number
|
|
1740
|
+
: Prisma.GetScalarType<T['select'], AgentCronJobCountAggregateOutputType>
|
|
1741
|
+
: number
|
|
1742
|
+
>
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* Allows you to perform aggregations operations on a AgentCronJob.
|
|
1746
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1747
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1748
|
+
* @param {AgentCronJobAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1749
|
+
* @example
|
|
1750
|
+
* // Ordered by age ascending
|
|
1751
|
+
* // Where email contains prisma.io
|
|
1752
|
+
* // Limited to the 10 users
|
|
1753
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1754
|
+
* _avg: {
|
|
1755
|
+
* age: true,
|
|
1756
|
+
* },
|
|
1757
|
+
* where: {
|
|
1758
|
+
* email: {
|
|
1759
|
+
* contains: "prisma.io",
|
|
1760
|
+
* },
|
|
1761
|
+
* },
|
|
1762
|
+
* orderBy: {
|
|
1763
|
+
* age: "asc",
|
|
1764
|
+
* },
|
|
1765
|
+
* take: 10,
|
|
1766
|
+
* })
|
|
1767
|
+
**/
|
|
1768
|
+
aggregate<T extends AgentCronJobAggregateArgs>(args: Prisma.Subset<T, AgentCronJobAggregateArgs>): Prisma.PrismaPromise<GetAgentCronJobAggregateType<T>>
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* Group by AgentCronJob.
|
|
1772
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1773
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1774
|
+
* @param {AgentCronJobGroupByArgs} args - Group by arguments.
|
|
1775
|
+
* @example
|
|
1776
|
+
* // Group by city, order by createdAt, get count
|
|
1777
|
+
* const result = await prisma.user.groupBy({
|
|
1778
|
+
* by: ['city', 'createdAt'],
|
|
1779
|
+
* orderBy: {
|
|
1780
|
+
* createdAt: true
|
|
1781
|
+
* },
|
|
1782
|
+
* _count: {
|
|
1783
|
+
* _all: true
|
|
1784
|
+
* },
|
|
1785
|
+
* })
|
|
1786
|
+
*
|
|
1787
|
+
**/
|
|
1788
|
+
groupBy<
|
|
1789
|
+
T extends AgentCronJobGroupByArgs,
|
|
1790
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1791
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1792
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1793
|
+
>,
|
|
1794
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1795
|
+
? { orderBy: AgentCronJobGroupByArgs['orderBy'] }
|
|
1796
|
+
: { orderBy?: AgentCronJobGroupByArgs['orderBy'] },
|
|
1797
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1798
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1799
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1800
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1801
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1802
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1803
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1804
|
+
? `Error: "by" must not be empty.`
|
|
1805
|
+
: HavingValid extends Prisma.False
|
|
1806
|
+
? {
|
|
1807
|
+
[P in HavingFields]: P extends ByFields
|
|
1808
|
+
? never
|
|
1809
|
+
: P extends string
|
|
1810
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1811
|
+
: [
|
|
1812
|
+
Error,
|
|
1813
|
+
'Field ',
|
|
1814
|
+
P,
|
|
1815
|
+
` in "having" needs to be provided in "by"`,
|
|
1816
|
+
]
|
|
1817
|
+
}[HavingFields]
|
|
1818
|
+
: 'take' extends Prisma.Keys<T>
|
|
1819
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1820
|
+
? ByValid extends Prisma.True
|
|
1821
|
+
? {}
|
|
1822
|
+
: {
|
|
1823
|
+
[P in OrderFields]: P extends ByFields
|
|
1824
|
+
? never
|
|
1825
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1826
|
+
}[OrderFields]
|
|
1827
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1828
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1829
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1830
|
+
? ByValid extends Prisma.True
|
|
1831
|
+
? {}
|
|
1832
|
+
: {
|
|
1833
|
+
[P in OrderFields]: P extends ByFields
|
|
1834
|
+
? never
|
|
1835
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1836
|
+
}[OrderFields]
|
|
1837
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1838
|
+
: ByValid extends Prisma.True
|
|
1839
|
+
? {}
|
|
1840
|
+
: {
|
|
1841
|
+
[P in OrderFields]: P extends ByFields
|
|
1842
|
+
? never
|
|
1843
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1844
|
+
}[OrderFields]
|
|
1845
|
+
>(args: Prisma.SubsetIntersection<T, AgentCronJobGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentCronJobGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1846
|
+
/**
|
|
1847
|
+
* Fields of the AgentCronJob model
|
|
1848
|
+
*/
|
|
1849
|
+
readonly fields: AgentCronJobFieldRefs;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* The delegate class that acts as a "Promise-like" for AgentCronJob.
|
|
1854
|
+
* Why is this prefixed with `Prisma__`?
|
|
1855
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1856
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1857
|
+
*/
|
|
1858
|
+
export interface Prisma__AgentCronJobClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1859
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1860
|
+
agent<T extends Prisma.AgentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentDefaultArgs<ExtArgs>>): Prisma.Prisma__AgentClient<runtime.Types.Result.GetResult<Prisma.$AgentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1861
|
+
parentCron<T extends Prisma.AgentCronJob$parentCronArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentCronJob$parentCronArgs<ExtArgs>>): Prisma.Prisma__AgentCronJobClient<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1862
|
+
phases<T extends Prisma.AgentCronJob$phasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentCronJob$phasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1863
|
+
runs<T extends Prisma.AgentCronJob$runsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentCronJob$runsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1864
|
+
phaseRuns<T extends Prisma.AgentCronJob$phaseRunsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentCronJob$phaseRunsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1865
|
+
/**
|
|
1866
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1867
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1868
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1869
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1870
|
+
*/
|
|
1871
|
+
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>
|
|
1872
|
+
/**
|
|
1873
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1874
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1875
|
+
* @returns A Promise for the completion of the callback.
|
|
1876
|
+
*/
|
|
1877
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1878
|
+
/**
|
|
1879
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1880
|
+
* resolved value cannot be modified from the callback.
|
|
1881
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1882
|
+
* @returns A Promise for the completion of the callback.
|
|
1883
|
+
*/
|
|
1884
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* Fields of the AgentCronJob model
|
|
1892
|
+
*/
|
|
1893
|
+
export interface AgentCronJobFieldRefs {
|
|
1894
|
+
readonly id: Prisma.FieldRef<"AgentCronJob", 'String'>
|
|
1895
|
+
readonly agentId: Prisma.FieldRef<"AgentCronJob", 'String'>
|
|
1896
|
+
readonly schedule: Prisma.FieldRef<"AgentCronJob", 'String'>
|
|
1897
|
+
readonly prompt: Prisma.FieldRef<"AgentCronJob", 'String'>
|
|
1898
|
+
readonly channel: Prisma.FieldRef<"AgentCronJob", 'String'>
|
|
1899
|
+
readonly user: Prisma.FieldRef<"AgentCronJob", 'String'>
|
|
1900
|
+
readonly silent: Prisma.FieldRef<"AgentCronJob", 'Boolean'>
|
|
1901
|
+
readonly enabled: Prisma.FieldRef<"AgentCronJob", 'Boolean'>
|
|
1902
|
+
readonly preCheck: Prisma.FieldRef<"AgentCronJob", 'String'>
|
|
1903
|
+
readonly name: Prisma.FieldRef<"AgentCronJob", 'String'>
|
|
1904
|
+
readonly system: Prisma.FieldRef<"AgentCronJob", 'Boolean'>
|
|
1905
|
+
readonly lockdownDisabledAt: Prisma.FieldRef<"AgentCronJob", 'DateTime'>
|
|
1906
|
+
readonly createdAt: Prisma.FieldRef<"AgentCronJob", 'DateTime'>
|
|
1907
|
+
readonly updatedAt: Prisma.FieldRef<"AgentCronJob", 'DateTime'>
|
|
1908
|
+
readonly parentCronId: Prisma.FieldRef<"AgentCronJob", 'String'>
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
|
|
1912
|
+
// Custom InputTypes
|
|
1913
|
+
/**
|
|
1914
|
+
* AgentCronJob findUnique
|
|
1915
|
+
*/
|
|
1916
|
+
export type AgentCronJobFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1917
|
+
/**
|
|
1918
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
1919
|
+
*/
|
|
1920
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
1921
|
+
/**
|
|
1922
|
+
* Omit specific fields from the AgentCronJob
|
|
1923
|
+
*/
|
|
1924
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
1925
|
+
/**
|
|
1926
|
+
* Choose, which related nodes to fetch as well
|
|
1927
|
+
*/
|
|
1928
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
1929
|
+
/**
|
|
1930
|
+
* Filter, which AgentCronJob to fetch.
|
|
1931
|
+
*/
|
|
1932
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* AgentCronJob findUniqueOrThrow
|
|
1937
|
+
*/
|
|
1938
|
+
export type AgentCronJobFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1939
|
+
/**
|
|
1940
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
1941
|
+
*/
|
|
1942
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
1943
|
+
/**
|
|
1944
|
+
* Omit specific fields from the AgentCronJob
|
|
1945
|
+
*/
|
|
1946
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
1947
|
+
/**
|
|
1948
|
+
* Choose, which related nodes to fetch as well
|
|
1949
|
+
*/
|
|
1950
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
1951
|
+
/**
|
|
1952
|
+
* Filter, which AgentCronJob to fetch.
|
|
1953
|
+
*/
|
|
1954
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* AgentCronJob findFirst
|
|
1959
|
+
*/
|
|
1960
|
+
export type AgentCronJobFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1961
|
+
/**
|
|
1962
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
1963
|
+
*/
|
|
1964
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
1965
|
+
/**
|
|
1966
|
+
* Omit specific fields from the AgentCronJob
|
|
1967
|
+
*/
|
|
1968
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
1969
|
+
/**
|
|
1970
|
+
* Choose, which related nodes to fetch as well
|
|
1971
|
+
*/
|
|
1972
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
1973
|
+
/**
|
|
1974
|
+
* Filter, which AgentCronJob to fetch.
|
|
1975
|
+
*/
|
|
1976
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
1977
|
+
/**
|
|
1978
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1979
|
+
*
|
|
1980
|
+
* Determine the order of AgentCronJobs to fetch.
|
|
1981
|
+
*/
|
|
1982
|
+
orderBy?: Prisma.AgentCronJobOrderByWithRelationInput | Prisma.AgentCronJobOrderByWithRelationInput[]
|
|
1983
|
+
/**
|
|
1984
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1985
|
+
*
|
|
1986
|
+
* Sets the position for searching for AgentCronJobs.
|
|
1987
|
+
*/
|
|
1988
|
+
cursor?: Prisma.AgentCronJobWhereUniqueInput
|
|
1989
|
+
/**
|
|
1990
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1991
|
+
*
|
|
1992
|
+
* Take `±n` AgentCronJobs from the position of the cursor.
|
|
1993
|
+
*/
|
|
1994
|
+
take?: number
|
|
1995
|
+
/**
|
|
1996
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1997
|
+
*
|
|
1998
|
+
* Skip the first `n` AgentCronJobs.
|
|
1999
|
+
*/
|
|
2000
|
+
skip?: number
|
|
2001
|
+
/**
|
|
2002
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2003
|
+
*
|
|
2004
|
+
* Filter by unique combinations of AgentCronJobs.
|
|
2005
|
+
*/
|
|
2006
|
+
distinct?: Prisma.AgentCronJobScalarFieldEnum | Prisma.AgentCronJobScalarFieldEnum[]
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* AgentCronJob findFirstOrThrow
|
|
2011
|
+
*/
|
|
2012
|
+
export type AgentCronJobFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2013
|
+
/**
|
|
2014
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2015
|
+
*/
|
|
2016
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
2017
|
+
/**
|
|
2018
|
+
* Omit specific fields from the AgentCronJob
|
|
2019
|
+
*/
|
|
2020
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2021
|
+
/**
|
|
2022
|
+
* Choose, which related nodes to fetch as well
|
|
2023
|
+
*/
|
|
2024
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
2025
|
+
/**
|
|
2026
|
+
* Filter, which AgentCronJob to fetch.
|
|
2027
|
+
*/
|
|
2028
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
2029
|
+
/**
|
|
2030
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2031
|
+
*
|
|
2032
|
+
* Determine the order of AgentCronJobs to fetch.
|
|
2033
|
+
*/
|
|
2034
|
+
orderBy?: Prisma.AgentCronJobOrderByWithRelationInput | Prisma.AgentCronJobOrderByWithRelationInput[]
|
|
2035
|
+
/**
|
|
2036
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2037
|
+
*
|
|
2038
|
+
* Sets the position for searching for AgentCronJobs.
|
|
2039
|
+
*/
|
|
2040
|
+
cursor?: Prisma.AgentCronJobWhereUniqueInput
|
|
2041
|
+
/**
|
|
2042
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2043
|
+
*
|
|
2044
|
+
* Take `±n` AgentCronJobs from the position of the cursor.
|
|
2045
|
+
*/
|
|
2046
|
+
take?: number
|
|
2047
|
+
/**
|
|
2048
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2049
|
+
*
|
|
2050
|
+
* Skip the first `n` AgentCronJobs.
|
|
2051
|
+
*/
|
|
2052
|
+
skip?: number
|
|
2053
|
+
/**
|
|
2054
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2055
|
+
*
|
|
2056
|
+
* Filter by unique combinations of AgentCronJobs.
|
|
2057
|
+
*/
|
|
2058
|
+
distinct?: Prisma.AgentCronJobScalarFieldEnum | Prisma.AgentCronJobScalarFieldEnum[]
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
/**
|
|
2062
|
+
* AgentCronJob findMany
|
|
2063
|
+
*/
|
|
2064
|
+
export type AgentCronJobFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2065
|
+
/**
|
|
2066
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2067
|
+
*/
|
|
2068
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
2069
|
+
/**
|
|
2070
|
+
* Omit specific fields from the AgentCronJob
|
|
2071
|
+
*/
|
|
2072
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2073
|
+
/**
|
|
2074
|
+
* Choose, which related nodes to fetch as well
|
|
2075
|
+
*/
|
|
2076
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
2077
|
+
/**
|
|
2078
|
+
* Filter, which AgentCronJobs to fetch.
|
|
2079
|
+
*/
|
|
2080
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
2081
|
+
/**
|
|
2082
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2083
|
+
*
|
|
2084
|
+
* Determine the order of AgentCronJobs to fetch.
|
|
2085
|
+
*/
|
|
2086
|
+
orderBy?: Prisma.AgentCronJobOrderByWithRelationInput | Prisma.AgentCronJobOrderByWithRelationInput[]
|
|
2087
|
+
/**
|
|
2088
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2089
|
+
*
|
|
2090
|
+
* Sets the position for listing AgentCronJobs.
|
|
2091
|
+
*/
|
|
2092
|
+
cursor?: Prisma.AgentCronJobWhereUniqueInput
|
|
2093
|
+
/**
|
|
2094
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2095
|
+
*
|
|
2096
|
+
* Take `±n` AgentCronJobs from the position of the cursor.
|
|
2097
|
+
*/
|
|
2098
|
+
take?: number
|
|
2099
|
+
/**
|
|
2100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2101
|
+
*
|
|
2102
|
+
* Skip the first `n` AgentCronJobs.
|
|
2103
|
+
*/
|
|
2104
|
+
skip?: number
|
|
2105
|
+
/**
|
|
2106
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2107
|
+
*
|
|
2108
|
+
* Filter by unique combinations of AgentCronJobs.
|
|
2109
|
+
*/
|
|
2110
|
+
distinct?: Prisma.AgentCronJobScalarFieldEnum | Prisma.AgentCronJobScalarFieldEnum[]
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
/**
|
|
2114
|
+
* AgentCronJob create
|
|
2115
|
+
*/
|
|
2116
|
+
export type AgentCronJobCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2117
|
+
/**
|
|
2118
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2119
|
+
*/
|
|
2120
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
2121
|
+
/**
|
|
2122
|
+
* Omit specific fields from the AgentCronJob
|
|
2123
|
+
*/
|
|
2124
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2125
|
+
/**
|
|
2126
|
+
* Choose, which related nodes to fetch as well
|
|
2127
|
+
*/
|
|
2128
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
2129
|
+
/**
|
|
2130
|
+
* The data needed to create a AgentCronJob.
|
|
2131
|
+
*/
|
|
2132
|
+
data: Prisma.XOR<Prisma.AgentCronJobCreateInput, Prisma.AgentCronJobUncheckedCreateInput>
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
* AgentCronJob createMany
|
|
2137
|
+
*/
|
|
2138
|
+
export type AgentCronJobCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2139
|
+
/**
|
|
2140
|
+
* The data used to create many AgentCronJobs.
|
|
2141
|
+
*/
|
|
2142
|
+
data: Prisma.AgentCronJobCreateManyInput | Prisma.AgentCronJobCreateManyInput[]
|
|
2143
|
+
skipDuplicates?: boolean
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* AgentCronJob createManyAndReturn
|
|
2148
|
+
*/
|
|
2149
|
+
export type AgentCronJobCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2150
|
+
/**
|
|
2151
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2152
|
+
*/
|
|
2153
|
+
select?: Prisma.AgentCronJobSelectCreateManyAndReturn<ExtArgs> | null
|
|
2154
|
+
/**
|
|
2155
|
+
* Omit specific fields from the AgentCronJob
|
|
2156
|
+
*/
|
|
2157
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2158
|
+
/**
|
|
2159
|
+
* The data used to create many AgentCronJobs.
|
|
2160
|
+
*/
|
|
2161
|
+
data: Prisma.AgentCronJobCreateManyInput | Prisma.AgentCronJobCreateManyInput[]
|
|
2162
|
+
skipDuplicates?: boolean
|
|
2163
|
+
/**
|
|
2164
|
+
* Choose, which related nodes to fetch as well
|
|
2165
|
+
*/
|
|
2166
|
+
include?: Prisma.AgentCronJobIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* AgentCronJob update
|
|
2171
|
+
*/
|
|
2172
|
+
export type AgentCronJobUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2173
|
+
/**
|
|
2174
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2175
|
+
*/
|
|
2176
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
2177
|
+
/**
|
|
2178
|
+
* Omit specific fields from the AgentCronJob
|
|
2179
|
+
*/
|
|
2180
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2181
|
+
/**
|
|
2182
|
+
* Choose, which related nodes to fetch as well
|
|
2183
|
+
*/
|
|
2184
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
2185
|
+
/**
|
|
2186
|
+
* The data needed to update a AgentCronJob.
|
|
2187
|
+
*/
|
|
2188
|
+
data: Prisma.XOR<Prisma.AgentCronJobUpdateInput, Prisma.AgentCronJobUncheckedUpdateInput>
|
|
2189
|
+
/**
|
|
2190
|
+
* Choose, which AgentCronJob to update.
|
|
2191
|
+
*/
|
|
2192
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
/**
|
|
2196
|
+
* AgentCronJob updateMany
|
|
2197
|
+
*/
|
|
2198
|
+
export type AgentCronJobUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2199
|
+
/**
|
|
2200
|
+
* The data used to update AgentCronJobs.
|
|
2201
|
+
*/
|
|
2202
|
+
data: Prisma.XOR<Prisma.AgentCronJobUpdateManyMutationInput, Prisma.AgentCronJobUncheckedUpdateManyInput>
|
|
2203
|
+
/**
|
|
2204
|
+
* Filter which AgentCronJobs to update
|
|
2205
|
+
*/
|
|
2206
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
2207
|
+
/**
|
|
2208
|
+
* Limit how many AgentCronJobs to update.
|
|
2209
|
+
*/
|
|
2210
|
+
limit?: number
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
* AgentCronJob updateManyAndReturn
|
|
2215
|
+
*/
|
|
2216
|
+
export type AgentCronJobUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2217
|
+
/**
|
|
2218
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2219
|
+
*/
|
|
2220
|
+
select?: Prisma.AgentCronJobSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2221
|
+
/**
|
|
2222
|
+
* Omit specific fields from the AgentCronJob
|
|
2223
|
+
*/
|
|
2224
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2225
|
+
/**
|
|
2226
|
+
* The data used to update AgentCronJobs.
|
|
2227
|
+
*/
|
|
2228
|
+
data: Prisma.XOR<Prisma.AgentCronJobUpdateManyMutationInput, Prisma.AgentCronJobUncheckedUpdateManyInput>
|
|
2229
|
+
/**
|
|
2230
|
+
* Filter which AgentCronJobs to update
|
|
2231
|
+
*/
|
|
2232
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
2233
|
+
/**
|
|
2234
|
+
* Limit how many AgentCronJobs to update.
|
|
2235
|
+
*/
|
|
2236
|
+
limit?: number
|
|
2237
|
+
/**
|
|
2238
|
+
* Choose, which related nodes to fetch as well
|
|
2239
|
+
*/
|
|
2240
|
+
include?: Prisma.AgentCronJobIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2243
|
+
/**
|
|
2244
|
+
* AgentCronJob upsert
|
|
2245
|
+
*/
|
|
2246
|
+
export type AgentCronJobUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2247
|
+
/**
|
|
2248
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2249
|
+
*/
|
|
2250
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
2251
|
+
/**
|
|
2252
|
+
* Omit specific fields from the AgentCronJob
|
|
2253
|
+
*/
|
|
2254
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2255
|
+
/**
|
|
2256
|
+
* Choose, which related nodes to fetch as well
|
|
2257
|
+
*/
|
|
2258
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
2259
|
+
/**
|
|
2260
|
+
* The filter to search for the AgentCronJob to update in case it exists.
|
|
2261
|
+
*/
|
|
2262
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
2263
|
+
/**
|
|
2264
|
+
* In case the AgentCronJob found by the `where` argument doesn't exist, create a new AgentCronJob with this data.
|
|
2265
|
+
*/
|
|
2266
|
+
create: Prisma.XOR<Prisma.AgentCronJobCreateInput, Prisma.AgentCronJobUncheckedCreateInput>
|
|
2267
|
+
/**
|
|
2268
|
+
* In case the AgentCronJob was found with the provided `where` argument, update it with this data.
|
|
2269
|
+
*/
|
|
2270
|
+
update: Prisma.XOR<Prisma.AgentCronJobUpdateInput, Prisma.AgentCronJobUncheckedUpdateInput>
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* AgentCronJob delete
|
|
2275
|
+
*/
|
|
2276
|
+
export type AgentCronJobDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2277
|
+
/**
|
|
2278
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2279
|
+
*/
|
|
2280
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
2281
|
+
/**
|
|
2282
|
+
* Omit specific fields from the AgentCronJob
|
|
2283
|
+
*/
|
|
2284
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2285
|
+
/**
|
|
2286
|
+
* Choose, which related nodes to fetch as well
|
|
2287
|
+
*/
|
|
2288
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
2289
|
+
/**
|
|
2290
|
+
* Filter which AgentCronJob to delete.
|
|
2291
|
+
*/
|
|
2292
|
+
where: Prisma.AgentCronJobWhereUniqueInput
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
/**
|
|
2296
|
+
* AgentCronJob deleteMany
|
|
2297
|
+
*/
|
|
2298
|
+
export type AgentCronJobDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2299
|
+
/**
|
|
2300
|
+
* Filter which AgentCronJobs to delete
|
|
2301
|
+
*/
|
|
2302
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
2303
|
+
/**
|
|
2304
|
+
* Limit how many AgentCronJobs to delete.
|
|
2305
|
+
*/
|
|
2306
|
+
limit?: number
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* AgentCronJob.parentCron
|
|
2311
|
+
*/
|
|
2312
|
+
export type AgentCronJob$parentCronArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2313
|
+
/**
|
|
2314
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2315
|
+
*/
|
|
2316
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
2317
|
+
/**
|
|
2318
|
+
* Omit specific fields from the AgentCronJob
|
|
2319
|
+
*/
|
|
2320
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2321
|
+
/**
|
|
2322
|
+
* Choose, which related nodes to fetch as well
|
|
2323
|
+
*/
|
|
2324
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
2325
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2328
|
+
/**
|
|
2329
|
+
* AgentCronJob.phases
|
|
2330
|
+
*/
|
|
2331
|
+
export type AgentCronJob$phasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2332
|
+
/**
|
|
2333
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2334
|
+
*/
|
|
2335
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
2336
|
+
/**
|
|
2337
|
+
* Omit specific fields from the AgentCronJob
|
|
2338
|
+
*/
|
|
2339
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2340
|
+
/**
|
|
2341
|
+
* Choose, which related nodes to fetch as well
|
|
2342
|
+
*/
|
|
2343
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
2344
|
+
where?: Prisma.AgentCronJobWhereInput
|
|
2345
|
+
orderBy?: Prisma.AgentCronJobOrderByWithRelationInput | Prisma.AgentCronJobOrderByWithRelationInput[]
|
|
2346
|
+
cursor?: Prisma.AgentCronJobWhereUniqueInput
|
|
2347
|
+
take?: number
|
|
2348
|
+
skip?: number
|
|
2349
|
+
distinct?: Prisma.AgentCronJobScalarFieldEnum | Prisma.AgentCronJobScalarFieldEnum[]
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2352
|
+
/**
|
|
2353
|
+
* AgentCronJob.runs
|
|
2354
|
+
*/
|
|
2355
|
+
export type AgentCronJob$runsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2356
|
+
/**
|
|
2357
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2358
|
+
*/
|
|
2359
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2360
|
+
/**
|
|
2361
|
+
* Omit specific fields from the AgentCronRun
|
|
2362
|
+
*/
|
|
2363
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2364
|
+
/**
|
|
2365
|
+
* Choose, which related nodes to fetch as well
|
|
2366
|
+
*/
|
|
2367
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2368
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
2369
|
+
orderBy?: Prisma.AgentCronRunOrderByWithRelationInput | Prisma.AgentCronRunOrderByWithRelationInput[]
|
|
2370
|
+
cursor?: Prisma.AgentCronRunWhereUniqueInput
|
|
2371
|
+
take?: number
|
|
2372
|
+
skip?: number
|
|
2373
|
+
distinct?: Prisma.AgentCronRunScalarFieldEnum | Prisma.AgentCronRunScalarFieldEnum[]
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* AgentCronJob.phaseRuns
|
|
2378
|
+
*/
|
|
2379
|
+
export type AgentCronJob$phaseRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2380
|
+
/**
|
|
2381
|
+
* Select specific fields to fetch from the AgentCronRun
|
|
2382
|
+
*/
|
|
2383
|
+
select?: Prisma.AgentCronRunSelect<ExtArgs> | null
|
|
2384
|
+
/**
|
|
2385
|
+
* Omit specific fields from the AgentCronRun
|
|
2386
|
+
*/
|
|
2387
|
+
omit?: Prisma.AgentCronRunOmit<ExtArgs> | null
|
|
2388
|
+
/**
|
|
2389
|
+
* Choose, which related nodes to fetch as well
|
|
2390
|
+
*/
|
|
2391
|
+
include?: Prisma.AgentCronRunInclude<ExtArgs> | null
|
|
2392
|
+
where?: Prisma.AgentCronRunWhereInput
|
|
2393
|
+
orderBy?: Prisma.AgentCronRunOrderByWithRelationInput | Prisma.AgentCronRunOrderByWithRelationInput[]
|
|
2394
|
+
cursor?: Prisma.AgentCronRunWhereUniqueInput
|
|
2395
|
+
take?: number
|
|
2396
|
+
skip?: number
|
|
2397
|
+
distinct?: Prisma.AgentCronRunScalarFieldEnum | Prisma.AgentCronRunScalarFieldEnum[]
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
/**
|
|
2401
|
+
* AgentCronJob without action
|
|
2402
|
+
*/
|
|
2403
|
+
export type AgentCronJobDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2404
|
+
/**
|
|
2405
|
+
* Select specific fields to fetch from the AgentCronJob
|
|
2406
|
+
*/
|
|
2407
|
+
select?: Prisma.AgentCronJobSelect<ExtArgs> | null
|
|
2408
|
+
/**
|
|
2409
|
+
* Omit specific fields from the AgentCronJob
|
|
2410
|
+
*/
|
|
2411
|
+
omit?: Prisma.AgentCronJobOmit<ExtArgs> | null
|
|
2412
|
+
/**
|
|
2413
|
+
* Choose, which related nodes to fetch as well
|
|
2414
|
+
*/
|
|
2415
|
+
include?: Prisma.AgentCronJobInclude<ExtArgs> | null
|
|
2416
|
+
}
|