@wardby/cli 0.5.3 → 0.7.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 +33 -0
- package/README.md +25 -14
- package/deploy/local/docker-compose.quickstart-coding.yml +13 -0
- package/dist/claude-coding-worker/context.d.ts +22 -0
- package/dist/claude-coding-worker/context.js +92 -0
- package/dist/claude-coding-worker/driver.d.ts +27 -3
- package/dist/claude-coding-worker/driver.js +161 -20
- package/dist/claude-coding-worker/main.js +34 -6
- package/dist/claude-coding-worker/sdk.js +25 -5
- package/dist/claude-coding-worker/tool-socket.d.ts +27 -0
- package/dist/claude-coding-worker/tool-socket.js +111 -0
- package/dist/claude-coding-worker/transcript.d.ts +18 -0
- package/dist/claude-coding-worker/transcript.js +77 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +6 -2
- package/dist/cli-native-mode.d.ts +9 -0
- package/dist/cli-native-mode.js +20 -0
- package/dist/cli.d.ts +3 -1
- package/dist/cli.js +161 -11
- package/dist/coding/claude-context.d.ts +45 -0
- package/dist/coding/claude-context.js +434 -0
- package/dist/coding/continuation-wording.d.ts +35 -0
- package/dist/coding/continuation-wording.js +73 -0
- package/dist/coding/linked-issue-note.d.ts +23 -0
- package/dist/coding/linked-issue-note.js +47 -0
- package/dist/coding/merge-wording.d.ts +28 -0
- package/dist/coding/merge-wording.js +78 -0
- package/dist/coding/pr-description-note.d.ts +9 -0
- package/dist/coding/pr-description-note.js +32 -0
- package/dist/coding/profile.d.ts +50 -118
- package/dist/coding/profile.js +51 -4
- package/dist/coding/protected-path-wording.d.ts +8 -0
- package/dist/coding/protected-path-wording.js +1 -1
- package/dist/coding/protocol.d.ts +292 -270
- package/dist/coding/protocol.js +322 -15
- package/dist/coding/redact.d.ts +3 -0
- package/dist/coding/redact.js +12 -0
- package/dist/coding/registry/allowlist.d.ts +12 -0
- package/dist/coding/registry/allowlist.js +14 -1
- package/dist/coding/registry/audit-mode.d.ts +153 -0
- package/dist/coding/registry/audit-mode.js +304 -0
- package/dist/coding/registry/lockfile-shared.d.ts +36 -0
- package/dist/coding/registry/lockfile-shared.js +128 -0
- package/dist/coding/registry/lockfiles.js +1 -1
- package/dist/coding/registry/npm-lockfile-formats.d.ts +11 -0
- package/dist/coding/registry/npm-lockfile-formats.js +41 -0
- package/dist/coding/registry/npm-lockfile.d.ts +8 -4
- package/dist/coding/registry/npm-lockfile.js +4 -6
- package/dist/coding/registry/npm.js +78 -8
- package/dist/coding/registry/pnpm-lockfile.d.ts +17 -0
- package/dist/coding/registry/pnpm-lockfile.js +189 -0
- package/dist/coding/registry/pypi-plan.d.ts +50 -0
- package/dist/coding/registry/pypi-plan.js +406 -0
- package/dist/coding/registry/pypi-requirements.d.ts +58 -0
- package/dist/coding/registry/pypi-requirements.js +155 -0
- package/dist/coding/registry/pypi.d.ts +3 -27
- package/dist/coding/registry/pypi.js +40 -154
- package/dist/coding/registry/refusal-hints.d.ts +20 -0
- package/dist/coding/registry/refusal-hints.js +61 -0
- package/dist/coding/registry/refusal-wording.d.ts +11 -0
- package/dist/coding/registry/refusal-wording.js +56 -0
- package/dist/coding/registry/report.d.ts +70 -8
- package/dist/coding/registry/report.js +112 -5
- package/dist/coding/registry/types.d.ts +58 -8
- package/dist/coding/registry/yarn-lockfile.d.ts +30 -0
- package/dist/coding/registry/yarn-lockfile.js +367 -0
- package/dist/coding/services/catalog.d.ts +37 -351
- package/dist/coding/transcript/claude-code.d.ts +13 -0
- package/dist/coding/transcript/claude-code.js +273 -0
- package/dist/coding/transcript/download-protocol.d.ts +30 -0
- package/dist/coding/transcript/download-protocol.js +18 -0
- package/dist/coding/transcript/format.d.ts +20 -0
- package/dist/coding/transcript/format.js +32 -0
- package/dist/coding/transcript/recorder.d.ts +51 -0
- package/dist/coding/transcript/recorder.js +225 -0
- package/dist/coding/transcript/resume/checkout.d.ts +31 -0
- package/dist/coding/transcript/resume/checkout.js +203 -0
- package/dist/coding/transcript/resume/command.d.ts +17 -0
- package/dist/coding/transcript/resume/command.js +176 -0
- package/dist/coding/transcript/resume/download.d.ts +20 -0
- package/dist/coding/transcript/resume/download.js +153 -0
- package/dist/coding/transcript/resume/launch.d.ts +38 -0
- package/dist/coding/transcript/resume/launch.js +128 -0
- package/dist/coding/transcript/resume/session-file.d.ts +13 -0
- package/dist/coding/transcript/resume/session-file.js +79 -0
- package/dist/coding/transcript/resume/stand-in.d.ts +11 -0
- package/dist/coding/transcript/resume/stand-in.js +49 -0
- package/dist/coding-worker/artifact.d.ts +16 -3
- package/dist/coding-worker/artifact.js +5 -3
- package/dist/coding-worker/debug-trace.d.ts +6 -5
- package/dist/coding-worker/debug-trace.js +13 -18
- package/dist/coding-worker/dependency-cache.d.mts +229 -0
- package/dist/coding-worker/dependency-cache.mjs +2123 -0
- package/dist/coding-worker/driver.d.ts +4 -3
- package/dist/coding-worker/driver.js +118 -38
- package/dist/coding-worker/errors.d.ts +1 -0
- package/dist/coding-worker/errors.js +32 -0
- package/dist/coding-worker/sdk.d.ts +6 -0
- package/dist/coding-worker/sdk.js +1 -0
- package/dist/coding-worker/skills.d.ts +23 -0
- package/dist/coding-worker/skills.js +117 -0
- package/dist/coding-worker/task-note.d.ts +11 -0
- package/dist/coding-worker/task-note.js +13 -0
- package/dist/coding-worker/types.d.ts +13 -0
- package/dist/config/dependency-cache.d.ts +23 -0
- package/dist/config/dependency-cache.js +32 -0
- package/dist/config/github-allowed-accounts.d.ts +15 -0
- package/dist/config/github-allowed-accounts.js +36 -0
- package/dist/config/low-power.d.ts +12 -0
- package/dist/config/low-power.js +18 -0
- package/dist/config/mobile.d.ts +12 -0
- package/dist/config/mobile.js +18 -0
- package/dist/config/providers.d.ts +65 -3
- package/dist/config/providers.js +147 -11
- package/dist/config/test-simulators.d.ts +82 -0
- package/dist/config/test-simulators.js +305 -0
- package/dist/core/async-context.d.ts +2 -0
- package/dist/core/async-context.js +12 -0
- package/dist/core/budget-events.d.ts +108 -0
- package/dist/core/budget-events.js +346 -0
- package/dist/core/budget-groups.d.ts +50 -1
- package/dist/core/budget-groups.js +236 -27
- package/dist/core/budget-stopped-head.d.ts +46 -0
- package/dist/core/budget-stopped-head.js +81 -0
- package/dist/core/budget-topup.d.ts +51 -0
- package/dist/core/budget-topup.js +156 -0
- package/dist/core/budget-wording.d.ts +16 -2
- package/dist/core/budget-wording.js +40 -2
- package/dist/core/coding-queue.d.ts +2 -1
- package/dist/core/coding-queue.js +7 -0
- package/dist/core/cron.d.ts +19 -1
- package/dist/core/cron.js +17 -0
- package/dist/core/datastores.js +1 -1
- package/dist/core/db.d.ts +16 -6
- package/dist/core/db.js +12 -10
- package/dist/core/deferred-coding.d.ts +14 -0
- package/dist/core/deferred-coding.js +62 -0
- package/dist/core/delegation-child.d.ts +25 -0
- package/dist/core/delegation-child.js +37 -0
- package/dist/core/dispatch.d.ts +53 -0
- package/dist/core/dispatch.js +167 -57
- package/dist/core/engine-native.js +10 -6
- package/dist/core/error-code.d.ts +38 -0
- package/dist/core/error-code.js +168 -0
- package/dist/core/grants.d.ts +19 -6
- package/dist/core/grants.js +55 -6
- package/dist/core/host-events.d.ts +67 -5
- package/dist/core/host-events.js +571 -37
- package/dist/core/host-status.d.ts +85 -3
- package/dist/core/host-status.js +298 -20
- package/dist/core/issue-bridge.d.ts +50 -6
- package/dist/core/issue-bridge.js +151 -20
- package/dist/core/issue-events.d.ts +1 -1
- package/dist/core/issue-events.js +16 -11
- package/dist/core/issue-status.d.ts +1 -1
- package/dist/core/issue-status.js +68 -29
- package/dist/core/logger.d.ts +5 -0
- package/dist/core/logger.js +14 -1
- package/dist/core/lost-run-children.d.ts +6 -0
- package/dist/core/lost-run-children.js +32 -0
- package/dist/core/mark-ready.d.ts +34 -0
- package/dist/core/mark-ready.js +152 -0
- package/dist/core/markdown-code.d.ts +8 -0
- package/dist/core/markdown-code.js +107 -0
- package/dist/core/memory-tools.js +7 -0
- package/dist/core/merge-order-check.d.ts +130 -0
- package/dist/core/merge-order-check.js +343 -0
- package/dist/core/notification-dispatcher.d.ts +70 -0
- package/dist/core/notification-dispatcher.js +368 -0
- package/dist/core/notification-templates.d.ts +19 -0
- package/dist/core/notification-templates.js +139 -0
- package/dist/core/notifications.d.ts +10 -0
- package/dist/core/notifications.js +38 -0
- package/dist/core/pg-auth.d.ts +22 -0
- package/dist/core/pg-auth.js +152 -0
- package/dist/core/power-composition.d.ts +16 -0
- package/dist/core/power-composition.js +37 -0
- package/dist/core/power-idle.d.ts +14 -0
- package/dist/core/power-idle.js +30 -0
- package/dist/core/power.d.ts +71 -0
- package/dist/core/power.js +202 -0
- package/dist/core/pull-request-state-sync.js +2 -2
- package/dist/core/reconciler.d.ts +8 -5
- package/dist/core/reconciler.js +37 -6
- package/dist/core/related-pull-requests.d.ts +59 -7
- package/dist/core/related-pull-requests.js +140 -25
- package/dist/core/reply-parts.d.ts +21 -0
- package/dist/core/reply-parts.js +73 -0
- package/dist/core/repo-access.d.ts +15 -0
- package/dist/core/repo-access.js +66 -0
- package/dist/core/review-fix.d.ts +38 -1
- package/dist/core/review-fix.js +209 -7
- package/dist/core/review-host-checks.d.ts +1 -1
- package/dist/core/review-host-tools.d.ts +23 -0
- package/dist/core/review-host-tools.js +156 -14
- package/dist/core/review-reads.d.ts +55 -0
- package/dist/core/review-reads.js +233 -0
- package/dist/core/run-status.d.ts +12 -0
- package/dist/core/run-status.js +12 -0
- package/dist/core/runner.d.ts +384 -5
- package/dist/core/runner.js +1244 -372
- package/dist/core/schedule-start.d.ts +12 -0
- package/dist/core/schedule-start.js +14 -0
- package/dist/core/secret-broker-config.d.ts +39 -0
- package/dist/core/secret-broker-config.js +112 -0
- package/dist/core/secret-guard.d.ts +46 -0
- package/dist/core/secret-guard.js +104 -0
- package/dist/core/secret-guarded-stores.d.ts +12 -0
- package/dist/core/secret-guarded-stores.js +41 -0
- package/dist/core/secret-spans.d.ts +50 -0
- package/dist/core/secret-spans.js +94 -0
- package/dist/core/secrets.d.ts +39 -4
- package/dist/core/secrets.js +148 -40
- package/dist/core/stop-run.d.ts +46 -0
- package/dist/core/stop-run.js +61 -0
- package/dist/core/workflow-event-recorder.d.ts +14 -0
- package/dist/core/workflow-event-recorder.js +120 -0
- package/dist/core/workflow-events.d.ts +94 -0
- package/dist/core/workflow-events.js +48 -0
- package/dist/core/workflow-run-events.d.ts +18 -0
- package/dist/core/workflow-run-events.js +75 -0
- package/dist/core/zod-json-schema.d.ts +4 -0
- package/dist/core/zod-json-schema.js +39 -0
- package/dist/core/zod3-window.d.ts +35 -0
- package/dist/core/zod3-window.js +124 -0
- package/dist/generated/prisma/browser.d.ts +92 -3
- package/dist/generated/prisma/client.d.ts +92 -3
- package/dist/generated/prisma/commonInputTypes.d.ts +364 -54
- package/dist/generated/prisma/enums.d.ts +37 -0
- package/dist/generated/prisma/enums.js +31 -0
- package/dist/generated/prisma/internal/class.d.ts +132 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +1332 -142
- package/dist/generated/prisma/internal/prismaNamespace.js +227 -5
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +234 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +227 -5
- package/dist/generated/prisma/models/Agent.d.ts +464 -7
- package/dist/generated/prisma/models/AgentRepository.d.ts +42 -1
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +301 -1
- package/dist/generated/prisma/models/CodingProxyRequest.d.ts +207 -3
- package/dist/generated/prisma/models/CodingProxySession.d.ts +114 -1
- package/dist/generated/prisma/models/CodingRun.d.ts +1841 -1
- package/dist/generated/prisma/models/DeferredReview.d.ts +78 -1
- package/dist/generated/prisma/models/DependencySnapshot.d.ts +1668 -0
- package/dist/generated/prisma/models/DependencySnapshot.js +1 -0
- package/dist/generated/prisma/models/IssuePullRequest.d.ts +6 -2
- package/dist/generated/prisma/models/LocalReview.d.ts +40 -1
- package/dist/generated/prisma/models/NativeGatewayCall.d.ts +1713 -0
- package/dist/generated/prisma/models/NativeGatewayCall.js +1 -0
- package/dist/generated/prisma/models/NativeGatewaySession.d.ts +1551 -0
- package/dist/generated/prisma/models/NativeGatewaySession.js +1 -0
- package/dist/generated/prisma/models/NativeWarmWorker.d.ts +1296 -0
- package/dist/generated/prisma/models/NativeWarmWorker.js +1 -0
- package/dist/generated/prisma/models/NotificationChannel.d.ts +1543 -0
- package/dist/generated/prisma/models/NotificationChannel.js +1 -0
- package/dist/generated/prisma/models/NotificationDelivery.d.ts +1502 -0
- package/dist/generated/prisma/models/NotificationDelivery.js +1 -0
- package/dist/generated/prisma/models/NotificationThread.d.ts +1090 -0
- package/dist/generated/prisma/models/NotificationThread.js +1 -0
- package/dist/generated/prisma/models/RegistryAllowance.d.ts +41 -1
- package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +75 -1
- package/dist/generated/prisma/models/RegistryAuditRecord.d.ts +1364 -0
- package/dist/generated/prisma/models/RegistryAuditRecord.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +1619 -58
- package/dist/generated/prisma/models/RunBudgetEvent.d.ts +1211 -0
- package/dist/generated/prisma/models/RunBudgetEvent.js +1 -0
- package/dist/generated/prisma/models/RunHostCheck.d.ts +36 -1
- package/dist/generated/prisma/models/RunTranscript.d.ts +1339 -0
- package/dist/generated/prisma/models/RunTranscript.js +1 -0
- package/dist/generated/prisma/models/Secret.d.ts +37 -1
- package/dist/generated/prisma/models/SecretBrokerChange.d.ts +1101 -0
- package/dist/generated/prisma/models/SecretBrokerChange.js +1 -0
- package/dist/generated/prisma/models/WorkflowEvent.d.ts +1422 -0
- package/dist/generated/prisma/models/WorkflowEvent.js +1 -0
- package/dist/generated/prisma/models.d.ts +12 -0
- package/dist/help/build.js +4 -2
- package/dist/help/catalog.d.ts +1 -1
- package/dist/help/catalog.js +31 -6
- package/dist/help-index.json +2584 -146
- package/dist/import/create.js +49 -3
- package/dist/import/neutral-schema.d.ts +50 -277
- package/dist/import/neutral-schema.js +7 -4
- package/dist/knowledge/check.d.ts +1 -1
- package/dist/knowledge/cli.d.ts +11 -1
- package/dist/knowledge/cli.js +37 -4
- package/dist/knowledge/concept.d.ts +3 -19
- package/dist/knowledge/location.d.ts +31 -0
- package/dist/knowledge/location.js +78 -0
- package/dist/mcp/auth/access.d.ts +11 -2
- package/dist/mcp/auth/access.js +15 -1
- package/dist/mcp/auth/ownership.d.ts +7 -7
- package/dist/mcp/auth/repo-authorization.js +14 -0
- package/dist/mcp/auth/resource-server.d.ts +2 -1
- package/dist/mcp/auth/resource-server.js +7 -2
- package/dist/mcp/auth/self-hosted/browser.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/browser.js +19 -6
- package/dist/mcp/auth/self-hosted/credentials.d.ts +3 -3
- package/dist/mcp/auth/self-hosted/session.d.ts +2 -2
- package/dist/mcp/context.d.ts +6 -0
- package/dist/mcp/host-events/github-ingress.d.ts +25 -1
- package/dist/mcp/host-events/github-ingress.js +70 -1
- package/dist/mcp/index.d.ts +19 -0
- package/dist/mcp/index.js +117 -20
- package/dist/mcp/server.d.ts +13 -0
- package/dist/mcp/server.js +33 -14
- package/dist/mcp/tools/agents.d.ts +4 -0
- package/dist/mcp/tools/agents.js +277 -24
- package/dist/mcp/tools/datastore.js +17 -8
- package/dist/mcp/tools/grants.js +9 -3
- package/dist/mcp/tools/memory.js +11 -1
- package/dist/mcp/tools/notification-channels.d.ts +2 -0
- package/dist/mcp/tools/notification-channels.js +293 -0
- package/dist/mcp/tools/packages.d.ts +2 -0
- package/dist/mcp/tools/packages.js +195 -0
- package/dist/mcp/tools/power.d.ts +2 -0
- package/dist/mcp/tools/power.js +77 -0
- package/dist/mcp/tools/repositories.js +18 -5
- package/dist/mcp/tools/run-access.d.ts +16 -0
- package/dist/mcp/tools/run-access.js +25 -0
- package/dist/mcp/tools/run-transcript-download.d.ts +30 -0
- package/dist/mcp/tools/run-transcript-download.js +129 -0
- package/dist/mcp/tools/run-transcript.d.ts +19 -0
- package/dist/mcp/tools/run-transcript.js +70 -0
- package/dist/mcp/tools/runs.d.ts +0 -6
- package/dist/mcp/tools/runs.js +41 -14
- package/dist/mcp/tools/scheduling.js +3 -1
- package/dist/mcp/tools/secret-broker-compat.d.ts +12 -0
- package/dist/mcp/tools/secret-broker-compat.js +23 -0
- package/dist/mcp/tools/secret-elicitation-form.d.ts +22 -2
- package/dist/mcp/tools/secret-elicitation-form.js +205 -10
- package/dist/mcp/tools/secret-elicitation-server.d.ts +6 -0
- package/dist/mcp/tools/secret-elicitation-server.js +10 -54
- package/dist/mcp/tools/secret-elicitation.d.ts +38 -3
- package/dist/mcp/tools/secret-elicitation.js +110 -12
- package/dist/mcp/tools/secrets.js +186 -9
- package/dist/mcp/tools/stop-run.d.ts +2 -0
- package/dist/mcp/tools/stop-run.js +82 -0
- package/dist/mcp/tools/subagents.js +2 -2
- package/dist/mcp/tools/tools.d.ts +2 -2
- package/dist/mcp/tools/tools.js +47 -11
- package/dist/mcp/transport/stdio-link-host.d.ts +20 -0
- package/dist/mcp/transport/stdio-link-host.js +67 -0
- package/dist/mcp/transport/streamable-http.d.ts +13 -0
- package/dist/mcp/transport/streamable-http.js +41 -1
- package/dist/native-worker/composition.d.ts +23 -0
- package/dist/native-worker/composition.js +77 -0
- package/dist/native-worker/docker-isolation.d.ts +65 -0
- package/dist/native-worker/docker-isolation.js +183 -0
- package/dist/native-worker/docker-launcher.d.ts +110 -0
- package/dist/native-worker/docker-launcher.js +297 -0
- package/dist/native-worker/gateway-server.d.ts +77 -0
- package/dist/native-worker/gateway-server.js +412 -0
- package/dist/native-worker/gateway.d.ts +70 -0
- package/dist/native-worker/gateway.js +263 -0
- package/dist/native-worker/http-server.d.ts +24 -0
- package/dist/native-worker/http-server.js +113 -0
- package/dist/native-worker/http-transport.d.ts +17 -0
- package/dist/native-worker/http-transport.js +88 -0
- package/dist/native-worker/kubernetes-isolation.d.ts +90 -0
- package/dist/native-worker/kubernetes-isolation.js +218 -0
- package/dist/native-worker/kubernetes-launcher.d.ts +106 -0
- package/dist/native-worker/kubernetes-launcher.js +375 -0
- package/dist/native-worker/launch.d.ts +62 -0
- package/dist/native-worker/launch.js +49 -0
- package/dist/native-worker/ledger.d.ts +125 -0
- package/dist/native-worker/ledger.js +245 -0
- package/dist/native-worker/loopback.d.ts +12 -0
- package/dist/native-worker/loopback.js +44 -0
- package/dist/native-worker/main.d.ts +8 -0
- package/dist/native-worker/main.js +85 -0
- package/dist/native-worker/protocol.d.ts +296 -0
- package/dist/native-worker/protocol.js +246 -0
- package/dist/native-worker/sandbox-executor.d.ts +83 -0
- package/dist/native-worker/sandbox-executor.js +284 -0
- package/dist/native-worker/stderr-redaction.d.ts +77 -0
- package/dist/native-worker/stderr-redaction.js +237 -0
- package/dist/native-worker/stdio.d.ts +29 -0
- package/dist/native-worker/stdio.js +189 -0
- package/dist/native-worker/warm-delivery.d.ts +16 -0
- package/dist/native-worker/warm-delivery.js +33 -0
- package/dist/native-worker/warm-pool-ledger.d.ts +39 -0
- package/dist/native-worker/warm-pool-ledger.js +73 -0
- package/dist/native-worker/warm-pool.d.ts +107 -0
- package/dist/native-worker/warm-pool.js +283 -0
- package/dist/native-worker/worker.d.ts +17 -0
- package/dist/native-worker/worker.js +141 -0
- package/dist/observability/metrics.js +6 -1
- package/dist/providers/auth/authorization-server.d.ts +3 -0
- package/dist/providers/auth/index.js +2 -0
- package/dist/providers/auth/self-hosted.d.ts +14 -2
- package/dist/providers/auth/self-hosted.js +54 -4
- package/dist/providers/chat/fake.d.ts +46 -0
- package/dist/providers/chat/fake.js +39 -0
- package/dist/providers/chat/index.d.ts +4 -0
- package/dist/providers/chat/index.js +8 -0
- package/dist/providers/chat/slack.d.ts +37 -0
- package/dist/providers/chat/slack.js +105 -0
- package/dist/providers/chat/types.d.ts +42 -0
- package/dist/providers/chat/types.js +19 -0
- package/dist/providers/coding-proxy/dependency-cache/eviction.d.ts +29 -0
- package/dist/providers/coding-proxy/dependency-cache/eviction.js +87 -0
- package/dist/providers/coding-proxy/dependency-cache/key.d.ts +33 -0
- package/dist/providers/coding-proxy/dependency-cache/key.js +86 -0
- package/dist/providers/coding-proxy/dependency-cache/model-request-seal.d.ts +18 -0
- package/dist/providers/coding-proxy/dependency-cache/model-request-seal.js +40 -0
- package/dist/providers/coding-proxy/dependency-cache/prisma-store.d.ts +25 -0
- package/dist/providers/coding-proxy/dependency-cache/prisma-store.js +131 -0
- package/dist/providers/coding-proxy/dependency-cache/service.d.ts +70 -0
- package/dist/providers/coding-proxy/dependency-cache/service.js +409 -0
- package/dist/providers/coding-proxy/dependency-cache/store.d.ts +85 -0
- package/dist/providers/coding-proxy/dependency-cache/store.js +95 -0
- package/dist/providers/coding-proxy/hold.d.ts +32 -0
- package/dist/providers/coding-proxy/hold.js +86 -0
- package/dist/providers/coding-proxy/interrupted.d.ts +70 -0
- package/dist/providers/coding-proxy/interrupted.js +104 -0
- package/dist/providers/coding-proxy/memory-ledger.d.ts +15 -2
- package/dist/providers/coding-proxy/memory-ledger.js +84 -8
- package/dist/providers/coding-proxy/metering.d.ts +16 -0
- package/dist/providers/coding-proxy/metering.js +27 -4
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +15 -2
- package/dist/providers/coding-proxy/prisma-ledger.js +179 -67
- package/dist/providers/coding-proxy/proxy.d.ts +14 -1
- package/dist/providers/coding-proxy/proxy.js +166 -14
- package/dist/providers/coding-proxy/registry/audit.d.ts +53 -10
- package/dist/providers/coding-proxy/registry/audit.js +94 -17
- package/dist/providers/coding-proxy/registry/lockfile-parse-worker.d.ts +36 -0
- package/dist/providers/coding-proxy/registry/lockfile-parse-worker.js +67 -0
- package/dist/providers/coding-proxy/registry/lockfile-parse.d.ts +16 -0
- package/dist/providers/coding-proxy/registry/lockfile-parse.js +110 -0
- package/dist/providers/coding-proxy/registry/plan.d.ts +9 -0
- package/dist/providers/coding-proxy/registry/plan.js +201 -48
- package/dist/providers/coding-proxy/registry/prisma-store.d.ts +11 -5
- package/dist/providers/coding-proxy/registry/prisma-store.js +120 -17
- package/dist/providers/coding-proxy/registry/service.d.ts +97 -16
- package/dist/providers/coding-proxy/registry/service.js +579 -112
- package/dist/providers/coding-proxy/registry/store.d.ts +84 -9
- package/dist/providers/coding-proxy/registry/store.js +54 -1
- package/dist/providers/coding-proxy/runtime.d.ts +4 -0
- package/dist/providers/coding-proxy/runtime.js +78 -16
- package/dist/providers/coding-proxy/server.d.ts +6 -1
- package/dist/providers/coding-proxy/server.js +45 -1
- package/dist/providers/coding-proxy/types.d.ts +65 -1
- package/dist/providers/datastore/types.d.ts +5 -0
- package/dist/providers/engine/types.d.ts +36 -2
- package/dist/providers/engine/types.js +39 -0
- package/dist/providers/executor/composition.d.ts +31 -1
- package/dist/providers/executor/composition.js +81 -8
- package/dist/providers/executor/container.d.ts +385 -9
- package/dist/providers/executor/container.js +1234 -99
- package/dist/providers/executor/dbos-status.d.ts +31 -0
- package/dist/providers/executor/dbos-status.js +64 -0
- package/dist/providers/executor/dbos.d.ts +91 -0
- package/dist/providers/executor/dbos.js +319 -26
- package/dist/providers/executor/deferred.d.ts +44 -0
- package/dist/providers/executor/deferred.js +100 -0
- package/dist/providers/executor/in-process.d.ts +9 -1
- package/dist/providers/executor/in-process.js +14 -4
- package/dist/providers/executor/linked-issue-reader.d.ts +16 -0
- package/dist/providers/executor/linked-issue-reader.js +30 -0
- package/dist/providers/executor/routing.d.ts +39 -10
- package/dist/providers/executor/routing.js +77 -32
- package/dist/providers/executor/types.d.ts +25 -0
- package/dist/providers/index.d.ts +2 -1
- package/dist/providers/issue-tracker/types.d.ts +17 -0
- package/dist/providers/issue-tracker/types.js +39 -1
- package/dist/providers/jobs/claude-tool-setup.d.ts +4 -0
- package/dist/providers/jobs/claude-tool-setup.js +5 -2
- package/dist/providers/jobs/docker-isolation.d.ts +8 -0
- package/dist/providers/jobs/docker-isolation.js +17 -0
- package/dist/providers/jobs/docker.d.ts +1 -0
- package/dist/providers/jobs/docker.js +29 -4
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +23 -2
- package/dist/providers/jobs/fake-kubernetes-api.js +45 -1
- package/dist/providers/jobs/kubernetes-api.d.ts +25 -1
- package/dist/providers/jobs/kubernetes-api.js +17 -0
- package/dist/providers/jobs/kubernetes-client.d.ts +10 -1
- package/dist/providers/jobs/kubernetes-client.js +61 -3
- package/dist/providers/jobs/kubernetes-dry-run-fixture.d.ts +6 -1
- package/dist/providers/jobs/kubernetes-dry-run-fixture.js +6 -3
- package/dist/providers/jobs/kubernetes-isolation.d.ts +5 -1
- package/dist/providers/jobs/kubernetes-isolation.js +23 -1
- package/dist/providers/jobs/kubernetes-platform.d.ts +4 -1
- package/dist/providers/jobs/kubernetes-platform.js +38 -1
- package/dist/providers/jobs/kubernetes-preflight.d.ts +2 -1
- package/dist/providers/jobs/kubernetes-preflight.js +4 -2
- package/dist/providers/jobs/kubernetes.d.ts +42 -2
- package/dist/providers/jobs/kubernetes.js +178 -19
- package/dist/providers/jobs/metadata-probes.d.ts +11 -0
- package/dist/providers/jobs/metadata-probes.js +13 -0
- package/dist/providers/jobs/types.d.ts +42 -0
- package/dist/providers/jobs/types.js +13 -1
- package/dist/providers/llm/anthropic.js +5 -1
- package/dist/providers/llm/bedrock.d.ts +0 -12
- package/dist/providers/llm/bedrock.js +4 -0
- package/dist/providers/llm/claude-messages.d.ts +3 -1
- package/dist/providers/llm/claude-messages.js +4 -1
- package/dist/providers/llm/claude-provider.d.ts +2 -2
- package/dist/providers/llm/claude-provider.js +2 -2
- package/dist/providers/llm/openai.d.ts +2 -2
- package/dist/providers/llm/openai.js +6 -2
- package/dist/providers/llm/routing.d.ts +2 -2
- package/dist/providers/llm/routing.js +2 -2
- package/dist/providers/llm/types.d.ts +12 -2
- package/dist/providers/review-host/github-events.d.ts +9 -1
- package/dist/providers/review-host/github-events.js +34 -12
- package/dist/providers/review-host/github.d.ts +39 -2
- package/dist/providers/review-host/github.js +274 -29
- package/dist/providers/review-host/local.d.ts +8 -4
- package/dist/providers/review-host/local.js +49 -31
- package/dist/providers/review-host/patch-pages.d.ts +41 -0
- package/dist/providers/review-host/patch-pages.js +176 -0
- package/dist/providers/review-host/review-format.d.ts +19 -1
- package/dist/providers/review-host/review-format.js +38 -7
- package/dist/providers/review-host/types.d.ts +157 -2
- package/dist/providers/review-host/types.js +8 -0
- package/dist/providers/storage/gcs.d.ts +63 -0
- package/dist/providers/storage/gcs.js +69 -0
- package/dist/providers/storage/index.d.ts +15 -0
- package/dist/providers/storage/index.js +14 -0
- package/dist/providers/storage/local.d.ts +24 -0
- package/dist/providers/storage/local.js +92 -0
- package/dist/providers/storage/meter.d.ts +14 -0
- package/dist/providers/storage/meter.js +34 -0
- package/dist/providers/storage/s3.d.ts +41 -0
- package/dist/providers/storage/s3.js +107 -0
- package/dist/providers/storage/types.d.ts +37 -3
- package/dist/providers/storage/types.js +21 -4
- package/dist/providers/vcs/git.d.ts +33 -2
- package/dist/providers/vcs/git.js +324 -22
- package/dist/providers/vcs/github-remote.d.ts +26 -3
- package/dist/providers/vcs/github-remote.js +124 -14
- package/dist/providers/vcs/github.d.ts +246 -12
- package/dist/providers/vcs/github.js +521 -61
- package/dist/providers/vcs/index.js +8 -1
- package/dist/providers/vcs/pr-description.d.ts +127 -0
- package/dist/providers/vcs/pr-description.js +270 -0
- package/dist/providers/vcs/remote.d.ts +33 -1
- package/dist/providers/vcs/routing.d.ts +4 -2
- package/dist/providers/vcs/routing.js +6 -0
- package/dist/providers/vcs/types.d.ts +80 -3
- package/dist/quickstart/coding-seed.d.ts +21 -3
- package/dist/quickstart/coding-seed.js +283 -3
- package/dist/quickstart/images.d.ts +2 -0
- package/dist/quickstart/images.js +7 -1
- package/dist/quickstart/reviewer-prompt.d.ts +1 -1
- package/dist/quickstart/reviewer-prompt.js +6 -6
- package/dist/quickstart-images.json +1 -1
- package/dist/sandbox/brokered-fetch.d.ts +23 -0
- package/dist/sandbox/brokered-fetch.js +37 -0
- package/dist/sandbox/generated/zod.bundle.js +62 -1
- package/dist/sandbox/generated/zod3.bundle.js +5 -0
- package/dist/sandbox/host-functions.d.ts +35 -0
- package/dist/sandbox/host-functions.js +150 -91
- package/dist/sandbox/prelude.js +7 -1
- package/dist/sandbox/run-in-sandbox.d.ts +19 -0
- package/dist/sandbox/run-in-sandbox.js +28 -10
- package/dist/sandbox/safe-fetch.d.ts +2 -0
- package/dist/sandbox/safe-fetch.js +3 -1
- package/dist/sandbox/secret-broker-sigv4.d.ts +2 -0
- package/dist/sandbox/secret-broker-sigv4.js +49 -0
- package/dist/sandbox/secret-broker.d.ts +34 -0
- package/dist/sandbox/secret-broker.js +161 -0
- package/dist/sandbox/tool-capabilities.d.ts +10 -30
- package/dist/sandbox/user-tool.d.ts +14 -0
- package/dist/sandbox/user-tool.js +32 -0
- package/dist/sandbox/zod-params.d.ts +37 -5
- package/dist/sandbox/zod-params.js +181 -26
- package/dist/serve.js +25 -0
- package/dist/viewer/api-schema.d.ts +372 -2454
- package/dist/viewer/api-schema.js +29 -0
- package/dist/viewer/build-schemas.js +10 -3
- package/dist/viewer/event-bus.d.ts +6 -0
- package/dist/viewer/event-bus.js +16 -7
- package/dist/viewer/graph.d.ts +5 -2
- package/dist/viewer/graph.js +7 -2
- package/dist/viewer/http.d.ts +0 -1
- package/dist/viewer/http.js +2 -2
- package/dist/viewer/infra.js +25 -2
- package/dist/viewer/limits.d.ts +4 -0
- package/dist/viewer/limits.js +4 -0
- package/dist/viewer/openapi.d.ts +15 -0
- package/dist/viewer/openapi.js +170 -0
- package/dist/wardby-bin.js +10 -0
- package/docs/README.md +7 -0
- package/docs/agent-recipes.md +114 -27
- package/docs/architecture-runtime.md +16 -1
- package/docs/code-review-agents.md +689 -45
- package/docs/coding-agent-setup.md +602 -12
- package/docs/coding-packages.md +1037 -92
- package/docs/coding-services.md +30 -13
- package/docs/coding-worker-byo-images.md +218 -6
- package/docs/coding-worker-isolation.md +173 -44
- package/docs/getting-started-gke.md +332 -129
- package/docs/getting-started-identity-provider.md +31 -11
- package/docs/getting-started.md +14 -4
- package/docs/jira-agents.md +22 -9
- package/docs/knowledge/blob-not-found-semantics.md +41 -0
- package/docs/knowledge/bounded-file-descriptor.md +52 -0
- package/docs/knowledge/delegation-admission-slots.md +52 -0
- package/docs/knowledge/http-dispatcher-bootstrap.md +61 -0
- package/docs/knowledge/import-rename-target.md +52 -0
- package/docs/knowledge/index.md +57 -0
- package/docs/knowledge/log.md +9 -0
- package/docs/knowledge/mcp-cancelled-task-precedence.md +41 -0
- package/docs/knowledge/mcp-http-prompt-discovery.md +41 -0
- package/docs/knowledge/mcp-schema-module-boundary.md +41 -0
- package/docs/knowledge/nullable-tool-uniqueness.md +52 -0
- package/docs/knowledge/overview-cli.md +74 -0
- package/docs/knowledge/overview-coding-proxy.md +72 -0
- package/docs/knowledge/overview-coding.md +72 -0
- package/docs/knowledge/overview-config.md +60 -0
- package/docs/knowledge/overview-core.md +72 -0
- package/docs/knowledge/overview-deploy.md +83 -0
- package/docs/knowledge/overview-mcp.md +61 -0
- package/docs/knowledge/overview-prisma.md +72 -0
- package/docs/knowledge/overview-providers.md +89 -0
- package/docs/knowledge/overview-sandbox.md +83 -0
- package/docs/knowledge/overview-surfaces.md +83 -0
- package/docs/knowledge/private-datastore-shared-boundary.md +54 -0
- package/docs/knowledge/proxy-settlement-projections.md +41 -0
- package/docs/knowledge/run-pricing-first-writer.md +43 -0
- package/docs/knowledge/schedule-claim-transaction.md +41 -0
- package/docs/knowledge/secret-entry-replica-contract.md +52 -0
- package/docs/knowledge/terminal-run-first-writer.md +41 -0
- package/docs/knowledge/transactional-agent-authorization.md +52 -0
- package/docs/knowledge/viewer-notify-write-isolation.md +30 -0
- package/docs/knowledge/warm-input-publication.md +30 -0
- package/docs/knowledge/workspace-staging-failure.md +54 -0
- package/docs/knowledge.md +54 -14
- package/docs/native-sandbox.md +731 -0
- package/docs/observability.md +4 -0
- package/docs/release-verification.md +9 -0
- package/docs/security-deployment.md +146 -14
- package/docs/slack-notifications.md +268 -0
- package/docs/tool-secrets.md +284 -0
- package/docs/viewer-api.md +46 -5
- package/docs/viewer-api.openapi.yml +1404 -0
- package/help/admin-viewer.md +29 -3
- package/help/agent-recipes.md +27 -0
- package/help/architecture-agent.md +11 -6
- package/help/brokered-secrets.md +79 -0
- package/help/build-claude-code-image.md +131 -0
- package/help/build-worker-image.md +6 -7
- package/help/builder-agent.md +19 -6
- package/help/code-review-agents.md +243 -10
- package/help/coding-packages.md +156 -6
- package/help/cost-attribution.md +9 -5
- package/help/creating-agents.md +14 -1
- package/help/dependency-cache.md +143 -0
- package/help/deploy-gke.md +23 -9
- package/help/deployment-targets.md +25 -14
- package/help/errors/budget-exhausted.md +187 -0
- package/help/errors/budget-group-exhausted.md +5 -1
- package/help/errors/coding-provider-not-configured.md +2 -2
- package/help/errors/coding-stream-quota-exceeded.md +33 -0
- package/help/errors/coding-workspace-disk-exceeds-limit.md +39 -0
- package/help/errors/continuation-closed.md +9 -12
- package/help/errors/database-auth-invalid.md +28 -0
- package/help/errors/delegation-conflict.md +24 -0
- package/help/errors/file-list-truncated.md +45 -0
- package/help/errors/full-read-required.md +49 -0
- package/help/errors/github-account-not-allowed.md +29 -0
- package/help/errors/graph-incomplete.md +43 -0
- package/help/errors/graph-limit.md +43 -0
- package/help/errors/low-power-disabled.md +29 -0
- package/help/errors/low-power-scale-forbidden.md +35 -0
- package/help/errors/low-power-wake-timeout.md +30 -0
- package/help/errors/merge-conflict.md +49 -0
- package/help/errors/mobile-disabled.md +31 -0
- package/help/errors/native-sandbox-capacity.md +22 -0
- package/help/errors/native-sandbox-deadline-exceeded.md +19 -0
- package/help/errors/native-sandbox-docker-failed.md +20 -0
- package/help/errors/native-sandbox-gateway-error.md +20 -0
- package/help/errors/native-sandbox-gateway-unavailable.md +21 -0
- package/help/errors/native-sandbox-image-not-pinned.md +19 -0
- package/help/errors/native-sandbox-isolation-mismatch.md +20 -0
- package/help/errors/native-sandbox-launch-abandoned.md +21 -0
- package/help/errors/native-sandbox-network-unenforced.md +22 -0
- package/help/errors/native-sandbox-requires-catalog.md +31 -0
- package/help/errors/native-sandbox-unavailable.md +19 -0
- package/help/errors/native-sandbox-warm-delivery-failed.md +21 -0
- package/help/errors/native-sandbox-worker-exited.md +21 -0
- package/help/errors/native-sandbox-worker-lost.md +20 -0
- package/help/errors/native-sandbox-worker-unready.md +22 -0
- package/help/errors/package-not-allowed-pending.md +52 -0
- package/help/errors/package-not-allowed.md +51 -0
- package/help/errors/package-refusals.md +43 -0
- package/help/errors/patch-cursor-malformed.md +31 -0
- package/help/errors/run-lost.md +39 -0
- package/help/errors/run-transcript-download.md +44 -0
- package/help/errors/secret-broker-body-invalid.md +26 -0
- package/help/errors/secret-broker-changed.md +20 -0
- package/help/errors/secret-broker-config-invalid.md +30 -0
- package/help/errors/secret-broker-conflict.md +27 -0
- package/help/errors/secret-broker-destination-denied.md +28 -0
- package/help/errors/secret-broker-value-invalid.md +28 -0
- package/help/errors/secret-brokered.md +24 -0
- package/help/errors/secret-in-value.md +69 -0
- package/help/errors/secret-not-brokered.md +25 -0
- package/help/errors/slack-auth-failed.md +48 -0
- package/help/errors/slack-channel-unreachable.md +39 -0
- package/help/errors/slack-not-configured.md +33 -0
- package/help/errors/target-merge.md +40 -0
- package/help/fix-merge-conflicts.md +73 -0
- package/help/getting-started.md +4 -5
- package/help/github-app-setup.md +132 -0
- package/help/github.md +40 -1
- package/help/identity-and-access.md +7 -1
- package/help/jira.md +23 -6
- package/help/knowledge.md +16 -7
- package/help/local-repositories.md +3 -4
- package/help/low-power-mode.md +131 -0
- package/help/merge-order-check.md +122 -0
- package/help/mobile-app.md +54 -0
- package/help/native-capabilities.md +29 -1
- package/help/native-sandbox.md +150 -0
- package/help/observability.md +8 -0
- package/help/operating-agents.md +5 -0
- package/help/package-audit-mode.md +91 -0
- package/help/related-pull-requests.md +80 -16
- package/help/repo-instructions-and-skills.md +91 -0
- package/help/resume-runs-locally.md +131 -0
- package/help/review-fix-rounds.md +43 -1
- package/help/sharing-agents.md +59 -0
- package/help/slack-notifications.md +76 -0
- package/help/status-comments.md +31 -0
- package/help/stop-run.md +58 -0
- package/help/troubleshooting/budgets.md +28 -0
- package/help/troubleshooting/coding-workers.md +99 -7
- package/package.json +27 -13
- package/prisma/migrations/20261009000003_native_execution_mode/migration.sql +12 -0
- package/prisma/migrations/20261009000004_native_gateway_ledger/migration.sql +65 -0
- package/prisma/migrations/20261009000005_native_gateway_call_child_agent/migration.sql +5 -0
- package/prisma/migrations/20261009000006_run_deferred_start_stop/migration.sql +14 -0
- package/prisma/migrations/20261009000007_native_gateway_network_ready/migration.sql +5 -0
- package/prisma/migrations/20261010000001_workflow_notifications/migration.sql +99 -0
- package/prisma/migrations/20261011000001_native_gateway_session_status_index/migration.sql +2 -0
- package/prisma/migrations/20261012000001_native_warm_worker/migration.sql +32 -0
- package/prisma/migrations/20261013000001_coding_run_merge_order/migration.sql +2 -0
- package/prisma/migrations/20261013000001_secret_broker/migration.sql +17 -0
- package/prisma/migrations/20261013000002_deferred_review_request/migration.sql +4 -0
- package/prisma/migrations/20261014000000_repo_skills/migration.sql +15 -0
- package/prisma/migrations/20261015000001_coding_run_merge_order_index/migration.sql +2 -0
- package/prisma/migrations/20261015000002_no_change_rereview/migration.sql +2 -0
- package/prisma/migrations/20261016000000_registry_approved_accepted_advisories/migration.sql +3 -0
- package/prisma/migrations/20261016000001_mark_ready_when_passing/migration.sql +3 -0
- package/prisma/migrations/20261017000000_debug_trace_max_mb/migration.sql +4 -0
- package/prisma/migrations/20261018000000_dependency_cache/migration.sql +53 -0
- package/prisma/migrations/20261019000000_claude_max_output_tokens/migration.sql +5 -0
- package/prisma/migrations/20261021000000_pr_description_hash/migration.sql +4 -0
- package/prisma/migrations/20261022000000_dependency_snapshot_validation_metadata/migration.sql +4 -0
- package/prisma/migrations/20261023000000_package_audit_mode/migration.sql +27 -0
- package/prisma/migrations/20261024000000_budget_events/migration.sql +26 -0
- package/prisma/migrations/20261025000000_cache_aware_holds/migration.sql +9 -0
- package/prisma/migrations/20261026000000_budget_overrun/migration.sql +4 -0
- package/prisma/migrations/20261027000000_coding_run_request/migration.sql +1 -0
- package/prisma/migrations/20261028000000_native_gateway_review_reads/migration.sql +6 -0
- package/prisma/migrations/20261029000000_lead_survives_deploy/migration.sql +6 -0
- package/prisma/migrations/20261030000000_local_review_covered_sha/migration.sql +2 -0
- package/prisma/migrations/20261031000000_coding_run_budget_limit/migration.sql +9 -0
- package/prisma/migrations/20261101000000_run_transcripts/migration.sql +22 -0
- package/prisma/schema.prisma +631 -146
- package/dist/sandbox/generated/zod-to-json-schema.bundle.js +0 -5
|
@@ -0,0 +1,1543 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model NotificationChannel
|
|
5
|
+
* A Slack (chat) channel that receives workflow notifications for a Jira
|
|
6
|
+
* project or for one agent. Exactly one subject: (issueProvider, projectKey)
|
|
7
|
+
* or agentId (enforced in code and by a CHECK constraint). Admin-approved.
|
|
8
|
+
* See docs/slack-notifications.md.
|
|
9
|
+
*/
|
|
10
|
+
export type NotificationChannelModel = runtime.Types.Result.DefaultSelection<Prisma.$NotificationChannelPayload>;
|
|
11
|
+
export type AggregateNotificationChannel = {
|
|
12
|
+
_count: NotificationChannelCountAggregateOutputType | null;
|
|
13
|
+
_min: NotificationChannelMinAggregateOutputType | null;
|
|
14
|
+
_max: NotificationChannelMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type NotificationChannelMinAggregateOutputType = {
|
|
17
|
+
id: string | null;
|
|
18
|
+
provider: string | null;
|
|
19
|
+
channelId: string | null;
|
|
20
|
+
channelName: string | null;
|
|
21
|
+
issueProvider: string | null;
|
|
22
|
+
projectKey: string | null;
|
|
23
|
+
agentId: string | null;
|
|
24
|
+
includeCost: boolean | null;
|
|
25
|
+
lastError: string | null;
|
|
26
|
+
lastErrorAt: Date | null;
|
|
27
|
+
authorizedById: string | null;
|
|
28
|
+
authorizedAt: Date | null;
|
|
29
|
+
createdAt: Date | null;
|
|
30
|
+
};
|
|
31
|
+
export type NotificationChannelMaxAggregateOutputType = {
|
|
32
|
+
id: string | null;
|
|
33
|
+
provider: string | null;
|
|
34
|
+
channelId: string | null;
|
|
35
|
+
channelName: string | null;
|
|
36
|
+
issueProvider: string | null;
|
|
37
|
+
projectKey: string | null;
|
|
38
|
+
agentId: string | null;
|
|
39
|
+
includeCost: boolean | null;
|
|
40
|
+
lastError: string | null;
|
|
41
|
+
lastErrorAt: Date | null;
|
|
42
|
+
authorizedById: string | null;
|
|
43
|
+
authorizedAt: Date | null;
|
|
44
|
+
createdAt: Date | null;
|
|
45
|
+
};
|
|
46
|
+
export type NotificationChannelCountAggregateOutputType = {
|
|
47
|
+
id: number;
|
|
48
|
+
provider: number;
|
|
49
|
+
channelId: number;
|
|
50
|
+
channelName: number;
|
|
51
|
+
issueProvider: number;
|
|
52
|
+
projectKey: number;
|
|
53
|
+
agentId: number;
|
|
54
|
+
events: number;
|
|
55
|
+
includeCost: number;
|
|
56
|
+
lastError: number;
|
|
57
|
+
lastErrorAt: number;
|
|
58
|
+
authorizedById: number;
|
|
59
|
+
authorizedAt: number;
|
|
60
|
+
createdAt: number;
|
|
61
|
+
_all: number;
|
|
62
|
+
};
|
|
63
|
+
export type NotificationChannelMinAggregateInputType = {
|
|
64
|
+
id?: true;
|
|
65
|
+
provider?: true;
|
|
66
|
+
channelId?: true;
|
|
67
|
+
channelName?: true;
|
|
68
|
+
issueProvider?: true;
|
|
69
|
+
projectKey?: true;
|
|
70
|
+
agentId?: true;
|
|
71
|
+
includeCost?: true;
|
|
72
|
+
lastError?: true;
|
|
73
|
+
lastErrorAt?: true;
|
|
74
|
+
authorizedById?: true;
|
|
75
|
+
authorizedAt?: true;
|
|
76
|
+
createdAt?: true;
|
|
77
|
+
};
|
|
78
|
+
export type NotificationChannelMaxAggregateInputType = {
|
|
79
|
+
id?: true;
|
|
80
|
+
provider?: true;
|
|
81
|
+
channelId?: true;
|
|
82
|
+
channelName?: true;
|
|
83
|
+
issueProvider?: true;
|
|
84
|
+
projectKey?: true;
|
|
85
|
+
agentId?: true;
|
|
86
|
+
includeCost?: true;
|
|
87
|
+
lastError?: true;
|
|
88
|
+
lastErrorAt?: true;
|
|
89
|
+
authorizedById?: true;
|
|
90
|
+
authorizedAt?: true;
|
|
91
|
+
createdAt?: true;
|
|
92
|
+
};
|
|
93
|
+
export type NotificationChannelCountAggregateInputType = {
|
|
94
|
+
id?: true;
|
|
95
|
+
provider?: true;
|
|
96
|
+
channelId?: true;
|
|
97
|
+
channelName?: true;
|
|
98
|
+
issueProvider?: true;
|
|
99
|
+
projectKey?: true;
|
|
100
|
+
agentId?: true;
|
|
101
|
+
events?: true;
|
|
102
|
+
includeCost?: true;
|
|
103
|
+
lastError?: true;
|
|
104
|
+
lastErrorAt?: true;
|
|
105
|
+
authorizedById?: true;
|
|
106
|
+
authorizedAt?: true;
|
|
107
|
+
createdAt?: true;
|
|
108
|
+
_all?: true;
|
|
109
|
+
};
|
|
110
|
+
export type NotificationChannelAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
111
|
+
/**
|
|
112
|
+
* Filter which NotificationChannel to aggregate.
|
|
113
|
+
*/
|
|
114
|
+
where?: Prisma.NotificationChannelWhereInput;
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
117
|
+
*
|
|
118
|
+
* Determine the order of NotificationChannels to fetch.
|
|
119
|
+
*/
|
|
120
|
+
orderBy?: Prisma.NotificationChannelOrderByWithRelationInput | Prisma.NotificationChannelOrderByWithRelationInput[];
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
123
|
+
*
|
|
124
|
+
* Sets the start position
|
|
125
|
+
*/
|
|
126
|
+
cursor?: Prisma.NotificationChannelWhereUniqueInput;
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
129
|
+
*
|
|
130
|
+
* Take `±n` NotificationChannels from the position of the cursor.
|
|
131
|
+
*/
|
|
132
|
+
take?: number;
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
135
|
+
*
|
|
136
|
+
* Skip the first `n` NotificationChannels.
|
|
137
|
+
*/
|
|
138
|
+
skip?: number;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
+
*
|
|
142
|
+
* Count returned NotificationChannels
|
|
143
|
+
**/
|
|
144
|
+
_count?: true | NotificationChannelCountAggregateInputType;
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
+
*
|
|
148
|
+
* Select which fields to find the minimum value
|
|
149
|
+
**/
|
|
150
|
+
_min?: NotificationChannelMinAggregateInputType;
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
+
*
|
|
154
|
+
* Select which fields to find the maximum value
|
|
155
|
+
**/
|
|
156
|
+
_max?: NotificationChannelMaxAggregateInputType;
|
|
157
|
+
};
|
|
158
|
+
export type GetNotificationChannelAggregateType<T extends NotificationChannelAggregateArgs> = {
|
|
159
|
+
[P in keyof T & keyof AggregateNotificationChannel]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateNotificationChannel[P]> : Prisma.GetScalarType<T[P], AggregateNotificationChannel[P]>;
|
|
160
|
+
};
|
|
161
|
+
export type NotificationChannelGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
162
|
+
where?: Prisma.NotificationChannelWhereInput;
|
|
163
|
+
orderBy?: Prisma.NotificationChannelOrderByWithAggregationInput | Prisma.NotificationChannelOrderByWithAggregationInput[];
|
|
164
|
+
by: Prisma.NotificationChannelScalarFieldEnum[] | Prisma.NotificationChannelScalarFieldEnum;
|
|
165
|
+
having?: Prisma.NotificationChannelScalarWhereWithAggregatesInput;
|
|
166
|
+
take?: number;
|
|
167
|
+
skip?: number;
|
|
168
|
+
_count?: NotificationChannelCountAggregateInputType | true;
|
|
169
|
+
_min?: NotificationChannelMinAggregateInputType;
|
|
170
|
+
_max?: NotificationChannelMaxAggregateInputType;
|
|
171
|
+
};
|
|
172
|
+
export type NotificationChannelGroupByOutputType = {
|
|
173
|
+
id: string;
|
|
174
|
+
provider: string;
|
|
175
|
+
channelId: string;
|
|
176
|
+
channelName: string | null;
|
|
177
|
+
issueProvider: string | null;
|
|
178
|
+
projectKey: string | null;
|
|
179
|
+
agentId: string | null;
|
|
180
|
+
events: string[];
|
|
181
|
+
includeCost: boolean;
|
|
182
|
+
lastError: string | null;
|
|
183
|
+
lastErrorAt: Date | null;
|
|
184
|
+
authorizedById: string;
|
|
185
|
+
authorizedAt: Date;
|
|
186
|
+
createdAt: Date;
|
|
187
|
+
_count: NotificationChannelCountAggregateOutputType | null;
|
|
188
|
+
_min: NotificationChannelMinAggregateOutputType | null;
|
|
189
|
+
_max: NotificationChannelMaxAggregateOutputType | null;
|
|
190
|
+
};
|
|
191
|
+
export type GetNotificationChannelGroupByPayload<T extends NotificationChannelGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<NotificationChannelGroupByOutputType, T['by']> & {
|
|
192
|
+
[P in ((keyof T) & (keyof NotificationChannelGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], NotificationChannelGroupByOutputType[P]> : Prisma.GetScalarType<T[P], NotificationChannelGroupByOutputType[P]>;
|
|
193
|
+
}>>;
|
|
194
|
+
export type NotificationChannelWhereInput = {
|
|
195
|
+
AND?: Prisma.NotificationChannelWhereInput | Prisma.NotificationChannelWhereInput[];
|
|
196
|
+
OR?: Prisma.NotificationChannelWhereInput[];
|
|
197
|
+
NOT?: Prisma.NotificationChannelWhereInput | Prisma.NotificationChannelWhereInput[];
|
|
198
|
+
id?: Prisma.StringFilter<"NotificationChannel"> | string;
|
|
199
|
+
provider?: Prisma.StringFilter<"NotificationChannel"> | string;
|
|
200
|
+
channelId?: Prisma.StringFilter<"NotificationChannel"> | string;
|
|
201
|
+
channelName?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
202
|
+
issueProvider?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
203
|
+
projectKey?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
204
|
+
agentId?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
205
|
+
events?: Prisma.StringNullableListFilter<"NotificationChannel">;
|
|
206
|
+
includeCost?: Prisma.BoolFilter<"NotificationChannel"> | boolean;
|
|
207
|
+
lastError?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
208
|
+
lastErrorAt?: Prisma.DateTimeNullableFilter<"NotificationChannel"> | Date | string | null;
|
|
209
|
+
authorizedById?: Prisma.StringFilter<"NotificationChannel"> | string;
|
|
210
|
+
authorizedAt?: Prisma.DateTimeFilter<"NotificationChannel"> | Date | string;
|
|
211
|
+
createdAt?: Prisma.DateTimeFilter<"NotificationChannel"> | Date | string;
|
|
212
|
+
agent?: Prisma.XOR<Prisma.AgentNullableScalarRelationFilter, Prisma.AgentWhereInput> | null;
|
|
213
|
+
};
|
|
214
|
+
export type NotificationChannelOrderByWithRelationInput = {
|
|
215
|
+
id?: Prisma.SortOrder;
|
|
216
|
+
provider?: Prisma.SortOrder;
|
|
217
|
+
channelId?: Prisma.SortOrder;
|
|
218
|
+
channelName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
219
|
+
issueProvider?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
220
|
+
projectKey?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
221
|
+
agentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
222
|
+
events?: Prisma.SortOrder;
|
|
223
|
+
includeCost?: Prisma.SortOrder;
|
|
224
|
+
lastError?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
225
|
+
lastErrorAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
226
|
+
authorizedById?: Prisma.SortOrder;
|
|
227
|
+
authorizedAt?: Prisma.SortOrder;
|
|
228
|
+
createdAt?: Prisma.SortOrder;
|
|
229
|
+
agent?: Prisma.AgentOrderByWithRelationInput;
|
|
230
|
+
};
|
|
231
|
+
export type NotificationChannelWhereUniqueInput = Prisma.AtLeast<{
|
|
232
|
+
id?: string;
|
|
233
|
+
provider_channelId_issueProvider_projectKey?: Prisma.NotificationChannelProviderChannelIdIssueProviderProjectKeyCompoundUniqueInput;
|
|
234
|
+
provider_channelId_agentId?: Prisma.NotificationChannelProviderChannelIdAgentIdCompoundUniqueInput;
|
|
235
|
+
AND?: Prisma.NotificationChannelWhereInput | Prisma.NotificationChannelWhereInput[];
|
|
236
|
+
OR?: Prisma.NotificationChannelWhereInput[];
|
|
237
|
+
NOT?: Prisma.NotificationChannelWhereInput | Prisma.NotificationChannelWhereInput[];
|
|
238
|
+
provider?: Prisma.StringFilter<"NotificationChannel"> | string;
|
|
239
|
+
channelId?: Prisma.StringFilter<"NotificationChannel"> | string;
|
|
240
|
+
channelName?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
241
|
+
issueProvider?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
242
|
+
projectKey?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
243
|
+
agentId?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
244
|
+
events?: Prisma.StringNullableListFilter<"NotificationChannel">;
|
|
245
|
+
includeCost?: Prisma.BoolFilter<"NotificationChannel"> | boolean;
|
|
246
|
+
lastError?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
247
|
+
lastErrorAt?: Prisma.DateTimeNullableFilter<"NotificationChannel"> | Date | string | null;
|
|
248
|
+
authorizedById?: Prisma.StringFilter<"NotificationChannel"> | string;
|
|
249
|
+
authorizedAt?: Prisma.DateTimeFilter<"NotificationChannel"> | Date | string;
|
|
250
|
+
createdAt?: Prisma.DateTimeFilter<"NotificationChannel"> | Date | string;
|
|
251
|
+
agent?: Prisma.XOR<Prisma.AgentNullableScalarRelationFilter, Prisma.AgentWhereInput> | null;
|
|
252
|
+
}, "id" | "provider_channelId_issueProvider_projectKey" | "provider_channelId_agentId">;
|
|
253
|
+
export type NotificationChannelOrderByWithAggregationInput = {
|
|
254
|
+
id?: Prisma.SortOrder;
|
|
255
|
+
provider?: Prisma.SortOrder;
|
|
256
|
+
channelId?: Prisma.SortOrder;
|
|
257
|
+
channelName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
258
|
+
issueProvider?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
259
|
+
projectKey?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
260
|
+
agentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
261
|
+
events?: Prisma.SortOrder;
|
|
262
|
+
includeCost?: Prisma.SortOrder;
|
|
263
|
+
lastError?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
264
|
+
lastErrorAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
265
|
+
authorizedById?: Prisma.SortOrder;
|
|
266
|
+
authorizedAt?: Prisma.SortOrder;
|
|
267
|
+
createdAt?: Prisma.SortOrder;
|
|
268
|
+
_count?: Prisma.NotificationChannelCountOrderByAggregateInput;
|
|
269
|
+
_max?: Prisma.NotificationChannelMaxOrderByAggregateInput;
|
|
270
|
+
_min?: Prisma.NotificationChannelMinOrderByAggregateInput;
|
|
271
|
+
};
|
|
272
|
+
export type NotificationChannelScalarWhereWithAggregatesInput = {
|
|
273
|
+
AND?: Prisma.NotificationChannelScalarWhereWithAggregatesInput | Prisma.NotificationChannelScalarWhereWithAggregatesInput[];
|
|
274
|
+
OR?: Prisma.NotificationChannelScalarWhereWithAggregatesInput[];
|
|
275
|
+
NOT?: Prisma.NotificationChannelScalarWhereWithAggregatesInput | Prisma.NotificationChannelScalarWhereWithAggregatesInput[];
|
|
276
|
+
id?: Prisma.StringWithAggregatesFilter<"NotificationChannel"> | string;
|
|
277
|
+
provider?: Prisma.StringWithAggregatesFilter<"NotificationChannel"> | string;
|
|
278
|
+
channelId?: Prisma.StringWithAggregatesFilter<"NotificationChannel"> | string;
|
|
279
|
+
channelName?: Prisma.StringNullableWithAggregatesFilter<"NotificationChannel"> | string | null;
|
|
280
|
+
issueProvider?: Prisma.StringNullableWithAggregatesFilter<"NotificationChannel"> | string | null;
|
|
281
|
+
projectKey?: Prisma.StringNullableWithAggregatesFilter<"NotificationChannel"> | string | null;
|
|
282
|
+
agentId?: Prisma.StringNullableWithAggregatesFilter<"NotificationChannel"> | string | null;
|
|
283
|
+
events?: Prisma.StringNullableListFilter<"NotificationChannel">;
|
|
284
|
+
includeCost?: Prisma.BoolWithAggregatesFilter<"NotificationChannel"> | boolean;
|
|
285
|
+
lastError?: Prisma.StringNullableWithAggregatesFilter<"NotificationChannel"> | string | null;
|
|
286
|
+
lastErrorAt?: Prisma.DateTimeNullableWithAggregatesFilter<"NotificationChannel"> | Date | string | null;
|
|
287
|
+
authorizedById?: Prisma.StringWithAggregatesFilter<"NotificationChannel"> | string;
|
|
288
|
+
authorizedAt?: Prisma.DateTimeWithAggregatesFilter<"NotificationChannel"> | Date | string;
|
|
289
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"NotificationChannel"> | Date | string;
|
|
290
|
+
};
|
|
291
|
+
export type NotificationChannelCreateInput = {
|
|
292
|
+
id?: string;
|
|
293
|
+
provider: string;
|
|
294
|
+
channelId: string;
|
|
295
|
+
channelName?: string | null;
|
|
296
|
+
issueProvider?: string | null;
|
|
297
|
+
projectKey?: string | null;
|
|
298
|
+
events?: Prisma.NotificationChannelCreateeventsInput | string[];
|
|
299
|
+
includeCost?: boolean;
|
|
300
|
+
lastError?: string | null;
|
|
301
|
+
lastErrorAt?: Date | string | null;
|
|
302
|
+
authorizedById: string;
|
|
303
|
+
authorizedAt?: Date | string;
|
|
304
|
+
createdAt?: Date | string;
|
|
305
|
+
agent?: Prisma.AgentCreateNestedOneWithoutNotificationChannelsInput;
|
|
306
|
+
};
|
|
307
|
+
export type NotificationChannelUncheckedCreateInput = {
|
|
308
|
+
id?: string;
|
|
309
|
+
provider: string;
|
|
310
|
+
channelId: string;
|
|
311
|
+
channelName?: string | null;
|
|
312
|
+
issueProvider?: string | null;
|
|
313
|
+
projectKey?: string | null;
|
|
314
|
+
agentId?: string | null;
|
|
315
|
+
events?: Prisma.NotificationChannelCreateeventsInput | string[];
|
|
316
|
+
includeCost?: boolean;
|
|
317
|
+
lastError?: string | null;
|
|
318
|
+
lastErrorAt?: Date | string | null;
|
|
319
|
+
authorizedById: string;
|
|
320
|
+
authorizedAt?: Date | string;
|
|
321
|
+
createdAt?: Date | string;
|
|
322
|
+
};
|
|
323
|
+
export type NotificationChannelUpdateInput = {
|
|
324
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
325
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
326
|
+
channelId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
327
|
+
channelName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
328
|
+
issueProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
329
|
+
projectKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
330
|
+
events?: Prisma.NotificationChannelUpdateeventsInput | string[];
|
|
331
|
+
includeCost?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
332
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
333
|
+
lastErrorAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
334
|
+
authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
335
|
+
authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
336
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
337
|
+
agent?: Prisma.AgentUpdateOneWithoutNotificationChannelsNestedInput;
|
|
338
|
+
};
|
|
339
|
+
export type NotificationChannelUncheckedUpdateInput = {
|
|
340
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
341
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
342
|
+
channelId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
343
|
+
channelName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
344
|
+
issueProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
345
|
+
projectKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
346
|
+
agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
347
|
+
events?: Prisma.NotificationChannelUpdateeventsInput | string[];
|
|
348
|
+
includeCost?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
349
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
350
|
+
lastErrorAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
351
|
+
authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
352
|
+
authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
353
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
354
|
+
};
|
|
355
|
+
export type NotificationChannelCreateManyInput = {
|
|
356
|
+
id?: string;
|
|
357
|
+
provider: string;
|
|
358
|
+
channelId: string;
|
|
359
|
+
channelName?: string | null;
|
|
360
|
+
issueProvider?: string | null;
|
|
361
|
+
projectKey?: string | null;
|
|
362
|
+
agentId?: string | null;
|
|
363
|
+
events?: Prisma.NotificationChannelCreateeventsInput | string[];
|
|
364
|
+
includeCost?: boolean;
|
|
365
|
+
lastError?: string | null;
|
|
366
|
+
lastErrorAt?: Date | string | null;
|
|
367
|
+
authorizedById: string;
|
|
368
|
+
authorizedAt?: Date | string;
|
|
369
|
+
createdAt?: Date | string;
|
|
370
|
+
};
|
|
371
|
+
export type NotificationChannelUpdateManyMutationInput = {
|
|
372
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
373
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
374
|
+
channelId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
375
|
+
channelName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
376
|
+
issueProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
377
|
+
projectKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
378
|
+
events?: Prisma.NotificationChannelUpdateeventsInput | string[];
|
|
379
|
+
includeCost?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
380
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
381
|
+
lastErrorAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
382
|
+
authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
383
|
+
authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
384
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
385
|
+
};
|
|
386
|
+
export type NotificationChannelUncheckedUpdateManyInput = {
|
|
387
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
388
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
389
|
+
channelId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
390
|
+
channelName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
391
|
+
issueProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
392
|
+
projectKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
393
|
+
agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
394
|
+
events?: Prisma.NotificationChannelUpdateeventsInput | string[];
|
|
395
|
+
includeCost?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
396
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
397
|
+
lastErrorAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
398
|
+
authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
399
|
+
authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
400
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
401
|
+
};
|
|
402
|
+
export type NotificationChannelListRelationFilter = {
|
|
403
|
+
every?: Prisma.NotificationChannelWhereInput;
|
|
404
|
+
some?: Prisma.NotificationChannelWhereInput;
|
|
405
|
+
none?: Prisma.NotificationChannelWhereInput;
|
|
406
|
+
};
|
|
407
|
+
export type NotificationChannelOrderByRelationAggregateInput = {
|
|
408
|
+
_count?: Prisma.SortOrder;
|
|
409
|
+
};
|
|
410
|
+
export type NotificationChannelProviderChannelIdIssueProviderProjectKeyCompoundUniqueInput = {
|
|
411
|
+
provider: string;
|
|
412
|
+
channelId: string;
|
|
413
|
+
issueProvider: string;
|
|
414
|
+
projectKey: string;
|
|
415
|
+
};
|
|
416
|
+
export type NotificationChannelProviderChannelIdAgentIdCompoundUniqueInput = {
|
|
417
|
+
provider: string;
|
|
418
|
+
channelId: string;
|
|
419
|
+
agentId: string;
|
|
420
|
+
};
|
|
421
|
+
export type NotificationChannelCountOrderByAggregateInput = {
|
|
422
|
+
id?: Prisma.SortOrder;
|
|
423
|
+
provider?: Prisma.SortOrder;
|
|
424
|
+
channelId?: Prisma.SortOrder;
|
|
425
|
+
channelName?: Prisma.SortOrder;
|
|
426
|
+
issueProvider?: Prisma.SortOrder;
|
|
427
|
+
projectKey?: Prisma.SortOrder;
|
|
428
|
+
agentId?: Prisma.SortOrder;
|
|
429
|
+
events?: Prisma.SortOrder;
|
|
430
|
+
includeCost?: Prisma.SortOrder;
|
|
431
|
+
lastError?: Prisma.SortOrder;
|
|
432
|
+
lastErrorAt?: Prisma.SortOrder;
|
|
433
|
+
authorizedById?: Prisma.SortOrder;
|
|
434
|
+
authorizedAt?: Prisma.SortOrder;
|
|
435
|
+
createdAt?: Prisma.SortOrder;
|
|
436
|
+
};
|
|
437
|
+
export type NotificationChannelMaxOrderByAggregateInput = {
|
|
438
|
+
id?: Prisma.SortOrder;
|
|
439
|
+
provider?: Prisma.SortOrder;
|
|
440
|
+
channelId?: Prisma.SortOrder;
|
|
441
|
+
channelName?: Prisma.SortOrder;
|
|
442
|
+
issueProvider?: Prisma.SortOrder;
|
|
443
|
+
projectKey?: Prisma.SortOrder;
|
|
444
|
+
agentId?: Prisma.SortOrder;
|
|
445
|
+
includeCost?: Prisma.SortOrder;
|
|
446
|
+
lastError?: Prisma.SortOrder;
|
|
447
|
+
lastErrorAt?: Prisma.SortOrder;
|
|
448
|
+
authorizedById?: Prisma.SortOrder;
|
|
449
|
+
authorizedAt?: Prisma.SortOrder;
|
|
450
|
+
createdAt?: Prisma.SortOrder;
|
|
451
|
+
};
|
|
452
|
+
export type NotificationChannelMinOrderByAggregateInput = {
|
|
453
|
+
id?: Prisma.SortOrder;
|
|
454
|
+
provider?: Prisma.SortOrder;
|
|
455
|
+
channelId?: Prisma.SortOrder;
|
|
456
|
+
channelName?: Prisma.SortOrder;
|
|
457
|
+
issueProvider?: Prisma.SortOrder;
|
|
458
|
+
projectKey?: Prisma.SortOrder;
|
|
459
|
+
agentId?: Prisma.SortOrder;
|
|
460
|
+
includeCost?: Prisma.SortOrder;
|
|
461
|
+
lastError?: Prisma.SortOrder;
|
|
462
|
+
lastErrorAt?: Prisma.SortOrder;
|
|
463
|
+
authorizedById?: Prisma.SortOrder;
|
|
464
|
+
authorizedAt?: Prisma.SortOrder;
|
|
465
|
+
createdAt?: Prisma.SortOrder;
|
|
466
|
+
};
|
|
467
|
+
export type NotificationChannelCreateNestedManyWithoutAgentInput = {
|
|
468
|
+
create?: Prisma.XOR<Prisma.NotificationChannelCreateWithoutAgentInput, Prisma.NotificationChannelUncheckedCreateWithoutAgentInput> | Prisma.NotificationChannelCreateWithoutAgentInput[] | Prisma.NotificationChannelUncheckedCreateWithoutAgentInput[];
|
|
469
|
+
connectOrCreate?: Prisma.NotificationChannelCreateOrConnectWithoutAgentInput | Prisma.NotificationChannelCreateOrConnectWithoutAgentInput[];
|
|
470
|
+
createMany?: Prisma.NotificationChannelCreateManyAgentInputEnvelope;
|
|
471
|
+
connect?: Prisma.NotificationChannelWhereUniqueInput | Prisma.NotificationChannelWhereUniqueInput[];
|
|
472
|
+
};
|
|
473
|
+
export type NotificationChannelUncheckedCreateNestedManyWithoutAgentInput = {
|
|
474
|
+
create?: Prisma.XOR<Prisma.NotificationChannelCreateWithoutAgentInput, Prisma.NotificationChannelUncheckedCreateWithoutAgentInput> | Prisma.NotificationChannelCreateWithoutAgentInput[] | Prisma.NotificationChannelUncheckedCreateWithoutAgentInput[];
|
|
475
|
+
connectOrCreate?: Prisma.NotificationChannelCreateOrConnectWithoutAgentInput | Prisma.NotificationChannelCreateOrConnectWithoutAgentInput[];
|
|
476
|
+
createMany?: Prisma.NotificationChannelCreateManyAgentInputEnvelope;
|
|
477
|
+
connect?: Prisma.NotificationChannelWhereUniqueInput | Prisma.NotificationChannelWhereUniqueInput[];
|
|
478
|
+
};
|
|
479
|
+
export type NotificationChannelUpdateManyWithoutAgentNestedInput = {
|
|
480
|
+
create?: Prisma.XOR<Prisma.NotificationChannelCreateWithoutAgentInput, Prisma.NotificationChannelUncheckedCreateWithoutAgentInput> | Prisma.NotificationChannelCreateWithoutAgentInput[] | Prisma.NotificationChannelUncheckedCreateWithoutAgentInput[];
|
|
481
|
+
connectOrCreate?: Prisma.NotificationChannelCreateOrConnectWithoutAgentInput | Prisma.NotificationChannelCreateOrConnectWithoutAgentInput[];
|
|
482
|
+
upsert?: Prisma.NotificationChannelUpsertWithWhereUniqueWithoutAgentInput | Prisma.NotificationChannelUpsertWithWhereUniqueWithoutAgentInput[];
|
|
483
|
+
createMany?: Prisma.NotificationChannelCreateManyAgentInputEnvelope;
|
|
484
|
+
set?: Prisma.NotificationChannelWhereUniqueInput | Prisma.NotificationChannelWhereUniqueInput[];
|
|
485
|
+
disconnect?: Prisma.NotificationChannelWhereUniqueInput | Prisma.NotificationChannelWhereUniqueInput[];
|
|
486
|
+
delete?: Prisma.NotificationChannelWhereUniqueInput | Prisma.NotificationChannelWhereUniqueInput[];
|
|
487
|
+
connect?: Prisma.NotificationChannelWhereUniqueInput | Prisma.NotificationChannelWhereUniqueInput[];
|
|
488
|
+
update?: Prisma.NotificationChannelUpdateWithWhereUniqueWithoutAgentInput | Prisma.NotificationChannelUpdateWithWhereUniqueWithoutAgentInput[];
|
|
489
|
+
updateMany?: Prisma.NotificationChannelUpdateManyWithWhereWithoutAgentInput | Prisma.NotificationChannelUpdateManyWithWhereWithoutAgentInput[];
|
|
490
|
+
deleteMany?: Prisma.NotificationChannelScalarWhereInput | Prisma.NotificationChannelScalarWhereInput[];
|
|
491
|
+
};
|
|
492
|
+
export type NotificationChannelUncheckedUpdateManyWithoutAgentNestedInput = {
|
|
493
|
+
create?: Prisma.XOR<Prisma.NotificationChannelCreateWithoutAgentInput, Prisma.NotificationChannelUncheckedCreateWithoutAgentInput> | Prisma.NotificationChannelCreateWithoutAgentInput[] | Prisma.NotificationChannelUncheckedCreateWithoutAgentInput[];
|
|
494
|
+
connectOrCreate?: Prisma.NotificationChannelCreateOrConnectWithoutAgentInput | Prisma.NotificationChannelCreateOrConnectWithoutAgentInput[];
|
|
495
|
+
upsert?: Prisma.NotificationChannelUpsertWithWhereUniqueWithoutAgentInput | Prisma.NotificationChannelUpsertWithWhereUniqueWithoutAgentInput[];
|
|
496
|
+
createMany?: Prisma.NotificationChannelCreateManyAgentInputEnvelope;
|
|
497
|
+
set?: Prisma.NotificationChannelWhereUniqueInput | Prisma.NotificationChannelWhereUniqueInput[];
|
|
498
|
+
disconnect?: Prisma.NotificationChannelWhereUniqueInput | Prisma.NotificationChannelWhereUniqueInput[];
|
|
499
|
+
delete?: Prisma.NotificationChannelWhereUniqueInput | Prisma.NotificationChannelWhereUniqueInput[];
|
|
500
|
+
connect?: Prisma.NotificationChannelWhereUniqueInput | Prisma.NotificationChannelWhereUniqueInput[];
|
|
501
|
+
update?: Prisma.NotificationChannelUpdateWithWhereUniqueWithoutAgentInput | Prisma.NotificationChannelUpdateWithWhereUniqueWithoutAgentInput[];
|
|
502
|
+
updateMany?: Prisma.NotificationChannelUpdateManyWithWhereWithoutAgentInput | Prisma.NotificationChannelUpdateManyWithWhereWithoutAgentInput[];
|
|
503
|
+
deleteMany?: Prisma.NotificationChannelScalarWhereInput | Prisma.NotificationChannelScalarWhereInput[];
|
|
504
|
+
};
|
|
505
|
+
export type NotificationChannelCreateeventsInput = {
|
|
506
|
+
set: string[];
|
|
507
|
+
};
|
|
508
|
+
export type NotificationChannelUpdateeventsInput = {
|
|
509
|
+
set?: string[];
|
|
510
|
+
push?: string | string[];
|
|
511
|
+
};
|
|
512
|
+
export type NotificationChannelCreateWithoutAgentInput = {
|
|
513
|
+
id?: string;
|
|
514
|
+
provider: string;
|
|
515
|
+
channelId: string;
|
|
516
|
+
channelName?: string | null;
|
|
517
|
+
issueProvider?: string | null;
|
|
518
|
+
projectKey?: string | null;
|
|
519
|
+
events?: Prisma.NotificationChannelCreateeventsInput | string[];
|
|
520
|
+
includeCost?: boolean;
|
|
521
|
+
lastError?: string | null;
|
|
522
|
+
lastErrorAt?: Date | string | null;
|
|
523
|
+
authorizedById: string;
|
|
524
|
+
authorizedAt?: Date | string;
|
|
525
|
+
createdAt?: Date | string;
|
|
526
|
+
};
|
|
527
|
+
export type NotificationChannelUncheckedCreateWithoutAgentInput = {
|
|
528
|
+
id?: string;
|
|
529
|
+
provider: string;
|
|
530
|
+
channelId: string;
|
|
531
|
+
channelName?: string | null;
|
|
532
|
+
issueProvider?: string | null;
|
|
533
|
+
projectKey?: string | null;
|
|
534
|
+
events?: Prisma.NotificationChannelCreateeventsInput | string[];
|
|
535
|
+
includeCost?: boolean;
|
|
536
|
+
lastError?: string | null;
|
|
537
|
+
lastErrorAt?: Date | string | null;
|
|
538
|
+
authorizedById: string;
|
|
539
|
+
authorizedAt?: Date | string;
|
|
540
|
+
createdAt?: Date | string;
|
|
541
|
+
};
|
|
542
|
+
export type NotificationChannelCreateOrConnectWithoutAgentInput = {
|
|
543
|
+
where: Prisma.NotificationChannelWhereUniqueInput;
|
|
544
|
+
create: Prisma.XOR<Prisma.NotificationChannelCreateWithoutAgentInput, Prisma.NotificationChannelUncheckedCreateWithoutAgentInput>;
|
|
545
|
+
};
|
|
546
|
+
export type NotificationChannelCreateManyAgentInputEnvelope = {
|
|
547
|
+
data: Prisma.NotificationChannelCreateManyAgentInput | Prisma.NotificationChannelCreateManyAgentInput[];
|
|
548
|
+
skipDuplicates?: boolean;
|
|
549
|
+
};
|
|
550
|
+
export type NotificationChannelUpsertWithWhereUniqueWithoutAgentInput = {
|
|
551
|
+
where: Prisma.NotificationChannelWhereUniqueInput;
|
|
552
|
+
update: Prisma.XOR<Prisma.NotificationChannelUpdateWithoutAgentInput, Prisma.NotificationChannelUncheckedUpdateWithoutAgentInput>;
|
|
553
|
+
create: Prisma.XOR<Prisma.NotificationChannelCreateWithoutAgentInput, Prisma.NotificationChannelUncheckedCreateWithoutAgentInput>;
|
|
554
|
+
};
|
|
555
|
+
export type NotificationChannelUpdateWithWhereUniqueWithoutAgentInput = {
|
|
556
|
+
where: Prisma.NotificationChannelWhereUniqueInput;
|
|
557
|
+
data: Prisma.XOR<Prisma.NotificationChannelUpdateWithoutAgentInput, Prisma.NotificationChannelUncheckedUpdateWithoutAgentInput>;
|
|
558
|
+
};
|
|
559
|
+
export type NotificationChannelUpdateManyWithWhereWithoutAgentInput = {
|
|
560
|
+
where: Prisma.NotificationChannelScalarWhereInput;
|
|
561
|
+
data: Prisma.XOR<Prisma.NotificationChannelUpdateManyMutationInput, Prisma.NotificationChannelUncheckedUpdateManyWithoutAgentInput>;
|
|
562
|
+
};
|
|
563
|
+
export type NotificationChannelScalarWhereInput = {
|
|
564
|
+
AND?: Prisma.NotificationChannelScalarWhereInput | Prisma.NotificationChannelScalarWhereInput[];
|
|
565
|
+
OR?: Prisma.NotificationChannelScalarWhereInput[];
|
|
566
|
+
NOT?: Prisma.NotificationChannelScalarWhereInput | Prisma.NotificationChannelScalarWhereInput[];
|
|
567
|
+
id?: Prisma.StringFilter<"NotificationChannel"> | string;
|
|
568
|
+
provider?: Prisma.StringFilter<"NotificationChannel"> | string;
|
|
569
|
+
channelId?: Prisma.StringFilter<"NotificationChannel"> | string;
|
|
570
|
+
channelName?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
571
|
+
issueProvider?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
572
|
+
projectKey?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
573
|
+
agentId?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
574
|
+
events?: Prisma.StringNullableListFilter<"NotificationChannel">;
|
|
575
|
+
includeCost?: Prisma.BoolFilter<"NotificationChannel"> | boolean;
|
|
576
|
+
lastError?: Prisma.StringNullableFilter<"NotificationChannel"> | string | null;
|
|
577
|
+
lastErrorAt?: Prisma.DateTimeNullableFilter<"NotificationChannel"> | Date | string | null;
|
|
578
|
+
authorizedById?: Prisma.StringFilter<"NotificationChannel"> | string;
|
|
579
|
+
authorizedAt?: Prisma.DateTimeFilter<"NotificationChannel"> | Date | string;
|
|
580
|
+
createdAt?: Prisma.DateTimeFilter<"NotificationChannel"> | Date | string;
|
|
581
|
+
};
|
|
582
|
+
export type NotificationChannelCreateManyAgentInput = {
|
|
583
|
+
id?: string;
|
|
584
|
+
provider: string;
|
|
585
|
+
channelId: string;
|
|
586
|
+
channelName?: string | null;
|
|
587
|
+
issueProvider?: string | null;
|
|
588
|
+
projectKey?: string | null;
|
|
589
|
+
events?: Prisma.NotificationChannelCreateeventsInput | string[];
|
|
590
|
+
includeCost?: boolean;
|
|
591
|
+
lastError?: string | null;
|
|
592
|
+
lastErrorAt?: Date | string | null;
|
|
593
|
+
authorizedById: string;
|
|
594
|
+
authorizedAt?: Date | string;
|
|
595
|
+
createdAt?: Date | string;
|
|
596
|
+
};
|
|
597
|
+
export type NotificationChannelUpdateWithoutAgentInput = {
|
|
598
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
599
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
600
|
+
channelId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
601
|
+
channelName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
602
|
+
issueProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
603
|
+
projectKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
604
|
+
events?: Prisma.NotificationChannelUpdateeventsInput | string[];
|
|
605
|
+
includeCost?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
606
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
607
|
+
lastErrorAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
608
|
+
authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
609
|
+
authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
610
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
611
|
+
};
|
|
612
|
+
export type NotificationChannelUncheckedUpdateWithoutAgentInput = {
|
|
613
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
614
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
615
|
+
channelId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
616
|
+
channelName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
617
|
+
issueProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
618
|
+
projectKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
619
|
+
events?: Prisma.NotificationChannelUpdateeventsInput | string[];
|
|
620
|
+
includeCost?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
621
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
622
|
+
lastErrorAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
623
|
+
authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
624
|
+
authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
625
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
626
|
+
};
|
|
627
|
+
export type NotificationChannelUncheckedUpdateManyWithoutAgentInput = {
|
|
628
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
629
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
630
|
+
channelId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
631
|
+
channelName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
632
|
+
issueProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
633
|
+
projectKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
634
|
+
events?: Prisma.NotificationChannelUpdateeventsInput | string[];
|
|
635
|
+
includeCost?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
636
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
637
|
+
lastErrorAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
638
|
+
authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
639
|
+
authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
640
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
641
|
+
};
|
|
642
|
+
export type NotificationChannelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
643
|
+
id?: boolean;
|
|
644
|
+
provider?: boolean;
|
|
645
|
+
channelId?: boolean;
|
|
646
|
+
channelName?: boolean;
|
|
647
|
+
issueProvider?: boolean;
|
|
648
|
+
projectKey?: boolean;
|
|
649
|
+
agentId?: boolean;
|
|
650
|
+
events?: boolean;
|
|
651
|
+
includeCost?: boolean;
|
|
652
|
+
lastError?: boolean;
|
|
653
|
+
lastErrorAt?: boolean;
|
|
654
|
+
authorizedById?: boolean;
|
|
655
|
+
authorizedAt?: boolean;
|
|
656
|
+
createdAt?: boolean;
|
|
657
|
+
agent?: boolean | Prisma.NotificationChannel$agentArgs<ExtArgs>;
|
|
658
|
+
}, ExtArgs["result"]["notificationChannel"]>;
|
|
659
|
+
export type NotificationChannelSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
660
|
+
id?: boolean;
|
|
661
|
+
provider?: boolean;
|
|
662
|
+
channelId?: boolean;
|
|
663
|
+
channelName?: boolean;
|
|
664
|
+
issueProvider?: boolean;
|
|
665
|
+
projectKey?: boolean;
|
|
666
|
+
agentId?: boolean;
|
|
667
|
+
events?: boolean;
|
|
668
|
+
includeCost?: boolean;
|
|
669
|
+
lastError?: boolean;
|
|
670
|
+
lastErrorAt?: boolean;
|
|
671
|
+
authorizedById?: boolean;
|
|
672
|
+
authorizedAt?: boolean;
|
|
673
|
+
createdAt?: boolean;
|
|
674
|
+
agent?: boolean | Prisma.NotificationChannel$agentArgs<ExtArgs>;
|
|
675
|
+
}, ExtArgs["result"]["notificationChannel"]>;
|
|
676
|
+
export type NotificationChannelSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
677
|
+
id?: boolean;
|
|
678
|
+
provider?: boolean;
|
|
679
|
+
channelId?: boolean;
|
|
680
|
+
channelName?: boolean;
|
|
681
|
+
issueProvider?: boolean;
|
|
682
|
+
projectKey?: boolean;
|
|
683
|
+
agentId?: boolean;
|
|
684
|
+
events?: boolean;
|
|
685
|
+
includeCost?: boolean;
|
|
686
|
+
lastError?: boolean;
|
|
687
|
+
lastErrorAt?: boolean;
|
|
688
|
+
authorizedById?: boolean;
|
|
689
|
+
authorizedAt?: boolean;
|
|
690
|
+
createdAt?: boolean;
|
|
691
|
+
agent?: boolean | Prisma.NotificationChannel$agentArgs<ExtArgs>;
|
|
692
|
+
}, ExtArgs["result"]["notificationChannel"]>;
|
|
693
|
+
export type NotificationChannelSelectScalar = {
|
|
694
|
+
id?: boolean;
|
|
695
|
+
provider?: boolean;
|
|
696
|
+
channelId?: boolean;
|
|
697
|
+
channelName?: boolean;
|
|
698
|
+
issueProvider?: boolean;
|
|
699
|
+
projectKey?: boolean;
|
|
700
|
+
agentId?: boolean;
|
|
701
|
+
events?: boolean;
|
|
702
|
+
includeCost?: boolean;
|
|
703
|
+
lastError?: boolean;
|
|
704
|
+
lastErrorAt?: boolean;
|
|
705
|
+
authorizedById?: boolean;
|
|
706
|
+
authorizedAt?: boolean;
|
|
707
|
+
createdAt?: boolean;
|
|
708
|
+
};
|
|
709
|
+
export type NotificationChannelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "provider" | "channelId" | "channelName" | "issueProvider" | "projectKey" | "agentId" | "events" | "includeCost" | "lastError" | "lastErrorAt" | "authorizedById" | "authorizedAt" | "createdAt", ExtArgs["result"]["notificationChannel"]>;
|
|
710
|
+
export type NotificationChannelInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
711
|
+
agent?: boolean | Prisma.NotificationChannel$agentArgs<ExtArgs>;
|
|
712
|
+
};
|
|
713
|
+
export type NotificationChannelIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
714
|
+
agent?: boolean | Prisma.NotificationChannel$agentArgs<ExtArgs>;
|
|
715
|
+
};
|
|
716
|
+
export type NotificationChannelIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
717
|
+
agent?: boolean | Prisma.NotificationChannel$agentArgs<ExtArgs>;
|
|
718
|
+
};
|
|
719
|
+
export type $NotificationChannelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
720
|
+
name: "NotificationChannel";
|
|
721
|
+
objects: {
|
|
722
|
+
agent: Prisma.$AgentPayload<ExtArgs> | null;
|
|
723
|
+
};
|
|
724
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
725
|
+
id: string;
|
|
726
|
+
/**
|
|
727
|
+
* "slack" today; validated in code.
|
|
728
|
+
*/
|
|
729
|
+
provider: string;
|
|
730
|
+
/**
|
|
731
|
+
* Slack channel id (C…/G…), upper-case.
|
|
732
|
+
*/
|
|
733
|
+
channelId: string;
|
|
734
|
+
/**
|
|
735
|
+
* Last known channel name, display only.
|
|
736
|
+
*/
|
|
737
|
+
channelName: string | null;
|
|
738
|
+
issueProvider: string | null;
|
|
739
|
+
projectKey: string | null;
|
|
740
|
+
agentId: string | null;
|
|
741
|
+
/**
|
|
742
|
+
* Subset of the workflow event kinds; empty = all.
|
|
743
|
+
*/
|
|
744
|
+
events: string[];
|
|
745
|
+
/**
|
|
746
|
+
* Append the run's spend line to messages.
|
|
747
|
+
*/
|
|
748
|
+
includeCost: boolean;
|
|
749
|
+
/**
|
|
750
|
+
* Set by the dispatcher on a permanent channel error; cleared by re-linking.
|
|
751
|
+
*/
|
|
752
|
+
lastError: string | null;
|
|
753
|
+
lastErrorAt: Date | null;
|
|
754
|
+
authorizedById: string;
|
|
755
|
+
authorizedAt: Date;
|
|
756
|
+
createdAt: Date;
|
|
757
|
+
}, ExtArgs["result"]["notificationChannel"]>;
|
|
758
|
+
composites: {};
|
|
759
|
+
};
|
|
760
|
+
export type NotificationChannelGetPayload<S extends boolean | null | undefined | NotificationChannelDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload, S>;
|
|
761
|
+
export type NotificationChannelCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<NotificationChannelFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
762
|
+
select?: NotificationChannelCountAggregateInputType | true;
|
|
763
|
+
};
|
|
764
|
+
export interface NotificationChannelDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
765
|
+
[K: symbol]: {
|
|
766
|
+
types: Prisma.TypeMap<ExtArgs>['model']['NotificationChannel'];
|
|
767
|
+
meta: {
|
|
768
|
+
name: 'NotificationChannel';
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
/**
|
|
772
|
+
* Find zero or one NotificationChannel that matches the filter.
|
|
773
|
+
* @param {NotificationChannelFindUniqueArgs} args - Arguments to find a NotificationChannel
|
|
774
|
+
* @example
|
|
775
|
+
* // Get one NotificationChannel
|
|
776
|
+
* const notificationChannel = await prisma.notificationChannel.findUnique({
|
|
777
|
+
* where: {
|
|
778
|
+
* // ... provide filter here
|
|
779
|
+
* }
|
|
780
|
+
* })
|
|
781
|
+
*/
|
|
782
|
+
findUnique<T extends NotificationChannelFindUniqueArgs>(args: Prisma.SelectSubset<T, NotificationChannelFindUniqueArgs<ExtArgs>>): Prisma.Prisma__NotificationChannelClient<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
783
|
+
/**
|
|
784
|
+
* Find one NotificationChannel that matches the filter or throw an error with `error.code='P2025'`
|
|
785
|
+
* if no matches were found.
|
|
786
|
+
* @param {NotificationChannelFindUniqueOrThrowArgs} args - Arguments to find a NotificationChannel
|
|
787
|
+
* @example
|
|
788
|
+
* // Get one NotificationChannel
|
|
789
|
+
* const notificationChannel = await prisma.notificationChannel.findUniqueOrThrow({
|
|
790
|
+
* where: {
|
|
791
|
+
* // ... provide filter here
|
|
792
|
+
* }
|
|
793
|
+
* })
|
|
794
|
+
*/
|
|
795
|
+
findUniqueOrThrow<T extends NotificationChannelFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, NotificationChannelFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__NotificationChannelClient<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
796
|
+
/**
|
|
797
|
+
* Find the first NotificationChannel that matches the filter.
|
|
798
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
799
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
800
|
+
* @param {NotificationChannelFindFirstArgs} args - Arguments to find a NotificationChannel
|
|
801
|
+
* @example
|
|
802
|
+
* // Get one NotificationChannel
|
|
803
|
+
* const notificationChannel = await prisma.notificationChannel.findFirst({
|
|
804
|
+
* where: {
|
|
805
|
+
* // ... provide filter here
|
|
806
|
+
* }
|
|
807
|
+
* })
|
|
808
|
+
*/
|
|
809
|
+
findFirst<T extends NotificationChannelFindFirstArgs>(args?: Prisma.SelectSubset<T, NotificationChannelFindFirstArgs<ExtArgs>>): Prisma.Prisma__NotificationChannelClient<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
810
|
+
/**
|
|
811
|
+
* Find the first NotificationChannel that matches the filter or
|
|
812
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
813
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
814
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
815
|
+
* @param {NotificationChannelFindFirstOrThrowArgs} args - Arguments to find a NotificationChannel
|
|
816
|
+
* @example
|
|
817
|
+
* // Get one NotificationChannel
|
|
818
|
+
* const notificationChannel = await prisma.notificationChannel.findFirstOrThrow({
|
|
819
|
+
* where: {
|
|
820
|
+
* // ... provide filter here
|
|
821
|
+
* }
|
|
822
|
+
* })
|
|
823
|
+
*/
|
|
824
|
+
findFirstOrThrow<T extends NotificationChannelFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, NotificationChannelFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__NotificationChannelClient<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
825
|
+
/**
|
|
826
|
+
* Find zero or more NotificationChannels that matches the filter.
|
|
827
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
828
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
829
|
+
* @param {NotificationChannelFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
830
|
+
* @example
|
|
831
|
+
* // Get all NotificationChannels
|
|
832
|
+
* const notificationChannels = await prisma.notificationChannel.findMany()
|
|
833
|
+
*
|
|
834
|
+
* // Get first 10 NotificationChannels
|
|
835
|
+
* const notificationChannels = await prisma.notificationChannel.findMany({ take: 10 })
|
|
836
|
+
*
|
|
837
|
+
* // Only select the `id`
|
|
838
|
+
* const notificationChannelWithIdOnly = await prisma.notificationChannel.findMany({ select: { id: true } })
|
|
839
|
+
*
|
|
840
|
+
*/
|
|
841
|
+
findMany<T extends NotificationChannelFindManyArgs>(args?: Prisma.SelectSubset<T, NotificationChannelFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
842
|
+
/**
|
|
843
|
+
* Create a NotificationChannel.
|
|
844
|
+
* @param {NotificationChannelCreateArgs} args - Arguments to create a NotificationChannel.
|
|
845
|
+
* @example
|
|
846
|
+
* // Create one NotificationChannel
|
|
847
|
+
* const NotificationChannel = await prisma.notificationChannel.create({
|
|
848
|
+
* data: {
|
|
849
|
+
* // ... data to create a NotificationChannel
|
|
850
|
+
* }
|
|
851
|
+
* })
|
|
852
|
+
*
|
|
853
|
+
*/
|
|
854
|
+
create<T extends NotificationChannelCreateArgs>(args: Prisma.SelectSubset<T, NotificationChannelCreateArgs<ExtArgs>>): Prisma.Prisma__NotificationChannelClient<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
855
|
+
/**
|
|
856
|
+
* Create many NotificationChannels.
|
|
857
|
+
* @param {NotificationChannelCreateManyArgs} args - Arguments to create many NotificationChannels.
|
|
858
|
+
* @example
|
|
859
|
+
* // Create many NotificationChannels
|
|
860
|
+
* const notificationChannel = await prisma.notificationChannel.createMany({
|
|
861
|
+
* data: [
|
|
862
|
+
* // ... provide data here
|
|
863
|
+
* ]
|
|
864
|
+
* })
|
|
865
|
+
*
|
|
866
|
+
*/
|
|
867
|
+
createMany<T extends NotificationChannelCreateManyArgs>(args?: Prisma.SelectSubset<T, NotificationChannelCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
868
|
+
/**
|
|
869
|
+
* Create many NotificationChannels and returns the data saved in the database.
|
|
870
|
+
* @param {NotificationChannelCreateManyAndReturnArgs} args - Arguments to create many NotificationChannels.
|
|
871
|
+
* @example
|
|
872
|
+
* // Create many NotificationChannels
|
|
873
|
+
* const notificationChannel = await prisma.notificationChannel.createManyAndReturn({
|
|
874
|
+
* data: [
|
|
875
|
+
* // ... provide data here
|
|
876
|
+
* ]
|
|
877
|
+
* })
|
|
878
|
+
*
|
|
879
|
+
* // Create many NotificationChannels and only return the `id`
|
|
880
|
+
* const notificationChannelWithIdOnly = await prisma.notificationChannel.createManyAndReturn({
|
|
881
|
+
* select: { id: true },
|
|
882
|
+
* data: [
|
|
883
|
+
* // ... provide data here
|
|
884
|
+
* ]
|
|
885
|
+
* })
|
|
886
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
887
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
888
|
+
*
|
|
889
|
+
*/
|
|
890
|
+
createManyAndReturn<T extends NotificationChannelCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, NotificationChannelCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
891
|
+
/**
|
|
892
|
+
* Delete a NotificationChannel.
|
|
893
|
+
* @param {NotificationChannelDeleteArgs} args - Arguments to delete one NotificationChannel.
|
|
894
|
+
* @example
|
|
895
|
+
* // Delete one NotificationChannel
|
|
896
|
+
* const NotificationChannel = await prisma.notificationChannel.delete({
|
|
897
|
+
* where: {
|
|
898
|
+
* // ... filter to delete one NotificationChannel
|
|
899
|
+
* }
|
|
900
|
+
* })
|
|
901
|
+
*
|
|
902
|
+
*/
|
|
903
|
+
delete<T extends NotificationChannelDeleteArgs>(args: Prisma.SelectSubset<T, NotificationChannelDeleteArgs<ExtArgs>>): Prisma.Prisma__NotificationChannelClient<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
904
|
+
/**
|
|
905
|
+
* Update one NotificationChannel.
|
|
906
|
+
* @param {NotificationChannelUpdateArgs} args - Arguments to update one NotificationChannel.
|
|
907
|
+
* @example
|
|
908
|
+
* // Update one NotificationChannel
|
|
909
|
+
* const notificationChannel = await prisma.notificationChannel.update({
|
|
910
|
+
* where: {
|
|
911
|
+
* // ... provide filter here
|
|
912
|
+
* },
|
|
913
|
+
* data: {
|
|
914
|
+
* // ... provide data here
|
|
915
|
+
* }
|
|
916
|
+
* })
|
|
917
|
+
*
|
|
918
|
+
*/
|
|
919
|
+
update<T extends NotificationChannelUpdateArgs>(args: Prisma.SelectSubset<T, NotificationChannelUpdateArgs<ExtArgs>>): Prisma.Prisma__NotificationChannelClient<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
920
|
+
/**
|
|
921
|
+
* Delete zero or more NotificationChannels.
|
|
922
|
+
* @param {NotificationChannelDeleteManyArgs} args - Arguments to filter NotificationChannels to delete.
|
|
923
|
+
* @example
|
|
924
|
+
* // Delete a few NotificationChannels
|
|
925
|
+
* const { count } = await prisma.notificationChannel.deleteMany({
|
|
926
|
+
* where: {
|
|
927
|
+
* // ... provide filter here
|
|
928
|
+
* }
|
|
929
|
+
* })
|
|
930
|
+
*
|
|
931
|
+
*/
|
|
932
|
+
deleteMany<T extends NotificationChannelDeleteManyArgs>(args?: Prisma.SelectSubset<T, NotificationChannelDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
933
|
+
/**
|
|
934
|
+
* Update zero or more NotificationChannels.
|
|
935
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
936
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
937
|
+
* @param {NotificationChannelUpdateManyArgs} args - Arguments to update one or more rows.
|
|
938
|
+
* @example
|
|
939
|
+
* // Update many NotificationChannels
|
|
940
|
+
* const notificationChannel = await prisma.notificationChannel.updateMany({
|
|
941
|
+
* where: {
|
|
942
|
+
* // ... provide filter here
|
|
943
|
+
* },
|
|
944
|
+
* data: {
|
|
945
|
+
* // ... provide data here
|
|
946
|
+
* }
|
|
947
|
+
* })
|
|
948
|
+
*
|
|
949
|
+
*/
|
|
950
|
+
updateMany<T extends NotificationChannelUpdateManyArgs>(args: Prisma.SelectSubset<T, NotificationChannelUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
951
|
+
/**
|
|
952
|
+
* Update zero or more NotificationChannels and returns the data updated in the database.
|
|
953
|
+
* @param {NotificationChannelUpdateManyAndReturnArgs} args - Arguments to update many NotificationChannels.
|
|
954
|
+
* @example
|
|
955
|
+
* // Update many NotificationChannels
|
|
956
|
+
* const notificationChannel = await prisma.notificationChannel.updateManyAndReturn({
|
|
957
|
+
* where: {
|
|
958
|
+
* // ... provide filter here
|
|
959
|
+
* },
|
|
960
|
+
* data: [
|
|
961
|
+
* // ... provide data here
|
|
962
|
+
* ]
|
|
963
|
+
* })
|
|
964
|
+
*
|
|
965
|
+
* // Update zero or more NotificationChannels and only return the `id`
|
|
966
|
+
* const notificationChannelWithIdOnly = await prisma.notificationChannel.updateManyAndReturn({
|
|
967
|
+
* select: { id: true },
|
|
968
|
+
* where: {
|
|
969
|
+
* // ... provide filter here
|
|
970
|
+
* },
|
|
971
|
+
* data: [
|
|
972
|
+
* // ... provide data here
|
|
973
|
+
* ]
|
|
974
|
+
* })
|
|
975
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
976
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
977
|
+
*
|
|
978
|
+
*/
|
|
979
|
+
updateManyAndReturn<T extends NotificationChannelUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, NotificationChannelUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
980
|
+
/**
|
|
981
|
+
* Create or update one NotificationChannel.
|
|
982
|
+
* @param {NotificationChannelUpsertArgs} args - Arguments to update or create a NotificationChannel.
|
|
983
|
+
* @example
|
|
984
|
+
* // Update or create a NotificationChannel
|
|
985
|
+
* const notificationChannel = await prisma.notificationChannel.upsert({
|
|
986
|
+
* create: {
|
|
987
|
+
* // ... data to create a NotificationChannel
|
|
988
|
+
* },
|
|
989
|
+
* update: {
|
|
990
|
+
* // ... in case it already exists, update
|
|
991
|
+
* },
|
|
992
|
+
* where: {
|
|
993
|
+
* // ... the filter for the NotificationChannel we want to update
|
|
994
|
+
* }
|
|
995
|
+
* })
|
|
996
|
+
*/
|
|
997
|
+
upsert<T extends NotificationChannelUpsertArgs>(args: Prisma.SelectSubset<T, NotificationChannelUpsertArgs<ExtArgs>>): Prisma.Prisma__NotificationChannelClient<runtime.Types.Result.GetResult<Prisma.$NotificationChannelPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
998
|
+
/**
|
|
999
|
+
* Count the number of NotificationChannels.
|
|
1000
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1001
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1002
|
+
* @param {NotificationChannelCountArgs} args - Arguments to filter NotificationChannels to count.
|
|
1003
|
+
* @example
|
|
1004
|
+
* // Count the number of NotificationChannels
|
|
1005
|
+
* const count = await prisma.notificationChannel.count({
|
|
1006
|
+
* where: {
|
|
1007
|
+
* // ... the filter for the NotificationChannels we want to count
|
|
1008
|
+
* }
|
|
1009
|
+
* })
|
|
1010
|
+
**/
|
|
1011
|
+
count<T extends NotificationChannelCountArgs>(args?: Prisma.Subset<T, NotificationChannelCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], NotificationChannelCountAggregateOutputType> : number>;
|
|
1012
|
+
/**
|
|
1013
|
+
* Allows you to perform aggregations operations on a NotificationChannel.
|
|
1014
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1015
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1016
|
+
* @param {NotificationChannelAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1017
|
+
* @example
|
|
1018
|
+
* // Ordered by age ascending
|
|
1019
|
+
* // Where email contains prisma.io
|
|
1020
|
+
* // Limited to the 10 users
|
|
1021
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1022
|
+
* _avg: {
|
|
1023
|
+
* age: true,
|
|
1024
|
+
* },
|
|
1025
|
+
* where: {
|
|
1026
|
+
* email: {
|
|
1027
|
+
* contains: "prisma.io",
|
|
1028
|
+
* },
|
|
1029
|
+
* },
|
|
1030
|
+
* orderBy: {
|
|
1031
|
+
* age: "asc",
|
|
1032
|
+
* },
|
|
1033
|
+
* take: 10,
|
|
1034
|
+
* })
|
|
1035
|
+
**/
|
|
1036
|
+
aggregate<T extends NotificationChannelAggregateArgs>(args: Prisma.Subset<T, NotificationChannelAggregateArgs>): Prisma.PrismaPromise<GetNotificationChannelAggregateType<T>>;
|
|
1037
|
+
/**
|
|
1038
|
+
* Group by NotificationChannel.
|
|
1039
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1040
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1041
|
+
* @param {NotificationChannelGroupByArgs} args - Group by arguments.
|
|
1042
|
+
* @example
|
|
1043
|
+
* // Group by city, order by createdAt, get count
|
|
1044
|
+
* const result = await prisma.user.groupBy({
|
|
1045
|
+
* by: ['city', 'createdAt'],
|
|
1046
|
+
* orderBy: {
|
|
1047
|
+
* createdAt: true
|
|
1048
|
+
* },
|
|
1049
|
+
* _count: {
|
|
1050
|
+
* _all: true
|
|
1051
|
+
* },
|
|
1052
|
+
* })
|
|
1053
|
+
*
|
|
1054
|
+
**/
|
|
1055
|
+
groupBy<T extends NotificationChannelGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1056
|
+
orderBy: NotificationChannelGroupByArgs['orderBy'];
|
|
1057
|
+
} : {
|
|
1058
|
+
orderBy?: NotificationChannelGroupByArgs['orderBy'];
|
|
1059
|
+
}, 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 ? {
|
|
1060
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1061
|
+
Error,
|
|
1062
|
+
'Field ',
|
|
1063
|
+
P,
|
|
1064
|
+
` in "having" needs to be provided in "by"`
|
|
1065
|
+
];
|
|
1066
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1067
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1068
|
+
}[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 ? {} : {
|
|
1069
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1070
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1071
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1072
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, NotificationChannelGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNotificationChannelGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Fields of the NotificationChannel model
|
|
1075
|
+
*/
|
|
1076
|
+
readonly fields: NotificationChannelFieldRefs;
|
|
1077
|
+
}
|
|
1078
|
+
/**
|
|
1079
|
+
* The delegate class that acts as a "Promise-like" for NotificationChannel.
|
|
1080
|
+
* Why is this prefixed with `Prisma__`?
|
|
1081
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1082
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1083
|
+
*/
|
|
1084
|
+
export interface Prisma__NotificationChannelClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1085
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1086
|
+
agent<T extends Prisma.NotificationChannel$agentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.NotificationChannel$agentArgs<ExtArgs>>): Prisma.Prisma__AgentClient<runtime.Types.Result.GetResult<Prisma.$AgentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1089
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1090
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1091
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1092
|
+
*/
|
|
1093
|
+
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>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1096
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1097
|
+
* @returns A Promise for the completion of the callback.
|
|
1098
|
+
*/
|
|
1099
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1102
|
+
* resolved value cannot be modified from the callback.
|
|
1103
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1104
|
+
* @returns A Promise for the completion of the callback.
|
|
1105
|
+
*/
|
|
1106
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1107
|
+
}
|
|
1108
|
+
/**
|
|
1109
|
+
* Fields of the NotificationChannel model
|
|
1110
|
+
*/
|
|
1111
|
+
export interface NotificationChannelFieldRefs {
|
|
1112
|
+
readonly id: Prisma.FieldRef<"NotificationChannel", 'String'>;
|
|
1113
|
+
readonly provider: Prisma.FieldRef<"NotificationChannel", 'String'>;
|
|
1114
|
+
readonly channelId: Prisma.FieldRef<"NotificationChannel", 'String'>;
|
|
1115
|
+
readonly channelName: Prisma.FieldRef<"NotificationChannel", 'String'>;
|
|
1116
|
+
readonly issueProvider: Prisma.FieldRef<"NotificationChannel", 'String'>;
|
|
1117
|
+
readonly projectKey: Prisma.FieldRef<"NotificationChannel", 'String'>;
|
|
1118
|
+
readonly agentId: Prisma.FieldRef<"NotificationChannel", 'String'>;
|
|
1119
|
+
readonly events: Prisma.FieldRef<"NotificationChannel", 'String[]'>;
|
|
1120
|
+
readonly includeCost: Prisma.FieldRef<"NotificationChannel", 'Boolean'>;
|
|
1121
|
+
readonly lastError: Prisma.FieldRef<"NotificationChannel", 'String'>;
|
|
1122
|
+
readonly lastErrorAt: Prisma.FieldRef<"NotificationChannel", 'DateTime'>;
|
|
1123
|
+
readonly authorizedById: Prisma.FieldRef<"NotificationChannel", 'String'>;
|
|
1124
|
+
readonly authorizedAt: Prisma.FieldRef<"NotificationChannel", 'DateTime'>;
|
|
1125
|
+
readonly createdAt: Prisma.FieldRef<"NotificationChannel", 'DateTime'>;
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* NotificationChannel findUnique
|
|
1129
|
+
*/
|
|
1130
|
+
export type NotificationChannelFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1131
|
+
/**
|
|
1132
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1133
|
+
*/
|
|
1134
|
+
select?: Prisma.NotificationChannelSelect<ExtArgs> | null;
|
|
1135
|
+
/**
|
|
1136
|
+
* Omit specific fields from the NotificationChannel
|
|
1137
|
+
*/
|
|
1138
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1139
|
+
/**
|
|
1140
|
+
* Choose, which related nodes to fetch as well
|
|
1141
|
+
*/
|
|
1142
|
+
include?: Prisma.NotificationChannelInclude<ExtArgs> | null;
|
|
1143
|
+
/**
|
|
1144
|
+
* Filter, which NotificationChannel to fetch.
|
|
1145
|
+
*/
|
|
1146
|
+
where: Prisma.NotificationChannelWhereUniqueInput;
|
|
1147
|
+
};
|
|
1148
|
+
/**
|
|
1149
|
+
* NotificationChannel findUniqueOrThrow
|
|
1150
|
+
*/
|
|
1151
|
+
export type NotificationChannelFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1152
|
+
/**
|
|
1153
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1154
|
+
*/
|
|
1155
|
+
select?: Prisma.NotificationChannelSelect<ExtArgs> | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* Omit specific fields from the NotificationChannel
|
|
1158
|
+
*/
|
|
1159
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1160
|
+
/**
|
|
1161
|
+
* Choose, which related nodes to fetch as well
|
|
1162
|
+
*/
|
|
1163
|
+
include?: Prisma.NotificationChannelInclude<ExtArgs> | null;
|
|
1164
|
+
/**
|
|
1165
|
+
* Filter, which NotificationChannel to fetch.
|
|
1166
|
+
*/
|
|
1167
|
+
where: Prisma.NotificationChannelWhereUniqueInput;
|
|
1168
|
+
};
|
|
1169
|
+
/**
|
|
1170
|
+
* NotificationChannel findFirst
|
|
1171
|
+
*/
|
|
1172
|
+
export type NotificationChannelFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1173
|
+
/**
|
|
1174
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1175
|
+
*/
|
|
1176
|
+
select?: Prisma.NotificationChannelSelect<ExtArgs> | null;
|
|
1177
|
+
/**
|
|
1178
|
+
* Omit specific fields from the NotificationChannel
|
|
1179
|
+
*/
|
|
1180
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1181
|
+
/**
|
|
1182
|
+
* Choose, which related nodes to fetch as well
|
|
1183
|
+
*/
|
|
1184
|
+
include?: Prisma.NotificationChannelInclude<ExtArgs> | null;
|
|
1185
|
+
/**
|
|
1186
|
+
* Filter, which NotificationChannel to fetch.
|
|
1187
|
+
*/
|
|
1188
|
+
where?: Prisma.NotificationChannelWhereInput;
|
|
1189
|
+
/**
|
|
1190
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1191
|
+
*
|
|
1192
|
+
* Determine the order of NotificationChannels to fetch.
|
|
1193
|
+
*/
|
|
1194
|
+
orderBy?: Prisma.NotificationChannelOrderByWithRelationInput | Prisma.NotificationChannelOrderByWithRelationInput[];
|
|
1195
|
+
/**
|
|
1196
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1197
|
+
*
|
|
1198
|
+
* Sets the position for searching for NotificationChannels.
|
|
1199
|
+
*/
|
|
1200
|
+
cursor?: Prisma.NotificationChannelWhereUniqueInput;
|
|
1201
|
+
/**
|
|
1202
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1203
|
+
*
|
|
1204
|
+
* Take `±n` NotificationChannels from the position of the cursor.
|
|
1205
|
+
*/
|
|
1206
|
+
take?: number;
|
|
1207
|
+
/**
|
|
1208
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1209
|
+
*
|
|
1210
|
+
* Skip the first `n` NotificationChannels.
|
|
1211
|
+
*/
|
|
1212
|
+
skip?: number;
|
|
1213
|
+
/**
|
|
1214
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1215
|
+
*
|
|
1216
|
+
* Filter by unique combinations of NotificationChannels.
|
|
1217
|
+
*/
|
|
1218
|
+
distinct?: Prisma.NotificationChannelScalarFieldEnum | Prisma.NotificationChannelScalarFieldEnum[];
|
|
1219
|
+
};
|
|
1220
|
+
/**
|
|
1221
|
+
* NotificationChannel findFirstOrThrow
|
|
1222
|
+
*/
|
|
1223
|
+
export type NotificationChannelFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1224
|
+
/**
|
|
1225
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1226
|
+
*/
|
|
1227
|
+
select?: Prisma.NotificationChannelSelect<ExtArgs> | null;
|
|
1228
|
+
/**
|
|
1229
|
+
* Omit specific fields from the NotificationChannel
|
|
1230
|
+
*/
|
|
1231
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1232
|
+
/**
|
|
1233
|
+
* Choose, which related nodes to fetch as well
|
|
1234
|
+
*/
|
|
1235
|
+
include?: Prisma.NotificationChannelInclude<ExtArgs> | null;
|
|
1236
|
+
/**
|
|
1237
|
+
* Filter, which NotificationChannel to fetch.
|
|
1238
|
+
*/
|
|
1239
|
+
where?: Prisma.NotificationChannelWhereInput;
|
|
1240
|
+
/**
|
|
1241
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1242
|
+
*
|
|
1243
|
+
* Determine the order of NotificationChannels to fetch.
|
|
1244
|
+
*/
|
|
1245
|
+
orderBy?: Prisma.NotificationChannelOrderByWithRelationInput | Prisma.NotificationChannelOrderByWithRelationInput[];
|
|
1246
|
+
/**
|
|
1247
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1248
|
+
*
|
|
1249
|
+
* Sets the position for searching for NotificationChannels.
|
|
1250
|
+
*/
|
|
1251
|
+
cursor?: Prisma.NotificationChannelWhereUniqueInput;
|
|
1252
|
+
/**
|
|
1253
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1254
|
+
*
|
|
1255
|
+
* Take `±n` NotificationChannels from the position of the cursor.
|
|
1256
|
+
*/
|
|
1257
|
+
take?: number;
|
|
1258
|
+
/**
|
|
1259
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1260
|
+
*
|
|
1261
|
+
* Skip the first `n` NotificationChannels.
|
|
1262
|
+
*/
|
|
1263
|
+
skip?: number;
|
|
1264
|
+
/**
|
|
1265
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1266
|
+
*
|
|
1267
|
+
* Filter by unique combinations of NotificationChannels.
|
|
1268
|
+
*/
|
|
1269
|
+
distinct?: Prisma.NotificationChannelScalarFieldEnum | Prisma.NotificationChannelScalarFieldEnum[];
|
|
1270
|
+
};
|
|
1271
|
+
/**
|
|
1272
|
+
* NotificationChannel findMany
|
|
1273
|
+
*/
|
|
1274
|
+
export type NotificationChannelFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1275
|
+
/**
|
|
1276
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1277
|
+
*/
|
|
1278
|
+
select?: Prisma.NotificationChannelSelect<ExtArgs> | null;
|
|
1279
|
+
/**
|
|
1280
|
+
* Omit specific fields from the NotificationChannel
|
|
1281
|
+
*/
|
|
1282
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1283
|
+
/**
|
|
1284
|
+
* Choose, which related nodes to fetch as well
|
|
1285
|
+
*/
|
|
1286
|
+
include?: Prisma.NotificationChannelInclude<ExtArgs> | null;
|
|
1287
|
+
/**
|
|
1288
|
+
* Filter, which NotificationChannels to fetch.
|
|
1289
|
+
*/
|
|
1290
|
+
where?: Prisma.NotificationChannelWhereInput;
|
|
1291
|
+
/**
|
|
1292
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1293
|
+
*
|
|
1294
|
+
* Determine the order of NotificationChannels to fetch.
|
|
1295
|
+
*/
|
|
1296
|
+
orderBy?: Prisma.NotificationChannelOrderByWithRelationInput | Prisma.NotificationChannelOrderByWithRelationInput[];
|
|
1297
|
+
/**
|
|
1298
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1299
|
+
*
|
|
1300
|
+
* Sets the position for listing NotificationChannels.
|
|
1301
|
+
*/
|
|
1302
|
+
cursor?: Prisma.NotificationChannelWhereUniqueInput;
|
|
1303
|
+
/**
|
|
1304
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1305
|
+
*
|
|
1306
|
+
* Take `±n` NotificationChannels from the position of the cursor.
|
|
1307
|
+
*/
|
|
1308
|
+
take?: number;
|
|
1309
|
+
/**
|
|
1310
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1311
|
+
*
|
|
1312
|
+
* Skip the first `n` NotificationChannels.
|
|
1313
|
+
*/
|
|
1314
|
+
skip?: number;
|
|
1315
|
+
/**
|
|
1316
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1317
|
+
*
|
|
1318
|
+
* Filter by unique combinations of NotificationChannels.
|
|
1319
|
+
*/
|
|
1320
|
+
distinct?: Prisma.NotificationChannelScalarFieldEnum | Prisma.NotificationChannelScalarFieldEnum[];
|
|
1321
|
+
};
|
|
1322
|
+
/**
|
|
1323
|
+
* NotificationChannel create
|
|
1324
|
+
*/
|
|
1325
|
+
export type NotificationChannelCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1326
|
+
/**
|
|
1327
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1328
|
+
*/
|
|
1329
|
+
select?: Prisma.NotificationChannelSelect<ExtArgs> | null;
|
|
1330
|
+
/**
|
|
1331
|
+
* Omit specific fields from the NotificationChannel
|
|
1332
|
+
*/
|
|
1333
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1334
|
+
/**
|
|
1335
|
+
* Choose, which related nodes to fetch as well
|
|
1336
|
+
*/
|
|
1337
|
+
include?: Prisma.NotificationChannelInclude<ExtArgs> | null;
|
|
1338
|
+
/**
|
|
1339
|
+
* The data needed to create a NotificationChannel.
|
|
1340
|
+
*/
|
|
1341
|
+
data: Prisma.XOR<Prisma.NotificationChannelCreateInput, Prisma.NotificationChannelUncheckedCreateInput>;
|
|
1342
|
+
};
|
|
1343
|
+
/**
|
|
1344
|
+
* NotificationChannel createMany
|
|
1345
|
+
*/
|
|
1346
|
+
export type NotificationChannelCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1347
|
+
/**
|
|
1348
|
+
* The data used to create many NotificationChannels.
|
|
1349
|
+
*/
|
|
1350
|
+
data: Prisma.NotificationChannelCreateManyInput | Prisma.NotificationChannelCreateManyInput[];
|
|
1351
|
+
skipDuplicates?: boolean;
|
|
1352
|
+
};
|
|
1353
|
+
/**
|
|
1354
|
+
* NotificationChannel createManyAndReturn
|
|
1355
|
+
*/
|
|
1356
|
+
export type NotificationChannelCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1357
|
+
/**
|
|
1358
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1359
|
+
*/
|
|
1360
|
+
select?: Prisma.NotificationChannelSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1361
|
+
/**
|
|
1362
|
+
* Omit specific fields from the NotificationChannel
|
|
1363
|
+
*/
|
|
1364
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1365
|
+
/**
|
|
1366
|
+
* The data used to create many NotificationChannels.
|
|
1367
|
+
*/
|
|
1368
|
+
data: Prisma.NotificationChannelCreateManyInput | Prisma.NotificationChannelCreateManyInput[];
|
|
1369
|
+
skipDuplicates?: boolean;
|
|
1370
|
+
/**
|
|
1371
|
+
* Choose, which related nodes to fetch as well
|
|
1372
|
+
*/
|
|
1373
|
+
include?: Prisma.NotificationChannelIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1374
|
+
};
|
|
1375
|
+
/**
|
|
1376
|
+
* NotificationChannel update
|
|
1377
|
+
*/
|
|
1378
|
+
export type NotificationChannelUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1379
|
+
/**
|
|
1380
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1381
|
+
*/
|
|
1382
|
+
select?: Prisma.NotificationChannelSelect<ExtArgs> | null;
|
|
1383
|
+
/**
|
|
1384
|
+
* Omit specific fields from the NotificationChannel
|
|
1385
|
+
*/
|
|
1386
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1387
|
+
/**
|
|
1388
|
+
* Choose, which related nodes to fetch as well
|
|
1389
|
+
*/
|
|
1390
|
+
include?: Prisma.NotificationChannelInclude<ExtArgs> | null;
|
|
1391
|
+
/**
|
|
1392
|
+
* The data needed to update a NotificationChannel.
|
|
1393
|
+
*/
|
|
1394
|
+
data: Prisma.XOR<Prisma.NotificationChannelUpdateInput, Prisma.NotificationChannelUncheckedUpdateInput>;
|
|
1395
|
+
/**
|
|
1396
|
+
* Choose, which NotificationChannel to update.
|
|
1397
|
+
*/
|
|
1398
|
+
where: Prisma.NotificationChannelWhereUniqueInput;
|
|
1399
|
+
};
|
|
1400
|
+
/**
|
|
1401
|
+
* NotificationChannel updateMany
|
|
1402
|
+
*/
|
|
1403
|
+
export type NotificationChannelUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1404
|
+
/**
|
|
1405
|
+
* The data used to update NotificationChannels.
|
|
1406
|
+
*/
|
|
1407
|
+
data: Prisma.XOR<Prisma.NotificationChannelUpdateManyMutationInput, Prisma.NotificationChannelUncheckedUpdateManyInput>;
|
|
1408
|
+
/**
|
|
1409
|
+
* Filter which NotificationChannels to update
|
|
1410
|
+
*/
|
|
1411
|
+
where?: Prisma.NotificationChannelWhereInput;
|
|
1412
|
+
/**
|
|
1413
|
+
* Limit how many NotificationChannels to update.
|
|
1414
|
+
*/
|
|
1415
|
+
limit?: number;
|
|
1416
|
+
};
|
|
1417
|
+
/**
|
|
1418
|
+
* NotificationChannel updateManyAndReturn
|
|
1419
|
+
*/
|
|
1420
|
+
export type NotificationChannelUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1421
|
+
/**
|
|
1422
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1423
|
+
*/
|
|
1424
|
+
select?: Prisma.NotificationChannelSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1425
|
+
/**
|
|
1426
|
+
* Omit specific fields from the NotificationChannel
|
|
1427
|
+
*/
|
|
1428
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1429
|
+
/**
|
|
1430
|
+
* The data used to update NotificationChannels.
|
|
1431
|
+
*/
|
|
1432
|
+
data: Prisma.XOR<Prisma.NotificationChannelUpdateManyMutationInput, Prisma.NotificationChannelUncheckedUpdateManyInput>;
|
|
1433
|
+
/**
|
|
1434
|
+
* Filter which NotificationChannels to update
|
|
1435
|
+
*/
|
|
1436
|
+
where?: Prisma.NotificationChannelWhereInput;
|
|
1437
|
+
/**
|
|
1438
|
+
* Limit how many NotificationChannels to update.
|
|
1439
|
+
*/
|
|
1440
|
+
limit?: number;
|
|
1441
|
+
/**
|
|
1442
|
+
* Choose, which related nodes to fetch as well
|
|
1443
|
+
*/
|
|
1444
|
+
include?: Prisma.NotificationChannelIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1445
|
+
};
|
|
1446
|
+
/**
|
|
1447
|
+
* NotificationChannel upsert
|
|
1448
|
+
*/
|
|
1449
|
+
export type NotificationChannelUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1450
|
+
/**
|
|
1451
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1452
|
+
*/
|
|
1453
|
+
select?: Prisma.NotificationChannelSelect<ExtArgs> | null;
|
|
1454
|
+
/**
|
|
1455
|
+
* Omit specific fields from the NotificationChannel
|
|
1456
|
+
*/
|
|
1457
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1458
|
+
/**
|
|
1459
|
+
* Choose, which related nodes to fetch as well
|
|
1460
|
+
*/
|
|
1461
|
+
include?: Prisma.NotificationChannelInclude<ExtArgs> | null;
|
|
1462
|
+
/**
|
|
1463
|
+
* The filter to search for the NotificationChannel to update in case it exists.
|
|
1464
|
+
*/
|
|
1465
|
+
where: Prisma.NotificationChannelWhereUniqueInput;
|
|
1466
|
+
/**
|
|
1467
|
+
* In case the NotificationChannel found by the `where` argument doesn't exist, create a new NotificationChannel with this data.
|
|
1468
|
+
*/
|
|
1469
|
+
create: Prisma.XOR<Prisma.NotificationChannelCreateInput, Prisma.NotificationChannelUncheckedCreateInput>;
|
|
1470
|
+
/**
|
|
1471
|
+
* In case the NotificationChannel was found with the provided `where` argument, update it with this data.
|
|
1472
|
+
*/
|
|
1473
|
+
update: Prisma.XOR<Prisma.NotificationChannelUpdateInput, Prisma.NotificationChannelUncheckedUpdateInput>;
|
|
1474
|
+
};
|
|
1475
|
+
/**
|
|
1476
|
+
* NotificationChannel delete
|
|
1477
|
+
*/
|
|
1478
|
+
export type NotificationChannelDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1479
|
+
/**
|
|
1480
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1481
|
+
*/
|
|
1482
|
+
select?: Prisma.NotificationChannelSelect<ExtArgs> | null;
|
|
1483
|
+
/**
|
|
1484
|
+
* Omit specific fields from the NotificationChannel
|
|
1485
|
+
*/
|
|
1486
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1487
|
+
/**
|
|
1488
|
+
* Choose, which related nodes to fetch as well
|
|
1489
|
+
*/
|
|
1490
|
+
include?: Prisma.NotificationChannelInclude<ExtArgs> | null;
|
|
1491
|
+
/**
|
|
1492
|
+
* Filter which NotificationChannel to delete.
|
|
1493
|
+
*/
|
|
1494
|
+
where: Prisma.NotificationChannelWhereUniqueInput;
|
|
1495
|
+
};
|
|
1496
|
+
/**
|
|
1497
|
+
* NotificationChannel deleteMany
|
|
1498
|
+
*/
|
|
1499
|
+
export type NotificationChannelDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1500
|
+
/**
|
|
1501
|
+
* Filter which NotificationChannels to delete
|
|
1502
|
+
*/
|
|
1503
|
+
where?: Prisma.NotificationChannelWhereInput;
|
|
1504
|
+
/**
|
|
1505
|
+
* Limit how many NotificationChannels to delete.
|
|
1506
|
+
*/
|
|
1507
|
+
limit?: number;
|
|
1508
|
+
};
|
|
1509
|
+
/**
|
|
1510
|
+
* NotificationChannel.agent
|
|
1511
|
+
*/
|
|
1512
|
+
export type NotificationChannel$agentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1513
|
+
/**
|
|
1514
|
+
* Select specific fields to fetch from the Agent
|
|
1515
|
+
*/
|
|
1516
|
+
select?: Prisma.AgentSelect<ExtArgs> | null;
|
|
1517
|
+
/**
|
|
1518
|
+
* Omit specific fields from the Agent
|
|
1519
|
+
*/
|
|
1520
|
+
omit?: Prisma.AgentOmit<ExtArgs> | null;
|
|
1521
|
+
/**
|
|
1522
|
+
* Choose, which related nodes to fetch as well
|
|
1523
|
+
*/
|
|
1524
|
+
include?: Prisma.AgentInclude<ExtArgs> | null;
|
|
1525
|
+
where?: Prisma.AgentWhereInput;
|
|
1526
|
+
};
|
|
1527
|
+
/**
|
|
1528
|
+
* NotificationChannel without action
|
|
1529
|
+
*/
|
|
1530
|
+
export type NotificationChannelDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1531
|
+
/**
|
|
1532
|
+
* Select specific fields to fetch from the NotificationChannel
|
|
1533
|
+
*/
|
|
1534
|
+
select?: Prisma.NotificationChannelSelect<ExtArgs> | null;
|
|
1535
|
+
/**
|
|
1536
|
+
* Omit specific fields from the NotificationChannel
|
|
1537
|
+
*/
|
|
1538
|
+
omit?: Prisma.NotificationChannelOmit<ExtArgs> | null;
|
|
1539
|
+
/**
|
|
1540
|
+
* Choose, which related nodes to fetch as well
|
|
1541
|
+
*/
|
|
1542
|
+
include?: Prisma.NotificationChannelInclude<ExtArgs> | null;
|
|
1543
|
+
};
|