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