@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,973 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model SecretElicitationOutcome
|
|
5
|
+
* Cross-instance persistence for the out-of-band secret-entry flow
|
|
6
|
+
* (mcp/tools/secret-elicitation.ts) — was an in-process Map, which stranded
|
|
7
|
+
* a browser-form submission on the wrong instance under a multi-instance
|
|
8
|
+
* HTTP deployment. `outcome` holds the SecretElicitationOutcome JSON;
|
|
9
|
+
* `expiresAt` mirrors the old TTL sweep, now a `DELETE WHERE expiresAt <=
|
|
10
|
+
* now()` instead of a Map scan.
|
|
11
|
+
*/
|
|
12
|
+
export type SecretElicitationOutcomeModel = runtime.Types.Result.DefaultSelection<Prisma.$SecretElicitationOutcomePayload>;
|
|
13
|
+
export type AggregateSecretElicitationOutcome = {
|
|
14
|
+
_count: SecretElicitationOutcomeCountAggregateOutputType | null;
|
|
15
|
+
_min: SecretElicitationOutcomeMinAggregateOutputType | null;
|
|
16
|
+
_max: SecretElicitationOutcomeMaxAggregateOutputType | null;
|
|
17
|
+
};
|
|
18
|
+
export type SecretElicitationOutcomeMinAggregateOutputType = {
|
|
19
|
+
ownerId: string | null;
|
|
20
|
+
secretName: string | null;
|
|
21
|
+
expiresAt: Date | null;
|
|
22
|
+
};
|
|
23
|
+
export type SecretElicitationOutcomeMaxAggregateOutputType = {
|
|
24
|
+
ownerId: string | null;
|
|
25
|
+
secretName: string | null;
|
|
26
|
+
expiresAt: Date | null;
|
|
27
|
+
};
|
|
28
|
+
export type SecretElicitationOutcomeCountAggregateOutputType = {
|
|
29
|
+
ownerId: number;
|
|
30
|
+
secretName: number;
|
|
31
|
+
outcome: number;
|
|
32
|
+
expiresAt: number;
|
|
33
|
+
_all: number;
|
|
34
|
+
};
|
|
35
|
+
export type SecretElicitationOutcomeMinAggregateInputType = {
|
|
36
|
+
ownerId?: true;
|
|
37
|
+
secretName?: true;
|
|
38
|
+
expiresAt?: true;
|
|
39
|
+
};
|
|
40
|
+
export type SecretElicitationOutcomeMaxAggregateInputType = {
|
|
41
|
+
ownerId?: true;
|
|
42
|
+
secretName?: true;
|
|
43
|
+
expiresAt?: true;
|
|
44
|
+
};
|
|
45
|
+
export type SecretElicitationOutcomeCountAggregateInputType = {
|
|
46
|
+
ownerId?: true;
|
|
47
|
+
secretName?: true;
|
|
48
|
+
outcome?: true;
|
|
49
|
+
expiresAt?: true;
|
|
50
|
+
_all?: true;
|
|
51
|
+
};
|
|
52
|
+
export type SecretElicitationOutcomeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
53
|
+
/**
|
|
54
|
+
* Filter which SecretElicitationOutcome to aggregate.
|
|
55
|
+
*/
|
|
56
|
+
where?: Prisma.SecretElicitationOutcomeWhereInput;
|
|
57
|
+
/**
|
|
58
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
59
|
+
*
|
|
60
|
+
* Determine the order of SecretElicitationOutcomes to fetch.
|
|
61
|
+
*/
|
|
62
|
+
orderBy?: Prisma.SecretElicitationOutcomeOrderByWithRelationInput | Prisma.SecretElicitationOutcomeOrderByWithRelationInput[];
|
|
63
|
+
/**
|
|
64
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
65
|
+
*
|
|
66
|
+
* Sets the start position
|
|
67
|
+
*/
|
|
68
|
+
cursor?: Prisma.SecretElicitationOutcomeWhereUniqueInput;
|
|
69
|
+
/**
|
|
70
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
71
|
+
*
|
|
72
|
+
* Take `±n` SecretElicitationOutcomes from the position of the cursor.
|
|
73
|
+
*/
|
|
74
|
+
take?: number;
|
|
75
|
+
/**
|
|
76
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
77
|
+
*
|
|
78
|
+
* Skip the first `n` SecretElicitationOutcomes.
|
|
79
|
+
*/
|
|
80
|
+
skip?: number;
|
|
81
|
+
/**
|
|
82
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
83
|
+
*
|
|
84
|
+
* Count returned SecretElicitationOutcomes
|
|
85
|
+
**/
|
|
86
|
+
_count?: true | SecretElicitationOutcomeCountAggregateInputType;
|
|
87
|
+
/**
|
|
88
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
89
|
+
*
|
|
90
|
+
* Select which fields to find the minimum value
|
|
91
|
+
**/
|
|
92
|
+
_min?: SecretElicitationOutcomeMinAggregateInputType;
|
|
93
|
+
/**
|
|
94
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
95
|
+
*
|
|
96
|
+
* Select which fields to find the maximum value
|
|
97
|
+
**/
|
|
98
|
+
_max?: SecretElicitationOutcomeMaxAggregateInputType;
|
|
99
|
+
};
|
|
100
|
+
export type GetSecretElicitationOutcomeAggregateType<T extends SecretElicitationOutcomeAggregateArgs> = {
|
|
101
|
+
[P in keyof T & keyof AggregateSecretElicitationOutcome]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSecretElicitationOutcome[P]> : Prisma.GetScalarType<T[P], AggregateSecretElicitationOutcome[P]>;
|
|
102
|
+
};
|
|
103
|
+
export type SecretElicitationOutcomeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
104
|
+
where?: Prisma.SecretElicitationOutcomeWhereInput;
|
|
105
|
+
orderBy?: Prisma.SecretElicitationOutcomeOrderByWithAggregationInput | Prisma.SecretElicitationOutcomeOrderByWithAggregationInput[];
|
|
106
|
+
by: Prisma.SecretElicitationOutcomeScalarFieldEnum[] | Prisma.SecretElicitationOutcomeScalarFieldEnum;
|
|
107
|
+
having?: Prisma.SecretElicitationOutcomeScalarWhereWithAggregatesInput;
|
|
108
|
+
take?: number;
|
|
109
|
+
skip?: number;
|
|
110
|
+
_count?: SecretElicitationOutcomeCountAggregateInputType | true;
|
|
111
|
+
_min?: SecretElicitationOutcomeMinAggregateInputType;
|
|
112
|
+
_max?: SecretElicitationOutcomeMaxAggregateInputType;
|
|
113
|
+
};
|
|
114
|
+
export type SecretElicitationOutcomeGroupByOutputType = {
|
|
115
|
+
ownerId: string;
|
|
116
|
+
secretName: string;
|
|
117
|
+
outcome: runtime.JsonValue;
|
|
118
|
+
expiresAt: Date;
|
|
119
|
+
_count: SecretElicitationOutcomeCountAggregateOutputType | null;
|
|
120
|
+
_min: SecretElicitationOutcomeMinAggregateOutputType | null;
|
|
121
|
+
_max: SecretElicitationOutcomeMaxAggregateOutputType | null;
|
|
122
|
+
};
|
|
123
|
+
export type GetSecretElicitationOutcomeGroupByPayload<T extends SecretElicitationOutcomeGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<SecretElicitationOutcomeGroupByOutputType, T['by']> & {
|
|
124
|
+
[P in ((keyof T) & (keyof SecretElicitationOutcomeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], SecretElicitationOutcomeGroupByOutputType[P]> : Prisma.GetScalarType<T[P], SecretElicitationOutcomeGroupByOutputType[P]>;
|
|
125
|
+
}>>;
|
|
126
|
+
export type SecretElicitationOutcomeWhereInput = {
|
|
127
|
+
AND?: Prisma.SecretElicitationOutcomeWhereInput | Prisma.SecretElicitationOutcomeWhereInput[];
|
|
128
|
+
OR?: Prisma.SecretElicitationOutcomeWhereInput[];
|
|
129
|
+
NOT?: Prisma.SecretElicitationOutcomeWhereInput | Prisma.SecretElicitationOutcomeWhereInput[];
|
|
130
|
+
ownerId?: Prisma.StringFilter<"SecretElicitationOutcome"> | string;
|
|
131
|
+
secretName?: Prisma.StringFilter<"SecretElicitationOutcome"> | string;
|
|
132
|
+
outcome?: Prisma.JsonFilter<"SecretElicitationOutcome">;
|
|
133
|
+
expiresAt?: Prisma.DateTimeFilter<"SecretElicitationOutcome"> | Date | string;
|
|
134
|
+
};
|
|
135
|
+
export type SecretElicitationOutcomeOrderByWithRelationInput = {
|
|
136
|
+
ownerId?: Prisma.SortOrder;
|
|
137
|
+
secretName?: Prisma.SortOrder;
|
|
138
|
+
outcome?: Prisma.SortOrder;
|
|
139
|
+
expiresAt?: Prisma.SortOrder;
|
|
140
|
+
};
|
|
141
|
+
export type SecretElicitationOutcomeWhereUniqueInput = Prisma.AtLeast<{
|
|
142
|
+
ownerId_secretName?: Prisma.SecretElicitationOutcomeOwnerIdSecretNameCompoundUniqueInput;
|
|
143
|
+
AND?: Prisma.SecretElicitationOutcomeWhereInput | Prisma.SecretElicitationOutcomeWhereInput[];
|
|
144
|
+
OR?: Prisma.SecretElicitationOutcomeWhereInput[];
|
|
145
|
+
NOT?: Prisma.SecretElicitationOutcomeWhereInput | Prisma.SecretElicitationOutcomeWhereInput[];
|
|
146
|
+
ownerId?: Prisma.StringFilter<"SecretElicitationOutcome"> | string;
|
|
147
|
+
secretName?: Prisma.StringFilter<"SecretElicitationOutcome"> | string;
|
|
148
|
+
outcome?: Prisma.JsonFilter<"SecretElicitationOutcome">;
|
|
149
|
+
expiresAt?: Prisma.DateTimeFilter<"SecretElicitationOutcome"> | Date | string;
|
|
150
|
+
}, "ownerId_secretName">;
|
|
151
|
+
export type SecretElicitationOutcomeOrderByWithAggregationInput = {
|
|
152
|
+
ownerId?: Prisma.SortOrder;
|
|
153
|
+
secretName?: Prisma.SortOrder;
|
|
154
|
+
outcome?: Prisma.SortOrder;
|
|
155
|
+
expiresAt?: Prisma.SortOrder;
|
|
156
|
+
_count?: Prisma.SecretElicitationOutcomeCountOrderByAggregateInput;
|
|
157
|
+
_max?: Prisma.SecretElicitationOutcomeMaxOrderByAggregateInput;
|
|
158
|
+
_min?: Prisma.SecretElicitationOutcomeMinOrderByAggregateInput;
|
|
159
|
+
};
|
|
160
|
+
export type SecretElicitationOutcomeScalarWhereWithAggregatesInput = {
|
|
161
|
+
AND?: Prisma.SecretElicitationOutcomeScalarWhereWithAggregatesInput | Prisma.SecretElicitationOutcomeScalarWhereWithAggregatesInput[];
|
|
162
|
+
OR?: Prisma.SecretElicitationOutcomeScalarWhereWithAggregatesInput[];
|
|
163
|
+
NOT?: Prisma.SecretElicitationOutcomeScalarWhereWithAggregatesInput | Prisma.SecretElicitationOutcomeScalarWhereWithAggregatesInput[];
|
|
164
|
+
ownerId?: Prisma.StringWithAggregatesFilter<"SecretElicitationOutcome"> | string;
|
|
165
|
+
secretName?: Prisma.StringWithAggregatesFilter<"SecretElicitationOutcome"> | string;
|
|
166
|
+
outcome?: Prisma.JsonWithAggregatesFilter<"SecretElicitationOutcome">;
|
|
167
|
+
expiresAt?: Prisma.DateTimeWithAggregatesFilter<"SecretElicitationOutcome"> | Date | string;
|
|
168
|
+
};
|
|
169
|
+
export type SecretElicitationOutcomeCreateInput = {
|
|
170
|
+
ownerId: string;
|
|
171
|
+
secretName: string;
|
|
172
|
+
outcome: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
173
|
+
expiresAt: Date | string;
|
|
174
|
+
};
|
|
175
|
+
export type SecretElicitationOutcomeUncheckedCreateInput = {
|
|
176
|
+
ownerId: string;
|
|
177
|
+
secretName: string;
|
|
178
|
+
outcome: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
179
|
+
expiresAt: Date | string;
|
|
180
|
+
};
|
|
181
|
+
export type SecretElicitationOutcomeUpdateInput = {
|
|
182
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
183
|
+
secretName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
184
|
+
outcome?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
185
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
186
|
+
};
|
|
187
|
+
export type SecretElicitationOutcomeUncheckedUpdateInput = {
|
|
188
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
189
|
+
secretName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
190
|
+
outcome?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
191
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
192
|
+
};
|
|
193
|
+
export type SecretElicitationOutcomeCreateManyInput = {
|
|
194
|
+
ownerId: string;
|
|
195
|
+
secretName: string;
|
|
196
|
+
outcome: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
197
|
+
expiresAt: Date | string;
|
|
198
|
+
};
|
|
199
|
+
export type SecretElicitationOutcomeUpdateManyMutationInput = {
|
|
200
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
201
|
+
secretName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
202
|
+
outcome?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
203
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
204
|
+
};
|
|
205
|
+
export type SecretElicitationOutcomeUncheckedUpdateManyInput = {
|
|
206
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
207
|
+
secretName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
208
|
+
outcome?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
209
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
210
|
+
};
|
|
211
|
+
export type SecretElicitationOutcomeOwnerIdSecretNameCompoundUniqueInput = {
|
|
212
|
+
ownerId: string;
|
|
213
|
+
secretName: string;
|
|
214
|
+
};
|
|
215
|
+
export type SecretElicitationOutcomeCountOrderByAggregateInput = {
|
|
216
|
+
ownerId?: Prisma.SortOrder;
|
|
217
|
+
secretName?: Prisma.SortOrder;
|
|
218
|
+
outcome?: Prisma.SortOrder;
|
|
219
|
+
expiresAt?: Prisma.SortOrder;
|
|
220
|
+
};
|
|
221
|
+
export type SecretElicitationOutcomeMaxOrderByAggregateInput = {
|
|
222
|
+
ownerId?: Prisma.SortOrder;
|
|
223
|
+
secretName?: Prisma.SortOrder;
|
|
224
|
+
expiresAt?: Prisma.SortOrder;
|
|
225
|
+
};
|
|
226
|
+
export type SecretElicitationOutcomeMinOrderByAggregateInput = {
|
|
227
|
+
ownerId?: Prisma.SortOrder;
|
|
228
|
+
secretName?: Prisma.SortOrder;
|
|
229
|
+
expiresAt?: Prisma.SortOrder;
|
|
230
|
+
};
|
|
231
|
+
export type SecretElicitationOutcomeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
232
|
+
ownerId?: boolean;
|
|
233
|
+
secretName?: boolean;
|
|
234
|
+
outcome?: boolean;
|
|
235
|
+
expiresAt?: boolean;
|
|
236
|
+
}, ExtArgs["result"]["secretElicitationOutcome"]>;
|
|
237
|
+
export type SecretElicitationOutcomeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
238
|
+
ownerId?: boolean;
|
|
239
|
+
secretName?: boolean;
|
|
240
|
+
outcome?: boolean;
|
|
241
|
+
expiresAt?: boolean;
|
|
242
|
+
}, ExtArgs["result"]["secretElicitationOutcome"]>;
|
|
243
|
+
export type SecretElicitationOutcomeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
244
|
+
ownerId?: boolean;
|
|
245
|
+
secretName?: boolean;
|
|
246
|
+
outcome?: boolean;
|
|
247
|
+
expiresAt?: boolean;
|
|
248
|
+
}, ExtArgs["result"]["secretElicitationOutcome"]>;
|
|
249
|
+
export type SecretElicitationOutcomeSelectScalar = {
|
|
250
|
+
ownerId?: boolean;
|
|
251
|
+
secretName?: boolean;
|
|
252
|
+
outcome?: boolean;
|
|
253
|
+
expiresAt?: boolean;
|
|
254
|
+
};
|
|
255
|
+
export type SecretElicitationOutcomeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"ownerId" | "secretName" | "outcome" | "expiresAt", ExtArgs["result"]["secretElicitationOutcome"]>;
|
|
256
|
+
export type $SecretElicitationOutcomePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
257
|
+
name: "SecretElicitationOutcome";
|
|
258
|
+
objects: {};
|
|
259
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
260
|
+
ownerId: string;
|
|
261
|
+
secretName: string;
|
|
262
|
+
outcome: runtime.JsonValue;
|
|
263
|
+
expiresAt: Date;
|
|
264
|
+
}, ExtArgs["result"]["secretElicitationOutcome"]>;
|
|
265
|
+
composites: {};
|
|
266
|
+
};
|
|
267
|
+
export type SecretElicitationOutcomeGetPayload<S extends boolean | null | undefined | SecretElicitationOutcomeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload, S>;
|
|
268
|
+
export type SecretElicitationOutcomeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<SecretElicitationOutcomeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
269
|
+
select?: SecretElicitationOutcomeCountAggregateInputType | true;
|
|
270
|
+
};
|
|
271
|
+
export interface SecretElicitationOutcomeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
272
|
+
[K: symbol]: {
|
|
273
|
+
types: Prisma.TypeMap<ExtArgs>['model']['SecretElicitationOutcome'];
|
|
274
|
+
meta: {
|
|
275
|
+
name: 'SecretElicitationOutcome';
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Find zero or one SecretElicitationOutcome that matches the filter.
|
|
280
|
+
* @param {SecretElicitationOutcomeFindUniqueArgs} args - Arguments to find a SecretElicitationOutcome
|
|
281
|
+
* @example
|
|
282
|
+
* // Get one SecretElicitationOutcome
|
|
283
|
+
* const secretElicitationOutcome = await prisma.secretElicitationOutcome.findUnique({
|
|
284
|
+
* where: {
|
|
285
|
+
* // ... provide filter here
|
|
286
|
+
* }
|
|
287
|
+
* })
|
|
288
|
+
*/
|
|
289
|
+
findUnique<T extends SecretElicitationOutcomeFindUniqueArgs>(args: Prisma.SelectSubset<T, SecretElicitationOutcomeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SecretElicitationOutcomeClient<runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
290
|
+
/**
|
|
291
|
+
* Find one SecretElicitationOutcome that matches the filter or throw an error with `error.code='P2025'`
|
|
292
|
+
* if no matches were found.
|
|
293
|
+
* @param {SecretElicitationOutcomeFindUniqueOrThrowArgs} args - Arguments to find a SecretElicitationOutcome
|
|
294
|
+
* @example
|
|
295
|
+
* // Get one SecretElicitationOutcome
|
|
296
|
+
* const secretElicitationOutcome = await prisma.secretElicitationOutcome.findUniqueOrThrow({
|
|
297
|
+
* where: {
|
|
298
|
+
* // ... provide filter here
|
|
299
|
+
* }
|
|
300
|
+
* })
|
|
301
|
+
*/
|
|
302
|
+
findUniqueOrThrow<T extends SecretElicitationOutcomeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SecretElicitationOutcomeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SecretElicitationOutcomeClient<runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
303
|
+
/**
|
|
304
|
+
* Find the first SecretElicitationOutcome that matches the filter.
|
|
305
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
306
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
307
|
+
* @param {SecretElicitationOutcomeFindFirstArgs} args - Arguments to find a SecretElicitationOutcome
|
|
308
|
+
* @example
|
|
309
|
+
* // Get one SecretElicitationOutcome
|
|
310
|
+
* const secretElicitationOutcome = await prisma.secretElicitationOutcome.findFirst({
|
|
311
|
+
* where: {
|
|
312
|
+
* // ... provide filter here
|
|
313
|
+
* }
|
|
314
|
+
* })
|
|
315
|
+
*/
|
|
316
|
+
findFirst<T extends SecretElicitationOutcomeFindFirstArgs>(args?: Prisma.SelectSubset<T, SecretElicitationOutcomeFindFirstArgs<ExtArgs>>): Prisma.Prisma__SecretElicitationOutcomeClient<runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
317
|
+
/**
|
|
318
|
+
* Find the first SecretElicitationOutcome that matches the filter or
|
|
319
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
320
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
321
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
322
|
+
* @param {SecretElicitationOutcomeFindFirstOrThrowArgs} args - Arguments to find a SecretElicitationOutcome
|
|
323
|
+
* @example
|
|
324
|
+
* // Get one SecretElicitationOutcome
|
|
325
|
+
* const secretElicitationOutcome = await prisma.secretElicitationOutcome.findFirstOrThrow({
|
|
326
|
+
* where: {
|
|
327
|
+
* // ... provide filter here
|
|
328
|
+
* }
|
|
329
|
+
* })
|
|
330
|
+
*/
|
|
331
|
+
findFirstOrThrow<T extends SecretElicitationOutcomeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SecretElicitationOutcomeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SecretElicitationOutcomeClient<runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
332
|
+
/**
|
|
333
|
+
* Find zero or more SecretElicitationOutcomes that matches the filter.
|
|
334
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
335
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
336
|
+
* @param {SecretElicitationOutcomeFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
337
|
+
* @example
|
|
338
|
+
* // Get all SecretElicitationOutcomes
|
|
339
|
+
* const secretElicitationOutcomes = await prisma.secretElicitationOutcome.findMany()
|
|
340
|
+
*
|
|
341
|
+
* // Get first 10 SecretElicitationOutcomes
|
|
342
|
+
* const secretElicitationOutcomes = await prisma.secretElicitationOutcome.findMany({ take: 10 })
|
|
343
|
+
*
|
|
344
|
+
* // Only select the `ownerId`
|
|
345
|
+
* const secretElicitationOutcomeWithOwnerIdOnly = await prisma.secretElicitationOutcome.findMany({ select: { ownerId: true } })
|
|
346
|
+
*
|
|
347
|
+
*/
|
|
348
|
+
findMany<T extends SecretElicitationOutcomeFindManyArgs>(args?: Prisma.SelectSubset<T, SecretElicitationOutcomeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
349
|
+
/**
|
|
350
|
+
* Create a SecretElicitationOutcome.
|
|
351
|
+
* @param {SecretElicitationOutcomeCreateArgs} args - Arguments to create a SecretElicitationOutcome.
|
|
352
|
+
* @example
|
|
353
|
+
* // Create one SecretElicitationOutcome
|
|
354
|
+
* const SecretElicitationOutcome = await prisma.secretElicitationOutcome.create({
|
|
355
|
+
* data: {
|
|
356
|
+
* // ... data to create a SecretElicitationOutcome
|
|
357
|
+
* }
|
|
358
|
+
* })
|
|
359
|
+
*
|
|
360
|
+
*/
|
|
361
|
+
create<T extends SecretElicitationOutcomeCreateArgs>(args: Prisma.SelectSubset<T, SecretElicitationOutcomeCreateArgs<ExtArgs>>): Prisma.Prisma__SecretElicitationOutcomeClient<runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
362
|
+
/**
|
|
363
|
+
* Create many SecretElicitationOutcomes.
|
|
364
|
+
* @param {SecretElicitationOutcomeCreateManyArgs} args - Arguments to create many SecretElicitationOutcomes.
|
|
365
|
+
* @example
|
|
366
|
+
* // Create many SecretElicitationOutcomes
|
|
367
|
+
* const secretElicitationOutcome = await prisma.secretElicitationOutcome.createMany({
|
|
368
|
+
* data: [
|
|
369
|
+
* // ... provide data here
|
|
370
|
+
* ]
|
|
371
|
+
* })
|
|
372
|
+
*
|
|
373
|
+
*/
|
|
374
|
+
createMany<T extends SecretElicitationOutcomeCreateManyArgs>(args?: Prisma.SelectSubset<T, SecretElicitationOutcomeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
375
|
+
/**
|
|
376
|
+
* Create many SecretElicitationOutcomes and returns the data saved in the database.
|
|
377
|
+
* @param {SecretElicitationOutcomeCreateManyAndReturnArgs} args - Arguments to create many SecretElicitationOutcomes.
|
|
378
|
+
* @example
|
|
379
|
+
* // Create many SecretElicitationOutcomes
|
|
380
|
+
* const secretElicitationOutcome = await prisma.secretElicitationOutcome.createManyAndReturn({
|
|
381
|
+
* data: [
|
|
382
|
+
* // ... provide data here
|
|
383
|
+
* ]
|
|
384
|
+
* })
|
|
385
|
+
*
|
|
386
|
+
* // Create many SecretElicitationOutcomes and only return the `ownerId`
|
|
387
|
+
* const secretElicitationOutcomeWithOwnerIdOnly = await prisma.secretElicitationOutcome.createManyAndReturn({
|
|
388
|
+
* select: { ownerId: true },
|
|
389
|
+
* data: [
|
|
390
|
+
* // ... provide data here
|
|
391
|
+
* ]
|
|
392
|
+
* })
|
|
393
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
394
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
395
|
+
*
|
|
396
|
+
*/
|
|
397
|
+
createManyAndReturn<T extends SecretElicitationOutcomeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SecretElicitationOutcomeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
398
|
+
/**
|
|
399
|
+
* Delete a SecretElicitationOutcome.
|
|
400
|
+
* @param {SecretElicitationOutcomeDeleteArgs} args - Arguments to delete one SecretElicitationOutcome.
|
|
401
|
+
* @example
|
|
402
|
+
* // Delete one SecretElicitationOutcome
|
|
403
|
+
* const SecretElicitationOutcome = await prisma.secretElicitationOutcome.delete({
|
|
404
|
+
* where: {
|
|
405
|
+
* // ... filter to delete one SecretElicitationOutcome
|
|
406
|
+
* }
|
|
407
|
+
* })
|
|
408
|
+
*
|
|
409
|
+
*/
|
|
410
|
+
delete<T extends SecretElicitationOutcomeDeleteArgs>(args: Prisma.SelectSubset<T, SecretElicitationOutcomeDeleteArgs<ExtArgs>>): Prisma.Prisma__SecretElicitationOutcomeClient<runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
411
|
+
/**
|
|
412
|
+
* Update one SecretElicitationOutcome.
|
|
413
|
+
* @param {SecretElicitationOutcomeUpdateArgs} args - Arguments to update one SecretElicitationOutcome.
|
|
414
|
+
* @example
|
|
415
|
+
* // Update one SecretElicitationOutcome
|
|
416
|
+
* const secretElicitationOutcome = await prisma.secretElicitationOutcome.update({
|
|
417
|
+
* where: {
|
|
418
|
+
* // ... provide filter here
|
|
419
|
+
* },
|
|
420
|
+
* data: {
|
|
421
|
+
* // ... provide data here
|
|
422
|
+
* }
|
|
423
|
+
* })
|
|
424
|
+
*
|
|
425
|
+
*/
|
|
426
|
+
update<T extends SecretElicitationOutcomeUpdateArgs>(args: Prisma.SelectSubset<T, SecretElicitationOutcomeUpdateArgs<ExtArgs>>): Prisma.Prisma__SecretElicitationOutcomeClient<runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
427
|
+
/**
|
|
428
|
+
* Delete zero or more SecretElicitationOutcomes.
|
|
429
|
+
* @param {SecretElicitationOutcomeDeleteManyArgs} args - Arguments to filter SecretElicitationOutcomes to delete.
|
|
430
|
+
* @example
|
|
431
|
+
* // Delete a few SecretElicitationOutcomes
|
|
432
|
+
* const { count } = await prisma.secretElicitationOutcome.deleteMany({
|
|
433
|
+
* where: {
|
|
434
|
+
* // ... provide filter here
|
|
435
|
+
* }
|
|
436
|
+
* })
|
|
437
|
+
*
|
|
438
|
+
*/
|
|
439
|
+
deleteMany<T extends SecretElicitationOutcomeDeleteManyArgs>(args?: Prisma.SelectSubset<T, SecretElicitationOutcomeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
440
|
+
/**
|
|
441
|
+
* Update zero or more SecretElicitationOutcomes.
|
|
442
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
443
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
444
|
+
* @param {SecretElicitationOutcomeUpdateManyArgs} args - Arguments to update one or more rows.
|
|
445
|
+
* @example
|
|
446
|
+
* // Update many SecretElicitationOutcomes
|
|
447
|
+
* const secretElicitationOutcome = await prisma.secretElicitationOutcome.updateMany({
|
|
448
|
+
* where: {
|
|
449
|
+
* // ... provide filter here
|
|
450
|
+
* },
|
|
451
|
+
* data: {
|
|
452
|
+
* // ... provide data here
|
|
453
|
+
* }
|
|
454
|
+
* })
|
|
455
|
+
*
|
|
456
|
+
*/
|
|
457
|
+
updateMany<T extends SecretElicitationOutcomeUpdateManyArgs>(args: Prisma.SelectSubset<T, SecretElicitationOutcomeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
458
|
+
/**
|
|
459
|
+
* Update zero or more SecretElicitationOutcomes and returns the data updated in the database.
|
|
460
|
+
* @param {SecretElicitationOutcomeUpdateManyAndReturnArgs} args - Arguments to update many SecretElicitationOutcomes.
|
|
461
|
+
* @example
|
|
462
|
+
* // Update many SecretElicitationOutcomes
|
|
463
|
+
* const secretElicitationOutcome = await prisma.secretElicitationOutcome.updateManyAndReturn({
|
|
464
|
+
* where: {
|
|
465
|
+
* // ... provide filter here
|
|
466
|
+
* },
|
|
467
|
+
* data: [
|
|
468
|
+
* // ... provide data here
|
|
469
|
+
* ]
|
|
470
|
+
* })
|
|
471
|
+
*
|
|
472
|
+
* // Update zero or more SecretElicitationOutcomes and only return the `ownerId`
|
|
473
|
+
* const secretElicitationOutcomeWithOwnerIdOnly = await prisma.secretElicitationOutcome.updateManyAndReturn({
|
|
474
|
+
* select: { ownerId: true },
|
|
475
|
+
* where: {
|
|
476
|
+
* // ... provide filter here
|
|
477
|
+
* },
|
|
478
|
+
* data: [
|
|
479
|
+
* // ... provide data here
|
|
480
|
+
* ]
|
|
481
|
+
* })
|
|
482
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
483
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
484
|
+
*
|
|
485
|
+
*/
|
|
486
|
+
updateManyAndReturn<T extends SecretElicitationOutcomeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SecretElicitationOutcomeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
487
|
+
/**
|
|
488
|
+
* Create or update one SecretElicitationOutcome.
|
|
489
|
+
* @param {SecretElicitationOutcomeUpsertArgs} args - Arguments to update or create a SecretElicitationOutcome.
|
|
490
|
+
* @example
|
|
491
|
+
* // Update or create a SecretElicitationOutcome
|
|
492
|
+
* const secretElicitationOutcome = await prisma.secretElicitationOutcome.upsert({
|
|
493
|
+
* create: {
|
|
494
|
+
* // ... data to create a SecretElicitationOutcome
|
|
495
|
+
* },
|
|
496
|
+
* update: {
|
|
497
|
+
* // ... in case it already exists, update
|
|
498
|
+
* },
|
|
499
|
+
* where: {
|
|
500
|
+
* // ... the filter for the SecretElicitationOutcome we want to update
|
|
501
|
+
* }
|
|
502
|
+
* })
|
|
503
|
+
*/
|
|
504
|
+
upsert<T extends SecretElicitationOutcomeUpsertArgs>(args: Prisma.SelectSubset<T, SecretElicitationOutcomeUpsertArgs<ExtArgs>>): Prisma.Prisma__SecretElicitationOutcomeClient<runtime.Types.Result.GetResult<Prisma.$SecretElicitationOutcomePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
505
|
+
/**
|
|
506
|
+
* Count the number of SecretElicitationOutcomes.
|
|
507
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
508
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
509
|
+
* @param {SecretElicitationOutcomeCountArgs} args - Arguments to filter SecretElicitationOutcomes to count.
|
|
510
|
+
* @example
|
|
511
|
+
* // Count the number of SecretElicitationOutcomes
|
|
512
|
+
* const count = await prisma.secretElicitationOutcome.count({
|
|
513
|
+
* where: {
|
|
514
|
+
* // ... the filter for the SecretElicitationOutcomes we want to count
|
|
515
|
+
* }
|
|
516
|
+
* })
|
|
517
|
+
**/
|
|
518
|
+
count<T extends SecretElicitationOutcomeCountArgs>(args?: Prisma.Subset<T, SecretElicitationOutcomeCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], SecretElicitationOutcomeCountAggregateOutputType> : number>;
|
|
519
|
+
/**
|
|
520
|
+
* Allows you to perform aggregations operations on a SecretElicitationOutcome.
|
|
521
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
522
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
523
|
+
* @param {SecretElicitationOutcomeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
524
|
+
* @example
|
|
525
|
+
* // Ordered by age ascending
|
|
526
|
+
* // Where email contains prisma.io
|
|
527
|
+
* // Limited to the 10 users
|
|
528
|
+
* const aggregations = await prisma.user.aggregate({
|
|
529
|
+
* _avg: {
|
|
530
|
+
* age: true,
|
|
531
|
+
* },
|
|
532
|
+
* where: {
|
|
533
|
+
* email: {
|
|
534
|
+
* contains: "prisma.io",
|
|
535
|
+
* },
|
|
536
|
+
* },
|
|
537
|
+
* orderBy: {
|
|
538
|
+
* age: "asc",
|
|
539
|
+
* },
|
|
540
|
+
* take: 10,
|
|
541
|
+
* })
|
|
542
|
+
**/
|
|
543
|
+
aggregate<T extends SecretElicitationOutcomeAggregateArgs>(args: Prisma.Subset<T, SecretElicitationOutcomeAggregateArgs>): Prisma.PrismaPromise<GetSecretElicitationOutcomeAggregateType<T>>;
|
|
544
|
+
/**
|
|
545
|
+
* Group by SecretElicitationOutcome.
|
|
546
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
547
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
548
|
+
* @param {SecretElicitationOutcomeGroupByArgs} args - Group by arguments.
|
|
549
|
+
* @example
|
|
550
|
+
* // Group by city, order by createdAt, get count
|
|
551
|
+
* const result = await prisma.user.groupBy({
|
|
552
|
+
* by: ['city', 'createdAt'],
|
|
553
|
+
* orderBy: {
|
|
554
|
+
* createdAt: true
|
|
555
|
+
* },
|
|
556
|
+
* _count: {
|
|
557
|
+
* _all: true
|
|
558
|
+
* },
|
|
559
|
+
* })
|
|
560
|
+
*
|
|
561
|
+
**/
|
|
562
|
+
groupBy<T extends SecretElicitationOutcomeGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
563
|
+
orderBy: SecretElicitationOutcomeGroupByArgs['orderBy'];
|
|
564
|
+
} : {
|
|
565
|
+
orderBy?: SecretElicitationOutcomeGroupByArgs['orderBy'];
|
|
566
|
+
}, 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 ? {
|
|
567
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
568
|
+
Error,
|
|
569
|
+
'Field ',
|
|
570
|
+
P,
|
|
571
|
+
` in "having" needs to be provided in "by"`
|
|
572
|
+
];
|
|
573
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
574
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
575
|
+
}[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 ? {} : {
|
|
576
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
577
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
578
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
579
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, SecretElicitationOutcomeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSecretElicitationOutcomeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
580
|
+
/**
|
|
581
|
+
* Fields of the SecretElicitationOutcome model
|
|
582
|
+
*/
|
|
583
|
+
readonly fields: SecretElicitationOutcomeFieldRefs;
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* The delegate class that acts as a "Promise-like" for SecretElicitationOutcome.
|
|
587
|
+
* Why is this prefixed with `Prisma__`?
|
|
588
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
589
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
590
|
+
*/
|
|
591
|
+
export interface Prisma__SecretElicitationOutcomeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
592
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
593
|
+
/**
|
|
594
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
595
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
596
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
597
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
598
|
+
*/
|
|
599
|
+
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>;
|
|
600
|
+
/**
|
|
601
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
602
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
603
|
+
* @returns A Promise for the completion of the callback.
|
|
604
|
+
*/
|
|
605
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
606
|
+
/**
|
|
607
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
608
|
+
* resolved value cannot be modified from the callback.
|
|
609
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
610
|
+
* @returns A Promise for the completion of the callback.
|
|
611
|
+
*/
|
|
612
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* Fields of the SecretElicitationOutcome model
|
|
616
|
+
*/
|
|
617
|
+
export interface SecretElicitationOutcomeFieldRefs {
|
|
618
|
+
readonly ownerId: Prisma.FieldRef<"SecretElicitationOutcome", 'String'>;
|
|
619
|
+
readonly secretName: Prisma.FieldRef<"SecretElicitationOutcome", 'String'>;
|
|
620
|
+
readonly outcome: Prisma.FieldRef<"SecretElicitationOutcome", 'Json'>;
|
|
621
|
+
readonly expiresAt: Prisma.FieldRef<"SecretElicitationOutcome", 'DateTime'>;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* SecretElicitationOutcome findUnique
|
|
625
|
+
*/
|
|
626
|
+
export type SecretElicitationOutcomeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
627
|
+
/**
|
|
628
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
629
|
+
*/
|
|
630
|
+
select?: Prisma.SecretElicitationOutcomeSelect<ExtArgs> | null;
|
|
631
|
+
/**
|
|
632
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
633
|
+
*/
|
|
634
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
635
|
+
/**
|
|
636
|
+
* Filter, which SecretElicitationOutcome to fetch.
|
|
637
|
+
*/
|
|
638
|
+
where: Prisma.SecretElicitationOutcomeWhereUniqueInput;
|
|
639
|
+
};
|
|
640
|
+
/**
|
|
641
|
+
* SecretElicitationOutcome findUniqueOrThrow
|
|
642
|
+
*/
|
|
643
|
+
export type SecretElicitationOutcomeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
644
|
+
/**
|
|
645
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
646
|
+
*/
|
|
647
|
+
select?: Prisma.SecretElicitationOutcomeSelect<ExtArgs> | null;
|
|
648
|
+
/**
|
|
649
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
650
|
+
*/
|
|
651
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
652
|
+
/**
|
|
653
|
+
* Filter, which SecretElicitationOutcome to fetch.
|
|
654
|
+
*/
|
|
655
|
+
where: Prisma.SecretElicitationOutcomeWhereUniqueInput;
|
|
656
|
+
};
|
|
657
|
+
/**
|
|
658
|
+
* SecretElicitationOutcome findFirst
|
|
659
|
+
*/
|
|
660
|
+
export type SecretElicitationOutcomeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
661
|
+
/**
|
|
662
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
663
|
+
*/
|
|
664
|
+
select?: Prisma.SecretElicitationOutcomeSelect<ExtArgs> | null;
|
|
665
|
+
/**
|
|
666
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
667
|
+
*/
|
|
668
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
669
|
+
/**
|
|
670
|
+
* Filter, which SecretElicitationOutcome to fetch.
|
|
671
|
+
*/
|
|
672
|
+
where?: Prisma.SecretElicitationOutcomeWhereInput;
|
|
673
|
+
/**
|
|
674
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
675
|
+
*
|
|
676
|
+
* Determine the order of SecretElicitationOutcomes to fetch.
|
|
677
|
+
*/
|
|
678
|
+
orderBy?: Prisma.SecretElicitationOutcomeOrderByWithRelationInput | Prisma.SecretElicitationOutcomeOrderByWithRelationInput[];
|
|
679
|
+
/**
|
|
680
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
681
|
+
*
|
|
682
|
+
* Sets the position for searching for SecretElicitationOutcomes.
|
|
683
|
+
*/
|
|
684
|
+
cursor?: Prisma.SecretElicitationOutcomeWhereUniqueInput;
|
|
685
|
+
/**
|
|
686
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
687
|
+
*
|
|
688
|
+
* Take `±n` SecretElicitationOutcomes from the position of the cursor.
|
|
689
|
+
*/
|
|
690
|
+
take?: number;
|
|
691
|
+
/**
|
|
692
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
693
|
+
*
|
|
694
|
+
* Skip the first `n` SecretElicitationOutcomes.
|
|
695
|
+
*/
|
|
696
|
+
skip?: number;
|
|
697
|
+
/**
|
|
698
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
699
|
+
*
|
|
700
|
+
* Filter by unique combinations of SecretElicitationOutcomes.
|
|
701
|
+
*/
|
|
702
|
+
distinct?: Prisma.SecretElicitationOutcomeScalarFieldEnum | Prisma.SecretElicitationOutcomeScalarFieldEnum[];
|
|
703
|
+
};
|
|
704
|
+
/**
|
|
705
|
+
* SecretElicitationOutcome findFirstOrThrow
|
|
706
|
+
*/
|
|
707
|
+
export type SecretElicitationOutcomeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
708
|
+
/**
|
|
709
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
710
|
+
*/
|
|
711
|
+
select?: Prisma.SecretElicitationOutcomeSelect<ExtArgs> | null;
|
|
712
|
+
/**
|
|
713
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
714
|
+
*/
|
|
715
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
716
|
+
/**
|
|
717
|
+
* Filter, which SecretElicitationOutcome to fetch.
|
|
718
|
+
*/
|
|
719
|
+
where?: Prisma.SecretElicitationOutcomeWhereInput;
|
|
720
|
+
/**
|
|
721
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
722
|
+
*
|
|
723
|
+
* Determine the order of SecretElicitationOutcomes to fetch.
|
|
724
|
+
*/
|
|
725
|
+
orderBy?: Prisma.SecretElicitationOutcomeOrderByWithRelationInput | Prisma.SecretElicitationOutcomeOrderByWithRelationInput[];
|
|
726
|
+
/**
|
|
727
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
728
|
+
*
|
|
729
|
+
* Sets the position for searching for SecretElicitationOutcomes.
|
|
730
|
+
*/
|
|
731
|
+
cursor?: Prisma.SecretElicitationOutcomeWhereUniqueInput;
|
|
732
|
+
/**
|
|
733
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
734
|
+
*
|
|
735
|
+
* Take `±n` SecretElicitationOutcomes from the position of the cursor.
|
|
736
|
+
*/
|
|
737
|
+
take?: number;
|
|
738
|
+
/**
|
|
739
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
740
|
+
*
|
|
741
|
+
* Skip the first `n` SecretElicitationOutcomes.
|
|
742
|
+
*/
|
|
743
|
+
skip?: number;
|
|
744
|
+
/**
|
|
745
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
746
|
+
*
|
|
747
|
+
* Filter by unique combinations of SecretElicitationOutcomes.
|
|
748
|
+
*/
|
|
749
|
+
distinct?: Prisma.SecretElicitationOutcomeScalarFieldEnum | Prisma.SecretElicitationOutcomeScalarFieldEnum[];
|
|
750
|
+
};
|
|
751
|
+
/**
|
|
752
|
+
* SecretElicitationOutcome findMany
|
|
753
|
+
*/
|
|
754
|
+
export type SecretElicitationOutcomeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
755
|
+
/**
|
|
756
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
757
|
+
*/
|
|
758
|
+
select?: Prisma.SecretElicitationOutcomeSelect<ExtArgs> | null;
|
|
759
|
+
/**
|
|
760
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
761
|
+
*/
|
|
762
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
763
|
+
/**
|
|
764
|
+
* Filter, which SecretElicitationOutcomes to fetch.
|
|
765
|
+
*/
|
|
766
|
+
where?: Prisma.SecretElicitationOutcomeWhereInput;
|
|
767
|
+
/**
|
|
768
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
769
|
+
*
|
|
770
|
+
* Determine the order of SecretElicitationOutcomes to fetch.
|
|
771
|
+
*/
|
|
772
|
+
orderBy?: Prisma.SecretElicitationOutcomeOrderByWithRelationInput | Prisma.SecretElicitationOutcomeOrderByWithRelationInput[];
|
|
773
|
+
/**
|
|
774
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
775
|
+
*
|
|
776
|
+
* Sets the position for listing SecretElicitationOutcomes.
|
|
777
|
+
*/
|
|
778
|
+
cursor?: Prisma.SecretElicitationOutcomeWhereUniqueInput;
|
|
779
|
+
/**
|
|
780
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
781
|
+
*
|
|
782
|
+
* Take `±n` SecretElicitationOutcomes from the position of the cursor.
|
|
783
|
+
*/
|
|
784
|
+
take?: number;
|
|
785
|
+
/**
|
|
786
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
787
|
+
*
|
|
788
|
+
* Skip the first `n` SecretElicitationOutcomes.
|
|
789
|
+
*/
|
|
790
|
+
skip?: number;
|
|
791
|
+
/**
|
|
792
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
793
|
+
*
|
|
794
|
+
* Filter by unique combinations of SecretElicitationOutcomes.
|
|
795
|
+
*/
|
|
796
|
+
distinct?: Prisma.SecretElicitationOutcomeScalarFieldEnum | Prisma.SecretElicitationOutcomeScalarFieldEnum[];
|
|
797
|
+
};
|
|
798
|
+
/**
|
|
799
|
+
* SecretElicitationOutcome create
|
|
800
|
+
*/
|
|
801
|
+
export type SecretElicitationOutcomeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
802
|
+
/**
|
|
803
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
804
|
+
*/
|
|
805
|
+
select?: Prisma.SecretElicitationOutcomeSelect<ExtArgs> | null;
|
|
806
|
+
/**
|
|
807
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
808
|
+
*/
|
|
809
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
810
|
+
/**
|
|
811
|
+
* The data needed to create a SecretElicitationOutcome.
|
|
812
|
+
*/
|
|
813
|
+
data: Prisma.XOR<Prisma.SecretElicitationOutcomeCreateInput, Prisma.SecretElicitationOutcomeUncheckedCreateInput>;
|
|
814
|
+
};
|
|
815
|
+
/**
|
|
816
|
+
* SecretElicitationOutcome createMany
|
|
817
|
+
*/
|
|
818
|
+
export type SecretElicitationOutcomeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
819
|
+
/**
|
|
820
|
+
* The data used to create many SecretElicitationOutcomes.
|
|
821
|
+
*/
|
|
822
|
+
data: Prisma.SecretElicitationOutcomeCreateManyInput | Prisma.SecretElicitationOutcomeCreateManyInput[];
|
|
823
|
+
skipDuplicates?: boolean;
|
|
824
|
+
};
|
|
825
|
+
/**
|
|
826
|
+
* SecretElicitationOutcome createManyAndReturn
|
|
827
|
+
*/
|
|
828
|
+
export type SecretElicitationOutcomeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
829
|
+
/**
|
|
830
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
831
|
+
*/
|
|
832
|
+
select?: Prisma.SecretElicitationOutcomeSelectCreateManyAndReturn<ExtArgs> | null;
|
|
833
|
+
/**
|
|
834
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
835
|
+
*/
|
|
836
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
837
|
+
/**
|
|
838
|
+
* The data used to create many SecretElicitationOutcomes.
|
|
839
|
+
*/
|
|
840
|
+
data: Prisma.SecretElicitationOutcomeCreateManyInput | Prisma.SecretElicitationOutcomeCreateManyInput[];
|
|
841
|
+
skipDuplicates?: boolean;
|
|
842
|
+
};
|
|
843
|
+
/**
|
|
844
|
+
* SecretElicitationOutcome update
|
|
845
|
+
*/
|
|
846
|
+
export type SecretElicitationOutcomeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
847
|
+
/**
|
|
848
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
849
|
+
*/
|
|
850
|
+
select?: Prisma.SecretElicitationOutcomeSelect<ExtArgs> | null;
|
|
851
|
+
/**
|
|
852
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
853
|
+
*/
|
|
854
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
855
|
+
/**
|
|
856
|
+
* The data needed to update a SecretElicitationOutcome.
|
|
857
|
+
*/
|
|
858
|
+
data: Prisma.XOR<Prisma.SecretElicitationOutcomeUpdateInput, Prisma.SecretElicitationOutcomeUncheckedUpdateInput>;
|
|
859
|
+
/**
|
|
860
|
+
* Choose, which SecretElicitationOutcome to update.
|
|
861
|
+
*/
|
|
862
|
+
where: Prisma.SecretElicitationOutcomeWhereUniqueInput;
|
|
863
|
+
};
|
|
864
|
+
/**
|
|
865
|
+
* SecretElicitationOutcome updateMany
|
|
866
|
+
*/
|
|
867
|
+
export type SecretElicitationOutcomeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
868
|
+
/**
|
|
869
|
+
* The data used to update SecretElicitationOutcomes.
|
|
870
|
+
*/
|
|
871
|
+
data: Prisma.XOR<Prisma.SecretElicitationOutcomeUpdateManyMutationInput, Prisma.SecretElicitationOutcomeUncheckedUpdateManyInput>;
|
|
872
|
+
/**
|
|
873
|
+
* Filter which SecretElicitationOutcomes to update
|
|
874
|
+
*/
|
|
875
|
+
where?: Prisma.SecretElicitationOutcomeWhereInput;
|
|
876
|
+
/**
|
|
877
|
+
* Limit how many SecretElicitationOutcomes to update.
|
|
878
|
+
*/
|
|
879
|
+
limit?: number;
|
|
880
|
+
};
|
|
881
|
+
/**
|
|
882
|
+
* SecretElicitationOutcome updateManyAndReturn
|
|
883
|
+
*/
|
|
884
|
+
export type SecretElicitationOutcomeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
885
|
+
/**
|
|
886
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
887
|
+
*/
|
|
888
|
+
select?: Prisma.SecretElicitationOutcomeSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
889
|
+
/**
|
|
890
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
891
|
+
*/
|
|
892
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
893
|
+
/**
|
|
894
|
+
* The data used to update SecretElicitationOutcomes.
|
|
895
|
+
*/
|
|
896
|
+
data: Prisma.XOR<Prisma.SecretElicitationOutcomeUpdateManyMutationInput, Prisma.SecretElicitationOutcomeUncheckedUpdateManyInput>;
|
|
897
|
+
/**
|
|
898
|
+
* Filter which SecretElicitationOutcomes to update
|
|
899
|
+
*/
|
|
900
|
+
where?: Prisma.SecretElicitationOutcomeWhereInput;
|
|
901
|
+
/**
|
|
902
|
+
* Limit how many SecretElicitationOutcomes to update.
|
|
903
|
+
*/
|
|
904
|
+
limit?: number;
|
|
905
|
+
};
|
|
906
|
+
/**
|
|
907
|
+
* SecretElicitationOutcome upsert
|
|
908
|
+
*/
|
|
909
|
+
export type SecretElicitationOutcomeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
910
|
+
/**
|
|
911
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
912
|
+
*/
|
|
913
|
+
select?: Prisma.SecretElicitationOutcomeSelect<ExtArgs> | null;
|
|
914
|
+
/**
|
|
915
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
916
|
+
*/
|
|
917
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
918
|
+
/**
|
|
919
|
+
* The filter to search for the SecretElicitationOutcome to update in case it exists.
|
|
920
|
+
*/
|
|
921
|
+
where: Prisma.SecretElicitationOutcomeWhereUniqueInput;
|
|
922
|
+
/**
|
|
923
|
+
* In case the SecretElicitationOutcome found by the `where` argument doesn't exist, create a new SecretElicitationOutcome with this data.
|
|
924
|
+
*/
|
|
925
|
+
create: Prisma.XOR<Prisma.SecretElicitationOutcomeCreateInput, Prisma.SecretElicitationOutcomeUncheckedCreateInput>;
|
|
926
|
+
/**
|
|
927
|
+
* In case the SecretElicitationOutcome was found with the provided `where` argument, update it with this data.
|
|
928
|
+
*/
|
|
929
|
+
update: Prisma.XOR<Prisma.SecretElicitationOutcomeUpdateInput, Prisma.SecretElicitationOutcomeUncheckedUpdateInput>;
|
|
930
|
+
};
|
|
931
|
+
/**
|
|
932
|
+
* SecretElicitationOutcome delete
|
|
933
|
+
*/
|
|
934
|
+
export type SecretElicitationOutcomeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
935
|
+
/**
|
|
936
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
937
|
+
*/
|
|
938
|
+
select?: Prisma.SecretElicitationOutcomeSelect<ExtArgs> | null;
|
|
939
|
+
/**
|
|
940
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
941
|
+
*/
|
|
942
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
943
|
+
/**
|
|
944
|
+
* Filter which SecretElicitationOutcome to delete.
|
|
945
|
+
*/
|
|
946
|
+
where: Prisma.SecretElicitationOutcomeWhereUniqueInput;
|
|
947
|
+
};
|
|
948
|
+
/**
|
|
949
|
+
* SecretElicitationOutcome deleteMany
|
|
950
|
+
*/
|
|
951
|
+
export type SecretElicitationOutcomeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
952
|
+
/**
|
|
953
|
+
* Filter which SecretElicitationOutcomes to delete
|
|
954
|
+
*/
|
|
955
|
+
where?: Prisma.SecretElicitationOutcomeWhereInput;
|
|
956
|
+
/**
|
|
957
|
+
* Limit how many SecretElicitationOutcomes to delete.
|
|
958
|
+
*/
|
|
959
|
+
limit?: number;
|
|
960
|
+
};
|
|
961
|
+
/**
|
|
962
|
+
* SecretElicitationOutcome without action
|
|
963
|
+
*/
|
|
964
|
+
export type SecretElicitationOutcomeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
965
|
+
/**
|
|
966
|
+
* Select specific fields to fetch from the SecretElicitationOutcome
|
|
967
|
+
*/
|
|
968
|
+
select?: Prisma.SecretElicitationOutcomeSelect<ExtArgs> | null;
|
|
969
|
+
/**
|
|
970
|
+
* Omit specific fields from the SecretElicitationOutcome
|
|
971
|
+
*/
|
|
972
|
+
omit?: Prisma.SecretElicitationOutcomeOmit<ExtArgs> | null;
|
|
973
|
+
};
|