@wardby/cli 0.2.0 → 0.3.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/.env.example +34 -4
- package/README.md +183 -71
- package/dist/claude-coding-worker/driver.d.ts +7 -1
- package/dist/claude-coding-worker/driver.js +31 -2
- package/dist/claude-coding-worker/main.js +5 -2
- package/dist/claude-coding-worker/tool-socket.d.ts +9 -0
- package/dist/claude-coding-worker/tool-socket.js +26 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +13 -4
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +219 -29
- package/dist/coding/collect-exclude.d.ts +25 -0
- package/dist/coding/collect-exclude.js +76 -0
- package/dist/coding/profile.d.ts +67 -22
- package/dist/coding/profile.js +58 -25
- package/dist/coding/protected-path-wording.d.ts +24 -0
- package/dist/coding/protected-path-wording.js +55 -0
- package/dist/coding/protected-paths.d.ts +31 -0
- package/dist/coding/protected-paths.js +48 -0
- package/dist/coding/protocol.d.ts +99 -3
- package/dist/coding/protocol.js +155 -4
- package/dist/coding/registry/adapters.d.ts +2 -0
- package/dist/coding/registry/adapters.js +9 -0
- package/dist/coding/registry/allowlist.d.ts +9 -0
- package/dist/coding/registry/allowlist.js +28 -0
- package/dist/coding/registry/json-scan.d.ts +55 -0
- package/dist/coding/registry/json-scan.js +191 -0
- package/dist/coding/registry/lockfiles.d.ts +6 -0
- package/dist/coding/registry/lockfiles.js +89 -0
- package/dist/coding/registry/npm-lockfile.d.ts +9 -0
- package/dist/coding/registry/npm-lockfile.js +73 -0
- package/dist/coding/registry/npm-plan.d.ts +29 -0
- package/dist/coding/registry/npm-plan.js +289 -0
- package/dist/coding/registry/npm.d.ts +7 -0
- package/dist/coding/registry/npm.js +252 -0
- package/dist/coding/registry/pypi.d.ts +4 -0
- package/dist/coding/registry/pypi.js +210 -0
- package/dist/coding/registry/report.d.ts +37 -0
- package/dist/coding/registry/report.js +31 -0
- package/dist/coding/registry/token.d.ts +4 -0
- package/dist/coding/registry/token.js +7 -0
- package/dist/coding/registry/types.d.ts +286 -0
- package/dist/coding/registry/types.js +19 -0
- package/dist/coding/registry/worker-config.d.ts +14 -0
- package/dist/coding/registry/worker-config.js +31 -0
- package/dist/coding/services/builtins.d.ts +22 -0
- package/dist/coding/services/builtins.js +85 -0
- package/dist/coding/services/catalog.d.ts +443 -0
- package/dist/coding/services/catalog.js +159 -0
- package/dist/coding/services/declaration.d.ts +11 -0
- package/dist/coding/services/declaration.js +114 -0
- package/dist/coding/services/note.d.ts +8 -0
- package/dist/coding/services/note.js +15 -0
- package/dist/coding/services/resolve.d.ts +25 -0
- package/dist/coding/services/resolve.js +50 -0
- package/dist/coding/services/wording.d.ts +25 -0
- package/dist/coding/services/wording.js +70 -0
- package/dist/coding-proxy/main.js +24 -4
- package/dist/coding-worker/artifact.d.ts +18 -0
- package/dist/coding-worker/artifact.js +48 -6
- package/dist/coding-worker/debug-trace.d.ts +37 -0
- package/dist/coding-worker/debug-trace.js +117 -0
- package/dist/coding-worker/driver.d.ts +14 -1
- package/dist/coding-worker/driver.js +106 -14
- package/dist/coding-worker/errors.d.ts +7 -0
- package/dist/coding-worker/errors.js +26 -0
- package/dist/coding-worker/main.js +13 -4
- package/dist/coding-worker/sdk.d.ts +2 -2
- package/dist/coding-worker/sdk.js +7 -2
- package/dist/coding-worker/types.d.ts +3 -0
- package/dist/config/providers.d.ts +41 -0
- package/dist/config/providers.js +66 -0
- package/dist/core/budget-groups.d.ts +109 -6
- package/dist/core/budget-groups.js +125 -19
- package/dist/core/budget-wording.d.ts +22 -0
- package/dist/core/budget-wording.js +55 -0
- package/dist/core/coding-queue.d.ts +1 -1
- package/dist/core/datastores.d.ts +1 -1
- package/dist/core/datastores.js +18 -2
- package/dist/core/db.d.ts +40 -2
- package/dist/core/db.js +75 -2
- package/dist/core/dispatch.d.ts +49 -7
- package/dist/core/dispatch.js +290 -45
- package/dist/core/engine-native.js +27 -10
- package/dist/core/grants.d.ts +86 -0
- package/dist/core/grants.js +126 -0
- package/dist/core/host-events.d.ts +49 -0
- package/dist/core/host-events.js +257 -0
- package/dist/core/host-identity-links.d.ts +54 -0
- package/dist/core/host-identity-links.js +189 -0
- package/dist/core/host-status.d.ts +61 -0
- package/dist/core/host-status.js +211 -0
- package/dist/core/http-runtime.js +3 -4
- package/dist/core/in-flight-runs.d.ts +8 -0
- package/dist/core/in-flight-runs.js +56 -0
- package/dist/core/lease.d.ts +1 -1
- package/dist/core/private-directory.d.ts +20 -0
- package/dist/core/private-directory.js +36 -0
- package/dist/core/provider-wording.d.ts +12 -0
- package/dist/core/provider-wording.js +44 -0
- package/dist/core/reconciler.d.ts +39 -3
- package/dist/core/reconciler.js +86 -2
- package/dist/core/repo-access.d.ts +99 -0
- package/dist/core/repo-access.js +136 -0
- package/dist/core/review-host-checks.d.ts +11 -0
- package/dist/core/review-host-checks.js +41 -0
- package/dist/core/review-host-tools.d.ts +47 -0
- package/dist/core/review-host-tools.js +347 -0
- package/dist/core/run-heartbeat.d.ts +27 -0
- package/dist/core/run-heartbeat.js +54 -0
- package/dist/core/runner.d.ts +31 -9
- package/dist/core/runner.js +237 -40
- package/dist/core/scheduler.d.ts +1 -1
- package/dist/core/secrets.d.ts +12 -3
- package/dist/core/secrets.js +25 -6
- package/dist/core/subagent-memory-tools.d.ts +2 -2
- package/dist/core/subagent-memory-tools.js +16 -3
- package/dist/core/tool-admin.d.ts +81 -0
- package/dist/core/tool-admin.js +129 -0
- package/dist/core/tool-names.d.ts +42 -0
- package/dist/core/tool-names.js +64 -0
- package/dist/core/untrusted-content.d.ts +32 -0
- package/dist/core/untrusted-content.js +72 -0
- package/dist/core/webhooks.d.ts +9 -2
- package/dist/core/webhooks.js +23 -2
- package/dist/generated/prisma/browser.d.ts +328 -0
- package/dist/generated/prisma/browser.js +17 -0
- package/dist/generated/prisma/client.d.ts +347 -0
- package/dist/generated/prisma/client.js +34 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +839 -0
- package/dist/generated/prisma/commonInputTypes.js +10 -0
- package/dist/generated/prisma/enums.d.ts +59 -0
- package/dist/generated/prisma/enums.js +59 -0
- package/dist/generated/prisma/internal/class.d.ts +605 -0
- package/dist/generated/prisma/internal/class.js +49 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +4494 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +628 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +635 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +599 -0
- package/dist/generated/prisma/models/Agent.d.ts +3560 -0
- package/dist/generated/prisma/models/Agent.js +1 -0
- package/dist/generated/prisma/models/AgentDatastore.d.ts +1210 -0
- package/dist/generated/prisma/models/AgentDatastore.js +1 -0
- package/dist/generated/prisma/models/AgentMemory.d.ts +986 -0
- package/dist/generated/prisma/models/AgentMemory.js +1 -0
- package/dist/generated/prisma/models/AgentRepository.d.ts +1425 -0
- package/dist/generated/prisma/models/AgentRepository.js +1 -0
- package/dist/generated/prisma/models/AgentSecret.d.ts +1212 -0
- package/dist/generated/prisma/models/AgentSecret.js +1 -0
- package/dist/generated/prisma/models/AgentSubAgent.d.ts +1217 -0
- package/dist/generated/prisma/models/AgentSubAgent.js +1 -0
- package/dist/generated/prisma/models/AgentTool.d.ts +1403 -0
- package/dist/generated/prisma/models/AgentTool.js +1 -0
- package/dist/generated/prisma/models/AuthFormChallenge.d.ts +1298 -0
- package/dist/generated/prisma/models/AuthFormChallenge.js +1 -0
- package/dist/generated/prisma/models/AuthLoginKey.d.ts +1245 -0
- package/dist/generated/prisma/models/AuthLoginKey.js +1 -0
- package/dist/generated/prisma/models/AuthRateLimit.d.ts +979 -0
- package/dist/generated/prisma/models/AuthRateLimit.js +1 -0
- package/dist/generated/prisma/models/AuthSession.d.ts +1376 -0
- package/dist/generated/prisma/models/AuthSession.js +1 -0
- package/dist/generated/prisma/models/AuthUser.d.ts +1700 -0
- package/dist/generated/prisma/models/AuthUser.js +1 -0
- package/dist/generated/prisma/models/BudgetGroup.d.ts +1548 -0
- package/dist/generated/prisma/models/BudgetGroup.js +1 -0
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +1681 -0
- package/dist/generated/prisma/models/CodingAgentProfile.js +1 -0
- package/dist/generated/prisma/models/CodingProxyRequest.d.ts +1749 -0
- package/dist/generated/prisma/models/CodingProxyRequest.js +1 -0
- package/dist/generated/prisma/models/CodingProxySession.d.ts +1626 -0
- package/dist/generated/prisma/models/CodingProxySession.js +1 -0
- package/dist/generated/prisma/models/CodingRun.d.ts +3583 -0
- package/dist/generated/prisma/models/CodingRun.js +1 -0
- package/dist/generated/prisma/models/CodingService.d.ts +1348 -0
- package/dist/generated/prisma/models/CodingService.js +1 -0
- package/dist/generated/prisma/models/Datastore.d.ts +1434 -0
- package/dist/generated/prisma/models/Datastore.js +1 -0
- package/dist/generated/prisma/models/DatastoreEntry.d.ts +1314 -0
- package/dist/generated/prisma/models/DatastoreEntry.js +1 -0
- package/dist/generated/prisma/models/HostEventDelivery.d.ts +946 -0
- package/dist/generated/prisma/models/HostEventDelivery.js +1 -0
- package/dist/generated/prisma/models/HostIdentity.d.ts +1232 -0
- package/dist/generated/prisma/models/HostIdentity.js +1 -0
- package/dist/generated/prisma/models/HostIdentityLinkRequest.d.ts +1473 -0
- package/dist/generated/prisma/models/HostIdentityLinkRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.d.ts +1526 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.d.ts +1350 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthClient.d.ts +1289 -0
- package/dist/generated/prisma/models/OAuthClient.js +1 -0
- package/dist/generated/prisma/models/OAuthFamily.d.ts +1540 -0
- package/dist/generated/prisma/models/OAuthFamily.js +1 -0
- package/dist/generated/prisma/models/OAuthGrant.d.ts +1280 -0
- package/dist/generated/prisma/models/OAuthGrant.js +1 -0
- package/dist/generated/prisma/models/Principal.d.ts +2245 -0
- package/dist/generated/prisma/models/Principal.js +1 -0
- package/dist/generated/prisma/models/RegistryAllowance.d.ts +1148 -0
- package/dist/generated/prisma/models/RegistryAllowance.js +1 -0
- package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +1219 -0
- package/dist/generated/prisma/models/RegistryApprovedVersion.js +1 -0
- package/dist/generated/prisma/models/RegistryFetch.d.ts +1428 -0
- package/dist/generated/prisma/models/RegistryFetch.js +1 -0
- package/dist/generated/prisma/models/RegistryPlanRefusal.d.ts +1294 -0
- package/dist/generated/prisma/models/RegistryPlanRefusal.js +1 -0
- package/dist/generated/prisma/models/RegistryVersionFact.d.ts +1085 -0
- package/dist/generated/prisma/models/RegistryVersionFact.js +1 -0
- package/dist/generated/prisma/models/ResourceGrant.d.ts +1437 -0
- package/dist/generated/prisma/models/ResourceGrant.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +2669 -0
- package/dist/generated/prisma/models/Run.js +1 -0
- package/dist/generated/prisma/models/RunHostCheck.d.ts +1239 -0
- package/dist/generated/prisma/models/RunHostCheck.js +1 -0
- package/dist/generated/prisma/models/RunHostStatus.d.ts +1315 -0
- package/dist/generated/prisma/models/RunHostStatus.js +1 -0
- package/dist/generated/prisma/models/SchedulerLease.d.ts +970 -0
- package/dist/generated/prisma/models/SchedulerLease.js +1 -0
- package/dist/generated/prisma/models/Secret.d.ts +1399 -0
- package/dist/generated/prisma/models/Secret.js +1 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.d.ts +973 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.js +1 -0
- package/dist/generated/prisma/models/Task.d.ts +1176 -0
- package/dist/generated/prisma/models/Task.js +1 -0
- package/dist/generated/prisma/models/Tool.d.ts +1490 -0
- package/dist/generated/prisma/models/Tool.js +1 -0
- package/dist/generated/prisma/models/Webhook.d.ts +1386 -0
- package/dist/generated/prisma/models/Webhook.js +1 -0
- package/dist/generated/prisma/models.d.ts +45 -0
- package/dist/generated/prisma/models.js +1 -0
- package/dist/help/build.d.ts +1 -0
- package/dist/help/build.js +9 -0
- package/dist/help/catalog.d.ts +24 -0
- package/dist/help/catalog.js +160 -0
- package/dist/help/cli.d.ts +2 -0
- package/dist/help/cli.js +65 -0
- package/dist/help/runtime.d.ts +3 -0
- package/dist/help/runtime.js +44 -0
- package/dist/help/search.d.ts +9 -0
- package/dist/help/search.js +104 -0
- package/dist/help-index.json +660 -0
- package/dist/import/cli-args.js +3 -2
- package/dist/import/create.d.ts +6 -1
- package/dist/import/create.js +68 -14
- package/dist/import/index.d.ts +1 -1
- package/dist/import/index.js +19 -9
- package/dist/import/neutral-schema.d.ts +11 -11
- package/dist/mcp/auth/access.d.ts +70 -0
- package/dist/mcp/auth/access.js +58 -0
- package/dist/mcp/auth/grants-cli.d.ts +149 -0
- package/dist/mcp/auth/grants-cli.js +518 -0
- package/dist/mcp/auth/host-account-cli.d.ts +2 -0
- package/dist/mcp/auth/host-account-cli.js +47 -0
- package/dist/mcp/auth/ownership.d.ts +37 -63
- package/dist/mcp/auth/ownership.js +19 -14
- package/dist/mcp/auth/principal.d.ts +1 -1
- package/dist/mcp/auth/repo-authorization.d.ts +22 -0
- package/dist/mcp/auth/repo-authorization.js +51 -0
- package/dist/mcp/auth/resource-server.d.ts +32 -3
- package/dist/mcp/auth/resource-server.js +84 -3
- package/dist/mcp/auth/self-hosted/browser.js +22 -8
- package/dist/mcp/auth/self-hosted/cli.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/cli.js +47 -13
- package/dist/mcp/auth/self-hosted/credentials.d.ts +21 -3
- package/dist/mcp/auth/self-hosted/credentials.js +62 -4
- package/dist/mcp/auth/self-hosted/rate-limit.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/session.d.ts +3 -2
- package/dist/mcp/context.d.ts +28 -2
- package/dist/mcp/errors.d.ts +25 -6
- package/dist/mcp/errors.js +98 -0
- package/dist/mcp/host-events/github-ingress.d.ts +36 -0
- package/dist/mcp/host-events/github-ingress.js +92 -0
- package/dist/mcp/host-events/github-user-callback.d.ts +18 -0
- package/dist/mcp/host-events/github-user-callback.js +50 -0
- package/dist/mcp/index.d.ts +8 -1
- package/dist/mcp/index.js +106 -16
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/server.js +27 -9
- package/dist/mcp/shared/page-style.d.ts +16 -0
- package/dist/mcp/shared/page-style.js +129 -0
- package/dist/mcp/tasks/manager.d.ts +1 -1
- package/dist/mcp/tools/agents.js +447 -49
- package/dist/mcp/tools/budget-groups.js +3 -3
- package/dist/mcp/tools/datastore.js +23 -16
- package/dist/mcp/tools/grants.d.ts +2 -0
- package/dist/mcp/tools/grants.js +239 -0
- package/dist/mcp/tools/help.d.ts +5 -0
- package/dist/mcp/tools/help.js +67 -0
- package/dist/mcp/tools/host-accounts.d.ts +2 -0
- package/dist/mcp/tools/host-accounts.js +114 -0
- package/dist/mcp/tools/memory.d.ts +7 -1
- package/dist/mcp/tools/memory.js +5 -5
- package/dist/mcp/tools/repositories.d.ts +2 -0
- package/dist/mcp/tools/repositories.js +181 -0
- package/dist/mcp/tools/runs.d.ts +6 -0
- package/dist/mcp/tools/runs.js +60 -6
- package/dist/mcp/tools/scheduling.js +4 -7
- package/dist/mcp/tools/secret-elicitation-form.d.ts +1 -1
- package/dist/mcp/tools/secret-elicitation-form.js +10 -28
- package/dist/mcp/tools/secret-elicitation.d.ts +1 -1
- package/dist/mcp/tools/secrets.js +18 -6
- package/dist/mcp/tools/services.d.ts +2 -0
- package/dist/mcp/tools/services.js +222 -0
- package/dist/mcp/tools/subagents.js +53 -17
- package/dist/mcp/tools/tools.d.ts +41 -0
- package/dist/mcp/tools/tools.js +202 -41
- package/dist/mcp/tools/trigger.js +36 -6
- package/dist/mcp/tools/webhooks.js +15 -4
- package/dist/mcp/transport/streamable-http.d.ts +11 -1
- package/dist/mcp/transport/streamable-http.js +32 -2
- package/dist/mcp/unattended-schedules.d.ts +1 -1
- package/dist/mcp/webhooks/ingress.d.ts +1 -1
- package/dist/providers/auth/delegating.d.ts +19 -0
- package/dist/providers/auth/delegating.js +71 -0
- package/dist/providers/auth/index.d.ts +3 -1
- package/dist/providers/auth/index.js +11 -0
- package/dist/providers/auth/self-hosted.d.ts +4 -3
- package/dist/providers/auth/self-hosted.js +16 -4
- package/dist/providers/auth/types.d.ts +6 -0
- package/dist/providers/coding-proxy/memory-ledger.d.ts +3 -0
- package/dist/providers/coding-proxy/memory-ledger.js +21 -2
- package/dist/providers/coding-proxy/metering.d.ts +4 -0
- package/dist/providers/coding-proxy/metering.js +28 -2
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +18 -1
- package/dist/providers/coding-proxy/prisma-ledger.js +50 -5
- package/dist/providers/coding-proxy/proxy.d.ts +13 -0
- package/dist/providers/coding-proxy/proxy.js +479 -18
- package/dist/providers/coding-proxy/registry/audit.d.ts +131 -0
- package/dist/providers/coding-proxy/registry/audit.js +380 -0
- package/dist/providers/coding-proxy/registry/bounded-fetch.d.ts +16 -0
- package/dist/providers/coding-proxy/registry/bounded-fetch.js +77 -0
- package/dist/providers/coding-proxy/registry/plan.d.ts +58 -0
- package/dist/providers/coding-proxy/registry/plan.js +304 -0
- package/dist/providers/coding-proxy/registry/prisma-store.d.ts +34 -0
- package/dist/providers/coding-proxy/registry/prisma-store.js +151 -0
- package/dist/providers/coding-proxy/registry/service.d.ts +213 -0
- package/dist/providers/coding-proxy/registry/service.js +1137 -0
- package/dist/providers/coding-proxy/registry/store.d.ts +127 -0
- package/dist/providers/coding-proxy/registry/store.js +70 -0
- package/dist/providers/coding-proxy/runtime.d.ts +18 -1
- package/dist/providers/coding-proxy/runtime.js +63 -0
- package/dist/providers/coding-proxy/secure-fetch.js +0 -1
- package/dist/providers/coding-proxy/server.d.ts +11 -0
- package/dist/providers/coding-proxy/server.js +163 -0
- package/dist/providers/coding-proxy/types.d.ts +15 -0
- package/dist/providers/datastore/postgres.d.ts +1 -1
- package/dist/providers/engine/types.d.ts +10 -0
- package/dist/providers/executor/build.d.ts +3 -3
- package/dist/providers/executor/composition.d.ts +4 -1
- package/dist/providers/executor/composition.js +19 -0
- package/dist/providers/executor/container.d.ts +106 -4
- package/dist/providers/executor/container.js +305 -22
- package/dist/providers/executor/dbos.d.ts +3 -4
- package/dist/providers/executor/in-process.d.ts +2 -3
- package/dist/providers/executor/routing.d.ts +7 -0
- package/dist/providers/executor/routing.js +13 -0
- package/dist/providers/executor/types.d.ts +22 -0
- package/dist/providers/jobs/claude-tool-setup.d.ts +23 -0
- package/dist/providers/jobs/claude-tool-setup.js +50 -0
- package/dist/providers/jobs/collect-prune.d.ts +7 -0
- package/dist/providers/jobs/collect-prune.js +27 -0
- package/dist/providers/jobs/docker-isolation.d.ts +48 -3
- package/dist/providers/jobs/docker-isolation.js +213 -22
- package/dist/providers/jobs/docker-services.d.ts +35 -0
- package/dist/providers/jobs/docker-services.js +191 -0
- package/dist/providers/jobs/docker.d.ts +60 -2
- package/dist/providers/jobs/docker.js +313 -50
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +1 -0
- package/dist/providers/jobs/fake-kubernetes-api.js +12 -3
- package/dist/providers/jobs/kubernetes-isolation.d.ts +17 -2
- package/dist/providers/jobs/kubernetes-isolation.js +238 -57
- package/dist/providers/jobs/kubernetes-platform.d.ts +10 -4
- package/dist/providers/jobs/kubernetes-platform.js +11 -5
- package/dist/providers/jobs/kubernetes-preflight.js +3 -0
- package/dist/providers/jobs/kubernetes.d.ts +21 -2
- package/dist/providers/jobs/kubernetes.js +117 -31
- package/dist/providers/jobs/types.d.ts +20 -0
- package/dist/providers/llm/anthropic.js +6 -2
- package/dist/providers/llm/bedrock.js +2 -1
- package/dist/providers/llm/claude-messages.d.ts +5 -1
- package/dist/providers/llm/claude-messages.js +1 -0
- package/dist/providers/llm/claude-provider.d.ts +3 -1
- package/dist/providers/llm/claude-provider.js +5 -1
- package/dist/providers/llm/index.d.ts +1 -1
- package/dist/providers/llm/index.js +1 -1
- package/dist/providers/llm/pricing-anthropic.d.ts +10 -0
- package/dist/providers/llm/pricing-anthropic.js +32 -14
- package/dist/providers/llm/pricing-bedrock-claude.d.ts +8 -0
- package/dist/providers/llm/pricing-bedrock-claude.js +9 -0
- package/dist/providers/llm/routing.d.ts +10 -1
- package/dist/providers/llm/routing.js +18 -0
- package/dist/providers/llm/types.d.ts +12 -0
- package/dist/providers/llm/types.js +8 -1
- package/dist/providers/memory/postgres.d.ts +1 -1
- package/dist/providers/review-host/diff-lines.d.ts +16 -0
- package/dist/providers/review-host/diff-lines.js +59 -0
- package/dist/providers/review-host/github-events.d.ts +6 -0
- package/dist/providers/review-host/github-events.js +180 -0
- package/dist/providers/review-host/github-user-auth.d.ts +38 -0
- package/dist/providers/review-host/github-user-auth.js +128 -0
- package/dist/providers/review-host/github.d.ts +57 -0
- package/dist/providers/review-host/github.js +567 -0
- package/dist/providers/review-host/index.d.ts +12 -0
- package/dist/providers/review-host/index.js +30 -0
- package/dist/providers/review-host/review-format.d.ts +19 -0
- package/dist/providers/review-host/review-format.js +59 -0
- package/dist/providers/review-host/types.d.ts +284 -0
- package/dist/providers/review-host/types.js +24 -0
- package/dist/providers/vcs/git.d.ts +16 -6
- package/dist/providers/vcs/git.js +79 -14
- package/dist/providers/vcs/github.d.ts +74 -3
- package/dist/providers/vcs/github.js +195 -15
- package/dist/providers/vcs/types.d.ts +42 -4
- package/dist/quickstart/index.js +34 -32
- package/dist/quickstart/migrate.d.ts +23 -0
- package/dist/quickstart/migrate.js +125 -0
- package/dist/sandbox/fetch-policy.d.ts +20 -2
- package/dist/sandbox/fetch-policy.js +64 -3
- package/dist/sandbox/host-functions.d.ts +9 -1
- package/dist/sandbox/host-functions.js +12 -5
- package/dist/serve.js +1 -1
- package/dist/wardby-bin.js +6 -0
- package/docs/README.md +30 -0
- package/docs/architecture-runtime.md +90 -0
- package/docs/assets/brand/wardby-icon-512.png +0 -0
- package/docs/assets/brand/wardby-icon.svg +16 -0
- package/docs/assets/brand/wardby-mascot-profile-512.png +0 -0
- package/docs/assets/brand/wardby-mascot.png +0 -0
- package/docs/assets/brand/wardby-mascot.svg +5 -0
- package/docs/assets/wardby-workflow.svg +106 -0
- package/docs/code-review-agents.md +481 -0
- package/docs/coding-agent-setup.md +172 -0
- package/docs/coding-packages.md +455 -0
- package/docs/coding-services.md +300 -0
- package/docs/coding-worker-byo-images.md +98 -0
- package/docs/coding-worker-isolation.md +1061 -0
- package/docs/getting-started-gke.md +615 -0
- package/docs/getting-started-identity-provider.md +308 -0
- package/docs/getting-started.md +133 -0
- package/docs/observability.md +53 -0
- package/docs/release-verification.md +66 -0
- package/docs/security-deployment.md +657 -0
- package/help/code-review-agents.md +31 -0
- package/help/coding-packages.md +31 -0
- package/help/coding-services.md +71 -0
- package/help/creating-agents.md +68 -0
- package/help/deploy-gke.md +39 -0
- package/help/deployment-targets.md +39 -0
- package/help/errors/budget-group-exhausted.md +25 -0
- package/help/errors/docker-isolation-unsupported.md +26 -0
- package/help/errors/protected-path.md +45 -0
- package/help/errors/repo-access.md +27 -0
- package/help/errors/service-declaration-invalid.md +27 -0
- package/help/errors/service-declaration-unavailable.md +25 -0
- package/help/errors/service-launcher-unsupported.md +30 -0
- package/help/errors/service-not-allowed.md +27 -0
- package/help/errors/service-unknown.md +23 -0
- package/help/errors/service-unready.md +49 -0
- package/help/getting-started.md +31 -0
- package/help/github.md +30 -0
- package/help/identity-and-access.md +39 -0
- package/help/mcp.md +30 -0
- package/help/native-capabilities.md +30 -0
- package/help/observability.md +41 -0
- package/help/operating-agents.md +30 -0
- package/help/security.md +27 -0
- package/help/troubleshooting/budgets.md +26 -0
- package/help/troubleshooting/coding-workers.md +47 -0
- package/help/troubleshooting/repository-access.md +27 -0
- package/package.json +30 -11
- package/prisma/migrate.config.mjs +20 -0
- package/prisma/migrations/20260925010000_coding_collect_exclude/migration.sql +8 -0
- package/prisma/migrations/20260925015000_allowed_egress_default/migration.sql +8 -0
- package/prisma/migrations/20260925020000_coding_package_registry/migration.sql +55 -0
- package/prisma/migrations/20260925030000_tool_name_per_owner/migration.sql +11 -0
- package/prisma/migrations/20260926010000_run_trigger_host_event/migration.sql +7 -0
- package/prisma/migrations/20260926020000_code_review_hosts/migration.sql +53 -0
- package/prisma/migrations/20260926030000_auth_user_roles/migration.sql +9 -0
- package/prisma/migrations/20260926040000_agent_effort/migration.sql +6 -0
- package/prisma/migrations/20260926050000_registry_lockfile_plan/migration.sql +32 -0
- package/prisma/migrations/20260926050000_repo_access_authorization/migration.sql +82 -0
- package/prisma/migrations/20260926060000_registry_plan_refusal/migration.sql +19 -0
- package/prisma/migrations/20260926100000_registry_plan_refusal_published_at/migration.sql +5 -0
- package/prisma/migrations/20260926190000_run_host_status/migration.sql +18 -0
- package/prisma/migrations/20260926210000_run_host_status_at_dispatch/migration.sql +5 -0
- package/prisma/migrations/20260927010000_resource_grants/migration.sql +72 -0
- package/prisma/migrations/20260927020000_proxy_session_budget_exhausted/migration.sql +3 -0
- package/prisma/migrations/20260927030000_coding_debug_trace/migration.sql +4 -0
- package/prisma/migrations/20260927040000_proxy_session_upstream_failure/migration.sql +3 -0
- package/prisma/migrations/20260927050000_coding_run_services/migration.sql +74 -0
- package/prisma/migrations/20260928000000_coding_run_tool_image/migration.sql +5 -0
- package/prisma/schema.prisma +417 -23
|
@@ -0,0 +1,1212 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model AgentSecret
|
|
5
|
+
* Phase 4: attaches a secret to an agent, addressed at sandbox point-of-use
|
|
6
|
+
* by `boundName` (secrets.get(boundName)). `boundName` defaults to the
|
|
7
|
+
* secret's canonical name; it differs only when the agent binds the secret
|
|
8
|
+
* under an alias, letting two agents resolve the same logical name to
|
|
9
|
+
* different underlying secrets.
|
|
10
|
+
*/
|
|
11
|
+
export type AgentSecretModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentSecretPayload>;
|
|
12
|
+
export type AggregateAgentSecret = {
|
|
13
|
+
_count: AgentSecretCountAggregateOutputType | null;
|
|
14
|
+
_min: AgentSecretMinAggregateOutputType | null;
|
|
15
|
+
_max: AgentSecretMaxAggregateOutputType | null;
|
|
16
|
+
};
|
|
17
|
+
export type AgentSecretMinAggregateOutputType = {
|
|
18
|
+
agentId: string | null;
|
|
19
|
+
secretId: string | null;
|
|
20
|
+
boundName: string | null;
|
|
21
|
+
};
|
|
22
|
+
export type AgentSecretMaxAggregateOutputType = {
|
|
23
|
+
agentId: string | null;
|
|
24
|
+
secretId: string | null;
|
|
25
|
+
boundName: string | null;
|
|
26
|
+
};
|
|
27
|
+
export type AgentSecretCountAggregateOutputType = {
|
|
28
|
+
agentId: number;
|
|
29
|
+
secretId: number;
|
|
30
|
+
boundName: number;
|
|
31
|
+
_all: number;
|
|
32
|
+
};
|
|
33
|
+
export type AgentSecretMinAggregateInputType = {
|
|
34
|
+
agentId?: true;
|
|
35
|
+
secretId?: true;
|
|
36
|
+
boundName?: true;
|
|
37
|
+
};
|
|
38
|
+
export type AgentSecretMaxAggregateInputType = {
|
|
39
|
+
agentId?: true;
|
|
40
|
+
secretId?: true;
|
|
41
|
+
boundName?: true;
|
|
42
|
+
};
|
|
43
|
+
export type AgentSecretCountAggregateInputType = {
|
|
44
|
+
agentId?: true;
|
|
45
|
+
secretId?: true;
|
|
46
|
+
boundName?: true;
|
|
47
|
+
_all?: true;
|
|
48
|
+
};
|
|
49
|
+
export type AgentSecretAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
50
|
+
/**
|
|
51
|
+
* Filter which AgentSecret to aggregate.
|
|
52
|
+
*/
|
|
53
|
+
where?: Prisma.AgentSecretWhereInput;
|
|
54
|
+
/**
|
|
55
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
56
|
+
*
|
|
57
|
+
* Determine the order of AgentSecrets to fetch.
|
|
58
|
+
*/
|
|
59
|
+
orderBy?: Prisma.AgentSecretOrderByWithRelationInput | Prisma.AgentSecretOrderByWithRelationInput[];
|
|
60
|
+
/**
|
|
61
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
62
|
+
*
|
|
63
|
+
* Sets the start position
|
|
64
|
+
*/
|
|
65
|
+
cursor?: Prisma.AgentSecretWhereUniqueInput;
|
|
66
|
+
/**
|
|
67
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
68
|
+
*
|
|
69
|
+
* Take `±n` AgentSecrets from the position of the cursor.
|
|
70
|
+
*/
|
|
71
|
+
take?: number;
|
|
72
|
+
/**
|
|
73
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
74
|
+
*
|
|
75
|
+
* Skip the first `n` AgentSecrets.
|
|
76
|
+
*/
|
|
77
|
+
skip?: number;
|
|
78
|
+
/**
|
|
79
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
80
|
+
*
|
|
81
|
+
* Count returned AgentSecrets
|
|
82
|
+
**/
|
|
83
|
+
_count?: true | AgentSecretCountAggregateInputType;
|
|
84
|
+
/**
|
|
85
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
86
|
+
*
|
|
87
|
+
* Select which fields to find the minimum value
|
|
88
|
+
**/
|
|
89
|
+
_min?: AgentSecretMinAggregateInputType;
|
|
90
|
+
/**
|
|
91
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
92
|
+
*
|
|
93
|
+
* Select which fields to find the maximum value
|
|
94
|
+
**/
|
|
95
|
+
_max?: AgentSecretMaxAggregateInputType;
|
|
96
|
+
};
|
|
97
|
+
export type GetAgentSecretAggregateType<T extends AgentSecretAggregateArgs> = {
|
|
98
|
+
[P in keyof T & keyof AggregateAgentSecret]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateAgentSecret[P]> : Prisma.GetScalarType<T[P], AggregateAgentSecret[P]>;
|
|
99
|
+
};
|
|
100
|
+
export type AgentSecretGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
101
|
+
where?: Prisma.AgentSecretWhereInput;
|
|
102
|
+
orderBy?: Prisma.AgentSecretOrderByWithAggregationInput | Prisma.AgentSecretOrderByWithAggregationInput[];
|
|
103
|
+
by: Prisma.AgentSecretScalarFieldEnum[] | Prisma.AgentSecretScalarFieldEnum;
|
|
104
|
+
having?: Prisma.AgentSecretScalarWhereWithAggregatesInput;
|
|
105
|
+
take?: number;
|
|
106
|
+
skip?: number;
|
|
107
|
+
_count?: AgentSecretCountAggregateInputType | true;
|
|
108
|
+
_min?: AgentSecretMinAggregateInputType;
|
|
109
|
+
_max?: AgentSecretMaxAggregateInputType;
|
|
110
|
+
};
|
|
111
|
+
export type AgentSecretGroupByOutputType = {
|
|
112
|
+
agentId: string;
|
|
113
|
+
secretId: string;
|
|
114
|
+
boundName: string;
|
|
115
|
+
_count: AgentSecretCountAggregateOutputType | null;
|
|
116
|
+
_min: AgentSecretMinAggregateOutputType | null;
|
|
117
|
+
_max: AgentSecretMaxAggregateOutputType | null;
|
|
118
|
+
};
|
|
119
|
+
export type GetAgentSecretGroupByPayload<T extends AgentSecretGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<AgentSecretGroupByOutputType, T['by']> & {
|
|
120
|
+
[P in ((keyof T) & (keyof AgentSecretGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], AgentSecretGroupByOutputType[P]> : Prisma.GetScalarType<T[P], AgentSecretGroupByOutputType[P]>;
|
|
121
|
+
}>>;
|
|
122
|
+
export type AgentSecretWhereInput = {
|
|
123
|
+
AND?: Prisma.AgentSecretWhereInput | Prisma.AgentSecretWhereInput[];
|
|
124
|
+
OR?: Prisma.AgentSecretWhereInput[];
|
|
125
|
+
NOT?: Prisma.AgentSecretWhereInput | Prisma.AgentSecretWhereInput[];
|
|
126
|
+
agentId?: Prisma.StringFilter<"AgentSecret"> | string;
|
|
127
|
+
secretId?: Prisma.StringFilter<"AgentSecret"> | string;
|
|
128
|
+
boundName?: Prisma.StringFilter<"AgentSecret"> | string;
|
|
129
|
+
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>;
|
|
130
|
+
secret?: Prisma.XOR<Prisma.SecretScalarRelationFilter, Prisma.SecretWhereInput>;
|
|
131
|
+
};
|
|
132
|
+
export type AgentSecretOrderByWithRelationInput = {
|
|
133
|
+
agentId?: Prisma.SortOrder;
|
|
134
|
+
secretId?: Prisma.SortOrder;
|
|
135
|
+
boundName?: Prisma.SortOrder;
|
|
136
|
+
agent?: Prisma.AgentOrderByWithRelationInput;
|
|
137
|
+
secret?: Prisma.SecretOrderByWithRelationInput;
|
|
138
|
+
};
|
|
139
|
+
export type AgentSecretWhereUniqueInput = Prisma.AtLeast<{
|
|
140
|
+
agentId_boundName?: Prisma.AgentSecretAgentIdBoundNameCompoundUniqueInput;
|
|
141
|
+
agentId_secretId?: Prisma.AgentSecretAgentIdSecretIdCompoundUniqueInput;
|
|
142
|
+
AND?: Prisma.AgentSecretWhereInput | Prisma.AgentSecretWhereInput[];
|
|
143
|
+
OR?: Prisma.AgentSecretWhereInput[];
|
|
144
|
+
NOT?: Prisma.AgentSecretWhereInput | Prisma.AgentSecretWhereInput[];
|
|
145
|
+
agentId?: Prisma.StringFilter<"AgentSecret"> | string;
|
|
146
|
+
secretId?: Prisma.StringFilter<"AgentSecret"> | string;
|
|
147
|
+
boundName?: Prisma.StringFilter<"AgentSecret"> | string;
|
|
148
|
+
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>;
|
|
149
|
+
secret?: Prisma.XOR<Prisma.SecretScalarRelationFilter, Prisma.SecretWhereInput>;
|
|
150
|
+
}, "agentId_secretId" | "agentId_boundName">;
|
|
151
|
+
export type AgentSecretOrderByWithAggregationInput = {
|
|
152
|
+
agentId?: Prisma.SortOrder;
|
|
153
|
+
secretId?: Prisma.SortOrder;
|
|
154
|
+
boundName?: Prisma.SortOrder;
|
|
155
|
+
_count?: Prisma.AgentSecretCountOrderByAggregateInput;
|
|
156
|
+
_max?: Prisma.AgentSecretMaxOrderByAggregateInput;
|
|
157
|
+
_min?: Prisma.AgentSecretMinOrderByAggregateInput;
|
|
158
|
+
};
|
|
159
|
+
export type AgentSecretScalarWhereWithAggregatesInput = {
|
|
160
|
+
AND?: Prisma.AgentSecretScalarWhereWithAggregatesInput | Prisma.AgentSecretScalarWhereWithAggregatesInput[];
|
|
161
|
+
OR?: Prisma.AgentSecretScalarWhereWithAggregatesInput[];
|
|
162
|
+
NOT?: Prisma.AgentSecretScalarWhereWithAggregatesInput | Prisma.AgentSecretScalarWhereWithAggregatesInput[];
|
|
163
|
+
agentId?: Prisma.StringWithAggregatesFilter<"AgentSecret"> | string;
|
|
164
|
+
secretId?: Prisma.StringWithAggregatesFilter<"AgentSecret"> | string;
|
|
165
|
+
boundName?: Prisma.StringWithAggregatesFilter<"AgentSecret"> | string;
|
|
166
|
+
};
|
|
167
|
+
export type AgentSecretCreateInput = {
|
|
168
|
+
boundName: string;
|
|
169
|
+
agent: Prisma.AgentCreateNestedOneWithoutSecretsInput;
|
|
170
|
+
secret: Prisma.SecretCreateNestedOneWithoutAgentsInput;
|
|
171
|
+
};
|
|
172
|
+
export type AgentSecretUncheckedCreateInput = {
|
|
173
|
+
agentId: string;
|
|
174
|
+
secretId: string;
|
|
175
|
+
boundName: string;
|
|
176
|
+
};
|
|
177
|
+
export type AgentSecretUpdateInput = {
|
|
178
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
179
|
+
agent?: Prisma.AgentUpdateOneRequiredWithoutSecretsNestedInput;
|
|
180
|
+
secret?: Prisma.SecretUpdateOneRequiredWithoutAgentsNestedInput;
|
|
181
|
+
};
|
|
182
|
+
export type AgentSecretUncheckedUpdateInput = {
|
|
183
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
184
|
+
secretId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
185
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
186
|
+
};
|
|
187
|
+
export type AgentSecretCreateManyInput = {
|
|
188
|
+
agentId: string;
|
|
189
|
+
secretId: string;
|
|
190
|
+
boundName: string;
|
|
191
|
+
};
|
|
192
|
+
export type AgentSecretUpdateManyMutationInput = {
|
|
193
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
194
|
+
};
|
|
195
|
+
export type AgentSecretUncheckedUpdateManyInput = {
|
|
196
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
197
|
+
secretId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
198
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
199
|
+
};
|
|
200
|
+
export type AgentSecretListRelationFilter = {
|
|
201
|
+
every?: Prisma.AgentSecretWhereInput;
|
|
202
|
+
some?: Prisma.AgentSecretWhereInput;
|
|
203
|
+
none?: Prisma.AgentSecretWhereInput;
|
|
204
|
+
};
|
|
205
|
+
export type AgentSecretOrderByRelationAggregateInput = {
|
|
206
|
+
_count?: Prisma.SortOrder;
|
|
207
|
+
};
|
|
208
|
+
export type AgentSecretAgentIdBoundNameCompoundUniqueInput = {
|
|
209
|
+
agentId: string;
|
|
210
|
+
boundName: string;
|
|
211
|
+
};
|
|
212
|
+
export type AgentSecretAgentIdSecretIdCompoundUniqueInput = {
|
|
213
|
+
agentId: string;
|
|
214
|
+
secretId: string;
|
|
215
|
+
};
|
|
216
|
+
export type AgentSecretCountOrderByAggregateInput = {
|
|
217
|
+
agentId?: Prisma.SortOrder;
|
|
218
|
+
secretId?: Prisma.SortOrder;
|
|
219
|
+
boundName?: Prisma.SortOrder;
|
|
220
|
+
};
|
|
221
|
+
export type AgentSecretMaxOrderByAggregateInput = {
|
|
222
|
+
agentId?: Prisma.SortOrder;
|
|
223
|
+
secretId?: Prisma.SortOrder;
|
|
224
|
+
boundName?: Prisma.SortOrder;
|
|
225
|
+
};
|
|
226
|
+
export type AgentSecretMinOrderByAggregateInput = {
|
|
227
|
+
agentId?: Prisma.SortOrder;
|
|
228
|
+
secretId?: Prisma.SortOrder;
|
|
229
|
+
boundName?: Prisma.SortOrder;
|
|
230
|
+
};
|
|
231
|
+
export type AgentSecretCreateNestedManyWithoutAgentInput = {
|
|
232
|
+
create?: Prisma.XOR<Prisma.AgentSecretCreateWithoutAgentInput, Prisma.AgentSecretUncheckedCreateWithoutAgentInput> | Prisma.AgentSecretCreateWithoutAgentInput[] | Prisma.AgentSecretUncheckedCreateWithoutAgentInput[];
|
|
233
|
+
connectOrCreate?: Prisma.AgentSecretCreateOrConnectWithoutAgentInput | Prisma.AgentSecretCreateOrConnectWithoutAgentInput[];
|
|
234
|
+
createMany?: Prisma.AgentSecretCreateManyAgentInputEnvelope;
|
|
235
|
+
connect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
236
|
+
};
|
|
237
|
+
export type AgentSecretUncheckedCreateNestedManyWithoutAgentInput = {
|
|
238
|
+
create?: Prisma.XOR<Prisma.AgentSecretCreateWithoutAgentInput, Prisma.AgentSecretUncheckedCreateWithoutAgentInput> | Prisma.AgentSecretCreateWithoutAgentInput[] | Prisma.AgentSecretUncheckedCreateWithoutAgentInput[];
|
|
239
|
+
connectOrCreate?: Prisma.AgentSecretCreateOrConnectWithoutAgentInput | Prisma.AgentSecretCreateOrConnectWithoutAgentInput[];
|
|
240
|
+
createMany?: Prisma.AgentSecretCreateManyAgentInputEnvelope;
|
|
241
|
+
connect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
242
|
+
};
|
|
243
|
+
export type AgentSecretUpdateManyWithoutAgentNestedInput = {
|
|
244
|
+
create?: Prisma.XOR<Prisma.AgentSecretCreateWithoutAgentInput, Prisma.AgentSecretUncheckedCreateWithoutAgentInput> | Prisma.AgentSecretCreateWithoutAgentInput[] | Prisma.AgentSecretUncheckedCreateWithoutAgentInput[];
|
|
245
|
+
connectOrCreate?: Prisma.AgentSecretCreateOrConnectWithoutAgentInput | Prisma.AgentSecretCreateOrConnectWithoutAgentInput[];
|
|
246
|
+
upsert?: Prisma.AgentSecretUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentSecretUpsertWithWhereUniqueWithoutAgentInput[];
|
|
247
|
+
createMany?: Prisma.AgentSecretCreateManyAgentInputEnvelope;
|
|
248
|
+
set?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
249
|
+
disconnect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
250
|
+
delete?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
251
|
+
connect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
252
|
+
update?: Prisma.AgentSecretUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentSecretUpdateWithWhereUniqueWithoutAgentInput[];
|
|
253
|
+
updateMany?: Prisma.AgentSecretUpdateManyWithWhereWithoutAgentInput | Prisma.AgentSecretUpdateManyWithWhereWithoutAgentInput[];
|
|
254
|
+
deleteMany?: Prisma.AgentSecretScalarWhereInput | Prisma.AgentSecretScalarWhereInput[];
|
|
255
|
+
};
|
|
256
|
+
export type AgentSecretUncheckedUpdateManyWithoutAgentNestedInput = {
|
|
257
|
+
create?: Prisma.XOR<Prisma.AgentSecretCreateWithoutAgentInput, Prisma.AgentSecretUncheckedCreateWithoutAgentInput> | Prisma.AgentSecretCreateWithoutAgentInput[] | Prisma.AgentSecretUncheckedCreateWithoutAgentInput[];
|
|
258
|
+
connectOrCreate?: Prisma.AgentSecretCreateOrConnectWithoutAgentInput | Prisma.AgentSecretCreateOrConnectWithoutAgentInput[];
|
|
259
|
+
upsert?: Prisma.AgentSecretUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentSecretUpsertWithWhereUniqueWithoutAgentInput[];
|
|
260
|
+
createMany?: Prisma.AgentSecretCreateManyAgentInputEnvelope;
|
|
261
|
+
set?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
262
|
+
disconnect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
263
|
+
delete?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
264
|
+
connect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
265
|
+
update?: Prisma.AgentSecretUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentSecretUpdateWithWhereUniqueWithoutAgentInput[];
|
|
266
|
+
updateMany?: Prisma.AgentSecretUpdateManyWithWhereWithoutAgentInput | Prisma.AgentSecretUpdateManyWithWhereWithoutAgentInput[];
|
|
267
|
+
deleteMany?: Prisma.AgentSecretScalarWhereInput | Prisma.AgentSecretScalarWhereInput[];
|
|
268
|
+
};
|
|
269
|
+
export type AgentSecretCreateNestedManyWithoutSecretInput = {
|
|
270
|
+
create?: Prisma.XOR<Prisma.AgentSecretCreateWithoutSecretInput, Prisma.AgentSecretUncheckedCreateWithoutSecretInput> | Prisma.AgentSecretCreateWithoutSecretInput[] | Prisma.AgentSecretUncheckedCreateWithoutSecretInput[];
|
|
271
|
+
connectOrCreate?: Prisma.AgentSecretCreateOrConnectWithoutSecretInput | Prisma.AgentSecretCreateOrConnectWithoutSecretInput[];
|
|
272
|
+
createMany?: Prisma.AgentSecretCreateManySecretInputEnvelope;
|
|
273
|
+
connect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
274
|
+
};
|
|
275
|
+
export type AgentSecretUncheckedCreateNestedManyWithoutSecretInput = {
|
|
276
|
+
create?: Prisma.XOR<Prisma.AgentSecretCreateWithoutSecretInput, Prisma.AgentSecretUncheckedCreateWithoutSecretInput> | Prisma.AgentSecretCreateWithoutSecretInput[] | Prisma.AgentSecretUncheckedCreateWithoutSecretInput[];
|
|
277
|
+
connectOrCreate?: Prisma.AgentSecretCreateOrConnectWithoutSecretInput | Prisma.AgentSecretCreateOrConnectWithoutSecretInput[];
|
|
278
|
+
createMany?: Prisma.AgentSecretCreateManySecretInputEnvelope;
|
|
279
|
+
connect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
280
|
+
};
|
|
281
|
+
export type AgentSecretUpdateManyWithoutSecretNestedInput = {
|
|
282
|
+
create?: Prisma.XOR<Prisma.AgentSecretCreateWithoutSecretInput, Prisma.AgentSecretUncheckedCreateWithoutSecretInput> | Prisma.AgentSecretCreateWithoutSecretInput[] | Prisma.AgentSecretUncheckedCreateWithoutSecretInput[];
|
|
283
|
+
connectOrCreate?: Prisma.AgentSecretCreateOrConnectWithoutSecretInput | Prisma.AgentSecretCreateOrConnectWithoutSecretInput[];
|
|
284
|
+
upsert?: Prisma.AgentSecretUpsertWithWhereUniqueWithoutSecretInput | Prisma.AgentSecretUpsertWithWhereUniqueWithoutSecretInput[];
|
|
285
|
+
createMany?: Prisma.AgentSecretCreateManySecretInputEnvelope;
|
|
286
|
+
set?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
287
|
+
disconnect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
288
|
+
delete?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
289
|
+
connect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
290
|
+
update?: Prisma.AgentSecretUpdateWithWhereUniqueWithoutSecretInput | Prisma.AgentSecretUpdateWithWhereUniqueWithoutSecretInput[];
|
|
291
|
+
updateMany?: Prisma.AgentSecretUpdateManyWithWhereWithoutSecretInput | Prisma.AgentSecretUpdateManyWithWhereWithoutSecretInput[];
|
|
292
|
+
deleteMany?: Prisma.AgentSecretScalarWhereInput | Prisma.AgentSecretScalarWhereInput[];
|
|
293
|
+
};
|
|
294
|
+
export type AgentSecretUncheckedUpdateManyWithoutSecretNestedInput = {
|
|
295
|
+
create?: Prisma.XOR<Prisma.AgentSecretCreateWithoutSecretInput, Prisma.AgentSecretUncheckedCreateWithoutSecretInput> | Prisma.AgentSecretCreateWithoutSecretInput[] | Prisma.AgentSecretUncheckedCreateWithoutSecretInput[];
|
|
296
|
+
connectOrCreate?: Prisma.AgentSecretCreateOrConnectWithoutSecretInput | Prisma.AgentSecretCreateOrConnectWithoutSecretInput[];
|
|
297
|
+
upsert?: Prisma.AgentSecretUpsertWithWhereUniqueWithoutSecretInput | Prisma.AgentSecretUpsertWithWhereUniqueWithoutSecretInput[];
|
|
298
|
+
createMany?: Prisma.AgentSecretCreateManySecretInputEnvelope;
|
|
299
|
+
set?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
300
|
+
disconnect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
301
|
+
delete?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
302
|
+
connect?: Prisma.AgentSecretWhereUniqueInput | Prisma.AgentSecretWhereUniqueInput[];
|
|
303
|
+
update?: Prisma.AgentSecretUpdateWithWhereUniqueWithoutSecretInput | Prisma.AgentSecretUpdateWithWhereUniqueWithoutSecretInput[];
|
|
304
|
+
updateMany?: Prisma.AgentSecretUpdateManyWithWhereWithoutSecretInput | Prisma.AgentSecretUpdateManyWithWhereWithoutSecretInput[];
|
|
305
|
+
deleteMany?: Prisma.AgentSecretScalarWhereInput | Prisma.AgentSecretScalarWhereInput[];
|
|
306
|
+
};
|
|
307
|
+
export type AgentSecretCreateWithoutAgentInput = {
|
|
308
|
+
boundName: string;
|
|
309
|
+
secret: Prisma.SecretCreateNestedOneWithoutAgentsInput;
|
|
310
|
+
};
|
|
311
|
+
export type AgentSecretUncheckedCreateWithoutAgentInput = {
|
|
312
|
+
secretId: string;
|
|
313
|
+
boundName: string;
|
|
314
|
+
};
|
|
315
|
+
export type AgentSecretCreateOrConnectWithoutAgentInput = {
|
|
316
|
+
where: Prisma.AgentSecretWhereUniqueInput;
|
|
317
|
+
create: Prisma.XOR<Prisma.AgentSecretCreateWithoutAgentInput, Prisma.AgentSecretUncheckedCreateWithoutAgentInput>;
|
|
318
|
+
};
|
|
319
|
+
export type AgentSecretCreateManyAgentInputEnvelope = {
|
|
320
|
+
data: Prisma.AgentSecretCreateManyAgentInput | Prisma.AgentSecretCreateManyAgentInput[];
|
|
321
|
+
skipDuplicates?: boolean;
|
|
322
|
+
};
|
|
323
|
+
export type AgentSecretUpsertWithWhereUniqueWithoutAgentInput = {
|
|
324
|
+
where: Prisma.AgentSecretWhereUniqueInput;
|
|
325
|
+
update: Prisma.XOR<Prisma.AgentSecretUpdateWithoutAgentInput, Prisma.AgentSecretUncheckedUpdateWithoutAgentInput>;
|
|
326
|
+
create: Prisma.XOR<Prisma.AgentSecretCreateWithoutAgentInput, Prisma.AgentSecretUncheckedCreateWithoutAgentInput>;
|
|
327
|
+
};
|
|
328
|
+
export type AgentSecretUpdateWithWhereUniqueWithoutAgentInput = {
|
|
329
|
+
where: Prisma.AgentSecretWhereUniqueInput;
|
|
330
|
+
data: Prisma.XOR<Prisma.AgentSecretUpdateWithoutAgentInput, Prisma.AgentSecretUncheckedUpdateWithoutAgentInput>;
|
|
331
|
+
};
|
|
332
|
+
export type AgentSecretUpdateManyWithWhereWithoutAgentInput = {
|
|
333
|
+
where: Prisma.AgentSecretScalarWhereInput;
|
|
334
|
+
data: Prisma.XOR<Prisma.AgentSecretUpdateManyMutationInput, Prisma.AgentSecretUncheckedUpdateManyWithoutAgentInput>;
|
|
335
|
+
};
|
|
336
|
+
export type AgentSecretScalarWhereInput = {
|
|
337
|
+
AND?: Prisma.AgentSecretScalarWhereInput | Prisma.AgentSecretScalarWhereInput[];
|
|
338
|
+
OR?: Prisma.AgentSecretScalarWhereInput[];
|
|
339
|
+
NOT?: Prisma.AgentSecretScalarWhereInput | Prisma.AgentSecretScalarWhereInput[];
|
|
340
|
+
agentId?: Prisma.StringFilter<"AgentSecret"> | string;
|
|
341
|
+
secretId?: Prisma.StringFilter<"AgentSecret"> | string;
|
|
342
|
+
boundName?: Prisma.StringFilter<"AgentSecret"> | string;
|
|
343
|
+
};
|
|
344
|
+
export type AgentSecretCreateWithoutSecretInput = {
|
|
345
|
+
boundName: string;
|
|
346
|
+
agent: Prisma.AgentCreateNestedOneWithoutSecretsInput;
|
|
347
|
+
};
|
|
348
|
+
export type AgentSecretUncheckedCreateWithoutSecretInput = {
|
|
349
|
+
agentId: string;
|
|
350
|
+
boundName: string;
|
|
351
|
+
};
|
|
352
|
+
export type AgentSecretCreateOrConnectWithoutSecretInput = {
|
|
353
|
+
where: Prisma.AgentSecretWhereUniqueInput;
|
|
354
|
+
create: Prisma.XOR<Prisma.AgentSecretCreateWithoutSecretInput, Prisma.AgentSecretUncheckedCreateWithoutSecretInput>;
|
|
355
|
+
};
|
|
356
|
+
export type AgentSecretCreateManySecretInputEnvelope = {
|
|
357
|
+
data: Prisma.AgentSecretCreateManySecretInput | Prisma.AgentSecretCreateManySecretInput[];
|
|
358
|
+
skipDuplicates?: boolean;
|
|
359
|
+
};
|
|
360
|
+
export type AgentSecretUpsertWithWhereUniqueWithoutSecretInput = {
|
|
361
|
+
where: Prisma.AgentSecretWhereUniqueInput;
|
|
362
|
+
update: Prisma.XOR<Prisma.AgentSecretUpdateWithoutSecretInput, Prisma.AgentSecretUncheckedUpdateWithoutSecretInput>;
|
|
363
|
+
create: Prisma.XOR<Prisma.AgentSecretCreateWithoutSecretInput, Prisma.AgentSecretUncheckedCreateWithoutSecretInput>;
|
|
364
|
+
};
|
|
365
|
+
export type AgentSecretUpdateWithWhereUniqueWithoutSecretInput = {
|
|
366
|
+
where: Prisma.AgentSecretWhereUniqueInput;
|
|
367
|
+
data: Prisma.XOR<Prisma.AgentSecretUpdateWithoutSecretInput, Prisma.AgentSecretUncheckedUpdateWithoutSecretInput>;
|
|
368
|
+
};
|
|
369
|
+
export type AgentSecretUpdateManyWithWhereWithoutSecretInput = {
|
|
370
|
+
where: Prisma.AgentSecretScalarWhereInput;
|
|
371
|
+
data: Prisma.XOR<Prisma.AgentSecretUpdateManyMutationInput, Prisma.AgentSecretUncheckedUpdateManyWithoutSecretInput>;
|
|
372
|
+
};
|
|
373
|
+
export type AgentSecretCreateManyAgentInput = {
|
|
374
|
+
secretId: string;
|
|
375
|
+
boundName: string;
|
|
376
|
+
};
|
|
377
|
+
export type AgentSecretUpdateWithoutAgentInput = {
|
|
378
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
379
|
+
secret?: Prisma.SecretUpdateOneRequiredWithoutAgentsNestedInput;
|
|
380
|
+
};
|
|
381
|
+
export type AgentSecretUncheckedUpdateWithoutAgentInput = {
|
|
382
|
+
secretId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
383
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
384
|
+
};
|
|
385
|
+
export type AgentSecretUncheckedUpdateManyWithoutAgentInput = {
|
|
386
|
+
secretId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
387
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
388
|
+
};
|
|
389
|
+
export type AgentSecretCreateManySecretInput = {
|
|
390
|
+
agentId: string;
|
|
391
|
+
boundName: string;
|
|
392
|
+
};
|
|
393
|
+
export type AgentSecretUpdateWithoutSecretInput = {
|
|
394
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
395
|
+
agent?: Prisma.AgentUpdateOneRequiredWithoutSecretsNestedInput;
|
|
396
|
+
};
|
|
397
|
+
export type AgentSecretUncheckedUpdateWithoutSecretInput = {
|
|
398
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
399
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
|
+
};
|
|
401
|
+
export type AgentSecretUncheckedUpdateManyWithoutSecretInput = {
|
|
402
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
403
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
404
|
+
};
|
|
405
|
+
export type AgentSecretSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
406
|
+
agentId?: boolean;
|
|
407
|
+
secretId?: boolean;
|
|
408
|
+
boundName?: boolean;
|
|
409
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
410
|
+
secret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
411
|
+
}, ExtArgs["result"]["agentSecret"]>;
|
|
412
|
+
export type AgentSecretSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
413
|
+
agentId?: boolean;
|
|
414
|
+
secretId?: boolean;
|
|
415
|
+
boundName?: boolean;
|
|
416
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
417
|
+
secret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
418
|
+
}, ExtArgs["result"]["agentSecret"]>;
|
|
419
|
+
export type AgentSecretSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
420
|
+
agentId?: boolean;
|
|
421
|
+
secretId?: boolean;
|
|
422
|
+
boundName?: boolean;
|
|
423
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
424
|
+
secret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
425
|
+
}, ExtArgs["result"]["agentSecret"]>;
|
|
426
|
+
export type AgentSecretSelectScalar = {
|
|
427
|
+
agentId?: boolean;
|
|
428
|
+
secretId?: boolean;
|
|
429
|
+
boundName?: boolean;
|
|
430
|
+
};
|
|
431
|
+
export type AgentSecretOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"agentId" | "secretId" | "boundName", ExtArgs["result"]["agentSecret"]>;
|
|
432
|
+
export type AgentSecretInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
433
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
434
|
+
secret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
435
|
+
};
|
|
436
|
+
export type AgentSecretIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
437
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
438
|
+
secret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
439
|
+
};
|
|
440
|
+
export type AgentSecretIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
441
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
442
|
+
secret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
443
|
+
};
|
|
444
|
+
export type $AgentSecretPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
445
|
+
name: "AgentSecret";
|
|
446
|
+
objects: {
|
|
447
|
+
agent: Prisma.$AgentPayload<ExtArgs>;
|
|
448
|
+
secret: Prisma.$SecretPayload<ExtArgs>;
|
|
449
|
+
};
|
|
450
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
451
|
+
agentId: string;
|
|
452
|
+
secretId: string;
|
|
453
|
+
boundName: string;
|
|
454
|
+
}, ExtArgs["result"]["agentSecret"]>;
|
|
455
|
+
composites: {};
|
|
456
|
+
};
|
|
457
|
+
export type AgentSecretGetPayload<S extends boolean | null | undefined | AgentSecretDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload, S>;
|
|
458
|
+
export type AgentSecretCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<AgentSecretFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
459
|
+
select?: AgentSecretCountAggregateInputType | true;
|
|
460
|
+
};
|
|
461
|
+
export interface AgentSecretDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
462
|
+
[K: symbol]: {
|
|
463
|
+
types: Prisma.TypeMap<ExtArgs>['model']['AgentSecret'];
|
|
464
|
+
meta: {
|
|
465
|
+
name: 'AgentSecret';
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* Find zero or one AgentSecret that matches the filter.
|
|
470
|
+
* @param {AgentSecretFindUniqueArgs} args - Arguments to find a AgentSecret
|
|
471
|
+
* @example
|
|
472
|
+
* // Get one AgentSecret
|
|
473
|
+
* const agentSecret = await prisma.agentSecret.findUnique({
|
|
474
|
+
* where: {
|
|
475
|
+
* // ... provide filter here
|
|
476
|
+
* }
|
|
477
|
+
* })
|
|
478
|
+
*/
|
|
479
|
+
findUnique<T extends AgentSecretFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentSecretFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentSecretClient<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
480
|
+
/**
|
|
481
|
+
* Find one AgentSecret that matches the filter or throw an error with `error.code='P2025'`
|
|
482
|
+
* if no matches were found.
|
|
483
|
+
* @param {AgentSecretFindUniqueOrThrowArgs} args - Arguments to find a AgentSecret
|
|
484
|
+
* @example
|
|
485
|
+
* // Get one AgentSecret
|
|
486
|
+
* const agentSecret = await prisma.agentSecret.findUniqueOrThrow({
|
|
487
|
+
* where: {
|
|
488
|
+
* // ... provide filter here
|
|
489
|
+
* }
|
|
490
|
+
* })
|
|
491
|
+
*/
|
|
492
|
+
findUniqueOrThrow<T extends AgentSecretFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentSecretFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentSecretClient<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
493
|
+
/**
|
|
494
|
+
* Find the first AgentSecret that matches the filter.
|
|
495
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
496
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
497
|
+
* @param {AgentSecretFindFirstArgs} args - Arguments to find a AgentSecret
|
|
498
|
+
* @example
|
|
499
|
+
* // Get one AgentSecret
|
|
500
|
+
* const agentSecret = await prisma.agentSecret.findFirst({
|
|
501
|
+
* where: {
|
|
502
|
+
* // ... provide filter here
|
|
503
|
+
* }
|
|
504
|
+
* })
|
|
505
|
+
*/
|
|
506
|
+
findFirst<T extends AgentSecretFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentSecretFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentSecretClient<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
507
|
+
/**
|
|
508
|
+
* Find the first AgentSecret that matches the filter or
|
|
509
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
510
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
511
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
512
|
+
* @param {AgentSecretFindFirstOrThrowArgs} args - Arguments to find a AgentSecret
|
|
513
|
+
* @example
|
|
514
|
+
* // Get one AgentSecret
|
|
515
|
+
* const agentSecret = await prisma.agentSecret.findFirstOrThrow({
|
|
516
|
+
* where: {
|
|
517
|
+
* // ... provide filter here
|
|
518
|
+
* }
|
|
519
|
+
* })
|
|
520
|
+
*/
|
|
521
|
+
findFirstOrThrow<T extends AgentSecretFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentSecretFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentSecretClient<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
522
|
+
/**
|
|
523
|
+
* Find zero or more AgentSecrets that matches the filter.
|
|
524
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
525
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
526
|
+
* @param {AgentSecretFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
527
|
+
* @example
|
|
528
|
+
* // Get all AgentSecrets
|
|
529
|
+
* const agentSecrets = await prisma.agentSecret.findMany()
|
|
530
|
+
*
|
|
531
|
+
* // Get first 10 AgentSecrets
|
|
532
|
+
* const agentSecrets = await prisma.agentSecret.findMany({ take: 10 })
|
|
533
|
+
*
|
|
534
|
+
* // Only select the `agentId`
|
|
535
|
+
* const agentSecretWithAgentIdOnly = await prisma.agentSecret.findMany({ select: { agentId: true } })
|
|
536
|
+
*
|
|
537
|
+
*/
|
|
538
|
+
findMany<T extends AgentSecretFindManyArgs>(args?: Prisma.SelectSubset<T, AgentSecretFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
539
|
+
/**
|
|
540
|
+
* Create a AgentSecret.
|
|
541
|
+
* @param {AgentSecretCreateArgs} args - Arguments to create a AgentSecret.
|
|
542
|
+
* @example
|
|
543
|
+
* // Create one AgentSecret
|
|
544
|
+
* const AgentSecret = await prisma.agentSecret.create({
|
|
545
|
+
* data: {
|
|
546
|
+
* // ... data to create a AgentSecret
|
|
547
|
+
* }
|
|
548
|
+
* })
|
|
549
|
+
*
|
|
550
|
+
*/
|
|
551
|
+
create<T extends AgentSecretCreateArgs>(args: Prisma.SelectSubset<T, AgentSecretCreateArgs<ExtArgs>>): Prisma.Prisma__AgentSecretClient<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
552
|
+
/**
|
|
553
|
+
* Create many AgentSecrets.
|
|
554
|
+
* @param {AgentSecretCreateManyArgs} args - Arguments to create many AgentSecrets.
|
|
555
|
+
* @example
|
|
556
|
+
* // Create many AgentSecrets
|
|
557
|
+
* const agentSecret = await prisma.agentSecret.createMany({
|
|
558
|
+
* data: [
|
|
559
|
+
* // ... provide data here
|
|
560
|
+
* ]
|
|
561
|
+
* })
|
|
562
|
+
*
|
|
563
|
+
*/
|
|
564
|
+
createMany<T extends AgentSecretCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentSecretCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
565
|
+
/**
|
|
566
|
+
* Create many AgentSecrets and returns the data saved in the database.
|
|
567
|
+
* @param {AgentSecretCreateManyAndReturnArgs} args - Arguments to create many AgentSecrets.
|
|
568
|
+
* @example
|
|
569
|
+
* // Create many AgentSecrets
|
|
570
|
+
* const agentSecret = await prisma.agentSecret.createManyAndReturn({
|
|
571
|
+
* data: [
|
|
572
|
+
* // ... provide data here
|
|
573
|
+
* ]
|
|
574
|
+
* })
|
|
575
|
+
*
|
|
576
|
+
* // Create many AgentSecrets and only return the `agentId`
|
|
577
|
+
* const agentSecretWithAgentIdOnly = await prisma.agentSecret.createManyAndReturn({
|
|
578
|
+
* select: { agentId: true },
|
|
579
|
+
* data: [
|
|
580
|
+
* // ... provide data here
|
|
581
|
+
* ]
|
|
582
|
+
* })
|
|
583
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
584
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
585
|
+
*
|
|
586
|
+
*/
|
|
587
|
+
createManyAndReturn<T extends AgentSecretCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentSecretCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
588
|
+
/**
|
|
589
|
+
* Delete a AgentSecret.
|
|
590
|
+
* @param {AgentSecretDeleteArgs} args - Arguments to delete one AgentSecret.
|
|
591
|
+
* @example
|
|
592
|
+
* // Delete one AgentSecret
|
|
593
|
+
* const AgentSecret = await prisma.agentSecret.delete({
|
|
594
|
+
* where: {
|
|
595
|
+
* // ... filter to delete one AgentSecret
|
|
596
|
+
* }
|
|
597
|
+
* })
|
|
598
|
+
*
|
|
599
|
+
*/
|
|
600
|
+
delete<T extends AgentSecretDeleteArgs>(args: Prisma.SelectSubset<T, AgentSecretDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentSecretClient<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
601
|
+
/**
|
|
602
|
+
* Update one AgentSecret.
|
|
603
|
+
* @param {AgentSecretUpdateArgs} args - Arguments to update one AgentSecret.
|
|
604
|
+
* @example
|
|
605
|
+
* // Update one AgentSecret
|
|
606
|
+
* const agentSecret = await prisma.agentSecret.update({
|
|
607
|
+
* where: {
|
|
608
|
+
* // ... provide filter here
|
|
609
|
+
* },
|
|
610
|
+
* data: {
|
|
611
|
+
* // ... provide data here
|
|
612
|
+
* }
|
|
613
|
+
* })
|
|
614
|
+
*
|
|
615
|
+
*/
|
|
616
|
+
update<T extends AgentSecretUpdateArgs>(args: Prisma.SelectSubset<T, AgentSecretUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentSecretClient<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
617
|
+
/**
|
|
618
|
+
* Delete zero or more AgentSecrets.
|
|
619
|
+
* @param {AgentSecretDeleteManyArgs} args - Arguments to filter AgentSecrets to delete.
|
|
620
|
+
* @example
|
|
621
|
+
* // Delete a few AgentSecrets
|
|
622
|
+
* const { count } = await prisma.agentSecret.deleteMany({
|
|
623
|
+
* where: {
|
|
624
|
+
* // ... provide filter here
|
|
625
|
+
* }
|
|
626
|
+
* })
|
|
627
|
+
*
|
|
628
|
+
*/
|
|
629
|
+
deleteMany<T extends AgentSecretDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentSecretDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
630
|
+
/**
|
|
631
|
+
* Update zero or more AgentSecrets.
|
|
632
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
633
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
634
|
+
* @param {AgentSecretUpdateManyArgs} args - Arguments to update one or more rows.
|
|
635
|
+
* @example
|
|
636
|
+
* // Update many AgentSecrets
|
|
637
|
+
* const agentSecret = await prisma.agentSecret.updateMany({
|
|
638
|
+
* where: {
|
|
639
|
+
* // ... provide filter here
|
|
640
|
+
* },
|
|
641
|
+
* data: {
|
|
642
|
+
* // ... provide data here
|
|
643
|
+
* }
|
|
644
|
+
* })
|
|
645
|
+
*
|
|
646
|
+
*/
|
|
647
|
+
updateMany<T extends AgentSecretUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentSecretUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
648
|
+
/**
|
|
649
|
+
* Update zero or more AgentSecrets and returns the data updated in the database.
|
|
650
|
+
* @param {AgentSecretUpdateManyAndReturnArgs} args - Arguments to update many AgentSecrets.
|
|
651
|
+
* @example
|
|
652
|
+
* // Update many AgentSecrets
|
|
653
|
+
* const agentSecret = await prisma.agentSecret.updateManyAndReturn({
|
|
654
|
+
* where: {
|
|
655
|
+
* // ... provide filter here
|
|
656
|
+
* },
|
|
657
|
+
* data: [
|
|
658
|
+
* // ... provide data here
|
|
659
|
+
* ]
|
|
660
|
+
* })
|
|
661
|
+
*
|
|
662
|
+
* // Update zero or more AgentSecrets and only return the `agentId`
|
|
663
|
+
* const agentSecretWithAgentIdOnly = await prisma.agentSecret.updateManyAndReturn({
|
|
664
|
+
* select: { agentId: true },
|
|
665
|
+
* where: {
|
|
666
|
+
* // ... provide filter here
|
|
667
|
+
* },
|
|
668
|
+
* data: [
|
|
669
|
+
* // ... provide data here
|
|
670
|
+
* ]
|
|
671
|
+
* })
|
|
672
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
673
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
674
|
+
*
|
|
675
|
+
*/
|
|
676
|
+
updateManyAndReturn<T extends AgentSecretUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentSecretUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
677
|
+
/**
|
|
678
|
+
* Create or update one AgentSecret.
|
|
679
|
+
* @param {AgentSecretUpsertArgs} args - Arguments to update or create a AgentSecret.
|
|
680
|
+
* @example
|
|
681
|
+
* // Update or create a AgentSecret
|
|
682
|
+
* const agentSecret = await prisma.agentSecret.upsert({
|
|
683
|
+
* create: {
|
|
684
|
+
* // ... data to create a AgentSecret
|
|
685
|
+
* },
|
|
686
|
+
* update: {
|
|
687
|
+
* // ... in case it already exists, update
|
|
688
|
+
* },
|
|
689
|
+
* where: {
|
|
690
|
+
* // ... the filter for the AgentSecret we want to update
|
|
691
|
+
* }
|
|
692
|
+
* })
|
|
693
|
+
*/
|
|
694
|
+
upsert<T extends AgentSecretUpsertArgs>(args: Prisma.SelectSubset<T, AgentSecretUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentSecretClient<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
695
|
+
/**
|
|
696
|
+
* Count the number of AgentSecrets.
|
|
697
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
698
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
699
|
+
* @param {AgentSecretCountArgs} args - Arguments to filter AgentSecrets to count.
|
|
700
|
+
* @example
|
|
701
|
+
* // Count the number of AgentSecrets
|
|
702
|
+
* const count = await prisma.agentSecret.count({
|
|
703
|
+
* where: {
|
|
704
|
+
* // ... the filter for the AgentSecrets we want to count
|
|
705
|
+
* }
|
|
706
|
+
* })
|
|
707
|
+
**/
|
|
708
|
+
count<T extends AgentSecretCountArgs>(args?: Prisma.Subset<T, AgentSecretCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], AgentSecretCountAggregateOutputType> : number>;
|
|
709
|
+
/**
|
|
710
|
+
* Allows you to perform aggregations operations on a AgentSecret.
|
|
711
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
712
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
713
|
+
* @param {AgentSecretAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
714
|
+
* @example
|
|
715
|
+
* // Ordered by age ascending
|
|
716
|
+
* // Where email contains prisma.io
|
|
717
|
+
* // Limited to the 10 users
|
|
718
|
+
* const aggregations = await prisma.user.aggregate({
|
|
719
|
+
* _avg: {
|
|
720
|
+
* age: true,
|
|
721
|
+
* },
|
|
722
|
+
* where: {
|
|
723
|
+
* email: {
|
|
724
|
+
* contains: "prisma.io",
|
|
725
|
+
* },
|
|
726
|
+
* },
|
|
727
|
+
* orderBy: {
|
|
728
|
+
* age: "asc",
|
|
729
|
+
* },
|
|
730
|
+
* take: 10,
|
|
731
|
+
* })
|
|
732
|
+
**/
|
|
733
|
+
aggregate<T extends AgentSecretAggregateArgs>(args: Prisma.Subset<T, AgentSecretAggregateArgs>): Prisma.PrismaPromise<GetAgentSecretAggregateType<T>>;
|
|
734
|
+
/**
|
|
735
|
+
* Group by AgentSecret.
|
|
736
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
737
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
738
|
+
* @param {AgentSecretGroupByArgs} args - Group by arguments.
|
|
739
|
+
* @example
|
|
740
|
+
* // Group by city, order by createdAt, get count
|
|
741
|
+
* const result = await prisma.user.groupBy({
|
|
742
|
+
* by: ['city', 'createdAt'],
|
|
743
|
+
* orderBy: {
|
|
744
|
+
* createdAt: true
|
|
745
|
+
* },
|
|
746
|
+
* _count: {
|
|
747
|
+
* _all: true
|
|
748
|
+
* },
|
|
749
|
+
* })
|
|
750
|
+
*
|
|
751
|
+
**/
|
|
752
|
+
groupBy<T extends AgentSecretGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
753
|
+
orderBy: AgentSecretGroupByArgs['orderBy'];
|
|
754
|
+
} : {
|
|
755
|
+
orderBy?: AgentSecretGroupByArgs['orderBy'];
|
|
756
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
757
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
758
|
+
Error,
|
|
759
|
+
'Field ',
|
|
760
|
+
P,
|
|
761
|
+
` in "having" needs to be provided in "by"`
|
|
762
|
+
];
|
|
763
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
764
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
765
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
766
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
767
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
768
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
769
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, AgentSecretGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentSecretGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
770
|
+
/**
|
|
771
|
+
* Fields of the AgentSecret model
|
|
772
|
+
*/
|
|
773
|
+
readonly fields: AgentSecretFieldRefs;
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* The delegate class that acts as a "Promise-like" for AgentSecret.
|
|
777
|
+
* Why is this prefixed with `Prisma__`?
|
|
778
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
779
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
780
|
+
*/
|
|
781
|
+
export interface Prisma__AgentSecretClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
782
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
783
|
+
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>;
|
|
784
|
+
secret<T extends Prisma.SecretDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SecretDefaultArgs<ExtArgs>>): Prisma.Prisma__SecretClient<runtime.Types.Result.GetResult<Prisma.$SecretPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
785
|
+
/**
|
|
786
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
787
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
788
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
789
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
790
|
+
*/
|
|
791
|
+
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>;
|
|
792
|
+
/**
|
|
793
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
794
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
795
|
+
* @returns A Promise for the completion of the callback.
|
|
796
|
+
*/
|
|
797
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
798
|
+
/**
|
|
799
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
800
|
+
* resolved value cannot be modified from the callback.
|
|
801
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
802
|
+
* @returns A Promise for the completion of the callback.
|
|
803
|
+
*/
|
|
804
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Fields of the AgentSecret model
|
|
808
|
+
*/
|
|
809
|
+
export interface AgentSecretFieldRefs {
|
|
810
|
+
readonly agentId: Prisma.FieldRef<"AgentSecret", 'String'>;
|
|
811
|
+
readonly secretId: Prisma.FieldRef<"AgentSecret", 'String'>;
|
|
812
|
+
readonly boundName: Prisma.FieldRef<"AgentSecret", 'String'>;
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
* AgentSecret findUnique
|
|
816
|
+
*/
|
|
817
|
+
export type AgentSecretFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
818
|
+
/**
|
|
819
|
+
* Select specific fields to fetch from the AgentSecret
|
|
820
|
+
*/
|
|
821
|
+
select?: Prisma.AgentSecretSelect<ExtArgs> | null;
|
|
822
|
+
/**
|
|
823
|
+
* Omit specific fields from the AgentSecret
|
|
824
|
+
*/
|
|
825
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
826
|
+
/**
|
|
827
|
+
* Choose, which related nodes to fetch as well
|
|
828
|
+
*/
|
|
829
|
+
include?: Prisma.AgentSecretInclude<ExtArgs> | null;
|
|
830
|
+
/**
|
|
831
|
+
* Filter, which AgentSecret to fetch.
|
|
832
|
+
*/
|
|
833
|
+
where: Prisma.AgentSecretWhereUniqueInput;
|
|
834
|
+
};
|
|
835
|
+
/**
|
|
836
|
+
* AgentSecret findUniqueOrThrow
|
|
837
|
+
*/
|
|
838
|
+
export type AgentSecretFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
839
|
+
/**
|
|
840
|
+
* Select specific fields to fetch from the AgentSecret
|
|
841
|
+
*/
|
|
842
|
+
select?: Prisma.AgentSecretSelect<ExtArgs> | null;
|
|
843
|
+
/**
|
|
844
|
+
* Omit specific fields from the AgentSecret
|
|
845
|
+
*/
|
|
846
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
847
|
+
/**
|
|
848
|
+
* Choose, which related nodes to fetch as well
|
|
849
|
+
*/
|
|
850
|
+
include?: Prisma.AgentSecretInclude<ExtArgs> | null;
|
|
851
|
+
/**
|
|
852
|
+
* Filter, which AgentSecret to fetch.
|
|
853
|
+
*/
|
|
854
|
+
where: Prisma.AgentSecretWhereUniqueInput;
|
|
855
|
+
};
|
|
856
|
+
/**
|
|
857
|
+
* AgentSecret findFirst
|
|
858
|
+
*/
|
|
859
|
+
export type AgentSecretFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
860
|
+
/**
|
|
861
|
+
* Select specific fields to fetch from the AgentSecret
|
|
862
|
+
*/
|
|
863
|
+
select?: Prisma.AgentSecretSelect<ExtArgs> | null;
|
|
864
|
+
/**
|
|
865
|
+
* Omit specific fields from the AgentSecret
|
|
866
|
+
*/
|
|
867
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
868
|
+
/**
|
|
869
|
+
* Choose, which related nodes to fetch as well
|
|
870
|
+
*/
|
|
871
|
+
include?: Prisma.AgentSecretInclude<ExtArgs> | null;
|
|
872
|
+
/**
|
|
873
|
+
* Filter, which AgentSecret to fetch.
|
|
874
|
+
*/
|
|
875
|
+
where?: Prisma.AgentSecretWhereInput;
|
|
876
|
+
/**
|
|
877
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
878
|
+
*
|
|
879
|
+
* Determine the order of AgentSecrets to fetch.
|
|
880
|
+
*/
|
|
881
|
+
orderBy?: Prisma.AgentSecretOrderByWithRelationInput | Prisma.AgentSecretOrderByWithRelationInput[];
|
|
882
|
+
/**
|
|
883
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
884
|
+
*
|
|
885
|
+
* Sets the position for searching for AgentSecrets.
|
|
886
|
+
*/
|
|
887
|
+
cursor?: Prisma.AgentSecretWhereUniqueInput;
|
|
888
|
+
/**
|
|
889
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
890
|
+
*
|
|
891
|
+
* Take `±n` AgentSecrets from the position of the cursor.
|
|
892
|
+
*/
|
|
893
|
+
take?: number;
|
|
894
|
+
/**
|
|
895
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
896
|
+
*
|
|
897
|
+
* Skip the first `n` AgentSecrets.
|
|
898
|
+
*/
|
|
899
|
+
skip?: number;
|
|
900
|
+
/**
|
|
901
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
902
|
+
*
|
|
903
|
+
* Filter by unique combinations of AgentSecrets.
|
|
904
|
+
*/
|
|
905
|
+
distinct?: Prisma.AgentSecretScalarFieldEnum | Prisma.AgentSecretScalarFieldEnum[];
|
|
906
|
+
};
|
|
907
|
+
/**
|
|
908
|
+
* AgentSecret findFirstOrThrow
|
|
909
|
+
*/
|
|
910
|
+
export type AgentSecretFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
911
|
+
/**
|
|
912
|
+
* Select specific fields to fetch from the AgentSecret
|
|
913
|
+
*/
|
|
914
|
+
select?: Prisma.AgentSecretSelect<ExtArgs> | null;
|
|
915
|
+
/**
|
|
916
|
+
* Omit specific fields from the AgentSecret
|
|
917
|
+
*/
|
|
918
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
919
|
+
/**
|
|
920
|
+
* Choose, which related nodes to fetch as well
|
|
921
|
+
*/
|
|
922
|
+
include?: Prisma.AgentSecretInclude<ExtArgs> | null;
|
|
923
|
+
/**
|
|
924
|
+
* Filter, which AgentSecret to fetch.
|
|
925
|
+
*/
|
|
926
|
+
where?: Prisma.AgentSecretWhereInput;
|
|
927
|
+
/**
|
|
928
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
929
|
+
*
|
|
930
|
+
* Determine the order of AgentSecrets to fetch.
|
|
931
|
+
*/
|
|
932
|
+
orderBy?: Prisma.AgentSecretOrderByWithRelationInput | Prisma.AgentSecretOrderByWithRelationInput[];
|
|
933
|
+
/**
|
|
934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
935
|
+
*
|
|
936
|
+
* Sets the position for searching for AgentSecrets.
|
|
937
|
+
*/
|
|
938
|
+
cursor?: Prisma.AgentSecretWhereUniqueInput;
|
|
939
|
+
/**
|
|
940
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
941
|
+
*
|
|
942
|
+
* Take `±n` AgentSecrets from the position of the cursor.
|
|
943
|
+
*/
|
|
944
|
+
take?: number;
|
|
945
|
+
/**
|
|
946
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
947
|
+
*
|
|
948
|
+
* Skip the first `n` AgentSecrets.
|
|
949
|
+
*/
|
|
950
|
+
skip?: number;
|
|
951
|
+
/**
|
|
952
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
953
|
+
*
|
|
954
|
+
* Filter by unique combinations of AgentSecrets.
|
|
955
|
+
*/
|
|
956
|
+
distinct?: Prisma.AgentSecretScalarFieldEnum | Prisma.AgentSecretScalarFieldEnum[];
|
|
957
|
+
};
|
|
958
|
+
/**
|
|
959
|
+
* AgentSecret findMany
|
|
960
|
+
*/
|
|
961
|
+
export type AgentSecretFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
962
|
+
/**
|
|
963
|
+
* Select specific fields to fetch from the AgentSecret
|
|
964
|
+
*/
|
|
965
|
+
select?: Prisma.AgentSecretSelect<ExtArgs> | null;
|
|
966
|
+
/**
|
|
967
|
+
* Omit specific fields from the AgentSecret
|
|
968
|
+
*/
|
|
969
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
970
|
+
/**
|
|
971
|
+
* Choose, which related nodes to fetch as well
|
|
972
|
+
*/
|
|
973
|
+
include?: Prisma.AgentSecretInclude<ExtArgs> | null;
|
|
974
|
+
/**
|
|
975
|
+
* Filter, which AgentSecrets to fetch.
|
|
976
|
+
*/
|
|
977
|
+
where?: Prisma.AgentSecretWhereInput;
|
|
978
|
+
/**
|
|
979
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
980
|
+
*
|
|
981
|
+
* Determine the order of AgentSecrets to fetch.
|
|
982
|
+
*/
|
|
983
|
+
orderBy?: Prisma.AgentSecretOrderByWithRelationInput | Prisma.AgentSecretOrderByWithRelationInput[];
|
|
984
|
+
/**
|
|
985
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
986
|
+
*
|
|
987
|
+
* Sets the position for listing AgentSecrets.
|
|
988
|
+
*/
|
|
989
|
+
cursor?: Prisma.AgentSecretWhereUniqueInput;
|
|
990
|
+
/**
|
|
991
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
992
|
+
*
|
|
993
|
+
* Take `±n` AgentSecrets from the position of the cursor.
|
|
994
|
+
*/
|
|
995
|
+
take?: number;
|
|
996
|
+
/**
|
|
997
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
998
|
+
*
|
|
999
|
+
* Skip the first `n` AgentSecrets.
|
|
1000
|
+
*/
|
|
1001
|
+
skip?: number;
|
|
1002
|
+
/**
|
|
1003
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1004
|
+
*
|
|
1005
|
+
* Filter by unique combinations of AgentSecrets.
|
|
1006
|
+
*/
|
|
1007
|
+
distinct?: Prisma.AgentSecretScalarFieldEnum | Prisma.AgentSecretScalarFieldEnum[];
|
|
1008
|
+
};
|
|
1009
|
+
/**
|
|
1010
|
+
* AgentSecret create
|
|
1011
|
+
*/
|
|
1012
|
+
export type AgentSecretCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1013
|
+
/**
|
|
1014
|
+
* Select specific fields to fetch from the AgentSecret
|
|
1015
|
+
*/
|
|
1016
|
+
select?: Prisma.AgentSecretSelect<ExtArgs> | null;
|
|
1017
|
+
/**
|
|
1018
|
+
* Omit specific fields from the AgentSecret
|
|
1019
|
+
*/
|
|
1020
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
1021
|
+
/**
|
|
1022
|
+
* Choose, which related nodes to fetch as well
|
|
1023
|
+
*/
|
|
1024
|
+
include?: Prisma.AgentSecretInclude<ExtArgs> | null;
|
|
1025
|
+
/**
|
|
1026
|
+
* The data needed to create a AgentSecret.
|
|
1027
|
+
*/
|
|
1028
|
+
data: Prisma.XOR<Prisma.AgentSecretCreateInput, Prisma.AgentSecretUncheckedCreateInput>;
|
|
1029
|
+
};
|
|
1030
|
+
/**
|
|
1031
|
+
* AgentSecret createMany
|
|
1032
|
+
*/
|
|
1033
|
+
export type AgentSecretCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1034
|
+
/**
|
|
1035
|
+
* The data used to create many AgentSecrets.
|
|
1036
|
+
*/
|
|
1037
|
+
data: Prisma.AgentSecretCreateManyInput | Prisma.AgentSecretCreateManyInput[];
|
|
1038
|
+
skipDuplicates?: boolean;
|
|
1039
|
+
};
|
|
1040
|
+
/**
|
|
1041
|
+
* AgentSecret createManyAndReturn
|
|
1042
|
+
*/
|
|
1043
|
+
export type AgentSecretCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1044
|
+
/**
|
|
1045
|
+
* Select specific fields to fetch from the AgentSecret
|
|
1046
|
+
*/
|
|
1047
|
+
select?: Prisma.AgentSecretSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* Omit specific fields from the AgentSecret
|
|
1050
|
+
*/
|
|
1051
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
1052
|
+
/**
|
|
1053
|
+
* The data used to create many AgentSecrets.
|
|
1054
|
+
*/
|
|
1055
|
+
data: Prisma.AgentSecretCreateManyInput | Prisma.AgentSecretCreateManyInput[];
|
|
1056
|
+
skipDuplicates?: boolean;
|
|
1057
|
+
/**
|
|
1058
|
+
* Choose, which related nodes to fetch as well
|
|
1059
|
+
*/
|
|
1060
|
+
include?: Prisma.AgentSecretIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* AgentSecret update
|
|
1064
|
+
*/
|
|
1065
|
+
export type AgentSecretUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
|
+
/**
|
|
1067
|
+
* Select specific fields to fetch from the AgentSecret
|
|
1068
|
+
*/
|
|
1069
|
+
select?: Prisma.AgentSecretSelect<ExtArgs> | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Omit specific fields from the AgentSecret
|
|
1072
|
+
*/
|
|
1073
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
1074
|
+
/**
|
|
1075
|
+
* Choose, which related nodes to fetch as well
|
|
1076
|
+
*/
|
|
1077
|
+
include?: Prisma.AgentSecretInclude<ExtArgs> | null;
|
|
1078
|
+
/**
|
|
1079
|
+
* The data needed to update a AgentSecret.
|
|
1080
|
+
*/
|
|
1081
|
+
data: Prisma.XOR<Prisma.AgentSecretUpdateInput, Prisma.AgentSecretUncheckedUpdateInput>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Choose, which AgentSecret to update.
|
|
1084
|
+
*/
|
|
1085
|
+
where: Prisma.AgentSecretWhereUniqueInput;
|
|
1086
|
+
};
|
|
1087
|
+
/**
|
|
1088
|
+
* AgentSecret updateMany
|
|
1089
|
+
*/
|
|
1090
|
+
export type AgentSecretUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1091
|
+
/**
|
|
1092
|
+
* The data used to update AgentSecrets.
|
|
1093
|
+
*/
|
|
1094
|
+
data: Prisma.XOR<Prisma.AgentSecretUpdateManyMutationInput, Prisma.AgentSecretUncheckedUpdateManyInput>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Filter which AgentSecrets to update
|
|
1097
|
+
*/
|
|
1098
|
+
where?: Prisma.AgentSecretWhereInput;
|
|
1099
|
+
/**
|
|
1100
|
+
* Limit how many AgentSecrets to update.
|
|
1101
|
+
*/
|
|
1102
|
+
limit?: number;
|
|
1103
|
+
};
|
|
1104
|
+
/**
|
|
1105
|
+
* AgentSecret updateManyAndReturn
|
|
1106
|
+
*/
|
|
1107
|
+
export type AgentSecretUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1108
|
+
/**
|
|
1109
|
+
* Select specific fields to fetch from the AgentSecret
|
|
1110
|
+
*/
|
|
1111
|
+
select?: Prisma.AgentSecretSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1112
|
+
/**
|
|
1113
|
+
* Omit specific fields from the AgentSecret
|
|
1114
|
+
*/
|
|
1115
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* The data used to update AgentSecrets.
|
|
1118
|
+
*/
|
|
1119
|
+
data: Prisma.XOR<Prisma.AgentSecretUpdateManyMutationInput, Prisma.AgentSecretUncheckedUpdateManyInput>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Filter which AgentSecrets to update
|
|
1122
|
+
*/
|
|
1123
|
+
where?: Prisma.AgentSecretWhereInput;
|
|
1124
|
+
/**
|
|
1125
|
+
* Limit how many AgentSecrets to update.
|
|
1126
|
+
*/
|
|
1127
|
+
limit?: number;
|
|
1128
|
+
/**
|
|
1129
|
+
* Choose, which related nodes to fetch as well
|
|
1130
|
+
*/
|
|
1131
|
+
include?: Prisma.AgentSecretIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* AgentSecret upsert
|
|
1135
|
+
*/
|
|
1136
|
+
export type AgentSecretUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1137
|
+
/**
|
|
1138
|
+
* Select specific fields to fetch from the AgentSecret
|
|
1139
|
+
*/
|
|
1140
|
+
select?: Prisma.AgentSecretSelect<ExtArgs> | null;
|
|
1141
|
+
/**
|
|
1142
|
+
* Omit specific fields from the AgentSecret
|
|
1143
|
+
*/
|
|
1144
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
1145
|
+
/**
|
|
1146
|
+
* Choose, which related nodes to fetch as well
|
|
1147
|
+
*/
|
|
1148
|
+
include?: Prisma.AgentSecretInclude<ExtArgs> | null;
|
|
1149
|
+
/**
|
|
1150
|
+
* The filter to search for the AgentSecret to update in case it exists.
|
|
1151
|
+
*/
|
|
1152
|
+
where: Prisma.AgentSecretWhereUniqueInput;
|
|
1153
|
+
/**
|
|
1154
|
+
* In case the AgentSecret found by the `where` argument doesn't exist, create a new AgentSecret with this data.
|
|
1155
|
+
*/
|
|
1156
|
+
create: Prisma.XOR<Prisma.AgentSecretCreateInput, Prisma.AgentSecretUncheckedCreateInput>;
|
|
1157
|
+
/**
|
|
1158
|
+
* In case the AgentSecret was found with the provided `where` argument, update it with this data.
|
|
1159
|
+
*/
|
|
1160
|
+
update: Prisma.XOR<Prisma.AgentSecretUpdateInput, Prisma.AgentSecretUncheckedUpdateInput>;
|
|
1161
|
+
};
|
|
1162
|
+
/**
|
|
1163
|
+
* AgentSecret delete
|
|
1164
|
+
*/
|
|
1165
|
+
export type AgentSecretDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1166
|
+
/**
|
|
1167
|
+
* Select specific fields to fetch from the AgentSecret
|
|
1168
|
+
*/
|
|
1169
|
+
select?: Prisma.AgentSecretSelect<ExtArgs> | null;
|
|
1170
|
+
/**
|
|
1171
|
+
* Omit specific fields from the AgentSecret
|
|
1172
|
+
*/
|
|
1173
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
1174
|
+
/**
|
|
1175
|
+
* Choose, which related nodes to fetch as well
|
|
1176
|
+
*/
|
|
1177
|
+
include?: Prisma.AgentSecretInclude<ExtArgs> | null;
|
|
1178
|
+
/**
|
|
1179
|
+
* Filter which AgentSecret to delete.
|
|
1180
|
+
*/
|
|
1181
|
+
where: Prisma.AgentSecretWhereUniqueInput;
|
|
1182
|
+
};
|
|
1183
|
+
/**
|
|
1184
|
+
* AgentSecret deleteMany
|
|
1185
|
+
*/
|
|
1186
|
+
export type AgentSecretDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1187
|
+
/**
|
|
1188
|
+
* Filter which AgentSecrets to delete
|
|
1189
|
+
*/
|
|
1190
|
+
where?: Prisma.AgentSecretWhereInput;
|
|
1191
|
+
/**
|
|
1192
|
+
* Limit how many AgentSecrets to delete.
|
|
1193
|
+
*/
|
|
1194
|
+
limit?: number;
|
|
1195
|
+
};
|
|
1196
|
+
/**
|
|
1197
|
+
* AgentSecret without action
|
|
1198
|
+
*/
|
|
1199
|
+
export type AgentSecretDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1200
|
+
/**
|
|
1201
|
+
* Select specific fields to fetch from the AgentSecret
|
|
1202
|
+
*/
|
|
1203
|
+
select?: Prisma.AgentSecretSelect<ExtArgs> | null;
|
|
1204
|
+
/**
|
|
1205
|
+
* Omit specific fields from the AgentSecret
|
|
1206
|
+
*/
|
|
1207
|
+
omit?: Prisma.AgentSecretOmit<ExtArgs> | null;
|
|
1208
|
+
/**
|
|
1209
|
+
* Choose, which related nodes to fetch as well
|
|
1210
|
+
*/
|
|
1211
|
+
include?: Prisma.AgentSecretInclude<ExtArgs> | null;
|
|
1212
|
+
};
|