@allbluecn/database 0.11.0 → 0.12.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.
Files changed (110) hide show
  1. package/index.ts +14 -17
  2. package/package.json +29 -21
  3. package/pglite-init.ts +75 -0
  4. package/LICENSE +0 -661
  5. package/desktop-init.ts +0 -162
  6. package/generated-sqlite/browser.ts +0 -499
  7. package/generated-sqlite/client.ts +0 -523
  8. package/generated-sqlite/commonInputTypes.ts +0 -722
  9. package/generated-sqlite/enums.ts +0 -15
  10. package/generated-sqlite/internal/class.ts +0 -1154
  11. package/generated-sqlite/internal/prismaNamespace.ts +0 -9576
  12. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -1761
  13. package/generated-sqlite/models/AgentConversation.ts +0 -1647
  14. package/generated-sqlite/models/AgentMessage.ts +0 -1406
  15. package/generated-sqlite/models/AiProvider.ts +0 -1605
  16. package/generated-sqlite/models/AiProviderConfig.ts +0 -1610
  17. package/generated-sqlite/models/AiStreamChunk.ts +0 -1157
  18. package/generated-sqlite/models/AiUsageLog.ts +0 -1905
  19. package/generated-sqlite/models/AnyHubApp.ts +0 -1908
  20. package/generated-sqlite/models/AnyHubMarketApp.ts +0 -1997
  21. package/generated-sqlite/models/AnyHubPermission.ts +0 -1419
  22. package/generated-sqlite/models/AnyHubRecommendation.ts +0 -1867
  23. package/generated-sqlite/models/AnyHubRecommender.ts +0 -1467
  24. package/generated-sqlite/models/ArticleFavorite.ts +0 -1349
  25. package/generated-sqlite/models/AuditLog.ts +0 -1287
  26. package/generated-sqlite/models/Blob.ts +0 -1425
  27. package/generated-sqlite/models/Block.ts +0 -1648
  28. package/generated-sqlite/models/BlockComponent.ts +0 -1730
  29. package/generated-sqlite/models/BlockInstance.ts +0 -2039
  30. package/generated-sqlite/models/BookmarkCategory.ts +0 -1667
  31. package/generated-sqlite/models/BusinessAgentBinding.ts +0 -1549
  32. package/generated-sqlite/models/ChatInterrupt.ts +0 -1736
  33. package/generated-sqlite/models/ChatMessage.ts +0 -1464
  34. package/generated-sqlite/models/ChatPersistenceMeta.ts +0 -1119
  35. package/generated-sqlite/models/ChatRun.ts +0 -1802
  36. package/generated-sqlite/models/ChatThread.ts +0 -2417
  37. package/generated-sqlite/models/CodeSnippet.ts +0 -1552
  38. package/generated-sqlite/models/Comment.ts +0 -2201
  39. package/generated-sqlite/models/CommentIgnore.ts +0 -1426
  40. package/generated-sqlite/models/ComplianceExport.ts +0 -1343
  41. package/generated-sqlite/models/Component.ts +0 -2132
  42. package/generated-sqlite/models/ComponentInstance.ts +0 -2097
  43. package/generated-sqlite/models/CustomRole.ts +0 -1209
  44. package/generated-sqlite/models/Design.ts +0 -2497
  45. package/generated-sqlite/models/DesignPage.ts +0 -2398
  46. package/generated-sqlite/models/DesignVersion.ts +0 -2117
  47. package/generated-sqlite/models/DesktopSetting.ts +0 -1057
  48. package/generated-sqlite/models/DeveloperLog.ts +0 -1281
  49. package/generated-sqlite/models/DictionaryTerm.ts +0 -1639
  50. package/generated-sqlite/models/EmailLog.ts +0 -1343
  51. package/generated-sqlite/models/EmailPreference.ts +0 -1255
  52. package/generated-sqlite/models/EmailSubscriber.ts +0 -1231
  53. package/generated-sqlite/models/EmailVerificationToken.ts +0 -1377
  54. package/generated-sqlite/models/GenerationRun.ts +0 -1732
  55. package/generated-sqlite/models/HarnessPlugin.ts +0 -1666
  56. package/generated-sqlite/models/HarnessWorkspace.ts +0 -1647
  57. package/generated-sqlite/models/IndustryCompliance.ts +0 -1794
  58. package/generated-sqlite/models/InvitationCode.ts +0 -1471
  59. package/generated-sqlite/models/InvitationUse.ts +0 -1420
  60. package/generated-sqlite/models/Invoice.ts +0 -1707
  61. package/generated-sqlite/models/Iteration.ts +0 -1874
  62. package/generated-sqlite/models/IterationAutoSchedule.ts +0 -1483
  63. package/generated-sqlite/models/KnowledgeBase.ts +0 -2238
  64. package/generated-sqlite/models/KnowledgeDocument.ts +0 -2450
  65. package/generated-sqlite/models/KnowledgeShareRecord.ts +0 -1349
  66. package/generated-sqlite/models/LegalRegulation.ts +0 -1905
  67. package/generated-sqlite/models/LicenseActivation.ts +0 -1203
  68. package/generated-sqlite/models/LicenseKey.ts +0 -1443
  69. package/generated-sqlite/models/LoginLog.ts +0 -1447
  70. package/generated-sqlite/models/NotificationPreference.ts +0 -1313
  71. package/generated-sqlite/models/OAuthProviderConfig.ts +0 -1225
  72. package/generated-sqlite/models/PageVersion.ts +0 -1520
  73. package/generated-sqlite/models/PasswordResetToken.ts +0 -1377
  74. package/generated-sqlite/models/Plan.ts +0 -2250
  75. package/generated-sqlite/models/Project.ts +0 -2628
  76. package/generated-sqlite/models/ProjectActivity.ts +0 -1578
  77. package/generated-sqlite/models/ProjectKnowledgeBase.ts +0 -1426
  78. package/generated-sqlite/models/ProjectMember.ts +0 -1508
  79. package/generated-sqlite/models/ProviderEvent.ts +0 -1225
  80. package/generated-sqlite/models/Reference.ts +0 -1175
  81. package/generated-sqlite/models/Review.ts +0 -1903
  82. package/generated-sqlite/models/ReviewComment.ts +0 -1899
  83. package/generated-sqlite/models/RoleAssignment.ts +0 -1125
  84. package/generated-sqlite/models/SandboxInstance.ts +0 -1283
  85. package/generated-sqlite/models/Share.ts +0 -1674
  86. package/generated-sqlite/models/ShareVersion.ts +0 -1385
  87. package/generated-sqlite/models/SsoMapping.ts +0 -1181
  88. package/generated-sqlite/models/SsoProvider.ts +0 -1266
  89. package/generated-sqlite/models/Story.ts +0 -3263
  90. package/generated-sqlite/models/Subscription.ts +0 -2137
  91. package/generated-sqlite/models/SystemPromptTemplate.ts +0 -1581
  92. package/generated-sqlite/models/SystemPromptVersion.ts +0 -1456
  93. package/generated-sqlite/models/SystemSetting.ts +0 -1215
  94. package/generated-sqlite/models/TeamInvitation.ts +0 -1758
  95. package/generated-sqlite/models/TeamJoinRequest.ts +0 -1793
  96. package/generated-sqlite/models/TeamMembership.ts +0 -1433
  97. package/generated-sqlite/models/Template.ts +0 -1389
  98. package/generated-sqlite/models/TemplateBlock.ts +0 -1660
  99. package/generated-sqlite/models/ThirdPartyDependency.ts +0 -1471
  100. package/generated-sqlite/models/UsageRecord.ts +0 -1498
  101. package/generated-sqlite/models/User.ts +0 -21247
  102. package/generated-sqlite/models/UserAgent.ts +0 -2146
  103. package/generated-sqlite/models/UserSkill.ts +0 -1453
  104. package/generated-sqlite/models/WebsiteBookmark.ts +0 -2215
  105. package/generated-sqlite/models/Workspace.ts +0 -2341
  106. package/generated-sqlite/models/WorkspaceFile.ts +0 -1532
  107. package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +0 -1426
  108. package/generated-sqlite/models/WorkspaceQuickDoc.ts +0 -2025
  109. package/generated-sqlite/models.ts +0 -107
  110. package/schema.sqlite.prisma +0 -2045
