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