@wardby/cli 0.2.0 → 0.2.1
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/README.md +142 -67
- package/dist/claude-coding-worker/driver.d.ts +1 -0
- package/dist/claude-coding-worker/driver.js +4 -1
- package/dist/claude-coding-worker/main.js +3 -2
- package/dist/coding/protocol.d.ts +28 -3
- package/dist/coding/protocol.js +53 -2
- package/dist/coding-worker/artifact.d.ts +12 -0
- package/dist/coding-worker/artifact.js +48 -6
- package/dist/coding-worker/driver.d.ts +1 -0
- package/dist/coding-worker/driver.js +4 -1
- package/dist/coding-worker/errors.d.ts +7 -0
- package/dist/coding-worker/errors.js +18 -0
- package/dist/coding-worker/main.js +3 -2
- package/dist/core/budget-groups.d.ts +1 -1
- package/dist/core/coding-queue.d.ts +1 -1
- package/dist/core/datastores.d.ts +1 -1
- package/dist/core/db.d.ts +36 -2
- package/dist/core/db.js +69 -2
- package/dist/core/dispatch.d.ts +16 -1
- package/dist/core/dispatch.js +33 -5
- package/dist/core/http-runtime.js +3 -4
- package/dist/core/lease.d.ts +1 -1
- package/dist/core/private-directory.d.ts +20 -0
- package/dist/core/private-directory.js +36 -0
- package/dist/core/reconciler.d.ts +1 -1
- package/dist/core/runner.d.ts +1 -1
- package/dist/core/scheduler.d.ts +1 -1
- package/dist/core/secrets.d.ts +1 -1
- package/dist/core/subagent-memory-tools.d.ts +1 -1
- package/dist/core/webhooks.d.ts +1 -1
- package/dist/generated/prisma/browser.d.ts +228 -0
- package/dist/generated/prisma/browser.js +17 -0
- package/dist/generated/prisma/client.d.ts +247 -0
- package/dist/generated/prisma/client.js +34 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +809 -0
- package/dist/generated/prisma/commonInputTypes.js +10 -0
- package/dist/generated/prisma/enums.d.ts +53 -0
- package/dist/generated/prisma/enums.js +54 -0
- package/dist/generated/prisma/internal/class.d.ts +462 -0
- package/dist/generated/prisma/internal/class.js +49 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +3325 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +455 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +449 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +426 -0
- package/dist/generated/prisma/models/Agent.d.ts +3267 -0
- package/dist/generated/prisma/models/Agent.js +1 -0
- package/dist/generated/prisma/models/AgentDatastore.d.ts +1210 -0
- package/dist/generated/prisma/models/AgentDatastore.js +1 -0
- package/dist/generated/prisma/models/AgentMemory.d.ts +986 -0
- package/dist/generated/prisma/models/AgentMemory.js +1 -0
- package/dist/generated/prisma/models/AgentSecret.d.ts +1212 -0
- package/dist/generated/prisma/models/AgentSecret.js +1 -0
- package/dist/generated/prisma/models/AgentSubAgent.d.ts +1217 -0
- package/dist/generated/prisma/models/AgentSubAgent.js +1 -0
- package/dist/generated/prisma/models/AgentTool.d.ts +1309 -0
- package/dist/generated/prisma/models/AgentTool.js +1 -0
- package/dist/generated/prisma/models/AuthFormChallenge.d.ts +1298 -0
- package/dist/generated/prisma/models/AuthFormChallenge.js +1 -0
- package/dist/generated/prisma/models/AuthLoginKey.d.ts +1245 -0
- package/dist/generated/prisma/models/AuthLoginKey.js +1 -0
- package/dist/generated/prisma/models/AuthRateLimit.d.ts +979 -0
- package/dist/generated/prisma/models/AuthRateLimit.js +1 -0
- package/dist/generated/prisma/models/AuthSession.d.ts +1376 -0
- package/dist/generated/prisma/models/AuthSession.js +1 -0
- package/dist/generated/prisma/models/AuthUser.d.ts +1645 -0
- package/dist/generated/prisma/models/AuthUser.js +1 -0
- package/dist/generated/prisma/models/BudgetGroup.d.ts +1548 -0
- package/dist/generated/prisma/models/BudgetGroup.js +1 -0
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +1430 -0
- package/dist/generated/prisma/models/CodingAgentProfile.js +1 -0
- package/dist/generated/prisma/models/CodingProxyRequest.d.ts +1749 -0
- package/dist/generated/prisma/models/CodingProxyRequest.js +1 -0
- package/dist/generated/prisma/models/CodingProxySession.d.ts +1505 -0
- package/dist/generated/prisma/models/CodingProxySession.js +1 -0
- package/dist/generated/prisma/models/CodingRun.d.ts +2402 -0
- package/dist/generated/prisma/models/CodingRun.js +1 -0
- package/dist/generated/prisma/models/Datastore.d.ts +1434 -0
- package/dist/generated/prisma/models/Datastore.js +1 -0
- package/dist/generated/prisma/models/DatastoreEntry.d.ts +1314 -0
- package/dist/generated/prisma/models/DatastoreEntry.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.d.ts +1526 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.d.ts +1350 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthClient.d.ts +1289 -0
- package/dist/generated/prisma/models/OAuthClient.js +1 -0
- package/dist/generated/prisma/models/OAuthFamily.d.ts +1540 -0
- package/dist/generated/prisma/models/OAuthFamily.js +1 -0
- package/dist/generated/prisma/models/OAuthGrant.d.ts +1280 -0
- package/dist/generated/prisma/models/OAuthGrant.js +1 -0
- package/dist/generated/prisma/models/Principal.d.ts +1790 -0
- package/dist/generated/prisma/models/Principal.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +2281 -0
- package/dist/generated/prisma/models/Run.js +1 -0
- package/dist/generated/prisma/models/SchedulerLease.d.ts +970 -0
- package/dist/generated/prisma/models/SchedulerLease.js +1 -0
- package/dist/generated/prisma/models/Secret.d.ts +1399 -0
- package/dist/generated/prisma/models/Secret.js +1 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.d.ts +973 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.js +1 -0
- package/dist/generated/prisma/models/Task.d.ts +1176 -0
- package/dist/generated/prisma/models/Task.js +1 -0
- package/dist/generated/prisma/models/Tool.d.ts +1478 -0
- package/dist/generated/prisma/models/Tool.js +1 -0
- package/dist/generated/prisma/models/Webhook.d.ts +1386 -0
- package/dist/generated/prisma/models/Webhook.js +1 -0
- package/dist/generated/prisma/models.d.ts +32 -0
- package/dist/generated/prisma/models.js +1 -0
- package/dist/import/create.d.ts +1 -1
- package/dist/import/create.js +1 -1
- package/dist/import/index.d.ts +1 -1
- package/dist/mcp/auth/ownership.d.ts +19 -19
- package/dist/mcp/auth/principal.d.ts +1 -1
- package/dist/mcp/auth/resource-server.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/browser.js +20 -6
- package/dist/mcp/auth/self-hosted/cli.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/credentials.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/rate-limit.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/session.d.ts +1 -1
- package/dist/mcp/context.d.ts +1 -1
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/shared/page-style.d.ts +16 -0
- package/dist/mcp/shared/page-style.js +129 -0
- package/dist/mcp/tasks/manager.d.ts +1 -1
- package/dist/mcp/tools/agents.js +1 -1
- package/dist/mcp/tools/datastore.js +1 -1
- package/dist/mcp/tools/scheduling.js +1 -1
- package/dist/mcp/tools/secret-elicitation-form.d.ts +1 -1
- package/dist/mcp/tools/secret-elicitation-form.js +10 -28
- package/dist/mcp/tools/secret-elicitation.d.ts +1 -1
- package/dist/mcp/tools/subagents.js +1 -1
- package/dist/mcp/tools/tools.js +1 -1
- package/dist/mcp/transport/streamable-http.d.ts +1 -1
- package/dist/mcp/unattended-schedules.d.ts +1 -1
- package/dist/mcp/webhooks/ingress.d.ts +1 -1
- package/dist/providers/auth/index.d.ts +1 -1
- package/dist/providers/auth/self-hosted.d.ts +2 -2
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +1 -1
- package/dist/providers/coding-proxy/runtime.d.ts +1 -1
- package/dist/providers/datastore/postgres.d.ts +1 -1
- package/dist/providers/executor/build.d.ts +1 -1
- package/dist/providers/executor/composition.d.ts +1 -1
- package/dist/providers/executor/container.d.ts +1 -1
- package/dist/providers/executor/container.js +10 -3
- package/dist/providers/executor/dbos.d.ts +1 -1
- package/dist/providers/jobs/docker.d.ts +11 -0
- package/dist/providers/jobs/docker.js +34 -18
- package/dist/providers/jobs/kubernetes.js +5 -10
- package/dist/providers/jobs/types.d.ts +2 -0
- package/dist/providers/memory/postgres.d.ts +1 -1
- package/dist/providers/vcs/git.js +2 -1
- package/dist/quickstart/index.js +22 -31
- package/dist/quickstart/migrate.d.ts +23 -0
- package/dist/quickstart/migrate.js +125 -0
- package/package.json +20 -10
- package/prisma/migrate.config.mjs +20 -0
- package/prisma/schema.prisma +10 -2
|
@@ -0,0 +1,1210 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model AgentDatastore
|
|
5
|
+
* Attaches a Datastore to an agent, addressed at sandbox point-of-use by
|
|
6
|
+
* `boundName` (sharedDatastore.get(boundName, key)) — same boundName
|
|
7
|
+
* convention as AgentSecret. Defaults to the datastore's own name.
|
|
8
|
+
*/
|
|
9
|
+
export type AgentDatastoreModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentDatastorePayload>;
|
|
10
|
+
export type AggregateAgentDatastore = {
|
|
11
|
+
_count: AgentDatastoreCountAggregateOutputType | null;
|
|
12
|
+
_min: AgentDatastoreMinAggregateOutputType | null;
|
|
13
|
+
_max: AgentDatastoreMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type AgentDatastoreMinAggregateOutputType = {
|
|
16
|
+
agentId: string | null;
|
|
17
|
+
datastoreId: string | null;
|
|
18
|
+
boundName: string | null;
|
|
19
|
+
};
|
|
20
|
+
export type AgentDatastoreMaxAggregateOutputType = {
|
|
21
|
+
agentId: string | null;
|
|
22
|
+
datastoreId: string | null;
|
|
23
|
+
boundName: string | null;
|
|
24
|
+
};
|
|
25
|
+
export type AgentDatastoreCountAggregateOutputType = {
|
|
26
|
+
agentId: number;
|
|
27
|
+
datastoreId: number;
|
|
28
|
+
boundName: number;
|
|
29
|
+
_all: number;
|
|
30
|
+
};
|
|
31
|
+
export type AgentDatastoreMinAggregateInputType = {
|
|
32
|
+
agentId?: true;
|
|
33
|
+
datastoreId?: true;
|
|
34
|
+
boundName?: true;
|
|
35
|
+
};
|
|
36
|
+
export type AgentDatastoreMaxAggregateInputType = {
|
|
37
|
+
agentId?: true;
|
|
38
|
+
datastoreId?: true;
|
|
39
|
+
boundName?: true;
|
|
40
|
+
};
|
|
41
|
+
export type AgentDatastoreCountAggregateInputType = {
|
|
42
|
+
agentId?: true;
|
|
43
|
+
datastoreId?: true;
|
|
44
|
+
boundName?: true;
|
|
45
|
+
_all?: true;
|
|
46
|
+
};
|
|
47
|
+
export type AgentDatastoreAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
48
|
+
/**
|
|
49
|
+
* Filter which AgentDatastore to aggregate.
|
|
50
|
+
*/
|
|
51
|
+
where?: Prisma.AgentDatastoreWhereInput;
|
|
52
|
+
/**
|
|
53
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
54
|
+
*
|
|
55
|
+
* Determine the order of AgentDatastores to fetch.
|
|
56
|
+
*/
|
|
57
|
+
orderBy?: Prisma.AgentDatastoreOrderByWithRelationInput | Prisma.AgentDatastoreOrderByWithRelationInput[];
|
|
58
|
+
/**
|
|
59
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
60
|
+
*
|
|
61
|
+
* Sets the start position
|
|
62
|
+
*/
|
|
63
|
+
cursor?: Prisma.AgentDatastoreWhereUniqueInput;
|
|
64
|
+
/**
|
|
65
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
66
|
+
*
|
|
67
|
+
* Take `±n` AgentDatastores from the position of the cursor.
|
|
68
|
+
*/
|
|
69
|
+
take?: number;
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
72
|
+
*
|
|
73
|
+
* Skip the first `n` AgentDatastores.
|
|
74
|
+
*/
|
|
75
|
+
skip?: number;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
78
|
+
*
|
|
79
|
+
* Count returned AgentDatastores
|
|
80
|
+
**/
|
|
81
|
+
_count?: true | AgentDatastoreCountAggregateInputType;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
84
|
+
*
|
|
85
|
+
* Select which fields to find the minimum value
|
|
86
|
+
**/
|
|
87
|
+
_min?: AgentDatastoreMinAggregateInputType;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
90
|
+
*
|
|
91
|
+
* Select which fields to find the maximum value
|
|
92
|
+
**/
|
|
93
|
+
_max?: AgentDatastoreMaxAggregateInputType;
|
|
94
|
+
};
|
|
95
|
+
export type GetAgentDatastoreAggregateType<T extends AgentDatastoreAggregateArgs> = {
|
|
96
|
+
[P in keyof T & keyof AggregateAgentDatastore]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateAgentDatastore[P]> : Prisma.GetScalarType<T[P], AggregateAgentDatastore[P]>;
|
|
97
|
+
};
|
|
98
|
+
export type AgentDatastoreGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
99
|
+
where?: Prisma.AgentDatastoreWhereInput;
|
|
100
|
+
orderBy?: Prisma.AgentDatastoreOrderByWithAggregationInput | Prisma.AgentDatastoreOrderByWithAggregationInput[];
|
|
101
|
+
by: Prisma.AgentDatastoreScalarFieldEnum[] | Prisma.AgentDatastoreScalarFieldEnum;
|
|
102
|
+
having?: Prisma.AgentDatastoreScalarWhereWithAggregatesInput;
|
|
103
|
+
take?: number;
|
|
104
|
+
skip?: number;
|
|
105
|
+
_count?: AgentDatastoreCountAggregateInputType | true;
|
|
106
|
+
_min?: AgentDatastoreMinAggregateInputType;
|
|
107
|
+
_max?: AgentDatastoreMaxAggregateInputType;
|
|
108
|
+
};
|
|
109
|
+
export type AgentDatastoreGroupByOutputType = {
|
|
110
|
+
agentId: string;
|
|
111
|
+
datastoreId: string;
|
|
112
|
+
boundName: string;
|
|
113
|
+
_count: AgentDatastoreCountAggregateOutputType | null;
|
|
114
|
+
_min: AgentDatastoreMinAggregateOutputType | null;
|
|
115
|
+
_max: AgentDatastoreMaxAggregateOutputType | null;
|
|
116
|
+
};
|
|
117
|
+
export type GetAgentDatastoreGroupByPayload<T extends AgentDatastoreGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<AgentDatastoreGroupByOutputType, T['by']> & {
|
|
118
|
+
[P in ((keyof T) & (keyof AgentDatastoreGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], AgentDatastoreGroupByOutputType[P]> : Prisma.GetScalarType<T[P], AgentDatastoreGroupByOutputType[P]>;
|
|
119
|
+
}>>;
|
|
120
|
+
export type AgentDatastoreWhereInput = {
|
|
121
|
+
AND?: Prisma.AgentDatastoreWhereInput | Prisma.AgentDatastoreWhereInput[];
|
|
122
|
+
OR?: Prisma.AgentDatastoreWhereInput[];
|
|
123
|
+
NOT?: Prisma.AgentDatastoreWhereInput | Prisma.AgentDatastoreWhereInput[];
|
|
124
|
+
agentId?: Prisma.StringFilter<"AgentDatastore"> | string;
|
|
125
|
+
datastoreId?: Prisma.StringFilter<"AgentDatastore"> | string;
|
|
126
|
+
boundName?: Prisma.StringFilter<"AgentDatastore"> | string;
|
|
127
|
+
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>;
|
|
128
|
+
datastore?: Prisma.XOR<Prisma.DatastoreScalarRelationFilter, Prisma.DatastoreWhereInput>;
|
|
129
|
+
};
|
|
130
|
+
export type AgentDatastoreOrderByWithRelationInput = {
|
|
131
|
+
agentId?: Prisma.SortOrder;
|
|
132
|
+
datastoreId?: Prisma.SortOrder;
|
|
133
|
+
boundName?: Prisma.SortOrder;
|
|
134
|
+
agent?: Prisma.AgentOrderByWithRelationInput;
|
|
135
|
+
datastore?: Prisma.DatastoreOrderByWithRelationInput;
|
|
136
|
+
};
|
|
137
|
+
export type AgentDatastoreWhereUniqueInput = Prisma.AtLeast<{
|
|
138
|
+
agentId_boundName?: Prisma.AgentDatastoreAgentIdBoundNameCompoundUniqueInput;
|
|
139
|
+
agentId_datastoreId?: Prisma.AgentDatastoreAgentIdDatastoreIdCompoundUniqueInput;
|
|
140
|
+
AND?: Prisma.AgentDatastoreWhereInput | Prisma.AgentDatastoreWhereInput[];
|
|
141
|
+
OR?: Prisma.AgentDatastoreWhereInput[];
|
|
142
|
+
NOT?: Prisma.AgentDatastoreWhereInput | Prisma.AgentDatastoreWhereInput[];
|
|
143
|
+
agentId?: Prisma.StringFilter<"AgentDatastore"> | string;
|
|
144
|
+
datastoreId?: Prisma.StringFilter<"AgentDatastore"> | string;
|
|
145
|
+
boundName?: Prisma.StringFilter<"AgentDatastore"> | string;
|
|
146
|
+
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>;
|
|
147
|
+
datastore?: Prisma.XOR<Prisma.DatastoreScalarRelationFilter, Prisma.DatastoreWhereInput>;
|
|
148
|
+
}, "agentId_datastoreId" | "agentId_boundName">;
|
|
149
|
+
export type AgentDatastoreOrderByWithAggregationInput = {
|
|
150
|
+
agentId?: Prisma.SortOrder;
|
|
151
|
+
datastoreId?: Prisma.SortOrder;
|
|
152
|
+
boundName?: Prisma.SortOrder;
|
|
153
|
+
_count?: Prisma.AgentDatastoreCountOrderByAggregateInput;
|
|
154
|
+
_max?: Prisma.AgentDatastoreMaxOrderByAggregateInput;
|
|
155
|
+
_min?: Prisma.AgentDatastoreMinOrderByAggregateInput;
|
|
156
|
+
};
|
|
157
|
+
export type AgentDatastoreScalarWhereWithAggregatesInput = {
|
|
158
|
+
AND?: Prisma.AgentDatastoreScalarWhereWithAggregatesInput | Prisma.AgentDatastoreScalarWhereWithAggregatesInput[];
|
|
159
|
+
OR?: Prisma.AgentDatastoreScalarWhereWithAggregatesInput[];
|
|
160
|
+
NOT?: Prisma.AgentDatastoreScalarWhereWithAggregatesInput | Prisma.AgentDatastoreScalarWhereWithAggregatesInput[];
|
|
161
|
+
agentId?: Prisma.StringWithAggregatesFilter<"AgentDatastore"> | string;
|
|
162
|
+
datastoreId?: Prisma.StringWithAggregatesFilter<"AgentDatastore"> | string;
|
|
163
|
+
boundName?: Prisma.StringWithAggregatesFilter<"AgentDatastore"> | string;
|
|
164
|
+
};
|
|
165
|
+
export type AgentDatastoreCreateInput = {
|
|
166
|
+
boundName: string;
|
|
167
|
+
agent: Prisma.AgentCreateNestedOneWithoutDatastoresInput;
|
|
168
|
+
datastore: Prisma.DatastoreCreateNestedOneWithoutAgentsInput;
|
|
169
|
+
};
|
|
170
|
+
export type AgentDatastoreUncheckedCreateInput = {
|
|
171
|
+
agentId: string;
|
|
172
|
+
datastoreId: string;
|
|
173
|
+
boundName: string;
|
|
174
|
+
};
|
|
175
|
+
export type AgentDatastoreUpdateInput = {
|
|
176
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
177
|
+
agent?: Prisma.AgentUpdateOneRequiredWithoutDatastoresNestedInput;
|
|
178
|
+
datastore?: Prisma.DatastoreUpdateOneRequiredWithoutAgentsNestedInput;
|
|
179
|
+
};
|
|
180
|
+
export type AgentDatastoreUncheckedUpdateInput = {
|
|
181
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
182
|
+
datastoreId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
183
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
184
|
+
};
|
|
185
|
+
export type AgentDatastoreCreateManyInput = {
|
|
186
|
+
agentId: string;
|
|
187
|
+
datastoreId: string;
|
|
188
|
+
boundName: string;
|
|
189
|
+
};
|
|
190
|
+
export type AgentDatastoreUpdateManyMutationInput = {
|
|
191
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
192
|
+
};
|
|
193
|
+
export type AgentDatastoreUncheckedUpdateManyInput = {
|
|
194
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
195
|
+
datastoreId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
196
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
197
|
+
};
|
|
198
|
+
export type AgentDatastoreListRelationFilter = {
|
|
199
|
+
every?: Prisma.AgentDatastoreWhereInput;
|
|
200
|
+
some?: Prisma.AgentDatastoreWhereInput;
|
|
201
|
+
none?: Prisma.AgentDatastoreWhereInput;
|
|
202
|
+
};
|
|
203
|
+
export type AgentDatastoreOrderByRelationAggregateInput = {
|
|
204
|
+
_count?: Prisma.SortOrder;
|
|
205
|
+
};
|
|
206
|
+
export type AgentDatastoreAgentIdBoundNameCompoundUniqueInput = {
|
|
207
|
+
agentId: string;
|
|
208
|
+
boundName: string;
|
|
209
|
+
};
|
|
210
|
+
export type AgentDatastoreAgentIdDatastoreIdCompoundUniqueInput = {
|
|
211
|
+
agentId: string;
|
|
212
|
+
datastoreId: string;
|
|
213
|
+
};
|
|
214
|
+
export type AgentDatastoreCountOrderByAggregateInput = {
|
|
215
|
+
agentId?: Prisma.SortOrder;
|
|
216
|
+
datastoreId?: Prisma.SortOrder;
|
|
217
|
+
boundName?: Prisma.SortOrder;
|
|
218
|
+
};
|
|
219
|
+
export type AgentDatastoreMaxOrderByAggregateInput = {
|
|
220
|
+
agentId?: Prisma.SortOrder;
|
|
221
|
+
datastoreId?: Prisma.SortOrder;
|
|
222
|
+
boundName?: Prisma.SortOrder;
|
|
223
|
+
};
|
|
224
|
+
export type AgentDatastoreMinOrderByAggregateInput = {
|
|
225
|
+
agentId?: Prisma.SortOrder;
|
|
226
|
+
datastoreId?: Prisma.SortOrder;
|
|
227
|
+
boundName?: Prisma.SortOrder;
|
|
228
|
+
};
|
|
229
|
+
export type AgentDatastoreCreateNestedManyWithoutAgentInput = {
|
|
230
|
+
create?: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutAgentInput, Prisma.AgentDatastoreUncheckedCreateWithoutAgentInput> | Prisma.AgentDatastoreCreateWithoutAgentInput[] | Prisma.AgentDatastoreUncheckedCreateWithoutAgentInput[];
|
|
231
|
+
connectOrCreate?: Prisma.AgentDatastoreCreateOrConnectWithoutAgentInput | Prisma.AgentDatastoreCreateOrConnectWithoutAgentInput[];
|
|
232
|
+
createMany?: Prisma.AgentDatastoreCreateManyAgentInputEnvelope;
|
|
233
|
+
connect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
234
|
+
};
|
|
235
|
+
export type AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput = {
|
|
236
|
+
create?: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutAgentInput, Prisma.AgentDatastoreUncheckedCreateWithoutAgentInput> | Prisma.AgentDatastoreCreateWithoutAgentInput[] | Prisma.AgentDatastoreUncheckedCreateWithoutAgentInput[];
|
|
237
|
+
connectOrCreate?: Prisma.AgentDatastoreCreateOrConnectWithoutAgentInput | Prisma.AgentDatastoreCreateOrConnectWithoutAgentInput[];
|
|
238
|
+
createMany?: Prisma.AgentDatastoreCreateManyAgentInputEnvelope;
|
|
239
|
+
connect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
240
|
+
};
|
|
241
|
+
export type AgentDatastoreUpdateManyWithoutAgentNestedInput = {
|
|
242
|
+
create?: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutAgentInput, Prisma.AgentDatastoreUncheckedCreateWithoutAgentInput> | Prisma.AgentDatastoreCreateWithoutAgentInput[] | Prisma.AgentDatastoreUncheckedCreateWithoutAgentInput[];
|
|
243
|
+
connectOrCreate?: Prisma.AgentDatastoreCreateOrConnectWithoutAgentInput | Prisma.AgentDatastoreCreateOrConnectWithoutAgentInput[];
|
|
244
|
+
upsert?: Prisma.AgentDatastoreUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentDatastoreUpsertWithWhereUniqueWithoutAgentInput[];
|
|
245
|
+
createMany?: Prisma.AgentDatastoreCreateManyAgentInputEnvelope;
|
|
246
|
+
set?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
247
|
+
disconnect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
248
|
+
delete?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
249
|
+
connect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
250
|
+
update?: Prisma.AgentDatastoreUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentDatastoreUpdateWithWhereUniqueWithoutAgentInput[];
|
|
251
|
+
updateMany?: Prisma.AgentDatastoreUpdateManyWithWhereWithoutAgentInput | Prisma.AgentDatastoreUpdateManyWithWhereWithoutAgentInput[];
|
|
252
|
+
deleteMany?: Prisma.AgentDatastoreScalarWhereInput | Prisma.AgentDatastoreScalarWhereInput[];
|
|
253
|
+
};
|
|
254
|
+
export type AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput = {
|
|
255
|
+
create?: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutAgentInput, Prisma.AgentDatastoreUncheckedCreateWithoutAgentInput> | Prisma.AgentDatastoreCreateWithoutAgentInput[] | Prisma.AgentDatastoreUncheckedCreateWithoutAgentInput[];
|
|
256
|
+
connectOrCreate?: Prisma.AgentDatastoreCreateOrConnectWithoutAgentInput | Prisma.AgentDatastoreCreateOrConnectWithoutAgentInput[];
|
|
257
|
+
upsert?: Prisma.AgentDatastoreUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentDatastoreUpsertWithWhereUniqueWithoutAgentInput[];
|
|
258
|
+
createMany?: Prisma.AgentDatastoreCreateManyAgentInputEnvelope;
|
|
259
|
+
set?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
260
|
+
disconnect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
261
|
+
delete?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
262
|
+
connect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
263
|
+
update?: Prisma.AgentDatastoreUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentDatastoreUpdateWithWhereUniqueWithoutAgentInput[];
|
|
264
|
+
updateMany?: Prisma.AgentDatastoreUpdateManyWithWhereWithoutAgentInput | Prisma.AgentDatastoreUpdateManyWithWhereWithoutAgentInput[];
|
|
265
|
+
deleteMany?: Prisma.AgentDatastoreScalarWhereInput | Prisma.AgentDatastoreScalarWhereInput[];
|
|
266
|
+
};
|
|
267
|
+
export type AgentDatastoreCreateNestedManyWithoutDatastoreInput = {
|
|
268
|
+
create?: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutDatastoreInput, Prisma.AgentDatastoreUncheckedCreateWithoutDatastoreInput> | Prisma.AgentDatastoreCreateWithoutDatastoreInput[] | Prisma.AgentDatastoreUncheckedCreateWithoutDatastoreInput[];
|
|
269
|
+
connectOrCreate?: Prisma.AgentDatastoreCreateOrConnectWithoutDatastoreInput | Prisma.AgentDatastoreCreateOrConnectWithoutDatastoreInput[];
|
|
270
|
+
createMany?: Prisma.AgentDatastoreCreateManyDatastoreInputEnvelope;
|
|
271
|
+
connect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
272
|
+
};
|
|
273
|
+
export type AgentDatastoreUncheckedCreateNestedManyWithoutDatastoreInput = {
|
|
274
|
+
create?: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutDatastoreInput, Prisma.AgentDatastoreUncheckedCreateWithoutDatastoreInput> | Prisma.AgentDatastoreCreateWithoutDatastoreInput[] | Prisma.AgentDatastoreUncheckedCreateWithoutDatastoreInput[];
|
|
275
|
+
connectOrCreate?: Prisma.AgentDatastoreCreateOrConnectWithoutDatastoreInput | Prisma.AgentDatastoreCreateOrConnectWithoutDatastoreInput[];
|
|
276
|
+
createMany?: Prisma.AgentDatastoreCreateManyDatastoreInputEnvelope;
|
|
277
|
+
connect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
278
|
+
};
|
|
279
|
+
export type AgentDatastoreUpdateManyWithoutDatastoreNestedInput = {
|
|
280
|
+
create?: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutDatastoreInput, Prisma.AgentDatastoreUncheckedCreateWithoutDatastoreInput> | Prisma.AgentDatastoreCreateWithoutDatastoreInput[] | Prisma.AgentDatastoreUncheckedCreateWithoutDatastoreInput[];
|
|
281
|
+
connectOrCreate?: Prisma.AgentDatastoreCreateOrConnectWithoutDatastoreInput | Prisma.AgentDatastoreCreateOrConnectWithoutDatastoreInput[];
|
|
282
|
+
upsert?: Prisma.AgentDatastoreUpsertWithWhereUniqueWithoutDatastoreInput | Prisma.AgentDatastoreUpsertWithWhereUniqueWithoutDatastoreInput[];
|
|
283
|
+
createMany?: Prisma.AgentDatastoreCreateManyDatastoreInputEnvelope;
|
|
284
|
+
set?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
285
|
+
disconnect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
286
|
+
delete?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
287
|
+
connect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
288
|
+
update?: Prisma.AgentDatastoreUpdateWithWhereUniqueWithoutDatastoreInput | Prisma.AgentDatastoreUpdateWithWhereUniqueWithoutDatastoreInput[];
|
|
289
|
+
updateMany?: Prisma.AgentDatastoreUpdateManyWithWhereWithoutDatastoreInput | Prisma.AgentDatastoreUpdateManyWithWhereWithoutDatastoreInput[];
|
|
290
|
+
deleteMany?: Prisma.AgentDatastoreScalarWhereInput | Prisma.AgentDatastoreScalarWhereInput[];
|
|
291
|
+
};
|
|
292
|
+
export type AgentDatastoreUncheckedUpdateManyWithoutDatastoreNestedInput = {
|
|
293
|
+
create?: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutDatastoreInput, Prisma.AgentDatastoreUncheckedCreateWithoutDatastoreInput> | Prisma.AgentDatastoreCreateWithoutDatastoreInput[] | Prisma.AgentDatastoreUncheckedCreateWithoutDatastoreInput[];
|
|
294
|
+
connectOrCreate?: Prisma.AgentDatastoreCreateOrConnectWithoutDatastoreInput | Prisma.AgentDatastoreCreateOrConnectWithoutDatastoreInput[];
|
|
295
|
+
upsert?: Prisma.AgentDatastoreUpsertWithWhereUniqueWithoutDatastoreInput | Prisma.AgentDatastoreUpsertWithWhereUniqueWithoutDatastoreInput[];
|
|
296
|
+
createMany?: Prisma.AgentDatastoreCreateManyDatastoreInputEnvelope;
|
|
297
|
+
set?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
298
|
+
disconnect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
299
|
+
delete?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
300
|
+
connect?: Prisma.AgentDatastoreWhereUniqueInput | Prisma.AgentDatastoreWhereUniqueInput[];
|
|
301
|
+
update?: Prisma.AgentDatastoreUpdateWithWhereUniqueWithoutDatastoreInput | Prisma.AgentDatastoreUpdateWithWhereUniqueWithoutDatastoreInput[];
|
|
302
|
+
updateMany?: Prisma.AgentDatastoreUpdateManyWithWhereWithoutDatastoreInput | Prisma.AgentDatastoreUpdateManyWithWhereWithoutDatastoreInput[];
|
|
303
|
+
deleteMany?: Prisma.AgentDatastoreScalarWhereInput | Prisma.AgentDatastoreScalarWhereInput[];
|
|
304
|
+
};
|
|
305
|
+
export type AgentDatastoreCreateWithoutAgentInput = {
|
|
306
|
+
boundName: string;
|
|
307
|
+
datastore: Prisma.DatastoreCreateNestedOneWithoutAgentsInput;
|
|
308
|
+
};
|
|
309
|
+
export type AgentDatastoreUncheckedCreateWithoutAgentInput = {
|
|
310
|
+
datastoreId: string;
|
|
311
|
+
boundName: string;
|
|
312
|
+
};
|
|
313
|
+
export type AgentDatastoreCreateOrConnectWithoutAgentInput = {
|
|
314
|
+
where: Prisma.AgentDatastoreWhereUniqueInput;
|
|
315
|
+
create: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutAgentInput, Prisma.AgentDatastoreUncheckedCreateWithoutAgentInput>;
|
|
316
|
+
};
|
|
317
|
+
export type AgentDatastoreCreateManyAgentInputEnvelope = {
|
|
318
|
+
data: Prisma.AgentDatastoreCreateManyAgentInput | Prisma.AgentDatastoreCreateManyAgentInput[];
|
|
319
|
+
skipDuplicates?: boolean;
|
|
320
|
+
};
|
|
321
|
+
export type AgentDatastoreUpsertWithWhereUniqueWithoutAgentInput = {
|
|
322
|
+
where: Prisma.AgentDatastoreWhereUniqueInput;
|
|
323
|
+
update: Prisma.XOR<Prisma.AgentDatastoreUpdateWithoutAgentInput, Prisma.AgentDatastoreUncheckedUpdateWithoutAgentInput>;
|
|
324
|
+
create: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutAgentInput, Prisma.AgentDatastoreUncheckedCreateWithoutAgentInput>;
|
|
325
|
+
};
|
|
326
|
+
export type AgentDatastoreUpdateWithWhereUniqueWithoutAgentInput = {
|
|
327
|
+
where: Prisma.AgentDatastoreWhereUniqueInput;
|
|
328
|
+
data: Prisma.XOR<Prisma.AgentDatastoreUpdateWithoutAgentInput, Prisma.AgentDatastoreUncheckedUpdateWithoutAgentInput>;
|
|
329
|
+
};
|
|
330
|
+
export type AgentDatastoreUpdateManyWithWhereWithoutAgentInput = {
|
|
331
|
+
where: Prisma.AgentDatastoreScalarWhereInput;
|
|
332
|
+
data: Prisma.XOR<Prisma.AgentDatastoreUpdateManyMutationInput, Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentInput>;
|
|
333
|
+
};
|
|
334
|
+
export type AgentDatastoreScalarWhereInput = {
|
|
335
|
+
AND?: Prisma.AgentDatastoreScalarWhereInput | Prisma.AgentDatastoreScalarWhereInput[];
|
|
336
|
+
OR?: Prisma.AgentDatastoreScalarWhereInput[];
|
|
337
|
+
NOT?: Prisma.AgentDatastoreScalarWhereInput | Prisma.AgentDatastoreScalarWhereInput[];
|
|
338
|
+
agentId?: Prisma.StringFilter<"AgentDatastore"> | string;
|
|
339
|
+
datastoreId?: Prisma.StringFilter<"AgentDatastore"> | string;
|
|
340
|
+
boundName?: Prisma.StringFilter<"AgentDatastore"> | string;
|
|
341
|
+
};
|
|
342
|
+
export type AgentDatastoreCreateWithoutDatastoreInput = {
|
|
343
|
+
boundName: string;
|
|
344
|
+
agent: Prisma.AgentCreateNestedOneWithoutDatastoresInput;
|
|
345
|
+
};
|
|
346
|
+
export type AgentDatastoreUncheckedCreateWithoutDatastoreInput = {
|
|
347
|
+
agentId: string;
|
|
348
|
+
boundName: string;
|
|
349
|
+
};
|
|
350
|
+
export type AgentDatastoreCreateOrConnectWithoutDatastoreInput = {
|
|
351
|
+
where: Prisma.AgentDatastoreWhereUniqueInput;
|
|
352
|
+
create: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutDatastoreInput, Prisma.AgentDatastoreUncheckedCreateWithoutDatastoreInput>;
|
|
353
|
+
};
|
|
354
|
+
export type AgentDatastoreCreateManyDatastoreInputEnvelope = {
|
|
355
|
+
data: Prisma.AgentDatastoreCreateManyDatastoreInput | Prisma.AgentDatastoreCreateManyDatastoreInput[];
|
|
356
|
+
skipDuplicates?: boolean;
|
|
357
|
+
};
|
|
358
|
+
export type AgentDatastoreUpsertWithWhereUniqueWithoutDatastoreInput = {
|
|
359
|
+
where: Prisma.AgentDatastoreWhereUniqueInput;
|
|
360
|
+
update: Prisma.XOR<Prisma.AgentDatastoreUpdateWithoutDatastoreInput, Prisma.AgentDatastoreUncheckedUpdateWithoutDatastoreInput>;
|
|
361
|
+
create: Prisma.XOR<Prisma.AgentDatastoreCreateWithoutDatastoreInput, Prisma.AgentDatastoreUncheckedCreateWithoutDatastoreInput>;
|
|
362
|
+
};
|
|
363
|
+
export type AgentDatastoreUpdateWithWhereUniqueWithoutDatastoreInput = {
|
|
364
|
+
where: Prisma.AgentDatastoreWhereUniqueInput;
|
|
365
|
+
data: Prisma.XOR<Prisma.AgentDatastoreUpdateWithoutDatastoreInput, Prisma.AgentDatastoreUncheckedUpdateWithoutDatastoreInput>;
|
|
366
|
+
};
|
|
367
|
+
export type AgentDatastoreUpdateManyWithWhereWithoutDatastoreInput = {
|
|
368
|
+
where: Prisma.AgentDatastoreScalarWhereInput;
|
|
369
|
+
data: Prisma.XOR<Prisma.AgentDatastoreUpdateManyMutationInput, Prisma.AgentDatastoreUncheckedUpdateManyWithoutDatastoreInput>;
|
|
370
|
+
};
|
|
371
|
+
export type AgentDatastoreCreateManyAgentInput = {
|
|
372
|
+
datastoreId: string;
|
|
373
|
+
boundName: string;
|
|
374
|
+
};
|
|
375
|
+
export type AgentDatastoreUpdateWithoutAgentInput = {
|
|
376
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
377
|
+
datastore?: Prisma.DatastoreUpdateOneRequiredWithoutAgentsNestedInput;
|
|
378
|
+
};
|
|
379
|
+
export type AgentDatastoreUncheckedUpdateWithoutAgentInput = {
|
|
380
|
+
datastoreId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
381
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
382
|
+
};
|
|
383
|
+
export type AgentDatastoreUncheckedUpdateManyWithoutAgentInput = {
|
|
384
|
+
datastoreId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
385
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
386
|
+
};
|
|
387
|
+
export type AgentDatastoreCreateManyDatastoreInput = {
|
|
388
|
+
agentId: string;
|
|
389
|
+
boundName: string;
|
|
390
|
+
};
|
|
391
|
+
export type AgentDatastoreUpdateWithoutDatastoreInput = {
|
|
392
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
393
|
+
agent?: Prisma.AgentUpdateOneRequiredWithoutDatastoresNestedInput;
|
|
394
|
+
};
|
|
395
|
+
export type AgentDatastoreUncheckedUpdateWithoutDatastoreInput = {
|
|
396
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
397
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
398
|
+
};
|
|
399
|
+
export type AgentDatastoreUncheckedUpdateManyWithoutDatastoreInput = {
|
|
400
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
|
+
boundName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
402
|
+
};
|
|
403
|
+
export type AgentDatastoreSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
404
|
+
agentId?: boolean;
|
|
405
|
+
datastoreId?: boolean;
|
|
406
|
+
boundName?: boolean;
|
|
407
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
408
|
+
datastore?: boolean | Prisma.DatastoreDefaultArgs<ExtArgs>;
|
|
409
|
+
}, ExtArgs["result"]["agentDatastore"]>;
|
|
410
|
+
export type AgentDatastoreSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
411
|
+
agentId?: boolean;
|
|
412
|
+
datastoreId?: boolean;
|
|
413
|
+
boundName?: boolean;
|
|
414
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
415
|
+
datastore?: boolean | Prisma.DatastoreDefaultArgs<ExtArgs>;
|
|
416
|
+
}, ExtArgs["result"]["agentDatastore"]>;
|
|
417
|
+
export type AgentDatastoreSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
418
|
+
agentId?: boolean;
|
|
419
|
+
datastoreId?: boolean;
|
|
420
|
+
boundName?: boolean;
|
|
421
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
422
|
+
datastore?: boolean | Prisma.DatastoreDefaultArgs<ExtArgs>;
|
|
423
|
+
}, ExtArgs["result"]["agentDatastore"]>;
|
|
424
|
+
export type AgentDatastoreSelectScalar = {
|
|
425
|
+
agentId?: boolean;
|
|
426
|
+
datastoreId?: boolean;
|
|
427
|
+
boundName?: boolean;
|
|
428
|
+
};
|
|
429
|
+
export type AgentDatastoreOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"agentId" | "datastoreId" | "boundName", ExtArgs["result"]["agentDatastore"]>;
|
|
430
|
+
export type AgentDatastoreInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
431
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
432
|
+
datastore?: boolean | Prisma.DatastoreDefaultArgs<ExtArgs>;
|
|
433
|
+
};
|
|
434
|
+
export type AgentDatastoreIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
435
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
436
|
+
datastore?: boolean | Prisma.DatastoreDefaultArgs<ExtArgs>;
|
|
437
|
+
};
|
|
438
|
+
export type AgentDatastoreIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
439
|
+
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
440
|
+
datastore?: boolean | Prisma.DatastoreDefaultArgs<ExtArgs>;
|
|
441
|
+
};
|
|
442
|
+
export type $AgentDatastorePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
443
|
+
name: "AgentDatastore";
|
|
444
|
+
objects: {
|
|
445
|
+
agent: Prisma.$AgentPayload<ExtArgs>;
|
|
446
|
+
datastore: Prisma.$DatastorePayload<ExtArgs>;
|
|
447
|
+
};
|
|
448
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
449
|
+
agentId: string;
|
|
450
|
+
datastoreId: string;
|
|
451
|
+
boundName: string;
|
|
452
|
+
}, ExtArgs["result"]["agentDatastore"]>;
|
|
453
|
+
composites: {};
|
|
454
|
+
};
|
|
455
|
+
export type AgentDatastoreGetPayload<S extends boolean | null | undefined | AgentDatastoreDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload, S>;
|
|
456
|
+
export type AgentDatastoreCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<AgentDatastoreFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
457
|
+
select?: AgentDatastoreCountAggregateInputType | true;
|
|
458
|
+
};
|
|
459
|
+
export interface AgentDatastoreDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
460
|
+
[K: symbol]: {
|
|
461
|
+
types: Prisma.TypeMap<ExtArgs>['model']['AgentDatastore'];
|
|
462
|
+
meta: {
|
|
463
|
+
name: 'AgentDatastore';
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* Find zero or one AgentDatastore that matches the filter.
|
|
468
|
+
* @param {AgentDatastoreFindUniqueArgs} args - Arguments to find a AgentDatastore
|
|
469
|
+
* @example
|
|
470
|
+
* // Get one AgentDatastore
|
|
471
|
+
* const agentDatastore = await prisma.agentDatastore.findUnique({
|
|
472
|
+
* where: {
|
|
473
|
+
* // ... provide filter here
|
|
474
|
+
* }
|
|
475
|
+
* })
|
|
476
|
+
*/
|
|
477
|
+
findUnique<T extends AgentDatastoreFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentDatastoreFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentDatastoreClient<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
478
|
+
/**
|
|
479
|
+
* Find one AgentDatastore that matches the filter or throw an error with `error.code='P2025'`
|
|
480
|
+
* if no matches were found.
|
|
481
|
+
* @param {AgentDatastoreFindUniqueOrThrowArgs} args - Arguments to find a AgentDatastore
|
|
482
|
+
* @example
|
|
483
|
+
* // Get one AgentDatastore
|
|
484
|
+
* const agentDatastore = await prisma.agentDatastore.findUniqueOrThrow({
|
|
485
|
+
* where: {
|
|
486
|
+
* // ... provide filter here
|
|
487
|
+
* }
|
|
488
|
+
* })
|
|
489
|
+
*/
|
|
490
|
+
findUniqueOrThrow<T extends AgentDatastoreFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentDatastoreFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentDatastoreClient<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
491
|
+
/**
|
|
492
|
+
* Find the first AgentDatastore that matches the filter.
|
|
493
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
494
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
495
|
+
* @param {AgentDatastoreFindFirstArgs} args - Arguments to find a AgentDatastore
|
|
496
|
+
* @example
|
|
497
|
+
* // Get one AgentDatastore
|
|
498
|
+
* const agentDatastore = await prisma.agentDatastore.findFirst({
|
|
499
|
+
* where: {
|
|
500
|
+
* // ... provide filter here
|
|
501
|
+
* }
|
|
502
|
+
* })
|
|
503
|
+
*/
|
|
504
|
+
findFirst<T extends AgentDatastoreFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentDatastoreFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentDatastoreClient<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
505
|
+
/**
|
|
506
|
+
* Find the first AgentDatastore that matches the filter or
|
|
507
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
508
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
509
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
510
|
+
* @param {AgentDatastoreFindFirstOrThrowArgs} args - Arguments to find a AgentDatastore
|
|
511
|
+
* @example
|
|
512
|
+
* // Get one AgentDatastore
|
|
513
|
+
* const agentDatastore = await prisma.agentDatastore.findFirstOrThrow({
|
|
514
|
+
* where: {
|
|
515
|
+
* // ... provide filter here
|
|
516
|
+
* }
|
|
517
|
+
* })
|
|
518
|
+
*/
|
|
519
|
+
findFirstOrThrow<T extends AgentDatastoreFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentDatastoreFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentDatastoreClient<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
520
|
+
/**
|
|
521
|
+
* Find zero or more AgentDatastores that matches the filter.
|
|
522
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
523
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
524
|
+
* @param {AgentDatastoreFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
525
|
+
* @example
|
|
526
|
+
* // Get all AgentDatastores
|
|
527
|
+
* const agentDatastores = await prisma.agentDatastore.findMany()
|
|
528
|
+
*
|
|
529
|
+
* // Get first 10 AgentDatastores
|
|
530
|
+
* const agentDatastores = await prisma.agentDatastore.findMany({ take: 10 })
|
|
531
|
+
*
|
|
532
|
+
* // Only select the `agentId`
|
|
533
|
+
* const agentDatastoreWithAgentIdOnly = await prisma.agentDatastore.findMany({ select: { agentId: true } })
|
|
534
|
+
*
|
|
535
|
+
*/
|
|
536
|
+
findMany<T extends AgentDatastoreFindManyArgs>(args?: Prisma.SelectSubset<T, AgentDatastoreFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
537
|
+
/**
|
|
538
|
+
* Create a AgentDatastore.
|
|
539
|
+
* @param {AgentDatastoreCreateArgs} args - Arguments to create a AgentDatastore.
|
|
540
|
+
* @example
|
|
541
|
+
* // Create one AgentDatastore
|
|
542
|
+
* const AgentDatastore = await prisma.agentDatastore.create({
|
|
543
|
+
* data: {
|
|
544
|
+
* // ... data to create a AgentDatastore
|
|
545
|
+
* }
|
|
546
|
+
* })
|
|
547
|
+
*
|
|
548
|
+
*/
|
|
549
|
+
create<T extends AgentDatastoreCreateArgs>(args: Prisma.SelectSubset<T, AgentDatastoreCreateArgs<ExtArgs>>): Prisma.Prisma__AgentDatastoreClient<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
550
|
+
/**
|
|
551
|
+
* Create many AgentDatastores.
|
|
552
|
+
* @param {AgentDatastoreCreateManyArgs} args - Arguments to create many AgentDatastores.
|
|
553
|
+
* @example
|
|
554
|
+
* // Create many AgentDatastores
|
|
555
|
+
* const agentDatastore = await prisma.agentDatastore.createMany({
|
|
556
|
+
* data: [
|
|
557
|
+
* // ... provide data here
|
|
558
|
+
* ]
|
|
559
|
+
* })
|
|
560
|
+
*
|
|
561
|
+
*/
|
|
562
|
+
createMany<T extends AgentDatastoreCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentDatastoreCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
563
|
+
/**
|
|
564
|
+
* Create many AgentDatastores and returns the data saved in the database.
|
|
565
|
+
* @param {AgentDatastoreCreateManyAndReturnArgs} args - Arguments to create many AgentDatastores.
|
|
566
|
+
* @example
|
|
567
|
+
* // Create many AgentDatastores
|
|
568
|
+
* const agentDatastore = await prisma.agentDatastore.createManyAndReturn({
|
|
569
|
+
* data: [
|
|
570
|
+
* // ... provide data here
|
|
571
|
+
* ]
|
|
572
|
+
* })
|
|
573
|
+
*
|
|
574
|
+
* // Create many AgentDatastores and only return the `agentId`
|
|
575
|
+
* const agentDatastoreWithAgentIdOnly = await prisma.agentDatastore.createManyAndReturn({
|
|
576
|
+
* select: { agentId: true },
|
|
577
|
+
* data: [
|
|
578
|
+
* // ... provide data here
|
|
579
|
+
* ]
|
|
580
|
+
* })
|
|
581
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
582
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
583
|
+
*
|
|
584
|
+
*/
|
|
585
|
+
createManyAndReturn<T extends AgentDatastoreCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentDatastoreCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
586
|
+
/**
|
|
587
|
+
* Delete a AgentDatastore.
|
|
588
|
+
* @param {AgentDatastoreDeleteArgs} args - Arguments to delete one AgentDatastore.
|
|
589
|
+
* @example
|
|
590
|
+
* // Delete one AgentDatastore
|
|
591
|
+
* const AgentDatastore = await prisma.agentDatastore.delete({
|
|
592
|
+
* where: {
|
|
593
|
+
* // ... filter to delete one AgentDatastore
|
|
594
|
+
* }
|
|
595
|
+
* })
|
|
596
|
+
*
|
|
597
|
+
*/
|
|
598
|
+
delete<T extends AgentDatastoreDeleteArgs>(args: Prisma.SelectSubset<T, AgentDatastoreDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentDatastoreClient<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
599
|
+
/**
|
|
600
|
+
* Update one AgentDatastore.
|
|
601
|
+
* @param {AgentDatastoreUpdateArgs} args - Arguments to update one AgentDatastore.
|
|
602
|
+
* @example
|
|
603
|
+
* // Update one AgentDatastore
|
|
604
|
+
* const agentDatastore = await prisma.agentDatastore.update({
|
|
605
|
+
* where: {
|
|
606
|
+
* // ... provide filter here
|
|
607
|
+
* },
|
|
608
|
+
* data: {
|
|
609
|
+
* // ... provide data here
|
|
610
|
+
* }
|
|
611
|
+
* })
|
|
612
|
+
*
|
|
613
|
+
*/
|
|
614
|
+
update<T extends AgentDatastoreUpdateArgs>(args: Prisma.SelectSubset<T, AgentDatastoreUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentDatastoreClient<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
615
|
+
/**
|
|
616
|
+
* Delete zero or more AgentDatastores.
|
|
617
|
+
* @param {AgentDatastoreDeleteManyArgs} args - Arguments to filter AgentDatastores to delete.
|
|
618
|
+
* @example
|
|
619
|
+
* // Delete a few AgentDatastores
|
|
620
|
+
* const { count } = await prisma.agentDatastore.deleteMany({
|
|
621
|
+
* where: {
|
|
622
|
+
* // ... provide filter here
|
|
623
|
+
* }
|
|
624
|
+
* })
|
|
625
|
+
*
|
|
626
|
+
*/
|
|
627
|
+
deleteMany<T extends AgentDatastoreDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentDatastoreDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
628
|
+
/**
|
|
629
|
+
* Update zero or more AgentDatastores.
|
|
630
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
631
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
632
|
+
* @param {AgentDatastoreUpdateManyArgs} args - Arguments to update one or more rows.
|
|
633
|
+
* @example
|
|
634
|
+
* // Update many AgentDatastores
|
|
635
|
+
* const agentDatastore = await prisma.agentDatastore.updateMany({
|
|
636
|
+
* where: {
|
|
637
|
+
* // ... provide filter here
|
|
638
|
+
* },
|
|
639
|
+
* data: {
|
|
640
|
+
* // ... provide data here
|
|
641
|
+
* }
|
|
642
|
+
* })
|
|
643
|
+
*
|
|
644
|
+
*/
|
|
645
|
+
updateMany<T extends AgentDatastoreUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentDatastoreUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
646
|
+
/**
|
|
647
|
+
* Update zero or more AgentDatastores and returns the data updated in the database.
|
|
648
|
+
* @param {AgentDatastoreUpdateManyAndReturnArgs} args - Arguments to update many AgentDatastores.
|
|
649
|
+
* @example
|
|
650
|
+
* // Update many AgentDatastores
|
|
651
|
+
* const agentDatastore = await prisma.agentDatastore.updateManyAndReturn({
|
|
652
|
+
* where: {
|
|
653
|
+
* // ... provide filter here
|
|
654
|
+
* },
|
|
655
|
+
* data: [
|
|
656
|
+
* // ... provide data here
|
|
657
|
+
* ]
|
|
658
|
+
* })
|
|
659
|
+
*
|
|
660
|
+
* // Update zero or more AgentDatastores and only return the `agentId`
|
|
661
|
+
* const agentDatastoreWithAgentIdOnly = await prisma.agentDatastore.updateManyAndReturn({
|
|
662
|
+
* select: { agentId: true },
|
|
663
|
+
* where: {
|
|
664
|
+
* // ... provide filter here
|
|
665
|
+
* },
|
|
666
|
+
* data: [
|
|
667
|
+
* // ... provide data here
|
|
668
|
+
* ]
|
|
669
|
+
* })
|
|
670
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
671
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
672
|
+
*
|
|
673
|
+
*/
|
|
674
|
+
updateManyAndReturn<T extends AgentDatastoreUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentDatastoreUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
675
|
+
/**
|
|
676
|
+
* Create or update one AgentDatastore.
|
|
677
|
+
* @param {AgentDatastoreUpsertArgs} args - Arguments to update or create a AgentDatastore.
|
|
678
|
+
* @example
|
|
679
|
+
* // Update or create a AgentDatastore
|
|
680
|
+
* const agentDatastore = await prisma.agentDatastore.upsert({
|
|
681
|
+
* create: {
|
|
682
|
+
* // ... data to create a AgentDatastore
|
|
683
|
+
* },
|
|
684
|
+
* update: {
|
|
685
|
+
* // ... in case it already exists, update
|
|
686
|
+
* },
|
|
687
|
+
* where: {
|
|
688
|
+
* // ... the filter for the AgentDatastore we want to update
|
|
689
|
+
* }
|
|
690
|
+
* })
|
|
691
|
+
*/
|
|
692
|
+
upsert<T extends AgentDatastoreUpsertArgs>(args: Prisma.SelectSubset<T, AgentDatastoreUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentDatastoreClient<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
693
|
+
/**
|
|
694
|
+
* Count the number of AgentDatastores.
|
|
695
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
696
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
697
|
+
* @param {AgentDatastoreCountArgs} args - Arguments to filter AgentDatastores to count.
|
|
698
|
+
* @example
|
|
699
|
+
* // Count the number of AgentDatastores
|
|
700
|
+
* const count = await prisma.agentDatastore.count({
|
|
701
|
+
* where: {
|
|
702
|
+
* // ... the filter for the AgentDatastores we want to count
|
|
703
|
+
* }
|
|
704
|
+
* })
|
|
705
|
+
**/
|
|
706
|
+
count<T extends AgentDatastoreCountArgs>(args?: Prisma.Subset<T, AgentDatastoreCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], AgentDatastoreCountAggregateOutputType> : number>;
|
|
707
|
+
/**
|
|
708
|
+
* Allows you to perform aggregations operations on a AgentDatastore.
|
|
709
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
710
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
711
|
+
* @param {AgentDatastoreAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
712
|
+
* @example
|
|
713
|
+
* // Ordered by age ascending
|
|
714
|
+
* // Where email contains prisma.io
|
|
715
|
+
* // Limited to the 10 users
|
|
716
|
+
* const aggregations = await prisma.user.aggregate({
|
|
717
|
+
* _avg: {
|
|
718
|
+
* age: true,
|
|
719
|
+
* },
|
|
720
|
+
* where: {
|
|
721
|
+
* email: {
|
|
722
|
+
* contains: "prisma.io",
|
|
723
|
+
* },
|
|
724
|
+
* },
|
|
725
|
+
* orderBy: {
|
|
726
|
+
* age: "asc",
|
|
727
|
+
* },
|
|
728
|
+
* take: 10,
|
|
729
|
+
* })
|
|
730
|
+
**/
|
|
731
|
+
aggregate<T extends AgentDatastoreAggregateArgs>(args: Prisma.Subset<T, AgentDatastoreAggregateArgs>): Prisma.PrismaPromise<GetAgentDatastoreAggregateType<T>>;
|
|
732
|
+
/**
|
|
733
|
+
* Group by AgentDatastore.
|
|
734
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
735
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
736
|
+
* @param {AgentDatastoreGroupByArgs} args - Group by arguments.
|
|
737
|
+
* @example
|
|
738
|
+
* // Group by city, order by createdAt, get count
|
|
739
|
+
* const result = await prisma.user.groupBy({
|
|
740
|
+
* by: ['city', 'createdAt'],
|
|
741
|
+
* orderBy: {
|
|
742
|
+
* createdAt: true
|
|
743
|
+
* },
|
|
744
|
+
* _count: {
|
|
745
|
+
* _all: true
|
|
746
|
+
* },
|
|
747
|
+
* })
|
|
748
|
+
*
|
|
749
|
+
**/
|
|
750
|
+
groupBy<T extends AgentDatastoreGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
751
|
+
orderBy: AgentDatastoreGroupByArgs['orderBy'];
|
|
752
|
+
} : {
|
|
753
|
+
orderBy?: AgentDatastoreGroupByArgs['orderBy'];
|
|
754
|
+
}, 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 ? {
|
|
755
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
756
|
+
Error,
|
|
757
|
+
'Field ',
|
|
758
|
+
P,
|
|
759
|
+
` in "having" needs to be provided in "by"`
|
|
760
|
+
];
|
|
761
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
762
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
763
|
+
}[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 ? {} : {
|
|
764
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
765
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
766
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
767
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, AgentDatastoreGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentDatastoreGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
768
|
+
/**
|
|
769
|
+
* Fields of the AgentDatastore model
|
|
770
|
+
*/
|
|
771
|
+
readonly fields: AgentDatastoreFieldRefs;
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* The delegate class that acts as a "Promise-like" for AgentDatastore.
|
|
775
|
+
* Why is this prefixed with `Prisma__`?
|
|
776
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
777
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
778
|
+
*/
|
|
779
|
+
export interface Prisma__AgentDatastoreClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
780
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
781
|
+
agent<T extends Prisma.AgentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentDefaultArgs<ExtArgs>>): Prisma.Prisma__AgentClient<runtime.Types.Result.GetResult<Prisma.$AgentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
782
|
+
datastore<T extends Prisma.DatastoreDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DatastoreDefaultArgs<ExtArgs>>): Prisma.Prisma__DatastoreClient<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
783
|
+
/**
|
|
784
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
785
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
786
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
787
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
788
|
+
*/
|
|
789
|
+
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>;
|
|
790
|
+
/**
|
|
791
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
792
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
793
|
+
* @returns A Promise for the completion of the callback.
|
|
794
|
+
*/
|
|
795
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
796
|
+
/**
|
|
797
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
798
|
+
* resolved value cannot be modified from the callback.
|
|
799
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
800
|
+
* @returns A Promise for the completion of the callback.
|
|
801
|
+
*/
|
|
802
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
803
|
+
}
|
|
804
|
+
/**
|
|
805
|
+
* Fields of the AgentDatastore model
|
|
806
|
+
*/
|
|
807
|
+
export interface AgentDatastoreFieldRefs {
|
|
808
|
+
readonly agentId: Prisma.FieldRef<"AgentDatastore", 'String'>;
|
|
809
|
+
readonly datastoreId: Prisma.FieldRef<"AgentDatastore", 'String'>;
|
|
810
|
+
readonly boundName: Prisma.FieldRef<"AgentDatastore", 'String'>;
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* AgentDatastore findUnique
|
|
814
|
+
*/
|
|
815
|
+
export type AgentDatastoreFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
816
|
+
/**
|
|
817
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
818
|
+
*/
|
|
819
|
+
select?: Prisma.AgentDatastoreSelect<ExtArgs> | null;
|
|
820
|
+
/**
|
|
821
|
+
* Omit specific fields from the AgentDatastore
|
|
822
|
+
*/
|
|
823
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
824
|
+
/**
|
|
825
|
+
* Choose, which related nodes to fetch as well
|
|
826
|
+
*/
|
|
827
|
+
include?: Prisma.AgentDatastoreInclude<ExtArgs> | null;
|
|
828
|
+
/**
|
|
829
|
+
* Filter, which AgentDatastore to fetch.
|
|
830
|
+
*/
|
|
831
|
+
where: Prisma.AgentDatastoreWhereUniqueInput;
|
|
832
|
+
};
|
|
833
|
+
/**
|
|
834
|
+
* AgentDatastore findUniqueOrThrow
|
|
835
|
+
*/
|
|
836
|
+
export type AgentDatastoreFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
837
|
+
/**
|
|
838
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
839
|
+
*/
|
|
840
|
+
select?: Prisma.AgentDatastoreSelect<ExtArgs> | null;
|
|
841
|
+
/**
|
|
842
|
+
* Omit specific fields from the AgentDatastore
|
|
843
|
+
*/
|
|
844
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
845
|
+
/**
|
|
846
|
+
* Choose, which related nodes to fetch as well
|
|
847
|
+
*/
|
|
848
|
+
include?: Prisma.AgentDatastoreInclude<ExtArgs> | null;
|
|
849
|
+
/**
|
|
850
|
+
* Filter, which AgentDatastore to fetch.
|
|
851
|
+
*/
|
|
852
|
+
where: Prisma.AgentDatastoreWhereUniqueInput;
|
|
853
|
+
};
|
|
854
|
+
/**
|
|
855
|
+
* AgentDatastore findFirst
|
|
856
|
+
*/
|
|
857
|
+
export type AgentDatastoreFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
858
|
+
/**
|
|
859
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
860
|
+
*/
|
|
861
|
+
select?: Prisma.AgentDatastoreSelect<ExtArgs> | null;
|
|
862
|
+
/**
|
|
863
|
+
* Omit specific fields from the AgentDatastore
|
|
864
|
+
*/
|
|
865
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
866
|
+
/**
|
|
867
|
+
* Choose, which related nodes to fetch as well
|
|
868
|
+
*/
|
|
869
|
+
include?: Prisma.AgentDatastoreInclude<ExtArgs> | null;
|
|
870
|
+
/**
|
|
871
|
+
* Filter, which AgentDatastore to fetch.
|
|
872
|
+
*/
|
|
873
|
+
where?: Prisma.AgentDatastoreWhereInput;
|
|
874
|
+
/**
|
|
875
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
876
|
+
*
|
|
877
|
+
* Determine the order of AgentDatastores to fetch.
|
|
878
|
+
*/
|
|
879
|
+
orderBy?: Prisma.AgentDatastoreOrderByWithRelationInput | Prisma.AgentDatastoreOrderByWithRelationInput[];
|
|
880
|
+
/**
|
|
881
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
882
|
+
*
|
|
883
|
+
* Sets the position for searching for AgentDatastores.
|
|
884
|
+
*/
|
|
885
|
+
cursor?: Prisma.AgentDatastoreWhereUniqueInput;
|
|
886
|
+
/**
|
|
887
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
888
|
+
*
|
|
889
|
+
* Take `±n` AgentDatastores from the position of the cursor.
|
|
890
|
+
*/
|
|
891
|
+
take?: number;
|
|
892
|
+
/**
|
|
893
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
894
|
+
*
|
|
895
|
+
* Skip the first `n` AgentDatastores.
|
|
896
|
+
*/
|
|
897
|
+
skip?: number;
|
|
898
|
+
/**
|
|
899
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
900
|
+
*
|
|
901
|
+
* Filter by unique combinations of AgentDatastores.
|
|
902
|
+
*/
|
|
903
|
+
distinct?: Prisma.AgentDatastoreScalarFieldEnum | Prisma.AgentDatastoreScalarFieldEnum[];
|
|
904
|
+
};
|
|
905
|
+
/**
|
|
906
|
+
* AgentDatastore findFirstOrThrow
|
|
907
|
+
*/
|
|
908
|
+
export type AgentDatastoreFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
909
|
+
/**
|
|
910
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
911
|
+
*/
|
|
912
|
+
select?: Prisma.AgentDatastoreSelect<ExtArgs> | null;
|
|
913
|
+
/**
|
|
914
|
+
* Omit specific fields from the AgentDatastore
|
|
915
|
+
*/
|
|
916
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
917
|
+
/**
|
|
918
|
+
* Choose, which related nodes to fetch as well
|
|
919
|
+
*/
|
|
920
|
+
include?: Prisma.AgentDatastoreInclude<ExtArgs> | null;
|
|
921
|
+
/**
|
|
922
|
+
* Filter, which AgentDatastore to fetch.
|
|
923
|
+
*/
|
|
924
|
+
where?: Prisma.AgentDatastoreWhereInput;
|
|
925
|
+
/**
|
|
926
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
927
|
+
*
|
|
928
|
+
* Determine the order of AgentDatastores to fetch.
|
|
929
|
+
*/
|
|
930
|
+
orderBy?: Prisma.AgentDatastoreOrderByWithRelationInput | Prisma.AgentDatastoreOrderByWithRelationInput[];
|
|
931
|
+
/**
|
|
932
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
933
|
+
*
|
|
934
|
+
* Sets the position for searching for AgentDatastores.
|
|
935
|
+
*/
|
|
936
|
+
cursor?: Prisma.AgentDatastoreWhereUniqueInput;
|
|
937
|
+
/**
|
|
938
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
939
|
+
*
|
|
940
|
+
* Take `±n` AgentDatastores from the position of the cursor.
|
|
941
|
+
*/
|
|
942
|
+
take?: number;
|
|
943
|
+
/**
|
|
944
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
945
|
+
*
|
|
946
|
+
* Skip the first `n` AgentDatastores.
|
|
947
|
+
*/
|
|
948
|
+
skip?: number;
|
|
949
|
+
/**
|
|
950
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
951
|
+
*
|
|
952
|
+
* Filter by unique combinations of AgentDatastores.
|
|
953
|
+
*/
|
|
954
|
+
distinct?: Prisma.AgentDatastoreScalarFieldEnum | Prisma.AgentDatastoreScalarFieldEnum[];
|
|
955
|
+
};
|
|
956
|
+
/**
|
|
957
|
+
* AgentDatastore findMany
|
|
958
|
+
*/
|
|
959
|
+
export type AgentDatastoreFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
960
|
+
/**
|
|
961
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
962
|
+
*/
|
|
963
|
+
select?: Prisma.AgentDatastoreSelect<ExtArgs> | null;
|
|
964
|
+
/**
|
|
965
|
+
* Omit specific fields from the AgentDatastore
|
|
966
|
+
*/
|
|
967
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
968
|
+
/**
|
|
969
|
+
* Choose, which related nodes to fetch as well
|
|
970
|
+
*/
|
|
971
|
+
include?: Prisma.AgentDatastoreInclude<ExtArgs> | null;
|
|
972
|
+
/**
|
|
973
|
+
* Filter, which AgentDatastores to fetch.
|
|
974
|
+
*/
|
|
975
|
+
where?: Prisma.AgentDatastoreWhereInput;
|
|
976
|
+
/**
|
|
977
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
978
|
+
*
|
|
979
|
+
* Determine the order of AgentDatastores to fetch.
|
|
980
|
+
*/
|
|
981
|
+
orderBy?: Prisma.AgentDatastoreOrderByWithRelationInput | Prisma.AgentDatastoreOrderByWithRelationInput[];
|
|
982
|
+
/**
|
|
983
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
984
|
+
*
|
|
985
|
+
* Sets the position for listing AgentDatastores.
|
|
986
|
+
*/
|
|
987
|
+
cursor?: Prisma.AgentDatastoreWhereUniqueInput;
|
|
988
|
+
/**
|
|
989
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
990
|
+
*
|
|
991
|
+
* Take `±n` AgentDatastores from the position of the cursor.
|
|
992
|
+
*/
|
|
993
|
+
take?: number;
|
|
994
|
+
/**
|
|
995
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
996
|
+
*
|
|
997
|
+
* Skip the first `n` AgentDatastores.
|
|
998
|
+
*/
|
|
999
|
+
skip?: number;
|
|
1000
|
+
/**
|
|
1001
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1002
|
+
*
|
|
1003
|
+
* Filter by unique combinations of AgentDatastores.
|
|
1004
|
+
*/
|
|
1005
|
+
distinct?: Prisma.AgentDatastoreScalarFieldEnum | Prisma.AgentDatastoreScalarFieldEnum[];
|
|
1006
|
+
};
|
|
1007
|
+
/**
|
|
1008
|
+
* AgentDatastore create
|
|
1009
|
+
*/
|
|
1010
|
+
export type AgentDatastoreCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1011
|
+
/**
|
|
1012
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
1013
|
+
*/
|
|
1014
|
+
select?: Prisma.AgentDatastoreSelect<ExtArgs> | null;
|
|
1015
|
+
/**
|
|
1016
|
+
* Omit specific fields from the AgentDatastore
|
|
1017
|
+
*/
|
|
1018
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
1019
|
+
/**
|
|
1020
|
+
* Choose, which related nodes to fetch as well
|
|
1021
|
+
*/
|
|
1022
|
+
include?: Prisma.AgentDatastoreInclude<ExtArgs> | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* The data needed to create a AgentDatastore.
|
|
1025
|
+
*/
|
|
1026
|
+
data: Prisma.XOR<Prisma.AgentDatastoreCreateInput, Prisma.AgentDatastoreUncheckedCreateInput>;
|
|
1027
|
+
};
|
|
1028
|
+
/**
|
|
1029
|
+
* AgentDatastore createMany
|
|
1030
|
+
*/
|
|
1031
|
+
export type AgentDatastoreCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1032
|
+
/**
|
|
1033
|
+
* The data used to create many AgentDatastores.
|
|
1034
|
+
*/
|
|
1035
|
+
data: Prisma.AgentDatastoreCreateManyInput | Prisma.AgentDatastoreCreateManyInput[];
|
|
1036
|
+
skipDuplicates?: boolean;
|
|
1037
|
+
};
|
|
1038
|
+
/**
|
|
1039
|
+
* AgentDatastore createManyAndReturn
|
|
1040
|
+
*/
|
|
1041
|
+
export type AgentDatastoreCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1042
|
+
/**
|
|
1043
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
1044
|
+
*/
|
|
1045
|
+
select?: Prisma.AgentDatastoreSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1046
|
+
/**
|
|
1047
|
+
* Omit specific fields from the AgentDatastore
|
|
1048
|
+
*/
|
|
1049
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
1050
|
+
/**
|
|
1051
|
+
* The data used to create many AgentDatastores.
|
|
1052
|
+
*/
|
|
1053
|
+
data: Prisma.AgentDatastoreCreateManyInput | Prisma.AgentDatastoreCreateManyInput[];
|
|
1054
|
+
skipDuplicates?: boolean;
|
|
1055
|
+
/**
|
|
1056
|
+
* Choose, which related nodes to fetch as well
|
|
1057
|
+
*/
|
|
1058
|
+
include?: Prisma.AgentDatastoreIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1059
|
+
};
|
|
1060
|
+
/**
|
|
1061
|
+
* AgentDatastore update
|
|
1062
|
+
*/
|
|
1063
|
+
export type AgentDatastoreUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1064
|
+
/**
|
|
1065
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
1066
|
+
*/
|
|
1067
|
+
select?: Prisma.AgentDatastoreSelect<ExtArgs> | null;
|
|
1068
|
+
/**
|
|
1069
|
+
* Omit specific fields from the AgentDatastore
|
|
1070
|
+
*/
|
|
1071
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
1072
|
+
/**
|
|
1073
|
+
* Choose, which related nodes to fetch as well
|
|
1074
|
+
*/
|
|
1075
|
+
include?: Prisma.AgentDatastoreInclude<ExtArgs> | null;
|
|
1076
|
+
/**
|
|
1077
|
+
* The data needed to update a AgentDatastore.
|
|
1078
|
+
*/
|
|
1079
|
+
data: Prisma.XOR<Prisma.AgentDatastoreUpdateInput, Prisma.AgentDatastoreUncheckedUpdateInput>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Choose, which AgentDatastore to update.
|
|
1082
|
+
*/
|
|
1083
|
+
where: Prisma.AgentDatastoreWhereUniqueInput;
|
|
1084
|
+
};
|
|
1085
|
+
/**
|
|
1086
|
+
* AgentDatastore updateMany
|
|
1087
|
+
*/
|
|
1088
|
+
export type AgentDatastoreUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1089
|
+
/**
|
|
1090
|
+
* The data used to update AgentDatastores.
|
|
1091
|
+
*/
|
|
1092
|
+
data: Prisma.XOR<Prisma.AgentDatastoreUpdateManyMutationInput, Prisma.AgentDatastoreUncheckedUpdateManyInput>;
|
|
1093
|
+
/**
|
|
1094
|
+
* Filter which AgentDatastores to update
|
|
1095
|
+
*/
|
|
1096
|
+
where?: Prisma.AgentDatastoreWhereInput;
|
|
1097
|
+
/**
|
|
1098
|
+
* Limit how many AgentDatastores to update.
|
|
1099
|
+
*/
|
|
1100
|
+
limit?: number;
|
|
1101
|
+
};
|
|
1102
|
+
/**
|
|
1103
|
+
* AgentDatastore updateManyAndReturn
|
|
1104
|
+
*/
|
|
1105
|
+
export type AgentDatastoreUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1106
|
+
/**
|
|
1107
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
1108
|
+
*/
|
|
1109
|
+
select?: Prisma.AgentDatastoreSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1110
|
+
/**
|
|
1111
|
+
* Omit specific fields from the AgentDatastore
|
|
1112
|
+
*/
|
|
1113
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
1114
|
+
/**
|
|
1115
|
+
* The data used to update AgentDatastores.
|
|
1116
|
+
*/
|
|
1117
|
+
data: Prisma.XOR<Prisma.AgentDatastoreUpdateManyMutationInput, Prisma.AgentDatastoreUncheckedUpdateManyInput>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Filter which AgentDatastores to update
|
|
1120
|
+
*/
|
|
1121
|
+
where?: Prisma.AgentDatastoreWhereInput;
|
|
1122
|
+
/**
|
|
1123
|
+
* Limit how many AgentDatastores to update.
|
|
1124
|
+
*/
|
|
1125
|
+
limit?: number;
|
|
1126
|
+
/**
|
|
1127
|
+
* Choose, which related nodes to fetch as well
|
|
1128
|
+
*/
|
|
1129
|
+
include?: Prisma.AgentDatastoreIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1130
|
+
};
|
|
1131
|
+
/**
|
|
1132
|
+
* AgentDatastore upsert
|
|
1133
|
+
*/
|
|
1134
|
+
export type AgentDatastoreUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1135
|
+
/**
|
|
1136
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
1137
|
+
*/
|
|
1138
|
+
select?: Prisma.AgentDatastoreSelect<ExtArgs> | null;
|
|
1139
|
+
/**
|
|
1140
|
+
* Omit specific fields from the AgentDatastore
|
|
1141
|
+
*/
|
|
1142
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
1143
|
+
/**
|
|
1144
|
+
* Choose, which related nodes to fetch as well
|
|
1145
|
+
*/
|
|
1146
|
+
include?: Prisma.AgentDatastoreInclude<ExtArgs> | null;
|
|
1147
|
+
/**
|
|
1148
|
+
* The filter to search for the AgentDatastore to update in case it exists.
|
|
1149
|
+
*/
|
|
1150
|
+
where: Prisma.AgentDatastoreWhereUniqueInput;
|
|
1151
|
+
/**
|
|
1152
|
+
* In case the AgentDatastore found by the `where` argument doesn't exist, create a new AgentDatastore with this data.
|
|
1153
|
+
*/
|
|
1154
|
+
create: Prisma.XOR<Prisma.AgentDatastoreCreateInput, Prisma.AgentDatastoreUncheckedCreateInput>;
|
|
1155
|
+
/**
|
|
1156
|
+
* In case the AgentDatastore was found with the provided `where` argument, update it with this data.
|
|
1157
|
+
*/
|
|
1158
|
+
update: Prisma.XOR<Prisma.AgentDatastoreUpdateInput, Prisma.AgentDatastoreUncheckedUpdateInput>;
|
|
1159
|
+
};
|
|
1160
|
+
/**
|
|
1161
|
+
* AgentDatastore delete
|
|
1162
|
+
*/
|
|
1163
|
+
export type AgentDatastoreDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1164
|
+
/**
|
|
1165
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
1166
|
+
*/
|
|
1167
|
+
select?: Prisma.AgentDatastoreSelect<ExtArgs> | null;
|
|
1168
|
+
/**
|
|
1169
|
+
* Omit specific fields from the AgentDatastore
|
|
1170
|
+
*/
|
|
1171
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
1172
|
+
/**
|
|
1173
|
+
* Choose, which related nodes to fetch as well
|
|
1174
|
+
*/
|
|
1175
|
+
include?: Prisma.AgentDatastoreInclude<ExtArgs> | null;
|
|
1176
|
+
/**
|
|
1177
|
+
* Filter which AgentDatastore to delete.
|
|
1178
|
+
*/
|
|
1179
|
+
where: Prisma.AgentDatastoreWhereUniqueInput;
|
|
1180
|
+
};
|
|
1181
|
+
/**
|
|
1182
|
+
* AgentDatastore deleteMany
|
|
1183
|
+
*/
|
|
1184
|
+
export type AgentDatastoreDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1185
|
+
/**
|
|
1186
|
+
* Filter which AgentDatastores to delete
|
|
1187
|
+
*/
|
|
1188
|
+
where?: Prisma.AgentDatastoreWhereInput;
|
|
1189
|
+
/**
|
|
1190
|
+
* Limit how many AgentDatastores to delete.
|
|
1191
|
+
*/
|
|
1192
|
+
limit?: number;
|
|
1193
|
+
};
|
|
1194
|
+
/**
|
|
1195
|
+
* AgentDatastore without action
|
|
1196
|
+
*/
|
|
1197
|
+
export type AgentDatastoreDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1198
|
+
/**
|
|
1199
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
1200
|
+
*/
|
|
1201
|
+
select?: Prisma.AgentDatastoreSelect<ExtArgs> | null;
|
|
1202
|
+
/**
|
|
1203
|
+
* Omit specific fields from the AgentDatastore
|
|
1204
|
+
*/
|
|
1205
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
1206
|
+
/**
|
|
1207
|
+
* Choose, which related nodes to fetch as well
|
|
1208
|
+
*/
|
|
1209
|
+
include?: Prisma.AgentDatastoreInclude<ExtArgs> | null;
|
|
1210
|
+
};
|