@app-vitals/agent-admin 1.39.0 → 1.40.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/package.json +2 -2
- package/prisma/client/browser.ts +10 -0
- package/prisma/client/client.ts +10 -0
- package/prisma/client/internal/class.ts +24 -4
- package/prisma/client/internal/prismaNamespace.ts +184 -2
- package/prisma/client/internal/prismaNamespaceBrowser.ts +33 -1
- package/prisma/client/models/Account.ts +148 -0
- package/prisma/client/models/Agent.ts +80 -1
- package/prisma/client/models/AgentCronJob.ts +54 -1
- package/prisma/client/models/AgentEnv.ts +36 -1
- package/prisma/client/models/AgentPlugin.ts +36 -1
- package/prisma/client/models/AgentTemplate.ts +1501 -0
- package/prisma/client/models/AgentTemplateItem.ts +1416 -0
- package/prisma/client/models/AgentTool.ts +71 -1
- package/prisma/client/models.ts +2 -0
- package/prisma/migrations/20261113000000_add_agent_templates/migration.sql +71 -0
- package/prisma/schema/schema.prisma +61 -4
- package/src/admin-local-agent.smoke.test.ts +2 -0
- package/src/admin-ui.fixtures.ts +3 -0
- package/src/admin-ui.smoke.test.ts +2 -0
- package/src/agent-cron-run-stats.smoke.test.ts +10 -0
- package/src/agent-plugins.unit.test.ts +1 -0
- package/src/agent-template-items.ts +55 -0
- package/src/agent-template-items.unit.test.ts +55 -0
- package/src/agent-templates.integration.test.ts +200 -0
- package/src/agents-api.smoke.test.ts +17 -0
- package/src/api.smoke.test.ts +13 -0
- package/src/chat.smoke.test.ts +2 -0
|
@@ -0,0 +1,1416 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `AgentTemplateItem` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model AgentTemplateItem
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AgentTemplateItemModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentTemplateItemPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAgentTemplateItem = {
|
|
22
|
+
_count: AgentTemplateItemCountAggregateOutputType | null
|
|
23
|
+
_min: AgentTemplateItemMinAggregateOutputType | null
|
|
24
|
+
_max: AgentTemplateItemMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type AgentTemplateItemMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
templateId: string | null
|
|
30
|
+
kind: string | null
|
|
31
|
+
key: string | null
|
|
32
|
+
createdAt: Date | null
|
|
33
|
+
updatedAt: Date | null
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type AgentTemplateItemMaxAggregateOutputType = {
|
|
37
|
+
id: string | null
|
|
38
|
+
templateId: string | null
|
|
39
|
+
kind: string | null
|
|
40
|
+
key: string | null
|
|
41
|
+
createdAt: Date | null
|
|
42
|
+
updatedAt: Date | null
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type AgentTemplateItemCountAggregateOutputType = {
|
|
46
|
+
id: number
|
|
47
|
+
templateId: number
|
|
48
|
+
kind: number
|
|
49
|
+
key: number
|
|
50
|
+
payload: number
|
|
51
|
+
createdAt: number
|
|
52
|
+
updatedAt: number
|
|
53
|
+
_all: number
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
export type AgentTemplateItemMinAggregateInputType = {
|
|
58
|
+
id?: true
|
|
59
|
+
templateId?: true
|
|
60
|
+
kind?: true
|
|
61
|
+
key?: true
|
|
62
|
+
createdAt?: true
|
|
63
|
+
updatedAt?: true
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type AgentTemplateItemMaxAggregateInputType = {
|
|
67
|
+
id?: true
|
|
68
|
+
templateId?: true
|
|
69
|
+
kind?: true
|
|
70
|
+
key?: true
|
|
71
|
+
createdAt?: true
|
|
72
|
+
updatedAt?: true
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export type AgentTemplateItemCountAggregateInputType = {
|
|
76
|
+
id?: true
|
|
77
|
+
templateId?: true
|
|
78
|
+
kind?: true
|
|
79
|
+
key?: true
|
|
80
|
+
payload?: true
|
|
81
|
+
createdAt?: true
|
|
82
|
+
updatedAt?: true
|
|
83
|
+
_all?: true
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export type AgentTemplateItemAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
87
|
+
/**
|
|
88
|
+
* Filter which AgentTemplateItem to aggregate.
|
|
89
|
+
*/
|
|
90
|
+
where?: Prisma.AgentTemplateItemWhereInput
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
93
|
+
*
|
|
94
|
+
* Determine the order of AgentTemplateItems to fetch.
|
|
95
|
+
*/
|
|
96
|
+
orderBy?: Prisma.AgentTemplateItemOrderByWithRelationInput | Prisma.AgentTemplateItemOrderByWithRelationInput[]
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
99
|
+
*
|
|
100
|
+
* Sets the start position
|
|
101
|
+
*/
|
|
102
|
+
cursor?: Prisma.AgentTemplateItemWhereUniqueInput
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105
|
+
*
|
|
106
|
+
* Take `±n` AgentTemplateItems from the position of the cursor.
|
|
107
|
+
*/
|
|
108
|
+
take?: number
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
111
|
+
*
|
|
112
|
+
* Skip the first `n` AgentTemplateItems.
|
|
113
|
+
*/
|
|
114
|
+
skip?: number
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
117
|
+
*
|
|
118
|
+
* Count returned AgentTemplateItems
|
|
119
|
+
**/
|
|
120
|
+
_count?: true | AgentTemplateItemCountAggregateInputType
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
123
|
+
*
|
|
124
|
+
* Select which fields to find the minimum value
|
|
125
|
+
**/
|
|
126
|
+
_min?: AgentTemplateItemMinAggregateInputType
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
129
|
+
*
|
|
130
|
+
* Select which fields to find the maximum value
|
|
131
|
+
**/
|
|
132
|
+
_max?: AgentTemplateItemMaxAggregateInputType
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export type GetAgentTemplateItemAggregateType<T extends AgentTemplateItemAggregateArgs> = {
|
|
136
|
+
[P in keyof T & keyof AggregateAgentTemplateItem]: P extends '_count' | 'count'
|
|
137
|
+
? T[P] extends true
|
|
138
|
+
? number
|
|
139
|
+
: Prisma.GetScalarType<T[P], AggregateAgentTemplateItem[P]>
|
|
140
|
+
: Prisma.GetScalarType<T[P], AggregateAgentTemplateItem[P]>
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
export type AgentTemplateItemGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
147
|
+
where?: Prisma.AgentTemplateItemWhereInput
|
|
148
|
+
orderBy?: Prisma.AgentTemplateItemOrderByWithAggregationInput | Prisma.AgentTemplateItemOrderByWithAggregationInput[]
|
|
149
|
+
by: Prisma.AgentTemplateItemScalarFieldEnum[] | Prisma.AgentTemplateItemScalarFieldEnum
|
|
150
|
+
having?: Prisma.AgentTemplateItemScalarWhereWithAggregatesInput
|
|
151
|
+
take?: number
|
|
152
|
+
skip?: number
|
|
153
|
+
_count?: AgentTemplateItemCountAggregateInputType | true
|
|
154
|
+
_min?: AgentTemplateItemMinAggregateInputType
|
|
155
|
+
_max?: AgentTemplateItemMaxAggregateInputType
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export type AgentTemplateItemGroupByOutputType = {
|
|
159
|
+
id: string
|
|
160
|
+
templateId: string
|
|
161
|
+
kind: string
|
|
162
|
+
key: string
|
|
163
|
+
payload: runtime.JsonValue
|
|
164
|
+
createdAt: Date
|
|
165
|
+
updatedAt: Date
|
|
166
|
+
_count: AgentTemplateItemCountAggregateOutputType | null
|
|
167
|
+
_min: AgentTemplateItemMinAggregateOutputType | null
|
|
168
|
+
_max: AgentTemplateItemMaxAggregateOutputType | null
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export type GetAgentTemplateItemGroupByPayload<T extends AgentTemplateItemGroupByArgs> = Prisma.PrismaPromise<
|
|
172
|
+
Array<
|
|
173
|
+
Prisma.PickEnumerable<AgentTemplateItemGroupByOutputType, T['by']> &
|
|
174
|
+
{
|
|
175
|
+
[P in ((keyof T) & (keyof AgentTemplateItemGroupByOutputType))]: P extends '_count'
|
|
176
|
+
? T[P] extends boolean
|
|
177
|
+
? number
|
|
178
|
+
: Prisma.GetScalarType<T[P], AgentTemplateItemGroupByOutputType[P]>
|
|
179
|
+
: Prisma.GetScalarType<T[P], AgentTemplateItemGroupByOutputType[P]>
|
|
180
|
+
}
|
|
181
|
+
>
|
|
182
|
+
>
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
export type AgentTemplateItemWhereInput = {
|
|
187
|
+
AND?: Prisma.AgentTemplateItemWhereInput | Prisma.AgentTemplateItemWhereInput[]
|
|
188
|
+
OR?: Prisma.AgentTemplateItemWhereInput[]
|
|
189
|
+
NOT?: Prisma.AgentTemplateItemWhereInput | Prisma.AgentTemplateItemWhereInput[]
|
|
190
|
+
id?: Prisma.StringFilter<"AgentTemplateItem"> | string
|
|
191
|
+
templateId?: Prisma.StringFilter<"AgentTemplateItem"> | string
|
|
192
|
+
kind?: Prisma.StringFilter<"AgentTemplateItem"> | string
|
|
193
|
+
key?: Prisma.StringFilter<"AgentTemplateItem"> | string
|
|
194
|
+
payload?: Prisma.JsonFilter<"AgentTemplateItem">
|
|
195
|
+
createdAt?: Prisma.DateTimeFilter<"AgentTemplateItem"> | Date | string
|
|
196
|
+
updatedAt?: Prisma.DateTimeFilter<"AgentTemplateItem"> | Date | string
|
|
197
|
+
template?: Prisma.XOR<Prisma.AgentTemplateScalarRelationFilter, Prisma.AgentTemplateWhereInput>
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export type AgentTemplateItemOrderByWithRelationInput = {
|
|
201
|
+
id?: Prisma.SortOrder
|
|
202
|
+
templateId?: Prisma.SortOrder
|
|
203
|
+
kind?: Prisma.SortOrder
|
|
204
|
+
key?: Prisma.SortOrder
|
|
205
|
+
payload?: Prisma.SortOrder
|
|
206
|
+
createdAt?: Prisma.SortOrder
|
|
207
|
+
updatedAt?: Prisma.SortOrder
|
|
208
|
+
template?: Prisma.AgentTemplateOrderByWithRelationInput
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export type AgentTemplateItemWhereUniqueInput = Prisma.AtLeast<{
|
|
212
|
+
id?: string
|
|
213
|
+
templateId_kind_key?: Prisma.AgentTemplateItemTemplateIdKindKeyCompoundUniqueInput
|
|
214
|
+
AND?: Prisma.AgentTemplateItemWhereInput | Prisma.AgentTemplateItemWhereInput[]
|
|
215
|
+
OR?: Prisma.AgentTemplateItemWhereInput[]
|
|
216
|
+
NOT?: Prisma.AgentTemplateItemWhereInput | Prisma.AgentTemplateItemWhereInput[]
|
|
217
|
+
templateId?: Prisma.StringFilter<"AgentTemplateItem"> | string
|
|
218
|
+
kind?: Prisma.StringFilter<"AgentTemplateItem"> | string
|
|
219
|
+
key?: Prisma.StringFilter<"AgentTemplateItem"> | string
|
|
220
|
+
payload?: Prisma.JsonFilter<"AgentTemplateItem">
|
|
221
|
+
createdAt?: Prisma.DateTimeFilter<"AgentTemplateItem"> | Date | string
|
|
222
|
+
updatedAt?: Prisma.DateTimeFilter<"AgentTemplateItem"> | Date | string
|
|
223
|
+
template?: Prisma.XOR<Prisma.AgentTemplateScalarRelationFilter, Prisma.AgentTemplateWhereInput>
|
|
224
|
+
}, "id" | "templateId_kind_key">
|
|
225
|
+
|
|
226
|
+
export type AgentTemplateItemOrderByWithAggregationInput = {
|
|
227
|
+
id?: Prisma.SortOrder
|
|
228
|
+
templateId?: Prisma.SortOrder
|
|
229
|
+
kind?: Prisma.SortOrder
|
|
230
|
+
key?: Prisma.SortOrder
|
|
231
|
+
payload?: Prisma.SortOrder
|
|
232
|
+
createdAt?: Prisma.SortOrder
|
|
233
|
+
updatedAt?: Prisma.SortOrder
|
|
234
|
+
_count?: Prisma.AgentTemplateItemCountOrderByAggregateInput
|
|
235
|
+
_max?: Prisma.AgentTemplateItemMaxOrderByAggregateInput
|
|
236
|
+
_min?: Prisma.AgentTemplateItemMinOrderByAggregateInput
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export type AgentTemplateItemScalarWhereWithAggregatesInput = {
|
|
240
|
+
AND?: Prisma.AgentTemplateItemScalarWhereWithAggregatesInput | Prisma.AgentTemplateItemScalarWhereWithAggregatesInput[]
|
|
241
|
+
OR?: Prisma.AgentTemplateItemScalarWhereWithAggregatesInput[]
|
|
242
|
+
NOT?: Prisma.AgentTemplateItemScalarWhereWithAggregatesInput | Prisma.AgentTemplateItemScalarWhereWithAggregatesInput[]
|
|
243
|
+
id?: Prisma.StringWithAggregatesFilter<"AgentTemplateItem"> | string
|
|
244
|
+
templateId?: Prisma.StringWithAggregatesFilter<"AgentTemplateItem"> | string
|
|
245
|
+
kind?: Prisma.StringWithAggregatesFilter<"AgentTemplateItem"> | string
|
|
246
|
+
key?: Prisma.StringWithAggregatesFilter<"AgentTemplateItem"> | string
|
|
247
|
+
payload?: Prisma.JsonWithAggregatesFilter<"AgentTemplateItem">
|
|
248
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AgentTemplateItem"> | Date | string
|
|
249
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AgentTemplateItem"> | Date | string
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export type AgentTemplateItemCreateInput = {
|
|
253
|
+
id?: string
|
|
254
|
+
kind: string
|
|
255
|
+
key: string
|
|
256
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
257
|
+
createdAt?: Date | string
|
|
258
|
+
updatedAt?: Date | string
|
|
259
|
+
template: Prisma.AgentTemplateCreateNestedOneWithoutItemsInput
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type AgentTemplateItemUncheckedCreateInput = {
|
|
263
|
+
id?: string
|
|
264
|
+
templateId: string
|
|
265
|
+
kind: string
|
|
266
|
+
key: string
|
|
267
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
268
|
+
createdAt?: Date | string
|
|
269
|
+
updatedAt?: Date | string
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export type AgentTemplateItemUpdateInput = {
|
|
273
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
274
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
275
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
276
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
277
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
278
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
279
|
+
template?: Prisma.AgentTemplateUpdateOneRequiredWithoutItemsNestedInput
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export type AgentTemplateItemUncheckedUpdateInput = {
|
|
283
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
284
|
+
templateId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
285
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
286
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
287
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
288
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
289
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export type AgentTemplateItemCreateManyInput = {
|
|
293
|
+
id?: string
|
|
294
|
+
templateId: string
|
|
295
|
+
kind: string
|
|
296
|
+
key: string
|
|
297
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
298
|
+
createdAt?: Date | string
|
|
299
|
+
updatedAt?: Date | string
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export type AgentTemplateItemUpdateManyMutationInput = {
|
|
303
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
304
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
305
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
306
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
307
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
308
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export type AgentTemplateItemUncheckedUpdateManyInput = {
|
|
312
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
313
|
+
templateId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
314
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
315
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
316
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
317
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
318
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export type AgentTemplateItemListRelationFilter = {
|
|
322
|
+
every?: Prisma.AgentTemplateItemWhereInput
|
|
323
|
+
some?: Prisma.AgentTemplateItemWhereInput
|
|
324
|
+
none?: Prisma.AgentTemplateItemWhereInput
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export type AgentTemplateItemOrderByRelationAggregateInput = {
|
|
328
|
+
_count?: Prisma.SortOrder
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export type AgentTemplateItemTemplateIdKindKeyCompoundUniqueInput = {
|
|
332
|
+
templateId: string
|
|
333
|
+
kind: string
|
|
334
|
+
key: string
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export type AgentTemplateItemCountOrderByAggregateInput = {
|
|
338
|
+
id?: Prisma.SortOrder
|
|
339
|
+
templateId?: Prisma.SortOrder
|
|
340
|
+
kind?: Prisma.SortOrder
|
|
341
|
+
key?: Prisma.SortOrder
|
|
342
|
+
payload?: Prisma.SortOrder
|
|
343
|
+
createdAt?: Prisma.SortOrder
|
|
344
|
+
updatedAt?: Prisma.SortOrder
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export type AgentTemplateItemMaxOrderByAggregateInput = {
|
|
348
|
+
id?: Prisma.SortOrder
|
|
349
|
+
templateId?: Prisma.SortOrder
|
|
350
|
+
kind?: Prisma.SortOrder
|
|
351
|
+
key?: Prisma.SortOrder
|
|
352
|
+
createdAt?: Prisma.SortOrder
|
|
353
|
+
updatedAt?: Prisma.SortOrder
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export type AgentTemplateItemMinOrderByAggregateInput = {
|
|
357
|
+
id?: Prisma.SortOrder
|
|
358
|
+
templateId?: Prisma.SortOrder
|
|
359
|
+
kind?: Prisma.SortOrder
|
|
360
|
+
key?: Prisma.SortOrder
|
|
361
|
+
createdAt?: Prisma.SortOrder
|
|
362
|
+
updatedAt?: Prisma.SortOrder
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export type AgentTemplateItemCreateNestedManyWithoutTemplateInput = {
|
|
366
|
+
create?: Prisma.XOR<Prisma.AgentTemplateItemCreateWithoutTemplateInput, Prisma.AgentTemplateItemUncheckedCreateWithoutTemplateInput> | Prisma.AgentTemplateItemCreateWithoutTemplateInput[] | Prisma.AgentTemplateItemUncheckedCreateWithoutTemplateInput[]
|
|
367
|
+
connectOrCreate?: Prisma.AgentTemplateItemCreateOrConnectWithoutTemplateInput | Prisma.AgentTemplateItemCreateOrConnectWithoutTemplateInput[]
|
|
368
|
+
createMany?: Prisma.AgentTemplateItemCreateManyTemplateInputEnvelope
|
|
369
|
+
connect?: Prisma.AgentTemplateItemWhereUniqueInput | Prisma.AgentTemplateItemWhereUniqueInput[]
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export type AgentTemplateItemUncheckedCreateNestedManyWithoutTemplateInput = {
|
|
373
|
+
create?: Prisma.XOR<Prisma.AgentTemplateItemCreateWithoutTemplateInput, Prisma.AgentTemplateItemUncheckedCreateWithoutTemplateInput> | Prisma.AgentTemplateItemCreateWithoutTemplateInput[] | Prisma.AgentTemplateItemUncheckedCreateWithoutTemplateInput[]
|
|
374
|
+
connectOrCreate?: Prisma.AgentTemplateItemCreateOrConnectWithoutTemplateInput | Prisma.AgentTemplateItemCreateOrConnectWithoutTemplateInput[]
|
|
375
|
+
createMany?: Prisma.AgentTemplateItemCreateManyTemplateInputEnvelope
|
|
376
|
+
connect?: Prisma.AgentTemplateItemWhereUniqueInput | Prisma.AgentTemplateItemWhereUniqueInput[]
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
export type AgentTemplateItemUpdateManyWithoutTemplateNestedInput = {
|
|
380
|
+
create?: Prisma.XOR<Prisma.AgentTemplateItemCreateWithoutTemplateInput, Prisma.AgentTemplateItemUncheckedCreateWithoutTemplateInput> | Prisma.AgentTemplateItemCreateWithoutTemplateInput[] | Prisma.AgentTemplateItemUncheckedCreateWithoutTemplateInput[]
|
|
381
|
+
connectOrCreate?: Prisma.AgentTemplateItemCreateOrConnectWithoutTemplateInput | Prisma.AgentTemplateItemCreateOrConnectWithoutTemplateInput[]
|
|
382
|
+
upsert?: Prisma.AgentTemplateItemUpsertWithWhereUniqueWithoutTemplateInput | Prisma.AgentTemplateItemUpsertWithWhereUniqueWithoutTemplateInput[]
|
|
383
|
+
createMany?: Prisma.AgentTemplateItemCreateManyTemplateInputEnvelope
|
|
384
|
+
set?: Prisma.AgentTemplateItemWhereUniqueInput | Prisma.AgentTemplateItemWhereUniqueInput[]
|
|
385
|
+
disconnect?: Prisma.AgentTemplateItemWhereUniqueInput | Prisma.AgentTemplateItemWhereUniqueInput[]
|
|
386
|
+
delete?: Prisma.AgentTemplateItemWhereUniqueInput | Prisma.AgentTemplateItemWhereUniqueInput[]
|
|
387
|
+
connect?: Prisma.AgentTemplateItemWhereUniqueInput | Prisma.AgentTemplateItemWhereUniqueInput[]
|
|
388
|
+
update?: Prisma.AgentTemplateItemUpdateWithWhereUniqueWithoutTemplateInput | Prisma.AgentTemplateItemUpdateWithWhereUniqueWithoutTemplateInput[]
|
|
389
|
+
updateMany?: Prisma.AgentTemplateItemUpdateManyWithWhereWithoutTemplateInput | Prisma.AgentTemplateItemUpdateManyWithWhereWithoutTemplateInput[]
|
|
390
|
+
deleteMany?: Prisma.AgentTemplateItemScalarWhereInput | Prisma.AgentTemplateItemScalarWhereInput[]
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export type AgentTemplateItemUncheckedUpdateManyWithoutTemplateNestedInput = {
|
|
394
|
+
create?: Prisma.XOR<Prisma.AgentTemplateItemCreateWithoutTemplateInput, Prisma.AgentTemplateItemUncheckedCreateWithoutTemplateInput> | Prisma.AgentTemplateItemCreateWithoutTemplateInput[] | Prisma.AgentTemplateItemUncheckedCreateWithoutTemplateInput[]
|
|
395
|
+
connectOrCreate?: Prisma.AgentTemplateItemCreateOrConnectWithoutTemplateInput | Prisma.AgentTemplateItemCreateOrConnectWithoutTemplateInput[]
|
|
396
|
+
upsert?: Prisma.AgentTemplateItemUpsertWithWhereUniqueWithoutTemplateInput | Prisma.AgentTemplateItemUpsertWithWhereUniqueWithoutTemplateInput[]
|
|
397
|
+
createMany?: Prisma.AgentTemplateItemCreateManyTemplateInputEnvelope
|
|
398
|
+
set?: Prisma.AgentTemplateItemWhereUniqueInput | Prisma.AgentTemplateItemWhereUniqueInput[]
|
|
399
|
+
disconnect?: Prisma.AgentTemplateItemWhereUniqueInput | Prisma.AgentTemplateItemWhereUniqueInput[]
|
|
400
|
+
delete?: Prisma.AgentTemplateItemWhereUniqueInput | Prisma.AgentTemplateItemWhereUniqueInput[]
|
|
401
|
+
connect?: Prisma.AgentTemplateItemWhereUniqueInput | Prisma.AgentTemplateItemWhereUniqueInput[]
|
|
402
|
+
update?: Prisma.AgentTemplateItemUpdateWithWhereUniqueWithoutTemplateInput | Prisma.AgentTemplateItemUpdateWithWhereUniqueWithoutTemplateInput[]
|
|
403
|
+
updateMany?: Prisma.AgentTemplateItemUpdateManyWithWhereWithoutTemplateInput | Prisma.AgentTemplateItemUpdateManyWithWhereWithoutTemplateInput[]
|
|
404
|
+
deleteMany?: Prisma.AgentTemplateItemScalarWhereInput | Prisma.AgentTemplateItemScalarWhereInput[]
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export type AgentTemplateItemCreateWithoutTemplateInput = {
|
|
408
|
+
id?: string
|
|
409
|
+
kind: string
|
|
410
|
+
key: string
|
|
411
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
412
|
+
createdAt?: Date | string
|
|
413
|
+
updatedAt?: Date | string
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export type AgentTemplateItemUncheckedCreateWithoutTemplateInput = {
|
|
417
|
+
id?: string
|
|
418
|
+
kind: string
|
|
419
|
+
key: string
|
|
420
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
421
|
+
createdAt?: Date | string
|
|
422
|
+
updatedAt?: Date | string
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export type AgentTemplateItemCreateOrConnectWithoutTemplateInput = {
|
|
426
|
+
where: Prisma.AgentTemplateItemWhereUniqueInput
|
|
427
|
+
create: Prisma.XOR<Prisma.AgentTemplateItemCreateWithoutTemplateInput, Prisma.AgentTemplateItemUncheckedCreateWithoutTemplateInput>
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export type AgentTemplateItemCreateManyTemplateInputEnvelope = {
|
|
431
|
+
data: Prisma.AgentTemplateItemCreateManyTemplateInput | Prisma.AgentTemplateItemCreateManyTemplateInput[]
|
|
432
|
+
skipDuplicates?: boolean
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export type AgentTemplateItemUpsertWithWhereUniqueWithoutTemplateInput = {
|
|
436
|
+
where: Prisma.AgentTemplateItemWhereUniqueInput
|
|
437
|
+
update: Prisma.XOR<Prisma.AgentTemplateItemUpdateWithoutTemplateInput, Prisma.AgentTemplateItemUncheckedUpdateWithoutTemplateInput>
|
|
438
|
+
create: Prisma.XOR<Prisma.AgentTemplateItemCreateWithoutTemplateInput, Prisma.AgentTemplateItemUncheckedCreateWithoutTemplateInput>
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export type AgentTemplateItemUpdateWithWhereUniqueWithoutTemplateInput = {
|
|
442
|
+
where: Prisma.AgentTemplateItemWhereUniqueInput
|
|
443
|
+
data: Prisma.XOR<Prisma.AgentTemplateItemUpdateWithoutTemplateInput, Prisma.AgentTemplateItemUncheckedUpdateWithoutTemplateInput>
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export type AgentTemplateItemUpdateManyWithWhereWithoutTemplateInput = {
|
|
447
|
+
where: Prisma.AgentTemplateItemScalarWhereInput
|
|
448
|
+
data: Prisma.XOR<Prisma.AgentTemplateItemUpdateManyMutationInput, Prisma.AgentTemplateItemUncheckedUpdateManyWithoutTemplateInput>
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export type AgentTemplateItemScalarWhereInput = {
|
|
452
|
+
AND?: Prisma.AgentTemplateItemScalarWhereInput | Prisma.AgentTemplateItemScalarWhereInput[]
|
|
453
|
+
OR?: Prisma.AgentTemplateItemScalarWhereInput[]
|
|
454
|
+
NOT?: Prisma.AgentTemplateItemScalarWhereInput | Prisma.AgentTemplateItemScalarWhereInput[]
|
|
455
|
+
id?: Prisma.StringFilter<"AgentTemplateItem"> | string
|
|
456
|
+
templateId?: Prisma.StringFilter<"AgentTemplateItem"> | string
|
|
457
|
+
kind?: Prisma.StringFilter<"AgentTemplateItem"> | string
|
|
458
|
+
key?: Prisma.StringFilter<"AgentTemplateItem"> | string
|
|
459
|
+
payload?: Prisma.JsonFilter<"AgentTemplateItem">
|
|
460
|
+
createdAt?: Prisma.DateTimeFilter<"AgentTemplateItem"> | Date | string
|
|
461
|
+
updatedAt?: Prisma.DateTimeFilter<"AgentTemplateItem"> | Date | string
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
export type AgentTemplateItemCreateManyTemplateInput = {
|
|
465
|
+
id?: string
|
|
466
|
+
kind: string
|
|
467
|
+
key: string
|
|
468
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
469
|
+
createdAt?: Date | string
|
|
470
|
+
updatedAt?: Date | string
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
export type AgentTemplateItemUpdateWithoutTemplateInput = {
|
|
474
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
475
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
476
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
477
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
478
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
479
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export type AgentTemplateItemUncheckedUpdateWithoutTemplateInput = {
|
|
483
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
484
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
485
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
486
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
487
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
488
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
export type AgentTemplateItemUncheckedUpdateManyWithoutTemplateInput = {
|
|
492
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
493
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
494
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string
|
|
495
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
496
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
497
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
export type AgentTemplateItemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
503
|
+
id?: boolean
|
|
504
|
+
templateId?: boolean
|
|
505
|
+
kind?: boolean
|
|
506
|
+
key?: boolean
|
|
507
|
+
payload?: boolean
|
|
508
|
+
createdAt?: boolean
|
|
509
|
+
updatedAt?: boolean
|
|
510
|
+
template?: boolean | Prisma.AgentTemplateDefaultArgs<ExtArgs>
|
|
511
|
+
}, ExtArgs["result"]["agentTemplateItem"]>
|
|
512
|
+
|
|
513
|
+
export type AgentTemplateItemSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
514
|
+
id?: boolean
|
|
515
|
+
templateId?: boolean
|
|
516
|
+
kind?: boolean
|
|
517
|
+
key?: boolean
|
|
518
|
+
payload?: boolean
|
|
519
|
+
createdAt?: boolean
|
|
520
|
+
updatedAt?: boolean
|
|
521
|
+
template?: boolean | Prisma.AgentTemplateDefaultArgs<ExtArgs>
|
|
522
|
+
}, ExtArgs["result"]["agentTemplateItem"]>
|
|
523
|
+
|
|
524
|
+
export type AgentTemplateItemSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
525
|
+
id?: boolean
|
|
526
|
+
templateId?: boolean
|
|
527
|
+
kind?: boolean
|
|
528
|
+
key?: boolean
|
|
529
|
+
payload?: boolean
|
|
530
|
+
createdAt?: boolean
|
|
531
|
+
updatedAt?: boolean
|
|
532
|
+
template?: boolean | Prisma.AgentTemplateDefaultArgs<ExtArgs>
|
|
533
|
+
}, ExtArgs["result"]["agentTemplateItem"]>
|
|
534
|
+
|
|
535
|
+
export type AgentTemplateItemSelectScalar = {
|
|
536
|
+
id?: boolean
|
|
537
|
+
templateId?: boolean
|
|
538
|
+
kind?: boolean
|
|
539
|
+
key?: boolean
|
|
540
|
+
payload?: boolean
|
|
541
|
+
createdAt?: boolean
|
|
542
|
+
updatedAt?: boolean
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export type AgentTemplateItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "templateId" | "kind" | "key" | "payload" | "createdAt" | "updatedAt", ExtArgs["result"]["agentTemplateItem"]>
|
|
546
|
+
export type AgentTemplateItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
547
|
+
template?: boolean | Prisma.AgentTemplateDefaultArgs<ExtArgs>
|
|
548
|
+
}
|
|
549
|
+
export type AgentTemplateItemIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
550
|
+
template?: boolean | Prisma.AgentTemplateDefaultArgs<ExtArgs>
|
|
551
|
+
}
|
|
552
|
+
export type AgentTemplateItemIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
553
|
+
template?: boolean | Prisma.AgentTemplateDefaultArgs<ExtArgs>
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export type $AgentTemplateItemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
557
|
+
name: "AgentTemplateItem"
|
|
558
|
+
objects: {
|
|
559
|
+
template: Prisma.$AgentTemplatePayload<ExtArgs>
|
|
560
|
+
}
|
|
561
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
562
|
+
id: string
|
|
563
|
+
templateId: string
|
|
564
|
+
kind: string
|
|
565
|
+
key: string
|
|
566
|
+
payload: runtime.JsonValue
|
|
567
|
+
createdAt: Date
|
|
568
|
+
updatedAt: Date
|
|
569
|
+
}, ExtArgs["result"]["agentTemplateItem"]>
|
|
570
|
+
composites: {}
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
export type AgentTemplateItemGetPayload<S extends boolean | null | undefined | AgentTemplateItemDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload, S>
|
|
574
|
+
|
|
575
|
+
export type AgentTemplateItemCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
576
|
+
Omit<AgentTemplateItemFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
577
|
+
select?: AgentTemplateItemCountAggregateInputType | true
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export interface AgentTemplateItemDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
581
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AgentTemplateItem'], meta: { name: 'AgentTemplateItem' } }
|
|
582
|
+
/**
|
|
583
|
+
* Find zero or one AgentTemplateItem that matches the filter.
|
|
584
|
+
* @param {AgentTemplateItemFindUniqueArgs} args - Arguments to find a AgentTemplateItem
|
|
585
|
+
* @example
|
|
586
|
+
* // Get one AgentTemplateItem
|
|
587
|
+
* const agentTemplateItem = await prisma.agentTemplateItem.findUnique({
|
|
588
|
+
* where: {
|
|
589
|
+
* // ... provide filter here
|
|
590
|
+
* }
|
|
591
|
+
* })
|
|
592
|
+
*/
|
|
593
|
+
findUnique<T extends AgentTemplateItemFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentTemplateItemFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentTemplateItemClient<runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Find one AgentTemplateItem that matches the filter or throw an error with `error.code='P2025'`
|
|
597
|
+
* if no matches were found.
|
|
598
|
+
* @param {AgentTemplateItemFindUniqueOrThrowArgs} args - Arguments to find a AgentTemplateItem
|
|
599
|
+
* @example
|
|
600
|
+
* // Get one AgentTemplateItem
|
|
601
|
+
* const agentTemplateItem = await prisma.agentTemplateItem.findUniqueOrThrow({
|
|
602
|
+
* where: {
|
|
603
|
+
* // ... provide filter here
|
|
604
|
+
* }
|
|
605
|
+
* })
|
|
606
|
+
*/
|
|
607
|
+
findUniqueOrThrow<T extends AgentTemplateItemFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentTemplateItemFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentTemplateItemClient<runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Find the first AgentTemplateItem that matches the filter.
|
|
611
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
612
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
613
|
+
* @param {AgentTemplateItemFindFirstArgs} args - Arguments to find a AgentTemplateItem
|
|
614
|
+
* @example
|
|
615
|
+
* // Get one AgentTemplateItem
|
|
616
|
+
* const agentTemplateItem = await prisma.agentTemplateItem.findFirst({
|
|
617
|
+
* where: {
|
|
618
|
+
* // ... provide filter here
|
|
619
|
+
* }
|
|
620
|
+
* })
|
|
621
|
+
*/
|
|
622
|
+
findFirst<T extends AgentTemplateItemFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentTemplateItemFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentTemplateItemClient<runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Find the first AgentTemplateItem that matches the filter or
|
|
626
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
627
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
628
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
629
|
+
* @param {AgentTemplateItemFindFirstOrThrowArgs} args - Arguments to find a AgentTemplateItem
|
|
630
|
+
* @example
|
|
631
|
+
* // Get one AgentTemplateItem
|
|
632
|
+
* const agentTemplateItem = await prisma.agentTemplateItem.findFirstOrThrow({
|
|
633
|
+
* where: {
|
|
634
|
+
* // ... provide filter here
|
|
635
|
+
* }
|
|
636
|
+
* })
|
|
637
|
+
*/
|
|
638
|
+
findFirstOrThrow<T extends AgentTemplateItemFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentTemplateItemFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentTemplateItemClient<runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Find zero or more AgentTemplateItems that matches the filter.
|
|
642
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
643
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
644
|
+
* @param {AgentTemplateItemFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
645
|
+
* @example
|
|
646
|
+
* // Get all AgentTemplateItems
|
|
647
|
+
* const agentTemplateItems = await prisma.agentTemplateItem.findMany()
|
|
648
|
+
*
|
|
649
|
+
* // Get first 10 AgentTemplateItems
|
|
650
|
+
* const agentTemplateItems = await prisma.agentTemplateItem.findMany({ take: 10 })
|
|
651
|
+
*
|
|
652
|
+
* // Only select the `id`
|
|
653
|
+
* const agentTemplateItemWithIdOnly = await prisma.agentTemplateItem.findMany({ select: { id: true } })
|
|
654
|
+
*
|
|
655
|
+
*/
|
|
656
|
+
findMany<T extends AgentTemplateItemFindManyArgs>(args?: Prisma.SelectSubset<T, AgentTemplateItemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Create a AgentTemplateItem.
|
|
660
|
+
* @param {AgentTemplateItemCreateArgs} args - Arguments to create a AgentTemplateItem.
|
|
661
|
+
* @example
|
|
662
|
+
* // Create one AgentTemplateItem
|
|
663
|
+
* const AgentTemplateItem = await prisma.agentTemplateItem.create({
|
|
664
|
+
* data: {
|
|
665
|
+
* // ... data to create a AgentTemplateItem
|
|
666
|
+
* }
|
|
667
|
+
* })
|
|
668
|
+
*
|
|
669
|
+
*/
|
|
670
|
+
create<T extends AgentTemplateItemCreateArgs>(args: Prisma.SelectSubset<T, AgentTemplateItemCreateArgs<ExtArgs>>): Prisma.Prisma__AgentTemplateItemClient<runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Create many AgentTemplateItems.
|
|
674
|
+
* @param {AgentTemplateItemCreateManyArgs} args - Arguments to create many AgentTemplateItems.
|
|
675
|
+
* @example
|
|
676
|
+
* // Create many AgentTemplateItems
|
|
677
|
+
* const agentTemplateItem = await prisma.agentTemplateItem.createMany({
|
|
678
|
+
* data: [
|
|
679
|
+
* // ... provide data here
|
|
680
|
+
* ]
|
|
681
|
+
* })
|
|
682
|
+
*
|
|
683
|
+
*/
|
|
684
|
+
createMany<T extends AgentTemplateItemCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentTemplateItemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Create many AgentTemplateItems and returns the data saved in the database.
|
|
688
|
+
* @param {AgentTemplateItemCreateManyAndReturnArgs} args - Arguments to create many AgentTemplateItems.
|
|
689
|
+
* @example
|
|
690
|
+
* // Create many AgentTemplateItems
|
|
691
|
+
* const agentTemplateItem = await prisma.agentTemplateItem.createManyAndReturn({
|
|
692
|
+
* data: [
|
|
693
|
+
* // ... provide data here
|
|
694
|
+
* ]
|
|
695
|
+
* })
|
|
696
|
+
*
|
|
697
|
+
* // Create many AgentTemplateItems and only return the `id`
|
|
698
|
+
* const agentTemplateItemWithIdOnly = await prisma.agentTemplateItem.createManyAndReturn({
|
|
699
|
+
* select: { id: true },
|
|
700
|
+
* data: [
|
|
701
|
+
* // ... provide data here
|
|
702
|
+
* ]
|
|
703
|
+
* })
|
|
704
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
705
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
706
|
+
*
|
|
707
|
+
*/
|
|
708
|
+
createManyAndReturn<T extends AgentTemplateItemCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentTemplateItemCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Delete a AgentTemplateItem.
|
|
712
|
+
* @param {AgentTemplateItemDeleteArgs} args - Arguments to delete one AgentTemplateItem.
|
|
713
|
+
* @example
|
|
714
|
+
* // Delete one AgentTemplateItem
|
|
715
|
+
* const AgentTemplateItem = await prisma.agentTemplateItem.delete({
|
|
716
|
+
* where: {
|
|
717
|
+
* // ... filter to delete one AgentTemplateItem
|
|
718
|
+
* }
|
|
719
|
+
* })
|
|
720
|
+
*
|
|
721
|
+
*/
|
|
722
|
+
delete<T extends AgentTemplateItemDeleteArgs>(args: Prisma.SelectSubset<T, AgentTemplateItemDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentTemplateItemClient<runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* Update one AgentTemplateItem.
|
|
726
|
+
* @param {AgentTemplateItemUpdateArgs} args - Arguments to update one AgentTemplateItem.
|
|
727
|
+
* @example
|
|
728
|
+
* // Update one AgentTemplateItem
|
|
729
|
+
* const agentTemplateItem = await prisma.agentTemplateItem.update({
|
|
730
|
+
* where: {
|
|
731
|
+
* // ... provide filter here
|
|
732
|
+
* },
|
|
733
|
+
* data: {
|
|
734
|
+
* // ... provide data here
|
|
735
|
+
* }
|
|
736
|
+
* })
|
|
737
|
+
*
|
|
738
|
+
*/
|
|
739
|
+
update<T extends AgentTemplateItemUpdateArgs>(args: Prisma.SelectSubset<T, AgentTemplateItemUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentTemplateItemClient<runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* Delete zero or more AgentTemplateItems.
|
|
743
|
+
* @param {AgentTemplateItemDeleteManyArgs} args - Arguments to filter AgentTemplateItems to delete.
|
|
744
|
+
* @example
|
|
745
|
+
* // Delete a few AgentTemplateItems
|
|
746
|
+
* const { count } = await prisma.agentTemplateItem.deleteMany({
|
|
747
|
+
* where: {
|
|
748
|
+
* // ... provide filter here
|
|
749
|
+
* }
|
|
750
|
+
* })
|
|
751
|
+
*
|
|
752
|
+
*/
|
|
753
|
+
deleteMany<T extends AgentTemplateItemDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentTemplateItemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Update zero or more AgentTemplateItems.
|
|
757
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
758
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
759
|
+
* @param {AgentTemplateItemUpdateManyArgs} args - Arguments to update one or more rows.
|
|
760
|
+
* @example
|
|
761
|
+
* // Update many AgentTemplateItems
|
|
762
|
+
* const agentTemplateItem = await prisma.agentTemplateItem.updateMany({
|
|
763
|
+
* where: {
|
|
764
|
+
* // ... provide filter here
|
|
765
|
+
* },
|
|
766
|
+
* data: {
|
|
767
|
+
* // ... provide data here
|
|
768
|
+
* }
|
|
769
|
+
* })
|
|
770
|
+
*
|
|
771
|
+
*/
|
|
772
|
+
updateMany<T extends AgentTemplateItemUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentTemplateItemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* Update zero or more AgentTemplateItems and returns the data updated in the database.
|
|
776
|
+
* @param {AgentTemplateItemUpdateManyAndReturnArgs} args - Arguments to update many AgentTemplateItems.
|
|
777
|
+
* @example
|
|
778
|
+
* // Update many AgentTemplateItems
|
|
779
|
+
* const agentTemplateItem = await prisma.agentTemplateItem.updateManyAndReturn({
|
|
780
|
+
* where: {
|
|
781
|
+
* // ... provide filter here
|
|
782
|
+
* },
|
|
783
|
+
* data: [
|
|
784
|
+
* // ... provide data here
|
|
785
|
+
* ]
|
|
786
|
+
* })
|
|
787
|
+
*
|
|
788
|
+
* // Update zero or more AgentTemplateItems and only return the `id`
|
|
789
|
+
* const agentTemplateItemWithIdOnly = await prisma.agentTemplateItem.updateManyAndReturn({
|
|
790
|
+
* select: { id: true },
|
|
791
|
+
* where: {
|
|
792
|
+
* // ... provide filter here
|
|
793
|
+
* },
|
|
794
|
+
* data: [
|
|
795
|
+
* // ... provide data here
|
|
796
|
+
* ]
|
|
797
|
+
* })
|
|
798
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
799
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
800
|
+
*
|
|
801
|
+
*/
|
|
802
|
+
updateManyAndReturn<T extends AgentTemplateItemUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentTemplateItemUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Create or update one AgentTemplateItem.
|
|
806
|
+
* @param {AgentTemplateItemUpsertArgs} args - Arguments to update or create a AgentTemplateItem.
|
|
807
|
+
* @example
|
|
808
|
+
* // Update or create a AgentTemplateItem
|
|
809
|
+
* const agentTemplateItem = await prisma.agentTemplateItem.upsert({
|
|
810
|
+
* create: {
|
|
811
|
+
* // ... data to create a AgentTemplateItem
|
|
812
|
+
* },
|
|
813
|
+
* update: {
|
|
814
|
+
* // ... in case it already exists, update
|
|
815
|
+
* },
|
|
816
|
+
* where: {
|
|
817
|
+
* // ... the filter for the AgentTemplateItem we want to update
|
|
818
|
+
* }
|
|
819
|
+
* })
|
|
820
|
+
*/
|
|
821
|
+
upsert<T extends AgentTemplateItemUpsertArgs>(args: Prisma.SelectSubset<T, AgentTemplateItemUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentTemplateItemClient<runtime.Types.Result.GetResult<Prisma.$AgentTemplateItemPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Count the number of AgentTemplateItems.
|
|
826
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
827
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
828
|
+
* @param {AgentTemplateItemCountArgs} args - Arguments to filter AgentTemplateItems to count.
|
|
829
|
+
* @example
|
|
830
|
+
* // Count the number of AgentTemplateItems
|
|
831
|
+
* const count = await prisma.agentTemplateItem.count({
|
|
832
|
+
* where: {
|
|
833
|
+
* // ... the filter for the AgentTemplateItems we want to count
|
|
834
|
+
* }
|
|
835
|
+
* })
|
|
836
|
+
**/
|
|
837
|
+
count<T extends AgentTemplateItemCountArgs>(
|
|
838
|
+
args?: Prisma.Subset<T, AgentTemplateItemCountArgs>,
|
|
839
|
+
): Prisma.PrismaPromise<
|
|
840
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
841
|
+
? T['select'] extends true
|
|
842
|
+
? number
|
|
843
|
+
: Prisma.GetScalarType<T['select'], AgentTemplateItemCountAggregateOutputType>
|
|
844
|
+
: number
|
|
845
|
+
>
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* Allows you to perform aggregations operations on a AgentTemplateItem.
|
|
849
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
850
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
851
|
+
* @param {AgentTemplateItemAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
852
|
+
* @example
|
|
853
|
+
* // Ordered by age ascending
|
|
854
|
+
* // Where email contains prisma.io
|
|
855
|
+
* // Limited to the 10 users
|
|
856
|
+
* const aggregations = await prisma.user.aggregate({
|
|
857
|
+
* _avg: {
|
|
858
|
+
* age: true,
|
|
859
|
+
* },
|
|
860
|
+
* where: {
|
|
861
|
+
* email: {
|
|
862
|
+
* contains: "prisma.io",
|
|
863
|
+
* },
|
|
864
|
+
* },
|
|
865
|
+
* orderBy: {
|
|
866
|
+
* age: "asc",
|
|
867
|
+
* },
|
|
868
|
+
* take: 10,
|
|
869
|
+
* })
|
|
870
|
+
**/
|
|
871
|
+
aggregate<T extends AgentTemplateItemAggregateArgs>(args: Prisma.Subset<T, AgentTemplateItemAggregateArgs>): Prisma.PrismaPromise<GetAgentTemplateItemAggregateType<T>>
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Group by AgentTemplateItem.
|
|
875
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
876
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
877
|
+
* @param {AgentTemplateItemGroupByArgs} args - Group by arguments.
|
|
878
|
+
* @example
|
|
879
|
+
* // Group by city, order by createdAt, get count
|
|
880
|
+
* const result = await prisma.user.groupBy({
|
|
881
|
+
* by: ['city', 'createdAt'],
|
|
882
|
+
* orderBy: {
|
|
883
|
+
* createdAt: true
|
|
884
|
+
* },
|
|
885
|
+
* _count: {
|
|
886
|
+
* _all: true
|
|
887
|
+
* },
|
|
888
|
+
* })
|
|
889
|
+
*
|
|
890
|
+
**/
|
|
891
|
+
groupBy<
|
|
892
|
+
T extends AgentTemplateItemGroupByArgs,
|
|
893
|
+
HasSelectOrTake extends Prisma.Or<
|
|
894
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
895
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
896
|
+
>,
|
|
897
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
898
|
+
? { orderBy: AgentTemplateItemGroupByArgs['orderBy'] }
|
|
899
|
+
: { orderBy?: AgentTemplateItemGroupByArgs['orderBy'] },
|
|
900
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
901
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
902
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
903
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
904
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
905
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
906
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
907
|
+
? `Error: "by" must not be empty.`
|
|
908
|
+
: HavingValid extends Prisma.False
|
|
909
|
+
? {
|
|
910
|
+
[P in HavingFields]: P extends ByFields
|
|
911
|
+
? never
|
|
912
|
+
: P extends string
|
|
913
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
914
|
+
: [
|
|
915
|
+
Error,
|
|
916
|
+
'Field ',
|
|
917
|
+
P,
|
|
918
|
+
` in "having" needs to be provided in "by"`,
|
|
919
|
+
]
|
|
920
|
+
}[HavingFields]
|
|
921
|
+
: 'take' extends Prisma.Keys<T>
|
|
922
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
923
|
+
? ByValid extends Prisma.True
|
|
924
|
+
? {}
|
|
925
|
+
: {
|
|
926
|
+
[P in OrderFields]: P extends ByFields
|
|
927
|
+
? never
|
|
928
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
929
|
+
}[OrderFields]
|
|
930
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
931
|
+
: 'skip' extends Prisma.Keys<T>
|
|
932
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
933
|
+
? ByValid extends Prisma.True
|
|
934
|
+
? {}
|
|
935
|
+
: {
|
|
936
|
+
[P in OrderFields]: P extends ByFields
|
|
937
|
+
? never
|
|
938
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
939
|
+
}[OrderFields]
|
|
940
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
941
|
+
: ByValid extends Prisma.True
|
|
942
|
+
? {}
|
|
943
|
+
: {
|
|
944
|
+
[P in OrderFields]: P extends ByFields
|
|
945
|
+
? never
|
|
946
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
947
|
+
}[OrderFields]
|
|
948
|
+
>(args: Prisma.SubsetIntersection<T, AgentTemplateItemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentTemplateItemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
949
|
+
/**
|
|
950
|
+
* Fields of the AgentTemplateItem model
|
|
951
|
+
*/
|
|
952
|
+
readonly fields: AgentTemplateItemFieldRefs;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* The delegate class that acts as a "Promise-like" for AgentTemplateItem.
|
|
957
|
+
* Why is this prefixed with `Prisma__`?
|
|
958
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
959
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
960
|
+
*/
|
|
961
|
+
export interface Prisma__AgentTemplateItemClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
962
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
963
|
+
template<T extends Prisma.AgentTemplateDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentTemplateDefaultArgs<ExtArgs>>): Prisma.Prisma__AgentTemplateClient<runtime.Types.Result.GetResult<Prisma.$AgentTemplatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
964
|
+
/**
|
|
965
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
966
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
967
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
968
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
969
|
+
*/
|
|
970
|
+
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>
|
|
971
|
+
/**
|
|
972
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
973
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
974
|
+
* @returns A Promise for the completion of the callback.
|
|
975
|
+
*/
|
|
976
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
977
|
+
/**
|
|
978
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
979
|
+
* resolved value cannot be modified from the callback.
|
|
980
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
981
|
+
* @returns A Promise for the completion of the callback.
|
|
982
|
+
*/
|
|
983
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Fields of the AgentTemplateItem model
|
|
991
|
+
*/
|
|
992
|
+
export interface AgentTemplateItemFieldRefs {
|
|
993
|
+
readonly id: Prisma.FieldRef<"AgentTemplateItem", 'String'>
|
|
994
|
+
readonly templateId: Prisma.FieldRef<"AgentTemplateItem", 'String'>
|
|
995
|
+
readonly kind: Prisma.FieldRef<"AgentTemplateItem", 'String'>
|
|
996
|
+
readonly key: Prisma.FieldRef<"AgentTemplateItem", 'String'>
|
|
997
|
+
readonly payload: Prisma.FieldRef<"AgentTemplateItem", 'Json'>
|
|
998
|
+
readonly createdAt: Prisma.FieldRef<"AgentTemplateItem", 'DateTime'>
|
|
999
|
+
readonly updatedAt: Prisma.FieldRef<"AgentTemplateItem", 'DateTime'>
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
// Custom InputTypes
|
|
1004
|
+
/**
|
|
1005
|
+
* AgentTemplateItem findUnique
|
|
1006
|
+
*/
|
|
1007
|
+
export type AgentTemplateItemFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1008
|
+
/**
|
|
1009
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1010
|
+
*/
|
|
1011
|
+
select?: Prisma.AgentTemplateItemSelect<ExtArgs> | null
|
|
1012
|
+
/**
|
|
1013
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1014
|
+
*/
|
|
1015
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1016
|
+
/**
|
|
1017
|
+
* Choose, which related nodes to fetch as well
|
|
1018
|
+
*/
|
|
1019
|
+
include?: Prisma.AgentTemplateItemInclude<ExtArgs> | null
|
|
1020
|
+
/**
|
|
1021
|
+
* Filter, which AgentTemplateItem to fetch.
|
|
1022
|
+
*/
|
|
1023
|
+
where: Prisma.AgentTemplateItemWhereUniqueInput
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* AgentTemplateItem findUniqueOrThrow
|
|
1028
|
+
*/
|
|
1029
|
+
export type AgentTemplateItemFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1030
|
+
/**
|
|
1031
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1032
|
+
*/
|
|
1033
|
+
select?: Prisma.AgentTemplateItemSelect<ExtArgs> | null
|
|
1034
|
+
/**
|
|
1035
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1036
|
+
*/
|
|
1037
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1038
|
+
/**
|
|
1039
|
+
* Choose, which related nodes to fetch as well
|
|
1040
|
+
*/
|
|
1041
|
+
include?: Prisma.AgentTemplateItemInclude<ExtArgs> | null
|
|
1042
|
+
/**
|
|
1043
|
+
* Filter, which AgentTemplateItem to fetch.
|
|
1044
|
+
*/
|
|
1045
|
+
where: Prisma.AgentTemplateItemWhereUniqueInput
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* AgentTemplateItem findFirst
|
|
1050
|
+
*/
|
|
1051
|
+
export type AgentTemplateItemFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1052
|
+
/**
|
|
1053
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1054
|
+
*/
|
|
1055
|
+
select?: Prisma.AgentTemplateItemSelect<ExtArgs> | null
|
|
1056
|
+
/**
|
|
1057
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1058
|
+
*/
|
|
1059
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1060
|
+
/**
|
|
1061
|
+
* Choose, which related nodes to fetch as well
|
|
1062
|
+
*/
|
|
1063
|
+
include?: Prisma.AgentTemplateItemInclude<ExtArgs> | null
|
|
1064
|
+
/**
|
|
1065
|
+
* Filter, which AgentTemplateItem to fetch.
|
|
1066
|
+
*/
|
|
1067
|
+
where?: Prisma.AgentTemplateItemWhereInput
|
|
1068
|
+
/**
|
|
1069
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1070
|
+
*
|
|
1071
|
+
* Determine the order of AgentTemplateItems to fetch.
|
|
1072
|
+
*/
|
|
1073
|
+
orderBy?: Prisma.AgentTemplateItemOrderByWithRelationInput | Prisma.AgentTemplateItemOrderByWithRelationInput[]
|
|
1074
|
+
/**
|
|
1075
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1076
|
+
*
|
|
1077
|
+
* Sets the position for searching for AgentTemplateItems.
|
|
1078
|
+
*/
|
|
1079
|
+
cursor?: Prisma.AgentTemplateItemWhereUniqueInput
|
|
1080
|
+
/**
|
|
1081
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1082
|
+
*
|
|
1083
|
+
* Take `±n` AgentTemplateItems from the position of the cursor.
|
|
1084
|
+
*/
|
|
1085
|
+
take?: number
|
|
1086
|
+
/**
|
|
1087
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1088
|
+
*
|
|
1089
|
+
* Skip the first `n` AgentTemplateItems.
|
|
1090
|
+
*/
|
|
1091
|
+
skip?: number
|
|
1092
|
+
/**
|
|
1093
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1094
|
+
*
|
|
1095
|
+
* Filter by unique combinations of AgentTemplateItems.
|
|
1096
|
+
*/
|
|
1097
|
+
distinct?: Prisma.AgentTemplateItemScalarFieldEnum | Prisma.AgentTemplateItemScalarFieldEnum[]
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* AgentTemplateItem findFirstOrThrow
|
|
1102
|
+
*/
|
|
1103
|
+
export type AgentTemplateItemFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1104
|
+
/**
|
|
1105
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1106
|
+
*/
|
|
1107
|
+
select?: Prisma.AgentTemplateItemSelect<ExtArgs> | null
|
|
1108
|
+
/**
|
|
1109
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1110
|
+
*/
|
|
1111
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1112
|
+
/**
|
|
1113
|
+
* Choose, which related nodes to fetch as well
|
|
1114
|
+
*/
|
|
1115
|
+
include?: Prisma.AgentTemplateItemInclude<ExtArgs> | null
|
|
1116
|
+
/**
|
|
1117
|
+
* Filter, which AgentTemplateItem to fetch.
|
|
1118
|
+
*/
|
|
1119
|
+
where?: Prisma.AgentTemplateItemWhereInput
|
|
1120
|
+
/**
|
|
1121
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1122
|
+
*
|
|
1123
|
+
* Determine the order of AgentTemplateItems to fetch.
|
|
1124
|
+
*/
|
|
1125
|
+
orderBy?: Prisma.AgentTemplateItemOrderByWithRelationInput | Prisma.AgentTemplateItemOrderByWithRelationInput[]
|
|
1126
|
+
/**
|
|
1127
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1128
|
+
*
|
|
1129
|
+
* Sets the position for searching for AgentTemplateItems.
|
|
1130
|
+
*/
|
|
1131
|
+
cursor?: Prisma.AgentTemplateItemWhereUniqueInput
|
|
1132
|
+
/**
|
|
1133
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1134
|
+
*
|
|
1135
|
+
* Take `±n` AgentTemplateItems from the position of the cursor.
|
|
1136
|
+
*/
|
|
1137
|
+
take?: number
|
|
1138
|
+
/**
|
|
1139
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1140
|
+
*
|
|
1141
|
+
* Skip the first `n` AgentTemplateItems.
|
|
1142
|
+
*/
|
|
1143
|
+
skip?: number
|
|
1144
|
+
/**
|
|
1145
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1146
|
+
*
|
|
1147
|
+
* Filter by unique combinations of AgentTemplateItems.
|
|
1148
|
+
*/
|
|
1149
|
+
distinct?: Prisma.AgentTemplateItemScalarFieldEnum | Prisma.AgentTemplateItemScalarFieldEnum[]
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
* AgentTemplateItem findMany
|
|
1154
|
+
*/
|
|
1155
|
+
export type AgentTemplateItemFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1156
|
+
/**
|
|
1157
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1158
|
+
*/
|
|
1159
|
+
select?: Prisma.AgentTemplateItemSelect<ExtArgs> | null
|
|
1160
|
+
/**
|
|
1161
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1162
|
+
*/
|
|
1163
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1164
|
+
/**
|
|
1165
|
+
* Choose, which related nodes to fetch as well
|
|
1166
|
+
*/
|
|
1167
|
+
include?: Prisma.AgentTemplateItemInclude<ExtArgs> | null
|
|
1168
|
+
/**
|
|
1169
|
+
* Filter, which AgentTemplateItems to fetch.
|
|
1170
|
+
*/
|
|
1171
|
+
where?: Prisma.AgentTemplateItemWhereInput
|
|
1172
|
+
/**
|
|
1173
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1174
|
+
*
|
|
1175
|
+
* Determine the order of AgentTemplateItems to fetch.
|
|
1176
|
+
*/
|
|
1177
|
+
orderBy?: Prisma.AgentTemplateItemOrderByWithRelationInput | Prisma.AgentTemplateItemOrderByWithRelationInput[]
|
|
1178
|
+
/**
|
|
1179
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1180
|
+
*
|
|
1181
|
+
* Sets the position for listing AgentTemplateItems.
|
|
1182
|
+
*/
|
|
1183
|
+
cursor?: Prisma.AgentTemplateItemWhereUniqueInput
|
|
1184
|
+
/**
|
|
1185
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1186
|
+
*
|
|
1187
|
+
* Take `±n` AgentTemplateItems from the position of the cursor.
|
|
1188
|
+
*/
|
|
1189
|
+
take?: number
|
|
1190
|
+
/**
|
|
1191
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1192
|
+
*
|
|
1193
|
+
* Skip the first `n` AgentTemplateItems.
|
|
1194
|
+
*/
|
|
1195
|
+
skip?: number
|
|
1196
|
+
/**
|
|
1197
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1198
|
+
*
|
|
1199
|
+
* Filter by unique combinations of AgentTemplateItems.
|
|
1200
|
+
*/
|
|
1201
|
+
distinct?: Prisma.AgentTemplateItemScalarFieldEnum | Prisma.AgentTemplateItemScalarFieldEnum[]
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* AgentTemplateItem create
|
|
1206
|
+
*/
|
|
1207
|
+
export type AgentTemplateItemCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1208
|
+
/**
|
|
1209
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1210
|
+
*/
|
|
1211
|
+
select?: Prisma.AgentTemplateItemSelect<ExtArgs> | null
|
|
1212
|
+
/**
|
|
1213
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1214
|
+
*/
|
|
1215
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1216
|
+
/**
|
|
1217
|
+
* Choose, which related nodes to fetch as well
|
|
1218
|
+
*/
|
|
1219
|
+
include?: Prisma.AgentTemplateItemInclude<ExtArgs> | null
|
|
1220
|
+
/**
|
|
1221
|
+
* The data needed to create a AgentTemplateItem.
|
|
1222
|
+
*/
|
|
1223
|
+
data: Prisma.XOR<Prisma.AgentTemplateItemCreateInput, Prisma.AgentTemplateItemUncheckedCreateInput>
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* AgentTemplateItem createMany
|
|
1228
|
+
*/
|
|
1229
|
+
export type AgentTemplateItemCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1230
|
+
/**
|
|
1231
|
+
* The data used to create many AgentTemplateItems.
|
|
1232
|
+
*/
|
|
1233
|
+
data: Prisma.AgentTemplateItemCreateManyInput | Prisma.AgentTemplateItemCreateManyInput[]
|
|
1234
|
+
skipDuplicates?: boolean
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* AgentTemplateItem createManyAndReturn
|
|
1239
|
+
*/
|
|
1240
|
+
export type AgentTemplateItemCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1241
|
+
/**
|
|
1242
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1243
|
+
*/
|
|
1244
|
+
select?: Prisma.AgentTemplateItemSelectCreateManyAndReturn<ExtArgs> | null
|
|
1245
|
+
/**
|
|
1246
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1247
|
+
*/
|
|
1248
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1249
|
+
/**
|
|
1250
|
+
* The data used to create many AgentTemplateItems.
|
|
1251
|
+
*/
|
|
1252
|
+
data: Prisma.AgentTemplateItemCreateManyInput | Prisma.AgentTemplateItemCreateManyInput[]
|
|
1253
|
+
skipDuplicates?: boolean
|
|
1254
|
+
/**
|
|
1255
|
+
* Choose, which related nodes to fetch as well
|
|
1256
|
+
*/
|
|
1257
|
+
include?: Prisma.AgentTemplateItemIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* AgentTemplateItem update
|
|
1262
|
+
*/
|
|
1263
|
+
export type AgentTemplateItemUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1264
|
+
/**
|
|
1265
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1266
|
+
*/
|
|
1267
|
+
select?: Prisma.AgentTemplateItemSelect<ExtArgs> | null
|
|
1268
|
+
/**
|
|
1269
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1270
|
+
*/
|
|
1271
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1272
|
+
/**
|
|
1273
|
+
* Choose, which related nodes to fetch as well
|
|
1274
|
+
*/
|
|
1275
|
+
include?: Prisma.AgentTemplateItemInclude<ExtArgs> | null
|
|
1276
|
+
/**
|
|
1277
|
+
* The data needed to update a AgentTemplateItem.
|
|
1278
|
+
*/
|
|
1279
|
+
data: Prisma.XOR<Prisma.AgentTemplateItemUpdateInput, Prisma.AgentTemplateItemUncheckedUpdateInput>
|
|
1280
|
+
/**
|
|
1281
|
+
* Choose, which AgentTemplateItem to update.
|
|
1282
|
+
*/
|
|
1283
|
+
where: Prisma.AgentTemplateItemWhereUniqueInput
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* AgentTemplateItem updateMany
|
|
1288
|
+
*/
|
|
1289
|
+
export type AgentTemplateItemUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1290
|
+
/**
|
|
1291
|
+
* The data used to update AgentTemplateItems.
|
|
1292
|
+
*/
|
|
1293
|
+
data: Prisma.XOR<Prisma.AgentTemplateItemUpdateManyMutationInput, Prisma.AgentTemplateItemUncheckedUpdateManyInput>
|
|
1294
|
+
/**
|
|
1295
|
+
* Filter which AgentTemplateItems to update
|
|
1296
|
+
*/
|
|
1297
|
+
where?: Prisma.AgentTemplateItemWhereInput
|
|
1298
|
+
/**
|
|
1299
|
+
* Limit how many AgentTemplateItems to update.
|
|
1300
|
+
*/
|
|
1301
|
+
limit?: number
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* AgentTemplateItem updateManyAndReturn
|
|
1306
|
+
*/
|
|
1307
|
+
export type AgentTemplateItemUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1308
|
+
/**
|
|
1309
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1310
|
+
*/
|
|
1311
|
+
select?: Prisma.AgentTemplateItemSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1312
|
+
/**
|
|
1313
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1314
|
+
*/
|
|
1315
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1316
|
+
/**
|
|
1317
|
+
* The data used to update AgentTemplateItems.
|
|
1318
|
+
*/
|
|
1319
|
+
data: Prisma.XOR<Prisma.AgentTemplateItemUpdateManyMutationInput, Prisma.AgentTemplateItemUncheckedUpdateManyInput>
|
|
1320
|
+
/**
|
|
1321
|
+
* Filter which AgentTemplateItems to update
|
|
1322
|
+
*/
|
|
1323
|
+
where?: Prisma.AgentTemplateItemWhereInput
|
|
1324
|
+
/**
|
|
1325
|
+
* Limit how many AgentTemplateItems to update.
|
|
1326
|
+
*/
|
|
1327
|
+
limit?: number
|
|
1328
|
+
/**
|
|
1329
|
+
* Choose, which related nodes to fetch as well
|
|
1330
|
+
*/
|
|
1331
|
+
include?: Prisma.AgentTemplateItemIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* AgentTemplateItem upsert
|
|
1336
|
+
*/
|
|
1337
|
+
export type AgentTemplateItemUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1338
|
+
/**
|
|
1339
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1340
|
+
*/
|
|
1341
|
+
select?: Prisma.AgentTemplateItemSelect<ExtArgs> | null
|
|
1342
|
+
/**
|
|
1343
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1344
|
+
*/
|
|
1345
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1346
|
+
/**
|
|
1347
|
+
* Choose, which related nodes to fetch as well
|
|
1348
|
+
*/
|
|
1349
|
+
include?: Prisma.AgentTemplateItemInclude<ExtArgs> | null
|
|
1350
|
+
/**
|
|
1351
|
+
* The filter to search for the AgentTemplateItem to update in case it exists.
|
|
1352
|
+
*/
|
|
1353
|
+
where: Prisma.AgentTemplateItemWhereUniqueInput
|
|
1354
|
+
/**
|
|
1355
|
+
* In case the AgentTemplateItem found by the `where` argument doesn't exist, create a new AgentTemplateItem with this data.
|
|
1356
|
+
*/
|
|
1357
|
+
create: Prisma.XOR<Prisma.AgentTemplateItemCreateInput, Prisma.AgentTemplateItemUncheckedCreateInput>
|
|
1358
|
+
/**
|
|
1359
|
+
* In case the AgentTemplateItem was found with the provided `where` argument, update it with this data.
|
|
1360
|
+
*/
|
|
1361
|
+
update: Prisma.XOR<Prisma.AgentTemplateItemUpdateInput, Prisma.AgentTemplateItemUncheckedUpdateInput>
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* AgentTemplateItem delete
|
|
1366
|
+
*/
|
|
1367
|
+
export type AgentTemplateItemDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1368
|
+
/**
|
|
1369
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1370
|
+
*/
|
|
1371
|
+
select?: Prisma.AgentTemplateItemSelect<ExtArgs> | null
|
|
1372
|
+
/**
|
|
1373
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1374
|
+
*/
|
|
1375
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1376
|
+
/**
|
|
1377
|
+
* Choose, which related nodes to fetch as well
|
|
1378
|
+
*/
|
|
1379
|
+
include?: Prisma.AgentTemplateItemInclude<ExtArgs> | null
|
|
1380
|
+
/**
|
|
1381
|
+
* Filter which AgentTemplateItem to delete.
|
|
1382
|
+
*/
|
|
1383
|
+
where: Prisma.AgentTemplateItemWhereUniqueInput
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* AgentTemplateItem deleteMany
|
|
1388
|
+
*/
|
|
1389
|
+
export type AgentTemplateItemDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1390
|
+
/**
|
|
1391
|
+
* Filter which AgentTemplateItems to delete
|
|
1392
|
+
*/
|
|
1393
|
+
where?: Prisma.AgentTemplateItemWhereInput
|
|
1394
|
+
/**
|
|
1395
|
+
* Limit how many AgentTemplateItems to delete.
|
|
1396
|
+
*/
|
|
1397
|
+
limit?: number
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* AgentTemplateItem without action
|
|
1402
|
+
*/
|
|
1403
|
+
export type AgentTemplateItemDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1404
|
+
/**
|
|
1405
|
+
* Select specific fields to fetch from the AgentTemplateItem
|
|
1406
|
+
*/
|
|
1407
|
+
select?: Prisma.AgentTemplateItemSelect<ExtArgs> | null
|
|
1408
|
+
/**
|
|
1409
|
+
* Omit specific fields from the AgentTemplateItem
|
|
1410
|
+
*/
|
|
1411
|
+
omit?: Prisma.AgentTemplateItemOmit<ExtArgs> | null
|
|
1412
|
+
/**
|
|
1413
|
+
* Choose, which related nodes to fetch as well
|
|
1414
|
+
*/
|
|
1415
|
+
include?: Prisma.AgentTemplateItemInclude<ExtArgs> | null
|
|
1416
|
+
}
|