@wardby/cli 0.7.0 → 0.8.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 +5 -5
- package/README.md +6 -1
- package/deploy/local/docker-compose.quickstart-coding.yml +6 -0
- package/dist/claude-coding-worker/driver.d.ts +12 -0
- package/dist/claude-coding-worker/driver.js +29 -7
- package/dist/claude-coding-worker/main.js +5 -1
- package/dist/claude-coding-worker/sdk.js +17 -1
- package/dist/claude-plugin/command.d.ts +61 -0
- package/dist/claude-plugin/command.js +376 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +2 -1
- package/dist/cli.js +47 -3
- package/dist/coding/code-host.d.ts +16 -0
- package/dist/coding/code-host.js +60 -0
- package/dist/coding/mcp-token.d.ts +12 -0
- package/dist/coding/mcp-token.js +26 -0
- package/dist/coding/protocol.js +2 -0
- package/dist/coding/redact.js +6 -1
- package/dist/coding/transcript/recorder.d.ts +5 -4
- package/dist/coding/transcript/recorder.js +1 -1
- package/dist/coding-worker/debug-trace.d.ts +3 -1
- package/dist/coding-worker/debug-trace.js +4 -2
- package/dist/coding-worker/driver.js +8 -1
- package/dist/coding-worker/main.js +5 -1
- package/dist/coding-worker/mcp-config.d.ts +27 -0
- package/dist/coding-worker/mcp-config.js +32 -0
- package/dist/coding-worker/sdk.d.ts +36 -0
- package/dist/coding-worker/sdk.js +28 -1
- package/dist/coding-worker/types.d.ts +4 -0
- package/dist/config/mcp-call-limit.d.ts +8 -0
- package/dist/config/mcp-call-limit.js +18 -0
- package/dist/config/mcp-servers.d.ts +8 -0
- package/dist/config/mcp-servers.js +12 -0
- package/dist/config/test-simulators.d.ts +10 -0
- package/dist/config/test-simulators.js +28 -0
- package/dist/config/tool-timeout.d.ts +1 -0
- package/dist/config/tool-timeout.js +18 -0
- package/dist/core/coding-mcp.d.ts +36 -0
- package/dist/core/coding-mcp.js +253 -0
- package/dist/core/coding-repository.d.ts +46 -0
- package/dist/core/coding-repository.js +92 -0
- package/dist/core/delegation-slots.d.ts +27 -0
- package/dist/core/delegation-slots.js +44 -0
- package/dist/core/dispatch.d.ts +6 -2
- package/dist/core/dispatch.js +36 -11
- package/dist/core/error-code.js +1 -0
- package/dist/core/grants.d.ts +28 -3
- package/dist/core/grants.js +46 -4
- package/dist/core/host-events.js +7 -3
- package/dist/core/host-status.js +2 -2
- package/dist/core/issue-status.js +4 -3
- package/dist/core/mark-ready.d.ts +1 -1
- package/dist/core/mark-ready.js +1 -1
- package/dist/core/mcp-client/client.d.ts +47 -0
- package/dist/core/mcp-client/client.js +141 -0
- package/dist/core/mcp-client/jsonrpc.d.ts +15 -0
- package/dist/core/mcp-client/jsonrpc.js +54 -0
- package/dist/core/mcp-client/results.d.ts +13 -0
- package/dist/core/mcp-client/results.js +42 -0
- package/dist/core/mcp-servers.d.ts +90 -0
- package/dist/core/mcp-servers.js +230 -0
- package/dist/core/mcp-tools.d.ts +108 -0
- package/dist/core/mcp-tools.js +287 -0
- package/dist/core/merge-order-check.js +38 -19
- package/dist/core/notification-dispatcher.js +2 -1
- package/dist/core/related-pull-requests.js +26 -10
- package/dist/core/review-fix.js +2 -2
- package/dist/core/review-host-tools.js +3 -1
- package/dist/core/runner.d.ts +66 -16
- package/dist/core/runner.js +281 -73
- package/dist/core/secret-broker-config.d.ts +2 -0
- package/dist/core/secret-broker-config.js +1 -1
- package/dist/core/secret-guard.d.ts +5 -2
- package/dist/core/secret-guard.js +22 -7
- package/dist/core/secrets.d.ts +11 -1
- package/dist/core/secrets.js +27 -1
- package/dist/core/serializable-retry.d.ts +18 -0
- package/dist/core/serializable-retry.js +43 -0
- package/dist/core/tool-admin.d.ts +5 -1
- package/dist/core/tool-admin.js +7 -2
- package/dist/core/tool-names.d.ts +13 -0
- package/dist/core/tool-names.js +20 -0
- package/dist/core/webhooks.d.ts +4 -0
- package/dist/core/webhooks.js +68 -49
- package/dist/core/workflow-run-events.js +2 -1
- package/dist/generated/prisma/browser.d.ts +31 -0
- package/dist/generated/prisma/client.d.ts +31 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +50 -50
- package/dist/generated/prisma/internal/class.d.ts +66 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +530 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +75 -2
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +79 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +75 -2
- package/dist/generated/prisma/models/Agent.d.ts +271 -0
- package/dist/generated/prisma/models/AgentMcpServer.d.ts +1412 -0
- package/dist/generated/prisma/models/AgentMcpServer.js +1 -0
- package/dist/generated/prisma/models/AgentRepository.d.ts +40 -1
- package/dist/generated/prisma/models/AuthUser.d.ts +1 -1
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +0 -7
- package/dist/generated/prisma/models/CodingProxySession.d.ts +119 -2
- package/dist/generated/prisma/models/CodingRun.d.ts +76 -1
- package/dist/generated/prisma/models/HostProvider.d.ts +2176 -0
- package/dist/generated/prisma/models/HostProvider.js +1 -0
- package/dist/generated/prisma/models/HostProviderCredential.d.ts +1285 -0
- package/dist/generated/prisma/models/HostProviderCredential.js +1 -0
- package/dist/generated/prisma/models/HostProviderOperation.d.ts +1470 -0
- package/dist/generated/prisma/models/HostProviderOperation.js +1 -0
- package/dist/generated/prisma/models/HostProviderTrustedAccount.d.ts +1145 -0
- package/dist/generated/prisma/models/HostProviderTrustedAccount.js +1 -0
- package/dist/generated/prisma/models/McpServer.d.ts +1500 -0
- package/dist/generated/prisma/models/McpServer.js +1 -0
- package/dist/generated/prisma/models/NativeGatewayCall.d.ts +39 -1
- package/dist/generated/prisma/models/Principal.d.ts +167 -0
- package/dist/generated/prisma/models/ResourceGrant.d.ts +1 -1
- package/dist/generated/prisma/models/Secret.d.ts +387 -0
- package/dist/generated/prisma/models/Tool.d.ts +223 -1
- package/dist/generated/prisma/models.d.ts +6 -0
- package/dist/help/search.js +12 -3
- package/dist/help-index.json +719 -47
- package/dist/import/create.js +16 -1
- package/dist/import/neutral-schema.d.ts +1 -0
- package/dist/import/neutral-schema.js +2 -0
- package/dist/mcp/auth/grants-cli.d.ts +6 -4
- package/dist/mcp/auth/grants-cli.js +42 -3
- package/dist/mcp/auth/resource-server.d.ts +3 -1
- package/dist/mcp/auth/resource-server.js +17 -2
- package/dist/mcp/context.d.ts +3 -0
- package/dist/mcp/index.js +11 -0
- package/dist/mcp/tools/agents.js +100 -15
- package/dist/mcp/tools/grants.js +66 -28
- package/dist/mcp/tools/host-providers.d.ts +2 -0
- package/dist/mcp/tools/host-providers.js +215 -0
- package/dist/mcp/tools/mcp-servers.d.ts +26 -0
- package/dist/mcp/tools/mcp-servers.js +481 -0
- package/dist/mcp/tools/repositories.js +50 -10
- package/dist/mcp/tools/runs.js +178 -18
- package/dist/mcp/tools/secret-elicitation.d.ts +2 -0
- package/dist/mcp/tools/secret-elicitation.js +25 -2
- package/dist/mcp/tools/secrets.js +38 -4
- package/dist/mcp/tools/tools.d.ts +6 -4
- package/dist/mcp/tools/tools.js +40 -8
- package/dist/mcp/tools/trigger.js +28 -6
- package/dist/mcp/transport/http-limits.d.ts +2 -0
- package/dist/mcp/transport/http-limits.js +6 -2
- package/dist/mcp/webhooks/ingress.js +10 -0
- package/dist/native-worker/gateway-server.d.ts +14 -0
- package/dist/native-worker/gateway-server.js +28 -7
- package/dist/native-worker/gateway.d.ts +2 -0
- package/dist/native-worker/gateway.js +5 -1
- package/dist/native-worker/http-server.d.ts +4 -0
- package/dist/native-worker/http-server.js +51 -0
- package/dist/native-worker/ledger.d.ts +6 -2
- package/dist/native-worker/ledger.js +5 -4
- package/dist/native-worker/protocol.d.ts +1 -0
- package/dist/native-worker/protocol.js +4 -1
- package/dist/providers/coding-proxy/capability-hash.d.ts +2 -0
- package/dist/providers/coding-proxy/capability-hash.js +5 -0
- package/dist/providers/coding-proxy/mcp-route.d.ts +34 -0
- package/dist/providers/coding-proxy/mcp-route.js +166 -0
- package/dist/providers/coding-proxy/memory-ledger.d.ts +2 -0
- package/dist/providers/coding-proxy/memory-ledger.js +15 -0
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +1 -0
- package/dist/providers/coding-proxy/prisma-ledger.js +30 -2
- package/dist/providers/coding-proxy/proxy.d.ts +7 -1
- package/dist/providers/coding-proxy/proxy.js +134 -34
- package/dist/providers/coding-proxy/runtime.d.ts +6 -0
- package/dist/providers/coding-proxy/runtime.js +32 -1
- package/dist/providers/coding-proxy/server.d.ts +3 -0
- package/dist/providers/coding-proxy/server.js +10 -0
- package/dist/providers/coding-proxy/types.d.ts +13 -0
- package/dist/providers/executor/composition.js +5 -0
- package/dist/providers/executor/container.d.ts +33 -1
- package/dist/providers/executor/container.js +76 -7
- package/dist/providers/host-tools/invoke.d.ts +37 -0
- package/dist/providers/host-tools/invoke.js +117 -0
- package/dist/providers/host-tools/operations.d.ts +65 -0
- package/dist/providers/host-tools/operations.js +149 -0
- package/dist/providers/host-tools/registry.d.ts +79 -0
- package/dist/providers/host-tools/registry.js +362 -0
- package/dist/providers/host-tools/request-guard.d.ts +17 -0
- package/dist/providers/host-tools/request-guard.js +99 -0
- package/dist/providers/host-tools/self-test.d.ts +64 -0
- package/dist/providers/host-tools/self-test.js +142 -0
- package/dist/providers/jobs/docker-isolation.d.ts +2 -2
- package/dist/providers/jobs/docker-isolation.js +30 -8
- package/dist/providers/jobs/docker.d.ts +8 -0
- package/dist/providers/jobs/docker.js +33 -9
- package/dist/providers/jobs/kubernetes-isolation.d.ts +3 -1
- package/dist/providers/jobs/kubernetes-isolation.js +15 -2
- package/dist/providers/jobs/kubernetes.d.ts +5 -0
- package/dist/providers/jobs/kubernetes.js +6 -1
- package/dist/providers/jobs/types.d.ts +6 -0
- package/dist/providers/review-host/types.d.ts +6 -4
- package/dist/providers/review-host/types.js +1 -1
- package/dist/providers/vcs/git.d.ts +6 -2
- package/dist/providers/vcs/git.js +15 -4
- package/dist/providers/vcs/github.d.ts +2 -71
- package/dist/providers/vcs/github.js +8 -11
- package/dist/providers/vcs/index.d.ts +1 -1
- package/dist/providers/vcs/index.js +1 -1
- package/dist/providers/vcs/remote.d.ts +4 -0
- package/dist/providers/vcs/remote.js +7 -1
- package/dist/providers/vcs/routing.d.ts +12 -6
- package/dist/providers/vcs/routing.js +21 -6
- package/dist/providers/vcs/types.d.ts +71 -3
- package/dist/quickstart/index.d.ts +5 -0
- package/dist/quickstart/index.js +21 -0
- package/dist/quickstart-images.json +1 -1
- package/dist/sandbox/eval-core.d.ts +12 -2
- package/dist/sandbox/eval-core.js +20 -4
- package/dist/sandbox/host-functions.d.ts +4 -0
- package/dist/sandbox/host-functions.js +7 -2
- package/dist/sandbox/limits.d.ts +4 -1
- package/dist/sandbox/limits.js +4 -1
- package/dist/sandbox/run-in-sandbox.d.ts +6 -0
- package/dist/sandbox/run-in-sandbox.js +14 -2
- package/dist/sandbox/safe-fetch.d.ts +2 -0
- package/dist/sandbox/safe-fetch.js +1 -1
- package/dist/sandbox/secret-broker.d.ts +1 -0
- package/dist/sandbox/secret-broker.js +1 -1
- package/dist/sandbox/tool-timeout.d.ts +32 -0
- package/dist/sandbox/tool-timeout.js +52 -0
- package/dist/sandbox/user-tool.d.ts +8 -1
- package/dist/sandbox/user-tool.js +9 -3
- package/dist/viewer/graph.js +2 -1
- package/dist/wardby-bin.js +5 -0
- package/docs/README.md +11 -1
- package/docs/agent-recipes.md +37 -4
- package/docs/architecture-runtime.md +1 -1
- package/docs/claude-code-plugin.md +164 -0
- package/docs/code-review-agents.md +6 -0
- package/docs/coding-agent-setup.md +77 -1
- package/docs/coding-worker-byo-images.md +4 -2
- package/docs/coding-worker-isolation.md +78 -7
- package/docs/debugging-agent-runs.md +242 -0
- package/docs/getting-started-gke.md +5 -4
- package/docs/getting-started-identity-provider.md +43 -37
- package/docs/getting-started.md +8 -0
- package/docs/host-providers.md +294 -0
- package/docs/mcp-servers.md +254 -0
- package/docs/native-sandbox.md +25 -9
- package/docs/security-deployment.md +110 -31
- package/docs/tool-secrets.md +3 -0
- package/docs/viewer-api.md +6 -0
- package/docs/viewer-api.openapi.yml +1 -1
- package/help/admin-viewer.md +4 -0
- package/help/agent-recipes.md +33 -2
- package/help/brokered-secrets.md +3 -0
- package/help/build-claude-code-image.md +1 -1
- package/help/claude-code-run-pane.md +40 -0
- package/help/errors/coding-mcp-pins-unavailable.md +35 -0
- package/help/errors/database-auth-invalid.md +1 -1
- package/help/errors/host-provider-error.md +40 -0
- package/help/errors/host-tool-failed.md +36 -0
- package/help/errors/mcp-call-limit.md +22 -0
- package/help/errors/mcp-call-timeout.md +22 -0
- package/help/errors/mcp-server-auth-failed.md +22 -0
- package/help/errors/mcp-server-credentials-unavailable.md +45 -0
- package/help/errors/mcp-server-error.md +28 -0
- package/help/errors/mcp-server-unreachable.md +22 -0
- package/help/errors/mcp-servers-off.md +21 -0
- package/help/errors/mcp-tool-not-allowed.md +26 -0
- package/help/errors/mcp-tool-removed.md +22 -0
- package/help/errors/mcp-unavailable.md +25 -0
- package/help/errors/native-sandbox-capacity.md +1 -1
- package/help/errors/native-sandbox-deadline-exceeded.md +1 -1
- package/help/errors/native-sandbox-docker-failed.md +1 -1
- package/help/errors/native-sandbox-gateway-error.md +1 -1
- package/help/errors/native-sandbox-gateway-unavailable.md +1 -1
- package/help/errors/native-sandbox-image-not-pinned.md +1 -1
- package/help/errors/native-sandbox-isolation-mismatch.md +1 -1
- package/help/errors/native-sandbox-network-unenforced.md +1 -1
- package/help/errors/native-sandbox-requires-catalog.md +1 -1
- package/help/errors/native-sandbox-unavailable.md +1 -1
- package/help/errors/native-sandbox-warm-delivery-failed.md +1 -1
- package/help/errors/native-sandbox-worker-exited.md +1 -1
- package/help/errors/native-sandbox-worker-lost.md +1 -1
- package/help/errors/native-sandbox-worker-unready.md +1 -1
- package/help/errors/repository-not-listed.md +36 -0
- package/help/errors/repository-required.md +36 -0
- package/help/errors/tool-timeout.md +38 -0
- package/help/host-providers.md +40 -0
- package/help/identity-and-access.md +4 -1
- package/help/mcp-servers.md +73 -0
- package/help/mcp.md +7 -2
- package/help/native-capabilities.md +27 -1
- package/help/native-sandbox.md +1 -1
- package/help/operating-agents.md +16 -0
- package/help/related-pull-requests.md +7 -3
- package/help/repo-instructions-and-skills.md +3 -1
- package/help/resume-runs-locally.md +3 -0
- package/help/stop-run.md +1 -1
- package/help/troubleshooting/coding-workers.md +9 -1
- package/help/troubleshooting/debugging-agent-runs.md +29 -0
- package/package.json +2 -1
- package/prisma/migrations/20261102000000_host_providers/migration.sql +56 -0
- package/prisma/migrations/20261104000000_coding_agent_repository_list/migration.sql +5 -0
- package/prisma/migrations/20261106000000_tool_timeout/migration.sql +4 -0
- package/prisma/migrations/20261107000000_mcp_servers/migration.sql +33 -0
- package/prisma/migrations/20261108000000_coding_mcp/migration.sql +5 -0
- package/prisma/migrations/20261109000000_task_run_index/migration.sql +3 -0
- package/prisma/schema.prisma +159 -14
- package/scripts/git-askpass.sh +1 -1
|
@@ -0,0 +1,1470 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model HostProviderOperation
|
|
5
|
+
* One approved snapshot: the code Wardby runs. `update_tool` changes nothing here until approved again.
|
|
6
|
+
*/
|
|
7
|
+
export type HostProviderOperationModel = runtime.Types.Result.DefaultSelection<Prisma.$HostProviderOperationPayload>;
|
|
8
|
+
export type AggregateHostProviderOperation = {
|
|
9
|
+
_count: HostProviderOperationCountAggregateOutputType | null;
|
|
10
|
+
_avg: HostProviderOperationAvgAggregateOutputType | null;
|
|
11
|
+
_sum: HostProviderOperationSumAggregateOutputType | null;
|
|
12
|
+
_min: HostProviderOperationMinAggregateOutputType | null;
|
|
13
|
+
_max: HostProviderOperationMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type HostProviderOperationAvgAggregateOutputType = {
|
|
16
|
+
timeoutMs: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type HostProviderOperationSumAggregateOutputType = {
|
|
19
|
+
timeoutMs: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type HostProviderOperationMinAggregateOutputType = {
|
|
22
|
+
provider: string | null;
|
|
23
|
+
operation: string | null;
|
|
24
|
+
toolId: string | null;
|
|
25
|
+
code: string | null;
|
|
26
|
+
paramsZod: string | null;
|
|
27
|
+
timeoutMs: number | null;
|
|
28
|
+
approvedById: string | null;
|
|
29
|
+
approvedAt: Date | null;
|
|
30
|
+
};
|
|
31
|
+
export type HostProviderOperationMaxAggregateOutputType = {
|
|
32
|
+
provider: string | null;
|
|
33
|
+
operation: string | null;
|
|
34
|
+
toolId: string | null;
|
|
35
|
+
code: string | null;
|
|
36
|
+
paramsZod: string | null;
|
|
37
|
+
timeoutMs: number | null;
|
|
38
|
+
approvedById: string | null;
|
|
39
|
+
approvedAt: Date | null;
|
|
40
|
+
};
|
|
41
|
+
export type HostProviderOperationCountAggregateOutputType = {
|
|
42
|
+
provider: number;
|
|
43
|
+
operation: number;
|
|
44
|
+
toolId: number;
|
|
45
|
+
code: number;
|
|
46
|
+
paramsZod: number;
|
|
47
|
+
timeoutMs: number;
|
|
48
|
+
approvedById: number;
|
|
49
|
+
approvedAt: number;
|
|
50
|
+
_all: number;
|
|
51
|
+
};
|
|
52
|
+
export type HostProviderOperationAvgAggregateInputType = {
|
|
53
|
+
timeoutMs?: true;
|
|
54
|
+
};
|
|
55
|
+
export type HostProviderOperationSumAggregateInputType = {
|
|
56
|
+
timeoutMs?: true;
|
|
57
|
+
};
|
|
58
|
+
export type HostProviderOperationMinAggregateInputType = {
|
|
59
|
+
provider?: true;
|
|
60
|
+
operation?: true;
|
|
61
|
+
toolId?: true;
|
|
62
|
+
code?: true;
|
|
63
|
+
paramsZod?: true;
|
|
64
|
+
timeoutMs?: true;
|
|
65
|
+
approvedById?: true;
|
|
66
|
+
approvedAt?: true;
|
|
67
|
+
};
|
|
68
|
+
export type HostProviderOperationMaxAggregateInputType = {
|
|
69
|
+
provider?: true;
|
|
70
|
+
operation?: true;
|
|
71
|
+
toolId?: true;
|
|
72
|
+
code?: true;
|
|
73
|
+
paramsZod?: true;
|
|
74
|
+
timeoutMs?: true;
|
|
75
|
+
approvedById?: true;
|
|
76
|
+
approvedAt?: true;
|
|
77
|
+
};
|
|
78
|
+
export type HostProviderOperationCountAggregateInputType = {
|
|
79
|
+
provider?: true;
|
|
80
|
+
operation?: true;
|
|
81
|
+
toolId?: true;
|
|
82
|
+
code?: true;
|
|
83
|
+
paramsZod?: true;
|
|
84
|
+
timeoutMs?: true;
|
|
85
|
+
approvedById?: true;
|
|
86
|
+
approvedAt?: true;
|
|
87
|
+
_all?: true;
|
|
88
|
+
};
|
|
89
|
+
export type HostProviderOperationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
90
|
+
/**
|
|
91
|
+
* Filter which HostProviderOperation to aggregate.
|
|
92
|
+
*/
|
|
93
|
+
where?: Prisma.HostProviderOperationWhereInput;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
96
|
+
*
|
|
97
|
+
* Determine the order of HostProviderOperations to fetch.
|
|
98
|
+
*/
|
|
99
|
+
orderBy?: Prisma.HostProviderOperationOrderByWithRelationInput | Prisma.HostProviderOperationOrderByWithRelationInput[];
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
102
|
+
*
|
|
103
|
+
* Sets the start position
|
|
104
|
+
*/
|
|
105
|
+
cursor?: Prisma.HostProviderOperationWhereUniqueInput;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
108
|
+
*
|
|
109
|
+
* Take `±n` HostProviderOperations from the position of the cursor.
|
|
110
|
+
*/
|
|
111
|
+
take?: number;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
114
|
+
*
|
|
115
|
+
* Skip the first `n` HostProviderOperations.
|
|
116
|
+
*/
|
|
117
|
+
skip?: number;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Count returned HostProviderOperations
|
|
122
|
+
**/
|
|
123
|
+
_count?: true | HostProviderOperationCountAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to average
|
|
128
|
+
**/
|
|
129
|
+
_avg?: HostProviderOperationAvgAggregateInputType;
|
|
130
|
+
/**
|
|
131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
132
|
+
*
|
|
133
|
+
* Select which fields to sum
|
|
134
|
+
**/
|
|
135
|
+
_sum?: HostProviderOperationSumAggregateInputType;
|
|
136
|
+
/**
|
|
137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
138
|
+
*
|
|
139
|
+
* Select which fields to find the minimum value
|
|
140
|
+
**/
|
|
141
|
+
_min?: HostProviderOperationMinAggregateInputType;
|
|
142
|
+
/**
|
|
143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
144
|
+
*
|
|
145
|
+
* Select which fields to find the maximum value
|
|
146
|
+
**/
|
|
147
|
+
_max?: HostProviderOperationMaxAggregateInputType;
|
|
148
|
+
};
|
|
149
|
+
export type GetHostProviderOperationAggregateType<T extends HostProviderOperationAggregateArgs> = {
|
|
150
|
+
[P in keyof T & keyof AggregateHostProviderOperation]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateHostProviderOperation[P]> : Prisma.GetScalarType<T[P], AggregateHostProviderOperation[P]>;
|
|
151
|
+
};
|
|
152
|
+
export type HostProviderOperationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
153
|
+
where?: Prisma.HostProviderOperationWhereInput;
|
|
154
|
+
orderBy?: Prisma.HostProviderOperationOrderByWithAggregationInput | Prisma.HostProviderOperationOrderByWithAggregationInput[];
|
|
155
|
+
by: Prisma.HostProviderOperationScalarFieldEnum[] | Prisma.HostProviderOperationScalarFieldEnum;
|
|
156
|
+
having?: Prisma.HostProviderOperationScalarWhereWithAggregatesInput;
|
|
157
|
+
take?: number;
|
|
158
|
+
skip?: number;
|
|
159
|
+
_count?: HostProviderOperationCountAggregateInputType | true;
|
|
160
|
+
_avg?: HostProviderOperationAvgAggregateInputType;
|
|
161
|
+
_sum?: HostProviderOperationSumAggregateInputType;
|
|
162
|
+
_min?: HostProviderOperationMinAggregateInputType;
|
|
163
|
+
_max?: HostProviderOperationMaxAggregateInputType;
|
|
164
|
+
};
|
|
165
|
+
export type HostProviderOperationGroupByOutputType = {
|
|
166
|
+
provider: string;
|
|
167
|
+
operation: string;
|
|
168
|
+
toolId: string | null;
|
|
169
|
+
code: string;
|
|
170
|
+
paramsZod: string;
|
|
171
|
+
timeoutMs: number | null;
|
|
172
|
+
approvedById: string;
|
|
173
|
+
approvedAt: Date;
|
|
174
|
+
_count: HostProviderOperationCountAggregateOutputType | null;
|
|
175
|
+
_avg: HostProviderOperationAvgAggregateOutputType | null;
|
|
176
|
+
_sum: HostProviderOperationSumAggregateOutputType | null;
|
|
177
|
+
_min: HostProviderOperationMinAggregateOutputType | null;
|
|
178
|
+
_max: HostProviderOperationMaxAggregateOutputType | null;
|
|
179
|
+
};
|
|
180
|
+
export type GetHostProviderOperationGroupByPayload<T extends HostProviderOperationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<HostProviderOperationGroupByOutputType, T['by']> & {
|
|
181
|
+
[P in ((keyof T) & (keyof HostProviderOperationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], HostProviderOperationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], HostProviderOperationGroupByOutputType[P]>;
|
|
182
|
+
}>>;
|
|
183
|
+
export type HostProviderOperationWhereInput = {
|
|
184
|
+
AND?: Prisma.HostProviderOperationWhereInput | Prisma.HostProviderOperationWhereInput[];
|
|
185
|
+
OR?: Prisma.HostProviderOperationWhereInput[];
|
|
186
|
+
NOT?: Prisma.HostProviderOperationWhereInput | Prisma.HostProviderOperationWhereInput[];
|
|
187
|
+
provider?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
188
|
+
operation?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
189
|
+
toolId?: Prisma.StringNullableFilter<"HostProviderOperation"> | string | null;
|
|
190
|
+
code?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
191
|
+
paramsZod?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
192
|
+
timeoutMs?: Prisma.IntNullableFilter<"HostProviderOperation"> | number | null;
|
|
193
|
+
approvedById?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
194
|
+
approvedAt?: Prisma.DateTimeFilter<"HostProviderOperation"> | Date | string;
|
|
195
|
+
hostProvider?: Prisma.XOR<Prisma.HostProviderScalarRelationFilter, Prisma.HostProviderWhereInput>;
|
|
196
|
+
tool?: Prisma.XOR<Prisma.ToolNullableScalarRelationFilter, Prisma.ToolWhereInput> | null;
|
|
197
|
+
};
|
|
198
|
+
export type HostProviderOperationOrderByWithRelationInput = {
|
|
199
|
+
provider?: Prisma.SortOrder;
|
|
200
|
+
operation?: Prisma.SortOrder;
|
|
201
|
+
toolId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
202
|
+
code?: Prisma.SortOrder;
|
|
203
|
+
paramsZod?: Prisma.SortOrder;
|
|
204
|
+
timeoutMs?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
205
|
+
approvedById?: Prisma.SortOrder;
|
|
206
|
+
approvedAt?: Prisma.SortOrder;
|
|
207
|
+
hostProvider?: Prisma.HostProviderOrderByWithRelationInput;
|
|
208
|
+
tool?: Prisma.ToolOrderByWithRelationInput;
|
|
209
|
+
};
|
|
210
|
+
export type HostProviderOperationWhereUniqueInput = Prisma.AtLeast<{
|
|
211
|
+
provider_operation?: Prisma.HostProviderOperationProviderOperationCompoundUniqueInput;
|
|
212
|
+
AND?: Prisma.HostProviderOperationWhereInput | Prisma.HostProviderOperationWhereInput[];
|
|
213
|
+
OR?: Prisma.HostProviderOperationWhereInput[];
|
|
214
|
+
NOT?: Prisma.HostProviderOperationWhereInput | Prisma.HostProviderOperationWhereInput[];
|
|
215
|
+
provider?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
216
|
+
operation?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
217
|
+
toolId?: Prisma.StringNullableFilter<"HostProviderOperation"> | string | null;
|
|
218
|
+
code?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
219
|
+
paramsZod?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
220
|
+
timeoutMs?: Prisma.IntNullableFilter<"HostProviderOperation"> | number | null;
|
|
221
|
+
approvedById?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
222
|
+
approvedAt?: Prisma.DateTimeFilter<"HostProviderOperation"> | Date | string;
|
|
223
|
+
hostProvider?: Prisma.XOR<Prisma.HostProviderScalarRelationFilter, Prisma.HostProviderWhereInput>;
|
|
224
|
+
tool?: Prisma.XOR<Prisma.ToolNullableScalarRelationFilter, Prisma.ToolWhereInput> | null;
|
|
225
|
+
}, "provider_operation">;
|
|
226
|
+
export type HostProviderOperationOrderByWithAggregationInput = {
|
|
227
|
+
provider?: Prisma.SortOrder;
|
|
228
|
+
operation?: Prisma.SortOrder;
|
|
229
|
+
toolId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
230
|
+
code?: Prisma.SortOrder;
|
|
231
|
+
paramsZod?: Prisma.SortOrder;
|
|
232
|
+
timeoutMs?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
233
|
+
approvedById?: Prisma.SortOrder;
|
|
234
|
+
approvedAt?: Prisma.SortOrder;
|
|
235
|
+
_count?: Prisma.HostProviderOperationCountOrderByAggregateInput;
|
|
236
|
+
_avg?: Prisma.HostProviderOperationAvgOrderByAggregateInput;
|
|
237
|
+
_max?: Prisma.HostProviderOperationMaxOrderByAggregateInput;
|
|
238
|
+
_min?: Prisma.HostProviderOperationMinOrderByAggregateInput;
|
|
239
|
+
_sum?: Prisma.HostProviderOperationSumOrderByAggregateInput;
|
|
240
|
+
};
|
|
241
|
+
export type HostProviderOperationScalarWhereWithAggregatesInput = {
|
|
242
|
+
AND?: Prisma.HostProviderOperationScalarWhereWithAggregatesInput | Prisma.HostProviderOperationScalarWhereWithAggregatesInput[];
|
|
243
|
+
OR?: Prisma.HostProviderOperationScalarWhereWithAggregatesInput[];
|
|
244
|
+
NOT?: Prisma.HostProviderOperationScalarWhereWithAggregatesInput | Prisma.HostProviderOperationScalarWhereWithAggregatesInput[];
|
|
245
|
+
provider?: Prisma.StringWithAggregatesFilter<"HostProviderOperation"> | string;
|
|
246
|
+
operation?: Prisma.StringWithAggregatesFilter<"HostProviderOperation"> | string;
|
|
247
|
+
toolId?: Prisma.StringNullableWithAggregatesFilter<"HostProviderOperation"> | string | null;
|
|
248
|
+
code?: Prisma.StringWithAggregatesFilter<"HostProviderOperation"> | string;
|
|
249
|
+
paramsZod?: Prisma.StringWithAggregatesFilter<"HostProviderOperation"> | string;
|
|
250
|
+
timeoutMs?: Prisma.IntNullableWithAggregatesFilter<"HostProviderOperation"> | number | null;
|
|
251
|
+
approvedById?: Prisma.StringWithAggregatesFilter<"HostProviderOperation"> | string;
|
|
252
|
+
approvedAt?: Prisma.DateTimeWithAggregatesFilter<"HostProviderOperation"> | Date | string;
|
|
253
|
+
};
|
|
254
|
+
export type HostProviderOperationCreateInput = {
|
|
255
|
+
operation: string;
|
|
256
|
+
code: string;
|
|
257
|
+
paramsZod: string;
|
|
258
|
+
timeoutMs?: number | null;
|
|
259
|
+
approvedById: string;
|
|
260
|
+
approvedAt?: Date | string;
|
|
261
|
+
hostProvider: Prisma.HostProviderCreateNestedOneWithoutOperationsInput;
|
|
262
|
+
tool?: Prisma.ToolCreateNestedOneWithoutHostProviderOperationsInput;
|
|
263
|
+
};
|
|
264
|
+
export type HostProviderOperationUncheckedCreateInput = {
|
|
265
|
+
provider: string;
|
|
266
|
+
operation: string;
|
|
267
|
+
toolId?: string | null;
|
|
268
|
+
code: string;
|
|
269
|
+
paramsZod: string;
|
|
270
|
+
timeoutMs?: number | null;
|
|
271
|
+
approvedById: string;
|
|
272
|
+
approvedAt?: Date | string;
|
|
273
|
+
};
|
|
274
|
+
export type HostProviderOperationUpdateInput = {
|
|
275
|
+
operation?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
276
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
277
|
+
paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
278
|
+
timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
279
|
+
approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
280
|
+
approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
281
|
+
hostProvider?: Prisma.HostProviderUpdateOneRequiredWithoutOperationsNestedInput;
|
|
282
|
+
tool?: Prisma.ToolUpdateOneWithoutHostProviderOperationsNestedInput;
|
|
283
|
+
};
|
|
284
|
+
export type HostProviderOperationUncheckedUpdateInput = {
|
|
285
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
286
|
+
operation?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
287
|
+
toolId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
288
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
|
+
paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
290
|
+
timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
291
|
+
approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
292
|
+
approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
293
|
+
};
|
|
294
|
+
export type HostProviderOperationCreateManyInput = {
|
|
295
|
+
provider: string;
|
|
296
|
+
operation: string;
|
|
297
|
+
toolId?: string | null;
|
|
298
|
+
code: string;
|
|
299
|
+
paramsZod: string;
|
|
300
|
+
timeoutMs?: number | null;
|
|
301
|
+
approvedById: string;
|
|
302
|
+
approvedAt?: Date | string;
|
|
303
|
+
};
|
|
304
|
+
export type HostProviderOperationUpdateManyMutationInput = {
|
|
305
|
+
operation?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
306
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
307
|
+
paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
308
|
+
timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
309
|
+
approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
310
|
+
approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
311
|
+
};
|
|
312
|
+
export type HostProviderOperationUncheckedUpdateManyInput = {
|
|
313
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
314
|
+
operation?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
315
|
+
toolId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
316
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
317
|
+
paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
318
|
+
timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
319
|
+
approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
320
|
+
approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
321
|
+
};
|
|
322
|
+
export type HostProviderOperationListRelationFilter = {
|
|
323
|
+
every?: Prisma.HostProviderOperationWhereInput;
|
|
324
|
+
some?: Prisma.HostProviderOperationWhereInput;
|
|
325
|
+
none?: Prisma.HostProviderOperationWhereInput;
|
|
326
|
+
};
|
|
327
|
+
export type HostProviderOperationOrderByRelationAggregateInput = {
|
|
328
|
+
_count?: Prisma.SortOrder;
|
|
329
|
+
};
|
|
330
|
+
export type HostProviderOperationProviderOperationCompoundUniqueInput = {
|
|
331
|
+
provider: string;
|
|
332
|
+
operation: string;
|
|
333
|
+
};
|
|
334
|
+
export type HostProviderOperationCountOrderByAggregateInput = {
|
|
335
|
+
provider?: Prisma.SortOrder;
|
|
336
|
+
operation?: Prisma.SortOrder;
|
|
337
|
+
toolId?: Prisma.SortOrder;
|
|
338
|
+
code?: Prisma.SortOrder;
|
|
339
|
+
paramsZod?: Prisma.SortOrder;
|
|
340
|
+
timeoutMs?: Prisma.SortOrder;
|
|
341
|
+
approvedById?: Prisma.SortOrder;
|
|
342
|
+
approvedAt?: Prisma.SortOrder;
|
|
343
|
+
};
|
|
344
|
+
export type HostProviderOperationAvgOrderByAggregateInput = {
|
|
345
|
+
timeoutMs?: Prisma.SortOrder;
|
|
346
|
+
};
|
|
347
|
+
export type HostProviderOperationMaxOrderByAggregateInput = {
|
|
348
|
+
provider?: Prisma.SortOrder;
|
|
349
|
+
operation?: Prisma.SortOrder;
|
|
350
|
+
toolId?: Prisma.SortOrder;
|
|
351
|
+
code?: Prisma.SortOrder;
|
|
352
|
+
paramsZod?: Prisma.SortOrder;
|
|
353
|
+
timeoutMs?: Prisma.SortOrder;
|
|
354
|
+
approvedById?: Prisma.SortOrder;
|
|
355
|
+
approvedAt?: Prisma.SortOrder;
|
|
356
|
+
};
|
|
357
|
+
export type HostProviderOperationMinOrderByAggregateInput = {
|
|
358
|
+
provider?: Prisma.SortOrder;
|
|
359
|
+
operation?: Prisma.SortOrder;
|
|
360
|
+
toolId?: Prisma.SortOrder;
|
|
361
|
+
code?: Prisma.SortOrder;
|
|
362
|
+
paramsZod?: Prisma.SortOrder;
|
|
363
|
+
timeoutMs?: Prisma.SortOrder;
|
|
364
|
+
approvedById?: Prisma.SortOrder;
|
|
365
|
+
approvedAt?: Prisma.SortOrder;
|
|
366
|
+
};
|
|
367
|
+
export type HostProviderOperationSumOrderByAggregateInput = {
|
|
368
|
+
timeoutMs?: Prisma.SortOrder;
|
|
369
|
+
};
|
|
370
|
+
export type HostProviderOperationCreateNestedManyWithoutToolInput = {
|
|
371
|
+
create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput> | Prisma.HostProviderOperationCreateWithoutToolInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutToolInput[];
|
|
372
|
+
connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutToolInput | Prisma.HostProviderOperationCreateOrConnectWithoutToolInput[];
|
|
373
|
+
createMany?: Prisma.HostProviderOperationCreateManyToolInputEnvelope;
|
|
374
|
+
connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
375
|
+
};
|
|
376
|
+
export type HostProviderOperationUncheckedCreateNestedManyWithoutToolInput = {
|
|
377
|
+
create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput> | Prisma.HostProviderOperationCreateWithoutToolInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutToolInput[];
|
|
378
|
+
connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutToolInput | Prisma.HostProviderOperationCreateOrConnectWithoutToolInput[];
|
|
379
|
+
createMany?: Prisma.HostProviderOperationCreateManyToolInputEnvelope;
|
|
380
|
+
connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
381
|
+
};
|
|
382
|
+
export type HostProviderOperationUpdateManyWithoutToolNestedInput = {
|
|
383
|
+
create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput> | Prisma.HostProviderOperationCreateWithoutToolInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutToolInput[];
|
|
384
|
+
connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutToolInput | Prisma.HostProviderOperationCreateOrConnectWithoutToolInput[];
|
|
385
|
+
upsert?: Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutToolInput | Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutToolInput[];
|
|
386
|
+
createMany?: Prisma.HostProviderOperationCreateManyToolInputEnvelope;
|
|
387
|
+
set?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
388
|
+
disconnect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
389
|
+
delete?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
390
|
+
connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
391
|
+
update?: Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutToolInput | Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutToolInput[];
|
|
392
|
+
updateMany?: Prisma.HostProviderOperationUpdateManyWithWhereWithoutToolInput | Prisma.HostProviderOperationUpdateManyWithWhereWithoutToolInput[];
|
|
393
|
+
deleteMany?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
|
|
394
|
+
};
|
|
395
|
+
export type HostProviderOperationUncheckedUpdateManyWithoutToolNestedInput = {
|
|
396
|
+
create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput> | Prisma.HostProviderOperationCreateWithoutToolInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutToolInput[];
|
|
397
|
+
connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutToolInput | Prisma.HostProviderOperationCreateOrConnectWithoutToolInput[];
|
|
398
|
+
upsert?: Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutToolInput | Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutToolInput[];
|
|
399
|
+
createMany?: Prisma.HostProviderOperationCreateManyToolInputEnvelope;
|
|
400
|
+
set?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
401
|
+
disconnect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
402
|
+
delete?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
403
|
+
connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
404
|
+
update?: Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutToolInput | Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutToolInput[];
|
|
405
|
+
updateMany?: Prisma.HostProviderOperationUpdateManyWithWhereWithoutToolInput | Prisma.HostProviderOperationUpdateManyWithWhereWithoutToolInput[];
|
|
406
|
+
deleteMany?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
|
|
407
|
+
};
|
|
408
|
+
export type HostProviderOperationCreateNestedManyWithoutHostProviderInput = {
|
|
409
|
+
create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput> | Prisma.HostProviderOperationCreateWithoutHostProviderInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput[];
|
|
410
|
+
connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput | Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput[];
|
|
411
|
+
createMany?: Prisma.HostProviderOperationCreateManyHostProviderInputEnvelope;
|
|
412
|
+
connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
413
|
+
};
|
|
414
|
+
export type HostProviderOperationUncheckedCreateNestedManyWithoutHostProviderInput = {
|
|
415
|
+
create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput> | Prisma.HostProviderOperationCreateWithoutHostProviderInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput[];
|
|
416
|
+
connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput | Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput[];
|
|
417
|
+
createMany?: Prisma.HostProviderOperationCreateManyHostProviderInputEnvelope;
|
|
418
|
+
connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
419
|
+
};
|
|
420
|
+
export type HostProviderOperationUpdateManyWithoutHostProviderNestedInput = {
|
|
421
|
+
create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput> | Prisma.HostProviderOperationCreateWithoutHostProviderInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput[];
|
|
422
|
+
connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput | Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput[];
|
|
423
|
+
upsert?: Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutHostProviderInput | Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutHostProviderInput[];
|
|
424
|
+
createMany?: Prisma.HostProviderOperationCreateManyHostProviderInputEnvelope;
|
|
425
|
+
set?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
426
|
+
disconnect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
427
|
+
delete?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
428
|
+
connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
429
|
+
update?: Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutHostProviderInput | Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutHostProviderInput[];
|
|
430
|
+
updateMany?: Prisma.HostProviderOperationUpdateManyWithWhereWithoutHostProviderInput | Prisma.HostProviderOperationUpdateManyWithWhereWithoutHostProviderInput[];
|
|
431
|
+
deleteMany?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
|
|
432
|
+
};
|
|
433
|
+
export type HostProviderOperationUncheckedUpdateManyWithoutHostProviderNestedInput = {
|
|
434
|
+
create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput> | Prisma.HostProviderOperationCreateWithoutHostProviderInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput[];
|
|
435
|
+
connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput | Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput[];
|
|
436
|
+
upsert?: Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutHostProviderInput | Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutHostProviderInput[];
|
|
437
|
+
createMany?: Prisma.HostProviderOperationCreateManyHostProviderInputEnvelope;
|
|
438
|
+
set?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
439
|
+
disconnect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
440
|
+
delete?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
441
|
+
connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
|
|
442
|
+
update?: Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutHostProviderInput | Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutHostProviderInput[];
|
|
443
|
+
updateMany?: Prisma.HostProviderOperationUpdateManyWithWhereWithoutHostProviderInput | Prisma.HostProviderOperationUpdateManyWithWhereWithoutHostProviderInput[];
|
|
444
|
+
deleteMany?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
|
|
445
|
+
};
|
|
446
|
+
export type HostProviderOperationCreateWithoutToolInput = {
|
|
447
|
+
operation: string;
|
|
448
|
+
code: string;
|
|
449
|
+
paramsZod: string;
|
|
450
|
+
timeoutMs?: number | null;
|
|
451
|
+
approvedById: string;
|
|
452
|
+
approvedAt?: Date | string;
|
|
453
|
+
hostProvider: Prisma.HostProviderCreateNestedOneWithoutOperationsInput;
|
|
454
|
+
};
|
|
455
|
+
export type HostProviderOperationUncheckedCreateWithoutToolInput = {
|
|
456
|
+
provider: string;
|
|
457
|
+
operation: string;
|
|
458
|
+
code: string;
|
|
459
|
+
paramsZod: string;
|
|
460
|
+
timeoutMs?: number | null;
|
|
461
|
+
approvedById: string;
|
|
462
|
+
approvedAt?: Date | string;
|
|
463
|
+
};
|
|
464
|
+
export type HostProviderOperationCreateOrConnectWithoutToolInput = {
|
|
465
|
+
where: Prisma.HostProviderOperationWhereUniqueInput;
|
|
466
|
+
create: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput>;
|
|
467
|
+
};
|
|
468
|
+
export type HostProviderOperationCreateManyToolInputEnvelope = {
|
|
469
|
+
data: Prisma.HostProviderOperationCreateManyToolInput | Prisma.HostProviderOperationCreateManyToolInput[];
|
|
470
|
+
skipDuplicates?: boolean;
|
|
471
|
+
};
|
|
472
|
+
export type HostProviderOperationUpsertWithWhereUniqueWithoutToolInput = {
|
|
473
|
+
where: Prisma.HostProviderOperationWhereUniqueInput;
|
|
474
|
+
update: Prisma.XOR<Prisma.HostProviderOperationUpdateWithoutToolInput, Prisma.HostProviderOperationUncheckedUpdateWithoutToolInput>;
|
|
475
|
+
create: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput>;
|
|
476
|
+
};
|
|
477
|
+
export type HostProviderOperationUpdateWithWhereUniqueWithoutToolInput = {
|
|
478
|
+
where: Prisma.HostProviderOperationWhereUniqueInput;
|
|
479
|
+
data: Prisma.XOR<Prisma.HostProviderOperationUpdateWithoutToolInput, Prisma.HostProviderOperationUncheckedUpdateWithoutToolInput>;
|
|
480
|
+
};
|
|
481
|
+
export type HostProviderOperationUpdateManyWithWhereWithoutToolInput = {
|
|
482
|
+
where: Prisma.HostProviderOperationScalarWhereInput;
|
|
483
|
+
data: Prisma.XOR<Prisma.HostProviderOperationUpdateManyMutationInput, Prisma.HostProviderOperationUncheckedUpdateManyWithoutToolInput>;
|
|
484
|
+
};
|
|
485
|
+
export type HostProviderOperationScalarWhereInput = {
|
|
486
|
+
AND?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
|
|
487
|
+
OR?: Prisma.HostProviderOperationScalarWhereInput[];
|
|
488
|
+
NOT?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
|
|
489
|
+
provider?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
490
|
+
operation?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
491
|
+
toolId?: Prisma.StringNullableFilter<"HostProviderOperation"> | string | null;
|
|
492
|
+
code?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
493
|
+
paramsZod?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
494
|
+
timeoutMs?: Prisma.IntNullableFilter<"HostProviderOperation"> | number | null;
|
|
495
|
+
approvedById?: Prisma.StringFilter<"HostProviderOperation"> | string;
|
|
496
|
+
approvedAt?: Prisma.DateTimeFilter<"HostProviderOperation"> | Date | string;
|
|
497
|
+
};
|
|
498
|
+
export type HostProviderOperationCreateWithoutHostProviderInput = {
|
|
499
|
+
operation: string;
|
|
500
|
+
code: string;
|
|
501
|
+
paramsZod: string;
|
|
502
|
+
timeoutMs?: number | null;
|
|
503
|
+
approvedById: string;
|
|
504
|
+
approvedAt?: Date | string;
|
|
505
|
+
tool?: Prisma.ToolCreateNestedOneWithoutHostProviderOperationsInput;
|
|
506
|
+
};
|
|
507
|
+
export type HostProviderOperationUncheckedCreateWithoutHostProviderInput = {
|
|
508
|
+
operation: string;
|
|
509
|
+
toolId?: string | null;
|
|
510
|
+
code: string;
|
|
511
|
+
paramsZod: string;
|
|
512
|
+
timeoutMs?: number | null;
|
|
513
|
+
approvedById: string;
|
|
514
|
+
approvedAt?: Date | string;
|
|
515
|
+
};
|
|
516
|
+
export type HostProviderOperationCreateOrConnectWithoutHostProviderInput = {
|
|
517
|
+
where: Prisma.HostProviderOperationWhereUniqueInput;
|
|
518
|
+
create: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput>;
|
|
519
|
+
};
|
|
520
|
+
export type HostProviderOperationCreateManyHostProviderInputEnvelope = {
|
|
521
|
+
data: Prisma.HostProviderOperationCreateManyHostProviderInput | Prisma.HostProviderOperationCreateManyHostProviderInput[];
|
|
522
|
+
skipDuplicates?: boolean;
|
|
523
|
+
};
|
|
524
|
+
export type HostProviderOperationUpsertWithWhereUniqueWithoutHostProviderInput = {
|
|
525
|
+
where: Prisma.HostProviderOperationWhereUniqueInput;
|
|
526
|
+
update: Prisma.XOR<Prisma.HostProviderOperationUpdateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedUpdateWithoutHostProviderInput>;
|
|
527
|
+
create: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput>;
|
|
528
|
+
};
|
|
529
|
+
export type HostProviderOperationUpdateWithWhereUniqueWithoutHostProviderInput = {
|
|
530
|
+
where: Prisma.HostProviderOperationWhereUniqueInput;
|
|
531
|
+
data: Prisma.XOR<Prisma.HostProviderOperationUpdateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedUpdateWithoutHostProviderInput>;
|
|
532
|
+
};
|
|
533
|
+
export type HostProviderOperationUpdateManyWithWhereWithoutHostProviderInput = {
|
|
534
|
+
where: Prisma.HostProviderOperationScalarWhereInput;
|
|
535
|
+
data: Prisma.XOR<Prisma.HostProviderOperationUpdateManyMutationInput, Prisma.HostProviderOperationUncheckedUpdateManyWithoutHostProviderInput>;
|
|
536
|
+
};
|
|
537
|
+
export type HostProviderOperationCreateManyToolInput = {
|
|
538
|
+
provider: string;
|
|
539
|
+
operation: string;
|
|
540
|
+
code: string;
|
|
541
|
+
paramsZod: string;
|
|
542
|
+
timeoutMs?: number | null;
|
|
543
|
+
approvedById: string;
|
|
544
|
+
approvedAt?: Date | string;
|
|
545
|
+
};
|
|
546
|
+
export type HostProviderOperationUpdateWithoutToolInput = {
|
|
547
|
+
operation?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
548
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
549
|
+
paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
550
|
+
timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
551
|
+
approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
552
|
+
approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
553
|
+
hostProvider?: Prisma.HostProviderUpdateOneRequiredWithoutOperationsNestedInput;
|
|
554
|
+
};
|
|
555
|
+
export type HostProviderOperationUncheckedUpdateWithoutToolInput = {
|
|
556
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
557
|
+
operation?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
558
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
559
|
+
paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
560
|
+
timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
561
|
+
approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
562
|
+
approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
563
|
+
};
|
|
564
|
+
export type HostProviderOperationUncheckedUpdateManyWithoutToolInput = {
|
|
565
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
566
|
+
operation?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
567
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
568
|
+
paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
569
|
+
timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
570
|
+
approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
571
|
+
approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
572
|
+
};
|
|
573
|
+
export type HostProviderOperationCreateManyHostProviderInput = {
|
|
574
|
+
operation: string;
|
|
575
|
+
toolId?: string | null;
|
|
576
|
+
code: string;
|
|
577
|
+
paramsZod: string;
|
|
578
|
+
timeoutMs?: number | null;
|
|
579
|
+
approvedById: string;
|
|
580
|
+
approvedAt?: Date | string;
|
|
581
|
+
};
|
|
582
|
+
export type HostProviderOperationUpdateWithoutHostProviderInput = {
|
|
583
|
+
operation?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
584
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
585
|
+
paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
586
|
+
timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
587
|
+
approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
588
|
+
approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
589
|
+
tool?: Prisma.ToolUpdateOneWithoutHostProviderOperationsNestedInput;
|
|
590
|
+
};
|
|
591
|
+
export type HostProviderOperationUncheckedUpdateWithoutHostProviderInput = {
|
|
592
|
+
operation?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
593
|
+
toolId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
594
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
595
|
+
paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
596
|
+
timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
597
|
+
approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
598
|
+
approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
599
|
+
};
|
|
600
|
+
export type HostProviderOperationUncheckedUpdateManyWithoutHostProviderInput = {
|
|
601
|
+
operation?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
602
|
+
toolId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
603
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
604
|
+
paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
605
|
+
timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
606
|
+
approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
607
|
+
approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
608
|
+
};
|
|
609
|
+
export type HostProviderOperationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
610
|
+
provider?: boolean;
|
|
611
|
+
operation?: boolean;
|
|
612
|
+
toolId?: boolean;
|
|
613
|
+
code?: boolean;
|
|
614
|
+
paramsZod?: boolean;
|
|
615
|
+
timeoutMs?: boolean;
|
|
616
|
+
approvedById?: boolean;
|
|
617
|
+
approvedAt?: boolean;
|
|
618
|
+
hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
|
|
619
|
+
tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
|
|
620
|
+
}, ExtArgs["result"]["hostProviderOperation"]>;
|
|
621
|
+
export type HostProviderOperationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
622
|
+
provider?: boolean;
|
|
623
|
+
operation?: boolean;
|
|
624
|
+
toolId?: boolean;
|
|
625
|
+
code?: boolean;
|
|
626
|
+
paramsZod?: boolean;
|
|
627
|
+
timeoutMs?: boolean;
|
|
628
|
+
approvedById?: boolean;
|
|
629
|
+
approvedAt?: boolean;
|
|
630
|
+
hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
|
|
631
|
+
tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
|
|
632
|
+
}, ExtArgs["result"]["hostProviderOperation"]>;
|
|
633
|
+
export type HostProviderOperationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
634
|
+
provider?: boolean;
|
|
635
|
+
operation?: boolean;
|
|
636
|
+
toolId?: boolean;
|
|
637
|
+
code?: boolean;
|
|
638
|
+
paramsZod?: boolean;
|
|
639
|
+
timeoutMs?: boolean;
|
|
640
|
+
approvedById?: boolean;
|
|
641
|
+
approvedAt?: boolean;
|
|
642
|
+
hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
|
|
643
|
+
tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
|
|
644
|
+
}, ExtArgs["result"]["hostProviderOperation"]>;
|
|
645
|
+
export type HostProviderOperationSelectScalar = {
|
|
646
|
+
provider?: boolean;
|
|
647
|
+
operation?: boolean;
|
|
648
|
+
toolId?: boolean;
|
|
649
|
+
code?: boolean;
|
|
650
|
+
paramsZod?: boolean;
|
|
651
|
+
timeoutMs?: boolean;
|
|
652
|
+
approvedById?: boolean;
|
|
653
|
+
approvedAt?: boolean;
|
|
654
|
+
};
|
|
655
|
+
export type HostProviderOperationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"provider" | "operation" | "toolId" | "code" | "paramsZod" | "timeoutMs" | "approvedById" | "approvedAt", ExtArgs["result"]["hostProviderOperation"]>;
|
|
656
|
+
export type HostProviderOperationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
657
|
+
hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
|
|
658
|
+
tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
|
|
659
|
+
};
|
|
660
|
+
export type HostProviderOperationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
661
|
+
hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
|
|
662
|
+
tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
|
|
663
|
+
};
|
|
664
|
+
export type HostProviderOperationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
665
|
+
hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
|
|
666
|
+
tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
|
|
667
|
+
};
|
|
668
|
+
export type $HostProviderOperationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
669
|
+
name: "HostProviderOperation";
|
|
670
|
+
objects: {
|
|
671
|
+
hostProvider: Prisma.$HostProviderPayload<ExtArgs>;
|
|
672
|
+
tool: Prisma.$ToolPayload<ExtArgs> | null;
|
|
673
|
+
};
|
|
674
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
675
|
+
provider: string;
|
|
676
|
+
operation: string;
|
|
677
|
+
/**
|
|
678
|
+
* The tool it was copied from. Null once that tool is deleted; the snapshot keeps working.
|
|
679
|
+
*/
|
|
680
|
+
toolId: string | null;
|
|
681
|
+
code: string;
|
|
682
|
+
paramsZod: string;
|
|
683
|
+
/**
|
|
684
|
+
* The tool's timeoutMs when it was approved; null = the default limit.
|
|
685
|
+
*/
|
|
686
|
+
timeoutMs: number | null;
|
|
687
|
+
approvedById: string;
|
|
688
|
+
approvedAt: Date;
|
|
689
|
+
}, ExtArgs["result"]["hostProviderOperation"]>;
|
|
690
|
+
composites: {};
|
|
691
|
+
};
|
|
692
|
+
export type HostProviderOperationGetPayload<S extends boolean | null | undefined | HostProviderOperationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload, S>;
|
|
693
|
+
export type HostProviderOperationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<HostProviderOperationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
694
|
+
select?: HostProviderOperationCountAggregateInputType | true;
|
|
695
|
+
};
|
|
696
|
+
export interface HostProviderOperationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
697
|
+
[K: symbol]: {
|
|
698
|
+
types: Prisma.TypeMap<ExtArgs>['model']['HostProviderOperation'];
|
|
699
|
+
meta: {
|
|
700
|
+
name: 'HostProviderOperation';
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
/**
|
|
704
|
+
* Find zero or one HostProviderOperation that matches the filter.
|
|
705
|
+
* @param {HostProviderOperationFindUniqueArgs} args - Arguments to find a HostProviderOperation
|
|
706
|
+
* @example
|
|
707
|
+
* // Get one HostProviderOperation
|
|
708
|
+
* const hostProviderOperation = await prisma.hostProviderOperation.findUnique({
|
|
709
|
+
* where: {
|
|
710
|
+
* // ... provide filter here
|
|
711
|
+
* }
|
|
712
|
+
* })
|
|
713
|
+
*/
|
|
714
|
+
findUnique<T extends HostProviderOperationFindUniqueArgs>(args: Prisma.SelectSubset<T, HostProviderOperationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
715
|
+
/**
|
|
716
|
+
* Find one HostProviderOperation that matches the filter or throw an error with `error.code='P2025'`
|
|
717
|
+
* if no matches were found.
|
|
718
|
+
* @param {HostProviderOperationFindUniqueOrThrowArgs} args - Arguments to find a HostProviderOperation
|
|
719
|
+
* @example
|
|
720
|
+
* // Get one HostProviderOperation
|
|
721
|
+
* const hostProviderOperation = await prisma.hostProviderOperation.findUniqueOrThrow({
|
|
722
|
+
* where: {
|
|
723
|
+
* // ... provide filter here
|
|
724
|
+
* }
|
|
725
|
+
* })
|
|
726
|
+
*/
|
|
727
|
+
findUniqueOrThrow<T extends HostProviderOperationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HostProviderOperationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
728
|
+
/**
|
|
729
|
+
* Find the first HostProviderOperation that matches the filter.
|
|
730
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
731
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
732
|
+
* @param {HostProviderOperationFindFirstArgs} args - Arguments to find a HostProviderOperation
|
|
733
|
+
* @example
|
|
734
|
+
* // Get one HostProviderOperation
|
|
735
|
+
* const hostProviderOperation = await prisma.hostProviderOperation.findFirst({
|
|
736
|
+
* where: {
|
|
737
|
+
* // ... provide filter here
|
|
738
|
+
* }
|
|
739
|
+
* })
|
|
740
|
+
*/
|
|
741
|
+
findFirst<T extends HostProviderOperationFindFirstArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationFindFirstArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
742
|
+
/**
|
|
743
|
+
* Find the first HostProviderOperation that matches the filter or
|
|
744
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
745
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
746
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
747
|
+
* @param {HostProviderOperationFindFirstOrThrowArgs} args - Arguments to find a HostProviderOperation
|
|
748
|
+
* @example
|
|
749
|
+
* // Get one HostProviderOperation
|
|
750
|
+
* const hostProviderOperation = await prisma.hostProviderOperation.findFirstOrThrow({
|
|
751
|
+
* where: {
|
|
752
|
+
* // ... provide filter here
|
|
753
|
+
* }
|
|
754
|
+
* })
|
|
755
|
+
*/
|
|
756
|
+
findFirstOrThrow<T extends HostProviderOperationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
757
|
+
/**
|
|
758
|
+
* Find zero or more HostProviderOperations that matches the filter.
|
|
759
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
760
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
761
|
+
* @param {HostProviderOperationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
762
|
+
* @example
|
|
763
|
+
* // Get all HostProviderOperations
|
|
764
|
+
* const hostProviderOperations = await prisma.hostProviderOperation.findMany()
|
|
765
|
+
*
|
|
766
|
+
* // Get first 10 HostProviderOperations
|
|
767
|
+
* const hostProviderOperations = await prisma.hostProviderOperation.findMany({ take: 10 })
|
|
768
|
+
*
|
|
769
|
+
* // Only select the `provider`
|
|
770
|
+
* const hostProviderOperationWithProviderOnly = await prisma.hostProviderOperation.findMany({ select: { provider: true } })
|
|
771
|
+
*
|
|
772
|
+
*/
|
|
773
|
+
findMany<T extends HostProviderOperationFindManyArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
774
|
+
/**
|
|
775
|
+
* Create a HostProviderOperation.
|
|
776
|
+
* @param {HostProviderOperationCreateArgs} args - Arguments to create a HostProviderOperation.
|
|
777
|
+
* @example
|
|
778
|
+
* // Create one HostProviderOperation
|
|
779
|
+
* const HostProviderOperation = await prisma.hostProviderOperation.create({
|
|
780
|
+
* data: {
|
|
781
|
+
* // ... data to create a HostProviderOperation
|
|
782
|
+
* }
|
|
783
|
+
* })
|
|
784
|
+
*
|
|
785
|
+
*/
|
|
786
|
+
create<T extends HostProviderOperationCreateArgs>(args: Prisma.SelectSubset<T, HostProviderOperationCreateArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
787
|
+
/**
|
|
788
|
+
* Create many HostProviderOperations.
|
|
789
|
+
* @param {HostProviderOperationCreateManyArgs} args - Arguments to create many HostProviderOperations.
|
|
790
|
+
* @example
|
|
791
|
+
* // Create many HostProviderOperations
|
|
792
|
+
* const hostProviderOperation = await prisma.hostProviderOperation.createMany({
|
|
793
|
+
* data: [
|
|
794
|
+
* // ... provide data here
|
|
795
|
+
* ]
|
|
796
|
+
* })
|
|
797
|
+
*
|
|
798
|
+
*/
|
|
799
|
+
createMany<T extends HostProviderOperationCreateManyArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
800
|
+
/**
|
|
801
|
+
* Create many HostProviderOperations and returns the data saved in the database.
|
|
802
|
+
* @param {HostProviderOperationCreateManyAndReturnArgs} args - Arguments to create many HostProviderOperations.
|
|
803
|
+
* @example
|
|
804
|
+
* // Create many HostProviderOperations
|
|
805
|
+
* const hostProviderOperation = await prisma.hostProviderOperation.createManyAndReturn({
|
|
806
|
+
* data: [
|
|
807
|
+
* // ... provide data here
|
|
808
|
+
* ]
|
|
809
|
+
* })
|
|
810
|
+
*
|
|
811
|
+
* // Create many HostProviderOperations and only return the `provider`
|
|
812
|
+
* const hostProviderOperationWithProviderOnly = await prisma.hostProviderOperation.createManyAndReturn({
|
|
813
|
+
* select: { provider: true },
|
|
814
|
+
* data: [
|
|
815
|
+
* // ... provide data here
|
|
816
|
+
* ]
|
|
817
|
+
* })
|
|
818
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
819
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
820
|
+
*
|
|
821
|
+
*/
|
|
822
|
+
createManyAndReturn<T extends HostProviderOperationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
823
|
+
/**
|
|
824
|
+
* Delete a HostProviderOperation.
|
|
825
|
+
* @param {HostProviderOperationDeleteArgs} args - Arguments to delete one HostProviderOperation.
|
|
826
|
+
* @example
|
|
827
|
+
* // Delete one HostProviderOperation
|
|
828
|
+
* const HostProviderOperation = await prisma.hostProviderOperation.delete({
|
|
829
|
+
* where: {
|
|
830
|
+
* // ... filter to delete one HostProviderOperation
|
|
831
|
+
* }
|
|
832
|
+
* })
|
|
833
|
+
*
|
|
834
|
+
*/
|
|
835
|
+
delete<T extends HostProviderOperationDeleteArgs>(args: Prisma.SelectSubset<T, HostProviderOperationDeleteArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
836
|
+
/**
|
|
837
|
+
* Update one HostProviderOperation.
|
|
838
|
+
* @param {HostProviderOperationUpdateArgs} args - Arguments to update one HostProviderOperation.
|
|
839
|
+
* @example
|
|
840
|
+
* // Update one HostProviderOperation
|
|
841
|
+
* const hostProviderOperation = await prisma.hostProviderOperation.update({
|
|
842
|
+
* where: {
|
|
843
|
+
* // ... provide filter here
|
|
844
|
+
* },
|
|
845
|
+
* data: {
|
|
846
|
+
* // ... provide data here
|
|
847
|
+
* }
|
|
848
|
+
* })
|
|
849
|
+
*
|
|
850
|
+
*/
|
|
851
|
+
update<T extends HostProviderOperationUpdateArgs>(args: Prisma.SelectSubset<T, HostProviderOperationUpdateArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
852
|
+
/**
|
|
853
|
+
* Delete zero or more HostProviderOperations.
|
|
854
|
+
* @param {HostProviderOperationDeleteManyArgs} args - Arguments to filter HostProviderOperations to delete.
|
|
855
|
+
* @example
|
|
856
|
+
* // Delete a few HostProviderOperations
|
|
857
|
+
* const { count } = await prisma.hostProviderOperation.deleteMany({
|
|
858
|
+
* where: {
|
|
859
|
+
* // ... provide filter here
|
|
860
|
+
* }
|
|
861
|
+
* })
|
|
862
|
+
*
|
|
863
|
+
*/
|
|
864
|
+
deleteMany<T extends HostProviderOperationDeleteManyArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
865
|
+
/**
|
|
866
|
+
* Update zero or more HostProviderOperations.
|
|
867
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
868
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
869
|
+
* @param {HostProviderOperationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
870
|
+
* @example
|
|
871
|
+
* // Update many HostProviderOperations
|
|
872
|
+
* const hostProviderOperation = await prisma.hostProviderOperation.updateMany({
|
|
873
|
+
* where: {
|
|
874
|
+
* // ... provide filter here
|
|
875
|
+
* },
|
|
876
|
+
* data: {
|
|
877
|
+
* // ... provide data here
|
|
878
|
+
* }
|
|
879
|
+
* })
|
|
880
|
+
*
|
|
881
|
+
*/
|
|
882
|
+
updateMany<T extends HostProviderOperationUpdateManyArgs>(args: Prisma.SelectSubset<T, HostProviderOperationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
883
|
+
/**
|
|
884
|
+
* Update zero or more HostProviderOperations and returns the data updated in the database.
|
|
885
|
+
* @param {HostProviderOperationUpdateManyAndReturnArgs} args - Arguments to update many HostProviderOperations.
|
|
886
|
+
* @example
|
|
887
|
+
* // Update many HostProviderOperations
|
|
888
|
+
* const hostProviderOperation = await prisma.hostProviderOperation.updateManyAndReturn({
|
|
889
|
+
* where: {
|
|
890
|
+
* // ... provide filter here
|
|
891
|
+
* },
|
|
892
|
+
* data: [
|
|
893
|
+
* // ... provide data here
|
|
894
|
+
* ]
|
|
895
|
+
* })
|
|
896
|
+
*
|
|
897
|
+
* // Update zero or more HostProviderOperations and only return the `provider`
|
|
898
|
+
* const hostProviderOperationWithProviderOnly = await prisma.hostProviderOperation.updateManyAndReturn({
|
|
899
|
+
* select: { provider: true },
|
|
900
|
+
* where: {
|
|
901
|
+
* // ... provide filter here
|
|
902
|
+
* },
|
|
903
|
+
* data: [
|
|
904
|
+
* // ... provide data here
|
|
905
|
+
* ]
|
|
906
|
+
* })
|
|
907
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
908
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
909
|
+
*
|
|
910
|
+
*/
|
|
911
|
+
updateManyAndReturn<T extends HostProviderOperationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HostProviderOperationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
912
|
+
/**
|
|
913
|
+
* Create or update one HostProviderOperation.
|
|
914
|
+
* @param {HostProviderOperationUpsertArgs} args - Arguments to update or create a HostProviderOperation.
|
|
915
|
+
* @example
|
|
916
|
+
* // Update or create a HostProviderOperation
|
|
917
|
+
* const hostProviderOperation = await prisma.hostProviderOperation.upsert({
|
|
918
|
+
* create: {
|
|
919
|
+
* // ... data to create a HostProviderOperation
|
|
920
|
+
* },
|
|
921
|
+
* update: {
|
|
922
|
+
* // ... in case it already exists, update
|
|
923
|
+
* },
|
|
924
|
+
* where: {
|
|
925
|
+
* // ... the filter for the HostProviderOperation we want to update
|
|
926
|
+
* }
|
|
927
|
+
* })
|
|
928
|
+
*/
|
|
929
|
+
upsert<T extends HostProviderOperationUpsertArgs>(args: Prisma.SelectSubset<T, HostProviderOperationUpsertArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
930
|
+
/**
|
|
931
|
+
* Count the number of HostProviderOperations.
|
|
932
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
933
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
934
|
+
* @param {HostProviderOperationCountArgs} args - Arguments to filter HostProviderOperations to count.
|
|
935
|
+
* @example
|
|
936
|
+
* // Count the number of HostProviderOperations
|
|
937
|
+
* const count = await prisma.hostProviderOperation.count({
|
|
938
|
+
* where: {
|
|
939
|
+
* // ... the filter for the HostProviderOperations we want to count
|
|
940
|
+
* }
|
|
941
|
+
* })
|
|
942
|
+
**/
|
|
943
|
+
count<T extends HostProviderOperationCountArgs>(args?: Prisma.Subset<T, HostProviderOperationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], HostProviderOperationCountAggregateOutputType> : number>;
|
|
944
|
+
/**
|
|
945
|
+
* Allows you to perform aggregations operations on a HostProviderOperation.
|
|
946
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
947
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
948
|
+
* @param {HostProviderOperationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
949
|
+
* @example
|
|
950
|
+
* // Ordered by age ascending
|
|
951
|
+
* // Where email contains prisma.io
|
|
952
|
+
* // Limited to the 10 users
|
|
953
|
+
* const aggregations = await prisma.user.aggregate({
|
|
954
|
+
* _avg: {
|
|
955
|
+
* age: true,
|
|
956
|
+
* },
|
|
957
|
+
* where: {
|
|
958
|
+
* email: {
|
|
959
|
+
* contains: "prisma.io",
|
|
960
|
+
* },
|
|
961
|
+
* },
|
|
962
|
+
* orderBy: {
|
|
963
|
+
* age: "asc",
|
|
964
|
+
* },
|
|
965
|
+
* take: 10,
|
|
966
|
+
* })
|
|
967
|
+
**/
|
|
968
|
+
aggregate<T extends HostProviderOperationAggregateArgs>(args: Prisma.Subset<T, HostProviderOperationAggregateArgs>): Prisma.PrismaPromise<GetHostProviderOperationAggregateType<T>>;
|
|
969
|
+
/**
|
|
970
|
+
* Group by HostProviderOperation.
|
|
971
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
972
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
973
|
+
* @param {HostProviderOperationGroupByArgs} args - Group by arguments.
|
|
974
|
+
* @example
|
|
975
|
+
* // Group by city, order by createdAt, get count
|
|
976
|
+
* const result = await prisma.user.groupBy({
|
|
977
|
+
* by: ['city', 'createdAt'],
|
|
978
|
+
* orderBy: {
|
|
979
|
+
* createdAt: true
|
|
980
|
+
* },
|
|
981
|
+
* _count: {
|
|
982
|
+
* _all: true
|
|
983
|
+
* },
|
|
984
|
+
* })
|
|
985
|
+
*
|
|
986
|
+
**/
|
|
987
|
+
groupBy<T extends HostProviderOperationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
988
|
+
orderBy: HostProviderOperationGroupByArgs['orderBy'];
|
|
989
|
+
} : {
|
|
990
|
+
orderBy?: HostProviderOperationGroupByArgs['orderBy'];
|
|
991
|
+
}, 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 ? {
|
|
992
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
993
|
+
Error,
|
|
994
|
+
'Field ',
|
|
995
|
+
P,
|
|
996
|
+
` in "having" needs to be provided in "by"`
|
|
997
|
+
];
|
|
998
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
999
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1000
|
+
}[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 ? {} : {
|
|
1001
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1002
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1003
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1004
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, HostProviderOperationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHostProviderOperationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Fields of the HostProviderOperation model
|
|
1007
|
+
*/
|
|
1008
|
+
readonly fields: HostProviderOperationFieldRefs;
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
* The delegate class that acts as a "Promise-like" for HostProviderOperation.
|
|
1012
|
+
* Why is this prefixed with `Prisma__`?
|
|
1013
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1014
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1015
|
+
*/
|
|
1016
|
+
export interface Prisma__HostProviderOperationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1017
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1018
|
+
hostProvider<T extends Prisma.HostProviderDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HostProviderDefaultArgs<ExtArgs>>): Prisma.Prisma__HostProviderClient<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1019
|
+
tool<T extends Prisma.HostProviderOperation$toolArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HostProviderOperation$toolArgs<ExtArgs>>): Prisma.Prisma__ToolClient<runtime.Types.Result.GetResult<Prisma.$ToolPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1022
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1023
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1024
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1025
|
+
*/
|
|
1026
|
+
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>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1029
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1030
|
+
* @returns A Promise for the completion of the callback.
|
|
1031
|
+
*/
|
|
1032
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1033
|
+
/**
|
|
1034
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1035
|
+
* resolved value cannot be modified from the callback.
|
|
1036
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1037
|
+
* @returns A Promise for the completion of the callback.
|
|
1038
|
+
*/
|
|
1039
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1040
|
+
}
|
|
1041
|
+
/**
|
|
1042
|
+
* Fields of the HostProviderOperation model
|
|
1043
|
+
*/
|
|
1044
|
+
export interface HostProviderOperationFieldRefs {
|
|
1045
|
+
readonly provider: Prisma.FieldRef<"HostProviderOperation", 'String'>;
|
|
1046
|
+
readonly operation: Prisma.FieldRef<"HostProviderOperation", 'String'>;
|
|
1047
|
+
readonly toolId: Prisma.FieldRef<"HostProviderOperation", 'String'>;
|
|
1048
|
+
readonly code: Prisma.FieldRef<"HostProviderOperation", 'String'>;
|
|
1049
|
+
readonly paramsZod: Prisma.FieldRef<"HostProviderOperation", 'String'>;
|
|
1050
|
+
readonly timeoutMs: Prisma.FieldRef<"HostProviderOperation", 'Int'>;
|
|
1051
|
+
readonly approvedById: Prisma.FieldRef<"HostProviderOperation", 'String'>;
|
|
1052
|
+
readonly approvedAt: Prisma.FieldRef<"HostProviderOperation", 'DateTime'>;
|
|
1053
|
+
}
|
|
1054
|
+
/**
|
|
1055
|
+
* HostProviderOperation findUnique
|
|
1056
|
+
*/
|
|
1057
|
+
export type HostProviderOperationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1058
|
+
/**
|
|
1059
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1060
|
+
*/
|
|
1061
|
+
select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
|
|
1062
|
+
/**
|
|
1063
|
+
* Omit specific fields from the HostProviderOperation
|
|
1064
|
+
*/
|
|
1065
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1066
|
+
/**
|
|
1067
|
+
* Choose, which related nodes to fetch as well
|
|
1068
|
+
*/
|
|
1069
|
+
include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Filter, which HostProviderOperation to fetch.
|
|
1072
|
+
*/
|
|
1073
|
+
where: Prisma.HostProviderOperationWhereUniqueInput;
|
|
1074
|
+
};
|
|
1075
|
+
/**
|
|
1076
|
+
* HostProviderOperation findUniqueOrThrow
|
|
1077
|
+
*/
|
|
1078
|
+
export type HostProviderOperationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1079
|
+
/**
|
|
1080
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1081
|
+
*/
|
|
1082
|
+
select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
|
|
1083
|
+
/**
|
|
1084
|
+
* Omit specific fields from the HostProviderOperation
|
|
1085
|
+
*/
|
|
1086
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1087
|
+
/**
|
|
1088
|
+
* Choose, which related nodes to fetch as well
|
|
1089
|
+
*/
|
|
1090
|
+
include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
|
|
1091
|
+
/**
|
|
1092
|
+
* Filter, which HostProviderOperation to fetch.
|
|
1093
|
+
*/
|
|
1094
|
+
where: Prisma.HostProviderOperationWhereUniqueInput;
|
|
1095
|
+
};
|
|
1096
|
+
/**
|
|
1097
|
+
* HostProviderOperation findFirst
|
|
1098
|
+
*/
|
|
1099
|
+
export type HostProviderOperationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1100
|
+
/**
|
|
1101
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1102
|
+
*/
|
|
1103
|
+
select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
|
|
1104
|
+
/**
|
|
1105
|
+
* Omit specific fields from the HostProviderOperation
|
|
1106
|
+
*/
|
|
1107
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1108
|
+
/**
|
|
1109
|
+
* Choose, which related nodes to fetch as well
|
|
1110
|
+
*/
|
|
1111
|
+
include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
|
|
1112
|
+
/**
|
|
1113
|
+
* Filter, which HostProviderOperation to fetch.
|
|
1114
|
+
*/
|
|
1115
|
+
where?: Prisma.HostProviderOperationWhereInput;
|
|
1116
|
+
/**
|
|
1117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1118
|
+
*
|
|
1119
|
+
* Determine the order of HostProviderOperations to fetch.
|
|
1120
|
+
*/
|
|
1121
|
+
orderBy?: Prisma.HostProviderOperationOrderByWithRelationInput | Prisma.HostProviderOperationOrderByWithRelationInput[];
|
|
1122
|
+
/**
|
|
1123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1124
|
+
*
|
|
1125
|
+
* Sets the position for searching for HostProviderOperations.
|
|
1126
|
+
*/
|
|
1127
|
+
cursor?: Prisma.HostProviderOperationWhereUniqueInput;
|
|
1128
|
+
/**
|
|
1129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1130
|
+
*
|
|
1131
|
+
* Take `±n` HostProviderOperations from the position of the cursor.
|
|
1132
|
+
*/
|
|
1133
|
+
take?: number;
|
|
1134
|
+
/**
|
|
1135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1136
|
+
*
|
|
1137
|
+
* Skip the first `n` HostProviderOperations.
|
|
1138
|
+
*/
|
|
1139
|
+
skip?: number;
|
|
1140
|
+
/**
|
|
1141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1142
|
+
*
|
|
1143
|
+
* Filter by unique combinations of HostProviderOperations.
|
|
1144
|
+
*/
|
|
1145
|
+
distinct?: Prisma.HostProviderOperationScalarFieldEnum | Prisma.HostProviderOperationScalarFieldEnum[];
|
|
1146
|
+
};
|
|
1147
|
+
/**
|
|
1148
|
+
* HostProviderOperation findFirstOrThrow
|
|
1149
|
+
*/
|
|
1150
|
+
export type HostProviderOperationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1151
|
+
/**
|
|
1152
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1153
|
+
*/
|
|
1154
|
+
select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
|
|
1155
|
+
/**
|
|
1156
|
+
* Omit specific fields from the HostProviderOperation
|
|
1157
|
+
*/
|
|
1158
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1159
|
+
/**
|
|
1160
|
+
* Choose, which related nodes to fetch as well
|
|
1161
|
+
*/
|
|
1162
|
+
include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
|
|
1163
|
+
/**
|
|
1164
|
+
* Filter, which HostProviderOperation to fetch.
|
|
1165
|
+
*/
|
|
1166
|
+
where?: Prisma.HostProviderOperationWhereInput;
|
|
1167
|
+
/**
|
|
1168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1169
|
+
*
|
|
1170
|
+
* Determine the order of HostProviderOperations to fetch.
|
|
1171
|
+
*/
|
|
1172
|
+
orderBy?: Prisma.HostProviderOperationOrderByWithRelationInput | Prisma.HostProviderOperationOrderByWithRelationInput[];
|
|
1173
|
+
/**
|
|
1174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1175
|
+
*
|
|
1176
|
+
* Sets the position for searching for HostProviderOperations.
|
|
1177
|
+
*/
|
|
1178
|
+
cursor?: Prisma.HostProviderOperationWhereUniqueInput;
|
|
1179
|
+
/**
|
|
1180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1181
|
+
*
|
|
1182
|
+
* Take `±n` HostProviderOperations from the position of the cursor.
|
|
1183
|
+
*/
|
|
1184
|
+
take?: number;
|
|
1185
|
+
/**
|
|
1186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1187
|
+
*
|
|
1188
|
+
* Skip the first `n` HostProviderOperations.
|
|
1189
|
+
*/
|
|
1190
|
+
skip?: number;
|
|
1191
|
+
/**
|
|
1192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1193
|
+
*
|
|
1194
|
+
* Filter by unique combinations of HostProviderOperations.
|
|
1195
|
+
*/
|
|
1196
|
+
distinct?: Prisma.HostProviderOperationScalarFieldEnum | Prisma.HostProviderOperationScalarFieldEnum[];
|
|
1197
|
+
};
|
|
1198
|
+
/**
|
|
1199
|
+
* HostProviderOperation findMany
|
|
1200
|
+
*/
|
|
1201
|
+
export type HostProviderOperationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1202
|
+
/**
|
|
1203
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1204
|
+
*/
|
|
1205
|
+
select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
|
|
1206
|
+
/**
|
|
1207
|
+
* Omit specific fields from the HostProviderOperation
|
|
1208
|
+
*/
|
|
1209
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1210
|
+
/**
|
|
1211
|
+
* Choose, which related nodes to fetch as well
|
|
1212
|
+
*/
|
|
1213
|
+
include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
|
|
1214
|
+
/**
|
|
1215
|
+
* Filter, which HostProviderOperations to fetch.
|
|
1216
|
+
*/
|
|
1217
|
+
where?: Prisma.HostProviderOperationWhereInput;
|
|
1218
|
+
/**
|
|
1219
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1220
|
+
*
|
|
1221
|
+
* Determine the order of HostProviderOperations to fetch.
|
|
1222
|
+
*/
|
|
1223
|
+
orderBy?: Prisma.HostProviderOperationOrderByWithRelationInput | Prisma.HostProviderOperationOrderByWithRelationInput[];
|
|
1224
|
+
/**
|
|
1225
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1226
|
+
*
|
|
1227
|
+
* Sets the position for listing HostProviderOperations.
|
|
1228
|
+
*/
|
|
1229
|
+
cursor?: Prisma.HostProviderOperationWhereUniqueInput;
|
|
1230
|
+
/**
|
|
1231
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1232
|
+
*
|
|
1233
|
+
* Take `±n` HostProviderOperations from the position of the cursor.
|
|
1234
|
+
*/
|
|
1235
|
+
take?: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1238
|
+
*
|
|
1239
|
+
* Skip the first `n` HostProviderOperations.
|
|
1240
|
+
*/
|
|
1241
|
+
skip?: number;
|
|
1242
|
+
/**
|
|
1243
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1244
|
+
*
|
|
1245
|
+
* Filter by unique combinations of HostProviderOperations.
|
|
1246
|
+
*/
|
|
1247
|
+
distinct?: Prisma.HostProviderOperationScalarFieldEnum | Prisma.HostProviderOperationScalarFieldEnum[];
|
|
1248
|
+
};
|
|
1249
|
+
/**
|
|
1250
|
+
* HostProviderOperation create
|
|
1251
|
+
*/
|
|
1252
|
+
export type HostProviderOperationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1253
|
+
/**
|
|
1254
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1255
|
+
*/
|
|
1256
|
+
select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* Omit specific fields from the HostProviderOperation
|
|
1259
|
+
*/
|
|
1260
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* Choose, which related nodes to fetch as well
|
|
1263
|
+
*/
|
|
1264
|
+
include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
|
|
1265
|
+
/**
|
|
1266
|
+
* The data needed to create a HostProviderOperation.
|
|
1267
|
+
*/
|
|
1268
|
+
data: Prisma.XOR<Prisma.HostProviderOperationCreateInput, Prisma.HostProviderOperationUncheckedCreateInput>;
|
|
1269
|
+
};
|
|
1270
|
+
/**
|
|
1271
|
+
* HostProviderOperation createMany
|
|
1272
|
+
*/
|
|
1273
|
+
export type HostProviderOperationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1274
|
+
/**
|
|
1275
|
+
* The data used to create many HostProviderOperations.
|
|
1276
|
+
*/
|
|
1277
|
+
data: Prisma.HostProviderOperationCreateManyInput | Prisma.HostProviderOperationCreateManyInput[];
|
|
1278
|
+
skipDuplicates?: boolean;
|
|
1279
|
+
};
|
|
1280
|
+
/**
|
|
1281
|
+
* HostProviderOperation createManyAndReturn
|
|
1282
|
+
*/
|
|
1283
|
+
export type HostProviderOperationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1284
|
+
/**
|
|
1285
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1286
|
+
*/
|
|
1287
|
+
select?: Prisma.HostProviderOperationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1288
|
+
/**
|
|
1289
|
+
* Omit specific fields from the HostProviderOperation
|
|
1290
|
+
*/
|
|
1291
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1292
|
+
/**
|
|
1293
|
+
* The data used to create many HostProviderOperations.
|
|
1294
|
+
*/
|
|
1295
|
+
data: Prisma.HostProviderOperationCreateManyInput | Prisma.HostProviderOperationCreateManyInput[];
|
|
1296
|
+
skipDuplicates?: boolean;
|
|
1297
|
+
/**
|
|
1298
|
+
* Choose, which related nodes to fetch as well
|
|
1299
|
+
*/
|
|
1300
|
+
include?: Prisma.HostProviderOperationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1301
|
+
};
|
|
1302
|
+
/**
|
|
1303
|
+
* HostProviderOperation update
|
|
1304
|
+
*/
|
|
1305
|
+
export type HostProviderOperationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1306
|
+
/**
|
|
1307
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1308
|
+
*/
|
|
1309
|
+
select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
|
|
1310
|
+
/**
|
|
1311
|
+
* Omit specific fields from the HostProviderOperation
|
|
1312
|
+
*/
|
|
1313
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1314
|
+
/**
|
|
1315
|
+
* Choose, which related nodes to fetch as well
|
|
1316
|
+
*/
|
|
1317
|
+
include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
|
|
1318
|
+
/**
|
|
1319
|
+
* The data needed to update a HostProviderOperation.
|
|
1320
|
+
*/
|
|
1321
|
+
data: Prisma.XOR<Prisma.HostProviderOperationUpdateInput, Prisma.HostProviderOperationUncheckedUpdateInput>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Choose, which HostProviderOperation to update.
|
|
1324
|
+
*/
|
|
1325
|
+
where: Prisma.HostProviderOperationWhereUniqueInput;
|
|
1326
|
+
};
|
|
1327
|
+
/**
|
|
1328
|
+
* HostProviderOperation updateMany
|
|
1329
|
+
*/
|
|
1330
|
+
export type HostProviderOperationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1331
|
+
/**
|
|
1332
|
+
* The data used to update HostProviderOperations.
|
|
1333
|
+
*/
|
|
1334
|
+
data: Prisma.XOR<Prisma.HostProviderOperationUpdateManyMutationInput, Prisma.HostProviderOperationUncheckedUpdateManyInput>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Filter which HostProviderOperations to update
|
|
1337
|
+
*/
|
|
1338
|
+
where?: Prisma.HostProviderOperationWhereInput;
|
|
1339
|
+
/**
|
|
1340
|
+
* Limit how many HostProviderOperations to update.
|
|
1341
|
+
*/
|
|
1342
|
+
limit?: number;
|
|
1343
|
+
};
|
|
1344
|
+
/**
|
|
1345
|
+
* HostProviderOperation updateManyAndReturn
|
|
1346
|
+
*/
|
|
1347
|
+
export type HostProviderOperationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1348
|
+
/**
|
|
1349
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1350
|
+
*/
|
|
1351
|
+
select?: Prisma.HostProviderOperationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1352
|
+
/**
|
|
1353
|
+
* Omit specific fields from the HostProviderOperation
|
|
1354
|
+
*/
|
|
1355
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1356
|
+
/**
|
|
1357
|
+
* The data used to update HostProviderOperations.
|
|
1358
|
+
*/
|
|
1359
|
+
data: Prisma.XOR<Prisma.HostProviderOperationUpdateManyMutationInput, Prisma.HostProviderOperationUncheckedUpdateManyInput>;
|
|
1360
|
+
/**
|
|
1361
|
+
* Filter which HostProviderOperations to update
|
|
1362
|
+
*/
|
|
1363
|
+
where?: Prisma.HostProviderOperationWhereInput;
|
|
1364
|
+
/**
|
|
1365
|
+
* Limit how many HostProviderOperations to update.
|
|
1366
|
+
*/
|
|
1367
|
+
limit?: number;
|
|
1368
|
+
/**
|
|
1369
|
+
* Choose, which related nodes to fetch as well
|
|
1370
|
+
*/
|
|
1371
|
+
include?: Prisma.HostProviderOperationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1372
|
+
};
|
|
1373
|
+
/**
|
|
1374
|
+
* HostProviderOperation upsert
|
|
1375
|
+
*/
|
|
1376
|
+
export type HostProviderOperationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1377
|
+
/**
|
|
1378
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1379
|
+
*/
|
|
1380
|
+
select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
|
|
1381
|
+
/**
|
|
1382
|
+
* Omit specific fields from the HostProviderOperation
|
|
1383
|
+
*/
|
|
1384
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1385
|
+
/**
|
|
1386
|
+
* Choose, which related nodes to fetch as well
|
|
1387
|
+
*/
|
|
1388
|
+
include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
|
|
1389
|
+
/**
|
|
1390
|
+
* The filter to search for the HostProviderOperation to update in case it exists.
|
|
1391
|
+
*/
|
|
1392
|
+
where: Prisma.HostProviderOperationWhereUniqueInput;
|
|
1393
|
+
/**
|
|
1394
|
+
* In case the HostProviderOperation found by the `where` argument doesn't exist, create a new HostProviderOperation with this data.
|
|
1395
|
+
*/
|
|
1396
|
+
create: Prisma.XOR<Prisma.HostProviderOperationCreateInput, Prisma.HostProviderOperationUncheckedCreateInput>;
|
|
1397
|
+
/**
|
|
1398
|
+
* In case the HostProviderOperation was found with the provided `where` argument, update it with this data.
|
|
1399
|
+
*/
|
|
1400
|
+
update: Prisma.XOR<Prisma.HostProviderOperationUpdateInput, Prisma.HostProviderOperationUncheckedUpdateInput>;
|
|
1401
|
+
};
|
|
1402
|
+
/**
|
|
1403
|
+
* HostProviderOperation delete
|
|
1404
|
+
*/
|
|
1405
|
+
export type HostProviderOperationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1406
|
+
/**
|
|
1407
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1408
|
+
*/
|
|
1409
|
+
select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
|
|
1410
|
+
/**
|
|
1411
|
+
* Omit specific fields from the HostProviderOperation
|
|
1412
|
+
*/
|
|
1413
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1414
|
+
/**
|
|
1415
|
+
* Choose, which related nodes to fetch as well
|
|
1416
|
+
*/
|
|
1417
|
+
include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
|
|
1418
|
+
/**
|
|
1419
|
+
* Filter which HostProviderOperation to delete.
|
|
1420
|
+
*/
|
|
1421
|
+
where: Prisma.HostProviderOperationWhereUniqueInput;
|
|
1422
|
+
};
|
|
1423
|
+
/**
|
|
1424
|
+
* HostProviderOperation deleteMany
|
|
1425
|
+
*/
|
|
1426
|
+
export type HostProviderOperationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1427
|
+
/**
|
|
1428
|
+
* Filter which HostProviderOperations to delete
|
|
1429
|
+
*/
|
|
1430
|
+
where?: Prisma.HostProviderOperationWhereInput;
|
|
1431
|
+
/**
|
|
1432
|
+
* Limit how many HostProviderOperations to delete.
|
|
1433
|
+
*/
|
|
1434
|
+
limit?: number;
|
|
1435
|
+
};
|
|
1436
|
+
/**
|
|
1437
|
+
* HostProviderOperation.tool
|
|
1438
|
+
*/
|
|
1439
|
+
export type HostProviderOperation$toolArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1440
|
+
/**
|
|
1441
|
+
* Select specific fields to fetch from the Tool
|
|
1442
|
+
*/
|
|
1443
|
+
select?: Prisma.ToolSelect<ExtArgs> | null;
|
|
1444
|
+
/**
|
|
1445
|
+
* Omit specific fields from the Tool
|
|
1446
|
+
*/
|
|
1447
|
+
omit?: Prisma.ToolOmit<ExtArgs> | null;
|
|
1448
|
+
/**
|
|
1449
|
+
* Choose, which related nodes to fetch as well
|
|
1450
|
+
*/
|
|
1451
|
+
include?: Prisma.ToolInclude<ExtArgs> | null;
|
|
1452
|
+
where?: Prisma.ToolWhereInput;
|
|
1453
|
+
};
|
|
1454
|
+
/**
|
|
1455
|
+
* HostProviderOperation without action
|
|
1456
|
+
*/
|
|
1457
|
+
export type HostProviderOperationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1458
|
+
/**
|
|
1459
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
1460
|
+
*/
|
|
1461
|
+
select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
|
|
1462
|
+
/**
|
|
1463
|
+
* Omit specific fields from the HostProviderOperation
|
|
1464
|
+
*/
|
|
1465
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
1466
|
+
/**
|
|
1467
|
+
* Choose, which related nodes to fetch as well
|
|
1468
|
+
*/
|
|
1469
|
+
include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
|
|
1470
|
+
};
|