@app-vitals/agent-admin 0.2.1 → 0.4.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/openapi.json +291 -0
- package/openapi.platform.json +392 -0
- package/package.json +2 -2
- package/prisma/client/browser.ts +15 -0
- package/prisma/client/client.ts +15 -0
- package/prisma/client/internal/class.ts +34 -4
- package/prisma/client/internal/prismaNamespace.ts +273 -1
- package/prisma/client/internal/prismaNamespaceBrowser.ts +47 -0
- package/prisma/client/models/AgentCronJob.ts +107 -1
- package/prisma/client/models/AgentCronRunRequest.ts +1233 -0
- package/prisma/client/models/AgentCronRunTranscript.ts +1339 -0
- package/prisma/client/models/AgentTranscriptRead.ts +1177 -0
- package/prisma/client/models.ts +3 -0
- package/prisma/migrations/20261027000000_add_cron_run_transcripts/migration.sql +37 -0
- package/prisma/migrations/20261028000000_add_cron_run_now/migration.sql +24 -0
- package/prisma/schema/schema.prisma +58 -0
- package/src/admin-boot.ts +18 -0
- package/src/admin-ui.fixtures.ts +2 -0
- package/src/admin-ui.smoke.test.ts +2 -0
- package/src/agent-cron-jobs.unit.test.ts +4 -0
- package/src/agent-cron-run-stats.smoke.test.ts +10 -0
- package/src/agent-cron-runs.integration.test.ts +93 -0
- package/src/agent-cron-runs.ts +47 -15
- package/src/agents-api.smoke.test.ts +18 -0
- package/src/agents-api.ts +30 -0
- package/src/api-auth.ts +1 -0
- package/src/api.smoke.test.ts +39 -0
- package/src/api.ts +15 -0
- package/src/chat.smoke.test.ts +2 -0
- package/src/cron-run-now-config.ts +20 -0
- package/src/cron-run-now-config.unit.test.ts +26 -0
- package/src/cron-run-now.smoke.test.ts +218 -0
- package/src/cron-run-now.ts +207 -0
- package/src/cron-run-transcripts.integration.test.ts +220 -0
- package/src/cron-run-transcripts.smoke.test.ts +286 -0
- package/src/cron-run-transcripts.ts +314 -0
- package/src/errors.ts +7 -0
- package/src/openapi-schemas.ts +78 -0
- package/src/openapi-schemas.unit.test.ts +4 -0
- package/src/transcript-config.ts +19 -0
- package/src/transcript-config.unit.test.ts +32 -0
|
@@ -0,0 +1,1233 @@
|
|
|
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 `AgentCronRunRequest` 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 AgentCronRunRequest
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AgentCronRunRequestModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentCronRunRequestPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAgentCronRunRequest = {
|
|
22
|
+
_count: AgentCronRunRequestCountAggregateOutputType | null
|
|
23
|
+
_min: AgentCronRunRequestMinAggregateOutputType | null
|
|
24
|
+
_max: AgentCronRunRequestMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type AgentCronRunRequestMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
cronId: string | null
|
|
30
|
+
agentId: string | null
|
|
31
|
+
requestedBy: string | null
|
|
32
|
+
requestedAt: Date | null
|
|
33
|
+
status: string | null
|
|
34
|
+
honouredRunId: string | null
|
|
35
|
+
createdAt: Date | null
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type AgentCronRunRequestMaxAggregateOutputType = {
|
|
39
|
+
id: string | null
|
|
40
|
+
cronId: string | null
|
|
41
|
+
agentId: string | null
|
|
42
|
+
requestedBy: string | null
|
|
43
|
+
requestedAt: Date | null
|
|
44
|
+
status: string | null
|
|
45
|
+
honouredRunId: string | null
|
|
46
|
+
createdAt: Date | null
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type AgentCronRunRequestCountAggregateOutputType = {
|
|
50
|
+
id: number
|
|
51
|
+
cronId: number
|
|
52
|
+
agentId: number
|
|
53
|
+
requestedBy: number
|
|
54
|
+
requestedAt: number
|
|
55
|
+
status: number
|
|
56
|
+
honouredRunId: number
|
|
57
|
+
createdAt: number
|
|
58
|
+
_all: number
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
export type AgentCronRunRequestMinAggregateInputType = {
|
|
63
|
+
id?: true
|
|
64
|
+
cronId?: true
|
|
65
|
+
agentId?: true
|
|
66
|
+
requestedBy?: true
|
|
67
|
+
requestedAt?: true
|
|
68
|
+
status?: true
|
|
69
|
+
honouredRunId?: true
|
|
70
|
+
createdAt?: true
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export type AgentCronRunRequestMaxAggregateInputType = {
|
|
74
|
+
id?: true
|
|
75
|
+
cronId?: true
|
|
76
|
+
agentId?: true
|
|
77
|
+
requestedBy?: true
|
|
78
|
+
requestedAt?: true
|
|
79
|
+
status?: true
|
|
80
|
+
honouredRunId?: true
|
|
81
|
+
createdAt?: true
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type AgentCronRunRequestCountAggregateInputType = {
|
|
85
|
+
id?: true
|
|
86
|
+
cronId?: true
|
|
87
|
+
agentId?: true
|
|
88
|
+
requestedBy?: true
|
|
89
|
+
requestedAt?: true
|
|
90
|
+
status?: true
|
|
91
|
+
honouredRunId?: true
|
|
92
|
+
createdAt?: true
|
|
93
|
+
_all?: true
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export type AgentCronRunRequestAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
97
|
+
/**
|
|
98
|
+
* Filter which AgentCronRunRequest to aggregate.
|
|
99
|
+
*/
|
|
100
|
+
where?: Prisma.AgentCronRunRequestWhereInput
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
103
|
+
*
|
|
104
|
+
* Determine the order of AgentCronRunRequests to fetch.
|
|
105
|
+
*/
|
|
106
|
+
orderBy?: Prisma.AgentCronRunRequestOrderByWithRelationInput | Prisma.AgentCronRunRequestOrderByWithRelationInput[]
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
109
|
+
*
|
|
110
|
+
* Sets the start position
|
|
111
|
+
*/
|
|
112
|
+
cursor?: Prisma.AgentCronRunRequestWhereUniqueInput
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
115
|
+
*
|
|
116
|
+
* Take `±n` AgentCronRunRequests from the position of the cursor.
|
|
117
|
+
*/
|
|
118
|
+
take?: number
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
121
|
+
*
|
|
122
|
+
* Skip the first `n` AgentCronRunRequests.
|
|
123
|
+
*/
|
|
124
|
+
skip?: number
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
+
*
|
|
128
|
+
* Count returned AgentCronRunRequests
|
|
129
|
+
**/
|
|
130
|
+
_count?: true | AgentCronRunRequestCountAggregateInputType
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Select which fields to find the minimum value
|
|
135
|
+
**/
|
|
136
|
+
_min?: AgentCronRunRequestMinAggregateInputType
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Select which fields to find the maximum value
|
|
141
|
+
**/
|
|
142
|
+
_max?: AgentCronRunRequestMaxAggregateInputType
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export type GetAgentCronRunRequestAggregateType<T extends AgentCronRunRequestAggregateArgs> = {
|
|
146
|
+
[P in keyof T & keyof AggregateAgentCronRunRequest]: P extends '_count' | 'count'
|
|
147
|
+
? T[P] extends true
|
|
148
|
+
? number
|
|
149
|
+
: Prisma.GetScalarType<T[P], AggregateAgentCronRunRequest[P]>
|
|
150
|
+
: Prisma.GetScalarType<T[P], AggregateAgentCronRunRequest[P]>
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
export type AgentCronRunRequestGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
157
|
+
where?: Prisma.AgentCronRunRequestWhereInput
|
|
158
|
+
orderBy?: Prisma.AgentCronRunRequestOrderByWithAggregationInput | Prisma.AgentCronRunRequestOrderByWithAggregationInput[]
|
|
159
|
+
by: Prisma.AgentCronRunRequestScalarFieldEnum[] | Prisma.AgentCronRunRequestScalarFieldEnum
|
|
160
|
+
having?: Prisma.AgentCronRunRequestScalarWhereWithAggregatesInput
|
|
161
|
+
take?: number
|
|
162
|
+
skip?: number
|
|
163
|
+
_count?: AgentCronRunRequestCountAggregateInputType | true
|
|
164
|
+
_min?: AgentCronRunRequestMinAggregateInputType
|
|
165
|
+
_max?: AgentCronRunRequestMaxAggregateInputType
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export type AgentCronRunRequestGroupByOutputType = {
|
|
169
|
+
id: string
|
|
170
|
+
cronId: string
|
|
171
|
+
agentId: string
|
|
172
|
+
requestedBy: string
|
|
173
|
+
requestedAt: Date
|
|
174
|
+
status: string
|
|
175
|
+
honouredRunId: string | null
|
|
176
|
+
createdAt: Date
|
|
177
|
+
_count: AgentCronRunRequestCountAggregateOutputType | null
|
|
178
|
+
_min: AgentCronRunRequestMinAggregateOutputType | null
|
|
179
|
+
_max: AgentCronRunRequestMaxAggregateOutputType | null
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export type GetAgentCronRunRequestGroupByPayload<T extends AgentCronRunRequestGroupByArgs> = Prisma.PrismaPromise<
|
|
183
|
+
Array<
|
|
184
|
+
Prisma.PickEnumerable<AgentCronRunRequestGroupByOutputType, T['by']> &
|
|
185
|
+
{
|
|
186
|
+
[P in ((keyof T) & (keyof AgentCronRunRequestGroupByOutputType))]: P extends '_count'
|
|
187
|
+
? T[P] extends boolean
|
|
188
|
+
? number
|
|
189
|
+
: Prisma.GetScalarType<T[P], AgentCronRunRequestGroupByOutputType[P]>
|
|
190
|
+
: Prisma.GetScalarType<T[P], AgentCronRunRequestGroupByOutputType[P]>
|
|
191
|
+
}
|
|
192
|
+
>
|
|
193
|
+
>
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
export type AgentCronRunRequestWhereInput = {
|
|
198
|
+
AND?: Prisma.AgentCronRunRequestWhereInput | Prisma.AgentCronRunRequestWhereInput[]
|
|
199
|
+
OR?: Prisma.AgentCronRunRequestWhereInput[]
|
|
200
|
+
NOT?: Prisma.AgentCronRunRequestWhereInput | Prisma.AgentCronRunRequestWhereInput[]
|
|
201
|
+
id?: Prisma.StringFilter<"AgentCronRunRequest"> | string
|
|
202
|
+
cronId?: Prisma.StringFilter<"AgentCronRunRequest"> | string
|
|
203
|
+
agentId?: Prisma.StringFilter<"AgentCronRunRequest"> | string
|
|
204
|
+
requestedBy?: Prisma.StringFilter<"AgentCronRunRequest"> | string
|
|
205
|
+
requestedAt?: Prisma.DateTimeFilter<"AgentCronRunRequest"> | Date | string
|
|
206
|
+
status?: Prisma.StringFilter<"AgentCronRunRequest"> | string
|
|
207
|
+
honouredRunId?: Prisma.StringNullableFilter<"AgentCronRunRequest"> | string | null
|
|
208
|
+
createdAt?: Prisma.DateTimeFilter<"AgentCronRunRequest"> | Date | string
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export type AgentCronRunRequestOrderByWithRelationInput = {
|
|
212
|
+
id?: Prisma.SortOrder
|
|
213
|
+
cronId?: Prisma.SortOrder
|
|
214
|
+
agentId?: Prisma.SortOrder
|
|
215
|
+
requestedBy?: Prisma.SortOrder
|
|
216
|
+
requestedAt?: Prisma.SortOrder
|
|
217
|
+
status?: Prisma.SortOrder
|
|
218
|
+
honouredRunId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
219
|
+
createdAt?: Prisma.SortOrder
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export type AgentCronRunRequestWhereUniqueInput = Prisma.AtLeast<{
|
|
223
|
+
id?: string
|
|
224
|
+
AND?: Prisma.AgentCronRunRequestWhereInput | Prisma.AgentCronRunRequestWhereInput[]
|
|
225
|
+
OR?: Prisma.AgentCronRunRequestWhereInput[]
|
|
226
|
+
NOT?: Prisma.AgentCronRunRequestWhereInput | Prisma.AgentCronRunRequestWhereInput[]
|
|
227
|
+
cronId?: Prisma.StringFilter<"AgentCronRunRequest"> | string
|
|
228
|
+
agentId?: Prisma.StringFilter<"AgentCronRunRequest"> | string
|
|
229
|
+
requestedBy?: Prisma.StringFilter<"AgentCronRunRequest"> | string
|
|
230
|
+
requestedAt?: Prisma.DateTimeFilter<"AgentCronRunRequest"> | Date | string
|
|
231
|
+
status?: Prisma.StringFilter<"AgentCronRunRequest"> | string
|
|
232
|
+
honouredRunId?: Prisma.StringNullableFilter<"AgentCronRunRequest"> | string | null
|
|
233
|
+
createdAt?: Prisma.DateTimeFilter<"AgentCronRunRequest"> | Date | string
|
|
234
|
+
}, "id">
|
|
235
|
+
|
|
236
|
+
export type AgentCronRunRequestOrderByWithAggregationInput = {
|
|
237
|
+
id?: Prisma.SortOrder
|
|
238
|
+
cronId?: Prisma.SortOrder
|
|
239
|
+
agentId?: Prisma.SortOrder
|
|
240
|
+
requestedBy?: Prisma.SortOrder
|
|
241
|
+
requestedAt?: Prisma.SortOrder
|
|
242
|
+
status?: Prisma.SortOrder
|
|
243
|
+
honouredRunId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
244
|
+
createdAt?: Prisma.SortOrder
|
|
245
|
+
_count?: Prisma.AgentCronRunRequestCountOrderByAggregateInput
|
|
246
|
+
_max?: Prisma.AgentCronRunRequestMaxOrderByAggregateInput
|
|
247
|
+
_min?: Prisma.AgentCronRunRequestMinOrderByAggregateInput
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export type AgentCronRunRequestScalarWhereWithAggregatesInput = {
|
|
251
|
+
AND?: Prisma.AgentCronRunRequestScalarWhereWithAggregatesInput | Prisma.AgentCronRunRequestScalarWhereWithAggregatesInput[]
|
|
252
|
+
OR?: Prisma.AgentCronRunRequestScalarWhereWithAggregatesInput[]
|
|
253
|
+
NOT?: Prisma.AgentCronRunRequestScalarWhereWithAggregatesInput | Prisma.AgentCronRunRequestScalarWhereWithAggregatesInput[]
|
|
254
|
+
id?: Prisma.StringWithAggregatesFilter<"AgentCronRunRequest"> | string
|
|
255
|
+
cronId?: Prisma.StringWithAggregatesFilter<"AgentCronRunRequest"> | string
|
|
256
|
+
agentId?: Prisma.StringWithAggregatesFilter<"AgentCronRunRequest"> | string
|
|
257
|
+
requestedBy?: Prisma.StringWithAggregatesFilter<"AgentCronRunRequest"> | string
|
|
258
|
+
requestedAt?: Prisma.DateTimeWithAggregatesFilter<"AgentCronRunRequest"> | Date | string
|
|
259
|
+
status?: Prisma.StringWithAggregatesFilter<"AgentCronRunRequest"> | string
|
|
260
|
+
honouredRunId?: Prisma.StringNullableWithAggregatesFilter<"AgentCronRunRequest"> | string | null
|
|
261
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AgentCronRunRequest"> | Date | string
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export type AgentCronRunRequestCreateInput = {
|
|
265
|
+
id?: string
|
|
266
|
+
cronId: string
|
|
267
|
+
agentId: string
|
|
268
|
+
requestedBy: string
|
|
269
|
+
requestedAt: Date | string
|
|
270
|
+
status?: string
|
|
271
|
+
honouredRunId?: string | null
|
|
272
|
+
createdAt?: Date | string
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type AgentCronRunRequestUncheckedCreateInput = {
|
|
276
|
+
id?: string
|
|
277
|
+
cronId: string
|
|
278
|
+
agentId: string
|
|
279
|
+
requestedBy: string
|
|
280
|
+
requestedAt: Date | string
|
|
281
|
+
status?: string
|
|
282
|
+
honouredRunId?: string | null
|
|
283
|
+
createdAt?: Date | string
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export type AgentCronRunRequestUpdateInput = {
|
|
287
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
288
|
+
cronId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
289
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
290
|
+
requestedBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
291
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
292
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
293
|
+
honouredRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
294
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export type AgentCronRunRequestUncheckedUpdateInput = {
|
|
298
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
299
|
+
cronId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
300
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
301
|
+
requestedBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
302
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
303
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
304
|
+
honouredRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
305
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export type AgentCronRunRequestCreateManyInput = {
|
|
309
|
+
id?: string
|
|
310
|
+
cronId: string
|
|
311
|
+
agentId: string
|
|
312
|
+
requestedBy: string
|
|
313
|
+
requestedAt: Date | string
|
|
314
|
+
status?: string
|
|
315
|
+
honouredRunId?: string | null
|
|
316
|
+
createdAt?: Date | string
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export type AgentCronRunRequestUpdateManyMutationInput = {
|
|
320
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
321
|
+
cronId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
322
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
323
|
+
requestedBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
324
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
325
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
326
|
+
honouredRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
327
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export type AgentCronRunRequestUncheckedUpdateManyInput = {
|
|
331
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
332
|
+
cronId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
333
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
334
|
+
requestedBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
335
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
336
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
337
|
+
honouredRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
338
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export type AgentCronRunRequestCountOrderByAggregateInput = {
|
|
342
|
+
id?: Prisma.SortOrder
|
|
343
|
+
cronId?: Prisma.SortOrder
|
|
344
|
+
agentId?: Prisma.SortOrder
|
|
345
|
+
requestedBy?: Prisma.SortOrder
|
|
346
|
+
requestedAt?: Prisma.SortOrder
|
|
347
|
+
status?: Prisma.SortOrder
|
|
348
|
+
honouredRunId?: Prisma.SortOrder
|
|
349
|
+
createdAt?: Prisma.SortOrder
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export type AgentCronRunRequestMaxOrderByAggregateInput = {
|
|
353
|
+
id?: Prisma.SortOrder
|
|
354
|
+
cronId?: Prisma.SortOrder
|
|
355
|
+
agentId?: Prisma.SortOrder
|
|
356
|
+
requestedBy?: Prisma.SortOrder
|
|
357
|
+
requestedAt?: Prisma.SortOrder
|
|
358
|
+
status?: Prisma.SortOrder
|
|
359
|
+
honouredRunId?: Prisma.SortOrder
|
|
360
|
+
createdAt?: Prisma.SortOrder
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export type AgentCronRunRequestMinOrderByAggregateInput = {
|
|
364
|
+
id?: Prisma.SortOrder
|
|
365
|
+
cronId?: Prisma.SortOrder
|
|
366
|
+
agentId?: Prisma.SortOrder
|
|
367
|
+
requestedBy?: Prisma.SortOrder
|
|
368
|
+
requestedAt?: Prisma.SortOrder
|
|
369
|
+
status?: Prisma.SortOrder
|
|
370
|
+
honouredRunId?: Prisma.SortOrder
|
|
371
|
+
createdAt?: Prisma.SortOrder
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
export type AgentCronRunRequestSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
377
|
+
id?: boolean
|
|
378
|
+
cronId?: boolean
|
|
379
|
+
agentId?: boolean
|
|
380
|
+
requestedBy?: boolean
|
|
381
|
+
requestedAt?: boolean
|
|
382
|
+
status?: boolean
|
|
383
|
+
honouredRunId?: boolean
|
|
384
|
+
createdAt?: boolean
|
|
385
|
+
}, ExtArgs["result"]["agentCronRunRequest"]>
|
|
386
|
+
|
|
387
|
+
export type AgentCronRunRequestSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
388
|
+
id?: boolean
|
|
389
|
+
cronId?: boolean
|
|
390
|
+
agentId?: boolean
|
|
391
|
+
requestedBy?: boolean
|
|
392
|
+
requestedAt?: boolean
|
|
393
|
+
status?: boolean
|
|
394
|
+
honouredRunId?: boolean
|
|
395
|
+
createdAt?: boolean
|
|
396
|
+
}, ExtArgs["result"]["agentCronRunRequest"]>
|
|
397
|
+
|
|
398
|
+
export type AgentCronRunRequestSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
399
|
+
id?: boolean
|
|
400
|
+
cronId?: boolean
|
|
401
|
+
agentId?: boolean
|
|
402
|
+
requestedBy?: boolean
|
|
403
|
+
requestedAt?: boolean
|
|
404
|
+
status?: boolean
|
|
405
|
+
honouredRunId?: boolean
|
|
406
|
+
createdAt?: boolean
|
|
407
|
+
}, ExtArgs["result"]["agentCronRunRequest"]>
|
|
408
|
+
|
|
409
|
+
export type AgentCronRunRequestSelectScalar = {
|
|
410
|
+
id?: boolean
|
|
411
|
+
cronId?: boolean
|
|
412
|
+
agentId?: boolean
|
|
413
|
+
requestedBy?: boolean
|
|
414
|
+
requestedAt?: boolean
|
|
415
|
+
status?: boolean
|
|
416
|
+
honouredRunId?: boolean
|
|
417
|
+
createdAt?: boolean
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export type AgentCronRunRequestOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "cronId" | "agentId" | "requestedBy" | "requestedAt" | "status" | "honouredRunId" | "createdAt", ExtArgs["result"]["agentCronRunRequest"]>
|
|
421
|
+
|
|
422
|
+
export type $AgentCronRunRequestPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
423
|
+
name: "AgentCronRunRequest"
|
|
424
|
+
objects: {}
|
|
425
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
426
|
+
id: string
|
|
427
|
+
cronId: string
|
|
428
|
+
agentId: string
|
|
429
|
+
requestedBy: string
|
|
430
|
+
requestedAt: Date
|
|
431
|
+
status: string
|
|
432
|
+
honouredRunId: string | null
|
|
433
|
+
createdAt: Date
|
|
434
|
+
}, ExtArgs["result"]["agentCronRunRequest"]>
|
|
435
|
+
composites: {}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export type AgentCronRunRequestGetPayload<S extends boolean | null | undefined | AgentCronRunRequestDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload, S>
|
|
439
|
+
|
|
440
|
+
export type AgentCronRunRequestCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
441
|
+
Omit<AgentCronRunRequestFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
442
|
+
select?: AgentCronRunRequestCountAggregateInputType | true
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export interface AgentCronRunRequestDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
446
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AgentCronRunRequest'], meta: { name: 'AgentCronRunRequest' } }
|
|
447
|
+
/**
|
|
448
|
+
* Find zero or one AgentCronRunRequest that matches the filter.
|
|
449
|
+
* @param {AgentCronRunRequestFindUniqueArgs} args - Arguments to find a AgentCronRunRequest
|
|
450
|
+
* @example
|
|
451
|
+
* // Get one AgentCronRunRequest
|
|
452
|
+
* const agentCronRunRequest = await prisma.agentCronRunRequest.findUnique({
|
|
453
|
+
* where: {
|
|
454
|
+
* // ... provide filter here
|
|
455
|
+
* }
|
|
456
|
+
* })
|
|
457
|
+
*/
|
|
458
|
+
findUnique<T extends AgentCronRunRequestFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentCronRunRequestFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunRequestClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Find one AgentCronRunRequest that matches the filter or throw an error with `error.code='P2025'`
|
|
462
|
+
* if no matches were found.
|
|
463
|
+
* @param {AgentCronRunRequestFindUniqueOrThrowArgs} args - Arguments to find a AgentCronRunRequest
|
|
464
|
+
* @example
|
|
465
|
+
* // Get one AgentCronRunRequest
|
|
466
|
+
* const agentCronRunRequest = await prisma.agentCronRunRequest.findUniqueOrThrow({
|
|
467
|
+
* where: {
|
|
468
|
+
* // ... provide filter here
|
|
469
|
+
* }
|
|
470
|
+
* })
|
|
471
|
+
*/
|
|
472
|
+
findUniqueOrThrow<T extends AgentCronRunRequestFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentCronRunRequestFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunRequestClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Find the first AgentCronRunRequest that matches the filter.
|
|
476
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
477
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
478
|
+
* @param {AgentCronRunRequestFindFirstArgs} args - Arguments to find a AgentCronRunRequest
|
|
479
|
+
* @example
|
|
480
|
+
* // Get one AgentCronRunRequest
|
|
481
|
+
* const agentCronRunRequest = await prisma.agentCronRunRequest.findFirst({
|
|
482
|
+
* where: {
|
|
483
|
+
* // ... provide filter here
|
|
484
|
+
* }
|
|
485
|
+
* })
|
|
486
|
+
*/
|
|
487
|
+
findFirst<T extends AgentCronRunRequestFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentCronRunRequestFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunRequestClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Find the first AgentCronRunRequest that matches the filter or
|
|
491
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
492
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
493
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
494
|
+
* @param {AgentCronRunRequestFindFirstOrThrowArgs} args - Arguments to find a AgentCronRunRequest
|
|
495
|
+
* @example
|
|
496
|
+
* // Get one AgentCronRunRequest
|
|
497
|
+
* const agentCronRunRequest = await prisma.agentCronRunRequest.findFirstOrThrow({
|
|
498
|
+
* where: {
|
|
499
|
+
* // ... provide filter here
|
|
500
|
+
* }
|
|
501
|
+
* })
|
|
502
|
+
*/
|
|
503
|
+
findFirstOrThrow<T extends AgentCronRunRequestFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentCronRunRequestFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunRequestClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Find zero or more AgentCronRunRequests that matches the filter.
|
|
507
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
508
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
509
|
+
* @param {AgentCronRunRequestFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
510
|
+
* @example
|
|
511
|
+
* // Get all AgentCronRunRequests
|
|
512
|
+
* const agentCronRunRequests = await prisma.agentCronRunRequest.findMany()
|
|
513
|
+
*
|
|
514
|
+
* // Get first 10 AgentCronRunRequests
|
|
515
|
+
* const agentCronRunRequests = await prisma.agentCronRunRequest.findMany({ take: 10 })
|
|
516
|
+
*
|
|
517
|
+
* // Only select the `id`
|
|
518
|
+
* const agentCronRunRequestWithIdOnly = await prisma.agentCronRunRequest.findMany({ select: { id: true } })
|
|
519
|
+
*
|
|
520
|
+
*/
|
|
521
|
+
findMany<T extends AgentCronRunRequestFindManyArgs>(args?: Prisma.SelectSubset<T, AgentCronRunRequestFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Create a AgentCronRunRequest.
|
|
525
|
+
* @param {AgentCronRunRequestCreateArgs} args - Arguments to create a AgentCronRunRequest.
|
|
526
|
+
* @example
|
|
527
|
+
* // Create one AgentCronRunRequest
|
|
528
|
+
* const AgentCronRunRequest = await prisma.agentCronRunRequest.create({
|
|
529
|
+
* data: {
|
|
530
|
+
* // ... data to create a AgentCronRunRequest
|
|
531
|
+
* }
|
|
532
|
+
* })
|
|
533
|
+
*
|
|
534
|
+
*/
|
|
535
|
+
create<T extends AgentCronRunRequestCreateArgs>(args: Prisma.SelectSubset<T, AgentCronRunRequestCreateArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunRequestClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* Create many AgentCronRunRequests.
|
|
539
|
+
* @param {AgentCronRunRequestCreateManyArgs} args - Arguments to create many AgentCronRunRequests.
|
|
540
|
+
* @example
|
|
541
|
+
* // Create many AgentCronRunRequests
|
|
542
|
+
* const agentCronRunRequest = await prisma.agentCronRunRequest.createMany({
|
|
543
|
+
* data: [
|
|
544
|
+
* // ... provide data here
|
|
545
|
+
* ]
|
|
546
|
+
* })
|
|
547
|
+
*
|
|
548
|
+
*/
|
|
549
|
+
createMany<T extends AgentCronRunRequestCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentCronRunRequestCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Create many AgentCronRunRequests and returns the data saved in the database.
|
|
553
|
+
* @param {AgentCronRunRequestCreateManyAndReturnArgs} args - Arguments to create many AgentCronRunRequests.
|
|
554
|
+
* @example
|
|
555
|
+
* // Create many AgentCronRunRequests
|
|
556
|
+
* const agentCronRunRequest = await prisma.agentCronRunRequest.createManyAndReturn({
|
|
557
|
+
* data: [
|
|
558
|
+
* // ... provide data here
|
|
559
|
+
* ]
|
|
560
|
+
* })
|
|
561
|
+
*
|
|
562
|
+
* // Create many AgentCronRunRequests and only return the `id`
|
|
563
|
+
* const agentCronRunRequestWithIdOnly = await prisma.agentCronRunRequest.createManyAndReturn({
|
|
564
|
+
* select: { id: true },
|
|
565
|
+
* data: [
|
|
566
|
+
* // ... provide data here
|
|
567
|
+
* ]
|
|
568
|
+
* })
|
|
569
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
570
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
571
|
+
*
|
|
572
|
+
*/
|
|
573
|
+
createManyAndReturn<T extends AgentCronRunRequestCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentCronRunRequestCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Delete a AgentCronRunRequest.
|
|
577
|
+
* @param {AgentCronRunRequestDeleteArgs} args - Arguments to delete one AgentCronRunRequest.
|
|
578
|
+
* @example
|
|
579
|
+
* // Delete one AgentCronRunRequest
|
|
580
|
+
* const AgentCronRunRequest = await prisma.agentCronRunRequest.delete({
|
|
581
|
+
* where: {
|
|
582
|
+
* // ... filter to delete one AgentCronRunRequest
|
|
583
|
+
* }
|
|
584
|
+
* })
|
|
585
|
+
*
|
|
586
|
+
*/
|
|
587
|
+
delete<T extends AgentCronRunRequestDeleteArgs>(args: Prisma.SelectSubset<T, AgentCronRunRequestDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunRequestClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Update one AgentCronRunRequest.
|
|
591
|
+
* @param {AgentCronRunRequestUpdateArgs} args - Arguments to update one AgentCronRunRequest.
|
|
592
|
+
* @example
|
|
593
|
+
* // Update one AgentCronRunRequest
|
|
594
|
+
* const agentCronRunRequest = await prisma.agentCronRunRequest.update({
|
|
595
|
+
* where: {
|
|
596
|
+
* // ... provide filter here
|
|
597
|
+
* },
|
|
598
|
+
* data: {
|
|
599
|
+
* // ... provide data here
|
|
600
|
+
* }
|
|
601
|
+
* })
|
|
602
|
+
*
|
|
603
|
+
*/
|
|
604
|
+
update<T extends AgentCronRunRequestUpdateArgs>(args: Prisma.SelectSubset<T, AgentCronRunRequestUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunRequestClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Delete zero or more AgentCronRunRequests.
|
|
608
|
+
* @param {AgentCronRunRequestDeleteManyArgs} args - Arguments to filter AgentCronRunRequests to delete.
|
|
609
|
+
* @example
|
|
610
|
+
* // Delete a few AgentCronRunRequests
|
|
611
|
+
* const { count } = await prisma.agentCronRunRequest.deleteMany({
|
|
612
|
+
* where: {
|
|
613
|
+
* // ... provide filter here
|
|
614
|
+
* }
|
|
615
|
+
* })
|
|
616
|
+
*
|
|
617
|
+
*/
|
|
618
|
+
deleteMany<T extends AgentCronRunRequestDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentCronRunRequestDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Update zero or more AgentCronRunRequests.
|
|
622
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
623
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
624
|
+
* @param {AgentCronRunRequestUpdateManyArgs} args - Arguments to update one or more rows.
|
|
625
|
+
* @example
|
|
626
|
+
* // Update many AgentCronRunRequests
|
|
627
|
+
* const agentCronRunRequest = await prisma.agentCronRunRequest.updateMany({
|
|
628
|
+
* where: {
|
|
629
|
+
* // ... provide filter here
|
|
630
|
+
* },
|
|
631
|
+
* data: {
|
|
632
|
+
* // ... provide data here
|
|
633
|
+
* }
|
|
634
|
+
* })
|
|
635
|
+
*
|
|
636
|
+
*/
|
|
637
|
+
updateMany<T extends AgentCronRunRequestUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentCronRunRequestUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Update zero or more AgentCronRunRequests and returns the data updated in the database.
|
|
641
|
+
* @param {AgentCronRunRequestUpdateManyAndReturnArgs} args - Arguments to update many AgentCronRunRequests.
|
|
642
|
+
* @example
|
|
643
|
+
* // Update many AgentCronRunRequests
|
|
644
|
+
* const agentCronRunRequest = await prisma.agentCronRunRequest.updateManyAndReturn({
|
|
645
|
+
* where: {
|
|
646
|
+
* // ... provide filter here
|
|
647
|
+
* },
|
|
648
|
+
* data: [
|
|
649
|
+
* // ... provide data here
|
|
650
|
+
* ]
|
|
651
|
+
* })
|
|
652
|
+
*
|
|
653
|
+
* // Update zero or more AgentCronRunRequests and only return the `id`
|
|
654
|
+
* const agentCronRunRequestWithIdOnly = await prisma.agentCronRunRequest.updateManyAndReturn({
|
|
655
|
+
* select: { id: true },
|
|
656
|
+
* where: {
|
|
657
|
+
* // ... provide filter here
|
|
658
|
+
* },
|
|
659
|
+
* data: [
|
|
660
|
+
* // ... provide data here
|
|
661
|
+
* ]
|
|
662
|
+
* })
|
|
663
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
664
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
665
|
+
*
|
|
666
|
+
*/
|
|
667
|
+
updateManyAndReturn<T extends AgentCronRunRequestUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentCronRunRequestUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Create or update one AgentCronRunRequest.
|
|
671
|
+
* @param {AgentCronRunRequestUpsertArgs} args - Arguments to update or create a AgentCronRunRequest.
|
|
672
|
+
* @example
|
|
673
|
+
* // Update or create a AgentCronRunRequest
|
|
674
|
+
* const agentCronRunRequest = await prisma.agentCronRunRequest.upsert({
|
|
675
|
+
* create: {
|
|
676
|
+
* // ... data to create a AgentCronRunRequest
|
|
677
|
+
* },
|
|
678
|
+
* update: {
|
|
679
|
+
* // ... in case it already exists, update
|
|
680
|
+
* },
|
|
681
|
+
* where: {
|
|
682
|
+
* // ... the filter for the AgentCronRunRequest we want to update
|
|
683
|
+
* }
|
|
684
|
+
* })
|
|
685
|
+
*/
|
|
686
|
+
upsert<T extends AgentCronRunRequestUpsertArgs>(args: Prisma.SelectSubset<T, AgentCronRunRequestUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentCronRunRequestClient<runtime.Types.Result.GetResult<Prisma.$AgentCronRunRequestPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Count the number of AgentCronRunRequests.
|
|
691
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
692
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
693
|
+
* @param {AgentCronRunRequestCountArgs} args - Arguments to filter AgentCronRunRequests to count.
|
|
694
|
+
* @example
|
|
695
|
+
* // Count the number of AgentCronRunRequests
|
|
696
|
+
* const count = await prisma.agentCronRunRequest.count({
|
|
697
|
+
* where: {
|
|
698
|
+
* // ... the filter for the AgentCronRunRequests we want to count
|
|
699
|
+
* }
|
|
700
|
+
* })
|
|
701
|
+
**/
|
|
702
|
+
count<T extends AgentCronRunRequestCountArgs>(
|
|
703
|
+
args?: Prisma.Subset<T, AgentCronRunRequestCountArgs>,
|
|
704
|
+
): Prisma.PrismaPromise<
|
|
705
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
706
|
+
? T['select'] extends true
|
|
707
|
+
? number
|
|
708
|
+
: Prisma.GetScalarType<T['select'], AgentCronRunRequestCountAggregateOutputType>
|
|
709
|
+
: number
|
|
710
|
+
>
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Allows you to perform aggregations operations on a AgentCronRunRequest.
|
|
714
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
715
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
716
|
+
* @param {AgentCronRunRequestAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
717
|
+
* @example
|
|
718
|
+
* // Ordered by age ascending
|
|
719
|
+
* // Where email contains prisma.io
|
|
720
|
+
* // Limited to the 10 users
|
|
721
|
+
* const aggregations = await prisma.user.aggregate({
|
|
722
|
+
* _avg: {
|
|
723
|
+
* age: true,
|
|
724
|
+
* },
|
|
725
|
+
* where: {
|
|
726
|
+
* email: {
|
|
727
|
+
* contains: "prisma.io",
|
|
728
|
+
* },
|
|
729
|
+
* },
|
|
730
|
+
* orderBy: {
|
|
731
|
+
* age: "asc",
|
|
732
|
+
* },
|
|
733
|
+
* take: 10,
|
|
734
|
+
* })
|
|
735
|
+
**/
|
|
736
|
+
aggregate<T extends AgentCronRunRequestAggregateArgs>(args: Prisma.Subset<T, AgentCronRunRequestAggregateArgs>): Prisma.PrismaPromise<GetAgentCronRunRequestAggregateType<T>>
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* Group by AgentCronRunRequest.
|
|
740
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
741
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
742
|
+
* @param {AgentCronRunRequestGroupByArgs} args - Group by arguments.
|
|
743
|
+
* @example
|
|
744
|
+
* // Group by city, order by createdAt, get count
|
|
745
|
+
* const result = await prisma.user.groupBy({
|
|
746
|
+
* by: ['city', 'createdAt'],
|
|
747
|
+
* orderBy: {
|
|
748
|
+
* createdAt: true
|
|
749
|
+
* },
|
|
750
|
+
* _count: {
|
|
751
|
+
* _all: true
|
|
752
|
+
* },
|
|
753
|
+
* })
|
|
754
|
+
*
|
|
755
|
+
**/
|
|
756
|
+
groupBy<
|
|
757
|
+
T extends AgentCronRunRequestGroupByArgs,
|
|
758
|
+
HasSelectOrTake extends Prisma.Or<
|
|
759
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
760
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
761
|
+
>,
|
|
762
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
763
|
+
? { orderBy: AgentCronRunRequestGroupByArgs['orderBy'] }
|
|
764
|
+
: { orderBy?: AgentCronRunRequestGroupByArgs['orderBy'] },
|
|
765
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
766
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
767
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
768
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
769
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
770
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
771
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
772
|
+
? `Error: "by" must not be empty.`
|
|
773
|
+
: HavingValid extends Prisma.False
|
|
774
|
+
? {
|
|
775
|
+
[P in HavingFields]: P extends ByFields
|
|
776
|
+
? never
|
|
777
|
+
: P extends string
|
|
778
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
779
|
+
: [
|
|
780
|
+
Error,
|
|
781
|
+
'Field ',
|
|
782
|
+
P,
|
|
783
|
+
` in "having" needs to be provided in "by"`,
|
|
784
|
+
]
|
|
785
|
+
}[HavingFields]
|
|
786
|
+
: 'take' extends Prisma.Keys<T>
|
|
787
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
788
|
+
? ByValid extends Prisma.True
|
|
789
|
+
? {}
|
|
790
|
+
: {
|
|
791
|
+
[P in OrderFields]: P extends ByFields
|
|
792
|
+
? never
|
|
793
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
794
|
+
}[OrderFields]
|
|
795
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
796
|
+
: 'skip' extends Prisma.Keys<T>
|
|
797
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
798
|
+
? ByValid extends Prisma.True
|
|
799
|
+
? {}
|
|
800
|
+
: {
|
|
801
|
+
[P in OrderFields]: P extends ByFields
|
|
802
|
+
? never
|
|
803
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
804
|
+
}[OrderFields]
|
|
805
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
806
|
+
: ByValid extends Prisma.True
|
|
807
|
+
? {}
|
|
808
|
+
: {
|
|
809
|
+
[P in OrderFields]: P extends ByFields
|
|
810
|
+
? never
|
|
811
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
812
|
+
}[OrderFields]
|
|
813
|
+
>(args: Prisma.SubsetIntersection<T, AgentCronRunRequestGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentCronRunRequestGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
814
|
+
/**
|
|
815
|
+
* Fields of the AgentCronRunRequest model
|
|
816
|
+
*/
|
|
817
|
+
readonly fields: AgentCronRunRequestFieldRefs;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* The delegate class that acts as a "Promise-like" for AgentCronRunRequest.
|
|
822
|
+
* Why is this prefixed with `Prisma__`?
|
|
823
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
824
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
825
|
+
*/
|
|
826
|
+
export interface Prisma__AgentCronRunRequestClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
827
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
828
|
+
/**
|
|
829
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
830
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
831
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
832
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
833
|
+
*/
|
|
834
|
+
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>
|
|
835
|
+
/**
|
|
836
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
837
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
838
|
+
* @returns A Promise for the completion of the callback.
|
|
839
|
+
*/
|
|
840
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
841
|
+
/**
|
|
842
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
843
|
+
* resolved value cannot be modified from the callback.
|
|
844
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
845
|
+
* @returns A Promise for the completion of the callback.
|
|
846
|
+
*/
|
|
847
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Fields of the AgentCronRunRequest model
|
|
855
|
+
*/
|
|
856
|
+
export interface AgentCronRunRequestFieldRefs {
|
|
857
|
+
readonly id: Prisma.FieldRef<"AgentCronRunRequest", 'String'>
|
|
858
|
+
readonly cronId: Prisma.FieldRef<"AgentCronRunRequest", 'String'>
|
|
859
|
+
readonly agentId: Prisma.FieldRef<"AgentCronRunRequest", 'String'>
|
|
860
|
+
readonly requestedBy: Prisma.FieldRef<"AgentCronRunRequest", 'String'>
|
|
861
|
+
readonly requestedAt: Prisma.FieldRef<"AgentCronRunRequest", 'DateTime'>
|
|
862
|
+
readonly status: Prisma.FieldRef<"AgentCronRunRequest", 'String'>
|
|
863
|
+
readonly honouredRunId: Prisma.FieldRef<"AgentCronRunRequest", 'String'>
|
|
864
|
+
readonly createdAt: Prisma.FieldRef<"AgentCronRunRequest", 'DateTime'>
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
// Custom InputTypes
|
|
869
|
+
/**
|
|
870
|
+
* AgentCronRunRequest findUnique
|
|
871
|
+
*/
|
|
872
|
+
export type AgentCronRunRequestFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
873
|
+
/**
|
|
874
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
875
|
+
*/
|
|
876
|
+
select?: Prisma.AgentCronRunRequestSelect<ExtArgs> | null
|
|
877
|
+
/**
|
|
878
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
879
|
+
*/
|
|
880
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
881
|
+
/**
|
|
882
|
+
* Filter, which AgentCronRunRequest to fetch.
|
|
883
|
+
*/
|
|
884
|
+
where: Prisma.AgentCronRunRequestWhereUniqueInput
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* AgentCronRunRequest findUniqueOrThrow
|
|
889
|
+
*/
|
|
890
|
+
export type AgentCronRunRequestFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
891
|
+
/**
|
|
892
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
893
|
+
*/
|
|
894
|
+
select?: Prisma.AgentCronRunRequestSelect<ExtArgs> | null
|
|
895
|
+
/**
|
|
896
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
897
|
+
*/
|
|
898
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
899
|
+
/**
|
|
900
|
+
* Filter, which AgentCronRunRequest to fetch.
|
|
901
|
+
*/
|
|
902
|
+
where: Prisma.AgentCronRunRequestWhereUniqueInput
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* AgentCronRunRequest findFirst
|
|
907
|
+
*/
|
|
908
|
+
export type AgentCronRunRequestFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
909
|
+
/**
|
|
910
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
911
|
+
*/
|
|
912
|
+
select?: Prisma.AgentCronRunRequestSelect<ExtArgs> | null
|
|
913
|
+
/**
|
|
914
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
915
|
+
*/
|
|
916
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
917
|
+
/**
|
|
918
|
+
* Filter, which AgentCronRunRequest to fetch.
|
|
919
|
+
*/
|
|
920
|
+
where?: Prisma.AgentCronRunRequestWhereInput
|
|
921
|
+
/**
|
|
922
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
923
|
+
*
|
|
924
|
+
* Determine the order of AgentCronRunRequests to fetch.
|
|
925
|
+
*/
|
|
926
|
+
orderBy?: Prisma.AgentCronRunRequestOrderByWithRelationInput | Prisma.AgentCronRunRequestOrderByWithRelationInput[]
|
|
927
|
+
/**
|
|
928
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
929
|
+
*
|
|
930
|
+
* Sets the position for searching for AgentCronRunRequests.
|
|
931
|
+
*/
|
|
932
|
+
cursor?: Prisma.AgentCronRunRequestWhereUniqueInput
|
|
933
|
+
/**
|
|
934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
935
|
+
*
|
|
936
|
+
* Take `±n` AgentCronRunRequests from the position of the cursor.
|
|
937
|
+
*/
|
|
938
|
+
take?: number
|
|
939
|
+
/**
|
|
940
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
941
|
+
*
|
|
942
|
+
* Skip the first `n` AgentCronRunRequests.
|
|
943
|
+
*/
|
|
944
|
+
skip?: number
|
|
945
|
+
/**
|
|
946
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
947
|
+
*
|
|
948
|
+
* Filter by unique combinations of AgentCronRunRequests.
|
|
949
|
+
*/
|
|
950
|
+
distinct?: Prisma.AgentCronRunRequestScalarFieldEnum | Prisma.AgentCronRunRequestScalarFieldEnum[]
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* AgentCronRunRequest findFirstOrThrow
|
|
955
|
+
*/
|
|
956
|
+
export type AgentCronRunRequestFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
957
|
+
/**
|
|
958
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
959
|
+
*/
|
|
960
|
+
select?: Prisma.AgentCronRunRequestSelect<ExtArgs> | null
|
|
961
|
+
/**
|
|
962
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
963
|
+
*/
|
|
964
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
965
|
+
/**
|
|
966
|
+
* Filter, which AgentCronRunRequest to fetch.
|
|
967
|
+
*/
|
|
968
|
+
where?: Prisma.AgentCronRunRequestWhereInput
|
|
969
|
+
/**
|
|
970
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
971
|
+
*
|
|
972
|
+
* Determine the order of AgentCronRunRequests to fetch.
|
|
973
|
+
*/
|
|
974
|
+
orderBy?: Prisma.AgentCronRunRequestOrderByWithRelationInput | Prisma.AgentCronRunRequestOrderByWithRelationInput[]
|
|
975
|
+
/**
|
|
976
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
977
|
+
*
|
|
978
|
+
* Sets the position for searching for AgentCronRunRequests.
|
|
979
|
+
*/
|
|
980
|
+
cursor?: Prisma.AgentCronRunRequestWhereUniqueInput
|
|
981
|
+
/**
|
|
982
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
983
|
+
*
|
|
984
|
+
* Take `±n` AgentCronRunRequests from the position of the cursor.
|
|
985
|
+
*/
|
|
986
|
+
take?: number
|
|
987
|
+
/**
|
|
988
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
989
|
+
*
|
|
990
|
+
* Skip the first `n` AgentCronRunRequests.
|
|
991
|
+
*/
|
|
992
|
+
skip?: number
|
|
993
|
+
/**
|
|
994
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
995
|
+
*
|
|
996
|
+
* Filter by unique combinations of AgentCronRunRequests.
|
|
997
|
+
*/
|
|
998
|
+
distinct?: Prisma.AgentCronRunRequestScalarFieldEnum | Prisma.AgentCronRunRequestScalarFieldEnum[]
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* AgentCronRunRequest findMany
|
|
1003
|
+
*/
|
|
1004
|
+
export type AgentCronRunRequestFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1005
|
+
/**
|
|
1006
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
1007
|
+
*/
|
|
1008
|
+
select?: Prisma.AgentCronRunRequestSelect<ExtArgs> | null
|
|
1009
|
+
/**
|
|
1010
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
1011
|
+
*/
|
|
1012
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
1013
|
+
/**
|
|
1014
|
+
* Filter, which AgentCronRunRequests to fetch.
|
|
1015
|
+
*/
|
|
1016
|
+
where?: Prisma.AgentCronRunRequestWhereInput
|
|
1017
|
+
/**
|
|
1018
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1019
|
+
*
|
|
1020
|
+
* Determine the order of AgentCronRunRequests to fetch.
|
|
1021
|
+
*/
|
|
1022
|
+
orderBy?: Prisma.AgentCronRunRequestOrderByWithRelationInput | Prisma.AgentCronRunRequestOrderByWithRelationInput[]
|
|
1023
|
+
/**
|
|
1024
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1025
|
+
*
|
|
1026
|
+
* Sets the position for listing AgentCronRunRequests.
|
|
1027
|
+
*/
|
|
1028
|
+
cursor?: Prisma.AgentCronRunRequestWhereUniqueInput
|
|
1029
|
+
/**
|
|
1030
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1031
|
+
*
|
|
1032
|
+
* Take `±n` AgentCronRunRequests from the position of the cursor.
|
|
1033
|
+
*/
|
|
1034
|
+
take?: number
|
|
1035
|
+
/**
|
|
1036
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1037
|
+
*
|
|
1038
|
+
* Skip the first `n` AgentCronRunRequests.
|
|
1039
|
+
*/
|
|
1040
|
+
skip?: number
|
|
1041
|
+
/**
|
|
1042
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1043
|
+
*
|
|
1044
|
+
* Filter by unique combinations of AgentCronRunRequests.
|
|
1045
|
+
*/
|
|
1046
|
+
distinct?: Prisma.AgentCronRunRequestScalarFieldEnum | Prisma.AgentCronRunRequestScalarFieldEnum[]
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* AgentCronRunRequest create
|
|
1051
|
+
*/
|
|
1052
|
+
export type AgentCronRunRequestCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1053
|
+
/**
|
|
1054
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
1055
|
+
*/
|
|
1056
|
+
select?: Prisma.AgentCronRunRequestSelect<ExtArgs> | null
|
|
1057
|
+
/**
|
|
1058
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
1059
|
+
*/
|
|
1060
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
1061
|
+
/**
|
|
1062
|
+
* The data needed to create a AgentCronRunRequest.
|
|
1063
|
+
*/
|
|
1064
|
+
data: Prisma.XOR<Prisma.AgentCronRunRequestCreateInput, Prisma.AgentCronRunRequestUncheckedCreateInput>
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* AgentCronRunRequest createMany
|
|
1069
|
+
*/
|
|
1070
|
+
export type AgentCronRunRequestCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1071
|
+
/**
|
|
1072
|
+
* The data used to create many AgentCronRunRequests.
|
|
1073
|
+
*/
|
|
1074
|
+
data: Prisma.AgentCronRunRequestCreateManyInput | Prisma.AgentCronRunRequestCreateManyInput[]
|
|
1075
|
+
skipDuplicates?: boolean
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* AgentCronRunRequest createManyAndReturn
|
|
1080
|
+
*/
|
|
1081
|
+
export type AgentCronRunRequestCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1082
|
+
/**
|
|
1083
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
1084
|
+
*/
|
|
1085
|
+
select?: Prisma.AgentCronRunRequestSelectCreateManyAndReturn<ExtArgs> | null
|
|
1086
|
+
/**
|
|
1087
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
1088
|
+
*/
|
|
1089
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
1090
|
+
/**
|
|
1091
|
+
* The data used to create many AgentCronRunRequests.
|
|
1092
|
+
*/
|
|
1093
|
+
data: Prisma.AgentCronRunRequestCreateManyInput | Prisma.AgentCronRunRequestCreateManyInput[]
|
|
1094
|
+
skipDuplicates?: boolean
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* AgentCronRunRequest update
|
|
1099
|
+
*/
|
|
1100
|
+
export type AgentCronRunRequestUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1101
|
+
/**
|
|
1102
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
1103
|
+
*/
|
|
1104
|
+
select?: Prisma.AgentCronRunRequestSelect<ExtArgs> | null
|
|
1105
|
+
/**
|
|
1106
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
1107
|
+
*/
|
|
1108
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
1109
|
+
/**
|
|
1110
|
+
* The data needed to update a AgentCronRunRequest.
|
|
1111
|
+
*/
|
|
1112
|
+
data: Prisma.XOR<Prisma.AgentCronRunRequestUpdateInput, Prisma.AgentCronRunRequestUncheckedUpdateInput>
|
|
1113
|
+
/**
|
|
1114
|
+
* Choose, which AgentCronRunRequest to update.
|
|
1115
|
+
*/
|
|
1116
|
+
where: Prisma.AgentCronRunRequestWhereUniqueInput
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
/**
|
|
1120
|
+
* AgentCronRunRequest updateMany
|
|
1121
|
+
*/
|
|
1122
|
+
export type AgentCronRunRequestUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1123
|
+
/**
|
|
1124
|
+
* The data used to update AgentCronRunRequests.
|
|
1125
|
+
*/
|
|
1126
|
+
data: Prisma.XOR<Prisma.AgentCronRunRequestUpdateManyMutationInput, Prisma.AgentCronRunRequestUncheckedUpdateManyInput>
|
|
1127
|
+
/**
|
|
1128
|
+
* Filter which AgentCronRunRequests to update
|
|
1129
|
+
*/
|
|
1130
|
+
where?: Prisma.AgentCronRunRequestWhereInput
|
|
1131
|
+
/**
|
|
1132
|
+
* Limit how many AgentCronRunRequests to update.
|
|
1133
|
+
*/
|
|
1134
|
+
limit?: number
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* AgentCronRunRequest updateManyAndReturn
|
|
1139
|
+
*/
|
|
1140
|
+
export type AgentCronRunRequestUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1141
|
+
/**
|
|
1142
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
1143
|
+
*/
|
|
1144
|
+
select?: Prisma.AgentCronRunRequestSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1145
|
+
/**
|
|
1146
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
1147
|
+
*/
|
|
1148
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
1149
|
+
/**
|
|
1150
|
+
* The data used to update AgentCronRunRequests.
|
|
1151
|
+
*/
|
|
1152
|
+
data: Prisma.XOR<Prisma.AgentCronRunRequestUpdateManyMutationInput, Prisma.AgentCronRunRequestUncheckedUpdateManyInput>
|
|
1153
|
+
/**
|
|
1154
|
+
* Filter which AgentCronRunRequests to update
|
|
1155
|
+
*/
|
|
1156
|
+
where?: Prisma.AgentCronRunRequestWhereInput
|
|
1157
|
+
/**
|
|
1158
|
+
* Limit how many AgentCronRunRequests to update.
|
|
1159
|
+
*/
|
|
1160
|
+
limit?: number
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* AgentCronRunRequest upsert
|
|
1165
|
+
*/
|
|
1166
|
+
export type AgentCronRunRequestUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1167
|
+
/**
|
|
1168
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
1169
|
+
*/
|
|
1170
|
+
select?: Prisma.AgentCronRunRequestSelect<ExtArgs> | null
|
|
1171
|
+
/**
|
|
1172
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
1173
|
+
*/
|
|
1174
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
1175
|
+
/**
|
|
1176
|
+
* The filter to search for the AgentCronRunRequest to update in case it exists.
|
|
1177
|
+
*/
|
|
1178
|
+
where: Prisma.AgentCronRunRequestWhereUniqueInput
|
|
1179
|
+
/**
|
|
1180
|
+
* In case the AgentCronRunRequest found by the `where` argument doesn't exist, create a new AgentCronRunRequest with this data.
|
|
1181
|
+
*/
|
|
1182
|
+
create: Prisma.XOR<Prisma.AgentCronRunRequestCreateInput, Prisma.AgentCronRunRequestUncheckedCreateInput>
|
|
1183
|
+
/**
|
|
1184
|
+
* In case the AgentCronRunRequest was found with the provided `where` argument, update it with this data.
|
|
1185
|
+
*/
|
|
1186
|
+
update: Prisma.XOR<Prisma.AgentCronRunRequestUpdateInput, Prisma.AgentCronRunRequestUncheckedUpdateInput>
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* AgentCronRunRequest delete
|
|
1191
|
+
*/
|
|
1192
|
+
export type AgentCronRunRequestDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1193
|
+
/**
|
|
1194
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
1195
|
+
*/
|
|
1196
|
+
select?: Prisma.AgentCronRunRequestSelect<ExtArgs> | null
|
|
1197
|
+
/**
|
|
1198
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
1199
|
+
*/
|
|
1200
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
1201
|
+
/**
|
|
1202
|
+
* Filter which AgentCronRunRequest to delete.
|
|
1203
|
+
*/
|
|
1204
|
+
where: Prisma.AgentCronRunRequestWhereUniqueInput
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* AgentCronRunRequest deleteMany
|
|
1209
|
+
*/
|
|
1210
|
+
export type AgentCronRunRequestDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1211
|
+
/**
|
|
1212
|
+
* Filter which AgentCronRunRequests to delete
|
|
1213
|
+
*/
|
|
1214
|
+
where?: Prisma.AgentCronRunRequestWhereInput
|
|
1215
|
+
/**
|
|
1216
|
+
* Limit how many AgentCronRunRequests to delete.
|
|
1217
|
+
*/
|
|
1218
|
+
limit?: number
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* AgentCronRunRequest without action
|
|
1223
|
+
*/
|
|
1224
|
+
export type AgentCronRunRequestDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1225
|
+
/**
|
|
1226
|
+
* Select specific fields to fetch from the AgentCronRunRequest
|
|
1227
|
+
*/
|
|
1228
|
+
select?: Prisma.AgentCronRunRequestSelect<ExtArgs> | null
|
|
1229
|
+
/**
|
|
1230
|
+
* Omit specific fields from the AgentCronRunRequest
|
|
1231
|
+
*/
|
|
1232
|
+
omit?: Prisma.AgentCronRunRequestOmit<ExtArgs> | null
|
|
1233
|
+
}
|