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