@@ -1,1736 +0,0 @@
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 `ChatInterrupt` 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 ChatInterrupt
17
- *
18
- */
19
- export type ChatInterruptModel = runtime.Types.Result.DefaultSelection<Prisma.$ChatInterruptPayload>
20
-
21
- export type AggregateChatInterrupt = {
22
- _count: ChatInterruptCountAggregateOutputType | null
23
- _min: ChatInterruptMinAggregateOutputType | null
24
- _max: ChatInterruptMaxAggregateOutputType | null
25
- }
26
-
27
- export type ChatInterruptMinAggregateOutputType = {
28
- id: string | null
29
- runId: string | null
30
- threadId: string | null
31
- userId: string | null
32
- kind: string | null
33
- toolName: string | null
34
- state: string | null
35
- requestedAt: Date | null
36
- createdAt: Date | null
37
- resolvedAt: Date | null
38
- }
39
-
40
- export type ChatInterruptMaxAggregateOutputType = {
41
- id: string | null
42
- runId: string | null
43
- threadId: string | null
44
- userId: string | null
45
- kind: string | null
46
- toolName: string | null
47
- state: string | null
48
- requestedAt: Date | null
49
- createdAt: Date | null
50
- resolvedAt: Date | null
51
- }
52
-
53
- export type ChatInterruptCountAggregateOutputType = {
54
- id: number
55
- runId: number
56
- threadId: number
57
- userId: number
58
- kind: number
59
- toolName: number
60
- state: number
61
- payload: number
62
- resolution: number
63
- requestedAt: number
64
- createdAt: number
65
- resolvedAt: number
66
- _all: number
67
- }
68
-
69
-
70
- export type ChatInterruptMinAggregateInputType = {
71
- id?: true
72
- runId?: true
73
- threadId?: true
74
- userId?: true
75
- kind?: true
76
- toolName?: true
77
- state?: true
78
- requestedAt?: true
79
- createdAt?: true
80
- resolvedAt?: true
81
- }
82
-
83
- export type ChatInterruptMaxAggregateInputType = {
84
- id?: true
85
- runId?: true
86
- threadId?: true
87
- userId?: true
88
- kind?: true
89
- toolName?: true
90
- state?: true
91
- requestedAt?: true
92
- createdAt?: true
93
- resolvedAt?: true
94
- }
95
-
96
- export type ChatInterruptCountAggregateInputType = {
97
- id?: true
98
- runId?: true
99
- threadId?: true
100
- userId?: true
101
- kind?: true
102
- toolName?: true
103
- state?: true
104
- payload?: true
105
- resolution?: true
106
- requestedAt?: true
107
- createdAt?: true
108
- resolvedAt?: true
109
- _all?: true
110
- }
111
-
112
- export type ChatInterruptAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
113
- /**
114
- * Filter which ChatInterrupt to aggregate.
115
- */
116
- where?: Prisma.ChatInterruptWhereInput
117
- /**
118
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
119
- *
120
- * Determine the order of ChatInterrupts to fetch.
121
- */
122
- orderBy?: Prisma.ChatInterruptOrderByWithRelationInput | Prisma.ChatInterruptOrderByWithRelationInput[]
123
- /**
124
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
125
- *
126
- * Sets the start position
127
- */
128
- cursor?: Prisma.ChatInterruptWhereUniqueInput
129
- /**
130
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
131
- *
132
- * Take `±n` ChatInterrupts from the position of the cursor.
133
- */
134
- take?: number
135
- /**
136
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
137
- *
138
- * Skip the first `n` ChatInterrupts.
139
- */
140
- skip?: number
141
- /**
142
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
143
- *
144
- * Count returned ChatInterrupts
145
- **/
146
- _count?: true | ChatInterruptCountAggregateInputType
147
- /**
148
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
149
- *
150
- * Select which fields to find the minimum value
151
- **/
152
- _min?: ChatInterruptMinAggregateInputType
153
- /**
154
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
155
- *
156
- * Select which fields to find the maximum value
157
- **/
158
- _max?: ChatInterruptMaxAggregateInputType
159
- }
160
-
161
- export type GetChatInterruptAggregateType<T extends ChatInterruptAggregateArgs> = {
162
- [P in keyof T & keyof AggregateChatInterrupt]: P extends '_count' | 'count'
163
- ? T[P] extends true
164
- ? number
165
- : Prisma.GetScalarType<T[P], AggregateChatInterrupt[P]>
166
- : Prisma.GetScalarType<T[P], AggregateChatInterrupt[P]>
167
- }
168
-
169
-
170
-
171
-
172
- export type ChatInterruptGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
173
- where?: Prisma.ChatInterruptWhereInput
174
- orderBy?: Prisma.ChatInterruptOrderByWithAggregationInput | Prisma.ChatInterruptOrderByWithAggregationInput[]
175
- by: Prisma.ChatInterruptScalarFieldEnum[] | Prisma.ChatInterruptScalarFieldEnum
176
- having?: Prisma.ChatInterruptScalarWhereWithAggregatesInput
177
- take?: number
178
- skip?: number
179
- _count?: ChatInterruptCountAggregateInputType | true
180
- _min?: ChatInterruptMinAggregateInputType
181
- _max?: ChatInterruptMaxAggregateInputType
182
- }
183
-
184
- export type ChatInterruptGroupByOutputType = {
185
- id: string
186
- runId: string
187
- threadId: string
188
- userId: string
189
- kind: string
190
- toolName: string | null
191
- state: string
192
- payload: runtime.JsonValue | null
193
- resolution: runtime.JsonValue | null
194
- requestedAt: Date
195
- createdAt: Date
196
- resolvedAt: Date | null
197
- _count: ChatInterruptCountAggregateOutputType | null
198
- _min: ChatInterruptMinAggregateOutputType | null
199
- _max: ChatInterruptMaxAggregateOutputType | null
200
- }
201
-
202
- export type GetChatInterruptGroupByPayload<T extends ChatInterruptGroupByArgs> = Prisma.PrismaPromise<
203
- Array<
204
- Prisma.PickEnumerable<ChatInterruptGroupByOutputType, T['by']> &
205
- {
206
- [P in ((keyof T) & (keyof ChatInterruptGroupByOutputType))]: P extends '_count'
207
- ? T[P] extends boolean
208
- ? number
209
- : Prisma.GetScalarType<T[P], ChatInterruptGroupByOutputType[P]>
210
- : Prisma.GetScalarType<T[P], ChatInterruptGroupByOutputType[P]>
211
- }
212
- >
213
- >
214
-
215
-
216
-
217
- export type ChatInterruptWhereInput = {
218
- AND?: Prisma.ChatInterruptWhereInput | Prisma.ChatInterruptWhereInput[]
219
- OR?: Prisma.ChatInterruptWhereInput[]
220
- NOT?: Prisma.ChatInterruptWhereInput | Prisma.ChatInterruptWhereInput[]
221
- id?: Prisma.StringFilter<"ChatInterrupt"> | string
222
- runId?: Prisma.StringFilter<"ChatInterrupt"> | string
223
- threadId?: Prisma.StringFilter<"ChatInterrupt"> | string
224
- userId?: Prisma.StringFilter<"ChatInterrupt"> | string
225
- kind?: Prisma.StringFilter<"ChatInterrupt"> | string
226
- toolName?: Prisma.StringNullableFilter<"ChatInterrupt"> | string | null
227
- state?: Prisma.StringFilter<"ChatInterrupt"> | string
228
- payload?: Prisma.JsonNullableFilter<"ChatInterrupt">
229
- resolution?: Prisma.JsonNullableFilter<"ChatInterrupt">
230
- requestedAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
231
- createdAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
232
- resolvedAt?: Prisma.DateTimeNullableFilter<"ChatInterrupt"> | Date | string | null
233
- run?: Prisma.XOR<Prisma.ChatRunScalarRelationFilter, Prisma.ChatRunWhereInput>
234
- thread?: Prisma.XOR<Prisma.ChatThreadScalarRelationFilter, Prisma.ChatThreadWhereInput>
235
- }
236
-
237
- export type ChatInterruptOrderByWithRelationInput = {
238
- id?: Prisma.SortOrder
239
- runId?: Prisma.SortOrder
240
- threadId?: Prisma.SortOrder
241
- userId?: Prisma.SortOrder
242
- kind?: Prisma.SortOrder
243
- toolName?: Prisma.SortOrderInput | Prisma.SortOrder
244
- state?: Prisma.SortOrder
245
- payload?: Prisma.SortOrderInput | Prisma.SortOrder
246
- resolution?: Prisma.SortOrderInput | Prisma.SortOrder
247
- requestedAt?: Prisma.SortOrder
248
- createdAt?: Prisma.SortOrder
249
- resolvedAt?: Prisma.SortOrderInput | Prisma.SortOrder
250
- run?: Prisma.ChatRunOrderByWithRelationInput
251
- thread?: Prisma.ChatThreadOrderByWithRelationInput
252
- }
253
-
254
- export type ChatInterruptWhereUniqueInput = Prisma.AtLeast<{
255
- id?: string
256
- AND?: Prisma.ChatInterruptWhereInput | Prisma.ChatInterruptWhereInput[]
257
- OR?: Prisma.ChatInterruptWhereInput[]
258
- NOT?: Prisma.ChatInterruptWhereInput | Prisma.ChatInterruptWhereInput[]
259
- runId?: Prisma.StringFilter<"ChatInterrupt"> | string
260
- threadId?: Prisma.StringFilter<"ChatInterrupt"> | string
261
- userId?: Prisma.StringFilter<"ChatInterrupt"> | string
262
- kind?: Prisma.StringFilter<"ChatInterrupt"> | string
263
- toolName?: Prisma.StringNullableFilter<"ChatInterrupt"> | string | null
264
- state?: Prisma.StringFilter<"ChatInterrupt"> | string
265
- payload?: Prisma.JsonNullableFilter<"ChatInterrupt">
266
- resolution?: Prisma.JsonNullableFilter<"ChatInterrupt">
267
- requestedAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
268
- createdAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
269
- resolvedAt?: Prisma.DateTimeNullableFilter<"ChatInterrupt"> | Date | string | null
270
- run?: Prisma.XOR<Prisma.ChatRunScalarRelationFilter, Prisma.ChatRunWhereInput>
271
- thread?: Prisma.XOR<Prisma.ChatThreadScalarRelationFilter, Prisma.ChatThreadWhereInput>
272
- }, "id">
273
-
274
- export type ChatInterruptOrderByWithAggregationInput = {
275
- id?: Prisma.SortOrder
276
- runId?: Prisma.SortOrder
277
- threadId?: Prisma.SortOrder
278
- userId?: Prisma.SortOrder
279
- kind?: Prisma.SortOrder
280
- toolName?: Prisma.SortOrderInput | Prisma.SortOrder
281
- state?: Prisma.SortOrder
282
- payload?: Prisma.SortOrderInput | Prisma.SortOrder
283
- resolution?: Prisma.SortOrderInput | Prisma.SortOrder
284
- requestedAt?: Prisma.SortOrder
285
- createdAt?: Prisma.SortOrder
286
- resolvedAt?: Prisma.SortOrderInput | Prisma.SortOrder
287
- _count?: Prisma.ChatInterruptCountOrderByAggregateInput
288
- _max?: Prisma.ChatInterruptMaxOrderByAggregateInput
289
- _min?: Prisma.ChatInterruptMinOrderByAggregateInput
290
- }
291
-
292
- export type ChatInterruptScalarWhereWithAggregatesInput = {
293
- AND?: Prisma.ChatInterruptScalarWhereWithAggregatesInput | Prisma.ChatInterruptScalarWhereWithAggregatesInput[]
294
- OR?: Prisma.ChatInterruptScalarWhereWithAggregatesInput[]
295
- NOT?: Prisma.ChatInterruptScalarWhereWithAggregatesInput | Prisma.ChatInterruptScalarWhereWithAggregatesInput[]
296
- id?: Prisma.StringWithAggregatesFilter<"ChatInterrupt"> | string
297
- runId?: Prisma.StringWithAggregatesFilter<"ChatInterrupt"> | string
298
- threadId?: Prisma.StringWithAggregatesFilter<"ChatInterrupt"> | string
299
- userId?: Prisma.StringWithAggregatesFilter<"ChatInterrupt"> | string
300
- kind?: Prisma.StringWithAggregatesFilter<"ChatInterrupt"> | string
301
- toolName?: Prisma.StringNullableWithAggregatesFilter<"ChatInterrupt"> | string | null
302
- state?: Prisma.StringWithAggregatesFilter<"ChatInterrupt"> | string
303
- payload?: Prisma.JsonNullableWithAggregatesFilter<"ChatInterrupt">
304
- resolution?: Prisma.JsonNullableWithAggregatesFilter<"ChatInterrupt">
305
- requestedAt?: Prisma.DateTimeWithAggregatesFilter<"ChatInterrupt"> | Date | string
306
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"ChatInterrupt"> | Date | string
307
- resolvedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ChatInterrupt"> | Date | string | null
308
- }
309
-
310
- export type ChatInterruptCreateInput = {
311
- id?: string
312
- userId: string
313
- kind: string
314
- toolName?: string | null
315
- state: string
316
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
317
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
318
- requestedAt?: Date | string
319
- createdAt?: Date | string
320
- resolvedAt?: Date | string | null
321
- run: Prisma.ChatRunCreateNestedOneWithoutInterruptsInput
322
- thread: Prisma.ChatThreadCreateNestedOneWithoutInterruptsInput
323
- }
324
-
325
- export type ChatInterruptUncheckedCreateInput = {
326
- id?: string
327
- runId: string
328
- threadId: string
329
- userId: string
330
- kind: string
331
- toolName?: string | null
332
- state: string
333
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
334
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
335
- requestedAt?: Date | string
336
- createdAt?: Date | string
337
- resolvedAt?: Date | string | null
338
- }
339
-
340
- export type ChatInterruptUpdateInput = {
341
- id?: Prisma.StringFieldUpdateOperationsInput | string
342
- userId?: Prisma.StringFieldUpdateOperationsInput | string
343
- kind?: Prisma.StringFieldUpdateOperationsInput | string
344
- toolName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
345
- state?: Prisma.StringFieldUpdateOperationsInput | string
346
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
347
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
348
- requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
349
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
350
- resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
351
- run?: Prisma.ChatRunUpdateOneRequiredWithoutInterruptsNestedInput
352
- thread?: Prisma.ChatThreadUpdateOneRequiredWithoutInterruptsNestedInput
353
- }
354
-
355
- export type ChatInterruptUncheckedUpdateInput = {
356
- id?: Prisma.StringFieldUpdateOperationsInput | string
357
- runId?: Prisma.StringFieldUpdateOperationsInput | string
358
- threadId?: Prisma.StringFieldUpdateOperationsInput | string
359
- userId?: Prisma.StringFieldUpdateOperationsInput | string
360
- kind?: Prisma.StringFieldUpdateOperationsInput | string
361
- toolName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
362
- state?: Prisma.StringFieldUpdateOperationsInput | string
363
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
364
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
365
- requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
366
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
367
- resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
368
- }
369
-
370
- export type ChatInterruptCreateManyInput = {
371
- id?: string
372
- runId: string
373
- threadId: string
374
- userId: string
375
- kind: string
376
- toolName?: string | null
377
- state: string
378
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
379
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
380
- requestedAt?: Date | string
381
- createdAt?: Date | string
382
- resolvedAt?: Date | string | null
383
- }
384
-
385
- export type ChatInterruptUpdateManyMutationInput = {
386
- id?: Prisma.StringFieldUpdateOperationsInput | string
387
- userId?: Prisma.StringFieldUpdateOperationsInput | string
388
- kind?: Prisma.StringFieldUpdateOperationsInput | string
389
- toolName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
390
- state?: Prisma.StringFieldUpdateOperationsInput | string
391
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
392
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
393
- requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
394
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
395
- resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
396
- }
397
-
398
- export type ChatInterruptUncheckedUpdateManyInput = {
399
- id?: Prisma.StringFieldUpdateOperationsInput | string
400
- runId?: Prisma.StringFieldUpdateOperationsInput | string
401
- threadId?: Prisma.StringFieldUpdateOperationsInput | string
402
- userId?: Prisma.StringFieldUpdateOperationsInput | string
403
- kind?: Prisma.StringFieldUpdateOperationsInput | string
404
- toolName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
405
- state?: Prisma.StringFieldUpdateOperationsInput | string
406
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
407
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
408
- requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
409
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
410
- resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
411
- }
412
-
413
- export type ChatInterruptListRelationFilter = {
414
- every?: Prisma.ChatInterruptWhereInput
415
- some?: Prisma.ChatInterruptWhereInput
416
- none?: Prisma.ChatInterruptWhereInput
417
- }
418
-
419
- export type ChatInterruptOrderByRelationAggregateInput = {
420
- _count?: Prisma.SortOrder
421
- }
422
-
423
- export type ChatInterruptCountOrderByAggregateInput = {
424
- id?: Prisma.SortOrder
425
- runId?: Prisma.SortOrder
426
- threadId?: Prisma.SortOrder
427
- userId?: Prisma.SortOrder
428
- kind?: Prisma.SortOrder
429
- toolName?: Prisma.SortOrder
430
- state?: Prisma.SortOrder
431
- payload?: Prisma.SortOrder
432
- resolution?: Prisma.SortOrder
433
- requestedAt?: Prisma.SortOrder
434
- createdAt?: Prisma.SortOrder
435
- resolvedAt?: Prisma.SortOrder
436
- }
437
-
438
- export type ChatInterruptMaxOrderByAggregateInput = {
439
- id?: Prisma.SortOrder
440
- runId?: Prisma.SortOrder
441
- threadId?: Prisma.SortOrder
442
- userId?: Prisma.SortOrder
443
- kind?: Prisma.SortOrder
444
- toolName?: Prisma.SortOrder
445
- state?: Prisma.SortOrder
446
- requestedAt?: Prisma.SortOrder
447
- createdAt?: Prisma.SortOrder
448
- resolvedAt?: Prisma.SortOrder
449
- }
450
-
451
- export type ChatInterruptMinOrderByAggregateInput = {
452
- id?: Prisma.SortOrder
453
- runId?: Prisma.SortOrder
454
- threadId?: Prisma.SortOrder
455
- userId?: Prisma.SortOrder
456
- kind?: Prisma.SortOrder
457
- toolName?: Prisma.SortOrder
458
- state?: Prisma.SortOrder
459
- requestedAt?: Prisma.SortOrder
460
- createdAt?: Prisma.SortOrder
461
- resolvedAt?: Prisma.SortOrder
462
- }
463
-
464
- export type ChatInterruptCreateNestedManyWithoutThreadInput = {
465
- create?: Prisma.XOR<Prisma.ChatInterruptCreateWithoutThreadInput, Prisma.ChatInterruptUncheckedCreateWithoutThreadInput> | Prisma.ChatInterruptCreateWithoutThreadInput[] | Prisma.ChatInterruptUncheckedCreateWithoutThreadInput[]
466
- connectOrCreate?: Prisma.ChatInterruptCreateOrConnectWithoutThreadInput | Prisma.ChatInterruptCreateOrConnectWithoutThreadInput[]
467
- createMany?: Prisma.ChatInterruptCreateManyThreadInputEnvelope
468
- connect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
469
- }
470
-
471
- export type ChatInterruptUncheckedCreateNestedManyWithoutThreadInput = {
472
- create?: Prisma.XOR<Prisma.ChatInterruptCreateWithoutThreadInput, Prisma.ChatInterruptUncheckedCreateWithoutThreadInput> | Prisma.ChatInterruptCreateWithoutThreadInput[] | Prisma.ChatInterruptUncheckedCreateWithoutThreadInput[]
473
- connectOrCreate?: Prisma.ChatInterruptCreateOrConnectWithoutThreadInput | Prisma.ChatInterruptCreateOrConnectWithoutThreadInput[]
474
- createMany?: Prisma.ChatInterruptCreateManyThreadInputEnvelope
475
- connect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
476
- }
477
-
478
- export type ChatInterruptUpdateManyWithoutThreadNestedInput = {
479
- create?: Prisma.XOR<Prisma.ChatInterruptCreateWithoutThreadInput, Prisma.ChatInterruptUncheckedCreateWithoutThreadInput> | Prisma.ChatInterruptCreateWithoutThreadInput[] | Prisma.ChatInterruptUncheckedCreateWithoutThreadInput[]
480
- connectOrCreate?: Prisma.ChatInterruptCreateOrConnectWithoutThreadInput | Prisma.ChatInterruptCreateOrConnectWithoutThreadInput[]
481
- upsert?: Prisma.ChatInterruptUpsertWithWhereUniqueWithoutThreadInput | Prisma.ChatInterruptUpsertWithWhereUniqueWithoutThreadInput[]
482
- createMany?: Prisma.ChatInterruptCreateManyThreadInputEnvelope
483
- set?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
484
- disconnect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
485
- delete?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
486
- connect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
487
- update?: Prisma.ChatInterruptUpdateWithWhereUniqueWithoutThreadInput | Prisma.ChatInterruptUpdateWithWhereUniqueWithoutThreadInput[]
488
- updateMany?: Prisma.ChatInterruptUpdateManyWithWhereWithoutThreadInput | Prisma.ChatInterruptUpdateManyWithWhereWithoutThreadInput[]
489
- deleteMany?: Prisma.ChatInterruptScalarWhereInput | Prisma.ChatInterruptScalarWhereInput[]
490
- }
491
-
492
- export type ChatInterruptUncheckedUpdateManyWithoutThreadNestedInput = {
493
- create?: Prisma.XOR<Prisma.ChatInterruptCreateWithoutThreadInput, Prisma.ChatInterruptUncheckedCreateWithoutThreadInput> | Prisma.ChatInterruptCreateWithoutThreadInput[] | Prisma.ChatInterruptUncheckedCreateWithoutThreadInput[]
494
- connectOrCreate?: Prisma.ChatInterruptCreateOrConnectWithoutThreadInput | Prisma.ChatInterruptCreateOrConnectWithoutThreadInput[]
495
- upsert?: Prisma.ChatInterruptUpsertWithWhereUniqueWithoutThreadInput | Prisma.ChatInterruptUpsertWithWhereUniqueWithoutThreadInput[]
496
- createMany?: Prisma.ChatInterruptCreateManyThreadInputEnvelope
497
- set?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
498
- disconnect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
499
- delete?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
500
- connect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
501
- update?: Prisma.ChatInterruptUpdateWithWhereUniqueWithoutThreadInput | Prisma.ChatInterruptUpdateWithWhereUniqueWithoutThreadInput[]
502
- updateMany?: Prisma.ChatInterruptUpdateManyWithWhereWithoutThreadInput | Prisma.ChatInterruptUpdateManyWithWhereWithoutThreadInput[]
503
- deleteMany?: Prisma.ChatInterruptScalarWhereInput | Prisma.ChatInterruptScalarWhereInput[]
504
- }
505
-
506
- export type ChatInterruptCreateNestedManyWithoutRunInput = {
507
- create?: Prisma.XOR<Prisma.ChatInterruptCreateWithoutRunInput, Prisma.ChatInterruptUncheckedCreateWithoutRunInput> | Prisma.ChatInterruptCreateWithoutRunInput[] | Prisma.ChatInterruptUncheckedCreateWithoutRunInput[]
508
- connectOrCreate?: Prisma.ChatInterruptCreateOrConnectWithoutRunInput | Prisma.ChatInterruptCreateOrConnectWithoutRunInput[]
509
- createMany?: Prisma.ChatInterruptCreateManyRunInputEnvelope
510
- connect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
511
- }
512
-
513
- export type ChatInterruptUncheckedCreateNestedManyWithoutRunInput = {
514
- create?: Prisma.XOR<Prisma.ChatInterruptCreateWithoutRunInput, Prisma.ChatInterruptUncheckedCreateWithoutRunInput> | Prisma.ChatInterruptCreateWithoutRunInput[] | Prisma.ChatInterruptUncheckedCreateWithoutRunInput[]
515
- connectOrCreate?: Prisma.ChatInterruptCreateOrConnectWithoutRunInput | Prisma.ChatInterruptCreateOrConnectWithoutRunInput[]
516
- createMany?: Prisma.ChatInterruptCreateManyRunInputEnvelope
517
- connect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
518
- }
519
-
520
- export type ChatInterruptUpdateManyWithoutRunNestedInput = {
521
- create?: Prisma.XOR<Prisma.ChatInterruptCreateWithoutRunInput, Prisma.ChatInterruptUncheckedCreateWithoutRunInput> | Prisma.ChatInterruptCreateWithoutRunInput[] | Prisma.ChatInterruptUncheckedCreateWithoutRunInput[]
522
- connectOrCreate?: Prisma.ChatInterruptCreateOrConnectWithoutRunInput | Prisma.ChatInterruptCreateOrConnectWithoutRunInput[]
523
- upsert?: Prisma.ChatInterruptUpsertWithWhereUniqueWithoutRunInput | Prisma.ChatInterruptUpsertWithWhereUniqueWithoutRunInput[]
524
- createMany?: Prisma.ChatInterruptCreateManyRunInputEnvelope
525
- set?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
526
- disconnect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
527
- delete?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
528
- connect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
529
- update?: Prisma.ChatInterruptUpdateWithWhereUniqueWithoutRunInput | Prisma.ChatInterruptUpdateWithWhereUniqueWithoutRunInput[]
530
- updateMany?: Prisma.ChatInterruptUpdateManyWithWhereWithoutRunInput | Prisma.ChatInterruptUpdateManyWithWhereWithoutRunInput[]
531
- deleteMany?: Prisma.ChatInterruptScalarWhereInput | Prisma.ChatInterruptScalarWhereInput[]
532
- }
533
-
534
- export type ChatInterruptUncheckedUpdateManyWithoutRunNestedInput = {
535
- create?: Prisma.XOR<Prisma.ChatInterruptCreateWithoutRunInput, Prisma.ChatInterruptUncheckedCreateWithoutRunInput> | Prisma.ChatInterruptCreateWithoutRunInput[] | Prisma.ChatInterruptUncheckedCreateWithoutRunInput[]
536
- connectOrCreate?: Prisma.ChatInterruptCreateOrConnectWithoutRunInput | Prisma.ChatInterruptCreateOrConnectWithoutRunInput[]
537
- upsert?: Prisma.ChatInterruptUpsertWithWhereUniqueWithoutRunInput | Prisma.ChatInterruptUpsertWithWhereUniqueWithoutRunInput[]
538
- createMany?: Prisma.ChatInterruptCreateManyRunInputEnvelope
539
- set?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
540
- disconnect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
541
- delete?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
542
- connect?: Prisma.ChatInterruptWhereUniqueInput | Prisma.ChatInterruptWhereUniqueInput[]
543
- update?: Prisma.ChatInterruptUpdateWithWhereUniqueWithoutRunInput | Prisma.ChatInterruptUpdateWithWhereUniqueWithoutRunInput[]
544
- updateMany?: Prisma.ChatInterruptUpdateManyWithWhereWithoutRunInput | Prisma.ChatInterruptUpdateManyWithWhereWithoutRunInput[]
545
- deleteMany?: Prisma.ChatInterruptScalarWhereInput | Prisma.ChatInterruptScalarWhereInput[]
546
- }
547
-
548
- export type ChatInterruptCreateWithoutThreadInput = {
549
- id?: string
550
- userId: string
551
- kind: string
552
- toolName?: string | null
553
- state: string
554
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
555
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
556
- requestedAt?: Date | string
557
- createdAt?: Date | string
558
- resolvedAt?: Date | string | null
559
- run: Prisma.ChatRunCreateNestedOneWithoutInterruptsInput
560
- }
561
-
562
- export type ChatInterruptUncheckedCreateWithoutThreadInput = {
563
- id?: string
564
- runId: string
565
- userId: string
566
- kind: string
567
- toolName?: string | null
568
- state: string
569
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
570
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
571
- requestedAt?: Date | string
572
- createdAt?: Date | string
573
- resolvedAt?: Date | string | null
574
- }
575
-
576
- export type ChatInterruptCreateOrConnectWithoutThreadInput = {
577
- where: Prisma.ChatInterruptWhereUniqueInput
578
- create: Prisma.XOR<Prisma.ChatInterruptCreateWithoutThreadInput, Prisma.ChatInterruptUncheckedCreateWithoutThreadInput>
579
- }
580
-
581
- export type ChatInterruptCreateManyThreadInputEnvelope = {
582
- data: Prisma.ChatInterruptCreateManyThreadInput | Prisma.ChatInterruptCreateManyThreadInput[]
583
- }
584
-
585
- export type ChatInterruptUpsertWithWhereUniqueWithoutThreadInput = {
586
- where: Prisma.ChatInterruptWhereUniqueInput
587
- update: Prisma.XOR<Prisma.ChatInterruptUpdateWithoutThreadInput, Prisma.ChatInterruptUncheckedUpdateWithoutThreadInput>
588
- create: Prisma.XOR<Prisma.ChatInterruptCreateWithoutThreadInput, Prisma.ChatInterruptUncheckedCreateWithoutThreadInput>
589
- }
590
-
591
- export type ChatInterruptUpdateWithWhereUniqueWithoutThreadInput = {
592
- where: Prisma.ChatInterruptWhereUniqueInput
593
- data: Prisma.XOR<Prisma.ChatInterruptUpdateWithoutThreadInput, Prisma.ChatInterruptUncheckedUpdateWithoutThreadInput>
594
- }
595
-
596
- export type ChatInterruptUpdateManyWithWhereWithoutThreadInput = {
597
- where: Prisma.ChatInterruptScalarWhereInput
598
- data: Prisma.XOR<Prisma.ChatInterruptUpdateManyMutationInput, Prisma.ChatInterruptUncheckedUpdateManyWithoutThreadInput>
599
- }
600
-
601
- export type ChatInterruptScalarWhereInput = {
602
- AND?: Prisma.ChatInterruptScalarWhereInput | Prisma.ChatInterruptScalarWhereInput[]
603
- OR?: Prisma.ChatInterruptScalarWhereInput[]
604
- NOT?: Prisma.ChatInterruptScalarWhereInput | Prisma.ChatInterruptScalarWhereInput[]
605
- id?: Prisma.StringFilter<"ChatInterrupt"> | string
606
- runId?: Prisma.StringFilter<"ChatInterrupt"> | string
607
- threadId?: Prisma.StringFilter<"ChatInterrupt"> | string
608
- userId?: Prisma.StringFilter<"ChatInterrupt"> | string
609
- kind?: Prisma.StringFilter<"ChatInterrupt"> | string
610
- toolName?: Prisma.StringNullableFilter<"ChatInterrupt"> | string | null
611
- state?: Prisma.StringFilter<"ChatInterrupt"> | string
612
- payload?: Prisma.JsonNullableFilter<"ChatInterrupt">
613
- resolution?: Prisma.JsonNullableFilter<"ChatInterrupt">
614
- requestedAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
615
- createdAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
616
- resolvedAt?: Prisma.DateTimeNullableFilter<"ChatInterrupt"> | Date | string | null
617
- }
618
-
619
- export type ChatInterruptCreateWithoutRunInput = {
620
- id?: string
621
- userId: string
622
- kind: string
623
- toolName?: string | null
624
- state: string
625
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
626
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
627
- requestedAt?: Date | string
628
- createdAt?: Date | string
629
- resolvedAt?: Date | string | null
630
- thread: Prisma.ChatThreadCreateNestedOneWithoutInterruptsInput
631
- }
632
-
633
- export type ChatInterruptUncheckedCreateWithoutRunInput = {
634
- id?: string
635
- threadId: string
636
- userId: string
637
- kind: string
638
- toolName?: string | null
639
- state: string
640
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
641
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
642
- requestedAt?: Date | string
643
- createdAt?: Date | string
644
- resolvedAt?: Date | string | null
645
- }
646
-
647
- export type ChatInterruptCreateOrConnectWithoutRunInput = {
648
- where: Prisma.ChatInterruptWhereUniqueInput
649
- create: Prisma.XOR<Prisma.ChatInterruptCreateWithoutRunInput, Prisma.ChatInterruptUncheckedCreateWithoutRunInput>
650
- }
651
-
652
- export type ChatInterruptCreateManyRunInputEnvelope = {
653
- data: Prisma.ChatInterruptCreateManyRunInput | Prisma.ChatInterruptCreateManyRunInput[]
654
- }
655
-
656
- export type ChatInterruptUpsertWithWhereUniqueWithoutRunInput = {
657
- where: Prisma.ChatInterruptWhereUniqueInput
658
- update: Prisma.XOR<Prisma.ChatInterruptUpdateWithoutRunInput, Prisma.ChatInterruptUncheckedUpdateWithoutRunInput>
659
- create: Prisma.XOR<Prisma.ChatInterruptCreateWithoutRunInput, Prisma.ChatInterruptUncheckedCreateWithoutRunInput>
660
- }
661
-
662
- export type ChatInterruptUpdateWithWhereUniqueWithoutRunInput = {
663
- where: Prisma.ChatInterruptWhereUniqueInput
664
- data: Prisma.XOR<Prisma.ChatInterruptUpdateWithoutRunInput, Prisma.ChatInterruptUncheckedUpdateWithoutRunInput>
665
- }
666
-
667
- export type ChatInterruptUpdateManyWithWhereWithoutRunInput = {
668
- where: Prisma.ChatInterruptScalarWhereInput
669
- data: Prisma.XOR<Prisma.ChatInterruptUpdateManyMutationInput, Prisma.ChatInterruptUncheckedUpdateManyWithoutRunInput>
670
- }
671
-
672
- export type ChatInterruptCreateManyThreadInput = {
673
- id?: string
674
- runId: string
675
- userId: string
676
- kind: string
677
- toolName?: string | null
678
- state: string
679
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
680
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
681
- requestedAt?: Date | string
682
- createdAt?: Date | string
683
- resolvedAt?: Date | string | null
684
- }
685
-
686
- export type ChatInterruptUpdateWithoutThreadInput = {
687
- id?: Prisma.StringFieldUpdateOperationsInput | string
688
- userId?: Prisma.StringFieldUpdateOperationsInput | string
689
- kind?: Prisma.StringFieldUpdateOperationsInput | string
690
- toolName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
691
- state?: Prisma.StringFieldUpdateOperationsInput | string
692
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
693
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
694
- requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
695
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
696
- resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
697
- run?: Prisma.ChatRunUpdateOneRequiredWithoutInterruptsNestedInput
698
- }
699
-
700
- export type ChatInterruptUncheckedUpdateWithoutThreadInput = {
701
- id?: Prisma.StringFieldUpdateOperationsInput | string
702
- runId?: Prisma.StringFieldUpdateOperationsInput | string
703
- userId?: Prisma.StringFieldUpdateOperationsInput | string
704
- kind?: Prisma.StringFieldUpdateOperationsInput | string
705
- toolName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
706
- state?: Prisma.StringFieldUpdateOperationsInput | string
707
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
708
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
709
- requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
710
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
711
- resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
712
- }
713
-
714
- export type ChatInterruptUncheckedUpdateManyWithoutThreadInput = {
715
- id?: Prisma.StringFieldUpdateOperationsInput | string
716
- runId?: Prisma.StringFieldUpdateOperationsInput | string
717
- userId?: Prisma.StringFieldUpdateOperationsInput | string
718
- kind?: Prisma.StringFieldUpdateOperationsInput | string
719
- toolName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
720
- state?: Prisma.StringFieldUpdateOperationsInput | string
721
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
722
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
723
- requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
724
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
725
- resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
726
- }
727
-
728
- export type ChatInterruptCreateManyRunInput = {
729
- id?: string
730
- threadId: string
731
- userId: string
732
- kind: string
733
- toolName?: string | null
734
- state: string
735
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
736
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
737
- requestedAt?: Date | string
738
- createdAt?: Date | string
739
- resolvedAt?: Date | string | null
740
- }
741
-
742
- export type ChatInterruptUpdateWithoutRunInput = {
743
- id?: Prisma.StringFieldUpdateOperationsInput | string
744
- userId?: Prisma.StringFieldUpdateOperationsInput | string
745
- kind?: Prisma.StringFieldUpdateOperationsInput | string
746
- toolName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
747
- state?: Prisma.StringFieldUpdateOperationsInput | string
748
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
749
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
750
- requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
751
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
752
- resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
753
- thread?: Prisma.ChatThreadUpdateOneRequiredWithoutInterruptsNestedInput
754
- }
755
-
756
- export type ChatInterruptUncheckedUpdateWithoutRunInput = {
757
- id?: Prisma.StringFieldUpdateOperationsInput | string
758
- threadId?: Prisma.StringFieldUpdateOperationsInput | string
759
- userId?: Prisma.StringFieldUpdateOperationsInput | string
760
- kind?: Prisma.StringFieldUpdateOperationsInput | string
761
- toolName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
762
- state?: Prisma.StringFieldUpdateOperationsInput | string
763
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
764
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
765
- requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
766
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
767
- resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
768
- }
769
-
770
- export type ChatInterruptUncheckedUpdateManyWithoutRunInput = {
771
- id?: Prisma.StringFieldUpdateOperationsInput | string
772
- threadId?: Prisma.StringFieldUpdateOperationsInput | string
773
- userId?: Prisma.StringFieldUpdateOperationsInput | string
774
- kind?: Prisma.StringFieldUpdateOperationsInput | string
775
- toolName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
776
- state?: Prisma.StringFieldUpdateOperationsInput | string
777
- payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
778
- resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
779
- requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
780
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
781
- resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
782
- }
783
-
784
-
785
-
786
- export type ChatInterruptSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
787
- id?: boolean
788
- runId?: boolean
789
- threadId?: boolean
790
- userId?: boolean
791
- kind?: boolean
792
- toolName?: boolean
793
- state?: boolean
794
- payload?: boolean
795
- resolution?: boolean
796
- requestedAt?: boolean
797
- createdAt?: boolean
798
- resolvedAt?: boolean
799
- run?: boolean | Prisma.ChatRunDefaultArgs<ExtArgs>
800
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
801
- }, ExtArgs["result"]["chatInterrupt"]>
802
-
803
- export type ChatInterruptSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
804
- id?: boolean
805
- runId?: boolean
806
- threadId?: boolean
807
- userId?: boolean
808
- kind?: boolean
809
- toolName?: boolean
810
- state?: boolean
811
- payload?: boolean
812
- resolution?: boolean
813
- requestedAt?: boolean
814
- createdAt?: boolean
815
- resolvedAt?: boolean
816
- run?: boolean | Prisma.ChatRunDefaultArgs<ExtArgs>
817
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
818
- }, ExtArgs["result"]["chatInterrupt"]>
819
-
820
- export type ChatInterruptSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
821
- id?: boolean
822
- runId?: boolean
823
- threadId?: boolean
824
- userId?: boolean
825
- kind?: boolean
826
- toolName?: boolean
827
- state?: boolean
828
- payload?: boolean
829
- resolution?: boolean
830
- requestedAt?: boolean
831
- createdAt?: boolean
832
- resolvedAt?: boolean
833
- run?: boolean | Prisma.ChatRunDefaultArgs<ExtArgs>
834
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
835
- }, ExtArgs["result"]["chatInterrupt"]>
836
-
837
- export type ChatInterruptSelectScalar = {
838
- id?: boolean
839
- runId?: boolean
840
- threadId?: boolean
841
- userId?: boolean
842
- kind?: boolean
843
- toolName?: boolean
844
- state?: boolean
845
- payload?: boolean
846
- resolution?: boolean
847
- requestedAt?: boolean
848
- createdAt?: boolean
849
- resolvedAt?: boolean
850
- }
851
-
852
- export type ChatInterruptOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "runId" | "threadId" | "userId" | "kind" | "toolName" | "state" | "payload" | "resolution" | "requestedAt" | "createdAt" | "resolvedAt", ExtArgs["result"]["chatInterrupt"]>
853
- export type ChatInterruptInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
854
- run?: boolean | Prisma.ChatRunDefaultArgs<ExtArgs>
855
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
856
- }
857
- export type ChatInterruptIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
858
- run?: boolean | Prisma.ChatRunDefaultArgs<ExtArgs>
859
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
860
- }
861
- export type ChatInterruptIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
862
- run?: boolean | Prisma.ChatRunDefaultArgs<ExtArgs>
863
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
864
- }
865
-
866
- export type $ChatInterruptPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
867
- name: "ChatInterrupt"
868
- objects: {
869
- run: Prisma.$ChatRunPayload<ExtArgs>
870
- thread: Prisma.$ChatThreadPayload<ExtArgs>
871
- }
872
- scalars: runtime.Types.Extensions.GetPayloadResult<{
873
- id: string
874
- runId: string
875
- threadId: string
876
- userId: string
877
- kind: string
878
- toolName: string | null
879
- state: string
880
- payload: runtime.JsonValue | null
881
- resolution: runtime.JsonValue | null
882
- requestedAt: Date
883
- createdAt: Date
884
- resolvedAt: Date | null
885
- }, ExtArgs["result"]["chatInterrupt"]>
886
- composites: {}
887
- }
888
-
889
- export type ChatInterruptGetPayload<S extends boolean | null | undefined | ChatInterruptDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload, S>
890
-
891
- export type ChatInterruptCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
892
- Omit<ChatInterruptFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
893
- select?: ChatInterruptCountAggregateInputType | true
894
- }
895
-
896
- export interface ChatInterruptDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
897
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ChatInterrupt'], meta: { name: 'ChatInterrupt' } }
898
- /**
899
- * Find zero or one ChatInterrupt that matches the filter.
900
- * @param {ChatInterruptFindUniqueArgs} args - Arguments to find a ChatInterrupt
901
- * @example
902
- * // Get one ChatInterrupt
903
- * const chatInterrupt = await prisma.chatInterrupt.findUnique({
904
- * where: {
905
- * // ... provide filter here
906
- * }
907
- * })
908
- */
909
- findUnique<T extends ChatInterruptFindUniqueArgs>(args: Prisma.SelectSubset<T, ChatInterruptFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ChatInterruptClient<runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
910
-
911
- /**
912
- * Find one ChatInterrupt that matches the filter or throw an error with `error.code='P2025'`
913
- * if no matches were found.
914
- * @param {ChatInterruptFindUniqueOrThrowArgs} args - Arguments to find a ChatInterrupt
915
- * @example
916
- * // Get one ChatInterrupt
917
- * const chatInterrupt = await prisma.chatInterrupt.findUniqueOrThrow({
918
- * where: {
919
- * // ... provide filter here
920
- * }
921
- * })
922
- */
923
- findUniqueOrThrow<T extends ChatInterruptFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ChatInterruptFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChatInterruptClient<runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
924
-
925
- /**
926
- * Find the first ChatInterrupt that matches the filter.
927
- * Note, that providing `undefined` is treated as the value not being there.
928
- * Read more here: https://pris.ly/d/null-undefined
929
- * @param {ChatInterruptFindFirstArgs} args - Arguments to find a ChatInterrupt
930
- * @example
931
- * // Get one ChatInterrupt
932
- * const chatInterrupt = await prisma.chatInterrupt.findFirst({
933
- * where: {
934
- * // ... provide filter here
935
- * }
936
- * })
937
- */
938
- findFirst<T extends ChatInterruptFindFirstArgs>(args?: Prisma.SelectSubset<T, ChatInterruptFindFirstArgs<ExtArgs>>): Prisma.Prisma__ChatInterruptClient<runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
939
-
940
- /**
941
- * Find the first ChatInterrupt that matches the filter or
942
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
943
- * Note, that providing `undefined` is treated as the value not being there.
944
- * Read more here: https://pris.ly/d/null-undefined
945
- * @param {ChatInterruptFindFirstOrThrowArgs} args - Arguments to find a ChatInterrupt
946
- * @example
947
- * // Get one ChatInterrupt
948
- * const chatInterrupt = await prisma.chatInterrupt.findFirstOrThrow({
949
- * where: {
950
- * // ... provide filter here
951
- * }
952
- * })
953
- */
954
- findFirstOrThrow<T extends ChatInterruptFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ChatInterruptFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChatInterruptClient<runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
955
-
956
- /**
957
- * Find zero or more ChatInterrupts that matches the filter.
958
- * Note, that providing `undefined` is treated as the value not being there.
959
- * Read more here: https://pris.ly/d/null-undefined
960
- * @param {ChatInterruptFindManyArgs} args - Arguments to filter and select certain fields only.
961
- * @example
962
- * // Get all ChatInterrupts
963
- * const chatInterrupts = await prisma.chatInterrupt.findMany()
964
- *
965
- * // Get first 10 ChatInterrupts
966
- * const chatInterrupts = await prisma.chatInterrupt.findMany({ take: 10 })
967
- *
968
- * // Only select the `id`
969
- * const chatInterruptWithIdOnly = await prisma.chatInterrupt.findMany({ select: { id: true } })
970
- *
971
- */
972
- findMany<T extends ChatInterruptFindManyArgs>(args?: Prisma.SelectSubset<T, ChatInterruptFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
973
-
974
- /**
975
- * Create a ChatInterrupt.
976
- * @param {ChatInterruptCreateArgs} args - Arguments to create a ChatInterrupt.
977
- * @example
978
- * // Create one ChatInterrupt
979
- * const ChatInterrupt = await prisma.chatInterrupt.create({
980
- * data: {
981
- * // ... data to create a ChatInterrupt
982
- * }
983
- * })
984
- *
985
- */
986
- create<T extends ChatInterruptCreateArgs>(args: Prisma.SelectSubset<T, ChatInterruptCreateArgs<ExtArgs>>): Prisma.Prisma__ChatInterruptClient<runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
987
-
988
- /**
989
- * Create many ChatInterrupts.
990
- * @param {ChatInterruptCreateManyArgs} args - Arguments to create many ChatInterrupts.
991
- * @example
992
- * // Create many ChatInterrupts
993
- * const chatInterrupt = await prisma.chatInterrupt.createMany({
994
- * data: [
995
- * // ... provide data here
996
- * ]
997
- * })
998
- *
999
- */
1000
- createMany<T extends ChatInterruptCreateManyArgs>(args?: Prisma.SelectSubset<T, ChatInterruptCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1001
-
1002
- /**
1003
- * Create many ChatInterrupts and returns the data saved in the database.
1004
- * @param {ChatInterruptCreateManyAndReturnArgs} args - Arguments to create many ChatInterrupts.
1005
- * @example
1006
- * // Create many ChatInterrupts
1007
- * const chatInterrupt = await prisma.chatInterrupt.createManyAndReturn({
1008
- * data: [
1009
- * // ... provide data here
1010
- * ]
1011
- * })
1012
- *
1013
- * // Create many ChatInterrupts and only return the `id`
1014
- * const chatInterruptWithIdOnly = await prisma.chatInterrupt.createManyAndReturn({
1015
- * select: { id: true },
1016
- * data: [
1017
- * // ... provide data here
1018
- * ]
1019
- * })
1020
- * Note, that providing `undefined` is treated as the value not being there.
1021
- * Read more here: https://pris.ly/d/null-undefined
1022
- *
1023
- */
1024
- createManyAndReturn<T extends ChatInterruptCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ChatInterruptCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1025
-
1026
- /**
1027
- * Delete a ChatInterrupt.
1028
- * @param {ChatInterruptDeleteArgs} args - Arguments to delete one ChatInterrupt.
1029
- * @example
1030
- * // Delete one ChatInterrupt
1031
- * const ChatInterrupt = await prisma.chatInterrupt.delete({
1032
- * where: {
1033
- * // ... filter to delete one ChatInterrupt
1034
- * }
1035
- * })
1036
- *
1037
- */
1038
- delete<T extends ChatInterruptDeleteArgs>(args: Prisma.SelectSubset<T, ChatInterruptDeleteArgs<ExtArgs>>): Prisma.Prisma__ChatInterruptClient<runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1039
-
1040
- /**
1041
- * Update one ChatInterrupt.
1042
- * @param {ChatInterruptUpdateArgs} args - Arguments to update one ChatInterrupt.
1043
- * @example
1044
- * // Update one ChatInterrupt
1045
- * const chatInterrupt = await prisma.chatInterrupt.update({
1046
- * where: {
1047
- * // ... provide filter here
1048
- * },
1049
- * data: {
1050
- * // ... provide data here
1051
- * }
1052
- * })
1053
- *
1054
- */
1055
- update<T extends ChatInterruptUpdateArgs>(args: Prisma.SelectSubset<T, ChatInterruptUpdateArgs<ExtArgs>>): Prisma.Prisma__ChatInterruptClient<runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1056
-
1057
- /**
1058
- * Delete zero or more ChatInterrupts.
1059
- * @param {ChatInterruptDeleteManyArgs} args - Arguments to filter ChatInterrupts to delete.
1060
- * @example
1061
- * // Delete a few ChatInterrupts
1062
- * const { count } = await prisma.chatInterrupt.deleteMany({
1063
- * where: {
1064
- * // ... provide filter here
1065
- * }
1066
- * })
1067
- *
1068
- */
1069
- deleteMany<T extends ChatInterruptDeleteManyArgs>(args?: Prisma.SelectSubset<T, ChatInterruptDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1070
-
1071
- /**
1072
- * Update zero or more ChatInterrupts.
1073
- * Note, that providing `undefined` is treated as the value not being there.
1074
- * Read more here: https://pris.ly/d/null-undefined
1075
- * @param {ChatInterruptUpdateManyArgs} args - Arguments to update one or more rows.
1076
- * @example
1077
- * // Update many ChatInterrupts
1078
- * const chatInterrupt = await prisma.chatInterrupt.updateMany({
1079
- * where: {
1080
- * // ... provide filter here
1081
- * },
1082
- * data: {
1083
- * // ... provide data here
1084
- * }
1085
- * })
1086
- *
1087
- */
1088
- updateMany<T extends ChatInterruptUpdateManyArgs>(args: Prisma.SelectSubset<T, ChatInterruptUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1089
-
1090
- /**
1091
- * Update zero or more ChatInterrupts and returns the data updated in the database.
1092
- * @param {ChatInterruptUpdateManyAndReturnArgs} args - Arguments to update many ChatInterrupts.
1093
- * @example
1094
- * // Update many ChatInterrupts
1095
- * const chatInterrupt = await prisma.chatInterrupt.updateManyAndReturn({
1096
- * where: {
1097
- * // ... provide filter here
1098
- * },
1099
- * data: [
1100
- * // ... provide data here
1101
- * ]
1102
- * })
1103
- *
1104
- * // Update zero or more ChatInterrupts and only return the `id`
1105
- * const chatInterruptWithIdOnly = await prisma.chatInterrupt.updateManyAndReturn({
1106
- * select: { id: true },
1107
- * where: {
1108
- * // ... provide filter here
1109
- * },
1110
- * data: [
1111
- * // ... provide data here
1112
- * ]
1113
- * })
1114
- * Note, that providing `undefined` is treated as the value not being there.
1115
- * Read more here: https://pris.ly/d/null-undefined
1116
- *
1117
- */
1118
- updateManyAndReturn<T extends ChatInterruptUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ChatInterruptUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1119
-
1120
- /**
1121
- * Create or update one ChatInterrupt.
1122
- * @param {ChatInterruptUpsertArgs} args - Arguments to update or create a ChatInterrupt.
1123
- * @example
1124
- * // Update or create a ChatInterrupt
1125
- * const chatInterrupt = await prisma.chatInterrupt.upsert({
1126
- * create: {
1127
- * // ... data to create a ChatInterrupt
1128
- * },
1129
- * update: {
1130
- * // ... in case it already exists, update
1131
- * },
1132
- * where: {
1133
- * // ... the filter for the ChatInterrupt we want to update
1134
- * }
1135
- * })
1136
- */
1137
- upsert<T extends ChatInterruptUpsertArgs>(args: Prisma.SelectSubset<T, ChatInterruptUpsertArgs<ExtArgs>>): Prisma.Prisma__ChatInterruptClient<runtime.Types.Result.GetResult<Prisma.$ChatInterruptPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1138
-
1139
-
1140
- /**
1141
- * Count the number of ChatInterrupts.
1142
- * Note, that providing `undefined` is treated as the value not being there.
1143
- * Read more here: https://pris.ly/d/null-undefined
1144
- * @param {ChatInterruptCountArgs} args - Arguments to filter ChatInterrupts to count.
1145
- * @example
1146
- * // Count the number of ChatInterrupts
1147
- * const count = await prisma.chatInterrupt.count({
1148
- * where: {
1149
- * // ... the filter for the ChatInterrupts we want to count
1150
- * }
1151
- * })
1152
- **/
1153
- count<T extends ChatInterruptCountArgs>(
1154
- args?: Prisma.Subset<T, ChatInterruptCountArgs>,
1155
- ): Prisma.PrismaPromise<
1156
- T extends runtime.Types.Utils.Record<'select', any>
1157
- ? T['select'] extends true
1158
- ? number
1159
- : Prisma.GetScalarType<T['select'], ChatInterruptCountAggregateOutputType>
1160
- : number
1161
- >
1162
-
1163
- /**
1164
- * Allows you to perform aggregations operations on a ChatInterrupt.
1165
- * Note, that providing `undefined` is treated as the value not being there.
1166
- * Read more here: https://pris.ly/d/null-undefined
1167
- * @param {ChatInterruptAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1168
- * @example
1169
- * // Ordered by age ascending
1170
- * // Where email contains prisma.io
1171
- * // Limited to the 10 users
1172
- * const aggregations = await prisma.user.aggregate({
1173
- * _avg: {
1174
- * age: true,
1175
- * },
1176
- * where: {
1177
- * email: {
1178
- * contains: "prisma.io",
1179
- * },
1180
- * },
1181
- * orderBy: {
1182
- * age: "asc",
1183
- * },
1184
- * take: 10,
1185
- * })
1186
- **/
1187
- aggregate<T extends ChatInterruptAggregateArgs>(args: Prisma.Subset<T, ChatInterruptAggregateArgs>): Prisma.PrismaPromise<GetChatInterruptAggregateType<T>>
1188
-
1189
- /**
1190
- * Group by ChatInterrupt.
1191
- * Note, that providing `undefined` is treated as the value not being there.
1192
- * Read more here: https://pris.ly/d/null-undefined
1193
- * @param {ChatInterruptGroupByArgs} args - Group by arguments.
1194
- * @example
1195
- * // Group by city, order by createdAt, get count
1196
- * const result = await prisma.user.groupBy({
1197
- * by: ['city', 'createdAt'],
1198
- * orderBy: {
1199
- * createdAt: true
1200
- * },
1201
- * _count: {
1202
- * _all: true
1203
- * },
1204
- * })
1205
- *
1206
- **/
1207
- groupBy<
1208
- T extends ChatInterruptGroupByArgs,
1209
- HasSelectOrTake extends Prisma.Or<
1210
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1211
- Prisma.Extends<'take', Prisma.Keys<T>>
1212
- >,
1213
- OrderByArg extends Prisma.True extends HasSelectOrTake
1214
- ? { orderBy: ChatInterruptGroupByArgs['orderBy'] }
1215
- : { orderBy?: ChatInterruptGroupByArgs['orderBy'] },
1216
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1217
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1218
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1219
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1220
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1221
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1222
- InputErrors extends ByEmpty extends Prisma.True
1223
- ? `Error: "by" must not be empty.`
1224
- : HavingValid extends Prisma.False
1225
- ? {
1226
- [P in HavingFields]: P extends ByFields
1227
- ? never
1228
- : P extends string
1229
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1230
- : [
1231
- Error,
1232
- 'Field ',
1233
- P,
1234
- ` in "having" needs to be provided in "by"`,
1235
- ]
1236
- }[HavingFields]
1237
- : 'take' extends Prisma.Keys<T>
1238
- ? 'orderBy' extends Prisma.Keys<T>
1239
- ? ByValid extends Prisma.True
1240
- ? {}
1241
- : {
1242
- [P in OrderFields]: P extends ByFields
1243
- ? never
1244
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1245
- }[OrderFields]
1246
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1247
- : 'skip' extends Prisma.Keys<T>
1248
- ? 'orderBy' extends Prisma.Keys<T>
1249
- ? ByValid extends Prisma.True
1250
- ? {}
1251
- : {
1252
- [P in OrderFields]: P extends ByFields
1253
- ? never
1254
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1255
- }[OrderFields]
1256
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1257
- : ByValid extends Prisma.True
1258
- ? {}
1259
- : {
1260
- [P in OrderFields]: P extends ByFields
1261
- ? never
1262
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1263
- }[OrderFields]
1264
- >(args: Prisma.SubsetIntersection<T, ChatInterruptGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetChatInterruptGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1265
- /**
1266
- * Fields of the ChatInterrupt model
1267
- */
1268
- readonly fields: ChatInterruptFieldRefs;
1269
- }
1270
-
1271
- /**
1272
- * The delegate class that acts as a "Promise-like" for ChatInterrupt.
1273
- * Why is this prefixed with `Prisma__`?
1274
- * Because we want to prevent naming conflicts as mentioned in
1275
- * https://github.com/prisma/prisma-client-js/issues/707
1276
- */
1277
- export interface Prisma__ChatInterruptClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1278
- readonly [Symbol.toStringTag]: "PrismaPromise"
1279
- run<T extends Prisma.ChatRunDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ChatRunDefaultArgs<ExtArgs>>): Prisma.Prisma__ChatRunClient<runtime.Types.Result.GetResult<Prisma.$ChatRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1280
- thread<T extends Prisma.ChatThreadDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ChatThreadDefaultArgs<ExtArgs>>): Prisma.Prisma__ChatThreadClient<runtime.Types.Result.GetResult<Prisma.$ChatThreadPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1281
- /**
1282
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1283
- * @param onfulfilled The callback to execute when the Promise is resolved.
1284
- * @param onrejected The callback to execute when the Promise is rejected.
1285
- * @returns A Promise for the completion of which ever callback is executed.
1286
- */
1287
- 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>
1288
- /**
1289
- * Attaches a callback for only the rejection of the Promise.
1290
- * @param onrejected The callback to execute when the Promise is rejected.
1291
- * @returns A Promise for the completion of the callback.
1292
- */
1293
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1294
- /**
1295
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1296
- * resolved value cannot be modified from the callback.
1297
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1298
- * @returns A Promise for the completion of the callback.
1299
- */
1300
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1301
- }
1302
-
1303
-
1304
-
1305
-
1306
- /**
1307
- * Fields of the ChatInterrupt model
1308
- */
1309
- export interface ChatInterruptFieldRefs {
1310
- readonly id: Prisma.FieldRef<"ChatInterrupt", 'String'>
1311
- readonly runId: Prisma.FieldRef<"ChatInterrupt", 'String'>
1312
- readonly threadId: Prisma.FieldRef<"ChatInterrupt", 'String'>
1313
- readonly userId: Prisma.FieldRef<"ChatInterrupt", 'String'>
1314
- readonly kind: Prisma.FieldRef<"ChatInterrupt", 'String'>
1315
- readonly toolName: Prisma.FieldRef<"ChatInterrupt", 'String'>
1316
- readonly state: Prisma.FieldRef<"ChatInterrupt", 'String'>
1317
- readonly payload: Prisma.FieldRef<"ChatInterrupt", 'Json'>
1318
- readonly resolution: Prisma.FieldRef<"ChatInterrupt", 'Json'>
1319
- readonly requestedAt: Prisma.FieldRef<"ChatInterrupt", 'DateTime'>
1320
- readonly createdAt: Prisma.FieldRef<"ChatInterrupt", 'DateTime'>
1321
- readonly resolvedAt: Prisma.FieldRef<"ChatInterrupt", 'DateTime'>
1322
- }
1323
-
1324
-
1325
- // Custom InputTypes
1326
- /**
1327
- * ChatInterrupt findUnique
1328
- */
1329
- export type ChatInterruptFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1330
- /**
1331
- * Select specific fields to fetch from the ChatInterrupt
1332
- */
1333
- select?: Prisma.ChatInterruptSelect<ExtArgs> | null
1334
- /**
1335
- * Omit specific fields from the ChatInterrupt
1336
- */
1337
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1338
- /**
1339
- * Choose, which related nodes to fetch as well
1340
- */
1341
- include?: Prisma.ChatInterruptInclude<ExtArgs> | null
1342
- /**
1343
- * Filter, which ChatInterrupt to fetch.
1344
- */
1345
- where: Prisma.ChatInterruptWhereUniqueInput
1346
- }
1347
-
1348
- /**
1349
- * ChatInterrupt findUniqueOrThrow
1350
- */
1351
- export type ChatInterruptFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1352
- /**
1353
- * Select specific fields to fetch from the ChatInterrupt
1354
- */
1355
- select?: Prisma.ChatInterruptSelect<ExtArgs> | null
1356
- /**
1357
- * Omit specific fields from the ChatInterrupt
1358
- */
1359
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1360
- /**
1361
- * Choose, which related nodes to fetch as well
1362
- */
1363
- include?: Prisma.ChatInterruptInclude<ExtArgs> | null
1364
- /**
1365
- * Filter, which ChatInterrupt to fetch.
1366
- */
1367
- where: Prisma.ChatInterruptWhereUniqueInput
1368
- }
1369
-
1370
- /**
1371
- * ChatInterrupt findFirst
1372
- */
1373
- export type ChatInterruptFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1374
- /**
1375
- * Select specific fields to fetch from the ChatInterrupt
1376
- */
1377
- select?: Prisma.ChatInterruptSelect<ExtArgs> | null
1378
- /**
1379
- * Omit specific fields from the ChatInterrupt
1380
- */
1381
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1382
- /**
1383
- * Choose, which related nodes to fetch as well
1384
- */
1385
- include?: Prisma.ChatInterruptInclude<ExtArgs> | null
1386
- /**
1387
- * Filter, which ChatInterrupt to fetch.
1388
- */
1389
- where?: Prisma.ChatInterruptWhereInput
1390
- /**
1391
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1392
- *
1393
- * Determine the order of ChatInterrupts to fetch.
1394
- */
1395
- orderBy?: Prisma.ChatInterruptOrderByWithRelationInput | Prisma.ChatInterruptOrderByWithRelationInput[]
1396
- /**
1397
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1398
- *
1399
- * Sets the position for searching for ChatInterrupts.
1400
- */
1401
- cursor?: Prisma.ChatInterruptWhereUniqueInput
1402
- /**
1403
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1404
- *
1405
- * Take `±n` ChatInterrupts from the position of the cursor.
1406
- */
1407
- take?: number
1408
- /**
1409
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1410
- *
1411
- * Skip the first `n` ChatInterrupts.
1412
- */
1413
- skip?: number
1414
- /**
1415
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1416
- *
1417
- * Filter by unique combinations of ChatInterrupts.
1418
- */
1419
- distinct?: Prisma.ChatInterruptScalarFieldEnum | Prisma.ChatInterruptScalarFieldEnum[]
1420
- }
1421
-
1422
- /**
1423
- * ChatInterrupt findFirstOrThrow
1424
- */
1425
- export type ChatInterruptFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1426
- /**
1427
- * Select specific fields to fetch from the ChatInterrupt
1428
- */
1429
- select?: Prisma.ChatInterruptSelect<ExtArgs> | null
1430
- /**
1431
- * Omit specific fields from the ChatInterrupt
1432
- */
1433
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1434
- /**
1435
- * Choose, which related nodes to fetch as well
1436
- */
1437
- include?: Prisma.ChatInterruptInclude<ExtArgs> | null
1438
- /**
1439
- * Filter, which ChatInterrupt to fetch.
1440
- */
1441
- where?: Prisma.ChatInterruptWhereInput
1442
- /**
1443
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1444
- *
1445
- * Determine the order of ChatInterrupts to fetch.
1446
- */
1447
- orderBy?: Prisma.ChatInterruptOrderByWithRelationInput | Prisma.ChatInterruptOrderByWithRelationInput[]
1448
- /**
1449
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1450
- *
1451
- * Sets the position for searching for ChatInterrupts.
1452
- */
1453
- cursor?: Prisma.ChatInterruptWhereUniqueInput
1454
- /**
1455
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1456
- *
1457
- * Take `±n` ChatInterrupts from the position of the cursor.
1458
- */
1459
- take?: number
1460
- /**
1461
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1462
- *
1463
- * Skip the first `n` ChatInterrupts.
1464
- */
1465
- skip?: number
1466
- /**
1467
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1468
- *
1469
- * Filter by unique combinations of ChatInterrupts.
1470
- */
1471
- distinct?: Prisma.ChatInterruptScalarFieldEnum | Prisma.ChatInterruptScalarFieldEnum[]
1472
- }
1473
-
1474
- /**
1475
- * ChatInterrupt findMany
1476
- */
1477
- export type ChatInterruptFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1478
- /**
1479
- * Select specific fields to fetch from the ChatInterrupt
1480
- */
1481
- select?: Prisma.ChatInterruptSelect<ExtArgs> | null
1482
- /**
1483
- * Omit specific fields from the ChatInterrupt
1484
- */
1485
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1486
- /**
1487
- * Choose, which related nodes to fetch as well
1488
- */
1489
- include?: Prisma.ChatInterruptInclude<ExtArgs> | null
1490
- /**
1491
- * Filter, which ChatInterrupts to fetch.
1492
- */
1493
- where?: Prisma.ChatInterruptWhereInput
1494
- /**
1495
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1496
- *
1497
- * Determine the order of ChatInterrupts to fetch.
1498
- */
1499
- orderBy?: Prisma.ChatInterruptOrderByWithRelationInput | Prisma.ChatInterruptOrderByWithRelationInput[]
1500
- /**
1501
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1502
- *
1503
- * Sets the position for listing ChatInterrupts.
1504
- */
1505
- cursor?: Prisma.ChatInterruptWhereUniqueInput
1506
- /**
1507
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1508
- *
1509
- * Take `±n` ChatInterrupts from the position of the cursor.
1510
- */
1511
- take?: number
1512
- /**
1513
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1514
- *
1515
- * Skip the first `n` ChatInterrupts.
1516
- */
1517
- skip?: number
1518
- /**
1519
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1520
- *
1521
- * Filter by unique combinations of ChatInterrupts.
1522
- */
1523
- distinct?: Prisma.ChatInterruptScalarFieldEnum | Prisma.ChatInterruptScalarFieldEnum[]
1524
- }
1525
-
1526
- /**
1527
- * ChatInterrupt create
1528
- */
1529
- export type ChatInterruptCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1530
- /**
1531
- * Select specific fields to fetch from the ChatInterrupt
1532
- */
1533
- select?: Prisma.ChatInterruptSelect<ExtArgs> | null
1534
- /**
1535
- * Omit specific fields from the ChatInterrupt
1536
- */
1537
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1538
- /**
1539
- * Choose, which related nodes to fetch as well
1540
- */
1541
- include?: Prisma.ChatInterruptInclude<ExtArgs> | null
1542
- /**
1543
- * The data needed to create a ChatInterrupt.
1544
- */
1545
- data: Prisma.XOR<Prisma.ChatInterruptCreateInput, Prisma.ChatInterruptUncheckedCreateInput>
1546
- }
1547
-
1548
- /**
1549
- * ChatInterrupt createMany
1550
- */
1551
- export type ChatInterruptCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1552
- /**
1553
- * The data used to create many ChatInterrupts.
1554
- */
1555
- data: Prisma.ChatInterruptCreateManyInput | Prisma.ChatInterruptCreateManyInput[]
1556
- }
1557
-
1558
- /**
1559
- * ChatInterrupt createManyAndReturn
1560
- */
1561
- export type ChatInterruptCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1562
- /**
1563
- * Select specific fields to fetch from the ChatInterrupt
1564
- */
1565
- select?: Prisma.ChatInterruptSelectCreateManyAndReturn<ExtArgs> | null
1566
- /**
1567
- * Omit specific fields from the ChatInterrupt
1568
- */
1569
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1570
- /**
1571
- * The data used to create many ChatInterrupts.
1572
- */
1573
- data: Prisma.ChatInterruptCreateManyInput | Prisma.ChatInterruptCreateManyInput[]
1574
- /**
1575
- * Choose, which related nodes to fetch as well
1576
- */
1577
- include?: Prisma.ChatInterruptIncludeCreateManyAndReturn<ExtArgs> | null
1578
- }
1579
-
1580
- /**
1581
- * ChatInterrupt update
1582
- */
1583
- export type ChatInterruptUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1584
- /**
1585
- * Select specific fields to fetch from the ChatInterrupt
1586
- */
1587
- select?: Prisma.ChatInterruptSelect<ExtArgs> | null
1588
- /**
1589
- * Omit specific fields from the ChatInterrupt
1590
- */
1591
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1592
- /**
1593
- * Choose, which related nodes to fetch as well
1594
- */
1595
- include?: Prisma.ChatInterruptInclude<ExtArgs> | null
1596
- /**
1597
- * The data needed to update a ChatInterrupt.
1598
- */
1599
- data: Prisma.XOR<Prisma.ChatInterruptUpdateInput, Prisma.ChatInterruptUncheckedUpdateInput>
1600
- /**
1601
- * Choose, which ChatInterrupt to update.
1602
- */
1603
- where: Prisma.ChatInterruptWhereUniqueInput
1604
- }
1605
-
1606
- /**
1607
- * ChatInterrupt updateMany
1608
- */
1609
- export type ChatInterruptUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1610
- /**
1611
- * The data used to update ChatInterrupts.
1612
- */
1613
- data: Prisma.XOR<Prisma.ChatInterruptUpdateManyMutationInput, Prisma.ChatInterruptUncheckedUpdateManyInput>
1614
- /**
1615
- * Filter which ChatInterrupts to update
1616
- */
1617
- where?: Prisma.ChatInterruptWhereInput
1618
- /**
1619
- * Limit how many ChatInterrupts to update.
1620
- */
1621
- limit?: number
1622
- }
1623
-
1624
- /**
1625
- * ChatInterrupt updateManyAndReturn
1626
- */
1627
- export type ChatInterruptUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1628
- /**
1629
- * Select specific fields to fetch from the ChatInterrupt
1630
- */
1631
- select?: Prisma.ChatInterruptSelectUpdateManyAndReturn<ExtArgs> | null
1632
- /**
1633
- * Omit specific fields from the ChatInterrupt
1634
- */
1635
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1636
- /**
1637
- * The data used to update ChatInterrupts.
1638
- */
1639
- data: Prisma.XOR<Prisma.ChatInterruptUpdateManyMutationInput, Prisma.ChatInterruptUncheckedUpdateManyInput>
1640
- /**
1641
- * Filter which ChatInterrupts to update
1642
- */
1643
- where?: Prisma.ChatInterruptWhereInput
1644
- /**
1645
- * Limit how many ChatInterrupts to update.
1646
- */
1647
- limit?: number
1648
- /**
1649
- * Choose, which related nodes to fetch as well
1650
- */
1651
- include?: Prisma.ChatInterruptIncludeUpdateManyAndReturn<ExtArgs> | null
1652
- }
1653
-
1654
- /**
1655
- * ChatInterrupt upsert
1656
- */
1657
- export type ChatInterruptUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1658
- /**
1659
- * Select specific fields to fetch from the ChatInterrupt
1660
- */
1661
- select?: Prisma.ChatInterruptSelect<ExtArgs> | null
1662
- /**
1663
- * Omit specific fields from the ChatInterrupt
1664
- */
1665
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1666
- /**
1667
- * Choose, which related nodes to fetch as well
1668
- */
1669
- include?: Prisma.ChatInterruptInclude<ExtArgs> | null
1670
- /**
1671
- * The filter to search for the ChatInterrupt to update in case it exists.
1672
- */
1673
- where: Prisma.ChatInterruptWhereUniqueInput
1674
- /**
1675
- * In case the ChatInterrupt found by the `where` argument doesn't exist, create a new ChatInterrupt with this data.
1676
- */
1677
- create: Prisma.XOR<Prisma.ChatInterruptCreateInput, Prisma.ChatInterruptUncheckedCreateInput>
1678
- /**
1679
- * In case the ChatInterrupt was found with the provided `where` argument, update it with this data.
1680
- */
1681
- update: Prisma.XOR<Prisma.ChatInterruptUpdateInput, Prisma.ChatInterruptUncheckedUpdateInput>
1682
- }
1683
-
1684
- /**
1685
- * ChatInterrupt delete
1686
- */
1687
- export type ChatInterruptDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1688
- /**
1689
- * Select specific fields to fetch from the ChatInterrupt
1690
- */
1691
- select?: Prisma.ChatInterruptSelect<ExtArgs> | null
1692
- /**
1693
- * Omit specific fields from the ChatInterrupt
1694
- */
1695
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1696
- /**
1697
- * Choose, which related nodes to fetch as well
1698
- */
1699
- include?: Prisma.ChatInterruptInclude<ExtArgs> | null
1700
- /**
1701
- * Filter which ChatInterrupt to delete.
1702
- */
1703
- where: Prisma.ChatInterruptWhereUniqueInput
1704
- }
1705
-
1706
- /**
1707
- * ChatInterrupt deleteMany
1708
- */
1709
- export type ChatInterruptDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1710
- /**
1711
- * Filter which ChatInterrupts to delete
1712
- */
1713
- where?: Prisma.ChatInterruptWhereInput
1714
- /**
1715
- * Limit how many ChatInterrupts to delete.
1716
- */
1717
- limit?: number
1718
- }
1719
-
1720
- /**
1721
- * ChatInterrupt without action
1722
- */
1723
- export type ChatInterruptDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1724
- /**
1725
- * Select specific fields to fetch from the ChatInterrupt
1726
- */
1727
- select?: Prisma.ChatInterruptSelect<ExtArgs> | null
1728
- /**
1729
- * Omit specific fields from the ChatInterrupt
1730
- */
1731
- omit?: Prisma.ChatInterruptOmit<ExtArgs> | null
1732
- /**
1733
- * Choose, which related nodes to fetch as well
1734
- */
1735
- include?: Prisma.ChatInterruptInclude<ExtArgs> | null
1736
- }