@app-vitals/agent-admin 0.0.1 → 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 +62 -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,1355 @@
|
|
|
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 `AgentPhaseMethodology` 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 AgentPhaseMethodology
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AgentPhaseMethodologyModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentPhaseMethodologyPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAgentPhaseMethodology = {
|
|
22
|
+
_count: AgentPhaseMethodologyCountAggregateOutputType | null
|
|
23
|
+
_min: AgentPhaseMethodologyMinAggregateOutputType | null
|
|
24
|
+
_max: AgentPhaseMethodologyMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type AgentPhaseMethodologyMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
agentId: string | null
|
|
30
|
+
phase: string | null
|
|
31
|
+
subagentType: string | null
|
|
32
|
+
updatedAt: Date | null
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type AgentPhaseMethodologyMaxAggregateOutputType = {
|
|
36
|
+
id: string | null
|
|
37
|
+
agentId: string | null
|
|
38
|
+
phase: string | null
|
|
39
|
+
subagentType: string | null
|
|
40
|
+
updatedAt: Date | null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type AgentPhaseMethodologyCountAggregateOutputType = {
|
|
44
|
+
id: number
|
|
45
|
+
agentId: number
|
|
46
|
+
phase: number
|
|
47
|
+
subagentType: number
|
|
48
|
+
updatedAt: number
|
|
49
|
+
_all: number
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
export type AgentPhaseMethodologyMinAggregateInputType = {
|
|
54
|
+
id?: true
|
|
55
|
+
agentId?: true
|
|
56
|
+
phase?: true
|
|
57
|
+
subagentType?: true
|
|
58
|
+
updatedAt?: true
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type AgentPhaseMethodologyMaxAggregateInputType = {
|
|
62
|
+
id?: true
|
|
63
|
+
agentId?: true
|
|
64
|
+
phase?: true
|
|
65
|
+
subagentType?: true
|
|
66
|
+
updatedAt?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type AgentPhaseMethodologyCountAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
agentId?: true
|
|
72
|
+
phase?: true
|
|
73
|
+
subagentType?: true
|
|
74
|
+
updatedAt?: true
|
|
75
|
+
_all?: true
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export type AgentPhaseMethodologyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
79
|
+
/**
|
|
80
|
+
* Filter which AgentPhaseMethodology to aggregate.
|
|
81
|
+
*/
|
|
82
|
+
where?: Prisma.AgentPhaseMethodologyWhereInput
|
|
83
|
+
/**
|
|
84
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
85
|
+
*
|
|
86
|
+
* Determine the order of AgentPhaseMethodologies to fetch.
|
|
87
|
+
*/
|
|
88
|
+
orderBy?: Prisma.AgentPhaseMethodologyOrderByWithRelationInput | Prisma.AgentPhaseMethodologyOrderByWithRelationInput[]
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
91
|
+
*
|
|
92
|
+
* Sets the start position
|
|
93
|
+
*/
|
|
94
|
+
cursor?: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
97
|
+
*
|
|
98
|
+
* Take `±n` AgentPhaseMethodologies from the position of the cursor.
|
|
99
|
+
*/
|
|
100
|
+
take?: number
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
103
|
+
*
|
|
104
|
+
* Skip the first `n` AgentPhaseMethodologies.
|
|
105
|
+
*/
|
|
106
|
+
skip?: number
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
109
|
+
*
|
|
110
|
+
* Count returned AgentPhaseMethodologies
|
|
111
|
+
**/
|
|
112
|
+
_count?: true | AgentPhaseMethodologyCountAggregateInputType
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
+
*
|
|
116
|
+
* Select which fields to find the minimum value
|
|
117
|
+
**/
|
|
118
|
+
_min?: AgentPhaseMethodologyMinAggregateInputType
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Select which fields to find the maximum value
|
|
123
|
+
**/
|
|
124
|
+
_max?: AgentPhaseMethodologyMaxAggregateInputType
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export type GetAgentPhaseMethodologyAggregateType<T extends AgentPhaseMethodologyAggregateArgs> = {
|
|
128
|
+
[P in keyof T & keyof AggregateAgentPhaseMethodology]: P extends '_count' | 'count'
|
|
129
|
+
? T[P] extends true
|
|
130
|
+
? number
|
|
131
|
+
: Prisma.GetScalarType<T[P], AggregateAgentPhaseMethodology[P]>
|
|
132
|
+
: Prisma.GetScalarType<T[P], AggregateAgentPhaseMethodology[P]>
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
export type AgentPhaseMethodologyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
139
|
+
where?: Prisma.AgentPhaseMethodologyWhereInput
|
|
140
|
+
orderBy?: Prisma.AgentPhaseMethodologyOrderByWithAggregationInput | Prisma.AgentPhaseMethodologyOrderByWithAggregationInput[]
|
|
141
|
+
by: Prisma.AgentPhaseMethodologyScalarFieldEnum[] | Prisma.AgentPhaseMethodologyScalarFieldEnum
|
|
142
|
+
having?: Prisma.AgentPhaseMethodologyScalarWhereWithAggregatesInput
|
|
143
|
+
take?: number
|
|
144
|
+
skip?: number
|
|
145
|
+
_count?: AgentPhaseMethodologyCountAggregateInputType | true
|
|
146
|
+
_min?: AgentPhaseMethodologyMinAggregateInputType
|
|
147
|
+
_max?: AgentPhaseMethodologyMaxAggregateInputType
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export type AgentPhaseMethodologyGroupByOutputType = {
|
|
151
|
+
id: string
|
|
152
|
+
agentId: string
|
|
153
|
+
phase: string
|
|
154
|
+
subagentType: string | null
|
|
155
|
+
updatedAt: Date
|
|
156
|
+
_count: AgentPhaseMethodologyCountAggregateOutputType | null
|
|
157
|
+
_min: AgentPhaseMethodologyMinAggregateOutputType | null
|
|
158
|
+
_max: AgentPhaseMethodologyMaxAggregateOutputType | null
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export type GetAgentPhaseMethodologyGroupByPayload<T extends AgentPhaseMethodologyGroupByArgs> = Prisma.PrismaPromise<
|
|
162
|
+
Array<
|
|
163
|
+
Prisma.PickEnumerable<AgentPhaseMethodologyGroupByOutputType, T['by']> &
|
|
164
|
+
{
|
|
165
|
+
[P in ((keyof T) & (keyof AgentPhaseMethodologyGroupByOutputType))]: P extends '_count'
|
|
166
|
+
? T[P] extends boolean
|
|
167
|
+
? number
|
|
168
|
+
: Prisma.GetScalarType<T[P], AgentPhaseMethodologyGroupByOutputType[P]>
|
|
169
|
+
: Prisma.GetScalarType<T[P], AgentPhaseMethodologyGroupByOutputType[P]>
|
|
170
|
+
}
|
|
171
|
+
>
|
|
172
|
+
>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
export type AgentPhaseMethodologyWhereInput = {
|
|
177
|
+
AND?: Prisma.AgentPhaseMethodologyWhereInput | Prisma.AgentPhaseMethodologyWhereInput[]
|
|
178
|
+
OR?: Prisma.AgentPhaseMethodologyWhereInput[]
|
|
179
|
+
NOT?: Prisma.AgentPhaseMethodologyWhereInput | Prisma.AgentPhaseMethodologyWhereInput[]
|
|
180
|
+
id?: Prisma.StringFilter<"AgentPhaseMethodology"> | string
|
|
181
|
+
agentId?: Prisma.StringFilter<"AgentPhaseMethodology"> | string
|
|
182
|
+
phase?: Prisma.StringFilter<"AgentPhaseMethodology"> | string
|
|
183
|
+
subagentType?: Prisma.StringNullableFilter<"AgentPhaseMethodology"> | string | null
|
|
184
|
+
updatedAt?: Prisma.DateTimeFilter<"AgentPhaseMethodology"> | Date | string
|
|
185
|
+
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export type AgentPhaseMethodologyOrderByWithRelationInput = {
|
|
189
|
+
id?: Prisma.SortOrder
|
|
190
|
+
agentId?: Prisma.SortOrder
|
|
191
|
+
phase?: Prisma.SortOrder
|
|
192
|
+
subagentType?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
193
|
+
updatedAt?: Prisma.SortOrder
|
|
194
|
+
agent?: Prisma.AgentOrderByWithRelationInput
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export type AgentPhaseMethodologyWhereUniqueInput = Prisma.AtLeast<{
|
|
198
|
+
id?: string
|
|
199
|
+
agentId_phase?: Prisma.AgentPhaseMethodologyAgentIdPhaseCompoundUniqueInput
|
|
200
|
+
AND?: Prisma.AgentPhaseMethodologyWhereInput | Prisma.AgentPhaseMethodologyWhereInput[]
|
|
201
|
+
OR?: Prisma.AgentPhaseMethodologyWhereInput[]
|
|
202
|
+
NOT?: Prisma.AgentPhaseMethodologyWhereInput | Prisma.AgentPhaseMethodologyWhereInput[]
|
|
203
|
+
agentId?: Prisma.StringFilter<"AgentPhaseMethodology"> | string
|
|
204
|
+
phase?: Prisma.StringFilter<"AgentPhaseMethodology"> | string
|
|
205
|
+
subagentType?: Prisma.StringNullableFilter<"AgentPhaseMethodology"> | string | null
|
|
206
|
+
updatedAt?: Prisma.DateTimeFilter<"AgentPhaseMethodology"> | Date | string
|
|
207
|
+
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>
|
|
208
|
+
}, "id" | "agentId_phase">
|
|
209
|
+
|
|
210
|
+
export type AgentPhaseMethodologyOrderByWithAggregationInput = {
|
|
211
|
+
id?: Prisma.SortOrder
|
|
212
|
+
agentId?: Prisma.SortOrder
|
|
213
|
+
phase?: Prisma.SortOrder
|
|
214
|
+
subagentType?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
215
|
+
updatedAt?: Prisma.SortOrder
|
|
216
|
+
_count?: Prisma.AgentPhaseMethodologyCountOrderByAggregateInput
|
|
217
|
+
_max?: Prisma.AgentPhaseMethodologyMaxOrderByAggregateInput
|
|
218
|
+
_min?: Prisma.AgentPhaseMethodologyMinOrderByAggregateInput
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export type AgentPhaseMethodologyScalarWhereWithAggregatesInput = {
|
|
222
|
+
AND?: Prisma.AgentPhaseMethodologyScalarWhereWithAggregatesInput | Prisma.AgentPhaseMethodologyScalarWhereWithAggregatesInput[]
|
|
223
|
+
OR?: Prisma.AgentPhaseMethodologyScalarWhereWithAggregatesInput[]
|
|
224
|
+
NOT?: Prisma.AgentPhaseMethodologyScalarWhereWithAggregatesInput | Prisma.AgentPhaseMethodologyScalarWhereWithAggregatesInput[]
|
|
225
|
+
id?: Prisma.StringWithAggregatesFilter<"AgentPhaseMethodology"> | string
|
|
226
|
+
agentId?: Prisma.StringWithAggregatesFilter<"AgentPhaseMethodology"> | string
|
|
227
|
+
phase?: Prisma.StringWithAggregatesFilter<"AgentPhaseMethodology"> | string
|
|
228
|
+
subagentType?: Prisma.StringNullableWithAggregatesFilter<"AgentPhaseMethodology"> | string | null
|
|
229
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AgentPhaseMethodology"> | Date | string
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export type AgentPhaseMethodologyCreateInput = {
|
|
233
|
+
id?: string
|
|
234
|
+
phase: string
|
|
235
|
+
subagentType?: string | null
|
|
236
|
+
updatedAt?: Date | string
|
|
237
|
+
agent: Prisma.AgentCreateNestedOneWithoutPhaseMethodologiesInput
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export type AgentPhaseMethodologyUncheckedCreateInput = {
|
|
241
|
+
id?: string
|
|
242
|
+
agentId: string
|
|
243
|
+
phase: string
|
|
244
|
+
subagentType?: string | null
|
|
245
|
+
updatedAt?: Date | string
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export type AgentPhaseMethodologyUpdateInput = {
|
|
249
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
250
|
+
phase?: Prisma.StringFieldUpdateOperationsInput | string
|
|
251
|
+
subagentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
252
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
253
|
+
agent?: Prisma.AgentUpdateOneRequiredWithoutPhaseMethodologiesNestedInput
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export type AgentPhaseMethodologyUncheckedUpdateInput = {
|
|
257
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
258
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
259
|
+
phase?: Prisma.StringFieldUpdateOperationsInput | string
|
|
260
|
+
subagentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
261
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export type AgentPhaseMethodologyCreateManyInput = {
|
|
265
|
+
id?: string
|
|
266
|
+
agentId: string
|
|
267
|
+
phase: string
|
|
268
|
+
subagentType?: string | null
|
|
269
|
+
updatedAt?: Date | string
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export type AgentPhaseMethodologyUpdateManyMutationInput = {
|
|
273
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
274
|
+
phase?: Prisma.StringFieldUpdateOperationsInput | string
|
|
275
|
+
subagentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
276
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type AgentPhaseMethodologyUncheckedUpdateManyInput = {
|
|
280
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
281
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
282
|
+
phase?: Prisma.StringFieldUpdateOperationsInput | string
|
|
283
|
+
subagentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
284
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export type AgentPhaseMethodologyAgentIdPhaseCompoundUniqueInput = {
|
|
288
|
+
agentId: string
|
|
289
|
+
phase: string
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export type AgentPhaseMethodologyCountOrderByAggregateInput = {
|
|
293
|
+
id?: Prisma.SortOrder
|
|
294
|
+
agentId?: Prisma.SortOrder
|
|
295
|
+
phase?: Prisma.SortOrder
|
|
296
|
+
subagentType?: Prisma.SortOrder
|
|
297
|
+
updatedAt?: Prisma.SortOrder
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type AgentPhaseMethodologyMaxOrderByAggregateInput = {
|
|
301
|
+
id?: Prisma.SortOrder
|
|
302
|
+
agentId?: Prisma.SortOrder
|
|
303
|
+
phase?: Prisma.SortOrder
|
|
304
|
+
subagentType?: Prisma.SortOrder
|
|
305
|
+
updatedAt?: Prisma.SortOrder
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export type AgentPhaseMethodologyMinOrderByAggregateInput = {
|
|
309
|
+
id?: Prisma.SortOrder
|
|
310
|
+
agentId?: Prisma.SortOrder
|
|
311
|
+
phase?: Prisma.SortOrder
|
|
312
|
+
subagentType?: Prisma.SortOrder
|
|
313
|
+
updatedAt?: Prisma.SortOrder
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export type AgentPhaseMethodologyListRelationFilter = {
|
|
317
|
+
every?: Prisma.AgentPhaseMethodologyWhereInput
|
|
318
|
+
some?: Prisma.AgentPhaseMethodologyWhereInput
|
|
319
|
+
none?: Prisma.AgentPhaseMethodologyWhereInput
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export type AgentPhaseMethodologyOrderByRelationAggregateInput = {
|
|
323
|
+
_count?: Prisma.SortOrder
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export type NullableStringFieldUpdateOperationsInput = {
|
|
327
|
+
set?: string | null
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export type AgentPhaseMethodologyCreateNestedManyWithoutAgentInput = {
|
|
331
|
+
create?: Prisma.XOR<Prisma.AgentPhaseMethodologyCreateWithoutAgentInput, Prisma.AgentPhaseMethodologyUncheckedCreateWithoutAgentInput> | Prisma.AgentPhaseMethodologyCreateWithoutAgentInput[] | Prisma.AgentPhaseMethodologyUncheckedCreateWithoutAgentInput[]
|
|
332
|
+
connectOrCreate?: Prisma.AgentPhaseMethodologyCreateOrConnectWithoutAgentInput | Prisma.AgentPhaseMethodologyCreateOrConnectWithoutAgentInput[]
|
|
333
|
+
createMany?: Prisma.AgentPhaseMethodologyCreateManyAgentInputEnvelope
|
|
334
|
+
connect?: Prisma.AgentPhaseMethodologyWhereUniqueInput | Prisma.AgentPhaseMethodologyWhereUniqueInput[]
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export type AgentPhaseMethodologyUncheckedCreateNestedManyWithoutAgentInput = {
|
|
338
|
+
create?: Prisma.XOR<Prisma.AgentPhaseMethodologyCreateWithoutAgentInput, Prisma.AgentPhaseMethodologyUncheckedCreateWithoutAgentInput> | Prisma.AgentPhaseMethodologyCreateWithoutAgentInput[] | Prisma.AgentPhaseMethodologyUncheckedCreateWithoutAgentInput[]
|
|
339
|
+
connectOrCreate?: Prisma.AgentPhaseMethodologyCreateOrConnectWithoutAgentInput | Prisma.AgentPhaseMethodologyCreateOrConnectWithoutAgentInput[]
|
|
340
|
+
createMany?: Prisma.AgentPhaseMethodologyCreateManyAgentInputEnvelope
|
|
341
|
+
connect?: Prisma.AgentPhaseMethodologyWhereUniqueInput | Prisma.AgentPhaseMethodologyWhereUniqueInput[]
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export type AgentPhaseMethodologyUpdateManyWithoutAgentNestedInput = {
|
|
345
|
+
create?: Prisma.XOR<Prisma.AgentPhaseMethodologyCreateWithoutAgentInput, Prisma.AgentPhaseMethodologyUncheckedCreateWithoutAgentInput> | Prisma.AgentPhaseMethodologyCreateWithoutAgentInput[] | Prisma.AgentPhaseMethodologyUncheckedCreateWithoutAgentInput[]
|
|
346
|
+
connectOrCreate?: Prisma.AgentPhaseMethodologyCreateOrConnectWithoutAgentInput | Prisma.AgentPhaseMethodologyCreateOrConnectWithoutAgentInput[]
|
|
347
|
+
upsert?: Prisma.AgentPhaseMethodologyUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentPhaseMethodologyUpsertWithWhereUniqueWithoutAgentInput[]
|
|
348
|
+
createMany?: Prisma.AgentPhaseMethodologyCreateManyAgentInputEnvelope
|
|
349
|
+
set?: Prisma.AgentPhaseMethodologyWhereUniqueInput | Prisma.AgentPhaseMethodologyWhereUniqueInput[]
|
|
350
|
+
disconnect?: Prisma.AgentPhaseMethodologyWhereUniqueInput | Prisma.AgentPhaseMethodologyWhereUniqueInput[]
|
|
351
|
+
delete?: Prisma.AgentPhaseMethodologyWhereUniqueInput | Prisma.AgentPhaseMethodologyWhereUniqueInput[]
|
|
352
|
+
connect?: Prisma.AgentPhaseMethodologyWhereUniqueInput | Prisma.AgentPhaseMethodologyWhereUniqueInput[]
|
|
353
|
+
update?: Prisma.AgentPhaseMethodologyUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentPhaseMethodologyUpdateWithWhereUniqueWithoutAgentInput[]
|
|
354
|
+
updateMany?: Prisma.AgentPhaseMethodologyUpdateManyWithWhereWithoutAgentInput | Prisma.AgentPhaseMethodologyUpdateManyWithWhereWithoutAgentInput[]
|
|
355
|
+
deleteMany?: Prisma.AgentPhaseMethodologyScalarWhereInput | Prisma.AgentPhaseMethodologyScalarWhereInput[]
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export type AgentPhaseMethodologyUncheckedUpdateManyWithoutAgentNestedInput = {
|
|
359
|
+
create?: Prisma.XOR<Prisma.AgentPhaseMethodologyCreateWithoutAgentInput, Prisma.AgentPhaseMethodologyUncheckedCreateWithoutAgentInput> | Prisma.AgentPhaseMethodologyCreateWithoutAgentInput[] | Prisma.AgentPhaseMethodologyUncheckedCreateWithoutAgentInput[]
|
|
360
|
+
connectOrCreate?: Prisma.AgentPhaseMethodologyCreateOrConnectWithoutAgentInput | Prisma.AgentPhaseMethodologyCreateOrConnectWithoutAgentInput[]
|
|
361
|
+
upsert?: Prisma.AgentPhaseMethodologyUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentPhaseMethodologyUpsertWithWhereUniqueWithoutAgentInput[]
|
|
362
|
+
createMany?: Prisma.AgentPhaseMethodologyCreateManyAgentInputEnvelope
|
|
363
|
+
set?: Prisma.AgentPhaseMethodologyWhereUniqueInput | Prisma.AgentPhaseMethodologyWhereUniqueInput[]
|
|
364
|
+
disconnect?: Prisma.AgentPhaseMethodologyWhereUniqueInput | Prisma.AgentPhaseMethodologyWhereUniqueInput[]
|
|
365
|
+
delete?: Prisma.AgentPhaseMethodologyWhereUniqueInput | Prisma.AgentPhaseMethodologyWhereUniqueInput[]
|
|
366
|
+
connect?: Prisma.AgentPhaseMethodologyWhereUniqueInput | Prisma.AgentPhaseMethodologyWhereUniqueInput[]
|
|
367
|
+
update?: Prisma.AgentPhaseMethodologyUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentPhaseMethodologyUpdateWithWhereUniqueWithoutAgentInput[]
|
|
368
|
+
updateMany?: Prisma.AgentPhaseMethodologyUpdateManyWithWhereWithoutAgentInput | Prisma.AgentPhaseMethodologyUpdateManyWithWhereWithoutAgentInput[]
|
|
369
|
+
deleteMany?: Prisma.AgentPhaseMethodologyScalarWhereInput | Prisma.AgentPhaseMethodologyScalarWhereInput[]
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export type AgentPhaseMethodologyCreateWithoutAgentInput = {
|
|
373
|
+
id?: string
|
|
374
|
+
phase: string
|
|
375
|
+
subagentType?: string | null
|
|
376
|
+
updatedAt?: Date | string
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
export type AgentPhaseMethodologyUncheckedCreateWithoutAgentInput = {
|
|
380
|
+
id?: string
|
|
381
|
+
phase: string
|
|
382
|
+
subagentType?: string | null
|
|
383
|
+
updatedAt?: Date | string
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export type AgentPhaseMethodologyCreateOrConnectWithoutAgentInput = {
|
|
387
|
+
where: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
388
|
+
create: Prisma.XOR<Prisma.AgentPhaseMethodologyCreateWithoutAgentInput, Prisma.AgentPhaseMethodologyUncheckedCreateWithoutAgentInput>
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export type AgentPhaseMethodologyCreateManyAgentInputEnvelope = {
|
|
392
|
+
data: Prisma.AgentPhaseMethodologyCreateManyAgentInput | Prisma.AgentPhaseMethodologyCreateManyAgentInput[]
|
|
393
|
+
skipDuplicates?: boolean
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export type AgentPhaseMethodologyUpsertWithWhereUniqueWithoutAgentInput = {
|
|
397
|
+
where: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
398
|
+
update: Prisma.XOR<Prisma.AgentPhaseMethodologyUpdateWithoutAgentInput, Prisma.AgentPhaseMethodologyUncheckedUpdateWithoutAgentInput>
|
|
399
|
+
create: Prisma.XOR<Prisma.AgentPhaseMethodologyCreateWithoutAgentInput, Prisma.AgentPhaseMethodologyUncheckedCreateWithoutAgentInput>
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export type AgentPhaseMethodologyUpdateWithWhereUniqueWithoutAgentInput = {
|
|
403
|
+
where: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
404
|
+
data: Prisma.XOR<Prisma.AgentPhaseMethodologyUpdateWithoutAgentInput, Prisma.AgentPhaseMethodologyUncheckedUpdateWithoutAgentInput>
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export type AgentPhaseMethodologyUpdateManyWithWhereWithoutAgentInput = {
|
|
408
|
+
where: Prisma.AgentPhaseMethodologyScalarWhereInput
|
|
409
|
+
data: Prisma.XOR<Prisma.AgentPhaseMethodologyUpdateManyMutationInput, Prisma.AgentPhaseMethodologyUncheckedUpdateManyWithoutAgentInput>
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export type AgentPhaseMethodologyScalarWhereInput = {
|
|
413
|
+
AND?: Prisma.AgentPhaseMethodologyScalarWhereInput | Prisma.AgentPhaseMethodologyScalarWhereInput[]
|
|
414
|
+
OR?: Prisma.AgentPhaseMethodologyScalarWhereInput[]
|
|
415
|
+
NOT?: Prisma.AgentPhaseMethodologyScalarWhereInput | Prisma.AgentPhaseMethodologyScalarWhereInput[]
|
|
416
|
+
id?: Prisma.StringFilter<"AgentPhaseMethodology"> | string
|
|
417
|
+
agentId?: Prisma.StringFilter<"AgentPhaseMethodology"> | string
|
|
418
|
+
phase?: Prisma.StringFilter<"AgentPhaseMethodology"> | string
|
|
419
|
+
subagentType?: Prisma.StringNullableFilter<"AgentPhaseMethodology"> | string | null
|
|
420
|
+
updatedAt?: Prisma.DateTimeFilter<"AgentPhaseMethodology"> | Date | string
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export type AgentPhaseMethodologyCreateManyAgentInput = {
|
|
424
|
+
id?: string
|
|
425
|
+
phase: string
|
|
426
|
+
subagentType?: string | null
|
|
427
|
+
updatedAt?: Date | string
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export type AgentPhaseMethodologyUpdateWithoutAgentInput = {
|
|
431
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
432
|
+
phase?: Prisma.StringFieldUpdateOperationsInput | string
|
|
433
|
+
subagentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
434
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export type AgentPhaseMethodologyUncheckedUpdateWithoutAgentInput = {
|
|
438
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
439
|
+
phase?: Prisma.StringFieldUpdateOperationsInput | string
|
|
440
|
+
subagentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
441
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
export type AgentPhaseMethodologyUncheckedUpdateManyWithoutAgentInput = {
|
|
445
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
446
|
+
phase?: Prisma.StringFieldUpdateOperationsInput | string
|
|
447
|
+
subagentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
448
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
export type AgentPhaseMethodologySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
454
|
+
id?: boolean
|
|
455
|
+
agentId?: boolean
|
|
456
|
+
phase?: boolean
|
|
457
|
+
subagentType?: boolean
|
|
458
|
+
updatedAt?: boolean
|
|
459
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
460
|
+
}, ExtArgs["result"]["agentPhaseMethodology"]>
|
|
461
|
+
|
|
462
|
+
export type AgentPhaseMethodologySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
463
|
+
id?: boolean
|
|
464
|
+
agentId?: boolean
|
|
465
|
+
phase?: boolean
|
|
466
|
+
subagentType?: boolean
|
|
467
|
+
updatedAt?: boolean
|
|
468
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
469
|
+
}, ExtArgs["result"]["agentPhaseMethodology"]>
|
|
470
|
+
|
|
471
|
+
export type AgentPhaseMethodologySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
472
|
+
id?: boolean
|
|
473
|
+
agentId?: boolean
|
|
474
|
+
phase?: boolean
|
|
475
|
+
subagentType?: boolean
|
|
476
|
+
updatedAt?: boolean
|
|
477
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
478
|
+
}, ExtArgs["result"]["agentPhaseMethodology"]>
|
|
479
|
+
|
|
480
|
+
export type AgentPhaseMethodologySelectScalar = {
|
|
481
|
+
id?: boolean
|
|
482
|
+
agentId?: boolean
|
|
483
|
+
phase?: boolean
|
|
484
|
+
subagentType?: boolean
|
|
485
|
+
updatedAt?: boolean
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export type AgentPhaseMethodologyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "phase" | "subagentType" | "updatedAt", ExtArgs["result"]["agentPhaseMethodology"]>
|
|
489
|
+
export type AgentPhaseMethodologyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
490
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
491
|
+
}
|
|
492
|
+
export type AgentPhaseMethodologyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
493
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
494
|
+
}
|
|
495
|
+
export type AgentPhaseMethodologyIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
496
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export type $AgentPhaseMethodologyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
500
|
+
name: "AgentPhaseMethodology"
|
|
501
|
+
objects: {
|
|
502
|
+
agent: Prisma.$AgentPayload<ExtArgs>
|
|
503
|
+
}
|
|
504
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
505
|
+
id: string
|
|
506
|
+
agentId: string
|
|
507
|
+
phase: string
|
|
508
|
+
subagentType: string | null
|
|
509
|
+
updatedAt: Date
|
|
510
|
+
}, ExtArgs["result"]["agentPhaseMethodology"]>
|
|
511
|
+
composites: {}
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export type AgentPhaseMethodologyGetPayload<S extends boolean | null | undefined | AgentPhaseMethodologyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload, S>
|
|
515
|
+
|
|
516
|
+
export type AgentPhaseMethodologyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
517
|
+
Omit<AgentPhaseMethodologyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
518
|
+
select?: AgentPhaseMethodologyCountAggregateInputType | true
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export interface AgentPhaseMethodologyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
522
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AgentPhaseMethodology'], meta: { name: 'AgentPhaseMethodology' } }
|
|
523
|
+
/**
|
|
524
|
+
* Find zero or one AgentPhaseMethodology that matches the filter.
|
|
525
|
+
* @param {AgentPhaseMethodologyFindUniqueArgs} args - Arguments to find a AgentPhaseMethodology
|
|
526
|
+
* @example
|
|
527
|
+
* // Get one AgentPhaseMethodology
|
|
528
|
+
* const agentPhaseMethodology = await prisma.agentPhaseMethodology.findUnique({
|
|
529
|
+
* where: {
|
|
530
|
+
* // ... provide filter here
|
|
531
|
+
* }
|
|
532
|
+
* })
|
|
533
|
+
*/
|
|
534
|
+
findUnique<T extends AgentPhaseMethodologyFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentPhaseMethodologyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentPhaseMethodologyClient<runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Find one AgentPhaseMethodology that matches the filter or throw an error with `error.code='P2025'`
|
|
538
|
+
* if no matches were found.
|
|
539
|
+
* @param {AgentPhaseMethodologyFindUniqueOrThrowArgs} args - Arguments to find a AgentPhaseMethodology
|
|
540
|
+
* @example
|
|
541
|
+
* // Get one AgentPhaseMethodology
|
|
542
|
+
* const agentPhaseMethodology = await prisma.agentPhaseMethodology.findUniqueOrThrow({
|
|
543
|
+
* where: {
|
|
544
|
+
* // ... provide filter here
|
|
545
|
+
* }
|
|
546
|
+
* })
|
|
547
|
+
*/
|
|
548
|
+
findUniqueOrThrow<T extends AgentPhaseMethodologyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentPhaseMethodologyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentPhaseMethodologyClient<runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Find the first AgentPhaseMethodology that matches the filter.
|
|
552
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
553
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
554
|
+
* @param {AgentPhaseMethodologyFindFirstArgs} args - Arguments to find a AgentPhaseMethodology
|
|
555
|
+
* @example
|
|
556
|
+
* // Get one AgentPhaseMethodology
|
|
557
|
+
* const agentPhaseMethodology = await prisma.agentPhaseMethodology.findFirst({
|
|
558
|
+
* where: {
|
|
559
|
+
* // ... provide filter here
|
|
560
|
+
* }
|
|
561
|
+
* })
|
|
562
|
+
*/
|
|
563
|
+
findFirst<T extends AgentPhaseMethodologyFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentPhaseMethodologyFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentPhaseMethodologyClient<runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Find the first AgentPhaseMethodology that matches the filter or
|
|
567
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
568
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
569
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
570
|
+
* @param {AgentPhaseMethodologyFindFirstOrThrowArgs} args - Arguments to find a AgentPhaseMethodology
|
|
571
|
+
* @example
|
|
572
|
+
* // Get one AgentPhaseMethodology
|
|
573
|
+
* const agentPhaseMethodology = await prisma.agentPhaseMethodology.findFirstOrThrow({
|
|
574
|
+
* where: {
|
|
575
|
+
* // ... provide filter here
|
|
576
|
+
* }
|
|
577
|
+
* })
|
|
578
|
+
*/
|
|
579
|
+
findFirstOrThrow<T extends AgentPhaseMethodologyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentPhaseMethodologyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentPhaseMethodologyClient<runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Find zero or more AgentPhaseMethodologies that matches the filter.
|
|
583
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
584
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
585
|
+
* @param {AgentPhaseMethodologyFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
586
|
+
* @example
|
|
587
|
+
* // Get all AgentPhaseMethodologies
|
|
588
|
+
* const agentPhaseMethodologies = await prisma.agentPhaseMethodology.findMany()
|
|
589
|
+
*
|
|
590
|
+
* // Get first 10 AgentPhaseMethodologies
|
|
591
|
+
* const agentPhaseMethodologies = await prisma.agentPhaseMethodology.findMany({ take: 10 })
|
|
592
|
+
*
|
|
593
|
+
* // Only select the `id`
|
|
594
|
+
* const agentPhaseMethodologyWithIdOnly = await prisma.agentPhaseMethodology.findMany({ select: { id: true } })
|
|
595
|
+
*
|
|
596
|
+
*/
|
|
597
|
+
findMany<T extends AgentPhaseMethodologyFindManyArgs>(args?: Prisma.SelectSubset<T, AgentPhaseMethodologyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* Create a AgentPhaseMethodology.
|
|
601
|
+
* @param {AgentPhaseMethodologyCreateArgs} args - Arguments to create a AgentPhaseMethodology.
|
|
602
|
+
* @example
|
|
603
|
+
* // Create one AgentPhaseMethodology
|
|
604
|
+
* const AgentPhaseMethodology = await prisma.agentPhaseMethodology.create({
|
|
605
|
+
* data: {
|
|
606
|
+
* // ... data to create a AgentPhaseMethodology
|
|
607
|
+
* }
|
|
608
|
+
* })
|
|
609
|
+
*
|
|
610
|
+
*/
|
|
611
|
+
create<T extends AgentPhaseMethodologyCreateArgs>(args: Prisma.SelectSubset<T, AgentPhaseMethodologyCreateArgs<ExtArgs>>): Prisma.Prisma__AgentPhaseMethodologyClient<runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Create many AgentPhaseMethodologies.
|
|
615
|
+
* @param {AgentPhaseMethodologyCreateManyArgs} args - Arguments to create many AgentPhaseMethodologies.
|
|
616
|
+
* @example
|
|
617
|
+
* // Create many AgentPhaseMethodologies
|
|
618
|
+
* const agentPhaseMethodology = await prisma.agentPhaseMethodology.createMany({
|
|
619
|
+
* data: [
|
|
620
|
+
* // ... provide data here
|
|
621
|
+
* ]
|
|
622
|
+
* })
|
|
623
|
+
*
|
|
624
|
+
*/
|
|
625
|
+
createMany<T extends AgentPhaseMethodologyCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentPhaseMethodologyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Create many AgentPhaseMethodologies and returns the data saved in the database.
|
|
629
|
+
* @param {AgentPhaseMethodologyCreateManyAndReturnArgs} args - Arguments to create many AgentPhaseMethodologies.
|
|
630
|
+
* @example
|
|
631
|
+
* // Create many AgentPhaseMethodologies
|
|
632
|
+
* const agentPhaseMethodology = await prisma.agentPhaseMethodology.createManyAndReturn({
|
|
633
|
+
* data: [
|
|
634
|
+
* // ... provide data here
|
|
635
|
+
* ]
|
|
636
|
+
* })
|
|
637
|
+
*
|
|
638
|
+
* // Create many AgentPhaseMethodologies and only return the `id`
|
|
639
|
+
* const agentPhaseMethodologyWithIdOnly = await prisma.agentPhaseMethodology.createManyAndReturn({
|
|
640
|
+
* select: { id: true },
|
|
641
|
+
* data: [
|
|
642
|
+
* // ... provide data here
|
|
643
|
+
* ]
|
|
644
|
+
* })
|
|
645
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
646
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
647
|
+
*
|
|
648
|
+
*/
|
|
649
|
+
createManyAndReturn<T extends AgentPhaseMethodologyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentPhaseMethodologyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Delete a AgentPhaseMethodology.
|
|
653
|
+
* @param {AgentPhaseMethodologyDeleteArgs} args - Arguments to delete one AgentPhaseMethodology.
|
|
654
|
+
* @example
|
|
655
|
+
* // Delete one AgentPhaseMethodology
|
|
656
|
+
* const AgentPhaseMethodology = await prisma.agentPhaseMethodology.delete({
|
|
657
|
+
* where: {
|
|
658
|
+
* // ... filter to delete one AgentPhaseMethodology
|
|
659
|
+
* }
|
|
660
|
+
* })
|
|
661
|
+
*
|
|
662
|
+
*/
|
|
663
|
+
delete<T extends AgentPhaseMethodologyDeleteArgs>(args: Prisma.SelectSubset<T, AgentPhaseMethodologyDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentPhaseMethodologyClient<runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* Update one AgentPhaseMethodology.
|
|
667
|
+
* @param {AgentPhaseMethodologyUpdateArgs} args - Arguments to update one AgentPhaseMethodology.
|
|
668
|
+
* @example
|
|
669
|
+
* // Update one AgentPhaseMethodology
|
|
670
|
+
* const agentPhaseMethodology = await prisma.agentPhaseMethodology.update({
|
|
671
|
+
* where: {
|
|
672
|
+
* // ... provide filter here
|
|
673
|
+
* },
|
|
674
|
+
* data: {
|
|
675
|
+
* // ... provide data here
|
|
676
|
+
* }
|
|
677
|
+
* })
|
|
678
|
+
*
|
|
679
|
+
*/
|
|
680
|
+
update<T extends AgentPhaseMethodologyUpdateArgs>(args: Prisma.SelectSubset<T, AgentPhaseMethodologyUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentPhaseMethodologyClient<runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Delete zero or more AgentPhaseMethodologies.
|
|
684
|
+
* @param {AgentPhaseMethodologyDeleteManyArgs} args - Arguments to filter AgentPhaseMethodologies to delete.
|
|
685
|
+
* @example
|
|
686
|
+
* // Delete a few AgentPhaseMethodologies
|
|
687
|
+
* const { count } = await prisma.agentPhaseMethodology.deleteMany({
|
|
688
|
+
* where: {
|
|
689
|
+
* // ... provide filter here
|
|
690
|
+
* }
|
|
691
|
+
* })
|
|
692
|
+
*
|
|
693
|
+
*/
|
|
694
|
+
deleteMany<T extends AgentPhaseMethodologyDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentPhaseMethodologyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Update zero or more AgentPhaseMethodologies.
|
|
698
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
699
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
700
|
+
* @param {AgentPhaseMethodologyUpdateManyArgs} args - Arguments to update one or more rows.
|
|
701
|
+
* @example
|
|
702
|
+
* // Update many AgentPhaseMethodologies
|
|
703
|
+
* const agentPhaseMethodology = await prisma.agentPhaseMethodology.updateMany({
|
|
704
|
+
* where: {
|
|
705
|
+
* // ... provide filter here
|
|
706
|
+
* },
|
|
707
|
+
* data: {
|
|
708
|
+
* // ... provide data here
|
|
709
|
+
* }
|
|
710
|
+
* })
|
|
711
|
+
*
|
|
712
|
+
*/
|
|
713
|
+
updateMany<T extends AgentPhaseMethodologyUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentPhaseMethodologyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Update zero or more AgentPhaseMethodologies and returns the data updated in the database.
|
|
717
|
+
* @param {AgentPhaseMethodologyUpdateManyAndReturnArgs} args - Arguments to update many AgentPhaseMethodologies.
|
|
718
|
+
* @example
|
|
719
|
+
* // Update many AgentPhaseMethodologies
|
|
720
|
+
* const agentPhaseMethodology = await prisma.agentPhaseMethodology.updateManyAndReturn({
|
|
721
|
+
* where: {
|
|
722
|
+
* // ... provide filter here
|
|
723
|
+
* },
|
|
724
|
+
* data: [
|
|
725
|
+
* // ... provide data here
|
|
726
|
+
* ]
|
|
727
|
+
* })
|
|
728
|
+
*
|
|
729
|
+
* // Update zero or more AgentPhaseMethodologies and only return the `id`
|
|
730
|
+
* const agentPhaseMethodologyWithIdOnly = await prisma.agentPhaseMethodology.updateManyAndReturn({
|
|
731
|
+
* select: { id: true },
|
|
732
|
+
* where: {
|
|
733
|
+
* // ... provide filter here
|
|
734
|
+
* },
|
|
735
|
+
* data: [
|
|
736
|
+
* // ... provide data here
|
|
737
|
+
* ]
|
|
738
|
+
* })
|
|
739
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
740
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
741
|
+
*
|
|
742
|
+
*/
|
|
743
|
+
updateManyAndReturn<T extends AgentPhaseMethodologyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentPhaseMethodologyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Create or update one AgentPhaseMethodology.
|
|
747
|
+
* @param {AgentPhaseMethodologyUpsertArgs} args - Arguments to update or create a AgentPhaseMethodology.
|
|
748
|
+
* @example
|
|
749
|
+
* // Update or create a AgentPhaseMethodology
|
|
750
|
+
* const agentPhaseMethodology = await prisma.agentPhaseMethodology.upsert({
|
|
751
|
+
* create: {
|
|
752
|
+
* // ... data to create a AgentPhaseMethodology
|
|
753
|
+
* },
|
|
754
|
+
* update: {
|
|
755
|
+
* // ... in case it already exists, update
|
|
756
|
+
* },
|
|
757
|
+
* where: {
|
|
758
|
+
* // ... the filter for the AgentPhaseMethodology we want to update
|
|
759
|
+
* }
|
|
760
|
+
* })
|
|
761
|
+
*/
|
|
762
|
+
upsert<T extends AgentPhaseMethodologyUpsertArgs>(args: Prisma.SelectSubset<T, AgentPhaseMethodologyUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentPhaseMethodologyClient<runtime.Types.Result.GetResult<Prisma.$AgentPhaseMethodologyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Count the number of AgentPhaseMethodologies.
|
|
767
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
768
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
769
|
+
* @param {AgentPhaseMethodologyCountArgs} args - Arguments to filter AgentPhaseMethodologies to count.
|
|
770
|
+
* @example
|
|
771
|
+
* // Count the number of AgentPhaseMethodologies
|
|
772
|
+
* const count = await prisma.agentPhaseMethodology.count({
|
|
773
|
+
* where: {
|
|
774
|
+
* // ... the filter for the AgentPhaseMethodologies we want to count
|
|
775
|
+
* }
|
|
776
|
+
* })
|
|
777
|
+
**/
|
|
778
|
+
count<T extends AgentPhaseMethodologyCountArgs>(
|
|
779
|
+
args?: Prisma.Subset<T, AgentPhaseMethodologyCountArgs>,
|
|
780
|
+
): Prisma.PrismaPromise<
|
|
781
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
782
|
+
? T['select'] extends true
|
|
783
|
+
? number
|
|
784
|
+
: Prisma.GetScalarType<T['select'], AgentPhaseMethodologyCountAggregateOutputType>
|
|
785
|
+
: number
|
|
786
|
+
>
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Allows you to perform aggregations operations on a AgentPhaseMethodology.
|
|
790
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
791
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
792
|
+
* @param {AgentPhaseMethodologyAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
793
|
+
* @example
|
|
794
|
+
* // Ordered by age ascending
|
|
795
|
+
* // Where email contains prisma.io
|
|
796
|
+
* // Limited to the 10 users
|
|
797
|
+
* const aggregations = await prisma.user.aggregate({
|
|
798
|
+
* _avg: {
|
|
799
|
+
* age: true,
|
|
800
|
+
* },
|
|
801
|
+
* where: {
|
|
802
|
+
* email: {
|
|
803
|
+
* contains: "prisma.io",
|
|
804
|
+
* },
|
|
805
|
+
* },
|
|
806
|
+
* orderBy: {
|
|
807
|
+
* age: "asc",
|
|
808
|
+
* },
|
|
809
|
+
* take: 10,
|
|
810
|
+
* })
|
|
811
|
+
**/
|
|
812
|
+
aggregate<T extends AgentPhaseMethodologyAggregateArgs>(args: Prisma.Subset<T, AgentPhaseMethodologyAggregateArgs>): Prisma.PrismaPromise<GetAgentPhaseMethodologyAggregateType<T>>
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Group by AgentPhaseMethodology.
|
|
816
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
817
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
818
|
+
* @param {AgentPhaseMethodologyGroupByArgs} args - Group by arguments.
|
|
819
|
+
* @example
|
|
820
|
+
* // Group by city, order by createdAt, get count
|
|
821
|
+
* const result = await prisma.user.groupBy({
|
|
822
|
+
* by: ['city', 'createdAt'],
|
|
823
|
+
* orderBy: {
|
|
824
|
+
* createdAt: true
|
|
825
|
+
* },
|
|
826
|
+
* _count: {
|
|
827
|
+
* _all: true
|
|
828
|
+
* },
|
|
829
|
+
* })
|
|
830
|
+
*
|
|
831
|
+
**/
|
|
832
|
+
groupBy<
|
|
833
|
+
T extends AgentPhaseMethodologyGroupByArgs,
|
|
834
|
+
HasSelectOrTake extends Prisma.Or<
|
|
835
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
836
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
837
|
+
>,
|
|
838
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
839
|
+
? { orderBy: AgentPhaseMethodologyGroupByArgs['orderBy'] }
|
|
840
|
+
: { orderBy?: AgentPhaseMethodologyGroupByArgs['orderBy'] },
|
|
841
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
842
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
843
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
844
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
845
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
846
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
847
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
848
|
+
? `Error: "by" must not be empty.`
|
|
849
|
+
: HavingValid extends Prisma.False
|
|
850
|
+
? {
|
|
851
|
+
[P in HavingFields]: P extends ByFields
|
|
852
|
+
? never
|
|
853
|
+
: P extends string
|
|
854
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
855
|
+
: [
|
|
856
|
+
Error,
|
|
857
|
+
'Field ',
|
|
858
|
+
P,
|
|
859
|
+
` in "having" needs to be provided in "by"`,
|
|
860
|
+
]
|
|
861
|
+
}[HavingFields]
|
|
862
|
+
: 'take' extends Prisma.Keys<T>
|
|
863
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
864
|
+
? ByValid extends Prisma.True
|
|
865
|
+
? {}
|
|
866
|
+
: {
|
|
867
|
+
[P in OrderFields]: P extends ByFields
|
|
868
|
+
? never
|
|
869
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
870
|
+
}[OrderFields]
|
|
871
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
872
|
+
: 'skip' extends Prisma.Keys<T>
|
|
873
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
874
|
+
? ByValid extends Prisma.True
|
|
875
|
+
? {}
|
|
876
|
+
: {
|
|
877
|
+
[P in OrderFields]: P extends ByFields
|
|
878
|
+
? never
|
|
879
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
880
|
+
}[OrderFields]
|
|
881
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
882
|
+
: ByValid extends Prisma.True
|
|
883
|
+
? {}
|
|
884
|
+
: {
|
|
885
|
+
[P in OrderFields]: P extends ByFields
|
|
886
|
+
? never
|
|
887
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
888
|
+
}[OrderFields]
|
|
889
|
+
>(args: Prisma.SubsetIntersection<T, AgentPhaseMethodologyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentPhaseMethodologyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
890
|
+
/**
|
|
891
|
+
* Fields of the AgentPhaseMethodology model
|
|
892
|
+
*/
|
|
893
|
+
readonly fields: AgentPhaseMethodologyFieldRefs;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* The delegate class that acts as a "Promise-like" for AgentPhaseMethodology.
|
|
898
|
+
* Why is this prefixed with `Prisma__`?
|
|
899
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
900
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
901
|
+
*/
|
|
902
|
+
export interface Prisma__AgentPhaseMethodologyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
903
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
904
|
+
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>
|
|
905
|
+
/**
|
|
906
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
907
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
908
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
909
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
910
|
+
*/
|
|
911
|
+
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>
|
|
912
|
+
/**
|
|
913
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
914
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
915
|
+
* @returns A Promise for the completion of the callback.
|
|
916
|
+
*/
|
|
917
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
918
|
+
/**
|
|
919
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
920
|
+
* resolved value cannot be modified from the callback.
|
|
921
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
922
|
+
* @returns A Promise for the completion of the callback.
|
|
923
|
+
*/
|
|
924
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* Fields of the AgentPhaseMethodology model
|
|
932
|
+
*/
|
|
933
|
+
export interface AgentPhaseMethodologyFieldRefs {
|
|
934
|
+
readonly id: Prisma.FieldRef<"AgentPhaseMethodology", 'String'>
|
|
935
|
+
readonly agentId: Prisma.FieldRef<"AgentPhaseMethodology", 'String'>
|
|
936
|
+
readonly phase: Prisma.FieldRef<"AgentPhaseMethodology", 'String'>
|
|
937
|
+
readonly subagentType: Prisma.FieldRef<"AgentPhaseMethodology", 'String'>
|
|
938
|
+
readonly updatedAt: Prisma.FieldRef<"AgentPhaseMethodology", 'DateTime'>
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
// Custom InputTypes
|
|
943
|
+
/**
|
|
944
|
+
* AgentPhaseMethodology findUnique
|
|
945
|
+
*/
|
|
946
|
+
export type AgentPhaseMethodologyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
947
|
+
/**
|
|
948
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
949
|
+
*/
|
|
950
|
+
select?: Prisma.AgentPhaseMethodologySelect<ExtArgs> | null
|
|
951
|
+
/**
|
|
952
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
953
|
+
*/
|
|
954
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
955
|
+
/**
|
|
956
|
+
* Choose, which related nodes to fetch as well
|
|
957
|
+
*/
|
|
958
|
+
include?: Prisma.AgentPhaseMethodologyInclude<ExtArgs> | null
|
|
959
|
+
/**
|
|
960
|
+
* Filter, which AgentPhaseMethodology to fetch.
|
|
961
|
+
*/
|
|
962
|
+
where: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* AgentPhaseMethodology findUniqueOrThrow
|
|
967
|
+
*/
|
|
968
|
+
export type AgentPhaseMethodologyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
969
|
+
/**
|
|
970
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
971
|
+
*/
|
|
972
|
+
select?: Prisma.AgentPhaseMethodologySelect<ExtArgs> | null
|
|
973
|
+
/**
|
|
974
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
975
|
+
*/
|
|
976
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
977
|
+
/**
|
|
978
|
+
* Choose, which related nodes to fetch as well
|
|
979
|
+
*/
|
|
980
|
+
include?: Prisma.AgentPhaseMethodologyInclude<ExtArgs> | null
|
|
981
|
+
/**
|
|
982
|
+
* Filter, which AgentPhaseMethodology to fetch.
|
|
983
|
+
*/
|
|
984
|
+
where: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* AgentPhaseMethodology findFirst
|
|
989
|
+
*/
|
|
990
|
+
export type AgentPhaseMethodologyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
991
|
+
/**
|
|
992
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
993
|
+
*/
|
|
994
|
+
select?: Prisma.AgentPhaseMethodologySelect<ExtArgs> | null
|
|
995
|
+
/**
|
|
996
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
997
|
+
*/
|
|
998
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
999
|
+
/**
|
|
1000
|
+
* Choose, which related nodes to fetch as well
|
|
1001
|
+
*/
|
|
1002
|
+
include?: Prisma.AgentPhaseMethodologyInclude<ExtArgs> | null
|
|
1003
|
+
/**
|
|
1004
|
+
* Filter, which AgentPhaseMethodology to fetch.
|
|
1005
|
+
*/
|
|
1006
|
+
where?: Prisma.AgentPhaseMethodologyWhereInput
|
|
1007
|
+
/**
|
|
1008
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1009
|
+
*
|
|
1010
|
+
* Determine the order of AgentPhaseMethodologies to fetch.
|
|
1011
|
+
*/
|
|
1012
|
+
orderBy?: Prisma.AgentPhaseMethodologyOrderByWithRelationInput | Prisma.AgentPhaseMethodologyOrderByWithRelationInput[]
|
|
1013
|
+
/**
|
|
1014
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1015
|
+
*
|
|
1016
|
+
* Sets the position for searching for AgentPhaseMethodologies.
|
|
1017
|
+
*/
|
|
1018
|
+
cursor?: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
1019
|
+
/**
|
|
1020
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1021
|
+
*
|
|
1022
|
+
* Take `±n` AgentPhaseMethodologies from the position of the cursor.
|
|
1023
|
+
*/
|
|
1024
|
+
take?: number
|
|
1025
|
+
/**
|
|
1026
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1027
|
+
*
|
|
1028
|
+
* Skip the first `n` AgentPhaseMethodologies.
|
|
1029
|
+
*/
|
|
1030
|
+
skip?: number
|
|
1031
|
+
/**
|
|
1032
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1033
|
+
*
|
|
1034
|
+
* Filter by unique combinations of AgentPhaseMethodologies.
|
|
1035
|
+
*/
|
|
1036
|
+
distinct?: Prisma.AgentPhaseMethodologyScalarFieldEnum | Prisma.AgentPhaseMethodologyScalarFieldEnum[]
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* AgentPhaseMethodology findFirstOrThrow
|
|
1041
|
+
*/
|
|
1042
|
+
export type AgentPhaseMethodologyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1043
|
+
/**
|
|
1044
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
1045
|
+
*/
|
|
1046
|
+
select?: Prisma.AgentPhaseMethodologySelect<ExtArgs> | null
|
|
1047
|
+
/**
|
|
1048
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
1049
|
+
*/
|
|
1050
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
1051
|
+
/**
|
|
1052
|
+
* Choose, which related nodes to fetch as well
|
|
1053
|
+
*/
|
|
1054
|
+
include?: Prisma.AgentPhaseMethodologyInclude<ExtArgs> | null
|
|
1055
|
+
/**
|
|
1056
|
+
* Filter, which AgentPhaseMethodology to fetch.
|
|
1057
|
+
*/
|
|
1058
|
+
where?: Prisma.AgentPhaseMethodologyWhereInput
|
|
1059
|
+
/**
|
|
1060
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1061
|
+
*
|
|
1062
|
+
* Determine the order of AgentPhaseMethodologies to fetch.
|
|
1063
|
+
*/
|
|
1064
|
+
orderBy?: Prisma.AgentPhaseMethodologyOrderByWithRelationInput | Prisma.AgentPhaseMethodologyOrderByWithRelationInput[]
|
|
1065
|
+
/**
|
|
1066
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1067
|
+
*
|
|
1068
|
+
* Sets the position for searching for AgentPhaseMethodologies.
|
|
1069
|
+
*/
|
|
1070
|
+
cursor?: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
1071
|
+
/**
|
|
1072
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1073
|
+
*
|
|
1074
|
+
* Take `±n` AgentPhaseMethodologies from the position of the cursor.
|
|
1075
|
+
*/
|
|
1076
|
+
take?: number
|
|
1077
|
+
/**
|
|
1078
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1079
|
+
*
|
|
1080
|
+
* Skip the first `n` AgentPhaseMethodologies.
|
|
1081
|
+
*/
|
|
1082
|
+
skip?: number
|
|
1083
|
+
/**
|
|
1084
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1085
|
+
*
|
|
1086
|
+
* Filter by unique combinations of AgentPhaseMethodologies.
|
|
1087
|
+
*/
|
|
1088
|
+
distinct?: Prisma.AgentPhaseMethodologyScalarFieldEnum | Prisma.AgentPhaseMethodologyScalarFieldEnum[]
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* AgentPhaseMethodology findMany
|
|
1093
|
+
*/
|
|
1094
|
+
export type AgentPhaseMethodologyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1095
|
+
/**
|
|
1096
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
1097
|
+
*/
|
|
1098
|
+
select?: Prisma.AgentPhaseMethodologySelect<ExtArgs> | null
|
|
1099
|
+
/**
|
|
1100
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
1101
|
+
*/
|
|
1102
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
1103
|
+
/**
|
|
1104
|
+
* Choose, which related nodes to fetch as well
|
|
1105
|
+
*/
|
|
1106
|
+
include?: Prisma.AgentPhaseMethodologyInclude<ExtArgs> | null
|
|
1107
|
+
/**
|
|
1108
|
+
* Filter, which AgentPhaseMethodologies to fetch.
|
|
1109
|
+
*/
|
|
1110
|
+
where?: Prisma.AgentPhaseMethodologyWhereInput
|
|
1111
|
+
/**
|
|
1112
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1113
|
+
*
|
|
1114
|
+
* Determine the order of AgentPhaseMethodologies to fetch.
|
|
1115
|
+
*/
|
|
1116
|
+
orderBy?: Prisma.AgentPhaseMethodologyOrderByWithRelationInput | Prisma.AgentPhaseMethodologyOrderByWithRelationInput[]
|
|
1117
|
+
/**
|
|
1118
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1119
|
+
*
|
|
1120
|
+
* Sets the position for listing AgentPhaseMethodologies.
|
|
1121
|
+
*/
|
|
1122
|
+
cursor?: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
1123
|
+
/**
|
|
1124
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1125
|
+
*
|
|
1126
|
+
* Take `±n` AgentPhaseMethodologies from the position of the cursor.
|
|
1127
|
+
*/
|
|
1128
|
+
take?: number
|
|
1129
|
+
/**
|
|
1130
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1131
|
+
*
|
|
1132
|
+
* Skip the first `n` AgentPhaseMethodologies.
|
|
1133
|
+
*/
|
|
1134
|
+
skip?: number
|
|
1135
|
+
/**
|
|
1136
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1137
|
+
*
|
|
1138
|
+
* Filter by unique combinations of AgentPhaseMethodologies.
|
|
1139
|
+
*/
|
|
1140
|
+
distinct?: Prisma.AgentPhaseMethodologyScalarFieldEnum | Prisma.AgentPhaseMethodologyScalarFieldEnum[]
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* AgentPhaseMethodology create
|
|
1145
|
+
*/
|
|
1146
|
+
export type AgentPhaseMethodologyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1147
|
+
/**
|
|
1148
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
1149
|
+
*/
|
|
1150
|
+
select?: Prisma.AgentPhaseMethodologySelect<ExtArgs> | null
|
|
1151
|
+
/**
|
|
1152
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
1153
|
+
*/
|
|
1154
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
1155
|
+
/**
|
|
1156
|
+
* Choose, which related nodes to fetch as well
|
|
1157
|
+
*/
|
|
1158
|
+
include?: Prisma.AgentPhaseMethodologyInclude<ExtArgs> | null
|
|
1159
|
+
/**
|
|
1160
|
+
* The data needed to create a AgentPhaseMethodology.
|
|
1161
|
+
*/
|
|
1162
|
+
data: Prisma.XOR<Prisma.AgentPhaseMethodologyCreateInput, Prisma.AgentPhaseMethodologyUncheckedCreateInput>
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* AgentPhaseMethodology createMany
|
|
1167
|
+
*/
|
|
1168
|
+
export type AgentPhaseMethodologyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1169
|
+
/**
|
|
1170
|
+
* The data used to create many AgentPhaseMethodologies.
|
|
1171
|
+
*/
|
|
1172
|
+
data: Prisma.AgentPhaseMethodologyCreateManyInput | Prisma.AgentPhaseMethodologyCreateManyInput[]
|
|
1173
|
+
skipDuplicates?: boolean
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* AgentPhaseMethodology createManyAndReturn
|
|
1178
|
+
*/
|
|
1179
|
+
export type AgentPhaseMethodologyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1180
|
+
/**
|
|
1181
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
1182
|
+
*/
|
|
1183
|
+
select?: Prisma.AgentPhaseMethodologySelectCreateManyAndReturn<ExtArgs> | null
|
|
1184
|
+
/**
|
|
1185
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
1186
|
+
*/
|
|
1187
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
1188
|
+
/**
|
|
1189
|
+
* The data used to create many AgentPhaseMethodologies.
|
|
1190
|
+
*/
|
|
1191
|
+
data: Prisma.AgentPhaseMethodologyCreateManyInput | Prisma.AgentPhaseMethodologyCreateManyInput[]
|
|
1192
|
+
skipDuplicates?: boolean
|
|
1193
|
+
/**
|
|
1194
|
+
* Choose, which related nodes to fetch as well
|
|
1195
|
+
*/
|
|
1196
|
+
include?: Prisma.AgentPhaseMethodologyIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* AgentPhaseMethodology update
|
|
1201
|
+
*/
|
|
1202
|
+
export type AgentPhaseMethodologyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1203
|
+
/**
|
|
1204
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
1205
|
+
*/
|
|
1206
|
+
select?: Prisma.AgentPhaseMethodologySelect<ExtArgs> | null
|
|
1207
|
+
/**
|
|
1208
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
1209
|
+
*/
|
|
1210
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
1211
|
+
/**
|
|
1212
|
+
* Choose, which related nodes to fetch as well
|
|
1213
|
+
*/
|
|
1214
|
+
include?: Prisma.AgentPhaseMethodologyInclude<ExtArgs> | null
|
|
1215
|
+
/**
|
|
1216
|
+
* The data needed to update a AgentPhaseMethodology.
|
|
1217
|
+
*/
|
|
1218
|
+
data: Prisma.XOR<Prisma.AgentPhaseMethodologyUpdateInput, Prisma.AgentPhaseMethodologyUncheckedUpdateInput>
|
|
1219
|
+
/**
|
|
1220
|
+
* Choose, which AgentPhaseMethodology to update.
|
|
1221
|
+
*/
|
|
1222
|
+
where: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* AgentPhaseMethodology updateMany
|
|
1227
|
+
*/
|
|
1228
|
+
export type AgentPhaseMethodologyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1229
|
+
/**
|
|
1230
|
+
* The data used to update AgentPhaseMethodologies.
|
|
1231
|
+
*/
|
|
1232
|
+
data: Prisma.XOR<Prisma.AgentPhaseMethodologyUpdateManyMutationInput, Prisma.AgentPhaseMethodologyUncheckedUpdateManyInput>
|
|
1233
|
+
/**
|
|
1234
|
+
* Filter which AgentPhaseMethodologies to update
|
|
1235
|
+
*/
|
|
1236
|
+
where?: Prisma.AgentPhaseMethodologyWhereInput
|
|
1237
|
+
/**
|
|
1238
|
+
* Limit how many AgentPhaseMethodologies to update.
|
|
1239
|
+
*/
|
|
1240
|
+
limit?: number
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* AgentPhaseMethodology updateManyAndReturn
|
|
1245
|
+
*/
|
|
1246
|
+
export type AgentPhaseMethodologyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1247
|
+
/**
|
|
1248
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
1249
|
+
*/
|
|
1250
|
+
select?: Prisma.AgentPhaseMethodologySelectUpdateManyAndReturn<ExtArgs> | null
|
|
1251
|
+
/**
|
|
1252
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
1253
|
+
*/
|
|
1254
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
1255
|
+
/**
|
|
1256
|
+
* The data used to update AgentPhaseMethodologies.
|
|
1257
|
+
*/
|
|
1258
|
+
data: Prisma.XOR<Prisma.AgentPhaseMethodologyUpdateManyMutationInput, Prisma.AgentPhaseMethodologyUncheckedUpdateManyInput>
|
|
1259
|
+
/**
|
|
1260
|
+
* Filter which AgentPhaseMethodologies to update
|
|
1261
|
+
*/
|
|
1262
|
+
where?: Prisma.AgentPhaseMethodologyWhereInput
|
|
1263
|
+
/**
|
|
1264
|
+
* Limit how many AgentPhaseMethodologies to update.
|
|
1265
|
+
*/
|
|
1266
|
+
limit?: number
|
|
1267
|
+
/**
|
|
1268
|
+
* Choose, which related nodes to fetch as well
|
|
1269
|
+
*/
|
|
1270
|
+
include?: Prisma.AgentPhaseMethodologyIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* AgentPhaseMethodology upsert
|
|
1275
|
+
*/
|
|
1276
|
+
export type AgentPhaseMethodologyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1277
|
+
/**
|
|
1278
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
1279
|
+
*/
|
|
1280
|
+
select?: Prisma.AgentPhaseMethodologySelect<ExtArgs> | null
|
|
1281
|
+
/**
|
|
1282
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
1283
|
+
*/
|
|
1284
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
1285
|
+
/**
|
|
1286
|
+
* Choose, which related nodes to fetch as well
|
|
1287
|
+
*/
|
|
1288
|
+
include?: Prisma.AgentPhaseMethodologyInclude<ExtArgs> | null
|
|
1289
|
+
/**
|
|
1290
|
+
* The filter to search for the AgentPhaseMethodology to update in case it exists.
|
|
1291
|
+
*/
|
|
1292
|
+
where: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
1293
|
+
/**
|
|
1294
|
+
* In case the AgentPhaseMethodology found by the `where` argument doesn't exist, create a new AgentPhaseMethodology with this data.
|
|
1295
|
+
*/
|
|
1296
|
+
create: Prisma.XOR<Prisma.AgentPhaseMethodologyCreateInput, Prisma.AgentPhaseMethodologyUncheckedCreateInput>
|
|
1297
|
+
/**
|
|
1298
|
+
* In case the AgentPhaseMethodology was found with the provided `where` argument, update it with this data.
|
|
1299
|
+
*/
|
|
1300
|
+
update: Prisma.XOR<Prisma.AgentPhaseMethodologyUpdateInput, Prisma.AgentPhaseMethodologyUncheckedUpdateInput>
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* AgentPhaseMethodology delete
|
|
1305
|
+
*/
|
|
1306
|
+
export type AgentPhaseMethodologyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1307
|
+
/**
|
|
1308
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
1309
|
+
*/
|
|
1310
|
+
select?: Prisma.AgentPhaseMethodologySelect<ExtArgs> | null
|
|
1311
|
+
/**
|
|
1312
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
1313
|
+
*/
|
|
1314
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
1315
|
+
/**
|
|
1316
|
+
* Choose, which related nodes to fetch as well
|
|
1317
|
+
*/
|
|
1318
|
+
include?: Prisma.AgentPhaseMethodologyInclude<ExtArgs> | null
|
|
1319
|
+
/**
|
|
1320
|
+
* Filter which AgentPhaseMethodology to delete.
|
|
1321
|
+
*/
|
|
1322
|
+
where: Prisma.AgentPhaseMethodologyWhereUniqueInput
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* AgentPhaseMethodology deleteMany
|
|
1327
|
+
*/
|
|
1328
|
+
export type AgentPhaseMethodologyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1329
|
+
/**
|
|
1330
|
+
* Filter which AgentPhaseMethodologies to delete
|
|
1331
|
+
*/
|
|
1332
|
+
where?: Prisma.AgentPhaseMethodologyWhereInput
|
|
1333
|
+
/**
|
|
1334
|
+
* Limit how many AgentPhaseMethodologies to delete.
|
|
1335
|
+
*/
|
|
1336
|
+
limit?: number
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* AgentPhaseMethodology without action
|
|
1341
|
+
*/
|
|
1342
|
+
export type AgentPhaseMethodologyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1343
|
+
/**
|
|
1344
|
+
* Select specific fields to fetch from the AgentPhaseMethodology
|
|
1345
|
+
*/
|
|
1346
|
+
select?: Prisma.AgentPhaseMethodologySelect<ExtArgs> | null
|
|
1347
|
+
/**
|
|
1348
|
+
* Omit specific fields from the AgentPhaseMethodology
|
|
1349
|
+
*/
|
|
1350
|
+
omit?: Prisma.AgentPhaseMethodologyOmit<ExtArgs> | null
|
|
1351
|
+
/**
|
|
1352
|
+
* Choose, which related nodes to fetch as well
|
|
1353
|
+
*/
|
|
1354
|
+
include?: Prisma.AgentPhaseMethodologyInclude<ExtArgs> | null
|
|
1355
|
+
}
|