@wardby/cli 0.5.2 → 0.6.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/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 +7 -1
- package/dist/claude-coding-worker/driver.js +38 -5
- package/dist/claude-coding-worker/sdk.js +13 -4
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +5 -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 +141 -5
- package/dist/coding/claude-context.d.ts +45 -0
- package/dist/coding/claude-context.js +434 -0
- package/dist/coding/local-git.js +9 -1
- package/dist/coding/profile.d.ts +12 -0
- package/dist/coding/profile.js +6 -0
- package/dist/coding/protocol.d.ts +104 -0
- package/dist/coding/protocol.js +87 -3
- package/dist/coding/registry/pypi.d.ts +25 -1
- package/dist/coding/registry/pypi.js +140 -16
- package/dist/coding/registry/types.d.ts +17 -3
- package/dist/coding-worker/artifact.d.ts +8 -0
- package/dist/coding-worker/artifact.js +2 -2
- package/dist/coding-worker/driver.js +2 -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/types.d.ts +2 -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 +56 -2
- package/dist/config/providers.js +92 -6
- package/dist/core/db.d.ts +16 -6
- package/dist/core/db.js +12 -10
- package/dist/core/dispatch.d.ts +11 -0
- package/dist/core/dispatch.js +36 -1
- package/dist/core/engine-native.js +9 -5
- package/dist/core/host-events.d.ts +49 -3
- package/dist/core/host-events.js +289 -15
- package/dist/core/http-runtime.js +13 -6
- package/dist/core/issue-bridge.js +42 -2
- package/dist/core/issue-events.js +12 -1
- package/dist/core/issue-status.js +14 -3
- package/dist/core/merge-order-check.d.ts +129 -0
- package/dist/core/merge-order-check.js +336 -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 +25 -0
- package/dist/core/notification-templates.js +105 -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/reconciler.d.ts +4 -2
- package/dist/core/reconciler.js +29 -5
- package/dist/core/related-pull-requests.d.ts +48 -4
- package/dist/core/related-pull-requests.js +113 -11
- package/dist/core/repo-access.d.ts +15 -0
- package/dist/core/repo-access.js +66 -0
- package/dist/core/review-fix.d.ts +37 -0
- package/dist/core/review-fix.js +207 -6
- package/dist/core/review-host-tools.d.ts +20 -0
- package/dist/core/review-host-tools.js +58 -2
- package/dist/core/runner.d.ts +336 -3
- package/dist/core/runner.js +894 -317
- package/dist/core/secret-broker-config.d.ts +103 -0
- package/dist/core/secret-broker-config.js +112 -0
- package/dist/core/secrets.d.ts +39 -4
- package/dist/core/secrets.js +148 -40
- 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 +82 -0
- package/dist/core/workflow-events.js +44 -0
- package/dist/core/workflow-run-events.d.ts +16 -0
- package/dist/core/workflow-run-events.js +40 -0
- package/dist/generated/prisma/browser.d.ts +58 -0
- package/dist/generated/prisma/client.d.ts +58 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +150 -0
- package/dist/generated/prisma/enums.d.ts +27 -0
- package/dist/generated/prisma/enums.js +23 -0
- package/dist/generated/prisma/internal/class.d.ts +88 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +772 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +135 -4
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +139 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +135 -4
- package/dist/generated/prisma/models/Agent.d.ts +360 -1
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +73 -1
- package/dist/generated/prisma/models/CodingRun.d.ts +205 -1
- package/dist/generated/prisma/models/DeferredReview.d.ts +78 -1
- package/dist/generated/prisma/models/NativeGatewayCall.d.ts +1675 -0
- package/dist/generated/prisma/models/NativeGatewayCall.js +1 -0
- package/dist/generated/prisma/models/NativeGatewaySession.d.ts +1517 -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/Run.d.ts +826 -1
- package/dist/generated/prisma/models/RunHostCheck.d.ts +36 -1
- 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 +8 -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 +1492 -113
- package/dist/import/create.js +17 -0
- package/dist/import/neutral-schema.d.ts +6 -2
- package/dist/import/neutral-schema.js +2 -0
- package/dist/mcp/auth/access.d.ts +1 -0
- package/dist/mcp/auth/ownership.d.ts +1 -1
- 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/context.d.ts +6 -0
- package/dist/mcp/host-events/github-ingress.d.ts +23 -1
- package/dist/mcp/host-events/github-ingress.js +68 -0
- package/dist/mcp/index.d.ts +13 -0
- package/dist/mcp/index.js +59 -10
- package/dist/mcp/tools/agents.js +83 -12
- package/dist/mcp/tools/notification-channels.d.ts +2 -0
- package/dist/mcp/tools/notification-channels.js +293 -0
- package/dist/mcp/tools/power.d.ts +2 -0
- package/dist/mcp/tools/power.js +77 -0
- package/dist/mcp/tools/runs.d.ts +0 -6
- package/dist/mcp/tools/runs.js +7 -2
- 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 +200 -10
- package/dist/mcp/tools/secret-elicitation-server.js +8 -1
- 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 +184 -7
- package/dist/mcp/tools/tools.d.ts +1 -1
- package/dist/mcp/tools/tools.js +22 -2
- 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 +74 -0
- package/dist/native-worker/docker-launcher.js +237 -0
- package/dist/native-worker/gateway-server.d.ts +39 -0
- package/dist/native-worker/gateway-server.js +315 -0
- package/dist/native-worker/gateway.d.ts +44 -0
- package/dist/native-worker/gateway.js +197 -0
- package/dist/native-worker/http-server.d.ts +22 -0
- package/dist/native-worker/http-server.js +109 -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 +102 -0
- package/dist/native-worker/kubernetes-launcher.js +335 -0
- package/dist/native-worker/launch.d.ts +45 -0
- package/dist/native-worker/launch.js +44 -0
- package/dist/native-worker/ledger.d.ts +109 -0
- package/dist/native-worker/ledger.js +192 -0
- package/dist/native-worker/loopback.d.ts +12 -0
- package/dist/native-worker/loopback.js +49 -0
- package/dist/native-worker/main.d.ts +7 -0
- package/dist/native-worker/main.js +74 -0
- package/dist/native-worker/protocol.d.ts +744 -0
- package/dist/native-worker/protocol.js +200 -0
- package/dist/native-worker/sandbox-executor.d.ts +68 -0
- package/dist/native-worker/sandbox-executor.js +210 -0
- package/dist/native-worker/stdio.d.ts +29 -0
- package/dist/native-worker/stdio.js +188 -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 +115 -0
- 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 +13 -1
- 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/mock-upstream.d.ts +33 -0
- package/dist/providers/coding-proxy/mock-upstream.js +116 -0
- package/dist/providers/coding-proxy/registry/prisma-store.d.ts +3 -0
- package/dist/providers/coding-proxy/registry/prisma-store.js +17 -0
- package/dist/providers/coding-proxy/registry/service.d.ts +4 -0
- package/dist/providers/coding-proxy/registry/service.js +20 -3
- package/dist/providers/coding-proxy/registry/store.d.ts +18 -1
- package/dist/providers/coding-proxy/registry/store.js +33 -0
- package/dist/providers/coding-proxy/runtime.js +12 -1
- package/dist/providers/coding-proxy/types.d.ts +2 -0
- package/dist/providers/engine/types.d.ts +19 -0
- package/dist/providers/engine/types.js +22 -0
- package/dist/providers/executor/composition.d.ts +24 -1
- package/dist/providers/executor/composition.js +39 -6
- package/dist/providers/executor/container.d.ts +24 -1
- package/dist/providers/executor/container.js +101 -11
- package/dist/providers/executor/dbos.d.ts +42 -0
- package/dist/providers/executor/dbos.js +118 -12
- package/dist/providers/executor/deferred.d.ts +56 -0
- package/dist/providers/executor/deferred.js +119 -0
- package/dist/providers/executor/routing.d.ts +37 -10
- package/dist/providers/executor/routing.js +73 -32
- package/dist/providers/executor/types.d.ts +12 -0
- package/dist/providers/jobs/docker.js +3 -3
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +21 -2
- package/dist/providers/jobs/fake-kubernetes-api.js +42 -1
- package/dist/providers/jobs/kubernetes-api.d.ts +17 -1
- package/dist/providers/jobs/kubernetes-api.js +7 -0
- package/dist/providers/jobs/kubernetes-client.d.ts +10 -1
- package/dist/providers/jobs/kubernetes-client.js +52 -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 +16 -1
- package/dist/providers/jobs/kubernetes-isolation.js +58 -5
- 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 +56 -7
- package/dist/providers/jobs/kubernetes.js +117 -36
- 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 +9 -0
- package/dist/providers/llm/openai.js +0 -1
- package/dist/providers/review-host/github.d.ts +11 -1
- package/dist/providers/review-host/github.js +50 -0
- package/dist/providers/review-host/types.d.ts +23 -0
- package/dist/providers/vcs/github.d.ts +32 -6
- package/dist/providers/vcs/github.js +74 -16
- package/dist/quickstart/coding-db.js +14 -2
- package/dist/quickstart/coding-doctor.d.ts +3 -0
- package/dist/quickstart/coding-doctor.js +3 -0
- package/dist/quickstart/coding-images.d.ts +9 -0
- package/dist/quickstart/coding-images.js +39 -0
- package/dist/quickstart/coding-seed.d.ts +20 -1
- package/dist/quickstart/coding-seed.js +96 -7
- package/dist/quickstart/coding.d.ts +2 -0
- package/dist/quickstart/coding.js +75 -3
- package/dist/quickstart/config.d.ts +2 -0
- package/dist/quickstart/config.js +4 -0
- package/dist/quickstart/images.d.ts +13 -0
- package/dist/quickstart/images.js +80 -12
- package/dist/quickstart/index.d.ts +0 -2
- package/dist/quickstart/index.js +10 -14
- package/dist/quickstart/manifests.d.ts +56 -0
- package/dist/quickstart/manifests.js +523 -0
- package/dist/quickstart/python-detect.d.ts +10 -0
- package/dist/quickstart/python-detect.js +32 -0
- package/dist/quickstart/repo-packages.d.ts +10 -0
- package/dist/quickstart/repo-packages.js +132 -0
- package/dist/quickstart/reviewer-prompt.d.ts +12 -0
- package/dist/quickstart/reviewer-prompt.js +84 -0
- package/dist/quickstart/scenarios.d.ts +19 -0
- package/dist/quickstart/scenarios.js +28 -0
- package/dist/quickstart/sync-reviewer-prompt.d.ts +1 -0
- package/dist/quickstart/sync-reviewer-prompt.js +10 -0
- 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/host-functions.d.ts +34 -0
- package/dist/sandbox/host-functions.js +144 -80
- 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 +162 -0
- package/dist/sandbox/user-tool.d.ts +14 -0
- package/dist/sandbox/user-tool.js +32 -0
- package/dist/serve.js +18 -0
- package/dist/viewer/api-schema.d.ts +214 -18
- package/dist/viewer/api-schema.js +22 -0
- package/dist/viewer/build-schemas.js +4 -1
- 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 +172 -0
- package/docs/README.md +7 -0
- package/docs/agent-recipes.md +57 -8
- package/docs/architecture-runtime.md +16 -1
- package/docs/code-review-agents.md +139 -5
- package/docs/coding-agent-setup.md +127 -2
- package/docs/coding-packages.md +105 -5
- package/docs/coding-services.md +3 -1
- package/docs/coding-worker-byo-images.md +239 -2
- package/docs/coding-worker-isolation.md +88 -23
- package/docs/getting-started-gke.md +225 -9
- package/docs/getting-started-identity-provider.md +21 -10
- package/docs/getting-started.md +140 -11
- package/docs/jira-agents.md +5 -1
- package/docs/knowledge.md +11 -0
- package/docs/native-sandbox.md +635 -0
- package/docs/release-verification.md +9 -0
- package/docs/security-deployment.md +113 -12
- package/docs/slack-notifications.md +252 -0
- package/docs/tool-secrets.md +252 -0
- package/docs/viewer-api.md +46 -5
- package/docs/viewer-api.openapi.yml +1404 -0
- package/help/admin-viewer.md +6 -2
- package/help/agent-recipes.md +27 -0
- package/help/architecture-agent.md +136 -0
- package/help/brokered-secrets.md +79 -0
- package/help/build-claude-code-image.md +131 -0
- package/help/build-worker-image.md +195 -0
- package/help/code-review-agents.md +68 -6
- package/help/coding-packages.md +31 -2
- package/help/creating-agents.md +14 -0
- package/help/deploy-gke.md +37 -6
- package/help/deployment-targets.md +24 -13
- package/help/errors/coding-provider-not-configured.md +2 -2
- package/help/errors/database-auth-invalid.md +28 -0
- package/help/errors/github-account-not-allowed.md +25 -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/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-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-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 +20 -0
- package/help/errors/native-sandbox-worker-lost.md +20 -0
- package/help/errors/native-sandbox-worker-unready.md +22 -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-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/getting-started.md +18 -0
- package/help/github.md +18 -1
- package/help/identity-and-access.md +5 -1
- package/help/local-repositories.md +35 -5
- package/help/low-power-mode.md +125 -0
- package/help/merge-order-check.md +117 -0
- package/help/mobile-app.md +54 -0
- package/help/native-sandbox.md +136 -0
- package/help/observability.md +8 -0
- package/help/related-pull-requests.md +70 -9
- package/help/repo-instructions-and-skills.md +91 -0
- package/help/review-fix-rounds.md +10 -0
- package/help/slack-notifications.md +62 -0
- package/help/troubleshooting/coding-workers.md +21 -0
- package/package.json +13 -5
- 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/schema.prisma +362 -91
|
@@ -0,0 +1,1675 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model NativeGatewayCall
|
|
6
|
+
* One worker call through the gateway, keyed by its callId: model calls are
|
|
7
|
+
* reserved before the provider is called and settled after; side-effecting
|
|
8
|
+
* built-in and bridge calls keep their result so a retried callId replays it;
|
|
9
|
+
* a delegation records the child run it started.
|
|
10
|
+
*/
|
|
11
|
+
export type NativeGatewayCallModel = runtime.Types.Result.DefaultSelection<Prisma.$NativeGatewayCallPayload>;
|
|
12
|
+
export type AggregateNativeGatewayCall = {
|
|
13
|
+
_count: NativeGatewayCallCountAggregateOutputType | null;
|
|
14
|
+
_avg: NativeGatewayCallAvgAggregateOutputType | null;
|
|
15
|
+
_sum: NativeGatewayCallSumAggregateOutputType | null;
|
|
16
|
+
_min: NativeGatewayCallMinAggregateOutputType | null;
|
|
17
|
+
_max: NativeGatewayCallMaxAggregateOutputType | null;
|
|
18
|
+
};
|
|
19
|
+
export type NativeGatewayCallAvgAggregateOutputType = {
|
|
20
|
+
reservationUsd: runtime.Decimal | null;
|
|
21
|
+
actualCostUsd: runtime.Decimal | null;
|
|
22
|
+
inputTokens: number | null;
|
|
23
|
+
outputTokens: number | null;
|
|
24
|
+
cachedInputTokens: number | null;
|
|
25
|
+
cacheWriteTokens: number | null;
|
|
26
|
+
};
|
|
27
|
+
export type NativeGatewayCallSumAggregateOutputType = {
|
|
28
|
+
reservationUsd: runtime.Decimal | null;
|
|
29
|
+
actualCostUsd: runtime.Decimal | null;
|
|
30
|
+
inputTokens: number | null;
|
|
31
|
+
outputTokens: number | null;
|
|
32
|
+
cachedInputTokens: number | null;
|
|
33
|
+
cacheWriteTokens: number | null;
|
|
34
|
+
};
|
|
35
|
+
export type NativeGatewayCallMinAggregateOutputType = {
|
|
36
|
+
id: string | null;
|
|
37
|
+
sessionId: string | null;
|
|
38
|
+
callId: string | null;
|
|
39
|
+
method: string | null;
|
|
40
|
+
status: $Enums.NativeGatewayCallStatus | null;
|
|
41
|
+
reservationUsd: runtime.Decimal | null;
|
|
42
|
+
actualCostUsd: runtime.Decimal | null;
|
|
43
|
+
inputTokens: number | null;
|
|
44
|
+
outputTokens: number | null;
|
|
45
|
+
cachedInputTokens: number | null;
|
|
46
|
+
cacheWriteTokens: number | null;
|
|
47
|
+
childRunId: string | null;
|
|
48
|
+
childAgentId: string | null;
|
|
49
|
+
createdAt: Date | null;
|
|
50
|
+
updatedAt: Date | null;
|
|
51
|
+
completedAt: Date | null;
|
|
52
|
+
};
|
|
53
|
+
export type NativeGatewayCallMaxAggregateOutputType = {
|
|
54
|
+
id: string | null;
|
|
55
|
+
sessionId: string | null;
|
|
56
|
+
callId: string | null;
|
|
57
|
+
method: string | null;
|
|
58
|
+
status: $Enums.NativeGatewayCallStatus | null;
|
|
59
|
+
reservationUsd: runtime.Decimal | null;
|
|
60
|
+
actualCostUsd: runtime.Decimal | null;
|
|
61
|
+
inputTokens: number | null;
|
|
62
|
+
outputTokens: number | null;
|
|
63
|
+
cachedInputTokens: number | null;
|
|
64
|
+
cacheWriteTokens: number | null;
|
|
65
|
+
childRunId: string | null;
|
|
66
|
+
childAgentId: string | null;
|
|
67
|
+
createdAt: Date | null;
|
|
68
|
+
updatedAt: Date | null;
|
|
69
|
+
completedAt: Date | null;
|
|
70
|
+
};
|
|
71
|
+
export type NativeGatewayCallCountAggregateOutputType = {
|
|
72
|
+
id: number;
|
|
73
|
+
sessionId: number;
|
|
74
|
+
callId: number;
|
|
75
|
+
method: number;
|
|
76
|
+
status: number;
|
|
77
|
+
reservationUsd: number;
|
|
78
|
+
actualCostUsd: number;
|
|
79
|
+
inputTokens: number;
|
|
80
|
+
outputTokens: number;
|
|
81
|
+
cachedInputTokens: number;
|
|
82
|
+
cacheWriteTokens: number;
|
|
83
|
+
result: number;
|
|
84
|
+
childRunId: number;
|
|
85
|
+
childAgentId: number;
|
|
86
|
+
createdAt: number;
|
|
87
|
+
updatedAt: number;
|
|
88
|
+
completedAt: number;
|
|
89
|
+
_all: number;
|
|
90
|
+
};
|
|
91
|
+
export type NativeGatewayCallAvgAggregateInputType = {
|
|
92
|
+
reservationUsd?: true;
|
|
93
|
+
actualCostUsd?: true;
|
|
94
|
+
inputTokens?: true;
|
|
95
|
+
outputTokens?: true;
|
|
96
|
+
cachedInputTokens?: true;
|
|
97
|
+
cacheWriteTokens?: true;
|
|
98
|
+
};
|
|
99
|
+
export type NativeGatewayCallSumAggregateInputType = {
|
|
100
|
+
reservationUsd?: true;
|
|
101
|
+
actualCostUsd?: true;
|
|
102
|
+
inputTokens?: true;
|
|
103
|
+
outputTokens?: true;
|
|
104
|
+
cachedInputTokens?: true;
|
|
105
|
+
cacheWriteTokens?: true;
|
|
106
|
+
};
|
|
107
|
+
export type NativeGatewayCallMinAggregateInputType = {
|
|
108
|
+
id?: true;
|
|
109
|
+
sessionId?: true;
|
|
110
|
+
callId?: true;
|
|
111
|
+
method?: true;
|
|
112
|
+
status?: true;
|
|
113
|
+
reservationUsd?: true;
|
|
114
|
+
actualCostUsd?: true;
|
|
115
|
+
inputTokens?: true;
|
|
116
|
+
outputTokens?: true;
|
|
117
|
+
cachedInputTokens?: true;
|
|
118
|
+
cacheWriteTokens?: true;
|
|
119
|
+
childRunId?: true;
|
|
120
|
+
childAgentId?: true;
|
|
121
|
+
createdAt?: true;
|
|
122
|
+
updatedAt?: true;
|
|
123
|
+
completedAt?: true;
|
|
124
|
+
};
|
|
125
|
+
export type NativeGatewayCallMaxAggregateInputType = {
|
|
126
|
+
id?: true;
|
|
127
|
+
sessionId?: true;
|
|
128
|
+
callId?: true;
|
|
129
|
+
method?: true;
|
|
130
|
+
status?: true;
|
|
131
|
+
reservationUsd?: true;
|
|
132
|
+
actualCostUsd?: true;
|
|
133
|
+
inputTokens?: true;
|
|
134
|
+
outputTokens?: true;
|
|
135
|
+
cachedInputTokens?: true;
|
|
136
|
+
cacheWriteTokens?: true;
|
|
137
|
+
childRunId?: true;
|
|
138
|
+
childAgentId?: true;
|
|
139
|
+
createdAt?: true;
|
|
140
|
+
updatedAt?: true;
|
|
141
|
+
completedAt?: true;
|
|
142
|
+
};
|
|
143
|
+
export type NativeGatewayCallCountAggregateInputType = {
|
|
144
|
+
id?: true;
|
|
145
|
+
sessionId?: true;
|
|
146
|
+
callId?: true;
|
|
147
|
+
method?: true;
|
|
148
|
+
status?: true;
|
|
149
|
+
reservationUsd?: true;
|
|
150
|
+
actualCostUsd?: true;
|
|
151
|
+
inputTokens?: true;
|
|
152
|
+
outputTokens?: true;
|
|
153
|
+
cachedInputTokens?: true;
|
|
154
|
+
cacheWriteTokens?: true;
|
|
155
|
+
result?: true;
|
|
156
|
+
childRunId?: true;
|
|
157
|
+
childAgentId?: true;
|
|
158
|
+
createdAt?: true;
|
|
159
|
+
updatedAt?: true;
|
|
160
|
+
completedAt?: true;
|
|
161
|
+
_all?: true;
|
|
162
|
+
};
|
|
163
|
+
export type NativeGatewayCallAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
164
|
+
/**
|
|
165
|
+
* Filter which NativeGatewayCall to aggregate.
|
|
166
|
+
*/
|
|
167
|
+
where?: Prisma.NativeGatewayCallWhereInput;
|
|
168
|
+
/**
|
|
169
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
170
|
+
*
|
|
171
|
+
* Determine the order of NativeGatewayCalls to fetch.
|
|
172
|
+
*/
|
|
173
|
+
orderBy?: Prisma.NativeGatewayCallOrderByWithRelationInput | Prisma.NativeGatewayCallOrderByWithRelationInput[];
|
|
174
|
+
/**
|
|
175
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
176
|
+
*
|
|
177
|
+
* Sets the start position
|
|
178
|
+
*/
|
|
179
|
+
cursor?: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
180
|
+
/**
|
|
181
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
182
|
+
*
|
|
183
|
+
* Take `±n` NativeGatewayCalls from the position of the cursor.
|
|
184
|
+
*/
|
|
185
|
+
take?: number;
|
|
186
|
+
/**
|
|
187
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
188
|
+
*
|
|
189
|
+
* Skip the first `n` NativeGatewayCalls.
|
|
190
|
+
*/
|
|
191
|
+
skip?: number;
|
|
192
|
+
/**
|
|
193
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
194
|
+
*
|
|
195
|
+
* Count returned NativeGatewayCalls
|
|
196
|
+
**/
|
|
197
|
+
_count?: true | NativeGatewayCallCountAggregateInputType;
|
|
198
|
+
/**
|
|
199
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
200
|
+
*
|
|
201
|
+
* Select which fields to average
|
|
202
|
+
**/
|
|
203
|
+
_avg?: NativeGatewayCallAvgAggregateInputType;
|
|
204
|
+
/**
|
|
205
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
206
|
+
*
|
|
207
|
+
* Select which fields to sum
|
|
208
|
+
**/
|
|
209
|
+
_sum?: NativeGatewayCallSumAggregateInputType;
|
|
210
|
+
/**
|
|
211
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
212
|
+
*
|
|
213
|
+
* Select which fields to find the minimum value
|
|
214
|
+
**/
|
|
215
|
+
_min?: NativeGatewayCallMinAggregateInputType;
|
|
216
|
+
/**
|
|
217
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
218
|
+
*
|
|
219
|
+
* Select which fields to find the maximum value
|
|
220
|
+
**/
|
|
221
|
+
_max?: NativeGatewayCallMaxAggregateInputType;
|
|
222
|
+
};
|
|
223
|
+
export type GetNativeGatewayCallAggregateType<T extends NativeGatewayCallAggregateArgs> = {
|
|
224
|
+
[P in keyof T & keyof AggregateNativeGatewayCall]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateNativeGatewayCall[P]> : Prisma.GetScalarType<T[P], AggregateNativeGatewayCall[P]>;
|
|
225
|
+
};
|
|
226
|
+
export type NativeGatewayCallGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
227
|
+
where?: Prisma.NativeGatewayCallWhereInput;
|
|
228
|
+
orderBy?: Prisma.NativeGatewayCallOrderByWithAggregationInput | Prisma.NativeGatewayCallOrderByWithAggregationInput[];
|
|
229
|
+
by: Prisma.NativeGatewayCallScalarFieldEnum[] | Prisma.NativeGatewayCallScalarFieldEnum;
|
|
230
|
+
having?: Prisma.NativeGatewayCallScalarWhereWithAggregatesInput;
|
|
231
|
+
take?: number;
|
|
232
|
+
skip?: number;
|
|
233
|
+
_count?: NativeGatewayCallCountAggregateInputType | true;
|
|
234
|
+
_avg?: NativeGatewayCallAvgAggregateInputType;
|
|
235
|
+
_sum?: NativeGatewayCallSumAggregateInputType;
|
|
236
|
+
_min?: NativeGatewayCallMinAggregateInputType;
|
|
237
|
+
_max?: NativeGatewayCallMaxAggregateInputType;
|
|
238
|
+
};
|
|
239
|
+
export type NativeGatewayCallGroupByOutputType = {
|
|
240
|
+
id: string;
|
|
241
|
+
sessionId: string;
|
|
242
|
+
callId: string;
|
|
243
|
+
method: string;
|
|
244
|
+
status: $Enums.NativeGatewayCallStatus;
|
|
245
|
+
reservationUsd: runtime.Decimal | null;
|
|
246
|
+
actualCostUsd: runtime.Decimal | null;
|
|
247
|
+
inputTokens: number | null;
|
|
248
|
+
outputTokens: number | null;
|
|
249
|
+
cachedInputTokens: number | null;
|
|
250
|
+
cacheWriteTokens: number | null;
|
|
251
|
+
result: runtime.JsonValue | null;
|
|
252
|
+
childRunId: string | null;
|
|
253
|
+
childAgentId: string | null;
|
|
254
|
+
createdAt: Date;
|
|
255
|
+
updatedAt: Date;
|
|
256
|
+
completedAt: Date | null;
|
|
257
|
+
_count: NativeGatewayCallCountAggregateOutputType | null;
|
|
258
|
+
_avg: NativeGatewayCallAvgAggregateOutputType | null;
|
|
259
|
+
_sum: NativeGatewayCallSumAggregateOutputType | null;
|
|
260
|
+
_min: NativeGatewayCallMinAggregateOutputType | null;
|
|
261
|
+
_max: NativeGatewayCallMaxAggregateOutputType | null;
|
|
262
|
+
};
|
|
263
|
+
export type GetNativeGatewayCallGroupByPayload<T extends NativeGatewayCallGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<NativeGatewayCallGroupByOutputType, T['by']> & {
|
|
264
|
+
[P in ((keyof T) & (keyof NativeGatewayCallGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], NativeGatewayCallGroupByOutputType[P]> : Prisma.GetScalarType<T[P], NativeGatewayCallGroupByOutputType[P]>;
|
|
265
|
+
}>>;
|
|
266
|
+
export type NativeGatewayCallWhereInput = {
|
|
267
|
+
AND?: Prisma.NativeGatewayCallWhereInput | Prisma.NativeGatewayCallWhereInput[];
|
|
268
|
+
OR?: Prisma.NativeGatewayCallWhereInput[];
|
|
269
|
+
NOT?: Prisma.NativeGatewayCallWhereInput | Prisma.NativeGatewayCallWhereInput[];
|
|
270
|
+
id?: Prisma.StringFilter<"NativeGatewayCall"> | string;
|
|
271
|
+
sessionId?: Prisma.StringFilter<"NativeGatewayCall"> | string;
|
|
272
|
+
callId?: Prisma.StringFilter<"NativeGatewayCall"> | string;
|
|
273
|
+
method?: Prisma.StringFilter<"NativeGatewayCall"> | string;
|
|
274
|
+
status?: Prisma.EnumNativeGatewayCallStatusFilter<"NativeGatewayCall"> | $Enums.NativeGatewayCallStatus;
|
|
275
|
+
reservationUsd?: Prisma.DecimalNullableFilter<"NativeGatewayCall"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
276
|
+
actualCostUsd?: Prisma.DecimalNullableFilter<"NativeGatewayCall"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
277
|
+
inputTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
278
|
+
outputTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
279
|
+
cachedInputTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
280
|
+
cacheWriteTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
281
|
+
result?: Prisma.JsonNullableFilter<"NativeGatewayCall">;
|
|
282
|
+
childRunId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
283
|
+
childAgentId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
284
|
+
createdAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
285
|
+
updatedAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
286
|
+
completedAt?: Prisma.DateTimeNullableFilter<"NativeGatewayCall"> | Date | string | null;
|
|
287
|
+
session?: Prisma.XOR<Prisma.NativeGatewaySessionScalarRelationFilter, Prisma.NativeGatewaySessionWhereInput>;
|
|
288
|
+
};
|
|
289
|
+
export type NativeGatewayCallOrderByWithRelationInput = {
|
|
290
|
+
id?: Prisma.SortOrder;
|
|
291
|
+
sessionId?: Prisma.SortOrder;
|
|
292
|
+
callId?: Prisma.SortOrder;
|
|
293
|
+
method?: Prisma.SortOrder;
|
|
294
|
+
status?: Prisma.SortOrder;
|
|
295
|
+
reservationUsd?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
296
|
+
actualCostUsd?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
297
|
+
inputTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
298
|
+
outputTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
299
|
+
cachedInputTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
300
|
+
cacheWriteTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
301
|
+
result?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
302
|
+
childRunId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
303
|
+
childAgentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
304
|
+
createdAt?: Prisma.SortOrder;
|
|
305
|
+
updatedAt?: Prisma.SortOrder;
|
|
306
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
307
|
+
session?: Prisma.NativeGatewaySessionOrderByWithRelationInput;
|
|
308
|
+
};
|
|
309
|
+
export type NativeGatewayCallWhereUniqueInput = Prisma.AtLeast<{
|
|
310
|
+
id?: string;
|
|
311
|
+
sessionId_callId?: Prisma.NativeGatewayCallSessionIdCallIdCompoundUniqueInput;
|
|
312
|
+
AND?: Prisma.NativeGatewayCallWhereInput | Prisma.NativeGatewayCallWhereInput[];
|
|
313
|
+
OR?: Prisma.NativeGatewayCallWhereInput[];
|
|
314
|
+
NOT?: Prisma.NativeGatewayCallWhereInput | Prisma.NativeGatewayCallWhereInput[];
|
|
315
|
+
sessionId?: Prisma.StringFilter<"NativeGatewayCall"> | string;
|
|
316
|
+
callId?: Prisma.StringFilter<"NativeGatewayCall"> | string;
|
|
317
|
+
method?: Prisma.StringFilter<"NativeGatewayCall"> | string;
|
|
318
|
+
status?: Prisma.EnumNativeGatewayCallStatusFilter<"NativeGatewayCall"> | $Enums.NativeGatewayCallStatus;
|
|
319
|
+
reservationUsd?: Prisma.DecimalNullableFilter<"NativeGatewayCall"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
320
|
+
actualCostUsd?: Prisma.DecimalNullableFilter<"NativeGatewayCall"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
321
|
+
inputTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
322
|
+
outputTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
323
|
+
cachedInputTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
324
|
+
cacheWriteTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
325
|
+
result?: Prisma.JsonNullableFilter<"NativeGatewayCall">;
|
|
326
|
+
childRunId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
327
|
+
childAgentId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
328
|
+
createdAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
329
|
+
updatedAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
330
|
+
completedAt?: Prisma.DateTimeNullableFilter<"NativeGatewayCall"> | Date | string | null;
|
|
331
|
+
session?: Prisma.XOR<Prisma.NativeGatewaySessionScalarRelationFilter, Prisma.NativeGatewaySessionWhereInput>;
|
|
332
|
+
}, "id" | "sessionId_callId">;
|
|
333
|
+
export type NativeGatewayCallOrderByWithAggregationInput = {
|
|
334
|
+
id?: Prisma.SortOrder;
|
|
335
|
+
sessionId?: Prisma.SortOrder;
|
|
336
|
+
callId?: Prisma.SortOrder;
|
|
337
|
+
method?: Prisma.SortOrder;
|
|
338
|
+
status?: Prisma.SortOrder;
|
|
339
|
+
reservationUsd?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
340
|
+
actualCostUsd?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
341
|
+
inputTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
342
|
+
outputTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
343
|
+
cachedInputTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
344
|
+
cacheWriteTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
345
|
+
result?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
346
|
+
childRunId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
347
|
+
childAgentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
348
|
+
createdAt?: Prisma.SortOrder;
|
|
349
|
+
updatedAt?: Prisma.SortOrder;
|
|
350
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
351
|
+
_count?: Prisma.NativeGatewayCallCountOrderByAggregateInput;
|
|
352
|
+
_avg?: Prisma.NativeGatewayCallAvgOrderByAggregateInput;
|
|
353
|
+
_max?: Prisma.NativeGatewayCallMaxOrderByAggregateInput;
|
|
354
|
+
_min?: Prisma.NativeGatewayCallMinOrderByAggregateInput;
|
|
355
|
+
_sum?: Prisma.NativeGatewayCallSumOrderByAggregateInput;
|
|
356
|
+
};
|
|
357
|
+
export type NativeGatewayCallScalarWhereWithAggregatesInput = {
|
|
358
|
+
AND?: Prisma.NativeGatewayCallScalarWhereWithAggregatesInput | Prisma.NativeGatewayCallScalarWhereWithAggregatesInput[];
|
|
359
|
+
OR?: Prisma.NativeGatewayCallScalarWhereWithAggregatesInput[];
|
|
360
|
+
NOT?: Prisma.NativeGatewayCallScalarWhereWithAggregatesInput | Prisma.NativeGatewayCallScalarWhereWithAggregatesInput[];
|
|
361
|
+
id?: Prisma.StringWithAggregatesFilter<"NativeGatewayCall"> | string;
|
|
362
|
+
sessionId?: Prisma.StringWithAggregatesFilter<"NativeGatewayCall"> | string;
|
|
363
|
+
callId?: Prisma.StringWithAggregatesFilter<"NativeGatewayCall"> | string;
|
|
364
|
+
method?: Prisma.StringWithAggregatesFilter<"NativeGatewayCall"> | string;
|
|
365
|
+
status?: Prisma.EnumNativeGatewayCallStatusWithAggregatesFilter<"NativeGatewayCall"> | $Enums.NativeGatewayCallStatus;
|
|
366
|
+
reservationUsd?: Prisma.DecimalNullableWithAggregatesFilter<"NativeGatewayCall"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
367
|
+
actualCostUsd?: Prisma.DecimalNullableWithAggregatesFilter<"NativeGatewayCall"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
368
|
+
inputTokens?: Prisma.IntNullableWithAggregatesFilter<"NativeGatewayCall"> | number | null;
|
|
369
|
+
outputTokens?: Prisma.IntNullableWithAggregatesFilter<"NativeGatewayCall"> | number | null;
|
|
370
|
+
cachedInputTokens?: Prisma.IntNullableWithAggregatesFilter<"NativeGatewayCall"> | number | null;
|
|
371
|
+
cacheWriteTokens?: Prisma.IntNullableWithAggregatesFilter<"NativeGatewayCall"> | number | null;
|
|
372
|
+
result?: Prisma.JsonNullableWithAggregatesFilter<"NativeGatewayCall">;
|
|
373
|
+
childRunId?: Prisma.StringNullableWithAggregatesFilter<"NativeGatewayCall"> | string | null;
|
|
374
|
+
childAgentId?: Prisma.StringNullableWithAggregatesFilter<"NativeGatewayCall"> | string | null;
|
|
375
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"NativeGatewayCall"> | Date | string;
|
|
376
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"NativeGatewayCall"> | Date | string;
|
|
377
|
+
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"NativeGatewayCall"> | Date | string | null;
|
|
378
|
+
};
|
|
379
|
+
export type NativeGatewayCallCreateInput = {
|
|
380
|
+
id?: string;
|
|
381
|
+
callId: string;
|
|
382
|
+
method: string;
|
|
383
|
+
status: $Enums.NativeGatewayCallStatus;
|
|
384
|
+
reservationUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
385
|
+
actualCostUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
386
|
+
inputTokens?: number | null;
|
|
387
|
+
outputTokens?: number | null;
|
|
388
|
+
cachedInputTokens?: number | null;
|
|
389
|
+
cacheWriteTokens?: number | null;
|
|
390
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
391
|
+
childRunId?: string | null;
|
|
392
|
+
childAgentId?: string | null;
|
|
393
|
+
createdAt?: Date | string;
|
|
394
|
+
updatedAt?: Date | string;
|
|
395
|
+
completedAt?: Date | string | null;
|
|
396
|
+
session: Prisma.NativeGatewaySessionCreateNestedOneWithoutCallsInput;
|
|
397
|
+
};
|
|
398
|
+
export type NativeGatewayCallUncheckedCreateInput = {
|
|
399
|
+
id?: string;
|
|
400
|
+
sessionId: string;
|
|
401
|
+
callId: string;
|
|
402
|
+
method: string;
|
|
403
|
+
status: $Enums.NativeGatewayCallStatus;
|
|
404
|
+
reservationUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
405
|
+
actualCostUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
406
|
+
inputTokens?: number | null;
|
|
407
|
+
outputTokens?: number | null;
|
|
408
|
+
cachedInputTokens?: number | null;
|
|
409
|
+
cacheWriteTokens?: number | null;
|
|
410
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
411
|
+
childRunId?: string | null;
|
|
412
|
+
childAgentId?: string | null;
|
|
413
|
+
createdAt?: Date | string;
|
|
414
|
+
updatedAt?: Date | string;
|
|
415
|
+
completedAt?: Date | string | null;
|
|
416
|
+
};
|
|
417
|
+
export type NativeGatewayCallUpdateInput = {
|
|
418
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
419
|
+
callId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
420
|
+
method?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
421
|
+
status?: Prisma.EnumNativeGatewayCallStatusFieldUpdateOperationsInput | $Enums.NativeGatewayCallStatus;
|
|
422
|
+
reservationUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
423
|
+
actualCostUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
424
|
+
inputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
425
|
+
outputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
426
|
+
cachedInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
427
|
+
cacheWriteTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
428
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
429
|
+
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
430
|
+
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
431
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
432
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
433
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
434
|
+
session?: Prisma.NativeGatewaySessionUpdateOneRequiredWithoutCallsNestedInput;
|
|
435
|
+
};
|
|
436
|
+
export type NativeGatewayCallUncheckedUpdateInput = {
|
|
437
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
438
|
+
sessionId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
439
|
+
callId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
440
|
+
method?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
441
|
+
status?: Prisma.EnumNativeGatewayCallStatusFieldUpdateOperationsInput | $Enums.NativeGatewayCallStatus;
|
|
442
|
+
reservationUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
443
|
+
actualCostUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
444
|
+
inputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
445
|
+
outputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
446
|
+
cachedInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
447
|
+
cacheWriteTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
448
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
449
|
+
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
450
|
+
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
451
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
452
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
453
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
454
|
+
};
|
|
455
|
+
export type NativeGatewayCallCreateManyInput = {
|
|
456
|
+
id?: string;
|
|
457
|
+
sessionId: string;
|
|
458
|
+
callId: string;
|
|
459
|
+
method: string;
|
|
460
|
+
status: $Enums.NativeGatewayCallStatus;
|
|
461
|
+
reservationUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
462
|
+
actualCostUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
463
|
+
inputTokens?: number | null;
|
|
464
|
+
outputTokens?: number | null;
|
|
465
|
+
cachedInputTokens?: number | null;
|
|
466
|
+
cacheWriteTokens?: number | null;
|
|
467
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
468
|
+
childRunId?: string | null;
|
|
469
|
+
childAgentId?: string | null;
|
|
470
|
+
createdAt?: Date | string;
|
|
471
|
+
updatedAt?: Date | string;
|
|
472
|
+
completedAt?: Date | string | null;
|
|
473
|
+
};
|
|
474
|
+
export type NativeGatewayCallUpdateManyMutationInput = {
|
|
475
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
476
|
+
callId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
477
|
+
method?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
478
|
+
status?: Prisma.EnumNativeGatewayCallStatusFieldUpdateOperationsInput | $Enums.NativeGatewayCallStatus;
|
|
479
|
+
reservationUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
480
|
+
actualCostUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
481
|
+
inputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
482
|
+
outputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
483
|
+
cachedInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
484
|
+
cacheWriteTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
485
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
486
|
+
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
487
|
+
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
488
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
489
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
490
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
491
|
+
};
|
|
492
|
+
export type NativeGatewayCallUncheckedUpdateManyInput = {
|
|
493
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
494
|
+
sessionId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
495
|
+
callId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
496
|
+
method?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
497
|
+
status?: Prisma.EnumNativeGatewayCallStatusFieldUpdateOperationsInput | $Enums.NativeGatewayCallStatus;
|
|
498
|
+
reservationUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
499
|
+
actualCostUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
500
|
+
inputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
501
|
+
outputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
502
|
+
cachedInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
503
|
+
cacheWriteTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
504
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
505
|
+
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
506
|
+
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
507
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
508
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
509
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
510
|
+
};
|
|
511
|
+
export type NativeGatewayCallListRelationFilter = {
|
|
512
|
+
every?: Prisma.NativeGatewayCallWhereInput;
|
|
513
|
+
some?: Prisma.NativeGatewayCallWhereInput;
|
|
514
|
+
none?: Prisma.NativeGatewayCallWhereInput;
|
|
515
|
+
};
|
|
516
|
+
export type NativeGatewayCallOrderByRelationAggregateInput = {
|
|
517
|
+
_count?: Prisma.SortOrder;
|
|
518
|
+
};
|
|
519
|
+
export type NativeGatewayCallSessionIdCallIdCompoundUniqueInput = {
|
|
520
|
+
sessionId: string;
|
|
521
|
+
callId: string;
|
|
522
|
+
};
|
|
523
|
+
export type NativeGatewayCallCountOrderByAggregateInput = {
|
|
524
|
+
id?: Prisma.SortOrder;
|
|
525
|
+
sessionId?: Prisma.SortOrder;
|
|
526
|
+
callId?: Prisma.SortOrder;
|
|
527
|
+
method?: Prisma.SortOrder;
|
|
528
|
+
status?: Prisma.SortOrder;
|
|
529
|
+
reservationUsd?: Prisma.SortOrder;
|
|
530
|
+
actualCostUsd?: Prisma.SortOrder;
|
|
531
|
+
inputTokens?: Prisma.SortOrder;
|
|
532
|
+
outputTokens?: Prisma.SortOrder;
|
|
533
|
+
cachedInputTokens?: Prisma.SortOrder;
|
|
534
|
+
cacheWriteTokens?: Prisma.SortOrder;
|
|
535
|
+
result?: Prisma.SortOrder;
|
|
536
|
+
childRunId?: Prisma.SortOrder;
|
|
537
|
+
childAgentId?: Prisma.SortOrder;
|
|
538
|
+
createdAt?: Prisma.SortOrder;
|
|
539
|
+
updatedAt?: Prisma.SortOrder;
|
|
540
|
+
completedAt?: Prisma.SortOrder;
|
|
541
|
+
};
|
|
542
|
+
export type NativeGatewayCallAvgOrderByAggregateInput = {
|
|
543
|
+
reservationUsd?: Prisma.SortOrder;
|
|
544
|
+
actualCostUsd?: Prisma.SortOrder;
|
|
545
|
+
inputTokens?: Prisma.SortOrder;
|
|
546
|
+
outputTokens?: Prisma.SortOrder;
|
|
547
|
+
cachedInputTokens?: Prisma.SortOrder;
|
|
548
|
+
cacheWriteTokens?: Prisma.SortOrder;
|
|
549
|
+
};
|
|
550
|
+
export type NativeGatewayCallMaxOrderByAggregateInput = {
|
|
551
|
+
id?: Prisma.SortOrder;
|
|
552
|
+
sessionId?: Prisma.SortOrder;
|
|
553
|
+
callId?: Prisma.SortOrder;
|
|
554
|
+
method?: Prisma.SortOrder;
|
|
555
|
+
status?: Prisma.SortOrder;
|
|
556
|
+
reservationUsd?: Prisma.SortOrder;
|
|
557
|
+
actualCostUsd?: Prisma.SortOrder;
|
|
558
|
+
inputTokens?: Prisma.SortOrder;
|
|
559
|
+
outputTokens?: Prisma.SortOrder;
|
|
560
|
+
cachedInputTokens?: Prisma.SortOrder;
|
|
561
|
+
cacheWriteTokens?: Prisma.SortOrder;
|
|
562
|
+
childRunId?: Prisma.SortOrder;
|
|
563
|
+
childAgentId?: Prisma.SortOrder;
|
|
564
|
+
createdAt?: Prisma.SortOrder;
|
|
565
|
+
updatedAt?: Prisma.SortOrder;
|
|
566
|
+
completedAt?: Prisma.SortOrder;
|
|
567
|
+
};
|
|
568
|
+
export type NativeGatewayCallMinOrderByAggregateInput = {
|
|
569
|
+
id?: Prisma.SortOrder;
|
|
570
|
+
sessionId?: Prisma.SortOrder;
|
|
571
|
+
callId?: Prisma.SortOrder;
|
|
572
|
+
method?: Prisma.SortOrder;
|
|
573
|
+
status?: Prisma.SortOrder;
|
|
574
|
+
reservationUsd?: Prisma.SortOrder;
|
|
575
|
+
actualCostUsd?: Prisma.SortOrder;
|
|
576
|
+
inputTokens?: Prisma.SortOrder;
|
|
577
|
+
outputTokens?: Prisma.SortOrder;
|
|
578
|
+
cachedInputTokens?: Prisma.SortOrder;
|
|
579
|
+
cacheWriteTokens?: Prisma.SortOrder;
|
|
580
|
+
childRunId?: Prisma.SortOrder;
|
|
581
|
+
childAgentId?: Prisma.SortOrder;
|
|
582
|
+
createdAt?: Prisma.SortOrder;
|
|
583
|
+
updatedAt?: Prisma.SortOrder;
|
|
584
|
+
completedAt?: Prisma.SortOrder;
|
|
585
|
+
};
|
|
586
|
+
export type NativeGatewayCallSumOrderByAggregateInput = {
|
|
587
|
+
reservationUsd?: Prisma.SortOrder;
|
|
588
|
+
actualCostUsd?: Prisma.SortOrder;
|
|
589
|
+
inputTokens?: Prisma.SortOrder;
|
|
590
|
+
outputTokens?: Prisma.SortOrder;
|
|
591
|
+
cachedInputTokens?: Prisma.SortOrder;
|
|
592
|
+
cacheWriteTokens?: Prisma.SortOrder;
|
|
593
|
+
};
|
|
594
|
+
export type NativeGatewayCallCreateNestedManyWithoutSessionInput = {
|
|
595
|
+
create?: Prisma.XOR<Prisma.NativeGatewayCallCreateWithoutSessionInput, Prisma.NativeGatewayCallUncheckedCreateWithoutSessionInput> | Prisma.NativeGatewayCallCreateWithoutSessionInput[] | Prisma.NativeGatewayCallUncheckedCreateWithoutSessionInput[];
|
|
596
|
+
connectOrCreate?: Prisma.NativeGatewayCallCreateOrConnectWithoutSessionInput | Prisma.NativeGatewayCallCreateOrConnectWithoutSessionInput[];
|
|
597
|
+
createMany?: Prisma.NativeGatewayCallCreateManySessionInputEnvelope;
|
|
598
|
+
connect?: Prisma.NativeGatewayCallWhereUniqueInput | Prisma.NativeGatewayCallWhereUniqueInput[];
|
|
599
|
+
};
|
|
600
|
+
export type NativeGatewayCallUncheckedCreateNestedManyWithoutSessionInput = {
|
|
601
|
+
create?: Prisma.XOR<Prisma.NativeGatewayCallCreateWithoutSessionInput, Prisma.NativeGatewayCallUncheckedCreateWithoutSessionInput> | Prisma.NativeGatewayCallCreateWithoutSessionInput[] | Prisma.NativeGatewayCallUncheckedCreateWithoutSessionInput[];
|
|
602
|
+
connectOrCreate?: Prisma.NativeGatewayCallCreateOrConnectWithoutSessionInput | Prisma.NativeGatewayCallCreateOrConnectWithoutSessionInput[];
|
|
603
|
+
createMany?: Prisma.NativeGatewayCallCreateManySessionInputEnvelope;
|
|
604
|
+
connect?: Prisma.NativeGatewayCallWhereUniqueInput | Prisma.NativeGatewayCallWhereUniqueInput[];
|
|
605
|
+
};
|
|
606
|
+
export type NativeGatewayCallUpdateManyWithoutSessionNestedInput = {
|
|
607
|
+
create?: Prisma.XOR<Prisma.NativeGatewayCallCreateWithoutSessionInput, Prisma.NativeGatewayCallUncheckedCreateWithoutSessionInput> | Prisma.NativeGatewayCallCreateWithoutSessionInput[] | Prisma.NativeGatewayCallUncheckedCreateWithoutSessionInput[];
|
|
608
|
+
connectOrCreate?: Prisma.NativeGatewayCallCreateOrConnectWithoutSessionInput | Prisma.NativeGatewayCallCreateOrConnectWithoutSessionInput[];
|
|
609
|
+
upsert?: Prisma.NativeGatewayCallUpsertWithWhereUniqueWithoutSessionInput | Prisma.NativeGatewayCallUpsertWithWhereUniqueWithoutSessionInput[];
|
|
610
|
+
createMany?: Prisma.NativeGatewayCallCreateManySessionInputEnvelope;
|
|
611
|
+
set?: Prisma.NativeGatewayCallWhereUniqueInput | Prisma.NativeGatewayCallWhereUniqueInput[];
|
|
612
|
+
disconnect?: Prisma.NativeGatewayCallWhereUniqueInput | Prisma.NativeGatewayCallWhereUniqueInput[];
|
|
613
|
+
delete?: Prisma.NativeGatewayCallWhereUniqueInput | Prisma.NativeGatewayCallWhereUniqueInput[];
|
|
614
|
+
connect?: Prisma.NativeGatewayCallWhereUniqueInput | Prisma.NativeGatewayCallWhereUniqueInput[];
|
|
615
|
+
update?: Prisma.NativeGatewayCallUpdateWithWhereUniqueWithoutSessionInput | Prisma.NativeGatewayCallUpdateWithWhereUniqueWithoutSessionInput[];
|
|
616
|
+
updateMany?: Prisma.NativeGatewayCallUpdateManyWithWhereWithoutSessionInput | Prisma.NativeGatewayCallUpdateManyWithWhereWithoutSessionInput[];
|
|
617
|
+
deleteMany?: Prisma.NativeGatewayCallScalarWhereInput | Prisma.NativeGatewayCallScalarWhereInput[];
|
|
618
|
+
};
|
|
619
|
+
export type NativeGatewayCallUncheckedUpdateManyWithoutSessionNestedInput = {
|
|
620
|
+
create?: Prisma.XOR<Prisma.NativeGatewayCallCreateWithoutSessionInput, Prisma.NativeGatewayCallUncheckedCreateWithoutSessionInput> | Prisma.NativeGatewayCallCreateWithoutSessionInput[] | Prisma.NativeGatewayCallUncheckedCreateWithoutSessionInput[];
|
|
621
|
+
connectOrCreate?: Prisma.NativeGatewayCallCreateOrConnectWithoutSessionInput | Prisma.NativeGatewayCallCreateOrConnectWithoutSessionInput[];
|
|
622
|
+
upsert?: Prisma.NativeGatewayCallUpsertWithWhereUniqueWithoutSessionInput | Prisma.NativeGatewayCallUpsertWithWhereUniqueWithoutSessionInput[];
|
|
623
|
+
createMany?: Prisma.NativeGatewayCallCreateManySessionInputEnvelope;
|
|
624
|
+
set?: Prisma.NativeGatewayCallWhereUniqueInput | Prisma.NativeGatewayCallWhereUniqueInput[];
|
|
625
|
+
disconnect?: Prisma.NativeGatewayCallWhereUniqueInput | Prisma.NativeGatewayCallWhereUniqueInput[];
|
|
626
|
+
delete?: Prisma.NativeGatewayCallWhereUniqueInput | Prisma.NativeGatewayCallWhereUniqueInput[];
|
|
627
|
+
connect?: Prisma.NativeGatewayCallWhereUniqueInput | Prisma.NativeGatewayCallWhereUniqueInput[];
|
|
628
|
+
update?: Prisma.NativeGatewayCallUpdateWithWhereUniqueWithoutSessionInput | Prisma.NativeGatewayCallUpdateWithWhereUniqueWithoutSessionInput[];
|
|
629
|
+
updateMany?: Prisma.NativeGatewayCallUpdateManyWithWhereWithoutSessionInput | Prisma.NativeGatewayCallUpdateManyWithWhereWithoutSessionInput[];
|
|
630
|
+
deleteMany?: Prisma.NativeGatewayCallScalarWhereInput | Prisma.NativeGatewayCallScalarWhereInput[];
|
|
631
|
+
};
|
|
632
|
+
export type EnumNativeGatewayCallStatusFieldUpdateOperationsInput = {
|
|
633
|
+
set?: $Enums.NativeGatewayCallStatus;
|
|
634
|
+
};
|
|
635
|
+
export type NativeGatewayCallCreateWithoutSessionInput = {
|
|
636
|
+
id?: string;
|
|
637
|
+
callId: string;
|
|
638
|
+
method: string;
|
|
639
|
+
status: $Enums.NativeGatewayCallStatus;
|
|
640
|
+
reservationUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
641
|
+
actualCostUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
642
|
+
inputTokens?: number | null;
|
|
643
|
+
outputTokens?: number | null;
|
|
644
|
+
cachedInputTokens?: number | null;
|
|
645
|
+
cacheWriteTokens?: number | null;
|
|
646
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
647
|
+
childRunId?: string | null;
|
|
648
|
+
childAgentId?: string | null;
|
|
649
|
+
createdAt?: Date | string;
|
|
650
|
+
updatedAt?: Date | string;
|
|
651
|
+
completedAt?: Date | string | null;
|
|
652
|
+
};
|
|
653
|
+
export type NativeGatewayCallUncheckedCreateWithoutSessionInput = {
|
|
654
|
+
id?: string;
|
|
655
|
+
callId: string;
|
|
656
|
+
method: string;
|
|
657
|
+
status: $Enums.NativeGatewayCallStatus;
|
|
658
|
+
reservationUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
659
|
+
actualCostUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
660
|
+
inputTokens?: number | null;
|
|
661
|
+
outputTokens?: number | null;
|
|
662
|
+
cachedInputTokens?: number | null;
|
|
663
|
+
cacheWriteTokens?: number | null;
|
|
664
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
665
|
+
childRunId?: string | null;
|
|
666
|
+
childAgentId?: string | null;
|
|
667
|
+
createdAt?: Date | string;
|
|
668
|
+
updatedAt?: Date | string;
|
|
669
|
+
completedAt?: Date | string | null;
|
|
670
|
+
};
|
|
671
|
+
export type NativeGatewayCallCreateOrConnectWithoutSessionInput = {
|
|
672
|
+
where: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
673
|
+
create: Prisma.XOR<Prisma.NativeGatewayCallCreateWithoutSessionInput, Prisma.NativeGatewayCallUncheckedCreateWithoutSessionInput>;
|
|
674
|
+
};
|
|
675
|
+
export type NativeGatewayCallCreateManySessionInputEnvelope = {
|
|
676
|
+
data: Prisma.NativeGatewayCallCreateManySessionInput | Prisma.NativeGatewayCallCreateManySessionInput[];
|
|
677
|
+
skipDuplicates?: boolean;
|
|
678
|
+
};
|
|
679
|
+
export type NativeGatewayCallUpsertWithWhereUniqueWithoutSessionInput = {
|
|
680
|
+
where: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
681
|
+
update: Prisma.XOR<Prisma.NativeGatewayCallUpdateWithoutSessionInput, Prisma.NativeGatewayCallUncheckedUpdateWithoutSessionInput>;
|
|
682
|
+
create: Prisma.XOR<Prisma.NativeGatewayCallCreateWithoutSessionInput, Prisma.NativeGatewayCallUncheckedCreateWithoutSessionInput>;
|
|
683
|
+
};
|
|
684
|
+
export type NativeGatewayCallUpdateWithWhereUniqueWithoutSessionInput = {
|
|
685
|
+
where: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
686
|
+
data: Prisma.XOR<Prisma.NativeGatewayCallUpdateWithoutSessionInput, Prisma.NativeGatewayCallUncheckedUpdateWithoutSessionInput>;
|
|
687
|
+
};
|
|
688
|
+
export type NativeGatewayCallUpdateManyWithWhereWithoutSessionInput = {
|
|
689
|
+
where: Prisma.NativeGatewayCallScalarWhereInput;
|
|
690
|
+
data: Prisma.XOR<Prisma.NativeGatewayCallUpdateManyMutationInput, Prisma.NativeGatewayCallUncheckedUpdateManyWithoutSessionInput>;
|
|
691
|
+
};
|
|
692
|
+
export type NativeGatewayCallScalarWhereInput = {
|
|
693
|
+
AND?: Prisma.NativeGatewayCallScalarWhereInput | Prisma.NativeGatewayCallScalarWhereInput[];
|
|
694
|
+
OR?: Prisma.NativeGatewayCallScalarWhereInput[];
|
|
695
|
+
NOT?: Prisma.NativeGatewayCallScalarWhereInput | Prisma.NativeGatewayCallScalarWhereInput[];
|
|
696
|
+
id?: Prisma.StringFilter<"NativeGatewayCall"> | string;
|
|
697
|
+
sessionId?: Prisma.StringFilter<"NativeGatewayCall"> | string;
|
|
698
|
+
callId?: Prisma.StringFilter<"NativeGatewayCall"> | string;
|
|
699
|
+
method?: Prisma.StringFilter<"NativeGatewayCall"> | string;
|
|
700
|
+
status?: Prisma.EnumNativeGatewayCallStatusFilter<"NativeGatewayCall"> | $Enums.NativeGatewayCallStatus;
|
|
701
|
+
reservationUsd?: Prisma.DecimalNullableFilter<"NativeGatewayCall"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
702
|
+
actualCostUsd?: Prisma.DecimalNullableFilter<"NativeGatewayCall"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
703
|
+
inputTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
704
|
+
outputTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
705
|
+
cachedInputTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
706
|
+
cacheWriteTokens?: Prisma.IntNullableFilter<"NativeGatewayCall"> | number | null;
|
|
707
|
+
result?: Prisma.JsonNullableFilter<"NativeGatewayCall">;
|
|
708
|
+
childRunId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
709
|
+
childAgentId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
710
|
+
createdAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
711
|
+
updatedAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
712
|
+
completedAt?: Prisma.DateTimeNullableFilter<"NativeGatewayCall"> | Date | string | null;
|
|
713
|
+
};
|
|
714
|
+
export type NativeGatewayCallCreateManySessionInput = {
|
|
715
|
+
id?: string;
|
|
716
|
+
callId: string;
|
|
717
|
+
method: string;
|
|
718
|
+
status: $Enums.NativeGatewayCallStatus;
|
|
719
|
+
reservationUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
720
|
+
actualCostUsd?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
721
|
+
inputTokens?: number | null;
|
|
722
|
+
outputTokens?: number | null;
|
|
723
|
+
cachedInputTokens?: number | null;
|
|
724
|
+
cacheWriteTokens?: number | null;
|
|
725
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
726
|
+
childRunId?: string | null;
|
|
727
|
+
childAgentId?: string | null;
|
|
728
|
+
createdAt?: Date | string;
|
|
729
|
+
updatedAt?: Date | string;
|
|
730
|
+
completedAt?: Date | string | null;
|
|
731
|
+
};
|
|
732
|
+
export type NativeGatewayCallUpdateWithoutSessionInput = {
|
|
733
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
734
|
+
callId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
735
|
+
method?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
736
|
+
status?: Prisma.EnumNativeGatewayCallStatusFieldUpdateOperationsInput | $Enums.NativeGatewayCallStatus;
|
|
737
|
+
reservationUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
738
|
+
actualCostUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
739
|
+
inputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
740
|
+
outputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
741
|
+
cachedInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
742
|
+
cacheWriteTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
743
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
744
|
+
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
745
|
+
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
746
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
747
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
748
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
749
|
+
};
|
|
750
|
+
export type NativeGatewayCallUncheckedUpdateWithoutSessionInput = {
|
|
751
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
752
|
+
callId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
753
|
+
method?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
754
|
+
status?: Prisma.EnumNativeGatewayCallStatusFieldUpdateOperationsInput | $Enums.NativeGatewayCallStatus;
|
|
755
|
+
reservationUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
756
|
+
actualCostUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
757
|
+
inputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
758
|
+
outputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
759
|
+
cachedInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
760
|
+
cacheWriteTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
761
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
762
|
+
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
763
|
+
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
764
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
765
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
766
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
767
|
+
};
|
|
768
|
+
export type NativeGatewayCallUncheckedUpdateManyWithoutSessionInput = {
|
|
769
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
770
|
+
callId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
771
|
+
method?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
772
|
+
status?: Prisma.EnumNativeGatewayCallStatusFieldUpdateOperationsInput | $Enums.NativeGatewayCallStatus;
|
|
773
|
+
reservationUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
774
|
+
actualCostUsd?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
775
|
+
inputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
776
|
+
outputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
777
|
+
cachedInputTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
778
|
+
cacheWriteTokens?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
779
|
+
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
780
|
+
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
781
|
+
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
782
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
783
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
784
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
785
|
+
};
|
|
786
|
+
export type NativeGatewayCallSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
787
|
+
id?: boolean;
|
|
788
|
+
sessionId?: boolean;
|
|
789
|
+
callId?: boolean;
|
|
790
|
+
method?: boolean;
|
|
791
|
+
status?: boolean;
|
|
792
|
+
reservationUsd?: boolean;
|
|
793
|
+
actualCostUsd?: boolean;
|
|
794
|
+
inputTokens?: boolean;
|
|
795
|
+
outputTokens?: boolean;
|
|
796
|
+
cachedInputTokens?: boolean;
|
|
797
|
+
cacheWriteTokens?: boolean;
|
|
798
|
+
result?: boolean;
|
|
799
|
+
childRunId?: boolean;
|
|
800
|
+
childAgentId?: boolean;
|
|
801
|
+
createdAt?: boolean;
|
|
802
|
+
updatedAt?: boolean;
|
|
803
|
+
completedAt?: boolean;
|
|
804
|
+
session?: boolean | Prisma.NativeGatewaySessionDefaultArgs<ExtArgs>;
|
|
805
|
+
}, ExtArgs["result"]["nativeGatewayCall"]>;
|
|
806
|
+
export type NativeGatewayCallSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
807
|
+
id?: boolean;
|
|
808
|
+
sessionId?: boolean;
|
|
809
|
+
callId?: boolean;
|
|
810
|
+
method?: boolean;
|
|
811
|
+
status?: boolean;
|
|
812
|
+
reservationUsd?: boolean;
|
|
813
|
+
actualCostUsd?: boolean;
|
|
814
|
+
inputTokens?: boolean;
|
|
815
|
+
outputTokens?: boolean;
|
|
816
|
+
cachedInputTokens?: boolean;
|
|
817
|
+
cacheWriteTokens?: boolean;
|
|
818
|
+
result?: boolean;
|
|
819
|
+
childRunId?: boolean;
|
|
820
|
+
childAgentId?: boolean;
|
|
821
|
+
createdAt?: boolean;
|
|
822
|
+
updatedAt?: boolean;
|
|
823
|
+
completedAt?: boolean;
|
|
824
|
+
session?: boolean | Prisma.NativeGatewaySessionDefaultArgs<ExtArgs>;
|
|
825
|
+
}, ExtArgs["result"]["nativeGatewayCall"]>;
|
|
826
|
+
export type NativeGatewayCallSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
827
|
+
id?: boolean;
|
|
828
|
+
sessionId?: boolean;
|
|
829
|
+
callId?: boolean;
|
|
830
|
+
method?: boolean;
|
|
831
|
+
status?: boolean;
|
|
832
|
+
reservationUsd?: boolean;
|
|
833
|
+
actualCostUsd?: boolean;
|
|
834
|
+
inputTokens?: boolean;
|
|
835
|
+
outputTokens?: boolean;
|
|
836
|
+
cachedInputTokens?: boolean;
|
|
837
|
+
cacheWriteTokens?: boolean;
|
|
838
|
+
result?: boolean;
|
|
839
|
+
childRunId?: boolean;
|
|
840
|
+
childAgentId?: boolean;
|
|
841
|
+
createdAt?: boolean;
|
|
842
|
+
updatedAt?: boolean;
|
|
843
|
+
completedAt?: boolean;
|
|
844
|
+
session?: boolean | Prisma.NativeGatewaySessionDefaultArgs<ExtArgs>;
|
|
845
|
+
}, ExtArgs["result"]["nativeGatewayCall"]>;
|
|
846
|
+
export type NativeGatewayCallSelectScalar = {
|
|
847
|
+
id?: boolean;
|
|
848
|
+
sessionId?: boolean;
|
|
849
|
+
callId?: boolean;
|
|
850
|
+
method?: boolean;
|
|
851
|
+
status?: boolean;
|
|
852
|
+
reservationUsd?: boolean;
|
|
853
|
+
actualCostUsd?: boolean;
|
|
854
|
+
inputTokens?: boolean;
|
|
855
|
+
outputTokens?: boolean;
|
|
856
|
+
cachedInputTokens?: boolean;
|
|
857
|
+
cacheWriteTokens?: boolean;
|
|
858
|
+
result?: boolean;
|
|
859
|
+
childRunId?: boolean;
|
|
860
|
+
childAgentId?: boolean;
|
|
861
|
+
createdAt?: boolean;
|
|
862
|
+
updatedAt?: boolean;
|
|
863
|
+
completedAt?: boolean;
|
|
864
|
+
};
|
|
865
|
+
export type NativeGatewayCallOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sessionId" | "callId" | "method" | "status" | "reservationUsd" | "actualCostUsd" | "inputTokens" | "outputTokens" | "cachedInputTokens" | "cacheWriteTokens" | "result" | "childRunId" | "childAgentId" | "createdAt" | "updatedAt" | "completedAt", ExtArgs["result"]["nativeGatewayCall"]>;
|
|
866
|
+
export type NativeGatewayCallInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
867
|
+
session?: boolean | Prisma.NativeGatewaySessionDefaultArgs<ExtArgs>;
|
|
868
|
+
};
|
|
869
|
+
export type NativeGatewayCallIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
870
|
+
session?: boolean | Prisma.NativeGatewaySessionDefaultArgs<ExtArgs>;
|
|
871
|
+
};
|
|
872
|
+
export type NativeGatewayCallIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
873
|
+
session?: boolean | Prisma.NativeGatewaySessionDefaultArgs<ExtArgs>;
|
|
874
|
+
};
|
|
875
|
+
export type $NativeGatewayCallPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
876
|
+
name: "NativeGatewayCall";
|
|
877
|
+
objects: {
|
|
878
|
+
session: Prisma.$NativeGatewaySessionPayload<ExtArgs>;
|
|
879
|
+
};
|
|
880
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
881
|
+
id: string;
|
|
882
|
+
sessionId: string;
|
|
883
|
+
callId: string;
|
|
884
|
+
method: string;
|
|
885
|
+
status: $Enums.NativeGatewayCallStatus;
|
|
886
|
+
reservationUsd: runtime.Decimal | null;
|
|
887
|
+
actualCostUsd: runtime.Decimal | null;
|
|
888
|
+
inputTokens: number | null;
|
|
889
|
+
outputTokens: number | null;
|
|
890
|
+
cachedInputTokens: number | null;
|
|
891
|
+
cacheWriteTokens: number | null;
|
|
892
|
+
/**
|
|
893
|
+
* A replayable result. Never a secret value.
|
|
894
|
+
*/
|
|
895
|
+
result: runtime.JsonValue | null;
|
|
896
|
+
childRunId: string | null;
|
|
897
|
+
/**
|
|
898
|
+
* A delegation's sub-agent, recorded at admission (it holds a place while waiting for budget).
|
|
899
|
+
*/
|
|
900
|
+
childAgentId: string | null;
|
|
901
|
+
createdAt: Date;
|
|
902
|
+
updatedAt: Date;
|
|
903
|
+
completedAt: Date | null;
|
|
904
|
+
}, ExtArgs["result"]["nativeGatewayCall"]>;
|
|
905
|
+
composites: {};
|
|
906
|
+
};
|
|
907
|
+
export type NativeGatewayCallGetPayload<S extends boolean | null | undefined | NativeGatewayCallDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload, S>;
|
|
908
|
+
export type NativeGatewayCallCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<NativeGatewayCallFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
909
|
+
select?: NativeGatewayCallCountAggregateInputType | true;
|
|
910
|
+
};
|
|
911
|
+
export interface NativeGatewayCallDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
912
|
+
[K: symbol]: {
|
|
913
|
+
types: Prisma.TypeMap<ExtArgs>['model']['NativeGatewayCall'];
|
|
914
|
+
meta: {
|
|
915
|
+
name: 'NativeGatewayCall';
|
|
916
|
+
};
|
|
917
|
+
};
|
|
918
|
+
/**
|
|
919
|
+
* Find zero or one NativeGatewayCall that matches the filter.
|
|
920
|
+
* @param {NativeGatewayCallFindUniqueArgs} args - Arguments to find a NativeGatewayCall
|
|
921
|
+
* @example
|
|
922
|
+
* // Get one NativeGatewayCall
|
|
923
|
+
* const nativeGatewayCall = await prisma.nativeGatewayCall.findUnique({
|
|
924
|
+
* where: {
|
|
925
|
+
* // ... provide filter here
|
|
926
|
+
* }
|
|
927
|
+
* })
|
|
928
|
+
*/
|
|
929
|
+
findUnique<T extends NativeGatewayCallFindUniqueArgs>(args: Prisma.SelectSubset<T, NativeGatewayCallFindUniqueArgs<ExtArgs>>): Prisma.Prisma__NativeGatewayCallClient<runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
930
|
+
/**
|
|
931
|
+
* Find one NativeGatewayCall that matches the filter or throw an error with `error.code='P2025'`
|
|
932
|
+
* if no matches were found.
|
|
933
|
+
* @param {NativeGatewayCallFindUniqueOrThrowArgs} args - Arguments to find a NativeGatewayCall
|
|
934
|
+
* @example
|
|
935
|
+
* // Get one NativeGatewayCall
|
|
936
|
+
* const nativeGatewayCall = await prisma.nativeGatewayCall.findUniqueOrThrow({
|
|
937
|
+
* where: {
|
|
938
|
+
* // ... provide filter here
|
|
939
|
+
* }
|
|
940
|
+
* })
|
|
941
|
+
*/
|
|
942
|
+
findUniqueOrThrow<T extends NativeGatewayCallFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, NativeGatewayCallFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__NativeGatewayCallClient<runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
943
|
+
/**
|
|
944
|
+
* Find the first NativeGatewayCall that matches the filter.
|
|
945
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
946
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
947
|
+
* @param {NativeGatewayCallFindFirstArgs} args - Arguments to find a NativeGatewayCall
|
|
948
|
+
* @example
|
|
949
|
+
* // Get one NativeGatewayCall
|
|
950
|
+
* const nativeGatewayCall = await prisma.nativeGatewayCall.findFirst({
|
|
951
|
+
* where: {
|
|
952
|
+
* // ... provide filter here
|
|
953
|
+
* }
|
|
954
|
+
* })
|
|
955
|
+
*/
|
|
956
|
+
findFirst<T extends NativeGatewayCallFindFirstArgs>(args?: Prisma.SelectSubset<T, NativeGatewayCallFindFirstArgs<ExtArgs>>): Prisma.Prisma__NativeGatewayCallClient<runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
957
|
+
/**
|
|
958
|
+
* Find the first NativeGatewayCall that matches the filter or
|
|
959
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
960
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
961
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
962
|
+
* @param {NativeGatewayCallFindFirstOrThrowArgs} args - Arguments to find a NativeGatewayCall
|
|
963
|
+
* @example
|
|
964
|
+
* // Get one NativeGatewayCall
|
|
965
|
+
* const nativeGatewayCall = await prisma.nativeGatewayCall.findFirstOrThrow({
|
|
966
|
+
* where: {
|
|
967
|
+
* // ... provide filter here
|
|
968
|
+
* }
|
|
969
|
+
* })
|
|
970
|
+
*/
|
|
971
|
+
findFirstOrThrow<T extends NativeGatewayCallFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, NativeGatewayCallFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__NativeGatewayCallClient<runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
972
|
+
/**
|
|
973
|
+
* Find zero or more NativeGatewayCalls that matches the filter.
|
|
974
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
975
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
976
|
+
* @param {NativeGatewayCallFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
977
|
+
* @example
|
|
978
|
+
* // Get all NativeGatewayCalls
|
|
979
|
+
* const nativeGatewayCalls = await prisma.nativeGatewayCall.findMany()
|
|
980
|
+
*
|
|
981
|
+
* // Get first 10 NativeGatewayCalls
|
|
982
|
+
* const nativeGatewayCalls = await prisma.nativeGatewayCall.findMany({ take: 10 })
|
|
983
|
+
*
|
|
984
|
+
* // Only select the `id`
|
|
985
|
+
* const nativeGatewayCallWithIdOnly = await prisma.nativeGatewayCall.findMany({ select: { id: true } })
|
|
986
|
+
*
|
|
987
|
+
*/
|
|
988
|
+
findMany<T extends NativeGatewayCallFindManyArgs>(args?: Prisma.SelectSubset<T, NativeGatewayCallFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
989
|
+
/**
|
|
990
|
+
* Create a NativeGatewayCall.
|
|
991
|
+
* @param {NativeGatewayCallCreateArgs} args - Arguments to create a NativeGatewayCall.
|
|
992
|
+
* @example
|
|
993
|
+
* // Create one NativeGatewayCall
|
|
994
|
+
* const NativeGatewayCall = await prisma.nativeGatewayCall.create({
|
|
995
|
+
* data: {
|
|
996
|
+
* // ... data to create a NativeGatewayCall
|
|
997
|
+
* }
|
|
998
|
+
* })
|
|
999
|
+
*
|
|
1000
|
+
*/
|
|
1001
|
+
create<T extends NativeGatewayCallCreateArgs>(args: Prisma.SelectSubset<T, NativeGatewayCallCreateArgs<ExtArgs>>): Prisma.Prisma__NativeGatewayCallClient<runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1002
|
+
/**
|
|
1003
|
+
* Create many NativeGatewayCalls.
|
|
1004
|
+
* @param {NativeGatewayCallCreateManyArgs} args - Arguments to create many NativeGatewayCalls.
|
|
1005
|
+
* @example
|
|
1006
|
+
* // Create many NativeGatewayCalls
|
|
1007
|
+
* const nativeGatewayCall = await prisma.nativeGatewayCall.createMany({
|
|
1008
|
+
* data: [
|
|
1009
|
+
* // ... provide data here
|
|
1010
|
+
* ]
|
|
1011
|
+
* })
|
|
1012
|
+
*
|
|
1013
|
+
*/
|
|
1014
|
+
createMany<T extends NativeGatewayCallCreateManyArgs>(args?: Prisma.SelectSubset<T, NativeGatewayCallCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1015
|
+
/**
|
|
1016
|
+
* Create many NativeGatewayCalls and returns the data saved in the database.
|
|
1017
|
+
* @param {NativeGatewayCallCreateManyAndReturnArgs} args - Arguments to create many NativeGatewayCalls.
|
|
1018
|
+
* @example
|
|
1019
|
+
* // Create many NativeGatewayCalls
|
|
1020
|
+
* const nativeGatewayCall = await prisma.nativeGatewayCall.createManyAndReturn({
|
|
1021
|
+
* data: [
|
|
1022
|
+
* // ... provide data here
|
|
1023
|
+
* ]
|
|
1024
|
+
* })
|
|
1025
|
+
*
|
|
1026
|
+
* // Create many NativeGatewayCalls and only return the `id`
|
|
1027
|
+
* const nativeGatewayCallWithIdOnly = await prisma.nativeGatewayCall.createManyAndReturn({
|
|
1028
|
+
* select: { id: true },
|
|
1029
|
+
* data: [
|
|
1030
|
+
* // ... provide data here
|
|
1031
|
+
* ]
|
|
1032
|
+
* })
|
|
1033
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1034
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1035
|
+
*
|
|
1036
|
+
*/
|
|
1037
|
+
createManyAndReturn<T extends NativeGatewayCallCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, NativeGatewayCallCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1038
|
+
/**
|
|
1039
|
+
* Delete a NativeGatewayCall.
|
|
1040
|
+
* @param {NativeGatewayCallDeleteArgs} args - Arguments to delete one NativeGatewayCall.
|
|
1041
|
+
* @example
|
|
1042
|
+
* // Delete one NativeGatewayCall
|
|
1043
|
+
* const NativeGatewayCall = await prisma.nativeGatewayCall.delete({
|
|
1044
|
+
* where: {
|
|
1045
|
+
* // ... filter to delete one NativeGatewayCall
|
|
1046
|
+
* }
|
|
1047
|
+
* })
|
|
1048
|
+
*
|
|
1049
|
+
*/
|
|
1050
|
+
delete<T extends NativeGatewayCallDeleteArgs>(args: Prisma.SelectSubset<T, NativeGatewayCallDeleteArgs<ExtArgs>>): Prisma.Prisma__NativeGatewayCallClient<runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Update one NativeGatewayCall.
|
|
1053
|
+
* @param {NativeGatewayCallUpdateArgs} args - Arguments to update one NativeGatewayCall.
|
|
1054
|
+
* @example
|
|
1055
|
+
* // Update one NativeGatewayCall
|
|
1056
|
+
* const nativeGatewayCall = await prisma.nativeGatewayCall.update({
|
|
1057
|
+
* where: {
|
|
1058
|
+
* // ... provide filter here
|
|
1059
|
+
* },
|
|
1060
|
+
* data: {
|
|
1061
|
+
* // ... provide data here
|
|
1062
|
+
* }
|
|
1063
|
+
* })
|
|
1064
|
+
*
|
|
1065
|
+
*/
|
|
1066
|
+
update<T extends NativeGatewayCallUpdateArgs>(args: Prisma.SelectSubset<T, NativeGatewayCallUpdateArgs<ExtArgs>>): Prisma.Prisma__NativeGatewayCallClient<runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1067
|
+
/**
|
|
1068
|
+
* Delete zero or more NativeGatewayCalls.
|
|
1069
|
+
* @param {NativeGatewayCallDeleteManyArgs} args - Arguments to filter NativeGatewayCalls to delete.
|
|
1070
|
+
* @example
|
|
1071
|
+
* // Delete a few NativeGatewayCalls
|
|
1072
|
+
* const { count } = await prisma.nativeGatewayCall.deleteMany({
|
|
1073
|
+
* where: {
|
|
1074
|
+
* // ... provide filter here
|
|
1075
|
+
* }
|
|
1076
|
+
* })
|
|
1077
|
+
*
|
|
1078
|
+
*/
|
|
1079
|
+
deleteMany<T extends NativeGatewayCallDeleteManyArgs>(args?: Prisma.SelectSubset<T, NativeGatewayCallDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Update zero or more NativeGatewayCalls.
|
|
1082
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1083
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1084
|
+
* @param {NativeGatewayCallUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1085
|
+
* @example
|
|
1086
|
+
* // Update many NativeGatewayCalls
|
|
1087
|
+
* const nativeGatewayCall = await prisma.nativeGatewayCall.updateMany({
|
|
1088
|
+
* where: {
|
|
1089
|
+
* // ... provide filter here
|
|
1090
|
+
* },
|
|
1091
|
+
* data: {
|
|
1092
|
+
* // ... provide data here
|
|
1093
|
+
* }
|
|
1094
|
+
* })
|
|
1095
|
+
*
|
|
1096
|
+
*/
|
|
1097
|
+
updateMany<T extends NativeGatewayCallUpdateManyArgs>(args: Prisma.SelectSubset<T, NativeGatewayCallUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1098
|
+
/**
|
|
1099
|
+
* Update zero or more NativeGatewayCalls and returns the data updated in the database.
|
|
1100
|
+
* @param {NativeGatewayCallUpdateManyAndReturnArgs} args - Arguments to update many NativeGatewayCalls.
|
|
1101
|
+
* @example
|
|
1102
|
+
* // Update many NativeGatewayCalls
|
|
1103
|
+
* const nativeGatewayCall = await prisma.nativeGatewayCall.updateManyAndReturn({
|
|
1104
|
+
* where: {
|
|
1105
|
+
* // ... provide filter here
|
|
1106
|
+
* },
|
|
1107
|
+
* data: [
|
|
1108
|
+
* // ... provide data here
|
|
1109
|
+
* ]
|
|
1110
|
+
* })
|
|
1111
|
+
*
|
|
1112
|
+
* // Update zero or more NativeGatewayCalls and only return the `id`
|
|
1113
|
+
* const nativeGatewayCallWithIdOnly = await prisma.nativeGatewayCall.updateManyAndReturn({
|
|
1114
|
+
* select: { id: true },
|
|
1115
|
+
* where: {
|
|
1116
|
+
* // ... provide filter here
|
|
1117
|
+
* },
|
|
1118
|
+
* data: [
|
|
1119
|
+
* // ... provide data here
|
|
1120
|
+
* ]
|
|
1121
|
+
* })
|
|
1122
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1123
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1124
|
+
*
|
|
1125
|
+
*/
|
|
1126
|
+
updateManyAndReturn<T extends NativeGatewayCallUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, NativeGatewayCallUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1127
|
+
/**
|
|
1128
|
+
* Create or update one NativeGatewayCall.
|
|
1129
|
+
* @param {NativeGatewayCallUpsertArgs} args - Arguments to update or create a NativeGatewayCall.
|
|
1130
|
+
* @example
|
|
1131
|
+
* // Update or create a NativeGatewayCall
|
|
1132
|
+
* const nativeGatewayCall = await prisma.nativeGatewayCall.upsert({
|
|
1133
|
+
* create: {
|
|
1134
|
+
* // ... data to create a NativeGatewayCall
|
|
1135
|
+
* },
|
|
1136
|
+
* update: {
|
|
1137
|
+
* // ... in case it already exists, update
|
|
1138
|
+
* },
|
|
1139
|
+
* where: {
|
|
1140
|
+
* // ... the filter for the NativeGatewayCall we want to update
|
|
1141
|
+
* }
|
|
1142
|
+
* })
|
|
1143
|
+
*/
|
|
1144
|
+
upsert<T extends NativeGatewayCallUpsertArgs>(args: Prisma.SelectSubset<T, NativeGatewayCallUpsertArgs<ExtArgs>>): Prisma.Prisma__NativeGatewayCallClient<runtime.Types.Result.GetResult<Prisma.$NativeGatewayCallPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1145
|
+
/**
|
|
1146
|
+
* Count the number of NativeGatewayCalls.
|
|
1147
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1148
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1149
|
+
* @param {NativeGatewayCallCountArgs} args - Arguments to filter NativeGatewayCalls to count.
|
|
1150
|
+
* @example
|
|
1151
|
+
* // Count the number of NativeGatewayCalls
|
|
1152
|
+
* const count = await prisma.nativeGatewayCall.count({
|
|
1153
|
+
* where: {
|
|
1154
|
+
* // ... the filter for the NativeGatewayCalls we want to count
|
|
1155
|
+
* }
|
|
1156
|
+
* })
|
|
1157
|
+
**/
|
|
1158
|
+
count<T extends NativeGatewayCallCountArgs>(args?: Prisma.Subset<T, NativeGatewayCallCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], NativeGatewayCallCountAggregateOutputType> : number>;
|
|
1159
|
+
/**
|
|
1160
|
+
* Allows you to perform aggregations operations on a NativeGatewayCall.
|
|
1161
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1162
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1163
|
+
* @param {NativeGatewayCallAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1164
|
+
* @example
|
|
1165
|
+
* // Ordered by age ascending
|
|
1166
|
+
* // Where email contains prisma.io
|
|
1167
|
+
* // Limited to the 10 users
|
|
1168
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1169
|
+
* _avg: {
|
|
1170
|
+
* age: true,
|
|
1171
|
+
* },
|
|
1172
|
+
* where: {
|
|
1173
|
+
* email: {
|
|
1174
|
+
* contains: "prisma.io",
|
|
1175
|
+
* },
|
|
1176
|
+
* },
|
|
1177
|
+
* orderBy: {
|
|
1178
|
+
* age: "asc",
|
|
1179
|
+
* },
|
|
1180
|
+
* take: 10,
|
|
1181
|
+
* })
|
|
1182
|
+
**/
|
|
1183
|
+
aggregate<T extends NativeGatewayCallAggregateArgs>(args: Prisma.Subset<T, NativeGatewayCallAggregateArgs>): Prisma.PrismaPromise<GetNativeGatewayCallAggregateType<T>>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Group by NativeGatewayCall.
|
|
1186
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1187
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1188
|
+
* @param {NativeGatewayCallGroupByArgs} args - Group by arguments.
|
|
1189
|
+
* @example
|
|
1190
|
+
* // Group by city, order by createdAt, get count
|
|
1191
|
+
* const result = await prisma.user.groupBy({
|
|
1192
|
+
* by: ['city', 'createdAt'],
|
|
1193
|
+
* orderBy: {
|
|
1194
|
+
* createdAt: true
|
|
1195
|
+
* },
|
|
1196
|
+
* _count: {
|
|
1197
|
+
* _all: true
|
|
1198
|
+
* },
|
|
1199
|
+
* })
|
|
1200
|
+
*
|
|
1201
|
+
**/
|
|
1202
|
+
groupBy<T extends NativeGatewayCallGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1203
|
+
orderBy: NativeGatewayCallGroupByArgs['orderBy'];
|
|
1204
|
+
} : {
|
|
1205
|
+
orderBy?: NativeGatewayCallGroupByArgs['orderBy'];
|
|
1206
|
+
}, 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 ? {
|
|
1207
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1208
|
+
Error,
|
|
1209
|
+
'Field ',
|
|
1210
|
+
P,
|
|
1211
|
+
` in "having" needs to be provided in "by"`
|
|
1212
|
+
];
|
|
1213
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1214
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1215
|
+
}[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 ? {} : {
|
|
1216
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1217
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1218
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1219
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, NativeGatewayCallGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNativeGatewayCallGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1220
|
+
/**
|
|
1221
|
+
* Fields of the NativeGatewayCall model
|
|
1222
|
+
*/
|
|
1223
|
+
readonly fields: NativeGatewayCallFieldRefs;
|
|
1224
|
+
}
|
|
1225
|
+
/**
|
|
1226
|
+
* The delegate class that acts as a "Promise-like" for NativeGatewayCall.
|
|
1227
|
+
* Why is this prefixed with `Prisma__`?
|
|
1228
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1229
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1230
|
+
*/
|
|
1231
|
+
export interface Prisma__NativeGatewayCallClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1232
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1233
|
+
session<T extends Prisma.NativeGatewaySessionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.NativeGatewaySessionDefaultArgs<ExtArgs>>): Prisma.Prisma__NativeGatewaySessionClient<runtime.Types.Result.GetResult<Prisma.$NativeGatewaySessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1236
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1237
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1238
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1239
|
+
*/
|
|
1240
|
+
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>;
|
|
1241
|
+
/**
|
|
1242
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1243
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1244
|
+
* @returns A Promise for the completion of the callback.
|
|
1245
|
+
*/
|
|
1246
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1247
|
+
/**
|
|
1248
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1249
|
+
* resolved value cannot be modified from the callback.
|
|
1250
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1251
|
+
* @returns A Promise for the completion of the callback.
|
|
1252
|
+
*/
|
|
1253
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1254
|
+
}
|
|
1255
|
+
/**
|
|
1256
|
+
* Fields of the NativeGatewayCall model
|
|
1257
|
+
*/
|
|
1258
|
+
export interface NativeGatewayCallFieldRefs {
|
|
1259
|
+
readonly id: Prisma.FieldRef<"NativeGatewayCall", 'String'>;
|
|
1260
|
+
readonly sessionId: Prisma.FieldRef<"NativeGatewayCall", 'String'>;
|
|
1261
|
+
readonly callId: Prisma.FieldRef<"NativeGatewayCall", 'String'>;
|
|
1262
|
+
readonly method: Prisma.FieldRef<"NativeGatewayCall", 'String'>;
|
|
1263
|
+
readonly status: Prisma.FieldRef<"NativeGatewayCall", 'NativeGatewayCallStatus'>;
|
|
1264
|
+
readonly reservationUsd: Prisma.FieldRef<"NativeGatewayCall", 'Decimal'>;
|
|
1265
|
+
readonly actualCostUsd: Prisma.FieldRef<"NativeGatewayCall", 'Decimal'>;
|
|
1266
|
+
readonly inputTokens: Prisma.FieldRef<"NativeGatewayCall", 'Int'>;
|
|
1267
|
+
readonly outputTokens: Prisma.FieldRef<"NativeGatewayCall", 'Int'>;
|
|
1268
|
+
readonly cachedInputTokens: Prisma.FieldRef<"NativeGatewayCall", 'Int'>;
|
|
1269
|
+
readonly cacheWriteTokens: Prisma.FieldRef<"NativeGatewayCall", 'Int'>;
|
|
1270
|
+
readonly result: Prisma.FieldRef<"NativeGatewayCall", 'Json'>;
|
|
1271
|
+
readonly childRunId: Prisma.FieldRef<"NativeGatewayCall", 'String'>;
|
|
1272
|
+
readonly childAgentId: Prisma.FieldRef<"NativeGatewayCall", 'String'>;
|
|
1273
|
+
readonly createdAt: Prisma.FieldRef<"NativeGatewayCall", 'DateTime'>;
|
|
1274
|
+
readonly updatedAt: Prisma.FieldRef<"NativeGatewayCall", 'DateTime'>;
|
|
1275
|
+
readonly completedAt: Prisma.FieldRef<"NativeGatewayCall", 'DateTime'>;
|
|
1276
|
+
}
|
|
1277
|
+
/**
|
|
1278
|
+
* NativeGatewayCall findUnique
|
|
1279
|
+
*/
|
|
1280
|
+
export type NativeGatewayCallFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1281
|
+
/**
|
|
1282
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1283
|
+
*/
|
|
1284
|
+
select?: Prisma.NativeGatewayCallSelect<ExtArgs> | null;
|
|
1285
|
+
/**
|
|
1286
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1287
|
+
*/
|
|
1288
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1289
|
+
/**
|
|
1290
|
+
* Choose, which related nodes to fetch as well
|
|
1291
|
+
*/
|
|
1292
|
+
include?: Prisma.NativeGatewayCallInclude<ExtArgs> | null;
|
|
1293
|
+
/**
|
|
1294
|
+
* Filter, which NativeGatewayCall to fetch.
|
|
1295
|
+
*/
|
|
1296
|
+
where: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
1297
|
+
};
|
|
1298
|
+
/**
|
|
1299
|
+
* NativeGatewayCall findUniqueOrThrow
|
|
1300
|
+
*/
|
|
1301
|
+
export type NativeGatewayCallFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1302
|
+
/**
|
|
1303
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1304
|
+
*/
|
|
1305
|
+
select?: Prisma.NativeGatewayCallSelect<ExtArgs> | null;
|
|
1306
|
+
/**
|
|
1307
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1308
|
+
*/
|
|
1309
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1310
|
+
/**
|
|
1311
|
+
* Choose, which related nodes to fetch as well
|
|
1312
|
+
*/
|
|
1313
|
+
include?: Prisma.NativeGatewayCallInclude<ExtArgs> | null;
|
|
1314
|
+
/**
|
|
1315
|
+
* Filter, which NativeGatewayCall to fetch.
|
|
1316
|
+
*/
|
|
1317
|
+
where: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
1318
|
+
};
|
|
1319
|
+
/**
|
|
1320
|
+
* NativeGatewayCall findFirst
|
|
1321
|
+
*/
|
|
1322
|
+
export type NativeGatewayCallFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1323
|
+
/**
|
|
1324
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1325
|
+
*/
|
|
1326
|
+
select?: Prisma.NativeGatewayCallSelect<ExtArgs> | null;
|
|
1327
|
+
/**
|
|
1328
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1329
|
+
*/
|
|
1330
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1331
|
+
/**
|
|
1332
|
+
* Choose, which related nodes to fetch as well
|
|
1333
|
+
*/
|
|
1334
|
+
include?: Prisma.NativeGatewayCallInclude<ExtArgs> | null;
|
|
1335
|
+
/**
|
|
1336
|
+
* Filter, which NativeGatewayCall to fetch.
|
|
1337
|
+
*/
|
|
1338
|
+
where?: Prisma.NativeGatewayCallWhereInput;
|
|
1339
|
+
/**
|
|
1340
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1341
|
+
*
|
|
1342
|
+
* Determine the order of NativeGatewayCalls to fetch.
|
|
1343
|
+
*/
|
|
1344
|
+
orderBy?: Prisma.NativeGatewayCallOrderByWithRelationInput | Prisma.NativeGatewayCallOrderByWithRelationInput[];
|
|
1345
|
+
/**
|
|
1346
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1347
|
+
*
|
|
1348
|
+
* Sets the position for searching for NativeGatewayCalls.
|
|
1349
|
+
*/
|
|
1350
|
+
cursor?: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
1351
|
+
/**
|
|
1352
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1353
|
+
*
|
|
1354
|
+
* Take `±n` NativeGatewayCalls from the position of the cursor.
|
|
1355
|
+
*/
|
|
1356
|
+
take?: number;
|
|
1357
|
+
/**
|
|
1358
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1359
|
+
*
|
|
1360
|
+
* Skip the first `n` NativeGatewayCalls.
|
|
1361
|
+
*/
|
|
1362
|
+
skip?: number;
|
|
1363
|
+
/**
|
|
1364
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1365
|
+
*
|
|
1366
|
+
* Filter by unique combinations of NativeGatewayCalls.
|
|
1367
|
+
*/
|
|
1368
|
+
distinct?: Prisma.NativeGatewayCallScalarFieldEnum | Prisma.NativeGatewayCallScalarFieldEnum[];
|
|
1369
|
+
};
|
|
1370
|
+
/**
|
|
1371
|
+
* NativeGatewayCall findFirstOrThrow
|
|
1372
|
+
*/
|
|
1373
|
+
export type NativeGatewayCallFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1374
|
+
/**
|
|
1375
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1376
|
+
*/
|
|
1377
|
+
select?: Prisma.NativeGatewayCallSelect<ExtArgs> | null;
|
|
1378
|
+
/**
|
|
1379
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1380
|
+
*/
|
|
1381
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1382
|
+
/**
|
|
1383
|
+
* Choose, which related nodes to fetch as well
|
|
1384
|
+
*/
|
|
1385
|
+
include?: Prisma.NativeGatewayCallInclude<ExtArgs> | null;
|
|
1386
|
+
/**
|
|
1387
|
+
* Filter, which NativeGatewayCall to fetch.
|
|
1388
|
+
*/
|
|
1389
|
+
where?: Prisma.NativeGatewayCallWhereInput;
|
|
1390
|
+
/**
|
|
1391
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1392
|
+
*
|
|
1393
|
+
* Determine the order of NativeGatewayCalls to fetch.
|
|
1394
|
+
*/
|
|
1395
|
+
orderBy?: Prisma.NativeGatewayCallOrderByWithRelationInput | Prisma.NativeGatewayCallOrderByWithRelationInput[];
|
|
1396
|
+
/**
|
|
1397
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1398
|
+
*
|
|
1399
|
+
* Sets the position for searching for NativeGatewayCalls.
|
|
1400
|
+
*/
|
|
1401
|
+
cursor?: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
1402
|
+
/**
|
|
1403
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1404
|
+
*
|
|
1405
|
+
* Take `±n` NativeGatewayCalls from the position of the cursor.
|
|
1406
|
+
*/
|
|
1407
|
+
take?: number;
|
|
1408
|
+
/**
|
|
1409
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1410
|
+
*
|
|
1411
|
+
* Skip the first `n` NativeGatewayCalls.
|
|
1412
|
+
*/
|
|
1413
|
+
skip?: number;
|
|
1414
|
+
/**
|
|
1415
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1416
|
+
*
|
|
1417
|
+
* Filter by unique combinations of NativeGatewayCalls.
|
|
1418
|
+
*/
|
|
1419
|
+
distinct?: Prisma.NativeGatewayCallScalarFieldEnum | Prisma.NativeGatewayCallScalarFieldEnum[];
|
|
1420
|
+
};
|
|
1421
|
+
/**
|
|
1422
|
+
* NativeGatewayCall findMany
|
|
1423
|
+
*/
|
|
1424
|
+
export type NativeGatewayCallFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1425
|
+
/**
|
|
1426
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1427
|
+
*/
|
|
1428
|
+
select?: Prisma.NativeGatewayCallSelect<ExtArgs> | null;
|
|
1429
|
+
/**
|
|
1430
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1431
|
+
*/
|
|
1432
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1433
|
+
/**
|
|
1434
|
+
* Choose, which related nodes to fetch as well
|
|
1435
|
+
*/
|
|
1436
|
+
include?: Prisma.NativeGatewayCallInclude<ExtArgs> | null;
|
|
1437
|
+
/**
|
|
1438
|
+
* Filter, which NativeGatewayCalls to fetch.
|
|
1439
|
+
*/
|
|
1440
|
+
where?: Prisma.NativeGatewayCallWhereInput;
|
|
1441
|
+
/**
|
|
1442
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1443
|
+
*
|
|
1444
|
+
* Determine the order of NativeGatewayCalls to fetch.
|
|
1445
|
+
*/
|
|
1446
|
+
orderBy?: Prisma.NativeGatewayCallOrderByWithRelationInput | Prisma.NativeGatewayCallOrderByWithRelationInput[];
|
|
1447
|
+
/**
|
|
1448
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1449
|
+
*
|
|
1450
|
+
* Sets the position for listing NativeGatewayCalls.
|
|
1451
|
+
*/
|
|
1452
|
+
cursor?: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
1453
|
+
/**
|
|
1454
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1455
|
+
*
|
|
1456
|
+
* Take `±n` NativeGatewayCalls from the position of the cursor.
|
|
1457
|
+
*/
|
|
1458
|
+
take?: number;
|
|
1459
|
+
/**
|
|
1460
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1461
|
+
*
|
|
1462
|
+
* Skip the first `n` NativeGatewayCalls.
|
|
1463
|
+
*/
|
|
1464
|
+
skip?: number;
|
|
1465
|
+
/**
|
|
1466
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1467
|
+
*
|
|
1468
|
+
* Filter by unique combinations of NativeGatewayCalls.
|
|
1469
|
+
*/
|
|
1470
|
+
distinct?: Prisma.NativeGatewayCallScalarFieldEnum | Prisma.NativeGatewayCallScalarFieldEnum[];
|
|
1471
|
+
};
|
|
1472
|
+
/**
|
|
1473
|
+
* NativeGatewayCall create
|
|
1474
|
+
*/
|
|
1475
|
+
export type NativeGatewayCallCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1476
|
+
/**
|
|
1477
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1478
|
+
*/
|
|
1479
|
+
select?: Prisma.NativeGatewayCallSelect<ExtArgs> | null;
|
|
1480
|
+
/**
|
|
1481
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1482
|
+
*/
|
|
1483
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* Choose, which related nodes to fetch as well
|
|
1486
|
+
*/
|
|
1487
|
+
include?: Prisma.NativeGatewayCallInclude<ExtArgs> | null;
|
|
1488
|
+
/**
|
|
1489
|
+
* The data needed to create a NativeGatewayCall.
|
|
1490
|
+
*/
|
|
1491
|
+
data: Prisma.XOR<Prisma.NativeGatewayCallCreateInput, Prisma.NativeGatewayCallUncheckedCreateInput>;
|
|
1492
|
+
};
|
|
1493
|
+
/**
|
|
1494
|
+
* NativeGatewayCall createMany
|
|
1495
|
+
*/
|
|
1496
|
+
export type NativeGatewayCallCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1497
|
+
/**
|
|
1498
|
+
* The data used to create many NativeGatewayCalls.
|
|
1499
|
+
*/
|
|
1500
|
+
data: Prisma.NativeGatewayCallCreateManyInput | Prisma.NativeGatewayCallCreateManyInput[];
|
|
1501
|
+
skipDuplicates?: boolean;
|
|
1502
|
+
};
|
|
1503
|
+
/**
|
|
1504
|
+
* NativeGatewayCall createManyAndReturn
|
|
1505
|
+
*/
|
|
1506
|
+
export type NativeGatewayCallCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1507
|
+
/**
|
|
1508
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1509
|
+
*/
|
|
1510
|
+
select?: Prisma.NativeGatewayCallSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1511
|
+
/**
|
|
1512
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1513
|
+
*/
|
|
1514
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1515
|
+
/**
|
|
1516
|
+
* The data used to create many NativeGatewayCalls.
|
|
1517
|
+
*/
|
|
1518
|
+
data: Prisma.NativeGatewayCallCreateManyInput | Prisma.NativeGatewayCallCreateManyInput[];
|
|
1519
|
+
skipDuplicates?: boolean;
|
|
1520
|
+
/**
|
|
1521
|
+
* Choose, which related nodes to fetch as well
|
|
1522
|
+
*/
|
|
1523
|
+
include?: Prisma.NativeGatewayCallIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1524
|
+
};
|
|
1525
|
+
/**
|
|
1526
|
+
* NativeGatewayCall update
|
|
1527
|
+
*/
|
|
1528
|
+
export type NativeGatewayCallUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1529
|
+
/**
|
|
1530
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1531
|
+
*/
|
|
1532
|
+
select?: Prisma.NativeGatewayCallSelect<ExtArgs> | null;
|
|
1533
|
+
/**
|
|
1534
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1535
|
+
*/
|
|
1536
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1537
|
+
/**
|
|
1538
|
+
* Choose, which related nodes to fetch as well
|
|
1539
|
+
*/
|
|
1540
|
+
include?: Prisma.NativeGatewayCallInclude<ExtArgs> | null;
|
|
1541
|
+
/**
|
|
1542
|
+
* The data needed to update a NativeGatewayCall.
|
|
1543
|
+
*/
|
|
1544
|
+
data: Prisma.XOR<Prisma.NativeGatewayCallUpdateInput, Prisma.NativeGatewayCallUncheckedUpdateInput>;
|
|
1545
|
+
/**
|
|
1546
|
+
* Choose, which NativeGatewayCall to update.
|
|
1547
|
+
*/
|
|
1548
|
+
where: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
1549
|
+
};
|
|
1550
|
+
/**
|
|
1551
|
+
* NativeGatewayCall updateMany
|
|
1552
|
+
*/
|
|
1553
|
+
export type NativeGatewayCallUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1554
|
+
/**
|
|
1555
|
+
* The data used to update NativeGatewayCalls.
|
|
1556
|
+
*/
|
|
1557
|
+
data: Prisma.XOR<Prisma.NativeGatewayCallUpdateManyMutationInput, Prisma.NativeGatewayCallUncheckedUpdateManyInput>;
|
|
1558
|
+
/**
|
|
1559
|
+
* Filter which NativeGatewayCalls to update
|
|
1560
|
+
*/
|
|
1561
|
+
where?: Prisma.NativeGatewayCallWhereInput;
|
|
1562
|
+
/**
|
|
1563
|
+
* Limit how many NativeGatewayCalls to update.
|
|
1564
|
+
*/
|
|
1565
|
+
limit?: number;
|
|
1566
|
+
};
|
|
1567
|
+
/**
|
|
1568
|
+
* NativeGatewayCall updateManyAndReturn
|
|
1569
|
+
*/
|
|
1570
|
+
export type NativeGatewayCallUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1571
|
+
/**
|
|
1572
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1573
|
+
*/
|
|
1574
|
+
select?: Prisma.NativeGatewayCallSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1575
|
+
/**
|
|
1576
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1577
|
+
*/
|
|
1578
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1579
|
+
/**
|
|
1580
|
+
* The data used to update NativeGatewayCalls.
|
|
1581
|
+
*/
|
|
1582
|
+
data: Prisma.XOR<Prisma.NativeGatewayCallUpdateManyMutationInput, Prisma.NativeGatewayCallUncheckedUpdateManyInput>;
|
|
1583
|
+
/**
|
|
1584
|
+
* Filter which NativeGatewayCalls to update
|
|
1585
|
+
*/
|
|
1586
|
+
where?: Prisma.NativeGatewayCallWhereInput;
|
|
1587
|
+
/**
|
|
1588
|
+
* Limit how many NativeGatewayCalls to update.
|
|
1589
|
+
*/
|
|
1590
|
+
limit?: number;
|
|
1591
|
+
/**
|
|
1592
|
+
* Choose, which related nodes to fetch as well
|
|
1593
|
+
*/
|
|
1594
|
+
include?: Prisma.NativeGatewayCallIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1595
|
+
};
|
|
1596
|
+
/**
|
|
1597
|
+
* NativeGatewayCall upsert
|
|
1598
|
+
*/
|
|
1599
|
+
export type NativeGatewayCallUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1600
|
+
/**
|
|
1601
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1602
|
+
*/
|
|
1603
|
+
select?: Prisma.NativeGatewayCallSelect<ExtArgs> | null;
|
|
1604
|
+
/**
|
|
1605
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1606
|
+
*/
|
|
1607
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1608
|
+
/**
|
|
1609
|
+
* Choose, which related nodes to fetch as well
|
|
1610
|
+
*/
|
|
1611
|
+
include?: Prisma.NativeGatewayCallInclude<ExtArgs> | null;
|
|
1612
|
+
/**
|
|
1613
|
+
* The filter to search for the NativeGatewayCall to update in case it exists.
|
|
1614
|
+
*/
|
|
1615
|
+
where: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
1616
|
+
/**
|
|
1617
|
+
* In case the NativeGatewayCall found by the `where` argument doesn't exist, create a new NativeGatewayCall with this data.
|
|
1618
|
+
*/
|
|
1619
|
+
create: Prisma.XOR<Prisma.NativeGatewayCallCreateInput, Prisma.NativeGatewayCallUncheckedCreateInput>;
|
|
1620
|
+
/**
|
|
1621
|
+
* In case the NativeGatewayCall was found with the provided `where` argument, update it with this data.
|
|
1622
|
+
*/
|
|
1623
|
+
update: Prisma.XOR<Prisma.NativeGatewayCallUpdateInput, Prisma.NativeGatewayCallUncheckedUpdateInput>;
|
|
1624
|
+
};
|
|
1625
|
+
/**
|
|
1626
|
+
* NativeGatewayCall delete
|
|
1627
|
+
*/
|
|
1628
|
+
export type NativeGatewayCallDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1629
|
+
/**
|
|
1630
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1631
|
+
*/
|
|
1632
|
+
select?: Prisma.NativeGatewayCallSelect<ExtArgs> | null;
|
|
1633
|
+
/**
|
|
1634
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1635
|
+
*/
|
|
1636
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1637
|
+
/**
|
|
1638
|
+
* Choose, which related nodes to fetch as well
|
|
1639
|
+
*/
|
|
1640
|
+
include?: Prisma.NativeGatewayCallInclude<ExtArgs> | null;
|
|
1641
|
+
/**
|
|
1642
|
+
* Filter which NativeGatewayCall to delete.
|
|
1643
|
+
*/
|
|
1644
|
+
where: Prisma.NativeGatewayCallWhereUniqueInput;
|
|
1645
|
+
};
|
|
1646
|
+
/**
|
|
1647
|
+
* NativeGatewayCall deleteMany
|
|
1648
|
+
*/
|
|
1649
|
+
export type NativeGatewayCallDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1650
|
+
/**
|
|
1651
|
+
* Filter which NativeGatewayCalls to delete
|
|
1652
|
+
*/
|
|
1653
|
+
where?: Prisma.NativeGatewayCallWhereInput;
|
|
1654
|
+
/**
|
|
1655
|
+
* Limit how many NativeGatewayCalls to delete.
|
|
1656
|
+
*/
|
|
1657
|
+
limit?: number;
|
|
1658
|
+
};
|
|
1659
|
+
/**
|
|
1660
|
+
* NativeGatewayCall without action
|
|
1661
|
+
*/
|
|
1662
|
+
export type NativeGatewayCallDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1663
|
+
/**
|
|
1664
|
+
* Select specific fields to fetch from the NativeGatewayCall
|
|
1665
|
+
*/
|
|
1666
|
+
select?: Prisma.NativeGatewayCallSelect<ExtArgs> | null;
|
|
1667
|
+
/**
|
|
1668
|
+
* Omit specific fields from the NativeGatewayCall
|
|
1669
|
+
*/
|
|
1670
|
+
omit?: Prisma.NativeGatewayCallOmit<ExtArgs> | null;
|
|
1671
|
+
/**
|
|
1672
|
+
* Choose, which related nodes to fetch as well
|
|
1673
|
+
*/
|
|
1674
|
+
include?: Prisma.NativeGatewayCallInclude<ExtArgs> | null;
|
|
1675
|
+
};
|