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