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