@wardby/cli 0.2.1 → 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 +41 -4
- package/dist/claude-coding-worker/driver.d.ts +6 -1
- package/dist/claude-coding-worker/driver.js +27 -1
- package/dist/claude-coding-worker/main.js +2 -0
- 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 +75 -4
- package/dist/coding/protocol.js +107 -7
- 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 +6 -0
- 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 +13 -1
- package/dist/coding-worker/driver.js +102 -13
- package/dist/coding-worker/errors.js +8 -0
- package/dist/coding-worker/main.js +10 -2
- 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 +108 -5
- 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/datastores.js +18 -2
- package/dist/core/db.d.ts +5 -1
- package/dist/core/db.js +8 -2
- package/dist/core/dispatch.d.ts +33 -6
- package/dist/core/dispatch.js +260 -43
- 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/in-flight-runs.d.ts +8 -0
- package/dist/core/in-flight-runs.js +56 -0
- package/dist/core/provider-wording.d.ts +12 -0
- package/dist/core/provider-wording.js +44 -0
- package/dist/core/reconciler.d.ts +38 -2
- 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 +30 -8
- package/dist/core/runner.js +237 -40
- package/dist/core/secrets.d.ts +11 -2
- package/dist/core/secrets.js +25 -6
- package/dist/core/subagent-memory-tools.d.ts +1 -1
- 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 +8 -1
- package/dist/core/webhooks.js +23 -2
- package/dist/generated/prisma/browser.d.ts +100 -0
- package/dist/generated/prisma/client.d.ts +100 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +30 -0
- package/dist/generated/prisma/enums.d.ts +6 -0
- package/dist/generated/prisma/enums.js +6 -1
- package/dist/generated/prisma/internal/class.d.ts +143 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +1746 -577
- package/dist/generated/prisma/internal/prismaNamespace.js +179 -6
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +186 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +179 -6
- package/dist/generated/prisma/models/Agent.d.ts +294 -1
- package/dist/generated/prisma/models/AgentRepository.d.ts +1425 -0
- package/dist/generated/prisma/models/AgentRepository.js +1 -0
- package/dist/generated/prisma/models/AgentTool.d.ts +95 -1
- package/dist/generated/prisma/models/AuthUser.d.ts +56 -1
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +258 -7
- package/dist/generated/prisma/models/CodingProxySession.d.ts +123 -2
- package/dist/generated/prisma/models/CodingRun.d.ts +1276 -95
- package/dist/generated/prisma/models/CodingService.d.ts +1348 -0
- package/dist/generated/prisma/models/CodingService.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/Principal.d.ts +455 -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 +389 -1
- 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/Tool.d.ts +15 -3
- package/dist/generated/prisma/models.d.ts +13 -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 +5 -0
- package/dist/import/create.js +67 -13
- 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 +26 -52
- package/dist/mcp/auth/ownership.js +19 -14
- 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 +31 -2
- package/dist/mcp/auth/resource-server.js +84 -3
- package/dist/mcp/auth/self-hosted/browser.js +2 -2
- package/dist/mcp/auth/self-hosted/cli.js +47 -13
- package/dist/mcp/auth/self-hosted/credentials.d.ts +20 -2
- package/dist/mcp/auth/self-hosted/credentials.js +62 -4
- package/dist/mcp/auth/self-hosted/session.d.ts +2 -1
- package/dist/mcp/context.d.ts +27 -1
- 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.js +27 -9
- package/dist/mcp/tools/agents.js +446 -48
- package/dist/mcp/tools/budget-groups.js +3 -3
- package/dist/mcp/tools/datastore.js +22 -15
- 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 +3 -6
- 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 +52 -16
- package/dist/mcp/tools/tools.d.ts +41 -0
- package/dist/mcp/tools/tools.js +201 -40
- package/dist/mcp/tools/trigger.js +36 -6
- package/dist/mcp/tools/webhooks.js +15 -4
- package/dist/mcp/transport/streamable-http.d.ts +10 -0
- package/dist/mcp/transport/streamable-http.js +32 -2
- package/dist/providers/auth/delegating.d.ts +19 -0
- package/dist/providers/auth/delegating.js +71 -0
- package/dist/providers/auth/index.d.ts +2 -0
- package/dist/providers/auth/index.js +11 -0
- package/dist/providers/auth/self-hosted.d.ts +2 -1
- 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 +17 -0
- 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 +17 -0
- 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/engine/types.d.ts +10 -0
- package/dist/providers/executor/build.d.ts +2 -2
- package/dist/providers/executor/composition.d.ts +3 -0
- package/dist/providers/executor/composition.js +19 -0
- package/dist/providers/executor/container.d.ts +105 -3
- package/dist/providers/executor/container.js +296 -20
- package/dist/providers/executor/dbos.d.ts +2 -3
- 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 +49 -2
- package/dist/providers/jobs/docker.js +279 -32
- 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 +112 -21
- package/dist/providers/jobs/types.d.ts +18 -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/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 +77 -13
- 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 +13 -2
- 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 +12 -3
- 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 +407 -21
|
@@ -131,6 +131,9 @@ export type PrincipalWhereInput = {
|
|
|
131
131
|
webhooks?: Prisma.WebhookListRelationFilter;
|
|
132
132
|
authUser?: Prisma.XOR<Prisma.AuthUserNullableScalarRelationFilter, Prisma.AuthUserWhereInput> | null;
|
|
133
133
|
budgetGroups?: Prisma.BudgetGroupListRelationFilter;
|
|
134
|
+
hostIdentities?: Prisma.HostIdentityListRelationFilter;
|
|
135
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestListRelationFilter;
|
|
136
|
+
grants?: Prisma.ResourceGrantListRelationFilter;
|
|
134
137
|
};
|
|
135
138
|
export type PrincipalOrderByWithRelationInput = {
|
|
136
139
|
id?: Prisma.SortOrder;
|
|
@@ -143,6 +146,9 @@ export type PrincipalOrderByWithRelationInput = {
|
|
|
143
146
|
webhooks?: Prisma.WebhookOrderByRelationAggregateInput;
|
|
144
147
|
authUser?: Prisma.AuthUserOrderByWithRelationInput;
|
|
145
148
|
budgetGroups?: Prisma.BudgetGroupOrderByRelationAggregateInput;
|
|
149
|
+
hostIdentities?: Prisma.HostIdentityOrderByRelationAggregateInput;
|
|
150
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestOrderByRelationAggregateInput;
|
|
151
|
+
grants?: Prisma.ResourceGrantOrderByRelationAggregateInput;
|
|
146
152
|
};
|
|
147
153
|
export type PrincipalWhereUniqueInput = Prisma.AtLeast<{
|
|
148
154
|
id?: string;
|
|
@@ -158,6 +164,9 @@ export type PrincipalWhereUniqueInput = Prisma.AtLeast<{
|
|
|
158
164
|
webhooks?: Prisma.WebhookListRelationFilter;
|
|
159
165
|
authUser?: Prisma.XOR<Prisma.AuthUserNullableScalarRelationFilter, Prisma.AuthUserWhereInput> | null;
|
|
160
166
|
budgetGroups?: Prisma.BudgetGroupListRelationFilter;
|
|
167
|
+
hostIdentities?: Prisma.HostIdentityListRelationFilter;
|
|
168
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestListRelationFilter;
|
|
169
|
+
grants?: Prisma.ResourceGrantListRelationFilter;
|
|
161
170
|
}, "id" | "subject">;
|
|
162
171
|
export type PrincipalOrderByWithAggregationInput = {
|
|
163
172
|
id?: Prisma.SortOrder;
|
|
@@ -186,6 +195,9 @@ export type PrincipalCreateInput = {
|
|
|
186
195
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
187
196
|
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
188
197
|
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
198
|
+
hostIdentities?: Prisma.HostIdentityCreateNestedManyWithoutPrincipalInput;
|
|
199
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestCreateNestedManyWithoutPrincipalInput;
|
|
200
|
+
grants?: Prisma.ResourceGrantCreateNestedManyWithoutGranteePrincipalInput;
|
|
189
201
|
};
|
|
190
202
|
export type PrincipalUncheckedCreateInput = {
|
|
191
203
|
id?: string;
|
|
@@ -198,6 +210,9 @@ export type PrincipalUncheckedCreateInput = {
|
|
|
198
210
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
199
211
|
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
200
212
|
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
213
|
+
hostIdentities?: Prisma.HostIdentityUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
214
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
215
|
+
grants?: Prisma.ResourceGrantUncheckedCreateNestedManyWithoutGranteePrincipalInput;
|
|
201
216
|
};
|
|
202
217
|
export type PrincipalUpdateInput = {
|
|
203
218
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -210,6 +225,9 @@ export type PrincipalUpdateInput = {
|
|
|
210
225
|
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
211
226
|
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
212
227
|
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
228
|
+
hostIdentities?: Prisma.HostIdentityUpdateManyWithoutPrincipalNestedInput;
|
|
229
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUpdateManyWithoutPrincipalNestedInput;
|
|
230
|
+
grants?: Prisma.ResourceGrantUpdateManyWithoutGranteePrincipalNestedInput;
|
|
213
231
|
};
|
|
214
232
|
export type PrincipalUncheckedUpdateInput = {
|
|
215
233
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -222,6 +240,9 @@ export type PrincipalUncheckedUpdateInput = {
|
|
|
222
240
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
223
241
|
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
224
242
|
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
243
|
+
hostIdentities?: Prisma.HostIdentityUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
244
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
245
|
+
grants?: Prisma.ResourceGrantUncheckedUpdateManyWithoutGranteePrincipalNestedInput;
|
|
225
246
|
};
|
|
226
247
|
export type PrincipalCreateManyInput = {
|
|
227
248
|
id?: string;
|
|
@@ -317,6 +338,20 @@ export type PrincipalUpdateOneWithoutDatastoresNestedInput = {
|
|
|
317
338
|
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
318
339
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutDatastoresInput, Prisma.PrincipalUpdateWithoutDatastoresInput>, Prisma.PrincipalUncheckedUpdateWithoutDatastoresInput>;
|
|
319
340
|
};
|
|
341
|
+
export type PrincipalCreateNestedOneWithoutGrantsInput = {
|
|
342
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutGrantsInput, Prisma.PrincipalUncheckedCreateWithoutGrantsInput>;
|
|
343
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutGrantsInput;
|
|
344
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
345
|
+
};
|
|
346
|
+
export type PrincipalUpdateOneWithoutGrantsNestedInput = {
|
|
347
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutGrantsInput, Prisma.PrincipalUncheckedCreateWithoutGrantsInput>;
|
|
348
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutGrantsInput;
|
|
349
|
+
upsert?: Prisma.PrincipalUpsertWithoutGrantsInput;
|
|
350
|
+
disconnect?: Prisma.PrincipalWhereInput | boolean;
|
|
351
|
+
delete?: Prisma.PrincipalWhereInput | boolean;
|
|
352
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
353
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutGrantsInput, Prisma.PrincipalUpdateWithoutGrantsInput>, Prisma.PrincipalUncheckedUpdateWithoutGrantsInput>;
|
|
354
|
+
};
|
|
320
355
|
export type PrincipalCreateNestedOneWithoutSecretsInput = {
|
|
321
356
|
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutSecretsInput, Prisma.PrincipalUncheckedCreateWithoutSecretsInput>;
|
|
322
357
|
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutSecretsInput;
|
|
@@ -357,6 +392,30 @@ export type PrincipalUpdateOneRequiredWithoutAuthUserNestedInput = {
|
|
|
357
392
|
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
358
393
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutAuthUserInput, Prisma.PrincipalUpdateWithoutAuthUserInput>, Prisma.PrincipalUncheckedUpdateWithoutAuthUserInput>;
|
|
359
394
|
};
|
|
395
|
+
export type PrincipalCreateNestedOneWithoutHostIdentitiesInput = {
|
|
396
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutHostIdentitiesInput, Prisma.PrincipalUncheckedCreateWithoutHostIdentitiesInput>;
|
|
397
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutHostIdentitiesInput;
|
|
398
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
399
|
+
};
|
|
400
|
+
export type PrincipalUpdateOneRequiredWithoutHostIdentitiesNestedInput = {
|
|
401
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutHostIdentitiesInput, Prisma.PrincipalUncheckedCreateWithoutHostIdentitiesInput>;
|
|
402
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutHostIdentitiesInput;
|
|
403
|
+
upsert?: Prisma.PrincipalUpsertWithoutHostIdentitiesInput;
|
|
404
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
405
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutHostIdentitiesInput, Prisma.PrincipalUpdateWithoutHostIdentitiesInput>, Prisma.PrincipalUncheckedUpdateWithoutHostIdentitiesInput>;
|
|
406
|
+
};
|
|
407
|
+
export type PrincipalCreateNestedOneWithoutHostIdentityLinkRequestsInput = {
|
|
408
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutHostIdentityLinkRequestsInput, Prisma.PrincipalUncheckedCreateWithoutHostIdentityLinkRequestsInput>;
|
|
409
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutHostIdentityLinkRequestsInput;
|
|
410
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
411
|
+
};
|
|
412
|
+
export type PrincipalUpdateOneRequiredWithoutHostIdentityLinkRequestsNestedInput = {
|
|
413
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutHostIdentityLinkRequestsInput, Prisma.PrincipalUncheckedCreateWithoutHostIdentityLinkRequestsInput>;
|
|
414
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutHostIdentityLinkRequestsInput;
|
|
415
|
+
upsert?: Prisma.PrincipalUpsertWithoutHostIdentityLinkRequestsInput;
|
|
416
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
417
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutHostIdentityLinkRequestsInput, Prisma.PrincipalUpdateWithoutHostIdentityLinkRequestsInput>, Prisma.PrincipalUncheckedUpdateWithoutHostIdentityLinkRequestsInput>;
|
|
418
|
+
};
|
|
360
419
|
export type PrincipalCreateWithoutAgentsInput = {
|
|
361
420
|
id?: string;
|
|
362
421
|
subject: string;
|
|
@@ -367,6 +426,9 @@ export type PrincipalCreateWithoutAgentsInput = {
|
|
|
367
426
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
368
427
|
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
369
428
|
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
429
|
+
hostIdentities?: Prisma.HostIdentityCreateNestedManyWithoutPrincipalInput;
|
|
430
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestCreateNestedManyWithoutPrincipalInput;
|
|
431
|
+
grants?: Prisma.ResourceGrantCreateNestedManyWithoutGranteePrincipalInput;
|
|
370
432
|
};
|
|
371
433
|
export type PrincipalUncheckedCreateWithoutAgentsInput = {
|
|
372
434
|
id?: string;
|
|
@@ -378,6 +440,9 @@ export type PrincipalUncheckedCreateWithoutAgentsInput = {
|
|
|
378
440
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
379
441
|
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
380
442
|
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
443
|
+
hostIdentities?: Prisma.HostIdentityUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
444
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
445
|
+
grants?: Prisma.ResourceGrantUncheckedCreateNestedManyWithoutGranteePrincipalInput;
|
|
381
446
|
};
|
|
382
447
|
export type PrincipalCreateOrConnectWithoutAgentsInput = {
|
|
383
448
|
where: Prisma.PrincipalWhereUniqueInput;
|
|
@@ -402,6 +467,9 @@ export type PrincipalUpdateWithoutAgentsInput = {
|
|
|
402
467
|
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
403
468
|
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
404
469
|
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
470
|
+
hostIdentities?: Prisma.HostIdentityUpdateManyWithoutPrincipalNestedInput;
|
|
471
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUpdateManyWithoutPrincipalNestedInput;
|
|
472
|
+
grants?: Prisma.ResourceGrantUpdateManyWithoutGranteePrincipalNestedInput;
|
|
405
473
|
};
|
|
406
474
|
export type PrincipalUncheckedUpdateWithoutAgentsInput = {
|
|
407
475
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -413,6 +481,9 @@ export type PrincipalUncheckedUpdateWithoutAgentsInput = {
|
|
|
413
481
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
414
482
|
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
415
483
|
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
484
|
+
hostIdentities?: Prisma.HostIdentityUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
485
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
486
|
+
grants?: Prisma.ResourceGrantUncheckedUpdateManyWithoutGranteePrincipalNestedInput;
|
|
416
487
|
};
|
|
417
488
|
export type PrincipalCreateWithoutBudgetGroupsInput = {
|
|
418
489
|
id?: string;
|
|
@@ -424,6 +495,9 @@ export type PrincipalCreateWithoutBudgetGroupsInput = {
|
|
|
424
495
|
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
425
496
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
426
497
|
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
498
|
+
hostIdentities?: Prisma.HostIdentityCreateNestedManyWithoutPrincipalInput;
|
|
499
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestCreateNestedManyWithoutPrincipalInput;
|
|
500
|
+
grants?: Prisma.ResourceGrantCreateNestedManyWithoutGranteePrincipalInput;
|
|
427
501
|
};
|
|
428
502
|
export type PrincipalUncheckedCreateWithoutBudgetGroupsInput = {
|
|
429
503
|
id?: string;
|
|
@@ -435,6 +509,9 @@ export type PrincipalUncheckedCreateWithoutBudgetGroupsInput = {
|
|
|
435
509
|
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
436
510
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
437
511
|
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
512
|
+
hostIdentities?: Prisma.HostIdentityUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
513
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
514
|
+
grants?: Prisma.ResourceGrantUncheckedCreateNestedManyWithoutGranteePrincipalInput;
|
|
438
515
|
};
|
|
439
516
|
export type PrincipalCreateOrConnectWithoutBudgetGroupsInput = {
|
|
440
517
|
where: Prisma.PrincipalWhereUniqueInput;
|
|
@@ -459,6 +536,9 @@ export type PrincipalUpdateWithoutBudgetGroupsInput = {
|
|
|
459
536
|
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
460
537
|
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
461
538
|
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
539
|
+
hostIdentities?: Prisma.HostIdentityUpdateManyWithoutPrincipalNestedInput;
|
|
540
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUpdateManyWithoutPrincipalNestedInput;
|
|
541
|
+
grants?: Prisma.ResourceGrantUpdateManyWithoutGranteePrincipalNestedInput;
|
|
462
542
|
};
|
|
463
543
|
export type PrincipalUncheckedUpdateWithoutBudgetGroupsInput = {
|
|
464
544
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -470,6 +550,9 @@ export type PrincipalUncheckedUpdateWithoutBudgetGroupsInput = {
|
|
|
470
550
|
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
471
551
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
472
552
|
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
553
|
+
hostIdentities?: Prisma.HostIdentityUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
554
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
555
|
+
grants?: Prisma.ResourceGrantUncheckedUpdateManyWithoutGranteePrincipalNestedInput;
|
|
473
556
|
};
|
|
474
557
|
export type PrincipalCreateWithoutToolsInput = {
|
|
475
558
|
id?: string;
|
|
@@ -481,6 +564,9 @@ export type PrincipalCreateWithoutToolsInput = {
|
|
|
481
564
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
482
565
|
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
483
566
|
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
567
|
+
hostIdentities?: Prisma.HostIdentityCreateNestedManyWithoutPrincipalInput;
|
|
568
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestCreateNestedManyWithoutPrincipalInput;
|
|
569
|
+
grants?: Prisma.ResourceGrantCreateNestedManyWithoutGranteePrincipalInput;
|
|
484
570
|
};
|
|
485
571
|
export type PrincipalUncheckedCreateWithoutToolsInput = {
|
|
486
572
|
id?: string;
|
|
@@ -492,6 +578,9 @@ export type PrincipalUncheckedCreateWithoutToolsInput = {
|
|
|
492
578
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
493
579
|
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
494
580
|
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
581
|
+
hostIdentities?: Prisma.HostIdentityUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
582
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
583
|
+
grants?: Prisma.ResourceGrantUncheckedCreateNestedManyWithoutGranteePrincipalInput;
|
|
495
584
|
};
|
|
496
585
|
export type PrincipalCreateOrConnectWithoutToolsInput = {
|
|
497
586
|
where: Prisma.PrincipalWhereUniqueInput;
|
|
@@ -516,6 +605,9 @@ export type PrincipalUpdateWithoutToolsInput = {
|
|
|
516
605
|
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
517
606
|
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
518
607
|
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
608
|
+
hostIdentities?: Prisma.HostIdentityUpdateManyWithoutPrincipalNestedInput;
|
|
609
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUpdateManyWithoutPrincipalNestedInput;
|
|
610
|
+
grants?: Prisma.ResourceGrantUpdateManyWithoutGranteePrincipalNestedInput;
|
|
519
611
|
};
|
|
520
612
|
export type PrincipalUncheckedUpdateWithoutToolsInput = {
|
|
521
613
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -527,6 +619,9 @@ export type PrincipalUncheckedUpdateWithoutToolsInput = {
|
|
|
527
619
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
528
620
|
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
529
621
|
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
622
|
+
hostIdentities?: Prisma.HostIdentityUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
623
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
624
|
+
grants?: Prisma.ResourceGrantUncheckedUpdateManyWithoutGranteePrincipalNestedInput;
|
|
530
625
|
};
|
|
531
626
|
export type PrincipalCreateWithoutDatastoresInput = {
|
|
532
627
|
id?: string;
|
|
@@ -538,6 +633,9 @@ export type PrincipalCreateWithoutDatastoresInput = {
|
|
|
538
633
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
539
634
|
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
540
635
|
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
636
|
+
hostIdentities?: Prisma.HostIdentityCreateNestedManyWithoutPrincipalInput;
|
|
637
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestCreateNestedManyWithoutPrincipalInput;
|
|
638
|
+
grants?: Prisma.ResourceGrantCreateNestedManyWithoutGranteePrincipalInput;
|
|
541
639
|
};
|
|
542
640
|
export type PrincipalUncheckedCreateWithoutDatastoresInput = {
|
|
543
641
|
id?: string;
|
|
@@ -549,6 +647,9 @@ export type PrincipalUncheckedCreateWithoutDatastoresInput = {
|
|
|
549
647
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
550
648
|
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
551
649
|
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
650
|
+
hostIdentities?: Prisma.HostIdentityUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
651
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
652
|
+
grants?: Prisma.ResourceGrantUncheckedCreateNestedManyWithoutGranteePrincipalInput;
|
|
552
653
|
};
|
|
553
654
|
export type PrincipalCreateOrConnectWithoutDatastoresInput = {
|
|
554
655
|
where: Prisma.PrincipalWhereUniqueInput;
|
|
@@ -573,6 +674,9 @@ export type PrincipalUpdateWithoutDatastoresInput = {
|
|
|
573
674
|
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
574
675
|
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
575
676
|
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
677
|
+
hostIdentities?: Prisma.HostIdentityUpdateManyWithoutPrincipalNestedInput;
|
|
678
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUpdateManyWithoutPrincipalNestedInput;
|
|
679
|
+
grants?: Prisma.ResourceGrantUpdateManyWithoutGranteePrincipalNestedInput;
|
|
576
680
|
};
|
|
577
681
|
export type PrincipalUncheckedUpdateWithoutDatastoresInput = {
|
|
578
682
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -584,6 +688,78 @@ export type PrincipalUncheckedUpdateWithoutDatastoresInput = {
|
|
|
584
688
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
585
689
|
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
586
690
|
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
691
|
+
hostIdentities?: Prisma.HostIdentityUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
692
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
693
|
+
grants?: Prisma.ResourceGrantUncheckedUpdateManyWithoutGranteePrincipalNestedInput;
|
|
694
|
+
};
|
|
695
|
+
export type PrincipalCreateWithoutGrantsInput = {
|
|
696
|
+
id?: string;
|
|
697
|
+
subject: string;
|
|
698
|
+
createdAt?: Date | string;
|
|
699
|
+
agents?: Prisma.AgentCreateNestedManyWithoutOwnerInput;
|
|
700
|
+
tools?: Prisma.ToolCreateNestedManyWithoutOwnerInput;
|
|
701
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutOwnerInput;
|
|
702
|
+
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
703
|
+
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
704
|
+
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
705
|
+
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
706
|
+
hostIdentities?: Prisma.HostIdentityCreateNestedManyWithoutPrincipalInput;
|
|
707
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestCreateNestedManyWithoutPrincipalInput;
|
|
708
|
+
};
|
|
709
|
+
export type PrincipalUncheckedCreateWithoutGrantsInput = {
|
|
710
|
+
id?: string;
|
|
711
|
+
subject: string;
|
|
712
|
+
createdAt?: Date | string;
|
|
713
|
+
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutOwnerInput;
|
|
714
|
+
tools?: Prisma.ToolUncheckedCreateNestedManyWithoutOwnerInput;
|
|
715
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutOwnerInput;
|
|
716
|
+
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
717
|
+
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
718
|
+
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
719
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
720
|
+
hostIdentities?: Prisma.HostIdentityUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
721
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
722
|
+
};
|
|
723
|
+
export type PrincipalCreateOrConnectWithoutGrantsInput = {
|
|
724
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
725
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutGrantsInput, Prisma.PrincipalUncheckedCreateWithoutGrantsInput>;
|
|
726
|
+
};
|
|
727
|
+
export type PrincipalUpsertWithoutGrantsInput = {
|
|
728
|
+
update: Prisma.XOR<Prisma.PrincipalUpdateWithoutGrantsInput, Prisma.PrincipalUncheckedUpdateWithoutGrantsInput>;
|
|
729
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutGrantsInput, Prisma.PrincipalUncheckedCreateWithoutGrantsInput>;
|
|
730
|
+
where?: Prisma.PrincipalWhereInput;
|
|
731
|
+
};
|
|
732
|
+
export type PrincipalUpdateToOneWithWhereWithoutGrantsInput = {
|
|
733
|
+
where?: Prisma.PrincipalWhereInput;
|
|
734
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateWithoutGrantsInput, Prisma.PrincipalUncheckedUpdateWithoutGrantsInput>;
|
|
735
|
+
};
|
|
736
|
+
export type PrincipalUpdateWithoutGrantsInput = {
|
|
737
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
738
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
739
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
740
|
+
agents?: Prisma.AgentUpdateManyWithoutOwnerNestedInput;
|
|
741
|
+
tools?: Prisma.ToolUpdateManyWithoutOwnerNestedInput;
|
|
742
|
+
secrets?: Prisma.SecretUpdateManyWithoutOwnerNestedInput;
|
|
743
|
+
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
744
|
+
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
745
|
+
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
746
|
+
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
747
|
+
hostIdentities?: Prisma.HostIdentityUpdateManyWithoutPrincipalNestedInput;
|
|
748
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUpdateManyWithoutPrincipalNestedInput;
|
|
749
|
+
};
|
|
750
|
+
export type PrincipalUncheckedUpdateWithoutGrantsInput = {
|
|
751
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
752
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
753
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
754
|
+
agents?: Prisma.AgentUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
755
|
+
tools?: Prisma.ToolUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
756
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
757
|
+
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
758
|
+
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
759
|
+
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
760
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
761
|
+
hostIdentities?: Prisma.HostIdentityUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
762
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
587
763
|
};
|
|
588
764
|
export type PrincipalCreateWithoutSecretsInput = {
|
|
589
765
|
id?: string;
|
|
@@ -595,6 +771,9 @@ export type PrincipalCreateWithoutSecretsInput = {
|
|
|
595
771
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
596
772
|
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
597
773
|
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
774
|
+
hostIdentities?: Prisma.HostIdentityCreateNestedManyWithoutPrincipalInput;
|
|
775
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestCreateNestedManyWithoutPrincipalInput;
|
|
776
|
+
grants?: Prisma.ResourceGrantCreateNestedManyWithoutGranteePrincipalInput;
|
|
598
777
|
};
|
|
599
778
|
export type PrincipalUncheckedCreateWithoutSecretsInput = {
|
|
600
779
|
id?: string;
|
|
@@ -606,6 +785,9 @@ export type PrincipalUncheckedCreateWithoutSecretsInput = {
|
|
|
606
785
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
607
786
|
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
608
787
|
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
788
|
+
hostIdentities?: Prisma.HostIdentityUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
789
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
790
|
+
grants?: Prisma.ResourceGrantUncheckedCreateNestedManyWithoutGranteePrincipalInput;
|
|
609
791
|
};
|
|
610
792
|
export type PrincipalCreateOrConnectWithoutSecretsInput = {
|
|
611
793
|
where: Prisma.PrincipalWhereUniqueInput;
|
|
@@ -630,6 +812,9 @@ export type PrincipalUpdateWithoutSecretsInput = {
|
|
|
630
812
|
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
631
813
|
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
632
814
|
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
815
|
+
hostIdentities?: Prisma.HostIdentityUpdateManyWithoutPrincipalNestedInput;
|
|
816
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUpdateManyWithoutPrincipalNestedInput;
|
|
817
|
+
grants?: Prisma.ResourceGrantUpdateManyWithoutGranteePrincipalNestedInput;
|
|
633
818
|
};
|
|
634
819
|
export type PrincipalUncheckedUpdateWithoutSecretsInput = {
|
|
635
820
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -641,6 +826,9 @@ export type PrincipalUncheckedUpdateWithoutSecretsInput = {
|
|
|
641
826
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
642
827
|
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
643
828
|
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
829
|
+
hostIdentities?: Prisma.HostIdentityUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
830
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
831
|
+
grants?: Prisma.ResourceGrantUncheckedUpdateManyWithoutGranteePrincipalNestedInput;
|
|
644
832
|
};
|
|
645
833
|
export type PrincipalCreateWithoutWebhooksInput = {
|
|
646
834
|
id?: string;
|
|
@@ -652,6 +840,9 @@ export type PrincipalCreateWithoutWebhooksInput = {
|
|
|
652
840
|
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
653
841
|
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
654
842
|
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
843
|
+
hostIdentities?: Prisma.HostIdentityCreateNestedManyWithoutPrincipalInput;
|
|
844
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestCreateNestedManyWithoutPrincipalInput;
|
|
845
|
+
grants?: Prisma.ResourceGrantCreateNestedManyWithoutGranteePrincipalInput;
|
|
655
846
|
};
|
|
656
847
|
export type PrincipalUncheckedCreateWithoutWebhooksInput = {
|
|
657
848
|
id?: string;
|
|
@@ -663,6 +854,9 @@ export type PrincipalUncheckedCreateWithoutWebhooksInput = {
|
|
|
663
854
|
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
664
855
|
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
665
856
|
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
857
|
+
hostIdentities?: Prisma.HostIdentityUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
858
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
859
|
+
grants?: Prisma.ResourceGrantUncheckedCreateNestedManyWithoutGranteePrincipalInput;
|
|
666
860
|
};
|
|
667
861
|
export type PrincipalCreateOrConnectWithoutWebhooksInput = {
|
|
668
862
|
where: Prisma.PrincipalWhereUniqueInput;
|
|
@@ -687,6 +881,9 @@ export type PrincipalUpdateWithoutWebhooksInput = {
|
|
|
687
881
|
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
688
882
|
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
689
883
|
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
884
|
+
hostIdentities?: Prisma.HostIdentityUpdateManyWithoutPrincipalNestedInput;
|
|
885
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUpdateManyWithoutPrincipalNestedInput;
|
|
886
|
+
grants?: Prisma.ResourceGrantUpdateManyWithoutGranteePrincipalNestedInput;
|
|
690
887
|
};
|
|
691
888
|
export type PrincipalUncheckedUpdateWithoutWebhooksInput = {
|
|
692
889
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -698,6 +895,9 @@ export type PrincipalUncheckedUpdateWithoutWebhooksInput = {
|
|
|
698
895
|
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
699
896
|
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
700
897
|
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
898
|
+
hostIdentities?: Prisma.HostIdentityUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
899
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
900
|
+
grants?: Prisma.ResourceGrantUncheckedUpdateManyWithoutGranteePrincipalNestedInput;
|
|
701
901
|
};
|
|
702
902
|
export type PrincipalCreateWithoutAuthUserInput = {
|
|
703
903
|
id?: string;
|
|
@@ -709,6 +909,9 @@ export type PrincipalCreateWithoutAuthUserInput = {
|
|
|
709
909
|
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
710
910
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
711
911
|
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
912
|
+
hostIdentities?: Prisma.HostIdentityCreateNestedManyWithoutPrincipalInput;
|
|
913
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestCreateNestedManyWithoutPrincipalInput;
|
|
914
|
+
grants?: Prisma.ResourceGrantCreateNestedManyWithoutGranteePrincipalInput;
|
|
712
915
|
};
|
|
713
916
|
export type PrincipalUncheckedCreateWithoutAuthUserInput = {
|
|
714
917
|
id?: string;
|
|
@@ -720,6 +923,9 @@ export type PrincipalUncheckedCreateWithoutAuthUserInput = {
|
|
|
720
923
|
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
721
924
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
722
925
|
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
926
|
+
hostIdentities?: Prisma.HostIdentityUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
927
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
928
|
+
grants?: Prisma.ResourceGrantUncheckedCreateNestedManyWithoutGranteePrincipalInput;
|
|
723
929
|
};
|
|
724
930
|
export type PrincipalCreateOrConnectWithoutAuthUserInput = {
|
|
725
931
|
where: Prisma.PrincipalWhereUniqueInput;
|
|
@@ -744,6 +950,9 @@ export type PrincipalUpdateWithoutAuthUserInput = {
|
|
|
744
950
|
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
745
951
|
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
746
952
|
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
953
|
+
hostIdentities?: Prisma.HostIdentityUpdateManyWithoutPrincipalNestedInput;
|
|
954
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUpdateManyWithoutPrincipalNestedInput;
|
|
955
|
+
grants?: Prisma.ResourceGrantUpdateManyWithoutGranteePrincipalNestedInput;
|
|
747
956
|
};
|
|
748
957
|
export type PrincipalUncheckedUpdateWithoutAuthUserInput = {
|
|
749
958
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -755,6 +964,147 @@ export type PrincipalUncheckedUpdateWithoutAuthUserInput = {
|
|
|
755
964
|
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
756
965
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
757
966
|
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
967
|
+
hostIdentities?: Prisma.HostIdentityUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
968
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
969
|
+
grants?: Prisma.ResourceGrantUncheckedUpdateManyWithoutGranteePrincipalNestedInput;
|
|
970
|
+
};
|
|
971
|
+
export type PrincipalCreateWithoutHostIdentitiesInput = {
|
|
972
|
+
id?: string;
|
|
973
|
+
subject: string;
|
|
974
|
+
createdAt?: Date | string;
|
|
975
|
+
agents?: Prisma.AgentCreateNestedManyWithoutOwnerInput;
|
|
976
|
+
tools?: Prisma.ToolCreateNestedManyWithoutOwnerInput;
|
|
977
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutOwnerInput;
|
|
978
|
+
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
979
|
+
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
980
|
+
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
981
|
+
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
982
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestCreateNestedManyWithoutPrincipalInput;
|
|
983
|
+
grants?: Prisma.ResourceGrantCreateNestedManyWithoutGranteePrincipalInput;
|
|
984
|
+
};
|
|
985
|
+
export type PrincipalUncheckedCreateWithoutHostIdentitiesInput = {
|
|
986
|
+
id?: string;
|
|
987
|
+
subject: string;
|
|
988
|
+
createdAt?: Date | string;
|
|
989
|
+
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutOwnerInput;
|
|
990
|
+
tools?: Prisma.ToolUncheckedCreateNestedManyWithoutOwnerInput;
|
|
991
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutOwnerInput;
|
|
992
|
+
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
993
|
+
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
994
|
+
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
995
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
996
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
997
|
+
grants?: Prisma.ResourceGrantUncheckedCreateNestedManyWithoutGranteePrincipalInput;
|
|
998
|
+
};
|
|
999
|
+
export type PrincipalCreateOrConnectWithoutHostIdentitiesInput = {
|
|
1000
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
1001
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutHostIdentitiesInput, Prisma.PrincipalUncheckedCreateWithoutHostIdentitiesInput>;
|
|
1002
|
+
};
|
|
1003
|
+
export type PrincipalUpsertWithoutHostIdentitiesInput = {
|
|
1004
|
+
update: Prisma.XOR<Prisma.PrincipalUpdateWithoutHostIdentitiesInput, Prisma.PrincipalUncheckedUpdateWithoutHostIdentitiesInput>;
|
|
1005
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutHostIdentitiesInput, Prisma.PrincipalUncheckedCreateWithoutHostIdentitiesInput>;
|
|
1006
|
+
where?: Prisma.PrincipalWhereInput;
|
|
1007
|
+
};
|
|
1008
|
+
export type PrincipalUpdateToOneWithWhereWithoutHostIdentitiesInput = {
|
|
1009
|
+
where?: Prisma.PrincipalWhereInput;
|
|
1010
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateWithoutHostIdentitiesInput, Prisma.PrincipalUncheckedUpdateWithoutHostIdentitiesInput>;
|
|
1011
|
+
};
|
|
1012
|
+
export type PrincipalUpdateWithoutHostIdentitiesInput = {
|
|
1013
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1014
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1015
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1016
|
+
agents?: Prisma.AgentUpdateManyWithoutOwnerNestedInput;
|
|
1017
|
+
tools?: Prisma.ToolUpdateManyWithoutOwnerNestedInput;
|
|
1018
|
+
secrets?: Prisma.SecretUpdateManyWithoutOwnerNestedInput;
|
|
1019
|
+
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
1020
|
+
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
1021
|
+
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
1022
|
+
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
1023
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUpdateManyWithoutPrincipalNestedInput;
|
|
1024
|
+
grants?: Prisma.ResourceGrantUpdateManyWithoutGranteePrincipalNestedInput;
|
|
1025
|
+
};
|
|
1026
|
+
export type PrincipalUncheckedUpdateWithoutHostIdentitiesInput = {
|
|
1027
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1028
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1029
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1030
|
+
agents?: Prisma.AgentUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1031
|
+
tools?: Prisma.ToolUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1032
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1033
|
+
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1034
|
+
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1035
|
+
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
1036
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1037
|
+
hostIdentityLinkRequests?: Prisma.HostIdentityLinkRequestUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
1038
|
+
grants?: Prisma.ResourceGrantUncheckedUpdateManyWithoutGranteePrincipalNestedInput;
|
|
1039
|
+
};
|
|
1040
|
+
export type PrincipalCreateWithoutHostIdentityLinkRequestsInput = {
|
|
1041
|
+
id?: string;
|
|
1042
|
+
subject: string;
|
|
1043
|
+
createdAt?: Date | string;
|
|
1044
|
+
agents?: Prisma.AgentCreateNestedManyWithoutOwnerInput;
|
|
1045
|
+
tools?: Prisma.ToolCreateNestedManyWithoutOwnerInput;
|
|
1046
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutOwnerInput;
|
|
1047
|
+
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
1048
|
+
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
1049
|
+
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
1050
|
+
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
1051
|
+
hostIdentities?: Prisma.HostIdentityCreateNestedManyWithoutPrincipalInput;
|
|
1052
|
+
grants?: Prisma.ResourceGrantCreateNestedManyWithoutGranteePrincipalInput;
|
|
1053
|
+
};
|
|
1054
|
+
export type PrincipalUncheckedCreateWithoutHostIdentityLinkRequestsInput = {
|
|
1055
|
+
id?: string;
|
|
1056
|
+
subject: string;
|
|
1057
|
+
createdAt?: Date | string;
|
|
1058
|
+
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutOwnerInput;
|
|
1059
|
+
tools?: Prisma.ToolUncheckedCreateNestedManyWithoutOwnerInput;
|
|
1060
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutOwnerInput;
|
|
1061
|
+
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
1062
|
+
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
1063
|
+
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
1064
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
1065
|
+
hostIdentities?: Prisma.HostIdentityUncheckedCreateNestedManyWithoutPrincipalInput;
|
|
1066
|
+
grants?: Prisma.ResourceGrantUncheckedCreateNestedManyWithoutGranteePrincipalInput;
|
|
1067
|
+
};
|
|
1068
|
+
export type PrincipalCreateOrConnectWithoutHostIdentityLinkRequestsInput = {
|
|
1069
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
1070
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutHostIdentityLinkRequestsInput, Prisma.PrincipalUncheckedCreateWithoutHostIdentityLinkRequestsInput>;
|
|
1071
|
+
};
|
|
1072
|
+
export type PrincipalUpsertWithoutHostIdentityLinkRequestsInput = {
|
|
1073
|
+
update: Prisma.XOR<Prisma.PrincipalUpdateWithoutHostIdentityLinkRequestsInput, Prisma.PrincipalUncheckedUpdateWithoutHostIdentityLinkRequestsInput>;
|
|
1074
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutHostIdentityLinkRequestsInput, Prisma.PrincipalUncheckedCreateWithoutHostIdentityLinkRequestsInput>;
|
|
1075
|
+
where?: Prisma.PrincipalWhereInput;
|
|
1076
|
+
};
|
|
1077
|
+
export type PrincipalUpdateToOneWithWhereWithoutHostIdentityLinkRequestsInput = {
|
|
1078
|
+
where?: Prisma.PrincipalWhereInput;
|
|
1079
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateWithoutHostIdentityLinkRequestsInput, Prisma.PrincipalUncheckedUpdateWithoutHostIdentityLinkRequestsInput>;
|
|
1080
|
+
};
|
|
1081
|
+
export type PrincipalUpdateWithoutHostIdentityLinkRequestsInput = {
|
|
1082
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1083
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1084
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1085
|
+
agents?: Prisma.AgentUpdateManyWithoutOwnerNestedInput;
|
|
1086
|
+
tools?: Prisma.ToolUpdateManyWithoutOwnerNestedInput;
|
|
1087
|
+
secrets?: Prisma.SecretUpdateManyWithoutOwnerNestedInput;
|
|
1088
|
+
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
1089
|
+
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
1090
|
+
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
1091
|
+
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
1092
|
+
hostIdentities?: Prisma.HostIdentityUpdateManyWithoutPrincipalNestedInput;
|
|
1093
|
+
grants?: Prisma.ResourceGrantUpdateManyWithoutGranteePrincipalNestedInput;
|
|
1094
|
+
};
|
|
1095
|
+
export type PrincipalUncheckedUpdateWithoutHostIdentityLinkRequestsInput = {
|
|
1096
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1097
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1098
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1099
|
+
agents?: Prisma.AgentUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1100
|
+
tools?: Prisma.ToolUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1101
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1102
|
+
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1103
|
+
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1104
|
+
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
1105
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
1106
|
+
hostIdentities?: Prisma.HostIdentityUncheckedUpdateManyWithoutPrincipalNestedInput;
|
|
1107
|
+
grants?: Prisma.ResourceGrantUncheckedUpdateManyWithoutGranteePrincipalNestedInput;
|
|
758
1108
|
};
|
|
759
1109
|
/**
|
|
760
1110
|
* Count Type PrincipalCountOutputType
|
|
@@ -766,6 +1116,9 @@ export type PrincipalCountOutputType = {
|
|
|
766
1116
|
datastores: number;
|
|
767
1117
|
webhooks: number;
|
|
768
1118
|
budgetGroups: number;
|
|
1119
|
+
hostIdentities: number;
|
|
1120
|
+
hostIdentityLinkRequests: number;
|
|
1121
|
+
grants: number;
|
|
769
1122
|
};
|
|
770
1123
|
export type PrincipalCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
771
1124
|
agents?: boolean | PrincipalCountOutputTypeCountAgentsArgs;
|
|
@@ -774,6 +1127,9 @@ export type PrincipalCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensi
|
|
|
774
1127
|
datastores?: boolean | PrincipalCountOutputTypeCountDatastoresArgs;
|
|
775
1128
|
webhooks?: boolean | PrincipalCountOutputTypeCountWebhooksArgs;
|
|
776
1129
|
budgetGroups?: boolean | PrincipalCountOutputTypeCountBudgetGroupsArgs;
|
|
1130
|
+
hostIdentities?: boolean | PrincipalCountOutputTypeCountHostIdentitiesArgs;
|
|
1131
|
+
hostIdentityLinkRequests?: boolean | PrincipalCountOutputTypeCountHostIdentityLinkRequestsArgs;
|
|
1132
|
+
grants?: boolean | PrincipalCountOutputTypeCountGrantsArgs;
|
|
777
1133
|
};
|
|
778
1134
|
/**
|
|
779
1135
|
* PrincipalCountOutputType without action
|
|
@@ -820,6 +1176,24 @@ export type PrincipalCountOutputTypeCountWebhooksArgs<ExtArgs extends runtime.Ty
|
|
|
820
1176
|
export type PrincipalCountOutputTypeCountBudgetGroupsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
821
1177
|
where?: Prisma.BudgetGroupWhereInput;
|
|
822
1178
|
};
|
|
1179
|
+
/**
|
|
1180
|
+
* PrincipalCountOutputType without action
|
|
1181
|
+
*/
|
|
1182
|
+
export type PrincipalCountOutputTypeCountHostIdentitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1183
|
+
where?: Prisma.HostIdentityWhereInput;
|
|
1184
|
+
};
|
|
1185
|
+
/**
|
|
1186
|
+
* PrincipalCountOutputType without action
|
|
1187
|
+
*/
|
|
1188
|
+
export type PrincipalCountOutputTypeCountHostIdentityLinkRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1189
|
+
where?: Prisma.HostIdentityLinkRequestWhereInput;
|
|
1190
|
+
};
|
|
1191
|
+
/**
|
|
1192
|
+
* PrincipalCountOutputType without action
|
|
1193
|
+
*/
|
|
1194
|
+
export type PrincipalCountOutputTypeCountGrantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1195
|
+
where?: Prisma.ResourceGrantWhereInput;
|
|
1196
|
+
};
|
|
823
1197
|
export type PrincipalSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
824
1198
|
id?: boolean;
|
|
825
1199
|
subject?: boolean;
|
|
@@ -831,6 +1205,9 @@ export type PrincipalSelect<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
831
1205
|
webhooks?: boolean | Prisma.Principal$webhooksArgs<ExtArgs>;
|
|
832
1206
|
authUser?: boolean | Prisma.Principal$authUserArgs<ExtArgs>;
|
|
833
1207
|
budgetGroups?: boolean | Prisma.Principal$budgetGroupsArgs<ExtArgs>;
|
|
1208
|
+
hostIdentities?: boolean | Prisma.Principal$hostIdentitiesArgs<ExtArgs>;
|
|
1209
|
+
hostIdentityLinkRequests?: boolean | Prisma.Principal$hostIdentityLinkRequestsArgs<ExtArgs>;
|
|
1210
|
+
grants?: boolean | Prisma.Principal$grantsArgs<ExtArgs>;
|
|
834
1211
|
_count?: boolean | Prisma.PrincipalCountOutputTypeDefaultArgs<ExtArgs>;
|
|
835
1212
|
}, ExtArgs["result"]["principal"]>;
|
|
836
1213
|
export type PrincipalSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -857,6 +1234,9 @@ export type PrincipalInclude<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
857
1234
|
webhooks?: boolean | Prisma.Principal$webhooksArgs<ExtArgs>;
|
|
858
1235
|
authUser?: boolean | Prisma.Principal$authUserArgs<ExtArgs>;
|
|
859
1236
|
budgetGroups?: boolean | Prisma.Principal$budgetGroupsArgs<ExtArgs>;
|
|
1237
|
+
hostIdentities?: boolean | Prisma.Principal$hostIdentitiesArgs<ExtArgs>;
|
|
1238
|
+
hostIdentityLinkRequests?: boolean | Prisma.Principal$hostIdentityLinkRequestsArgs<ExtArgs>;
|
|
1239
|
+
grants?: boolean | Prisma.Principal$grantsArgs<ExtArgs>;
|
|
860
1240
|
_count?: boolean | Prisma.PrincipalCountOutputTypeDefaultArgs<ExtArgs>;
|
|
861
1241
|
};
|
|
862
1242
|
export type PrincipalIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
@@ -871,6 +1251,9 @@ export type $PrincipalPayload<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
871
1251
|
webhooks: Prisma.$WebhookPayload<ExtArgs>[];
|
|
872
1252
|
authUser: Prisma.$AuthUserPayload<ExtArgs> | null;
|
|
873
1253
|
budgetGroups: Prisma.$BudgetGroupPayload<ExtArgs>[];
|
|
1254
|
+
hostIdentities: Prisma.$HostIdentityPayload<ExtArgs>[];
|
|
1255
|
+
hostIdentityLinkRequests: Prisma.$HostIdentityLinkRequestPayload<ExtArgs>[];
|
|
1256
|
+
grants: Prisma.$ResourceGrantPayload<ExtArgs>[];
|
|
874
1257
|
};
|
|
875
1258
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
876
1259
|
id: string;
|
|
@@ -1212,6 +1595,9 @@ export interface Prisma__PrincipalClient<T, Null = never, ExtArgs extends runtim
|
|
|
1212
1595
|
webhooks<T extends Prisma.Principal$webhooksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$webhooksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WebhookPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1213
1596
|
authUser<T extends Prisma.Principal$authUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$authUserArgs<ExtArgs>>): Prisma.Prisma__AuthUserClient<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1214
1597
|
budgetGroups<T extends Prisma.Principal$budgetGroupsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$budgetGroupsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BudgetGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1598
|
+
hostIdentities<T extends Prisma.Principal$hostIdentitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$hostIdentitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostIdentityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1599
|
+
hostIdentityLinkRequests<T extends Prisma.Principal$hostIdentityLinkRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$hostIdentityLinkRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostIdentityLinkRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1600
|
+
grants<T extends Prisma.Principal$grantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$grantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ResourceGrantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1215
1601
|
/**
|
|
1216
1602
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1217
1603
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1771,6 +2157,75 @@ export type Principal$budgetGroupsArgs<ExtArgs extends runtime.Types.Extensions.
|
|
|
1771
2157
|
skip?: number;
|
|
1772
2158
|
distinct?: Prisma.BudgetGroupScalarFieldEnum | Prisma.BudgetGroupScalarFieldEnum[];
|
|
1773
2159
|
};
|
|
2160
|
+
/**
|
|
2161
|
+
* Principal.hostIdentities
|
|
2162
|
+
*/
|
|
2163
|
+
export type Principal$hostIdentitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2164
|
+
/**
|
|
2165
|
+
* Select specific fields to fetch from the HostIdentity
|
|
2166
|
+
*/
|
|
2167
|
+
select?: Prisma.HostIdentitySelect<ExtArgs> | null;
|
|
2168
|
+
/**
|
|
2169
|
+
* Omit specific fields from the HostIdentity
|
|
2170
|
+
*/
|
|
2171
|
+
omit?: Prisma.HostIdentityOmit<ExtArgs> | null;
|
|
2172
|
+
/**
|
|
2173
|
+
* Choose, which related nodes to fetch as well
|
|
2174
|
+
*/
|
|
2175
|
+
include?: Prisma.HostIdentityInclude<ExtArgs> | null;
|
|
2176
|
+
where?: Prisma.HostIdentityWhereInput;
|
|
2177
|
+
orderBy?: Prisma.HostIdentityOrderByWithRelationInput | Prisma.HostIdentityOrderByWithRelationInput[];
|
|
2178
|
+
cursor?: Prisma.HostIdentityWhereUniqueInput;
|
|
2179
|
+
take?: number;
|
|
2180
|
+
skip?: number;
|
|
2181
|
+
distinct?: Prisma.HostIdentityScalarFieldEnum | Prisma.HostIdentityScalarFieldEnum[];
|
|
2182
|
+
};
|
|
2183
|
+
/**
|
|
2184
|
+
* Principal.hostIdentityLinkRequests
|
|
2185
|
+
*/
|
|
2186
|
+
export type Principal$hostIdentityLinkRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2187
|
+
/**
|
|
2188
|
+
* Select specific fields to fetch from the HostIdentityLinkRequest
|
|
2189
|
+
*/
|
|
2190
|
+
select?: Prisma.HostIdentityLinkRequestSelect<ExtArgs> | null;
|
|
2191
|
+
/**
|
|
2192
|
+
* Omit specific fields from the HostIdentityLinkRequest
|
|
2193
|
+
*/
|
|
2194
|
+
omit?: Prisma.HostIdentityLinkRequestOmit<ExtArgs> | null;
|
|
2195
|
+
/**
|
|
2196
|
+
* Choose, which related nodes to fetch as well
|
|
2197
|
+
*/
|
|
2198
|
+
include?: Prisma.HostIdentityLinkRequestInclude<ExtArgs> | null;
|
|
2199
|
+
where?: Prisma.HostIdentityLinkRequestWhereInput;
|
|
2200
|
+
orderBy?: Prisma.HostIdentityLinkRequestOrderByWithRelationInput | Prisma.HostIdentityLinkRequestOrderByWithRelationInput[];
|
|
2201
|
+
cursor?: Prisma.HostIdentityLinkRequestWhereUniqueInput;
|
|
2202
|
+
take?: number;
|
|
2203
|
+
skip?: number;
|
|
2204
|
+
distinct?: Prisma.HostIdentityLinkRequestScalarFieldEnum | Prisma.HostIdentityLinkRequestScalarFieldEnum[];
|
|
2205
|
+
};
|
|
2206
|
+
/**
|
|
2207
|
+
* Principal.grants
|
|
2208
|
+
*/
|
|
2209
|
+
export type Principal$grantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2210
|
+
/**
|
|
2211
|
+
* Select specific fields to fetch from the ResourceGrant
|
|
2212
|
+
*/
|
|
2213
|
+
select?: Prisma.ResourceGrantSelect<ExtArgs> | null;
|
|
2214
|
+
/**
|
|
2215
|
+
* Omit specific fields from the ResourceGrant
|
|
2216
|
+
*/
|
|
2217
|
+
omit?: Prisma.ResourceGrantOmit<ExtArgs> | null;
|
|
2218
|
+
/**
|
|
2219
|
+
* Choose, which related nodes to fetch as well
|
|
2220
|
+
*/
|
|
2221
|
+
include?: Prisma.ResourceGrantInclude<ExtArgs> | null;
|
|
2222
|
+
where?: Prisma.ResourceGrantWhereInput;
|
|
2223
|
+
orderBy?: Prisma.ResourceGrantOrderByWithRelationInput | Prisma.ResourceGrantOrderByWithRelationInput[];
|
|
2224
|
+
cursor?: Prisma.ResourceGrantWhereUniqueInput;
|
|
2225
|
+
take?: number;
|
|
2226
|
+
skip?: number;
|
|
2227
|
+
distinct?: Prisma.ResourceGrantScalarFieldEnum | Prisma.ResourceGrantScalarFieldEnum[];
|
|
2228
|
+
};
|
|
1774
2229
|
/**
|
|
1775
2230
|
* Principal without action
|
|
1776
2231
|
*/
|