@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,2176 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model HostProvider
|
|
5
|
+
* A code host implemented by operator-approved custom tools (docs/host-providers.md).
|
|
6
|
+
* `name` is the prefix of its repository ids: `<name>:<workspace>/<repo>`. Holds no secret values.
|
|
7
|
+
*/
|
|
8
|
+
export type HostProviderModel = runtime.Types.Result.DefaultSelection<Prisma.$HostProviderPayload>;
|
|
9
|
+
export type AggregateHostProvider = {
|
|
10
|
+
_count: HostProviderCountAggregateOutputType | null;
|
|
11
|
+
_avg: HostProviderAvgAggregateOutputType | null;
|
|
12
|
+
_sum: HostProviderSumAggregateOutputType | null;
|
|
13
|
+
_min: HostProviderMinAggregateOutputType | null;
|
|
14
|
+
_max: HostProviderMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type HostProviderAvgAggregateOutputType = {
|
|
17
|
+
contractVersion: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type HostProviderSumAggregateOutputType = {
|
|
20
|
+
contractVersion: number | null;
|
|
21
|
+
};
|
|
22
|
+
export type HostProviderMinAggregateOutputType = {
|
|
23
|
+
name: string | null;
|
|
24
|
+
contractVersion: number | null;
|
|
25
|
+
gitHost: string | null;
|
|
26
|
+
gitUsername: string | null;
|
|
27
|
+
pullRequestUrlTemplate: string | null;
|
|
28
|
+
repositoryApiPath: string | null;
|
|
29
|
+
permissionApiPath: string | null;
|
|
30
|
+
webhookSecretId: string | null;
|
|
31
|
+
permissionSecretId: string | null;
|
|
32
|
+
createdById: string | null;
|
|
33
|
+
createdAt: Date | null;
|
|
34
|
+
updatedAt: Date | null;
|
|
35
|
+
};
|
|
36
|
+
export type HostProviderMaxAggregateOutputType = {
|
|
37
|
+
name: string | null;
|
|
38
|
+
contractVersion: number | null;
|
|
39
|
+
gitHost: string | null;
|
|
40
|
+
gitUsername: string | null;
|
|
41
|
+
pullRequestUrlTemplate: string | null;
|
|
42
|
+
repositoryApiPath: string | null;
|
|
43
|
+
permissionApiPath: string | null;
|
|
44
|
+
webhookSecretId: string | null;
|
|
45
|
+
permissionSecretId: string | null;
|
|
46
|
+
createdById: string | null;
|
|
47
|
+
createdAt: Date | null;
|
|
48
|
+
updatedAt: Date | null;
|
|
49
|
+
};
|
|
50
|
+
export type HostProviderCountAggregateOutputType = {
|
|
51
|
+
name: number;
|
|
52
|
+
contractVersion: number;
|
|
53
|
+
gitHost: number;
|
|
54
|
+
apiHosts: number;
|
|
55
|
+
gitUsername: number;
|
|
56
|
+
pullRequestUrlTemplate: number;
|
|
57
|
+
repositoryApiPath: number;
|
|
58
|
+
permissionApiPath: number;
|
|
59
|
+
webhook: number;
|
|
60
|
+
webhookSecretId: number;
|
|
61
|
+
permissionSecretId: number;
|
|
62
|
+
createdById: number;
|
|
63
|
+
createdAt: number;
|
|
64
|
+
updatedAt: number;
|
|
65
|
+
_all: number;
|
|
66
|
+
};
|
|
67
|
+
export type HostProviderAvgAggregateInputType = {
|
|
68
|
+
contractVersion?: true;
|
|
69
|
+
};
|
|
70
|
+
export type HostProviderSumAggregateInputType = {
|
|
71
|
+
contractVersion?: true;
|
|
72
|
+
};
|
|
73
|
+
export type HostProviderMinAggregateInputType = {
|
|
74
|
+
name?: true;
|
|
75
|
+
contractVersion?: true;
|
|
76
|
+
gitHost?: true;
|
|
77
|
+
gitUsername?: true;
|
|
78
|
+
pullRequestUrlTemplate?: true;
|
|
79
|
+
repositoryApiPath?: true;
|
|
80
|
+
permissionApiPath?: true;
|
|
81
|
+
webhookSecretId?: true;
|
|
82
|
+
permissionSecretId?: true;
|
|
83
|
+
createdById?: true;
|
|
84
|
+
createdAt?: true;
|
|
85
|
+
updatedAt?: true;
|
|
86
|
+
};
|
|
87
|
+
export type HostProviderMaxAggregateInputType = {
|
|
88
|
+
name?: true;
|
|
89
|
+
contractVersion?: true;
|
|
90
|
+
gitHost?: true;
|
|
91
|
+
gitUsername?: true;
|
|
92
|
+
pullRequestUrlTemplate?: true;
|
|
93
|
+
repositoryApiPath?: true;
|
|
94
|
+
permissionApiPath?: true;
|
|
95
|
+
webhookSecretId?: true;
|
|
96
|
+
permissionSecretId?: true;
|
|
97
|
+
createdById?: true;
|
|
98
|
+
createdAt?: true;
|
|
99
|
+
updatedAt?: true;
|
|
100
|
+
};
|
|
101
|
+
export type HostProviderCountAggregateInputType = {
|
|
102
|
+
name?: true;
|
|
103
|
+
contractVersion?: true;
|
|
104
|
+
gitHost?: true;
|
|
105
|
+
apiHosts?: true;
|
|
106
|
+
gitUsername?: true;
|
|
107
|
+
pullRequestUrlTemplate?: true;
|
|
108
|
+
repositoryApiPath?: true;
|
|
109
|
+
permissionApiPath?: true;
|
|
110
|
+
webhook?: true;
|
|
111
|
+
webhookSecretId?: true;
|
|
112
|
+
permissionSecretId?: true;
|
|
113
|
+
createdById?: true;
|
|
114
|
+
createdAt?: true;
|
|
115
|
+
updatedAt?: true;
|
|
116
|
+
_all?: true;
|
|
117
|
+
};
|
|
118
|
+
export type HostProviderAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
119
|
+
/**
|
|
120
|
+
* Filter which HostProvider to aggregate.
|
|
121
|
+
*/
|
|
122
|
+
where?: Prisma.HostProviderWhereInput;
|
|
123
|
+
/**
|
|
124
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
125
|
+
*
|
|
126
|
+
* Determine the order of HostProviders to fetch.
|
|
127
|
+
*/
|
|
128
|
+
orderBy?: Prisma.HostProviderOrderByWithRelationInput | Prisma.HostProviderOrderByWithRelationInput[];
|
|
129
|
+
/**
|
|
130
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
131
|
+
*
|
|
132
|
+
* Sets the start position
|
|
133
|
+
*/
|
|
134
|
+
cursor?: Prisma.HostProviderWhereUniqueInput;
|
|
135
|
+
/**
|
|
136
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
137
|
+
*
|
|
138
|
+
* Take `±n` HostProviders from the position of the cursor.
|
|
139
|
+
*/
|
|
140
|
+
take?: number;
|
|
141
|
+
/**
|
|
142
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
143
|
+
*
|
|
144
|
+
* Skip the first `n` HostProviders.
|
|
145
|
+
*/
|
|
146
|
+
skip?: number;
|
|
147
|
+
/**
|
|
148
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
149
|
+
*
|
|
150
|
+
* Count returned HostProviders
|
|
151
|
+
**/
|
|
152
|
+
_count?: true | HostProviderCountAggregateInputType;
|
|
153
|
+
/**
|
|
154
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
155
|
+
*
|
|
156
|
+
* Select which fields to average
|
|
157
|
+
**/
|
|
158
|
+
_avg?: HostProviderAvgAggregateInputType;
|
|
159
|
+
/**
|
|
160
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
161
|
+
*
|
|
162
|
+
* Select which fields to sum
|
|
163
|
+
**/
|
|
164
|
+
_sum?: HostProviderSumAggregateInputType;
|
|
165
|
+
/**
|
|
166
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
167
|
+
*
|
|
168
|
+
* Select which fields to find the minimum value
|
|
169
|
+
**/
|
|
170
|
+
_min?: HostProviderMinAggregateInputType;
|
|
171
|
+
/**
|
|
172
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
173
|
+
*
|
|
174
|
+
* Select which fields to find the maximum value
|
|
175
|
+
**/
|
|
176
|
+
_max?: HostProviderMaxAggregateInputType;
|
|
177
|
+
};
|
|
178
|
+
export type GetHostProviderAggregateType<T extends HostProviderAggregateArgs> = {
|
|
179
|
+
[P in keyof T & keyof AggregateHostProvider]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateHostProvider[P]> : Prisma.GetScalarType<T[P], AggregateHostProvider[P]>;
|
|
180
|
+
};
|
|
181
|
+
export type HostProviderGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
182
|
+
where?: Prisma.HostProviderWhereInput;
|
|
183
|
+
orderBy?: Prisma.HostProviderOrderByWithAggregationInput | Prisma.HostProviderOrderByWithAggregationInput[];
|
|
184
|
+
by: Prisma.HostProviderScalarFieldEnum[] | Prisma.HostProviderScalarFieldEnum;
|
|
185
|
+
having?: Prisma.HostProviderScalarWhereWithAggregatesInput;
|
|
186
|
+
take?: number;
|
|
187
|
+
skip?: number;
|
|
188
|
+
_count?: HostProviderCountAggregateInputType | true;
|
|
189
|
+
_avg?: HostProviderAvgAggregateInputType;
|
|
190
|
+
_sum?: HostProviderSumAggregateInputType;
|
|
191
|
+
_min?: HostProviderMinAggregateInputType;
|
|
192
|
+
_max?: HostProviderMaxAggregateInputType;
|
|
193
|
+
};
|
|
194
|
+
export type HostProviderGroupByOutputType = {
|
|
195
|
+
name: string;
|
|
196
|
+
contractVersion: number;
|
|
197
|
+
gitHost: string;
|
|
198
|
+
apiHosts: string[];
|
|
199
|
+
gitUsername: string;
|
|
200
|
+
pullRequestUrlTemplate: string;
|
|
201
|
+
repositoryApiPath: string;
|
|
202
|
+
permissionApiPath: string | null;
|
|
203
|
+
webhook: runtime.JsonValue;
|
|
204
|
+
webhookSecretId: string;
|
|
205
|
+
permissionSecretId: string | null;
|
|
206
|
+
createdById: string;
|
|
207
|
+
createdAt: Date;
|
|
208
|
+
updatedAt: Date;
|
|
209
|
+
_count: HostProviderCountAggregateOutputType | null;
|
|
210
|
+
_avg: HostProviderAvgAggregateOutputType | null;
|
|
211
|
+
_sum: HostProviderSumAggregateOutputType | null;
|
|
212
|
+
_min: HostProviderMinAggregateOutputType | null;
|
|
213
|
+
_max: HostProviderMaxAggregateOutputType | null;
|
|
214
|
+
};
|
|
215
|
+
export type GetHostProviderGroupByPayload<T extends HostProviderGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<HostProviderGroupByOutputType, T['by']> & {
|
|
216
|
+
[P in ((keyof T) & (keyof HostProviderGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], HostProviderGroupByOutputType[P]> : Prisma.GetScalarType<T[P], HostProviderGroupByOutputType[P]>;
|
|
217
|
+
}>>;
|
|
218
|
+
export type HostProviderWhereInput = {
|
|
219
|
+
AND?: Prisma.HostProviderWhereInput | Prisma.HostProviderWhereInput[];
|
|
220
|
+
OR?: Prisma.HostProviderWhereInput[];
|
|
221
|
+
NOT?: Prisma.HostProviderWhereInput | Prisma.HostProviderWhereInput[];
|
|
222
|
+
name?: Prisma.StringFilter<"HostProvider"> | string;
|
|
223
|
+
contractVersion?: Prisma.IntFilter<"HostProvider"> | number;
|
|
224
|
+
gitHost?: Prisma.StringFilter<"HostProvider"> | string;
|
|
225
|
+
apiHosts?: Prisma.StringNullableListFilter<"HostProvider">;
|
|
226
|
+
gitUsername?: Prisma.StringFilter<"HostProvider"> | string;
|
|
227
|
+
pullRequestUrlTemplate?: Prisma.StringFilter<"HostProvider"> | string;
|
|
228
|
+
repositoryApiPath?: Prisma.StringFilter<"HostProvider"> | string;
|
|
229
|
+
permissionApiPath?: Prisma.StringNullableFilter<"HostProvider"> | string | null;
|
|
230
|
+
webhook?: Prisma.JsonFilter<"HostProvider">;
|
|
231
|
+
webhookSecretId?: Prisma.StringFilter<"HostProvider"> | string;
|
|
232
|
+
permissionSecretId?: Prisma.StringNullableFilter<"HostProvider"> | string | null;
|
|
233
|
+
createdById?: Prisma.StringFilter<"HostProvider"> | string;
|
|
234
|
+
createdAt?: Prisma.DateTimeFilter<"HostProvider"> | Date | string;
|
|
235
|
+
updatedAt?: Prisma.DateTimeFilter<"HostProvider"> | Date | string;
|
|
236
|
+
webhookSecret?: Prisma.XOR<Prisma.SecretScalarRelationFilter, Prisma.SecretWhereInput>;
|
|
237
|
+
permissionSecret?: Prisma.XOR<Prisma.SecretNullableScalarRelationFilter, Prisma.SecretWhereInput> | null;
|
|
238
|
+
operations?: Prisma.HostProviderOperationListRelationFilter;
|
|
239
|
+
credentials?: Prisma.HostProviderCredentialListRelationFilter;
|
|
240
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountListRelationFilter;
|
|
241
|
+
};
|
|
242
|
+
export type HostProviderOrderByWithRelationInput = {
|
|
243
|
+
name?: Prisma.SortOrder;
|
|
244
|
+
contractVersion?: Prisma.SortOrder;
|
|
245
|
+
gitHost?: Prisma.SortOrder;
|
|
246
|
+
apiHosts?: Prisma.SortOrder;
|
|
247
|
+
gitUsername?: Prisma.SortOrder;
|
|
248
|
+
pullRequestUrlTemplate?: Prisma.SortOrder;
|
|
249
|
+
repositoryApiPath?: Prisma.SortOrder;
|
|
250
|
+
permissionApiPath?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
251
|
+
webhook?: Prisma.SortOrder;
|
|
252
|
+
webhookSecretId?: Prisma.SortOrder;
|
|
253
|
+
permissionSecretId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
254
|
+
createdById?: Prisma.SortOrder;
|
|
255
|
+
createdAt?: Prisma.SortOrder;
|
|
256
|
+
updatedAt?: Prisma.SortOrder;
|
|
257
|
+
webhookSecret?: Prisma.SecretOrderByWithRelationInput;
|
|
258
|
+
permissionSecret?: Prisma.SecretOrderByWithRelationInput;
|
|
259
|
+
operations?: Prisma.HostProviderOperationOrderByRelationAggregateInput;
|
|
260
|
+
credentials?: Prisma.HostProviderCredentialOrderByRelationAggregateInput;
|
|
261
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountOrderByRelationAggregateInput;
|
|
262
|
+
};
|
|
263
|
+
export type HostProviderWhereUniqueInput = Prisma.AtLeast<{
|
|
264
|
+
name?: string;
|
|
265
|
+
AND?: Prisma.HostProviderWhereInput | Prisma.HostProviderWhereInput[];
|
|
266
|
+
OR?: Prisma.HostProviderWhereInput[];
|
|
267
|
+
NOT?: Prisma.HostProviderWhereInput | Prisma.HostProviderWhereInput[];
|
|
268
|
+
contractVersion?: Prisma.IntFilter<"HostProvider"> | number;
|
|
269
|
+
gitHost?: Prisma.StringFilter<"HostProvider"> | string;
|
|
270
|
+
apiHosts?: Prisma.StringNullableListFilter<"HostProvider">;
|
|
271
|
+
gitUsername?: Prisma.StringFilter<"HostProvider"> | string;
|
|
272
|
+
pullRequestUrlTemplate?: Prisma.StringFilter<"HostProvider"> | string;
|
|
273
|
+
repositoryApiPath?: Prisma.StringFilter<"HostProvider"> | string;
|
|
274
|
+
permissionApiPath?: Prisma.StringNullableFilter<"HostProvider"> | string | null;
|
|
275
|
+
webhook?: Prisma.JsonFilter<"HostProvider">;
|
|
276
|
+
webhookSecretId?: Prisma.StringFilter<"HostProvider"> | string;
|
|
277
|
+
permissionSecretId?: Prisma.StringNullableFilter<"HostProvider"> | string | null;
|
|
278
|
+
createdById?: Prisma.StringFilter<"HostProvider"> | string;
|
|
279
|
+
createdAt?: Prisma.DateTimeFilter<"HostProvider"> | Date | string;
|
|
280
|
+
updatedAt?: Prisma.DateTimeFilter<"HostProvider"> | Date | string;
|
|
281
|
+
webhookSecret?: Prisma.XOR<Prisma.SecretScalarRelationFilter, Prisma.SecretWhereInput>;
|
|
282
|
+
permissionSecret?: Prisma.XOR<Prisma.SecretNullableScalarRelationFilter, Prisma.SecretWhereInput> | null;
|
|
283
|
+
operations?: Prisma.HostProviderOperationListRelationFilter;
|
|
284
|
+
credentials?: Prisma.HostProviderCredentialListRelationFilter;
|
|
285
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountListRelationFilter;
|
|
286
|
+
}, "name">;
|
|
287
|
+
export type HostProviderOrderByWithAggregationInput = {
|
|
288
|
+
name?: Prisma.SortOrder;
|
|
289
|
+
contractVersion?: Prisma.SortOrder;
|
|
290
|
+
gitHost?: Prisma.SortOrder;
|
|
291
|
+
apiHosts?: Prisma.SortOrder;
|
|
292
|
+
gitUsername?: Prisma.SortOrder;
|
|
293
|
+
pullRequestUrlTemplate?: Prisma.SortOrder;
|
|
294
|
+
repositoryApiPath?: Prisma.SortOrder;
|
|
295
|
+
permissionApiPath?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
296
|
+
webhook?: Prisma.SortOrder;
|
|
297
|
+
webhookSecretId?: Prisma.SortOrder;
|
|
298
|
+
permissionSecretId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
299
|
+
createdById?: Prisma.SortOrder;
|
|
300
|
+
createdAt?: Prisma.SortOrder;
|
|
301
|
+
updatedAt?: Prisma.SortOrder;
|
|
302
|
+
_count?: Prisma.HostProviderCountOrderByAggregateInput;
|
|
303
|
+
_avg?: Prisma.HostProviderAvgOrderByAggregateInput;
|
|
304
|
+
_max?: Prisma.HostProviderMaxOrderByAggregateInput;
|
|
305
|
+
_min?: Prisma.HostProviderMinOrderByAggregateInput;
|
|
306
|
+
_sum?: Prisma.HostProviderSumOrderByAggregateInput;
|
|
307
|
+
};
|
|
308
|
+
export type HostProviderScalarWhereWithAggregatesInput = {
|
|
309
|
+
AND?: Prisma.HostProviderScalarWhereWithAggregatesInput | Prisma.HostProviderScalarWhereWithAggregatesInput[];
|
|
310
|
+
OR?: Prisma.HostProviderScalarWhereWithAggregatesInput[];
|
|
311
|
+
NOT?: Prisma.HostProviderScalarWhereWithAggregatesInput | Prisma.HostProviderScalarWhereWithAggregatesInput[];
|
|
312
|
+
name?: Prisma.StringWithAggregatesFilter<"HostProvider"> | string;
|
|
313
|
+
contractVersion?: Prisma.IntWithAggregatesFilter<"HostProvider"> | number;
|
|
314
|
+
gitHost?: Prisma.StringWithAggregatesFilter<"HostProvider"> | string;
|
|
315
|
+
apiHosts?: Prisma.StringNullableListFilter<"HostProvider">;
|
|
316
|
+
gitUsername?: Prisma.StringWithAggregatesFilter<"HostProvider"> | string;
|
|
317
|
+
pullRequestUrlTemplate?: Prisma.StringWithAggregatesFilter<"HostProvider"> | string;
|
|
318
|
+
repositoryApiPath?: Prisma.StringWithAggregatesFilter<"HostProvider"> | string;
|
|
319
|
+
permissionApiPath?: Prisma.StringNullableWithAggregatesFilter<"HostProvider"> | string | null;
|
|
320
|
+
webhook?: Prisma.JsonWithAggregatesFilter<"HostProvider">;
|
|
321
|
+
webhookSecretId?: Prisma.StringWithAggregatesFilter<"HostProvider"> | string;
|
|
322
|
+
permissionSecretId?: Prisma.StringNullableWithAggregatesFilter<"HostProvider"> | string | null;
|
|
323
|
+
createdById?: Prisma.StringWithAggregatesFilter<"HostProvider"> | string;
|
|
324
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"HostProvider"> | Date | string;
|
|
325
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HostProvider"> | Date | string;
|
|
326
|
+
};
|
|
327
|
+
export type HostProviderCreateInput = {
|
|
328
|
+
name: string;
|
|
329
|
+
contractVersion: number;
|
|
330
|
+
gitHost: string;
|
|
331
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
332
|
+
gitUsername: string;
|
|
333
|
+
pullRequestUrlTemplate: string;
|
|
334
|
+
repositoryApiPath: string;
|
|
335
|
+
permissionApiPath?: string | null;
|
|
336
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
337
|
+
createdById: string;
|
|
338
|
+
createdAt?: Date | string;
|
|
339
|
+
updatedAt?: Date | string;
|
|
340
|
+
webhookSecret: Prisma.SecretCreateNestedOneWithoutHostProviderWebhooksInput;
|
|
341
|
+
permissionSecret?: Prisma.SecretCreateNestedOneWithoutHostProviderPermissionsInput;
|
|
342
|
+
operations?: Prisma.HostProviderOperationCreateNestedManyWithoutHostProviderInput;
|
|
343
|
+
credentials?: Prisma.HostProviderCredentialCreateNestedManyWithoutHostProviderInput;
|
|
344
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountCreateNestedManyWithoutHostProviderInput;
|
|
345
|
+
};
|
|
346
|
+
export type HostProviderUncheckedCreateInput = {
|
|
347
|
+
name: string;
|
|
348
|
+
contractVersion: number;
|
|
349
|
+
gitHost: string;
|
|
350
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
351
|
+
gitUsername: string;
|
|
352
|
+
pullRequestUrlTemplate: string;
|
|
353
|
+
repositoryApiPath: string;
|
|
354
|
+
permissionApiPath?: string | null;
|
|
355
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
356
|
+
webhookSecretId: string;
|
|
357
|
+
permissionSecretId?: string | null;
|
|
358
|
+
createdById: string;
|
|
359
|
+
createdAt?: Date | string;
|
|
360
|
+
updatedAt?: Date | string;
|
|
361
|
+
operations?: Prisma.HostProviderOperationUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
362
|
+
credentials?: Prisma.HostProviderCredentialUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
363
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
364
|
+
};
|
|
365
|
+
export type HostProviderUpdateInput = {
|
|
366
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
367
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
368
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
369
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
370
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
371
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
372
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
373
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
374
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
375
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
376
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
377
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
378
|
+
webhookSecret?: Prisma.SecretUpdateOneRequiredWithoutHostProviderWebhooksNestedInput;
|
|
379
|
+
permissionSecret?: Prisma.SecretUpdateOneWithoutHostProviderPermissionsNestedInput;
|
|
380
|
+
operations?: Prisma.HostProviderOperationUpdateManyWithoutHostProviderNestedInput;
|
|
381
|
+
credentials?: Prisma.HostProviderCredentialUpdateManyWithoutHostProviderNestedInput;
|
|
382
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUpdateManyWithoutHostProviderNestedInput;
|
|
383
|
+
};
|
|
384
|
+
export type HostProviderUncheckedUpdateInput = {
|
|
385
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
386
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
387
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
388
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
389
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
390
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
391
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
392
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
393
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
394
|
+
webhookSecretId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
395
|
+
permissionSecretId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
396
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
397
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
398
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
399
|
+
operations?: Prisma.HostProviderOperationUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
400
|
+
credentials?: Prisma.HostProviderCredentialUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
401
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
402
|
+
};
|
|
403
|
+
export type HostProviderCreateManyInput = {
|
|
404
|
+
name: string;
|
|
405
|
+
contractVersion: number;
|
|
406
|
+
gitHost: string;
|
|
407
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
408
|
+
gitUsername: string;
|
|
409
|
+
pullRequestUrlTemplate: string;
|
|
410
|
+
repositoryApiPath: string;
|
|
411
|
+
permissionApiPath?: string | null;
|
|
412
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
413
|
+
webhookSecretId: string;
|
|
414
|
+
permissionSecretId?: string | null;
|
|
415
|
+
createdById: string;
|
|
416
|
+
createdAt?: Date | string;
|
|
417
|
+
updatedAt?: Date | string;
|
|
418
|
+
};
|
|
419
|
+
export type HostProviderUpdateManyMutationInput = {
|
|
420
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
421
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
422
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
423
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
424
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
425
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
426
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
427
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
428
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
429
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
430
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
431
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
432
|
+
};
|
|
433
|
+
export type HostProviderUncheckedUpdateManyInput = {
|
|
434
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
435
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
436
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
437
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
438
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
439
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
440
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
441
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
442
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
443
|
+
webhookSecretId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
444
|
+
permissionSecretId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
445
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
446
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
447
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
448
|
+
};
|
|
449
|
+
export type HostProviderListRelationFilter = {
|
|
450
|
+
every?: Prisma.HostProviderWhereInput;
|
|
451
|
+
some?: Prisma.HostProviderWhereInput;
|
|
452
|
+
none?: Prisma.HostProviderWhereInput;
|
|
453
|
+
};
|
|
454
|
+
export type HostProviderOrderByRelationAggregateInput = {
|
|
455
|
+
_count?: Prisma.SortOrder;
|
|
456
|
+
};
|
|
457
|
+
export type HostProviderCountOrderByAggregateInput = {
|
|
458
|
+
name?: Prisma.SortOrder;
|
|
459
|
+
contractVersion?: Prisma.SortOrder;
|
|
460
|
+
gitHost?: Prisma.SortOrder;
|
|
461
|
+
apiHosts?: Prisma.SortOrder;
|
|
462
|
+
gitUsername?: Prisma.SortOrder;
|
|
463
|
+
pullRequestUrlTemplate?: Prisma.SortOrder;
|
|
464
|
+
repositoryApiPath?: Prisma.SortOrder;
|
|
465
|
+
permissionApiPath?: Prisma.SortOrder;
|
|
466
|
+
webhook?: Prisma.SortOrder;
|
|
467
|
+
webhookSecretId?: Prisma.SortOrder;
|
|
468
|
+
permissionSecretId?: Prisma.SortOrder;
|
|
469
|
+
createdById?: Prisma.SortOrder;
|
|
470
|
+
createdAt?: Prisma.SortOrder;
|
|
471
|
+
updatedAt?: Prisma.SortOrder;
|
|
472
|
+
};
|
|
473
|
+
export type HostProviderAvgOrderByAggregateInput = {
|
|
474
|
+
contractVersion?: Prisma.SortOrder;
|
|
475
|
+
};
|
|
476
|
+
export type HostProviderMaxOrderByAggregateInput = {
|
|
477
|
+
name?: Prisma.SortOrder;
|
|
478
|
+
contractVersion?: Prisma.SortOrder;
|
|
479
|
+
gitHost?: Prisma.SortOrder;
|
|
480
|
+
gitUsername?: Prisma.SortOrder;
|
|
481
|
+
pullRequestUrlTemplate?: Prisma.SortOrder;
|
|
482
|
+
repositoryApiPath?: Prisma.SortOrder;
|
|
483
|
+
permissionApiPath?: Prisma.SortOrder;
|
|
484
|
+
webhookSecretId?: Prisma.SortOrder;
|
|
485
|
+
permissionSecretId?: Prisma.SortOrder;
|
|
486
|
+
createdById?: Prisma.SortOrder;
|
|
487
|
+
createdAt?: Prisma.SortOrder;
|
|
488
|
+
updatedAt?: Prisma.SortOrder;
|
|
489
|
+
};
|
|
490
|
+
export type HostProviderMinOrderByAggregateInput = {
|
|
491
|
+
name?: Prisma.SortOrder;
|
|
492
|
+
contractVersion?: Prisma.SortOrder;
|
|
493
|
+
gitHost?: Prisma.SortOrder;
|
|
494
|
+
gitUsername?: Prisma.SortOrder;
|
|
495
|
+
pullRequestUrlTemplate?: Prisma.SortOrder;
|
|
496
|
+
repositoryApiPath?: Prisma.SortOrder;
|
|
497
|
+
permissionApiPath?: Prisma.SortOrder;
|
|
498
|
+
webhookSecretId?: Prisma.SortOrder;
|
|
499
|
+
permissionSecretId?: Prisma.SortOrder;
|
|
500
|
+
createdById?: Prisma.SortOrder;
|
|
501
|
+
createdAt?: Prisma.SortOrder;
|
|
502
|
+
updatedAt?: Prisma.SortOrder;
|
|
503
|
+
};
|
|
504
|
+
export type HostProviderSumOrderByAggregateInput = {
|
|
505
|
+
contractVersion?: Prisma.SortOrder;
|
|
506
|
+
};
|
|
507
|
+
export type HostProviderScalarRelationFilter = {
|
|
508
|
+
is?: Prisma.HostProviderWhereInput;
|
|
509
|
+
isNot?: Prisma.HostProviderWhereInput;
|
|
510
|
+
};
|
|
511
|
+
export type HostProviderCreateNestedManyWithoutWebhookSecretInput = {
|
|
512
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutWebhookSecretInput, Prisma.HostProviderUncheckedCreateWithoutWebhookSecretInput> | Prisma.HostProviderCreateWithoutWebhookSecretInput[] | Prisma.HostProviderUncheckedCreateWithoutWebhookSecretInput[];
|
|
513
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutWebhookSecretInput | Prisma.HostProviderCreateOrConnectWithoutWebhookSecretInput[];
|
|
514
|
+
createMany?: Prisma.HostProviderCreateManyWebhookSecretInputEnvelope;
|
|
515
|
+
connect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
516
|
+
};
|
|
517
|
+
export type HostProviderCreateNestedManyWithoutPermissionSecretInput = {
|
|
518
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutPermissionSecretInput, Prisma.HostProviderUncheckedCreateWithoutPermissionSecretInput> | Prisma.HostProviderCreateWithoutPermissionSecretInput[] | Prisma.HostProviderUncheckedCreateWithoutPermissionSecretInput[];
|
|
519
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutPermissionSecretInput | Prisma.HostProviderCreateOrConnectWithoutPermissionSecretInput[];
|
|
520
|
+
createMany?: Prisma.HostProviderCreateManyPermissionSecretInputEnvelope;
|
|
521
|
+
connect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
522
|
+
};
|
|
523
|
+
export type HostProviderUncheckedCreateNestedManyWithoutWebhookSecretInput = {
|
|
524
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutWebhookSecretInput, Prisma.HostProviderUncheckedCreateWithoutWebhookSecretInput> | Prisma.HostProviderCreateWithoutWebhookSecretInput[] | Prisma.HostProviderUncheckedCreateWithoutWebhookSecretInput[];
|
|
525
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutWebhookSecretInput | Prisma.HostProviderCreateOrConnectWithoutWebhookSecretInput[];
|
|
526
|
+
createMany?: Prisma.HostProviderCreateManyWebhookSecretInputEnvelope;
|
|
527
|
+
connect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
528
|
+
};
|
|
529
|
+
export type HostProviderUncheckedCreateNestedManyWithoutPermissionSecretInput = {
|
|
530
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutPermissionSecretInput, Prisma.HostProviderUncheckedCreateWithoutPermissionSecretInput> | Prisma.HostProviderCreateWithoutPermissionSecretInput[] | Prisma.HostProviderUncheckedCreateWithoutPermissionSecretInput[];
|
|
531
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutPermissionSecretInput | Prisma.HostProviderCreateOrConnectWithoutPermissionSecretInput[];
|
|
532
|
+
createMany?: Prisma.HostProviderCreateManyPermissionSecretInputEnvelope;
|
|
533
|
+
connect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
534
|
+
};
|
|
535
|
+
export type HostProviderUpdateManyWithoutWebhookSecretNestedInput = {
|
|
536
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutWebhookSecretInput, Prisma.HostProviderUncheckedCreateWithoutWebhookSecretInput> | Prisma.HostProviderCreateWithoutWebhookSecretInput[] | Prisma.HostProviderUncheckedCreateWithoutWebhookSecretInput[];
|
|
537
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutWebhookSecretInput | Prisma.HostProviderCreateOrConnectWithoutWebhookSecretInput[];
|
|
538
|
+
upsert?: Prisma.HostProviderUpsertWithWhereUniqueWithoutWebhookSecretInput | Prisma.HostProviderUpsertWithWhereUniqueWithoutWebhookSecretInput[];
|
|
539
|
+
createMany?: Prisma.HostProviderCreateManyWebhookSecretInputEnvelope;
|
|
540
|
+
set?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
541
|
+
disconnect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
542
|
+
delete?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
543
|
+
connect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
544
|
+
update?: Prisma.HostProviderUpdateWithWhereUniqueWithoutWebhookSecretInput | Prisma.HostProviderUpdateWithWhereUniqueWithoutWebhookSecretInput[];
|
|
545
|
+
updateMany?: Prisma.HostProviderUpdateManyWithWhereWithoutWebhookSecretInput | Prisma.HostProviderUpdateManyWithWhereWithoutWebhookSecretInput[];
|
|
546
|
+
deleteMany?: Prisma.HostProviderScalarWhereInput | Prisma.HostProviderScalarWhereInput[];
|
|
547
|
+
};
|
|
548
|
+
export type HostProviderUpdateManyWithoutPermissionSecretNestedInput = {
|
|
549
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutPermissionSecretInput, Prisma.HostProviderUncheckedCreateWithoutPermissionSecretInput> | Prisma.HostProviderCreateWithoutPermissionSecretInput[] | Prisma.HostProviderUncheckedCreateWithoutPermissionSecretInput[];
|
|
550
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutPermissionSecretInput | Prisma.HostProviderCreateOrConnectWithoutPermissionSecretInput[];
|
|
551
|
+
upsert?: Prisma.HostProviderUpsertWithWhereUniqueWithoutPermissionSecretInput | Prisma.HostProviderUpsertWithWhereUniqueWithoutPermissionSecretInput[];
|
|
552
|
+
createMany?: Prisma.HostProviderCreateManyPermissionSecretInputEnvelope;
|
|
553
|
+
set?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
554
|
+
disconnect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
555
|
+
delete?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
556
|
+
connect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
557
|
+
update?: Prisma.HostProviderUpdateWithWhereUniqueWithoutPermissionSecretInput | Prisma.HostProviderUpdateWithWhereUniqueWithoutPermissionSecretInput[];
|
|
558
|
+
updateMany?: Prisma.HostProviderUpdateManyWithWhereWithoutPermissionSecretInput | Prisma.HostProviderUpdateManyWithWhereWithoutPermissionSecretInput[];
|
|
559
|
+
deleteMany?: Prisma.HostProviderScalarWhereInput | Prisma.HostProviderScalarWhereInput[];
|
|
560
|
+
};
|
|
561
|
+
export type HostProviderUncheckedUpdateManyWithoutWebhookSecretNestedInput = {
|
|
562
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutWebhookSecretInput, Prisma.HostProviderUncheckedCreateWithoutWebhookSecretInput> | Prisma.HostProviderCreateWithoutWebhookSecretInput[] | Prisma.HostProviderUncheckedCreateWithoutWebhookSecretInput[];
|
|
563
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutWebhookSecretInput | Prisma.HostProviderCreateOrConnectWithoutWebhookSecretInput[];
|
|
564
|
+
upsert?: Prisma.HostProviderUpsertWithWhereUniqueWithoutWebhookSecretInput | Prisma.HostProviderUpsertWithWhereUniqueWithoutWebhookSecretInput[];
|
|
565
|
+
createMany?: Prisma.HostProviderCreateManyWebhookSecretInputEnvelope;
|
|
566
|
+
set?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
567
|
+
disconnect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
568
|
+
delete?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
569
|
+
connect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
570
|
+
update?: Prisma.HostProviderUpdateWithWhereUniqueWithoutWebhookSecretInput | Prisma.HostProviderUpdateWithWhereUniqueWithoutWebhookSecretInput[];
|
|
571
|
+
updateMany?: Prisma.HostProviderUpdateManyWithWhereWithoutWebhookSecretInput | Prisma.HostProviderUpdateManyWithWhereWithoutWebhookSecretInput[];
|
|
572
|
+
deleteMany?: Prisma.HostProviderScalarWhereInput | Prisma.HostProviderScalarWhereInput[];
|
|
573
|
+
};
|
|
574
|
+
export type HostProviderUncheckedUpdateManyWithoutPermissionSecretNestedInput = {
|
|
575
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutPermissionSecretInput, Prisma.HostProviderUncheckedCreateWithoutPermissionSecretInput> | Prisma.HostProviderCreateWithoutPermissionSecretInput[] | Prisma.HostProviderUncheckedCreateWithoutPermissionSecretInput[];
|
|
576
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutPermissionSecretInput | Prisma.HostProviderCreateOrConnectWithoutPermissionSecretInput[];
|
|
577
|
+
upsert?: Prisma.HostProviderUpsertWithWhereUniqueWithoutPermissionSecretInput | Prisma.HostProviderUpsertWithWhereUniqueWithoutPermissionSecretInput[];
|
|
578
|
+
createMany?: Prisma.HostProviderCreateManyPermissionSecretInputEnvelope;
|
|
579
|
+
set?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
580
|
+
disconnect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
581
|
+
delete?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
582
|
+
connect?: Prisma.HostProviderWhereUniqueInput | Prisma.HostProviderWhereUniqueInput[];
|
|
583
|
+
update?: Prisma.HostProviderUpdateWithWhereUniqueWithoutPermissionSecretInput | Prisma.HostProviderUpdateWithWhereUniqueWithoutPermissionSecretInput[];
|
|
584
|
+
updateMany?: Prisma.HostProviderUpdateManyWithWhereWithoutPermissionSecretInput | Prisma.HostProviderUpdateManyWithWhereWithoutPermissionSecretInput[];
|
|
585
|
+
deleteMany?: Prisma.HostProviderScalarWhereInput | Prisma.HostProviderScalarWhereInput[];
|
|
586
|
+
};
|
|
587
|
+
export type HostProviderCreateapiHostsInput = {
|
|
588
|
+
set: string[];
|
|
589
|
+
};
|
|
590
|
+
export type HostProviderUpdateapiHostsInput = {
|
|
591
|
+
set?: string[];
|
|
592
|
+
push?: string | string[];
|
|
593
|
+
};
|
|
594
|
+
export type HostProviderCreateNestedOneWithoutOperationsInput = {
|
|
595
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutOperationsInput, Prisma.HostProviderUncheckedCreateWithoutOperationsInput>;
|
|
596
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutOperationsInput;
|
|
597
|
+
connect?: Prisma.HostProviderWhereUniqueInput;
|
|
598
|
+
};
|
|
599
|
+
export type HostProviderUpdateOneRequiredWithoutOperationsNestedInput = {
|
|
600
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutOperationsInput, Prisma.HostProviderUncheckedCreateWithoutOperationsInput>;
|
|
601
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutOperationsInput;
|
|
602
|
+
upsert?: Prisma.HostProviderUpsertWithoutOperationsInput;
|
|
603
|
+
connect?: Prisma.HostProviderWhereUniqueInput;
|
|
604
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.HostProviderUpdateToOneWithWhereWithoutOperationsInput, Prisma.HostProviderUpdateWithoutOperationsInput>, Prisma.HostProviderUncheckedUpdateWithoutOperationsInput>;
|
|
605
|
+
};
|
|
606
|
+
export type HostProviderCreateNestedOneWithoutCredentialsInput = {
|
|
607
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutCredentialsInput, Prisma.HostProviderUncheckedCreateWithoutCredentialsInput>;
|
|
608
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutCredentialsInput;
|
|
609
|
+
connect?: Prisma.HostProviderWhereUniqueInput;
|
|
610
|
+
};
|
|
611
|
+
export type HostProviderUpdateOneRequiredWithoutCredentialsNestedInput = {
|
|
612
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutCredentialsInput, Prisma.HostProviderUncheckedCreateWithoutCredentialsInput>;
|
|
613
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutCredentialsInput;
|
|
614
|
+
upsert?: Prisma.HostProviderUpsertWithoutCredentialsInput;
|
|
615
|
+
connect?: Prisma.HostProviderWhereUniqueInput;
|
|
616
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.HostProviderUpdateToOneWithWhereWithoutCredentialsInput, Prisma.HostProviderUpdateWithoutCredentialsInput>, Prisma.HostProviderUncheckedUpdateWithoutCredentialsInput>;
|
|
617
|
+
};
|
|
618
|
+
export type HostProviderCreateNestedOneWithoutTrustedAccountsInput = {
|
|
619
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutTrustedAccountsInput, Prisma.HostProviderUncheckedCreateWithoutTrustedAccountsInput>;
|
|
620
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutTrustedAccountsInput;
|
|
621
|
+
connect?: Prisma.HostProviderWhereUniqueInput;
|
|
622
|
+
};
|
|
623
|
+
export type HostProviderUpdateOneRequiredWithoutTrustedAccountsNestedInput = {
|
|
624
|
+
create?: Prisma.XOR<Prisma.HostProviderCreateWithoutTrustedAccountsInput, Prisma.HostProviderUncheckedCreateWithoutTrustedAccountsInput>;
|
|
625
|
+
connectOrCreate?: Prisma.HostProviderCreateOrConnectWithoutTrustedAccountsInput;
|
|
626
|
+
upsert?: Prisma.HostProviderUpsertWithoutTrustedAccountsInput;
|
|
627
|
+
connect?: Prisma.HostProviderWhereUniqueInput;
|
|
628
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.HostProviderUpdateToOneWithWhereWithoutTrustedAccountsInput, Prisma.HostProviderUpdateWithoutTrustedAccountsInput>, Prisma.HostProviderUncheckedUpdateWithoutTrustedAccountsInput>;
|
|
629
|
+
};
|
|
630
|
+
export type HostProviderCreateWithoutWebhookSecretInput = {
|
|
631
|
+
name: string;
|
|
632
|
+
contractVersion: number;
|
|
633
|
+
gitHost: string;
|
|
634
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
635
|
+
gitUsername: string;
|
|
636
|
+
pullRequestUrlTemplate: string;
|
|
637
|
+
repositoryApiPath: string;
|
|
638
|
+
permissionApiPath?: string | null;
|
|
639
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
640
|
+
createdById: string;
|
|
641
|
+
createdAt?: Date | string;
|
|
642
|
+
updatedAt?: Date | string;
|
|
643
|
+
permissionSecret?: Prisma.SecretCreateNestedOneWithoutHostProviderPermissionsInput;
|
|
644
|
+
operations?: Prisma.HostProviderOperationCreateNestedManyWithoutHostProviderInput;
|
|
645
|
+
credentials?: Prisma.HostProviderCredentialCreateNestedManyWithoutHostProviderInput;
|
|
646
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountCreateNestedManyWithoutHostProviderInput;
|
|
647
|
+
};
|
|
648
|
+
export type HostProviderUncheckedCreateWithoutWebhookSecretInput = {
|
|
649
|
+
name: string;
|
|
650
|
+
contractVersion: number;
|
|
651
|
+
gitHost: string;
|
|
652
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
653
|
+
gitUsername: string;
|
|
654
|
+
pullRequestUrlTemplate: string;
|
|
655
|
+
repositoryApiPath: string;
|
|
656
|
+
permissionApiPath?: string | null;
|
|
657
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
658
|
+
permissionSecretId?: string | null;
|
|
659
|
+
createdById: string;
|
|
660
|
+
createdAt?: Date | string;
|
|
661
|
+
updatedAt?: Date | string;
|
|
662
|
+
operations?: Prisma.HostProviderOperationUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
663
|
+
credentials?: Prisma.HostProviderCredentialUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
664
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
665
|
+
};
|
|
666
|
+
export type HostProviderCreateOrConnectWithoutWebhookSecretInput = {
|
|
667
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
668
|
+
create: Prisma.XOR<Prisma.HostProviderCreateWithoutWebhookSecretInput, Prisma.HostProviderUncheckedCreateWithoutWebhookSecretInput>;
|
|
669
|
+
};
|
|
670
|
+
export type HostProviderCreateManyWebhookSecretInputEnvelope = {
|
|
671
|
+
data: Prisma.HostProviderCreateManyWebhookSecretInput | Prisma.HostProviderCreateManyWebhookSecretInput[];
|
|
672
|
+
skipDuplicates?: boolean;
|
|
673
|
+
};
|
|
674
|
+
export type HostProviderCreateWithoutPermissionSecretInput = {
|
|
675
|
+
name: string;
|
|
676
|
+
contractVersion: number;
|
|
677
|
+
gitHost: string;
|
|
678
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
679
|
+
gitUsername: string;
|
|
680
|
+
pullRequestUrlTemplate: string;
|
|
681
|
+
repositoryApiPath: string;
|
|
682
|
+
permissionApiPath?: string | null;
|
|
683
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
684
|
+
createdById: string;
|
|
685
|
+
createdAt?: Date | string;
|
|
686
|
+
updatedAt?: Date | string;
|
|
687
|
+
webhookSecret: Prisma.SecretCreateNestedOneWithoutHostProviderWebhooksInput;
|
|
688
|
+
operations?: Prisma.HostProviderOperationCreateNestedManyWithoutHostProviderInput;
|
|
689
|
+
credentials?: Prisma.HostProviderCredentialCreateNestedManyWithoutHostProviderInput;
|
|
690
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountCreateNestedManyWithoutHostProviderInput;
|
|
691
|
+
};
|
|
692
|
+
export type HostProviderUncheckedCreateWithoutPermissionSecretInput = {
|
|
693
|
+
name: string;
|
|
694
|
+
contractVersion: number;
|
|
695
|
+
gitHost: string;
|
|
696
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
697
|
+
gitUsername: string;
|
|
698
|
+
pullRequestUrlTemplate: string;
|
|
699
|
+
repositoryApiPath: string;
|
|
700
|
+
permissionApiPath?: string | null;
|
|
701
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
702
|
+
webhookSecretId: string;
|
|
703
|
+
createdById: string;
|
|
704
|
+
createdAt?: Date | string;
|
|
705
|
+
updatedAt?: Date | string;
|
|
706
|
+
operations?: Prisma.HostProviderOperationUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
707
|
+
credentials?: Prisma.HostProviderCredentialUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
708
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
709
|
+
};
|
|
710
|
+
export type HostProviderCreateOrConnectWithoutPermissionSecretInput = {
|
|
711
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
712
|
+
create: Prisma.XOR<Prisma.HostProviderCreateWithoutPermissionSecretInput, Prisma.HostProviderUncheckedCreateWithoutPermissionSecretInput>;
|
|
713
|
+
};
|
|
714
|
+
export type HostProviderCreateManyPermissionSecretInputEnvelope = {
|
|
715
|
+
data: Prisma.HostProviderCreateManyPermissionSecretInput | Prisma.HostProviderCreateManyPermissionSecretInput[];
|
|
716
|
+
skipDuplicates?: boolean;
|
|
717
|
+
};
|
|
718
|
+
export type HostProviderUpsertWithWhereUniqueWithoutWebhookSecretInput = {
|
|
719
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
720
|
+
update: Prisma.XOR<Prisma.HostProviderUpdateWithoutWebhookSecretInput, Prisma.HostProviderUncheckedUpdateWithoutWebhookSecretInput>;
|
|
721
|
+
create: Prisma.XOR<Prisma.HostProviderCreateWithoutWebhookSecretInput, Prisma.HostProviderUncheckedCreateWithoutWebhookSecretInput>;
|
|
722
|
+
};
|
|
723
|
+
export type HostProviderUpdateWithWhereUniqueWithoutWebhookSecretInput = {
|
|
724
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
725
|
+
data: Prisma.XOR<Prisma.HostProviderUpdateWithoutWebhookSecretInput, Prisma.HostProviderUncheckedUpdateWithoutWebhookSecretInput>;
|
|
726
|
+
};
|
|
727
|
+
export type HostProviderUpdateManyWithWhereWithoutWebhookSecretInput = {
|
|
728
|
+
where: Prisma.HostProviderScalarWhereInput;
|
|
729
|
+
data: Prisma.XOR<Prisma.HostProviderUpdateManyMutationInput, Prisma.HostProviderUncheckedUpdateManyWithoutWebhookSecretInput>;
|
|
730
|
+
};
|
|
731
|
+
export type HostProviderScalarWhereInput = {
|
|
732
|
+
AND?: Prisma.HostProviderScalarWhereInput | Prisma.HostProviderScalarWhereInput[];
|
|
733
|
+
OR?: Prisma.HostProviderScalarWhereInput[];
|
|
734
|
+
NOT?: Prisma.HostProviderScalarWhereInput | Prisma.HostProviderScalarWhereInput[];
|
|
735
|
+
name?: Prisma.StringFilter<"HostProvider"> | string;
|
|
736
|
+
contractVersion?: Prisma.IntFilter<"HostProvider"> | number;
|
|
737
|
+
gitHost?: Prisma.StringFilter<"HostProvider"> | string;
|
|
738
|
+
apiHosts?: Prisma.StringNullableListFilter<"HostProvider">;
|
|
739
|
+
gitUsername?: Prisma.StringFilter<"HostProvider"> | string;
|
|
740
|
+
pullRequestUrlTemplate?: Prisma.StringFilter<"HostProvider"> | string;
|
|
741
|
+
repositoryApiPath?: Prisma.StringFilter<"HostProvider"> | string;
|
|
742
|
+
permissionApiPath?: Prisma.StringNullableFilter<"HostProvider"> | string | null;
|
|
743
|
+
webhook?: Prisma.JsonFilter<"HostProvider">;
|
|
744
|
+
webhookSecretId?: Prisma.StringFilter<"HostProvider"> | string;
|
|
745
|
+
permissionSecretId?: Prisma.StringNullableFilter<"HostProvider"> | string | null;
|
|
746
|
+
createdById?: Prisma.StringFilter<"HostProvider"> | string;
|
|
747
|
+
createdAt?: Prisma.DateTimeFilter<"HostProvider"> | Date | string;
|
|
748
|
+
updatedAt?: Prisma.DateTimeFilter<"HostProvider"> | Date | string;
|
|
749
|
+
};
|
|
750
|
+
export type HostProviderUpsertWithWhereUniqueWithoutPermissionSecretInput = {
|
|
751
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
752
|
+
update: Prisma.XOR<Prisma.HostProviderUpdateWithoutPermissionSecretInput, Prisma.HostProviderUncheckedUpdateWithoutPermissionSecretInput>;
|
|
753
|
+
create: Prisma.XOR<Prisma.HostProviderCreateWithoutPermissionSecretInput, Prisma.HostProviderUncheckedCreateWithoutPermissionSecretInput>;
|
|
754
|
+
};
|
|
755
|
+
export type HostProviderUpdateWithWhereUniqueWithoutPermissionSecretInput = {
|
|
756
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
757
|
+
data: Prisma.XOR<Prisma.HostProviderUpdateWithoutPermissionSecretInput, Prisma.HostProviderUncheckedUpdateWithoutPermissionSecretInput>;
|
|
758
|
+
};
|
|
759
|
+
export type HostProviderUpdateManyWithWhereWithoutPermissionSecretInput = {
|
|
760
|
+
where: Prisma.HostProviderScalarWhereInput;
|
|
761
|
+
data: Prisma.XOR<Prisma.HostProviderUpdateManyMutationInput, Prisma.HostProviderUncheckedUpdateManyWithoutPermissionSecretInput>;
|
|
762
|
+
};
|
|
763
|
+
export type HostProviderCreateWithoutOperationsInput = {
|
|
764
|
+
name: string;
|
|
765
|
+
contractVersion: number;
|
|
766
|
+
gitHost: string;
|
|
767
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
768
|
+
gitUsername: string;
|
|
769
|
+
pullRequestUrlTemplate: string;
|
|
770
|
+
repositoryApiPath: string;
|
|
771
|
+
permissionApiPath?: string | null;
|
|
772
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
773
|
+
createdById: string;
|
|
774
|
+
createdAt?: Date | string;
|
|
775
|
+
updatedAt?: Date | string;
|
|
776
|
+
webhookSecret: Prisma.SecretCreateNestedOneWithoutHostProviderWebhooksInput;
|
|
777
|
+
permissionSecret?: Prisma.SecretCreateNestedOneWithoutHostProviderPermissionsInput;
|
|
778
|
+
credentials?: Prisma.HostProviderCredentialCreateNestedManyWithoutHostProviderInput;
|
|
779
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountCreateNestedManyWithoutHostProviderInput;
|
|
780
|
+
};
|
|
781
|
+
export type HostProviderUncheckedCreateWithoutOperationsInput = {
|
|
782
|
+
name: string;
|
|
783
|
+
contractVersion: number;
|
|
784
|
+
gitHost: string;
|
|
785
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
786
|
+
gitUsername: string;
|
|
787
|
+
pullRequestUrlTemplate: string;
|
|
788
|
+
repositoryApiPath: string;
|
|
789
|
+
permissionApiPath?: string | null;
|
|
790
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
791
|
+
webhookSecretId: string;
|
|
792
|
+
permissionSecretId?: string | null;
|
|
793
|
+
createdById: string;
|
|
794
|
+
createdAt?: Date | string;
|
|
795
|
+
updatedAt?: Date | string;
|
|
796
|
+
credentials?: Prisma.HostProviderCredentialUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
797
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
798
|
+
};
|
|
799
|
+
export type HostProviderCreateOrConnectWithoutOperationsInput = {
|
|
800
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
801
|
+
create: Prisma.XOR<Prisma.HostProviderCreateWithoutOperationsInput, Prisma.HostProviderUncheckedCreateWithoutOperationsInput>;
|
|
802
|
+
};
|
|
803
|
+
export type HostProviderUpsertWithoutOperationsInput = {
|
|
804
|
+
update: Prisma.XOR<Prisma.HostProviderUpdateWithoutOperationsInput, Prisma.HostProviderUncheckedUpdateWithoutOperationsInput>;
|
|
805
|
+
create: Prisma.XOR<Prisma.HostProviderCreateWithoutOperationsInput, Prisma.HostProviderUncheckedCreateWithoutOperationsInput>;
|
|
806
|
+
where?: Prisma.HostProviderWhereInput;
|
|
807
|
+
};
|
|
808
|
+
export type HostProviderUpdateToOneWithWhereWithoutOperationsInput = {
|
|
809
|
+
where?: Prisma.HostProviderWhereInput;
|
|
810
|
+
data: Prisma.XOR<Prisma.HostProviderUpdateWithoutOperationsInput, Prisma.HostProviderUncheckedUpdateWithoutOperationsInput>;
|
|
811
|
+
};
|
|
812
|
+
export type HostProviderUpdateWithoutOperationsInput = {
|
|
813
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
814
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
815
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
816
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
817
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
818
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
819
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
820
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
821
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
822
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
823
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
824
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
825
|
+
webhookSecret?: Prisma.SecretUpdateOneRequiredWithoutHostProviderWebhooksNestedInput;
|
|
826
|
+
permissionSecret?: Prisma.SecretUpdateOneWithoutHostProviderPermissionsNestedInput;
|
|
827
|
+
credentials?: Prisma.HostProviderCredentialUpdateManyWithoutHostProviderNestedInput;
|
|
828
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUpdateManyWithoutHostProviderNestedInput;
|
|
829
|
+
};
|
|
830
|
+
export type HostProviderUncheckedUpdateWithoutOperationsInput = {
|
|
831
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
832
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
833
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
834
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
835
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
836
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
837
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
838
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
839
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
840
|
+
webhookSecretId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
841
|
+
permissionSecretId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
842
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
843
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
844
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
845
|
+
credentials?: Prisma.HostProviderCredentialUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
846
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
847
|
+
};
|
|
848
|
+
export type HostProviderCreateWithoutCredentialsInput = {
|
|
849
|
+
name: string;
|
|
850
|
+
contractVersion: number;
|
|
851
|
+
gitHost: string;
|
|
852
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
853
|
+
gitUsername: string;
|
|
854
|
+
pullRequestUrlTemplate: string;
|
|
855
|
+
repositoryApiPath: string;
|
|
856
|
+
permissionApiPath?: string | null;
|
|
857
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
858
|
+
createdById: string;
|
|
859
|
+
createdAt?: Date | string;
|
|
860
|
+
updatedAt?: Date | string;
|
|
861
|
+
webhookSecret: Prisma.SecretCreateNestedOneWithoutHostProviderWebhooksInput;
|
|
862
|
+
permissionSecret?: Prisma.SecretCreateNestedOneWithoutHostProviderPermissionsInput;
|
|
863
|
+
operations?: Prisma.HostProviderOperationCreateNestedManyWithoutHostProviderInput;
|
|
864
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountCreateNestedManyWithoutHostProviderInput;
|
|
865
|
+
};
|
|
866
|
+
export type HostProviderUncheckedCreateWithoutCredentialsInput = {
|
|
867
|
+
name: string;
|
|
868
|
+
contractVersion: number;
|
|
869
|
+
gitHost: string;
|
|
870
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
871
|
+
gitUsername: string;
|
|
872
|
+
pullRequestUrlTemplate: string;
|
|
873
|
+
repositoryApiPath: string;
|
|
874
|
+
permissionApiPath?: string | null;
|
|
875
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
876
|
+
webhookSecretId: string;
|
|
877
|
+
permissionSecretId?: string | null;
|
|
878
|
+
createdById: string;
|
|
879
|
+
createdAt?: Date | string;
|
|
880
|
+
updatedAt?: Date | string;
|
|
881
|
+
operations?: Prisma.HostProviderOperationUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
882
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
883
|
+
};
|
|
884
|
+
export type HostProviderCreateOrConnectWithoutCredentialsInput = {
|
|
885
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
886
|
+
create: Prisma.XOR<Prisma.HostProviderCreateWithoutCredentialsInput, Prisma.HostProviderUncheckedCreateWithoutCredentialsInput>;
|
|
887
|
+
};
|
|
888
|
+
export type HostProviderUpsertWithoutCredentialsInput = {
|
|
889
|
+
update: Prisma.XOR<Prisma.HostProviderUpdateWithoutCredentialsInput, Prisma.HostProviderUncheckedUpdateWithoutCredentialsInput>;
|
|
890
|
+
create: Prisma.XOR<Prisma.HostProviderCreateWithoutCredentialsInput, Prisma.HostProviderUncheckedCreateWithoutCredentialsInput>;
|
|
891
|
+
where?: Prisma.HostProviderWhereInput;
|
|
892
|
+
};
|
|
893
|
+
export type HostProviderUpdateToOneWithWhereWithoutCredentialsInput = {
|
|
894
|
+
where?: Prisma.HostProviderWhereInput;
|
|
895
|
+
data: Prisma.XOR<Prisma.HostProviderUpdateWithoutCredentialsInput, Prisma.HostProviderUncheckedUpdateWithoutCredentialsInput>;
|
|
896
|
+
};
|
|
897
|
+
export type HostProviderUpdateWithoutCredentialsInput = {
|
|
898
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
899
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
900
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
901
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
902
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
903
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
904
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
905
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
906
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
907
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
908
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
909
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
910
|
+
webhookSecret?: Prisma.SecretUpdateOneRequiredWithoutHostProviderWebhooksNestedInput;
|
|
911
|
+
permissionSecret?: Prisma.SecretUpdateOneWithoutHostProviderPermissionsNestedInput;
|
|
912
|
+
operations?: Prisma.HostProviderOperationUpdateManyWithoutHostProviderNestedInput;
|
|
913
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUpdateManyWithoutHostProviderNestedInput;
|
|
914
|
+
};
|
|
915
|
+
export type HostProviderUncheckedUpdateWithoutCredentialsInput = {
|
|
916
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
917
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
918
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
919
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
920
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
921
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
922
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
923
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
924
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
925
|
+
webhookSecretId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
926
|
+
permissionSecretId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
927
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
928
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
929
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
930
|
+
operations?: Prisma.HostProviderOperationUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
931
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
932
|
+
};
|
|
933
|
+
export type HostProviderCreateWithoutTrustedAccountsInput = {
|
|
934
|
+
name: string;
|
|
935
|
+
contractVersion: number;
|
|
936
|
+
gitHost: string;
|
|
937
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
938
|
+
gitUsername: string;
|
|
939
|
+
pullRequestUrlTemplate: string;
|
|
940
|
+
repositoryApiPath: string;
|
|
941
|
+
permissionApiPath?: string | null;
|
|
942
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
943
|
+
createdById: string;
|
|
944
|
+
createdAt?: Date | string;
|
|
945
|
+
updatedAt?: Date | string;
|
|
946
|
+
webhookSecret: Prisma.SecretCreateNestedOneWithoutHostProviderWebhooksInput;
|
|
947
|
+
permissionSecret?: Prisma.SecretCreateNestedOneWithoutHostProviderPermissionsInput;
|
|
948
|
+
operations?: Prisma.HostProviderOperationCreateNestedManyWithoutHostProviderInput;
|
|
949
|
+
credentials?: Prisma.HostProviderCredentialCreateNestedManyWithoutHostProviderInput;
|
|
950
|
+
};
|
|
951
|
+
export type HostProviderUncheckedCreateWithoutTrustedAccountsInput = {
|
|
952
|
+
name: string;
|
|
953
|
+
contractVersion: number;
|
|
954
|
+
gitHost: string;
|
|
955
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
956
|
+
gitUsername: string;
|
|
957
|
+
pullRequestUrlTemplate: string;
|
|
958
|
+
repositoryApiPath: string;
|
|
959
|
+
permissionApiPath?: string | null;
|
|
960
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
961
|
+
webhookSecretId: string;
|
|
962
|
+
permissionSecretId?: string | null;
|
|
963
|
+
createdById: string;
|
|
964
|
+
createdAt?: Date | string;
|
|
965
|
+
updatedAt?: Date | string;
|
|
966
|
+
operations?: Prisma.HostProviderOperationUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
967
|
+
credentials?: Prisma.HostProviderCredentialUncheckedCreateNestedManyWithoutHostProviderInput;
|
|
968
|
+
};
|
|
969
|
+
export type HostProviderCreateOrConnectWithoutTrustedAccountsInput = {
|
|
970
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
971
|
+
create: Prisma.XOR<Prisma.HostProviderCreateWithoutTrustedAccountsInput, Prisma.HostProviderUncheckedCreateWithoutTrustedAccountsInput>;
|
|
972
|
+
};
|
|
973
|
+
export type HostProviderUpsertWithoutTrustedAccountsInput = {
|
|
974
|
+
update: Prisma.XOR<Prisma.HostProviderUpdateWithoutTrustedAccountsInput, Prisma.HostProviderUncheckedUpdateWithoutTrustedAccountsInput>;
|
|
975
|
+
create: Prisma.XOR<Prisma.HostProviderCreateWithoutTrustedAccountsInput, Prisma.HostProviderUncheckedCreateWithoutTrustedAccountsInput>;
|
|
976
|
+
where?: Prisma.HostProviderWhereInput;
|
|
977
|
+
};
|
|
978
|
+
export type HostProviderUpdateToOneWithWhereWithoutTrustedAccountsInput = {
|
|
979
|
+
where?: Prisma.HostProviderWhereInput;
|
|
980
|
+
data: Prisma.XOR<Prisma.HostProviderUpdateWithoutTrustedAccountsInput, Prisma.HostProviderUncheckedUpdateWithoutTrustedAccountsInput>;
|
|
981
|
+
};
|
|
982
|
+
export type HostProviderUpdateWithoutTrustedAccountsInput = {
|
|
983
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
984
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
985
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
986
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
987
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
988
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
989
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
990
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
991
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
992
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
993
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
994
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
995
|
+
webhookSecret?: Prisma.SecretUpdateOneRequiredWithoutHostProviderWebhooksNestedInput;
|
|
996
|
+
permissionSecret?: Prisma.SecretUpdateOneWithoutHostProviderPermissionsNestedInput;
|
|
997
|
+
operations?: Prisma.HostProviderOperationUpdateManyWithoutHostProviderNestedInput;
|
|
998
|
+
credentials?: Prisma.HostProviderCredentialUpdateManyWithoutHostProviderNestedInput;
|
|
999
|
+
};
|
|
1000
|
+
export type HostProviderUncheckedUpdateWithoutTrustedAccountsInput = {
|
|
1001
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1002
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1003
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1004
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
1005
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1006
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1007
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1008
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1009
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
1010
|
+
webhookSecretId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1011
|
+
permissionSecretId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1012
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1013
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1014
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1015
|
+
operations?: Prisma.HostProviderOperationUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
1016
|
+
credentials?: Prisma.HostProviderCredentialUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
1017
|
+
};
|
|
1018
|
+
export type HostProviderCreateManyWebhookSecretInput = {
|
|
1019
|
+
name: string;
|
|
1020
|
+
contractVersion: number;
|
|
1021
|
+
gitHost: string;
|
|
1022
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
1023
|
+
gitUsername: string;
|
|
1024
|
+
pullRequestUrlTemplate: string;
|
|
1025
|
+
repositoryApiPath: string;
|
|
1026
|
+
permissionApiPath?: string | null;
|
|
1027
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
1028
|
+
permissionSecretId?: string | null;
|
|
1029
|
+
createdById: string;
|
|
1030
|
+
createdAt?: Date | string;
|
|
1031
|
+
updatedAt?: Date | string;
|
|
1032
|
+
};
|
|
1033
|
+
export type HostProviderCreateManyPermissionSecretInput = {
|
|
1034
|
+
name: string;
|
|
1035
|
+
contractVersion: number;
|
|
1036
|
+
gitHost: string;
|
|
1037
|
+
apiHosts?: Prisma.HostProviderCreateapiHostsInput | string[];
|
|
1038
|
+
gitUsername: string;
|
|
1039
|
+
pullRequestUrlTemplate: string;
|
|
1040
|
+
repositoryApiPath: string;
|
|
1041
|
+
permissionApiPath?: string | null;
|
|
1042
|
+
webhook: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
1043
|
+
webhookSecretId: string;
|
|
1044
|
+
createdById: string;
|
|
1045
|
+
createdAt?: Date | string;
|
|
1046
|
+
updatedAt?: Date | string;
|
|
1047
|
+
};
|
|
1048
|
+
export type HostProviderUpdateWithoutWebhookSecretInput = {
|
|
1049
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1050
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1051
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1052
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
1053
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1054
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1055
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1056
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1057
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
1058
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1059
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1060
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1061
|
+
permissionSecret?: Prisma.SecretUpdateOneWithoutHostProviderPermissionsNestedInput;
|
|
1062
|
+
operations?: Prisma.HostProviderOperationUpdateManyWithoutHostProviderNestedInput;
|
|
1063
|
+
credentials?: Prisma.HostProviderCredentialUpdateManyWithoutHostProviderNestedInput;
|
|
1064
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUpdateManyWithoutHostProviderNestedInput;
|
|
1065
|
+
};
|
|
1066
|
+
export type HostProviderUncheckedUpdateWithoutWebhookSecretInput = {
|
|
1067
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1068
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1069
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1070
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
1071
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1072
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1073
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1074
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1075
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
1076
|
+
permissionSecretId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1077
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1078
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1079
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1080
|
+
operations?: Prisma.HostProviderOperationUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
1081
|
+
credentials?: Prisma.HostProviderCredentialUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
1082
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
1083
|
+
};
|
|
1084
|
+
export type HostProviderUncheckedUpdateManyWithoutWebhookSecretInput = {
|
|
1085
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1086
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1087
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1088
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
1089
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1090
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1091
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1092
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1093
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
1094
|
+
permissionSecretId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1095
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1096
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1097
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1098
|
+
};
|
|
1099
|
+
export type HostProviderUpdateWithoutPermissionSecretInput = {
|
|
1100
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1101
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1102
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1103
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
1104
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1105
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1106
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1107
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1108
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
1109
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1110
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1111
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1112
|
+
webhookSecret?: Prisma.SecretUpdateOneRequiredWithoutHostProviderWebhooksNestedInput;
|
|
1113
|
+
operations?: Prisma.HostProviderOperationUpdateManyWithoutHostProviderNestedInput;
|
|
1114
|
+
credentials?: Prisma.HostProviderCredentialUpdateManyWithoutHostProviderNestedInput;
|
|
1115
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUpdateManyWithoutHostProviderNestedInput;
|
|
1116
|
+
};
|
|
1117
|
+
export type HostProviderUncheckedUpdateWithoutPermissionSecretInput = {
|
|
1118
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1119
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1120
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1121
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
1122
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1123
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1124
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1125
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1126
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
1127
|
+
webhookSecretId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1128
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1129
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1130
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1131
|
+
operations?: Prisma.HostProviderOperationUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
1132
|
+
credentials?: Prisma.HostProviderCredentialUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
1133
|
+
trustedAccounts?: Prisma.HostProviderTrustedAccountUncheckedUpdateManyWithoutHostProviderNestedInput;
|
|
1134
|
+
};
|
|
1135
|
+
export type HostProviderUncheckedUpdateManyWithoutPermissionSecretInput = {
|
|
1136
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1137
|
+
contractVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1138
|
+
gitHost?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1139
|
+
apiHosts?: Prisma.HostProviderUpdateapiHostsInput | string[];
|
|
1140
|
+
gitUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1141
|
+
pullRequestUrlTemplate?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1142
|
+
repositoryApiPath?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1143
|
+
permissionApiPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1144
|
+
webhook?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
1145
|
+
webhookSecretId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1146
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1147
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1148
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1149
|
+
};
|
|
1150
|
+
/**
|
|
1151
|
+
* Count Type HostProviderCountOutputType
|
|
1152
|
+
*/
|
|
1153
|
+
export type HostProviderCountOutputType = {
|
|
1154
|
+
operations: number;
|
|
1155
|
+
credentials: number;
|
|
1156
|
+
trustedAccounts: number;
|
|
1157
|
+
};
|
|
1158
|
+
export type HostProviderCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1159
|
+
operations?: boolean | HostProviderCountOutputTypeCountOperationsArgs;
|
|
1160
|
+
credentials?: boolean | HostProviderCountOutputTypeCountCredentialsArgs;
|
|
1161
|
+
trustedAccounts?: boolean | HostProviderCountOutputTypeCountTrustedAccountsArgs;
|
|
1162
|
+
};
|
|
1163
|
+
/**
|
|
1164
|
+
* HostProviderCountOutputType without action
|
|
1165
|
+
*/
|
|
1166
|
+
export type HostProviderCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1167
|
+
/**
|
|
1168
|
+
* Select specific fields to fetch from the HostProviderCountOutputType
|
|
1169
|
+
*/
|
|
1170
|
+
select?: Prisma.HostProviderCountOutputTypeSelect<ExtArgs> | null;
|
|
1171
|
+
};
|
|
1172
|
+
/**
|
|
1173
|
+
* HostProviderCountOutputType without action
|
|
1174
|
+
*/
|
|
1175
|
+
export type HostProviderCountOutputTypeCountOperationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1176
|
+
where?: Prisma.HostProviderOperationWhereInput;
|
|
1177
|
+
};
|
|
1178
|
+
/**
|
|
1179
|
+
* HostProviderCountOutputType without action
|
|
1180
|
+
*/
|
|
1181
|
+
export type HostProviderCountOutputTypeCountCredentialsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1182
|
+
where?: Prisma.HostProviderCredentialWhereInput;
|
|
1183
|
+
};
|
|
1184
|
+
/**
|
|
1185
|
+
* HostProviderCountOutputType without action
|
|
1186
|
+
*/
|
|
1187
|
+
export type HostProviderCountOutputTypeCountTrustedAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1188
|
+
where?: Prisma.HostProviderTrustedAccountWhereInput;
|
|
1189
|
+
};
|
|
1190
|
+
export type HostProviderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1191
|
+
name?: boolean;
|
|
1192
|
+
contractVersion?: boolean;
|
|
1193
|
+
gitHost?: boolean;
|
|
1194
|
+
apiHosts?: boolean;
|
|
1195
|
+
gitUsername?: boolean;
|
|
1196
|
+
pullRequestUrlTemplate?: boolean;
|
|
1197
|
+
repositoryApiPath?: boolean;
|
|
1198
|
+
permissionApiPath?: boolean;
|
|
1199
|
+
webhook?: boolean;
|
|
1200
|
+
webhookSecretId?: boolean;
|
|
1201
|
+
permissionSecretId?: boolean;
|
|
1202
|
+
createdById?: boolean;
|
|
1203
|
+
createdAt?: boolean;
|
|
1204
|
+
updatedAt?: boolean;
|
|
1205
|
+
webhookSecret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
1206
|
+
permissionSecret?: boolean | Prisma.HostProvider$permissionSecretArgs<ExtArgs>;
|
|
1207
|
+
operations?: boolean | Prisma.HostProvider$operationsArgs<ExtArgs>;
|
|
1208
|
+
credentials?: boolean | Prisma.HostProvider$credentialsArgs<ExtArgs>;
|
|
1209
|
+
trustedAccounts?: boolean | Prisma.HostProvider$trustedAccountsArgs<ExtArgs>;
|
|
1210
|
+
_count?: boolean | Prisma.HostProviderCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1211
|
+
}, ExtArgs["result"]["hostProvider"]>;
|
|
1212
|
+
export type HostProviderSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1213
|
+
name?: boolean;
|
|
1214
|
+
contractVersion?: boolean;
|
|
1215
|
+
gitHost?: boolean;
|
|
1216
|
+
apiHosts?: boolean;
|
|
1217
|
+
gitUsername?: boolean;
|
|
1218
|
+
pullRequestUrlTemplate?: boolean;
|
|
1219
|
+
repositoryApiPath?: boolean;
|
|
1220
|
+
permissionApiPath?: boolean;
|
|
1221
|
+
webhook?: boolean;
|
|
1222
|
+
webhookSecretId?: boolean;
|
|
1223
|
+
permissionSecretId?: boolean;
|
|
1224
|
+
createdById?: boolean;
|
|
1225
|
+
createdAt?: boolean;
|
|
1226
|
+
updatedAt?: boolean;
|
|
1227
|
+
webhookSecret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
1228
|
+
permissionSecret?: boolean | Prisma.HostProvider$permissionSecretArgs<ExtArgs>;
|
|
1229
|
+
}, ExtArgs["result"]["hostProvider"]>;
|
|
1230
|
+
export type HostProviderSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1231
|
+
name?: boolean;
|
|
1232
|
+
contractVersion?: boolean;
|
|
1233
|
+
gitHost?: boolean;
|
|
1234
|
+
apiHosts?: boolean;
|
|
1235
|
+
gitUsername?: boolean;
|
|
1236
|
+
pullRequestUrlTemplate?: boolean;
|
|
1237
|
+
repositoryApiPath?: boolean;
|
|
1238
|
+
permissionApiPath?: boolean;
|
|
1239
|
+
webhook?: boolean;
|
|
1240
|
+
webhookSecretId?: boolean;
|
|
1241
|
+
permissionSecretId?: boolean;
|
|
1242
|
+
createdById?: boolean;
|
|
1243
|
+
createdAt?: boolean;
|
|
1244
|
+
updatedAt?: boolean;
|
|
1245
|
+
webhookSecret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
1246
|
+
permissionSecret?: boolean | Prisma.HostProvider$permissionSecretArgs<ExtArgs>;
|
|
1247
|
+
}, ExtArgs["result"]["hostProvider"]>;
|
|
1248
|
+
export type HostProviderSelectScalar = {
|
|
1249
|
+
name?: boolean;
|
|
1250
|
+
contractVersion?: boolean;
|
|
1251
|
+
gitHost?: boolean;
|
|
1252
|
+
apiHosts?: boolean;
|
|
1253
|
+
gitUsername?: boolean;
|
|
1254
|
+
pullRequestUrlTemplate?: boolean;
|
|
1255
|
+
repositoryApiPath?: boolean;
|
|
1256
|
+
permissionApiPath?: boolean;
|
|
1257
|
+
webhook?: boolean;
|
|
1258
|
+
webhookSecretId?: boolean;
|
|
1259
|
+
permissionSecretId?: boolean;
|
|
1260
|
+
createdById?: boolean;
|
|
1261
|
+
createdAt?: boolean;
|
|
1262
|
+
updatedAt?: boolean;
|
|
1263
|
+
};
|
|
1264
|
+
export type HostProviderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"name" | "contractVersion" | "gitHost" | "apiHosts" | "gitUsername" | "pullRequestUrlTemplate" | "repositoryApiPath" | "permissionApiPath" | "webhook" | "webhookSecretId" | "permissionSecretId" | "createdById" | "createdAt" | "updatedAt", ExtArgs["result"]["hostProvider"]>;
|
|
1265
|
+
export type HostProviderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1266
|
+
webhookSecret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
1267
|
+
permissionSecret?: boolean | Prisma.HostProvider$permissionSecretArgs<ExtArgs>;
|
|
1268
|
+
operations?: boolean | Prisma.HostProvider$operationsArgs<ExtArgs>;
|
|
1269
|
+
credentials?: boolean | Prisma.HostProvider$credentialsArgs<ExtArgs>;
|
|
1270
|
+
trustedAccounts?: boolean | Prisma.HostProvider$trustedAccountsArgs<ExtArgs>;
|
|
1271
|
+
_count?: boolean | Prisma.HostProviderCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1272
|
+
};
|
|
1273
|
+
export type HostProviderIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1274
|
+
webhookSecret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
1275
|
+
permissionSecret?: boolean | Prisma.HostProvider$permissionSecretArgs<ExtArgs>;
|
|
1276
|
+
};
|
|
1277
|
+
export type HostProviderIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1278
|
+
webhookSecret?: boolean | Prisma.SecretDefaultArgs<ExtArgs>;
|
|
1279
|
+
permissionSecret?: boolean | Prisma.HostProvider$permissionSecretArgs<ExtArgs>;
|
|
1280
|
+
};
|
|
1281
|
+
export type $HostProviderPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1282
|
+
name: "HostProvider";
|
|
1283
|
+
objects: {
|
|
1284
|
+
webhookSecret: Prisma.$SecretPayload<ExtArgs>;
|
|
1285
|
+
permissionSecret: Prisma.$SecretPayload<ExtArgs> | null;
|
|
1286
|
+
operations: Prisma.$HostProviderOperationPayload<ExtArgs>[];
|
|
1287
|
+
credentials: Prisma.$HostProviderCredentialPayload<ExtArgs>[];
|
|
1288
|
+
trustedAccounts: Prisma.$HostProviderTrustedAccountPayload<ExtArgs>[];
|
|
1289
|
+
};
|
|
1290
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1291
|
+
name: string;
|
|
1292
|
+
contractVersion: number;
|
|
1293
|
+
gitHost: string;
|
|
1294
|
+
apiHosts: string[];
|
|
1295
|
+
gitUsername: string;
|
|
1296
|
+
pullRequestUrlTemplate: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* Where one repository lives on the API, with `{repository}`: a repository-scoped tool's requests stay under it.
|
|
1299
|
+
*/
|
|
1300
|
+
repositoryApiPath: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* The effective-permission endpoint, with `{workspace}` and `{repo}`. Set with a permission secret.
|
|
1303
|
+
*/
|
|
1304
|
+
permissionApiPath: string | null;
|
|
1305
|
+
/**
|
|
1306
|
+
* How to verify and read a webhook: header names and algorithm, never the secret.
|
|
1307
|
+
*/
|
|
1308
|
+
webhook: runtime.JsonValue;
|
|
1309
|
+
webhookSecretId: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* Set: ask the host who has access. Unset: trustedAccounts decides.
|
|
1312
|
+
*/
|
|
1313
|
+
permissionSecretId: string | null;
|
|
1314
|
+
createdById: string;
|
|
1315
|
+
createdAt: Date;
|
|
1316
|
+
updatedAt: Date;
|
|
1317
|
+
}, ExtArgs["result"]["hostProvider"]>;
|
|
1318
|
+
composites: {};
|
|
1319
|
+
};
|
|
1320
|
+
export type HostProviderGetPayload<S extends boolean | null | undefined | HostProviderDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HostProviderPayload, S>;
|
|
1321
|
+
export type HostProviderCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<HostProviderFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1322
|
+
select?: HostProviderCountAggregateInputType | true;
|
|
1323
|
+
};
|
|
1324
|
+
export interface HostProviderDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1325
|
+
[K: symbol]: {
|
|
1326
|
+
types: Prisma.TypeMap<ExtArgs>['model']['HostProvider'];
|
|
1327
|
+
meta: {
|
|
1328
|
+
name: 'HostProvider';
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1331
|
+
/**
|
|
1332
|
+
* Find zero or one HostProvider that matches the filter.
|
|
1333
|
+
* @param {HostProviderFindUniqueArgs} args - Arguments to find a HostProvider
|
|
1334
|
+
* @example
|
|
1335
|
+
* // Get one HostProvider
|
|
1336
|
+
* const hostProvider = await prisma.hostProvider.findUnique({
|
|
1337
|
+
* where: {
|
|
1338
|
+
* // ... provide filter here
|
|
1339
|
+
* }
|
|
1340
|
+
* })
|
|
1341
|
+
*/
|
|
1342
|
+
findUnique<T extends HostProviderFindUniqueArgs>(args: Prisma.SelectSubset<T, HostProviderFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HostProviderClient<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1343
|
+
/**
|
|
1344
|
+
* Find one HostProvider that matches the filter or throw an error with `error.code='P2025'`
|
|
1345
|
+
* if no matches were found.
|
|
1346
|
+
* @param {HostProviderFindUniqueOrThrowArgs} args - Arguments to find a HostProvider
|
|
1347
|
+
* @example
|
|
1348
|
+
* // Get one HostProvider
|
|
1349
|
+
* const hostProvider = await prisma.hostProvider.findUniqueOrThrow({
|
|
1350
|
+
* where: {
|
|
1351
|
+
* // ... provide filter here
|
|
1352
|
+
* }
|
|
1353
|
+
* })
|
|
1354
|
+
*/
|
|
1355
|
+
findUniqueOrThrow<T extends HostProviderFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HostProviderFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HostProviderClient<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Find the first HostProvider that matches the filter.
|
|
1358
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1359
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1360
|
+
* @param {HostProviderFindFirstArgs} args - Arguments to find a HostProvider
|
|
1361
|
+
* @example
|
|
1362
|
+
* // Get one HostProvider
|
|
1363
|
+
* const hostProvider = await prisma.hostProvider.findFirst({
|
|
1364
|
+
* where: {
|
|
1365
|
+
* // ... provide filter here
|
|
1366
|
+
* }
|
|
1367
|
+
* })
|
|
1368
|
+
*/
|
|
1369
|
+
findFirst<T extends HostProviderFindFirstArgs>(args?: Prisma.SelectSubset<T, HostProviderFindFirstArgs<ExtArgs>>): Prisma.Prisma__HostProviderClient<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1370
|
+
/**
|
|
1371
|
+
* Find the first HostProvider that matches the filter or
|
|
1372
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1373
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1374
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1375
|
+
* @param {HostProviderFindFirstOrThrowArgs} args - Arguments to find a HostProvider
|
|
1376
|
+
* @example
|
|
1377
|
+
* // Get one HostProvider
|
|
1378
|
+
* const hostProvider = await prisma.hostProvider.findFirstOrThrow({
|
|
1379
|
+
* where: {
|
|
1380
|
+
* // ... provide filter here
|
|
1381
|
+
* }
|
|
1382
|
+
* })
|
|
1383
|
+
*/
|
|
1384
|
+
findFirstOrThrow<T extends HostProviderFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HostProviderFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HostProviderClient<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1385
|
+
/**
|
|
1386
|
+
* Find zero or more HostProviders that matches the filter.
|
|
1387
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1388
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1389
|
+
* @param {HostProviderFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1390
|
+
* @example
|
|
1391
|
+
* // Get all HostProviders
|
|
1392
|
+
* const hostProviders = await prisma.hostProvider.findMany()
|
|
1393
|
+
*
|
|
1394
|
+
* // Get first 10 HostProviders
|
|
1395
|
+
* const hostProviders = await prisma.hostProvider.findMany({ take: 10 })
|
|
1396
|
+
*
|
|
1397
|
+
* // Only select the `name`
|
|
1398
|
+
* const hostProviderWithNameOnly = await prisma.hostProvider.findMany({ select: { name: true } })
|
|
1399
|
+
*
|
|
1400
|
+
*/
|
|
1401
|
+
findMany<T extends HostProviderFindManyArgs>(args?: Prisma.SelectSubset<T, HostProviderFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1402
|
+
/**
|
|
1403
|
+
* Create a HostProvider.
|
|
1404
|
+
* @param {HostProviderCreateArgs} args - Arguments to create a HostProvider.
|
|
1405
|
+
* @example
|
|
1406
|
+
* // Create one HostProvider
|
|
1407
|
+
* const HostProvider = await prisma.hostProvider.create({
|
|
1408
|
+
* data: {
|
|
1409
|
+
* // ... data to create a HostProvider
|
|
1410
|
+
* }
|
|
1411
|
+
* })
|
|
1412
|
+
*
|
|
1413
|
+
*/
|
|
1414
|
+
create<T extends HostProviderCreateArgs>(args: Prisma.SelectSubset<T, HostProviderCreateArgs<ExtArgs>>): Prisma.Prisma__HostProviderClient<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Create many HostProviders.
|
|
1417
|
+
* @param {HostProviderCreateManyArgs} args - Arguments to create many HostProviders.
|
|
1418
|
+
* @example
|
|
1419
|
+
* // Create many HostProviders
|
|
1420
|
+
* const hostProvider = await prisma.hostProvider.createMany({
|
|
1421
|
+
* data: [
|
|
1422
|
+
* // ... provide data here
|
|
1423
|
+
* ]
|
|
1424
|
+
* })
|
|
1425
|
+
*
|
|
1426
|
+
*/
|
|
1427
|
+
createMany<T extends HostProviderCreateManyArgs>(args?: Prisma.SelectSubset<T, HostProviderCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1428
|
+
/**
|
|
1429
|
+
* Create many HostProviders and returns the data saved in the database.
|
|
1430
|
+
* @param {HostProviderCreateManyAndReturnArgs} args - Arguments to create many HostProviders.
|
|
1431
|
+
* @example
|
|
1432
|
+
* // Create many HostProviders
|
|
1433
|
+
* const hostProvider = await prisma.hostProvider.createManyAndReturn({
|
|
1434
|
+
* data: [
|
|
1435
|
+
* // ... provide data here
|
|
1436
|
+
* ]
|
|
1437
|
+
* })
|
|
1438
|
+
*
|
|
1439
|
+
* // Create many HostProviders and only return the `name`
|
|
1440
|
+
* const hostProviderWithNameOnly = await prisma.hostProvider.createManyAndReturn({
|
|
1441
|
+
* select: { name: true },
|
|
1442
|
+
* data: [
|
|
1443
|
+
* // ... provide data here
|
|
1444
|
+
* ]
|
|
1445
|
+
* })
|
|
1446
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1447
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1448
|
+
*
|
|
1449
|
+
*/
|
|
1450
|
+
createManyAndReturn<T extends HostProviderCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HostProviderCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1451
|
+
/**
|
|
1452
|
+
* Delete a HostProvider.
|
|
1453
|
+
* @param {HostProviderDeleteArgs} args - Arguments to delete one HostProvider.
|
|
1454
|
+
* @example
|
|
1455
|
+
* // Delete one HostProvider
|
|
1456
|
+
* const HostProvider = await prisma.hostProvider.delete({
|
|
1457
|
+
* where: {
|
|
1458
|
+
* // ... filter to delete one HostProvider
|
|
1459
|
+
* }
|
|
1460
|
+
* })
|
|
1461
|
+
*
|
|
1462
|
+
*/
|
|
1463
|
+
delete<T extends HostProviderDeleteArgs>(args: Prisma.SelectSubset<T, HostProviderDeleteArgs<ExtArgs>>): Prisma.Prisma__HostProviderClient<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1464
|
+
/**
|
|
1465
|
+
* Update one HostProvider.
|
|
1466
|
+
* @param {HostProviderUpdateArgs} args - Arguments to update one HostProvider.
|
|
1467
|
+
* @example
|
|
1468
|
+
* // Update one HostProvider
|
|
1469
|
+
* const hostProvider = await prisma.hostProvider.update({
|
|
1470
|
+
* where: {
|
|
1471
|
+
* // ... provide filter here
|
|
1472
|
+
* },
|
|
1473
|
+
* data: {
|
|
1474
|
+
* // ... provide data here
|
|
1475
|
+
* }
|
|
1476
|
+
* })
|
|
1477
|
+
*
|
|
1478
|
+
*/
|
|
1479
|
+
update<T extends HostProviderUpdateArgs>(args: Prisma.SelectSubset<T, HostProviderUpdateArgs<ExtArgs>>): Prisma.Prisma__HostProviderClient<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1480
|
+
/**
|
|
1481
|
+
* Delete zero or more HostProviders.
|
|
1482
|
+
* @param {HostProviderDeleteManyArgs} args - Arguments to filter HostProviders to delete.
|
|
1483
|
+
* @example
|
|
1484
|
+
* // Delete a few HostProviders
|
|
1485
|
+
* const { count } = await prisma.hostProvider.deleteMany({
|
|
1486
|
+
* where: {
|
|
1487
|
+
* // ... provide filter here
|
|
1488
|
+
* }
|
|
1489
|
+
* })
|
|
1490
|
+
*
|
|
1491
|
+
*/
|
|
1492
|
+
deleteMany<T extends HostProviderDeleteManyArgs>(args?: Prisma.SelectSubset<T, HostProviderDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1493
|
+
/**
|
|
1494
|
+
* Update zero or more HostProviders.
|
|
1495
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1496
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1497
|
+
* @param {HostProviderUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1498
|
+
* @example
|
|
1499
|
+
* // Update many HostProviders
|
|
1500
|
+
* const hostProvider = await prisma.hostProvider.updateMany({
|
|
1501
|
+
* where: {
|
|
1502
|
+
* // ... provide filter here
|
|
1503
|
+
* },
|
|
1504
|
+
* data: {
|
|
1505
|
+
* // ... provide data here
|
|
1506
|
+
* }
|
|
1507
|
+
* })
|
|
1508
|
+
*
|
|
1509
|
+
*/
|
|
1510
|
+
updateMany<T extends HostProviderUpdateManyArgs>(args: Prisma.SelectSubset<T, HostProviderUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1511
|
+
/**
|
|
1512
|
+
* Update zero or more HostProviders and returns the data updated in the database.
|
|
1513
|
+
* @param {HostProviderUpdateManyAndReturnArgs} args - Arguments to update many HostProviders.
|
|
1514
|
+
* @example
|
|
1515
|
+
* // Update many HostProviders
|
|
1516
|
+
* const hostProvider = await prisma.hostProvider.updateManyAndReturn({
|
|
1517
|
+
* where: {
|
|
1518
|
+
* // ... provide filter here
|
|
1519
|
+
* },
|
|
1520
|
+
* data: [
|
|
1521
|
+
* // ... provide data here
|
|
1522
|
+
* ]
|
|
1523
|
+
* })
|
|
1524
|
+
*
|
|
1525
|
+
* // Update zero or more HostProviders and only return the `name`
|
|
1526
|
+
* const hostProviderWithNameOnly = await prisma.hostProvider.updateManyAndReturn({
|
|
1527
|
+
* select: { name: true },
|
|
1528
|
+
* where: {
|
|
1529
|
+
* // ... provide filter here
|
|
1530
|
+
* },
|
|
1531
|
+
* data: [
|
|
1532
|
+
* // ... provide data here
|
|
1533
|
+
* ]
|
|
1534
|
+
* })
|
|
1535
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1536
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1537
|
+
*
|
|
1538
|
+
*/
|
|
1539
|
+
updateManyAndReturn<T extends HostProviderUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HostProviderUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1540
|
+
/**
|
|
1541
|
+
* Create or update one HostProvider.
|
|
1542
|
+
* @param {HostProviderUpsertArgs} args - Arguments to update or create a HostProvider.
|
|
1543
|
+
* @example
|
|
1544
|
+
* // Update or create a HostProvider
|
|
1545
|
+
* const hostProvider = await prisma.hostProvider.upsert({
|
|
1546
|
+
* create: {
|
|
1547
|
+
* // ... data to create a HostProvider
|
|
1548
|
+
* },
|
|
1549
|
+
* update: {
|
|
1550
|
+
* // ... in case it already exists, update
|
|
1551
|
+
* },
|
|
1552
|
+
* where: {
|
|
1553
|
+
* // ... the filter for the HostProvider we want to update
|
|
1554
|
+
* }
|
|
1555
|
+
* })
|
|
1556
|
+
*/
|
|
1557
|
+
upsert<T extends HostProviderUpsertArgs>(args: Prisma.SelectSubset<T, HostProviderUpsertArgs<ExtArgs>>): Prisma.Prisma__HostProviderClient<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1558
|
+
/**
|
|
1559
|
+
* Count the number of HostProviders.
|
|
1560
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1561
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1562
|
+
* @param {HostProviderCountArgs} args - Arguments to filter HostProviders to count.
|
|
1563
|
+
* @example
|
|
1564
|
+
* // Count the number of HostProviders
|
|
1565
|
+
* const count = await prisma.hostProvider.count({
|
|
1566
|
+
* where: {
|
|
1567
|
+
* // ... the filter for the HostProviders we want to count
|
|
1568
|
+
* }
|
|
1569
|
+
* })
|
|
1570
|
+
**/
|
|
1571
|
+
count<T extends HostProviderCountArgs>(args?: Prisma.Subset<T, HostProviderCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], HostProviderCountAggregateOutputType> : number>;
|
|
1572
|
+
/**
|
|
1573
|
+
* Allows you to perform aggregations operations on a HostProvider.
|
|
1574
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1575
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1576
|
+
* @param {HostProviderAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1577
|
+
* @example
|
|
1578
|
+
* // Ordered by age ascending
|
|
1579
|
+
* // Where email contains prisma.io
|
|
1580
|
+
* // Limited to the 10 users
|
|
1581
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1582
|
+
* _avg: {
|
|
1583
|
+
* age: true,
|
|
1584
|
+
* },
|
|
1585
|
+
* where: {
|
|
1586
|
+
* email: {
|
|
1587
|
+
* contains: "prisma.io",
|
|
1588
|
+
* },
|
|
1589
|
+
* },
|
|
1590
|
+
* orderBy: {
|
|
1591
|
+
* age: "asc",
|
|
1592
|
+
* },
|
|
1593
|
+
* take: 10,
|
|
1594
|
+
* })
|
|
1595
|
+
**/
|
|
1596
|
+
aggregate<T extends HostProviderAggregateArgs>(args: Prisma.Subset<T, HostProviderAggregateArgs>): Prisma.PrismaPromise<GetHostProviderAggregateType<T>>;
|
|
1597
|
+
/**
|
|
1598
|
+
* Group by HostProvider.
|
|
1599
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1600
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1601
|
+
* @param {HostProviderGroupByArgs} args - Group by arguments.
|
|
1602
|
+
* @example
|
|
1603
|
+
* // Group by city, order by createdAt, get count
|
|
1604
|
+
* const result = await prisma.user.groupBy({
|
|
1605
|
+
* by: ['city', 'createdAt'],
|
|
1606
|
+
* orderBy: {
|
|
1607
|
+
* createdAt: true
|
|
1608
|
+
* },
|
|
1609
|
+
* _count: {
|
|
1610
|
+
* _all: true
|
|
1611
|
+
* },
|
|
1612
|
+
* })
|
|
1613
|
+
*
|
|
1614
|
+
**/
|
|
1615
|
+
groupBy<T extends HostProviderGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1616
|
+
orderBy: HostProviderGroupByArgs['orderBy'];
|
|
1617
|
+
} : {
|
|
1618
|
+
orderBy?: HostProviderGroupByArgs['orderBy'];
|
|
1619
|
+
}, 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 ? {
|
|
1620
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1621
|
+
Error,
|
|
1622
|
+
'Field ',
|
|
1623
|
+
P,
|
|
1624
|
+
` in "having" needs to be provided in "by"`
|
|
1625
|
+
];
|
|
1626
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1627
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1628
|
+
}[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 ? {} : {
|
|
1629
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1630
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1631
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1632
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, HostProviderGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHostProviderGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1633
|
+
/**
|
|
1634
|
+
* Fields of the HostProvider model
|
|
1635
|
+
*/
|
|
1636
|
+
readonly fields: HostProviderFieldRefs;
|
|
1637
|
+
}
|
|
1638
|
+
/**
|
|
1639
|
+
* The delegate class that acts as a "Promise-like" for HostProvider.
|
|
1640
|
+
* Why is this prefixed with `Prisma__`?
|
|
1641
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1642
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1643
|
+
*/
|
|
1644
|
+
export interface Prisma__HostProviderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1645
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1646
|
+
webhookSecret<T extends Prisma.SecretDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SecretDefaultArgs<ExtArgs>>): Prisma.Prisma__SecretClient<runtime.Types.Result.GetResult<Prisma.$SecretPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1647
|
+
permissionSecret<T extends Prisma.HostProvider$permissionSecretArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HostProvider$permissionSecretArgs<ExtArgs>>): Prisma.Prisma__SecretClient<runtime.Types.Result.GetResult<Prisma.$SecretPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1648
|
+
operations<T extends Prisma.HostProvider$operationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HostProvider$operationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1649
|
+
credentials<T extends Prisma.HostProvider$credentialsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HostProvider$credentialsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderCredentialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1650
|
+
trustedAccounts<T extends Prisma.HostProvider$trustedAccountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HostProvider$trustedAccountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderTrustedAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1651
|
+
/**
|
|
1652
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1653
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1654
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1655
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1656
|
+
*/
|
|
1657
|
+
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>;
|
|
1658
|
+
/**
|
|
1659
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1660
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1661
|
+
* @returns A Promise for the completion of the callback.
|
|
1662
|
+
*/
|
|
1663
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1664
|
+
/**
|
|
1665
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1666
|
+
* resolved value cannot be modified from the callback.
|
|
1667
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1668
|
+
* @returns A Promise for the completion of the callback.
|
|
1669
|
+
*/
|
|
1670
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1671
|
+
}
|
|
1672
|
+
/**
|
|
1673
|
+
* Fields of the HostProvider model
|
|
1674
|
+
*/
|
|
1675
|
+
export interface HostProviderFieldRefs {
|
|
1676
|
+
readonly name: Prisma.FieldRef<"HostProvider", 'String'>;
|
|
1677
|
+
readonly contractVersion: Prisma.FieldRef<"HostProvider", 'Int'>;
|
|
1678
|
+
readonly gitHost: Prisma.FieldRef<"HostProvider", 'String'>;
|
|
1679
|
+
readonly apiHosts: Prisma.FieldRef<"HostProvider", 'String[]'>;
|
|
1680
|
+
readonly gitUsername: Prisma.FieldRef<"HostProvider", 'String'>;
|
|
1681
|
+
readonly pullRequestUrlTemplate: Prisma.FieldRef<"HostProvider", 'String'>;
|
|
1682
|
+
readonly repositoryApiPath: Prisma.FieldRef<"HostProvider", 'String'>;
|
|
1683
|
+
readonly permissionApiPath: Prisma.FieldRef<"HostProvider", 'String'>;
|
|
1684
|
+
readonly webhook: Prisma.FieldRef<"HostProvider", 'Json'>;
|
|
1685
|
+
readonly webhookSecretId: Prisma.FieldRef<"HostProvider", 'String'>;
|
|
1686
|
+
readonly permissionSecretId: Prisma.FieldRef<"HostProvider", 'String'>;
|
|
1687
|
+
readonly createdById: Prisma.FieldRef<"HostProvider", 'String'>;
|
|
1688
|
+
readonly createdAt: Prisma.FieldRef<"HostProvider", 'DateTime'>;
|
|
1689
|
+
readonly updatedAt: Prisma.FieldRef<"HostProvider", 'DateTime'>;
|
|
1690
|
+
}
|
|
1691
|
+
/**
|
|
1692
|
+
* HostProvider findUnique
|
|
1693
|
+
*/
|
|
1694
|
+
export type HostProviderFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1695
|
+
/**
|
|
1696
|
+
* Select specific fields to fetch from the HostProvider
|
|
1697
|
+
*/
|
|
1698
|
+
select?: Prisma.HostProviderSelect<ExtArgs> | null;
|
|
1699
|
+
/**
|
|
1700
|
+
* Omit specific fields from the HostProvider
|
|
1701
|
+
*/
|
|
1702
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
1703
|
+
/**
|
|
1704
|
+
* Choose, which related nodes to fetch as well
|
|
1705
|
+
*/
|
|
1706
|
+
include?: Prisma.HostProviderInclude<ExtArgs> | null;
|
|
1707
|
+
/**
|
|
1708
|
+
* Filter, which HostProvider to fetch.
|
|
1709
|
+
*/
|
|
1710
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
1711
|
+
};
|
|
1712
|
+
/**
|
|
1713
|
+
* HostProvider findUniqueOrThrow
|
|
1714
|
+
*/
|
|
1715
|
+
export type HostProviderFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1716
|
+
/**
|
|
1717
|
+
* Select specific fields to fetch from the HostProvider
|
|
1718
|
+
*/
|
|
1719
|
+
select?: Prisma.HostProviderSelect<ExtArgs> | null;
|
|
1720
|
+
/**
|
|
1721
|
+
* Omit specific fields from the HostProvider
|
|
1722
|
+
*/
|
|
1723
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
1724
|
+
/**
|
|
1725
|
+
* Choose, which related nodes to fetch as well
|
|
1726
|
+
*/
|
|
1727
|
+
include?: Prisma.HostProviderInclude<ExtArgs> | null;
|
|
1728
|
+
/**
|
|
1729
|
+
* Filter, which HostProvider to fetch.
|
|
1730
|
+
*/
|
|
1731
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
1732
|
+
};
|
|
1733
|
+
/**
|
|
1734
|
+
* HostProvider findFirst
|
|
1735
|
+
*/
|
|
1736
|
+
export type HostProviderFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1737
|
+
/**
|
|
1738
|
+
* Select specific fields to fetch from the HostProvider
|
|
1739
|
+
*/
|
|
1740
|
+
select?: Prisma.HostProviderSelect<ExtArgs> | null;
|
|
1741
|
+
/**
|
|
1742
|
+
* Omit specific fields from the HostProvider
|
|
1743
|
+
*/
|
|
1744
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
1745
|
+
/**
|
|
1746
|
+
* Choose, which related nodes to fetch as well
|
|
1747
|
+
*/
|
|
1748
|
+
include?: Prisma.HostProviderInclude<ExtArgs> | null;
|
|
1749
|
+
/**
|
|
1750
|
+
* Filter, which HostProvider to fetch.
|
|
1751
|
+
*/
|
|
1752
|
+
where?: Prisma.HostProviderWhereInput;
|
|
1753
|
+
/**
|
|
1754
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1755
|
+
*
|
|
1756
|
+
* Determine the order of HostProviders to fetch.
|
|
1757
|
+
*/
|
|
1758
|
+
orderBy?: Prisma.HostProviderOrderByWithRelationInput | Prisma.HostProviderOrderByWithRelationInput[];
|
|
1759
|
+
/**
|
|
1760
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1761
|
+
*
|
|
1762
|
+
* Sets the position for searching for HostProviders.
|
|
1763
|
+
*/
|
|
1764
|
+
cursor?: Prisma.HostProviderWhereUniqueInput;
|
|
1765
|
+
/**
|
|
1766
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1767
|
+
*
|
|
1768
|
+
* Take `±n` HostProviders from the position of the cursor.
|
|
1769
|
+
*/
|
|
1770
|
+
take?: number;
|
|
1771
|
+
/**
|
|
1772
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1773
|
+
*
|
|
1774
|
+
* Skip the first `n` HostProviders.
|
|
1775
|
+
*/
|
|
1776
|
+
skip?: number;
|
|
1777
|
+
/**
|
|
1778
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1779
|
+
*
|
|
1780
|
+
* Filter by unique combinations of HostProviders.
|
|
1781
|
+
*/
|
|
1782
|
+
distinct?: Prisma.HostProviderScalarFieldEnum | Prisma.HostProviderScalarFieldEnum[];
|
|
1783
|
+
};
|
|
1784
|
+
/**
|
|
1785
|
+
* HostProvider findFirstOrThrow
|
|
1786
|
+
*/
|
|
1787
|
+
export type HostProviderFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1788
|
+
/**
|
|
1789
|
+
* Select specific fields to fetch from the HostProvider
|
|
1790
|
+
*/
|
|
1791
|
+
select?: Prisma.HostProviderSelect<ExtArgs> | null;
|
|
1792
|
+
/**
|
|
1793
|
+
* Omit specific fields from the HostProvider
|
|
1794
|
+
*/
|
|
1795
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
1796
|
+
/**
|
|
1797
|
+
* Choose, which related nodes to fetch as well
|
|
1798
|
+
*/
|
|
1799
|
+
include?: Prisma.HostProviderInclude<ExtArgs> | null;
|
|
1800
|
+
/**
|
|
1801
|
+
* Filter, which HostProvider to fetch.
|
|
1802
|
+
*/
|
|
1803
|
+
where?: Prisma.HostProviderWhereInput;
|
|
1804
|
+
/**
|
|
1805
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1806
|
+
*
|
|
1807
|
+
* Determine the order of HostProviders to fetch.
|
|
1808
|
+
*/
|
|
1809
|
+
orderBy?: Prisma.HostProviderOrderByWithRelationInput | Prisma.HostProviderOrderByWithRelationInput[];
|
|
1810
|
+
/**
|
|
1811
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1812
|
+
*
|
|
1813
|
+
* Sets the position for searching for HostProviders.
|
|
1814
|
+
*/
|
|
1815
|
+
cursor?: Prisma.HostProviderWhereUniqueInput;
|
|
1816
|
+
/**
|
|
1817
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1818
|
+
*
|
|
1819
|
+
* Take `±n` HostProviders from the position of the cursor.
|
|
1820
|
+
*/
|
|
1821
|
+
take?: number;
|
|
1822
|
+
/**
|
|
1823
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1824
|
+
*
|
|
1825
|
+
* Skip the first `n` HostProviders.
|
|
1826
|
+
*/
|
|
1827
|
+
skip?: number;
|
|
1828
|
+
/**
|
|
1829
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1830
|
+
*
|
|
1831
|
+
* Filter by unique combinations of HostProviders.
|
|
1832
|
+
*/
|
|
1833
|
+
distinct?: Prisma.HostProviderScalarFieldEnum | Prisma.HostProviderScalarFieldEnum[];
|
|
1834
|
+
};
|
|
1835
|
+
/**
|
|
1836
|
+
* HostProvider findMany
|
|
1837
|
+
*/
|
|
1838
|
+
export type HostProviderFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1839
|
+
/**
|
|
1840
|
+
* Select specific fields to fetch from the HostProvider
|
|
1841
|
+
*/
|
|
1842
|
+
select?: Prisma.HostProviderSelect<ExtArgs> | null;
|
|
1843
|
+
/**
|
|
1844
|
+
* Omit specific fields from the HostProvider
|
|
1845
|
+
*/
|
|
1846
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
1847
|
+
/**
|
|
1848
|
+
* Choose, which related nodes to fetch as well
|
|
1849
|
+
*/
|
|
1850
|
+
include?: Prisma.HostProviderInclude<ExtArgs> | null;
|
|
1851
|
+
/**
|
|
1852
|
+
* Filter, which HostProviders to fetch.
|
|
1853
|
+
*/
|
|
1854
|
+
where?: Prisma.HostProviderWhereInput;
|
|
1855
|
+
/**
|
|
1856
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1857
|
+
*
|
|
1858
|
+
* Determine the order of HostProviders to fetch.
|
|
1859
|
+
*/
|
|
1860
|
+
orderBy?: Prisma.HostProviderOrderByWithRelationInput | Prisma.HostProviderOrderByWithRelationInput[];
|
|
1861
|
+
/**
|
|
1862
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1863
|
+
*
|
|
1864
|
+
* Sets the position for listing HostProviders.
|
|
1865
|
+
*/
|
|
1866
|
+
cursor?: Prisma.HostProviderWhereUniqueInput;
|
|
1867
|
+
/**
|
|
1868
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1869
|
+
*
|
|
1870
|
+
* Take `±n` HostProviders from the position of the cursor.
|
|
1871
|
+
*/
|
|
1872
|
+
take?: number;
|
|
1873
|
+
/**
|
|
1874
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1875
|
+
*
|
|
1876
|
+
* Skip the first `n` HostProviders.
|
|
1877
|
+
*/
|
|
1878
|
+
skip?: number;
|
|
1879
|
+
/**
|
|
1880
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1881
|
+
*
|
|
1882
|
+
* Filter by unique combinations of HostProviders.
|
|
1883
|
+
*/
|
|
1884
|
+
distinct?: Prisma.HostProviderScalarFieldEnum | Prisma.HostProviderScalarFieldEnum[];
|
|
1885
|
+
};
|
|
1886
|
+
/**
|
|
1887
|
+
* HostProvider create
|
|
1888
|
+
*/
|
|
1889
|
+
export type HostProviderCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1890
|
+
/**
|
|
1891
|
+
* Select specific fields to fetch from the HostProvider
|
|
1892
|
+
*/
|
|
1893
|
+
select?: Prisma.HostProviderSelect<ExtArgs> | null;
|
|
1894
|
+
/**
|
|
1895
|
+
* Omit specific fields from the HostProvider
|
|
1896
|
+
*/
|
|
1897
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
1898
|
+
/**
|
|
1899
|
+
* Choose, which related nodes to fetch as well
|
|
1900
|
+
*/
|
|
1901
|
+
include?: Prisma.HostProviderInclude<ExtArgs> | null;
|
|
1902
|
+
/**
|
|
1903
|
+
* The data needed to create a HostProvider.
|
|
1904
|
+
*/
|
|
1905
|
+
data: Prisma.XOR<Prisma.HostProviderCreateInput, Prisma.HostProviderUncheckedCreateInput>;
|
|
1906
|
+
};
|
|
1907
|
+
/**
|
|
1908
|
+
* HostProvider createMany
|
|
1909
|
+
*/
|
|
1910
|
+
export type HostProviderCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1911
|
+
/**
|
|
1912
|
+
* The data used to create many HostProviders.
|
|
1913
|
+
*/
|
|
1914
|
+
data: Prisma.HostProviderCreateManyInput | Prisma.HostProviderCreateManyInput[];
|
|
1915
|
+
skipDuplicates?: boolean;
|
|
1916
|
+
};
|
|
1917
|
+
/**
|
|
1918
|
+
* HostProvider createManyAndReturn
|
|
1919
|
+
*/
|
|
1920
|
+
export type HostProviderCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1921
|
+
/**
|
|
1922
|
+
* Select specific fields to fetch from the HostProvider
|
|
1923
|
+
*/
|
|
1924
|
+
select?: Prisma.HostProviderSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1925
|
+
/**
|
|
1926
|
+
* Omit specific fields from the HostProvider
|
|
1927
|
+
*/
|
|
1928
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
1929
|
+
/**
|
|
1930
|
+
* The data used to create many HostProviders.
|
|
1931
|
+
*/
|
|
1932
|
+
data: Prisma.HostProviderCreateManyInput | Prisma.HostProviderCreateManyInput[];
|
|
1933
|
+
skipDuplicates?: boolean;
|
|
1934
|
+
/**
|
|
1935
|
+
* Choose, which related nodes to fetch as well
|
|
1936
|
+
*/
|
|
1937
|
+
include?: Prisma.HostProviderIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1938
|
+
};
|
|
1939
|
+
/**
|
|
1940
|
+
* HostProvider update
|
|
1941
|
+
*/
|
|
1942
|
+
export type HostProviderUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1943
|
+
/**
|
|
1944
|
+
* Select specific fields to fetch from the HostProvider
|
|
1945
|
+
*/
|
|
1946
|
+
select?: Prisma.HostProviderSelect<ExtArgs> | null;
|
|
1947
|
+
/**
|
|
1948
|
+
* Omit specific fields from the HostProvider
|
|
1949
|
+
*/
|
|
1950
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
1951
|
+
/**
|
|
1952
|
+
* Choose, which related nodes to fetch as well
|
|
1953
|
+
*/
|
|
1954
|
+
include?: Prisma.HostProviderInclude<ExtArgs> | null;
|
|
1955
|
+
/**
|
|
1956
|
+
* The data needed to update a HostProvider.
|
|
1957
|
+
*/
|
|
1958
|
+
data: Prisma.XOR<Prisma.HostProviderUpdateInput, Prisma.HostProviderUncheckedUpdateInput>;
|
|
1959
|
+
/**
|
|
1960
|
+
* Choose, which HostProvider to update.
|
|
1961
|
+
*/
|
|
1962
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
1963
|
+
};
|
|
1964
|
+
/**
|
|
1965
|
+
* HostProvider updateMany
|
|
1966
|
+
*/
|
|
1967
|
+
export type HostProviderUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1968
|
+
/**
|
|
1969
|
+
* The data used to update HostProviders.
|
|
1970
|
+
*/
|
|
1971
|
+
data: Prisma.XOR<Prisma.HostProviderUpdateManyMutationInput, Prisma.HostProviderUncheckedUpdateManyInput>;
|
|
1972
|
+
/**
|
|
1973
|
+
* Filter which HostProviders to update
|
|
1974
|
+
*/
|
|
1975
|
+
where?: Prisma.HostProviderWhereInput;
|
|
1976
|
+
/**
|
|
1977
|
+
* Limit how many HostProviders to update.
|
|
1978
|
+
*/
|
|
1979
|
+
limit?: number;
|
|
1980
|
+
};
|
|
1981
|
+
/**
|
|
1982
|
+
* HostProvider updateManyAndReturn
|
|
1983
|
+
*/
|
|
1984
|
+
export type HostProviderUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1985
|
+
/**
|
|
1986
|
+
* Select specific fields to fetch from the HostProvider
|
|
1987
|
+
*/
|
|
1988
|
+
select?: Prisma.HostProviderSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1989
|
+
/**
|
|
1990
|
+
* Omit specific fields from the HostProvider
|
|
1991
|
+
*/
|
|
1992
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
1993
|
+
/**
|
|
1994
|
+
* The data used to update HostProviders.
|
|
1995
|
+
*/
|
|
1996
|
+
data: Prisma.XOR<Prisma.HostProviderUpdateManyMutationInput, Prisma.HostProviderUncheckedUpdateManyInput>;
|
|
1997
|
+
/**
|
|
1998
|
+
* Filter which HostProviders to update
|
|
1999
|
+
*/
|
|
2000
|
+
where?: Prisma.HostProviderWhereInput;
|
|
2001
|
+
/**
|
|
2002
|
+
* Limit how many HostProviders to update.
|
|
2003
|
+
*/
|
|
2004
|
+
limit?: number;
|
|
2005
|
+
/**
|
|
2006
|
+
* Choose, which related nodes to fetch as well
|
|
2007
|
+
*/
|
|
2008
|
+
include?: Prisma.HostProviderIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
2009
|
+
};
|
|
2010
|
+
/**
|
|
2011
|
+
* HostProvider upsert
|
|
2012
|
+
*/
|
|
2013
|
+
export type HostProviderUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2014
|
+
/**
|
|
2015
|
+
* Select specific fields to fetch from the HostProvider
|
|
2016
|
+
*/
|
|
2017
|
+
select?: Prisma.HostProviderSelect<ExtArgs> | null;
|
|
2018
|
+
/**
|
|
2019
|
+
* Omit specific fields from the HostProvider
|
|
2020
|
+
*/
|
|
2021
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
2022
|
+
/**
|
|
2023
|
+
* Choose, which related nodes to fetch as well
|
|
2024
|
+
*/
|
|
2025
|
+
include?: Prisma.HostProviderInclude<ExtArgs> | null;
|
|
2026
|
+
/**
|
|
2027
|
+
* The filter to search for the HostProvider to update in case it exists.
|
|
2028
|
+
*/
|
|
2029
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
2030
|
+
/**
|
|
2031
|
+
* In case the HostProvider found by the `where` argument doesn't exist, create a new HostProvider with this data.
|
|
2032
|
+
*/
|
|
2033
|
+
create: Prisma.XOR<Prisma.HostProviderCreateInput, Prisma.HostProviderUncheckedCreateInput>;
|
|
2034
|
+
/**
|
|
2035
|
+
* In case the HostProvider was found with the provided `where` argument, update it with this data.
|
|
2036
|
+
*/
|
|
2037
|
+
update: Prisma.XOR<Prisma.HostProviderUpdateInput, Prisma.HostProviderUncheckedUpdateInput>;
|
|
2038
|
+
};
|
|
2039
|
+
/**
|
|
2040
|
+
* HostProvider delete
|
|
2041
|
+
*/
|
|
2042
|
+
export type HostProviderDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2043
|
+
/**
|
|
2044
|
+
* Select specific fields to fetch from the HostProvider
|
|
2045
|
+
*/
|
|
2046
|
+
select?: Prisma.HostProviderSelect<ExtArgs> | null;
|
|
2047
|
+
/**
|
|
2048
|
+
* Omit specific fields from the HostProvider
|
|
2049
|
+
*/
|
|
2050
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
2051
|
+
/**
|
|
2052
|
+
* Choose, which related nodes to fetch as well
|
|
2053
|
+
*/
|
|
2054
|
+
include?: Prisma.HostProviderInclude<ExtArgs> | null;
|
|
2055
|
+
/**
|
|
2056
|
+
* Filter which HostProvider to delete.
|
|
2057
|
+
*/
|
|
2058
|
+
where: Prisma.HostProviderWhereUniqueInput;
|
|
2059
|
+
};
|
|
2060
|
+
/**
|
|
2061
|
+
* HostProvider deleteMany
|
|
2062
|
+
*/
|
|
2063
|
+
export type HostProviderDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2064
|
+
/**
|
|
2065
|
+
* Filter which HostProviders to delete
|
|
2066
|
+
*/
|
|
2067
|
+
where?: Prisma.HostProviderWhereInput;
|
|
2068
|
+
/**
|
|
2069
|
+
* Limit how many HostProviders to delete.
|
|
2070
|
+
*/
|
|
2071
|
+
limit?: number;
|
|
2072
|
+
};
|
|
2073
|
+
/**
|
|
2074
|
+
* HostProvider.permissionSecret
|
|
2075
|
+
*/
|
|
2076
|
+
export type HostProvider$permissionSecretArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2077
|
+
/**
|
|
2078
|
+
* Select specific fields to fetch from the Secret
|
|
2079
|
+
*/
|
|
2080
|
+
select?: Prisma.SecretSelect<ExtArgs> | null;
|
|
2081
|
+
/**
|
|
2082
|
+
* Omit specific fields from the Secret
|
|
2083
|
+
*/
|
|
2084
|
+
omit?: Prisma.SecretOmit<ExtArgs> | null;
|
|
2085
|
+
/**
|
|
2086
|
+
* Choose, which related nodes to fetch as well
|
|
2087
|
+
*/
|
|
2088
|
+
include?: Prisma.SecretInclude<ExtArgs> | null;
|
|
2089
|
+
where?: Prisma.SecretWhereInput;
|
|
2090
|
+
};
|
|
2091
|
+
/**
|
|
2092
|
+
* HostProvider.operations
|
|
2093
|
+
*/
|
|
2094
|
+
export type HostProvider$operationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2095
|
+
/**
|
|
2096
|
+
* Select specific fields to fetch from the HostProviderOperation
|
|
2097
|
+
*/
|
|
2098
|
+
select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
|
|
2099
|
+
/**
|
|
2100
|
+
* Omit specific fields from the HostProviderOperation
|
|
2101
|
+
*/
|
|
2102
|
+
omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
|
|
2103
|
+
/**
|
|
2104
|
+
* Choose, which related nodes to fetch as well
|
|
2105
|
+
*/
|
|
2106
|
+
include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
|
|
2107
|
+
where?: Prisma.HostProviderOperationWhereInput;
|
|
2108
|
+
orderBy?: Prisma.HostProviderOperationOrderByWithRelationInput | Prisma.HostProviderOperationOrderByWithRelationInput[];
|
|
2109
|
+
cursor?: Prisma.HostProviderOperationWhereUniqueInput;
|
|
2110
|
+
take?: number;
|
|
2111
|
+
skip?: number;
|
|
2112
|
+
distinct?: Prisma.HostProviderOperationScalarFieldEnum | Prisma.HostProviderOperationScalarFieldEnum[];
|
|
2113
|
+
};
|
|
2114
|
+
/**
|
|
2115
|
+
* HostProvider.credentials
|
|
2116
|
+
*/
|
|
2117
|
+
export type HostProvider$credentialsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2118
|
+
/**
|
|
2119
|
+
* Select specific fields to fetch from the HostProviderCredential
|
|
2120
|
+
*/
|
|
2121
|
+
select?: Prisma.HostProviderCredentialSelect<ExtArgs> | null;
|
|
2122
|
+
/**
|
|
2123
|
+
* Omit specific fields from the HostProviderCredential
|
|
2124
|
+
*/
|
|
2125
|
+
omit?: Prisma.HostProviderCredentialOmit<ExtArgs> | null;
|
|
2126
|
+
/**
|
|
2127
|
+
* Choose, which related nodes to fetch as well
|
|
2128
|
+
*/
|
|
2129
|
+
include?: Prisma.HostProviderCredentialInclude<ExtArgs> | null;
|
|
2130
|
+
where?: Prisma.HostProviderCredentialWhereInput;
|
|
2131
|
+
orderBy?: Prisma.HostProviderCredentialOrderByWithRelationInput | Prisma.HostProviderCredentialOrderByWithRelationInput[];
|
|
2132
|
+
cursor?: Prisma.HostProviderCredentialWhereUniqueInput;
|
|
2133
|
+
take?: number;
|
|
2134
|
+
skip?: number;
|
|
2135
|
+
distinct?: Prisma.HostProviderCredentialScalarFieldEnum | Prisma.HostProviderCredentialScalarFieldEnum[];
|
|
2136
|
+
};
|
|
2137
|
+
/**
|
|
2138
|
+
* HostProvider.trustedAccounts
|
|
2139
|
+
*/
|
|
2140
|
+
export type HostProvider$trustedAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2141
|
+
/**
|
|
2142
|
+
* Select specific fields to fetch from the HostProviderTrustedAccount
|
|
2143
|
+
*/
|
|
2144
|
+
select?: Prisma.HostProviderTrustedAccountSelect<ExtArgs> | null;
|
|
2145
|
+
/**
|
|
2146
|
+
* Omit specific fields from the HostProviderTrustedAccount
|
|
2147
|
+
*/
|
|
2148
|
+
omit?: Prisma.HostProviderTrustedAccountOmit<ExtArgs> | null;
|
|
2149
|
+
/**
|
|
2150
|
+
* Choose, which related nodes to fetch as well
|
|
2151
|
+
*/
|
|
2152
|
+
include?: Prisma.HostProviderTrustedAccountInclude<ExtArgs> | null;
|
|
2153
|
+
where?: Prisma.HostProviderTrustedAccountWhereInput;
|
|
2154
|
+
orderBy?: Prisma.HostProviderTrustedAccountOrderByWithRelationInput | Prisma.HostProviderTrustedAccountOrderByWithRelationInput[];
|
|
2155
|
+
cursor?: Prisma.HostProviderTrustedAccountWhereUniqueInput;
|
|
2156
|
+
take?: number;
|
|
2157
|
+
skip?: number;
|
|
2158
|
+
distinct?: Prisma.HostProviderTrustedAccountScalarFieldEnum | Prisma.HostProviderTrustedAccountScalarFieldEnum[];
|
|
2159
|
+
};
|
|
2160
|
+
/**
|
|
2161
|
+
* HostProvider without action
|
|
2162
|
+
*/
|
|
2163
|
+
export type HostProviderDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2164
|
+
/**
|
|
2165
|
+
* Select specific fields to fetch from the HostProvider
|
|
2166
|
+
*/
|
|
2167
|
+
select?: Prisma.HostProviderSelect<ExtArgs> | null;
|
|
2168
|
+
/**
|
|
2169
|
+
* Omit specific fields from the HostProvider
|
|
2170
|
+
*/
|
|
2171
|
+
omit?: Prisma.HostProviderOmit<ExtArgs> | null;
|
|
2172
|
+
/**
|
|
2173
|
+
* Choose, which related nodes to fetch as well
|
|
2174
|
+
*/
|
|
2175
|
+
include?: Prisma.HostProviderInclude<ExtArgs> | null;
|
|
2176
|
+
};
|