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