@allbluecn/database 0.14.10 → 0.14.12
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/generated/browser.ts +17 -0
- package/generated/client.ts +17 -0
- package/generated/internal/class.ts +43 -6
- package/generated/internal/prismaNamespace.ts +274 -1
- package/generated/internal/prismaNamespaceBrowser.ts +64 -0
- package/generated/models/HarnessConnectorAccount.ts +20 -14
- package/generated/models/HarnessWebhookDelivery.ts +1857 -0
- package/generated/models/HarnessWebhookRule.ts +1858 -0
- package/generated/models/MemoryFact.ts +973 -0
- package/generated/models.ts +3 -0
- package/generated/prisma-query-compiler.postgresql.wasm +0 -0
- package/index.ts +9 -11
- package/migrations/20261128000003_harness_p5_webhook/migration.sql +82 -0
- package/migrations/20261128000004_harness_p5_webhook_secret_local/migration.sql +9 -0
- package/migrations/20261128000005_harness_p5_connector_meta_local/migration.sql +4 -0
- package/migrations/20261129000000_add_hnsw_vector_indexes/migration.sql +15 -0
- package/migrations/20261129000000_sync_overlay_harness_p5_webhook/migration.sql +581 -0
- package/migrations/20261129000100_sync_overlay_harness_p5_connector_meta/migration.sql +614 -0
- package/package.json +3 -8
- package/schema.prisma +94 -1
- package/cf-env-stub.ts +0 -4
- package/cf-env.ts +0 -25
- package/cloudflare-workers.d.ts +0 -6
|
@@ -0,0 +1,1858 @@
|
|
|
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 `HarnessWebhookRule` 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 HarnessWebhookRule
|
|
17
|
+
* 入站 webhook 规则(P5 任务 3,母规格 §6.2/§7)。跨会话定义,属同步白名单;
|
|
18
|
+
* 投递副作用经 HarnessOutbox(kind='webhook.delivery')由 Worker 驱动。
|
|
19
|
+
*/
|
|
20
|
+
export type HarnessWebhookRuleModel = runtime.Types.Result.DefaultSelection<Prisma.$HarnessWebhookRulePayload>
|
|
21
|
+
|
|
22
|
+
export type AggregateHarnessWebhookRule = {
|
|
23
|
+
_count: HarnessWebhookRuleCountAggregateOutputType | null
|
|
24
|
+
_avg: HarnessWebhookRuleAvgAggregateOutputType | null
|
|
25
|
+
_sum: HarnessWebhookRuleSumAggregateOutputType | null
|
|
26
|
+
_min: HarnessWebhookRuleMinAggregateOutputType | null
|
|
27
|
+
_max: HarnessWebhookRuleMaxAggregateOutputType | null
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type HarnessWebhookRuleAvgAggregateOutputType = {
|
|
31
|
+
revision: number | null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type HarnessWebhookRuleSumAggregateOutputType = {
|
|
35
|
+
revision: number | null
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type HarnessWebhookRuleMinAggregateOutputType = {
|
|
39
|
+
id: string | null
|
|
40
|
+
userId: string | null
|
|
41
|
+
token: string | null
|
|
42
|
+
name: string | null
|
|
43
|
+
provider: string | null
|
|
44
|
+
threadId: string | null
|
|
45
|
+
workspaceId: string | null
|
|
46
|
+
prompt: string | null
|
|
47
|
+
secretCipher: string | null
|
|
48
|
+
secretHint: string | null
|
|
49
|
+
status: string | null
|
|
50
|
+
executionPlane: string | null
|
|
51
|
+
lastDeliveryAt: Date | null
|
|
52
|
+
lastError: string | null
|
|
53
|
+
revision: number | null
|
|
54
|
+
createdAt: Date | null
|
|
55
|
+
updatedAt: Date | null
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export type HarnessWebhookRuleMaxAggregateOutputType = {
|
|
59
|
+
id: string | null
|
|
60
|
+
userId: string | null
|
|
61
|
+
token: string | null
|
|
62
|
+
name: string | null
|
|
63
|
+
provider: string | null
|
|
64
|
+
threadId: string | null
|
|
65
|
+
workspaceId: string | null
|
|
66
|
+
prompt: string | null
|
|
67
|
+
secretCipher: string | null
|
|
68
|
+
secretHint: string | null
|
|
69
|
+
status: string | null
|
|
70
|
+
executionPlane: string | null
|
|
71
|
+
lastDeliveryAt: Date | null
|
|
72
|
+
lastError: string | null
|
|
73
|
+
revision: number | null
|
|
74
|
+
createdAt: Date | null
|
|
75
|
+
updatedAt: Date | null
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export type HarnessWebhookRuleCountAggregateOutputType = {
|
|
79
|
+
id: number
|
|
80
|
+
userId: number
|
|
81
|
+
token: number
|
|
82
|
+
name: number
|
|
83
|
+
provider: number
|
|
84
|
+
threadId: number
|
|
85
|
+
workspaceId: number
|
|
86
|
+
prompt: number
|
|
87
|
+
secretCipher: number
|
|
88
|
+
secretHint: number
|
|
89
|
+
events: number
|
|
90
|
+
repoWhitelist: number
|
|
91
|
+
ownerWhitelist: number
|
|
92
|
+
status: number
|
|
93
|
+
executionPlane: number
|
|
94
|
+
lastDeliveryAt: number
|
|
95
|
+
lastError: number
|
|
96
|
+
revision: number
|
|
97
|
+
createdAt: number
|
|
98
|
+
updatedAt: number
|
|
99
|
+
_all: number
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
export type HarnessWebhookRuleAvgAggregateInputType = {
|
|
104
|
+
revision?: true
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export type HarnessWebhookRuleSumAggregateInputType = {
|
|
108
|
+
revision?: true
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export type HarnessWebhookRuleMinAggregateInputType = {
|
|
112
|
+
id?: true
|
|
113
|
+
userId?: true
|
|
114
|
+
token?: true
|
|
115
|
+
name?: true
|
|
116
|
+
provider?: true
|
|
117
|
+
threadId?: true
|
|
118
|
+
workspaceId?: true
|
|
119
|
+
prompt?: true
|
|
120
|
+
secretCipher?: true
|
|
121
|
+
secretHint?: true
|
|
122
|
+
status?: true
|
|
123
|
+
executionPlane?: true
|
|
124
|
+
lastDeliveryAt?: true
|
|
125
|
+
lastError?: true
|
|
126
|
+
revision?: true
|
|
127
|
+
createdAt?: true
|
|
128
|
+
updatedAt?: true
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export type HarnessWebhookRuleMaxAggregateInputType = {
|
|
132
|
+
id?: true
|
|
133
|
+
userId?: true
|
|
134
|
+
token?: true
|
|
135
|
+
name?: true
|
|
136
|
+
provider?: true
|
|
137
|
+
threadId?: true
|
|
138
|
+
workspaceId?: true
|
|
139
|
+
prompt?: true
|
|
140
|
+
secretCipher?: true
|
|
141
|
+
secretHint?: true
|
|
142
|
+
status?: true
|
|
143
|
+
executionPlane?: true
|
|
144
|
+
lastDeliveryAt?: true
|
|
145
|
+
lastError?: true
|
|
146
|
+
revision?: true
|
|
147
|
+
createdAt?: true
|
|
148
|
+
updatedAt?: true
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export type HarnessWebhookRuleCountAggregateInputType = {
|
|
152
|
+
id?: true
|
|
153
|
+
userId?: true
|
|
154
|
+
token?: true
|
|
155
|
+
name?: true
|
|
156
|
+
provider?: true
|
|
157
|
+
threadId?: true
|
|
158
|
+
workspaceId?: true
|
|
159
|
+
prompt?: true
|
|
160
|
+
secretCipher?: true
|
|
161
|
+
secretHint?: true
|
|
162
|
+
events?: true
|
|
163
|
+
repoWhitelist?: true
|
|
164
|
+
ownerWhitelist?: true
|
|
165
|
+
status?: true
|
|
166
|
+
executionPlane?: true
|
|
167
|
+
lastDeliveryAt?: true
|
|
168
|
+
lastError?: true
|
|
169
|
+
revision?: true
|
|
170
|
+
createdAt?: true
|
|
171
|
+
updatedAt?: true
|
|
172
|
+
_all?: true
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type HarnessWebhookRuleAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
176
|
+
/**
|
|
177
|
+
* Filter which HarnessWebhookRule to aggregate.
|
|
178
|
+
*/
|
|
179
|
+
where?: Prisma.HarnessWebhookRuleWhereInput
|
|
180
|
+
/**
|
|
181
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
182
|
+
*
|
|
183
|
+
* Determine the order of HarnessWebhookRules to fetch.
|
|
184
|
+
*/
|
|
185
|
+
orderBy?: Prisma.HarnessWebhookRuleOrderByWithRelationInput | Prisma.HarnessWebhookRuleOrderByWithRelationInput[]
|
|
186
|
+
/**
|
|
187
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
188
|
+
*
|
|
189
|
+
* Sets the start position
|
|
190
|
+
*/
|
|
191
|
+
cursor?: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
192
|
+
/**
|
|
193
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
194
|
+
*
|
|
195
|
+
* Take `±n` HarnessWebhookRules from the position of the cursor.
|
|
196
|
+
*/
|
|
197
|
+
take?: number
|
|
198
|
+
/**
|
|
199
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
200
|
+
*
|
|
201
|
+
* Skip the first `n` HarnessWebhookRules.
|
|
202
|
+
*/
|
|
203
|
+
skip?: number
|
|
204
|
+
/**
|
|
205
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
206
|
+
*
|
|
207
|
+
* Count returned HarnessWebhookRules
|
|
208
|
+
**/
|
|
209
|
+
_count?: true | HarnessWebhookRuleCountAggregateInputType
|
|
210
|
+
/**
|
|
211
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
212
|
+
*
|
|
213
|
+
* Select which fields to average
|
|
214
|
+
**/
|
|
215
|
+
_avg?: HarnessWebhookRuleAvgAggregateInputType
|
|
216
|
+
/**
|
|
217
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
218
|
+
*
|
|
219
|
+
* Select which fields to sum
|
|
220
|
+
**/
|
|
221
|
+
_sum?: HarnessWebhookRuleSumAggregateInputType
|
|
222
|
+
/**
|
|
223
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
224
|
+
*
|
|
225
|
+
* Select which fields to find the minimum value
|
|
226
|
+
**/
|
|
227
|
+
_min?: HarnessWebhookRuleMinAggregateInputType
|
|
228
|
+
/**
|
|
229
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
230
|
+
*
|
|
231
|
+
* Select which fields to find the maximum value
|
|
232
|
+
**/
|
|
233
|
+
_max?: HarnessWebhookRuleMaxAggregateInputType
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export type GetHarnessWebhookRuleAggregateType<T extends HarnessWebhookRuleAggregateArgs> = {
|
|
237
|
+
[P in keyof T & keyof AggregateHarnessWebhookRule]: P extends '_count' | 'count'
|
|
238
|
+
? T[P] extends true
|
|
239
|
+
? number
|
|
240
|
+
: Prisma.GetScalarType<T[P], AggregateHarnessWebhookRule[P]>
|
|
241
|
+
: Prisma.GetScalarType<T[P], AggregateHarnessWebhookRule[P]>
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
export type HarnessWebhookRuleGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
248
|
+
where?: Prisma.HarnessWebhookRuleWhereInput
|
|
249
|
+
orderBy?: Prisma.HarnessWebhookRuleOrderByWithAggregationInput | Prisma.HarnessWebhookRuleOrderByWithAggregationInput[]
|
|
250
|
+
by: Prisma.HarnessWebhookRuleScalarFieldEnum[] | Prisma.HarnessWebhookRuleScalarFieldEnum
|
|
251
|
+
having?: Prisma.HarnessWebhookRuleScalarWhereWithAggregatesInput
|
|
252
|
+
take?: number
|
|
253
|
+
skip?: number
|
|
254
|
+
_count?: HarnessWebhookRuleCountAggregateInputType | true
|
|
255
|
+
_avg?: HarnessWebhookRuleAvgAggregateInputType
|
|
256
|
+
_sum?: HarnessWebhookRuleSumAggregateInputType
|
|
257
|
+
_min?: HarnessWebhookRuleMinAggregateInputType
|
|
258
|
+
_max?: HarnessWebhookRuleMaxAggregateInputType
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export type HarnessWebhookRuleGroupByOutputType = {
|
|
262
|
+
id: string
|
|
263
|
+
userId: string
|
|
264
|
+
token: string
|
|
265
|
+
name: string
|
|
266
|
+
provider: string
|
|
267
|
+
threadId: string
|
|
268
|
+
workspaceId: string | null
|
|
269
|
+
prompt: string
|
|
270
|
+
secretCipher: string | null
|
|
271
|
+
secretHint: string
|
|
272
|
+
events: runtime.JsonValue | null
|
|
273
|
+
repoWhitelist: runtime.JsonValue | null
|
|
274
|
+
ownerWhitelist: runtime.JsonValue | null
|
|
275
|
+
status: string
|
|
276
|
+
executionPlane: string
|
|
277
|
+
lastDeliveryAt: Date | null
|
|
278
|
+
lastError: string | null
|
|
279
|
+
revision: number
|
|
280
|
+
createdAt: Date
|
|
281
|
+
updatedAt: Date
|
|
282
|
+
_count: HarnessWebhookRuleCountAggregateOutputType | null
|
|
283
|
+
_avg: HarnessWebhookRuleAvgAggregateOutputType | null
|
|
284
|
+
_sum: HarnessWebhookRuleSumAggregateOutputType | null
|
|
285
|
+
_min: HarnessWebhookRuleMinAggregateOutputType | null
|
|
286
|
+
_max: HarnessWebhookRuleMaxAggregateOutputType | null
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type GetHarnessWebhookRuleGroupByPayload<T extends HarnessWebhookRuleGroupByArgs> = Prisma.PrismaPromise<
|
|
290
|
+
Array<
|
|
291
|
+
Prisma.PickEnumerable<HarnessWebhookRuleGroupByOutputType, T['by']> &
|
|
292
|
+
{
|
|
293
|
+
[P in ((keyof T) & (keyof HarnessWebhookRuleGroupByOutputType))]: P extends '_count'
|
|
294
|
+
? T[P] extends boolean
|
|
295
|
+
? number
|
|
296
|
+
: Prisma.GetScalarType<T[P], HarnessWebhookRuleGroupByOutputType[P]>
|
|
297
|
+
: Prisma.GetScalarType<T[P], HarnessWebhookRuleGroupByOutputType[P]>
|
|
298
|
+
}
|
|
299
|
+
>
|
|
300
|
+
>
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
export type HarnessWebhookRuleWhereInput = {
|
|
305
|
+
AND?: Prisma.HarnessWebhookRuleWhereInput | Prisma.HarnessWebhookRuleWhereInput[]
|
|
306
|
+
OR?: Prisma.HarnessWebhookRuleWhereInput[]
|
|
307
|
+
NOT?: Prisma.HarnessWebhookRuleWhereInput | Prisma.HarnessWebhookRuleWhereInput[]
|
|
308
|
+
id?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
309
|
+
userId?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
310
|
+
token?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
311
|
+
name?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
312
|
+
provider?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
313
|
+
threadId?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
314
|
+
workspaceId?: Prisma.StringNullableFilter<"HarnessWebhookRule"> | string | null
|
|
315
|
+
prompt?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
316
|
+
secretCipher?: Prisma.StringNullableFilter<"HarnessWebhookRule"> | string | null
|
|
317
|
+
secretHint?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
318
|
+
events?: Prisma.JsonNullableFilter<"HarnessWebhookRule">
|
|
319
|
+
repoWhitelist?: Prisma.JsonNullableFilter<"HarnessWebhookRule">
|
|
320
|
+
ownerWhitelist?: Prisma.JsonNullableFilter<"HarnessWebhookRule">
|
|
321
|
+
status?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
322
|
+
executionPlane?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
323
|
+
lastDeliveryAt?: Prisma.DateTimeNullableFilter<"HarnessWebhookRule"> | Date | string | null
|
|
324
|
+
lastError?: Prisma.StringNullableFilter<"HarnessWebhookRule"> | string | null
|
|
325
|
+
revision?: Prisma.IntFilter<"HarnessWebhookRule"> | number
|
|
326
|
+
createdAt?: Prisma.DateTimeFilter<"HarnessWebhookRule"> | Date | string
|
|
327
|
+
updatedAt?: Prisma.DateTimeFilter<"HarnessWebhookRule"> | Date | string
|
|
328
|
+
deliveries?: Prisma.HarnessWebhookDeliveryListRelationFilter
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export type HarnessWebhookRuleOrderByWithRelationInput = {
|
|
332
|
+
id?: Prisma.SortOrder
|
|
333
|
+
userId?: Prisma.SortOrder
|
|
334
|
+
token?: Prisma.SortOrder
|
|
335
|
+
name?: Prisma.SortOrder
|
|
336
|
+
provider?: Prisma.SortOrder
|
|
337
|
+
threadId?: Prisma.SortOrder
|
|
338
|
+
workspaceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
339
|
+
prompt?: Prisma.SortOrder
|
|
340
|
+
secretCipher?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
341
|
+
secretHint?: Prisma.SortOrder
|
|
342
|
+
events?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
343
|
+
repoWhitelist?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
344
|
+
ownerWhitelist?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
345
|
+
status?: Prisma.SortOrder
|
|
346
|
+
executionPlane?: Prisma.SortOrder
|
|
347
|
+
lastDeliveryAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
348
|
+
lastError?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
349
|
+
revision?: Prisma.SortOrder
|
|
350
|
+
createdAt?: Prisma.SortOrder
|
|
351
|
+
updatedAt?: Prisma.SortOrder
|
|
352
|
+
deliveries?: Prisma.HarnessWebhookDeliveryOrderByRelationAggregateInput
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export type HarnessWebhookRuleWhereUniqueInput = Prisma.AtLeast<{
|
|
356
|
+
id?: string
|
|
357
|
+
token?: string
|
|
358
|
+
AND?: Prisma.HarnessWebhookRuleWhereInput | Prisma.HarnessWebhookRuleWhereInput[]
|
|
359
|
+
OR?: Prisma.HarnessWebhookRuleWhereInput[]
|
|
360
|
+
NOT?: Prisma.HarnessWebhookRuleWhereInput | Prisma.HarnessWebhookRuleWhereInput[]
|
|
361
|
+
userId?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
362
|
+
name?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
363
|
+
provider?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
364
|
+
threadId?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
365
|
+
workspaceId?: Prisma.StringNullableFilter<"HarnessWebhookRule"> | string | null
|
|
366
|
+
prompt?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
367
|
+
secretCipher?: Prisma.StringNullableFilter<"HarnessWebhookRule"> | string | null
|
|
368
|
+
secretHint?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
369
|
+
events?: Prisma.JsonNullableFilter<"HarnessWebhookRule">
|
|
370
|
+
repoWhitelist?: Prisma.JsonNullableFilter<"HarnessWebhookRule">
|
|
371
|
+
ownerWhitelist?: Prisma.JsonNullableFilter<"HarnessWebhookRule">
|
|
372
|
+
status?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
373
|
+
executionPlane?: Prisma.StringFilter<"HarnessWebhookRule"> | string
|
|
374
|
+
lastDeliveryAt?: Prisma.DateTimeNullableFilter<"HarnessWebhookRule"> | Date | string | null
|
|
375
|
+
lastError?: Prisma.StringNullableFilter<"HarnessWebhookRule"> | string | null
|
|
376
|
+
revision?: Prisma.IntFilter<"HarnessWebhookRule"> | number
|
|
377
|
+
createdAt?: Prisma.DateTimeFilter<"HarnessWebhookRule"> | Date | string
|
|
378
|
+
updatedAt?: Prisma.DateTimeFilter<"HarnessWebhookRule"> | Date | string
|
|
379
|
+
deliveries?: Prisma.HarnessWebhookDeliveryListRelationFilter
|
|
380
|
+
}, "id" | "token">
|
|
381
|
+
|
|
382
|
+
export type HarnessWebhookRuleOrderByWithAggregationInput = {
|
|
383
|
+
id?: Prisma.SortOrder
|
|
384
|
+
userId?: Prisma.SortOrder
|
|
385
|
+
token?: Prisma.SortOrder
|
|
386
|
+
name?: Prisma.SortOrder
|
|
387
|
+
provider?: Prisma.SortOrder
|
|
388
|
+
threadId?: Prisma.SortOrder
|
|
389
|
+
workspaceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
390
|
+
prompt?: Prisma.SortOrder
|
|
391
|
+
secretCipher?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
392
|
+
secretHint?: Prisma.SortOrder
|
|
393
|
+
events?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
394
|
+
repoWhitelist?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
395
|
+
ownerWhitelist?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
396
|
+
status?: Prisma.SortOrder
|
|
397
|
+
executionPlane?: Prisma.SortOrder
|
|
398
|
+
lastDeliveryAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
399
|
+
lastError?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
400
|
+
revision?: Prisma.SortOrder
|
|
401
|
+
createdAt?: Prisma.SortOrder
|
|
402
|
+
updatedAt?: Prisma.SortOrder
|
|
403
|
+
_count?: Prisma.HarnessWebhookRuleCountOrderByAggregateInput
|
|
404
|
+
_avg?: Prisma.HarnessWebhookRuleAvgOrderByAggregateInput
|
|
405
|
+
_max?: Prisma.HarnessWebhookRuleMaxOrderByAggregateInput
|
|
406
|
+
_min?: Prisma.HarnessWebhookRuleMinOrderByAggregateInput
|
|
407
|
+
_sum?: Prisma.HarnessWebhookRuleSumOrderByAggregateInput
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export type HarnessWebhookRuleScalarWhereWithAggregatesInput = {
|
|
411
|
+
AND?: Prisma.HarnessWebhookRuleScalarWhereWithAggregatesInput | Prisma.HarnessWebhookRuleScalarWhereWithAggregatesInput[]
|
|
412
|
+
OR?: Prisma.HarnessWebhookRuleScalarWhereWithAggregatesInput[]
|
|
413
|
+
NOT?: Prisma.HarnessWebhookRuleScalarWhereWithAggregatesInput | Prisma.HarnessWebhookRuleScalarWhereWithAggregatesInput[]
|
|
414
|
+
id?: Prisma.StringWithAggregatesFilter<"HarnessWebhookRule"> | string
|
|
415
|
+
userId?: Prisma.StringWithAggregatesFilter<"HarnessWebhookRule"> | string
|
|
416
|
+
token?: Prisma.StringWithAggregatesFilter<"HarnessWebhookRule"> | string
|
|
417
|
+
name?: Prisma.StringWithAggregatesFilter<"HarnessWebhookRule"> | string
|
|
418
|
+
provider?: Prisma.StringWithAggregatesFilter<"HarnessWebhookRule"> | string
|
|
419
|
+
threadId?: Prisma.StringWithAggregatesFilter<"HarnessWebhookRule"> | string
|
|
420
|
+
workspaceId?: Prisma.StringNullableWithAggregatesFilter<"HarnessWebhookRule"> | string | null
|
|
421
|
+
prompt?: Prisma.StringWithAggregatesFilter<"HarnessWebhookRule"> | string
|
|
422
|
+
secretCipher?: Prisma.StringNullableWithAggregatesFilter<"HarnessWebhookRule"> | string | null
|
|
423
|
+
secretHint?: Prisma.StringWithAggregatesFilter<"HarnessWebhookRule"> | string
|
|
424
|
+
events?: Prisma.JsonNullableWithAggregatesFilter<"HarnessWebhookRule">
|
|
425
|
+
repoWhitelist?: Prisma.JsonNullableWithAggregatesFilter<"HarnessWebhookRule">
|
|
426
|
+
ownerWhitelist?: Prisma.JsonNullableWithAggregatesFilter<"HarnessWebhookRule">
|
|
427
|
+
status?: Prisma.StringWithAggregatesFilter<"HarnessWebhookRule"> | string
|
|
428
|
+
executionPlane?: Prisma.StringWithAggregatesFilter<"HarnessWebhookRule"> | string
|
|
429
|
+
lastDeliveryAt?: Prisma.DateTimeNullableWithAggregatesFilter<"HarnessWebhookRule"> | Date | string | null
|
|
430
|
+
lastError?: Prisma.StringNullableWithAggregatesFilter<"HarnessWebhookRule"> | string | null
|
|
431
|
+
revision?: Prisma.IntWithAggregatesFilter<"HarnessWebhookRule"> | number
|
|
432
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessWebhookRule"> | Date | string
|
|
433
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessWebhookRule"> | Date | string
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export type HarnessWebhookRuleCreateInput = {
|
|
437
|
+
id?: string
|
|
438
|
+
userId: string
|
|
439
|
+
token: string
|
|
440
|
+
name: string
|
|
441
|
+
provider?: string
|
|
442
|
+
threadId: string
|
|
443
|
+
workspaceId?: string | null
|
|
444
|
+
prompt: string
|
|
445
|
+
secretCipher?: string | null
|
|
446
|
+
secretHint: string
|
|
447
|
+
events?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
448
|
+
repoWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
449
|
+
ownerWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
450
|
+
status?: string
|
|
451
|
+
executionPlane?: string
|
|
452
|
+
lastDeliveryAt?: Date | string | null
|
|
453
|
+
lastError?: string | null
|
|
454
|
+
revision?: number
|
|
455
|
+
createdAt?: Date | string
|
|
456
|
+
updatedAt?: Date | string
|
|
457
|
+
deliveries?: Prisma.HarnessWebhookDeliveryCreateNestedManyWithoutRuleInput
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export type HarnessWebhookRuleUncheckedCreateInput = {
|
|
461
|
+
id?: string
|
|
462
|
+
userId: string
|
|
463
|
+
token: string
|
|
464
|
+
name: string
|
|
465
|
+
provider?: string
|
|
466
|
+
threadId: string
|
|
467
|
+
workspaceId?: string | null
|
|
468
|
+
prompt: string
|
|
469
|
+
secretCipher?: string | null
|
|
470
|
+
secretHint: string
|
|
471
|
+
events?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
472
|
+
repoWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
473
|
+
ownerWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
474
|
+
status?: string
|
|
475
|
+
executionPlane?: string
|
|
476
|
+
lastDeliveryAt?: Date | string | null
|
|
477
|
+
lastError?: string | null
|
|
478
|
+
revision?: number
|
|
479
|
+
createdAt?: Date | string
|
|
480
|
+
updatedAt?: Date | string
|
|
481
|
+
deliveries?: Prisma.HarnessWebhookDeliveryUncheckedCreateNestedManyWithoutRuleInput
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export type HarnessWebhookRuleUpdateInput = {
|
|
485
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
486
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
487
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
488
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
489
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string
|
|
490
|
+
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
491
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
492
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
493
|
+
secretCipher?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
494
|
+
secretHint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
495
|
+
events?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
496
|
+
repoWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
497
|
+
ownerWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
498
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
499
|
+
executionPlane?: Prisma.StringFieldUpdateOperationsInput | string
|
|
500
|
+
lastDeliveryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
501
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
502
|
+
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
503
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
504
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
505
|
+
deliveries?: Prisma.HarnessWebhookDeliveryUpdateManyWithoutRuleNestedInput
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export type HarnessWebhookRuleUncheckedUpdateInput = {
|
|
509
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
510
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
511
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
512
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
513
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string
|
|
514
|
+
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
515
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
516
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
517
|
+
secretCipher?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
518
|
+
secretHint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
519
|
+
events?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
520
|
+
repoWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
521
|
+
ownerWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
522
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
523
|
+
executionPlane?: Prisma.StringFieldUpdateOperationsInput | string
|
|
524
|
+
lastDeliveryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
525
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
526
|
+
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
527
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
528
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
529
|
+
deliveries?: Prisma.HarnessWebhookDeliveryUncheckedUpdateManyWithoutRuleNestedInput
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export type HarnessWebhookRuleCreateManyInput = {
|
|
533
|
+
id?: string
|
|
534
|
+
userId: string
|
|
535
|
+
token: string
|
|
536
|
+
name: string
|
|
537
|
+
provider?: string
|
|
538
|
+
threadId: string
|
|
539
|
+
workspaceId?: string | null
|
|
540
|
+
prompt: string
|
|
541
|
+
secretCipher?: string | null
|
|
542
|
+
secretHint: string
|
|
543
|
+
events?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
544
|
+
repoWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
545
|
+
ownerWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
546
|
+
status?: string
|
|
547
|
+
executionPlane?: string
|
|
548
|
+
lastDeliveryAt?: Date | string | null
|
|
549
|
+
lastError?: string | null
|
|
550
|
+
revision?: number
|
|
551
|
+
createdAt?: Date | string
|
|
552
|
+
updatedAt?: Date | string
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export type HarnessWebhookRuleUpdateManyMutationInput = {
|
|
556
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
557
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
558
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
559
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
560
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string
|
|
561
|
+
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
562
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
563
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
564
|
+
secretCipher?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
565
|
+
secretHint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
566
|
+
events?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
567
|
+
repoWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
568
|
+
ownerWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
569
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
570
|
+
executionPlane?: Prisma.StringFieldUpdateOperationsInput | string
|
|
571
|
+
lastDeliveryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
572
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
573
|
+
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
574
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
575
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export type HarnessWebhookRuleUncheckedUpdateManyInput = {
|
|
579
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
580
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
581
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
582
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
583
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string
|
|
584
|
+
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
585
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
586
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
587
|
+
secretCipher?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
588
|
+
secretHint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
589
|
+
events?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
590
|
+
repoWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
591
|
+
ownerWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
592
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
593
|
+
executionPlane?: Prisma.StringFieldUpdateOperationsInput | string
|
|
594
|
+
lastDeliveryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
595
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
596
|
+
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
597
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
598
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export type HarnessWebhookRuleCountOrderByAggregateInput = {
|
|
602
|
+
id?: Prisma.SortOrder
|
|
603
|
+
userId?: Prisma.SortOrder
|
|
604
|
+
token?: Prisma.SortOrder
|
|
605
|
+
name?: Prisma.SortOrder
|
|
606
|
+
provider?: Prisma.SortOrder
|
|
607
|
+
threadId?: Prisma.SortOrder
|
|
608
|
+
workspaceId?: Prisma.SortOrder
|
|
609
|
+
prompt?: Prisma.SortOrder
|
|
610
|
+
secretCipher?: Prisma.SortOrder
|
|
611
|
+
secretHint?: Prisma.SortOrder
|
|
612
|
+
events?: Prisma.SortOrder
|
|
613
|
+
repoWhitelist?: Prisma.SortOrder
|
|
614
|
+
ownerWhitelist?: Prisma.SortOrder
|
|
615
|
+
status?: Prisma.SortOrder
|
|
616
|
+
executionPlane?: Prisma.SortOrder
|
|
617
|
+
lastDeliveryAt?: Prisma.SortOrder
|
|
618
|
+
lastError?: Prisma.SortOrder
|
|
619
|
+
revision?: Prisma.SortOrder
|
|
620
|
+
createdAt?: Prisma.SortOrder
|
|
621
|
+
updatedAt?: Prisma.SortOrder
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
export type HarnessWebhookRuleAvgOrderByAggregateInput = {
|
|
625
|
+
revision?: Prisma.SortOrder
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
export type HarnessWebhookRuleMaxOrderByAggregateInput = {
|
|
629
|
+
id?: Prisma.SortOrder
|
|
630
|
+
userId?: Prisma.SortOrder
|
|
631
|
+
token?: Prisma.SortOrder
|
|
632
|
+
name?: Prisma.SortOrder
|
|
633
|
+
provider?: Prisma.SortOrder
|
|
634
|
+
threadId?: Prisma.SortOrder
|
|
635
|
+
workspaceId?: Prisma.SortOrder
|
|
636
|
+
prompt?: Prisma.SortOrder
|
|
637
|
+
secretCipher?: Prisma.SortOrder
|
|
638
|
+
secretHint?: Prisma.SortOrder
|
|
639
|
+
status?: Prisma.SortOrder
|
|
640
|
+
executionPlane?: Prisma.SortOrder
|
|
641
|
+
lastDeliveryAt?: Prisma.SortOrder
|
|
642
|
+
lastError?: Prisma.SortOrder
|
|
643
|
+
revision?: Prisma.SortOrder
|
|
644
|
+
createdAt?: Prisma.SortOrder
|
|
645
|
+
updatedAt?: Prisma.SortOrder
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
export type HarnessWebhookRuleMinOrderByAggregateInput = {
|
|
649
|
+
id?: Prisma.SortOrder
|
|
650
|
+
userId?: Prisma.SortOrder
|
|
651
|
+
token?: Prisma.SortOrder
|
|
652
|
+
name?: Prisma.SortOrder
|
|
653
|
+
provider?: Prisma.SortOrder
|
|
654
|
+
threadId?: Prisma.SortOrder
|
|
655
|
+
workspaceId?: Prisma.SortOrder
|
|
656
|
+
prompt?: Prisma.SortOrder
|
|
657
|
+
secretCipher?: Prisma.SortOrder
|
|
658
|
+
secretHint?: Prisma.SortOrder
|
|
659
|
+
status?: Prisma.SortOrder
|
|
660
|
+
executionPlane?: Prisma.SortOrder
|
|
661
|
+
lastDeliveryAt?: Prisma.SortOrder
|
|
662
|
+
lastError?: Prisma.SortOrder
|
|
663
|
+
revision?: Prisma.SortOrder
|
|
664
|
+
createdAt?: Prisma.SortOrder
|
|
665
|
+
updatedAt?: Prisma.SortOrder
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
export type HarnessWebhookRuleSumOrderByAggregateInput = {
|
|
669
|
+
revision?: Prisma.SortOrder
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export type HarnessWebhookRuleScalarRelationFilter = {
|
|
673
|
+
is?: Prisma.HarnessWebhookRuleWhereInput
|
|
674
|
+
isNot?: Prisma.HarnessWebhookRuleWhereInput
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
export type HarnessWebhookRuleCreateNestedOneWithoutDeliveriesInput = {
|
|
678
|
+
create?: Prisma.XOR<Prisma.HarnessWebhookRuleCreateWithoutDeliveriesInput, Prisma.HarnessWebhookRuleUncheckedCreateWithoutDeliveriesInput>
|
|
679
|
+
connectOrCreate?: Prisma.HarnessWebhookRuleCreateOrConnectWithoutDeliveriesInput
|
|
680
|
+
connect?: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export type HarnessWebhookRuleUpdateOneRequiredWithoutDeliveriesNestedInput = {
|
|
684
|
+
create?: Prisma.XOR<Prisma.HarnessWebhookRuleCreateWithoutDeliveriesInput, Prisma.HarnessWebhookRuleUncheckedCreateWithoutDeliveriesInput>
|
|
685
|
+
connectOrCreate?: Prisma.HarnessWebhookRuleCreateOrConnectWithoutDeliveriesInput
|
|
686
|
+
upsert?: Prisma.HarnessWebhookRuleUpsertWithoutDeliveriesInput
|
|
687
|
+
connect?: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
688
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.HarnessWebhookRuleUpdateToOneWithWhereWithoutDeliveriesInput, Prisma.HarnessWebhookRuleUpdateWithoutDeliveriesInput>, Prisma.HarnessWebhookRuleUncheckedUpdateWithoutDeliveriesInput>
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export type HarnessWebhookRuleCreateWithoutDeliveriesInput = {
|
|
692
|
+
id?: string
|
|
693
|
+
userId: string
|
|
694
|
+
token: string
|
|
695
|
+
name: string
|
|
696
|
+
provider?: string
|
|
697
|
+
threadId: string
|
|
698
|
+
workspaceId?: string | null
|
|
699
|
+
prompt: string
|
|
700
|
+
secretCipher?: string | null
|
|
701
|
+
secretHint: string
|
|
702
|
+
events?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
703
|
+
repoWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
704
|
+
ownerWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
705
|
+
status?: string
|
|
706
|
+
executionPlane?: string
|
|
707
|
+
lastDeliveryAt?: Date | string | null
|
|
708
|
+
lastError?: string | null
|
|
709
|
+
revision?: number
|
|
710
|
+
createdAt?: Date | string
|
|
711
|
+
updatedAt?: Date | string
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export type HarnessWebhookRuleUncheckedCreateWithoutDeliveriesInput = {
|
|
715
|
+
id?: string
|
|
716
|
+
userId: string
|
|
717
|
+
token: string
|
|
718
|
+
name: string
|
|
719
|
+
provider?: string
|
|
720
|
+
threadId: string
|
|
721
|
+
workspaceId?: string | null
|
|
722
|
+
prompt: string
|
|
723
|
+
secretCipher?: string | null
|
|
724
|
+
secretHint: string
|
|
725
|
+
events?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
726
|
+
repoWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
727
|
+
ownerWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
728
|
+
status?: string
|
|
729
|
+
executionPlane?: string
|
|
730
|
+
lastDeliveryAt?: Date | string | null
|
|
731
|
+
lastError?: string | null
|
|
732
|
+
revision?: number
|
|
733
|
+
createdAt?: Date | string
|
|
734
|
+
updatedAt?: Date | string
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
export type HarnessWebhookRuleCreateOrConnectWithoutDeliveriesInput = {
|
|
738
|
+
where: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
739
|
+
create: Prisma.XOR<Prisma.HarnessWebhookRuleCreateWithoutDeliveriesInput, Prisma.HarnessWebhookRuleUncheckedCreateWithoutDeliveriesInput>
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
export type HarnessWebhookRuleUpsertWithoutDeliveriesInput = {
|
|
743
|
+
update: Prisma.XOR<Prisma.HarnessWebhookRuleUpdateWithoutDeliveriesInput, Prisma.HarnessWebhookRuleUncheckedUpdateWithoutDeliveriesInput>
|
|
744
|
+
create: Prisma.XOR<Prisma.HarnessWebhookRuleCreateWithoutDeliveriesInput, Prisma.HarnessWebhookRuleUncheckedCreateWithoutDeliveriesInput>
|
|
745
|
+
where?: Prisma.HarnessWebhookRuleWhereInput
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
export type HarnessWebhookRuleUpdateToOneWithWhereWithoutDeliveriesInput = {
|
|
749
|
+
where?: Prisma.HarnessWebhookRuleWhereInput
|
|
750
|
+
data: Prisma.XOR<Prisma.HarnessWebhookRuleUpdateWithoutDeliveriesInput, Prisma.HarnessWebhookRuleUncheckedUpdateWithoutDeliveriesInput>
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
export type HarnessWebhookRuleUpdateWithoutDeliveriesInput = {
|
|
754
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
755
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
756
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
757
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
758
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string
|
|
759
|
+
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
760
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
761
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
762
|
+
secretCipher?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
763
|
+
secretHint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
764
|
+
events?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
765
|
+
repoWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
766
|
+
ownerWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
767
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
768
|
+
executionPlane?: Prisma.StringFieldUpdateOperationsInput | string
|
|
769
|
+
lastDeliveryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
770
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
771
|
+
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
772
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
773
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
export type HarnessWebhookRuleUncheckedUpdateWithoutDeliveriesInput = {
|
|
777
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
778
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
779
|
+
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
780
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
781
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string
|
|
782
|
+
threadId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
783
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
784
|
+
prompt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
785
|
+
secretCipher?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
786
|
+
secretHint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
787
|
+
events?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
788
|
+
repoWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
789
|
+
ownerWhitelist?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
790
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
791
|
+
executionPlane?: Prisma.StringFieldUpdateOperationsInput | string
|
|
792
|
+
lastDeliveryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
793
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
794
|
+
revision?: Prisma.IntFieldUpdateOperationsInput | number
|
|
795
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
796
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* Count Type HarnessWebhookRuleCountOutputType
|
|
802
|
+
*/
|
|
803
|
+
|
|
804
|
+
export type HarnessWebhookRuleCountOutputType = {
|
|
805
|
+
deliveries: number
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
export type HarnessWebhookRuleCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
809
|
+
deliveries?: boolean | HarnessWebhookRuleCountOutputTypeCountDeliveriesArgs
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* HarnessWebhookRuleCountOutputType without action
|
|
814
|
+
*/
|
|
815
|
+
export type HarnessWebhookRuleCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
816
|
+
/**
|
|
817
|
+
* Select specific fields to fetch from the HarnessWebhookRuleCountOutputType
|
|
818
|
+
*/
|
|
819
|
+
select?: Prisma.HarnessWebhookRuleCountOutputTypeSelect<ExtArgs> | null
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* HarnessWebhookRuleCountOutputType without action
|
|
824
|
+
*/
|
|
825
|
+
export type HarnessWebhookRuleCountOutputTypeCountDeliveriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
826
|
+
where?: Prisma.HarnessWebhookDeliveryWhereInput
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
export type HarnessWebhookRuleSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
831
|
+
id?: boolean
|
|
832
|
+
userId?: boolean
|
|
833
|
+
token?: boolean
|
|
834
|
+
name?: boolean
|
|
835
|
+
provider?: boolean
|
|
836
|
+
threadId?: boolean
|
|
837
|
+
workspaceId?: boolean
|
|
838
|
+
prompt?: boolean
|
|
839
|
+
secretCipher?: boolean
|
|
840
|
+
secretHint?: boolean
|
|
841
|
+
events?: boolean
|
|
842
|
+
repoWhitelist?: boolean
|
|
843
|
+
ownerWhitelist?: boolean
|
|
844
|
+
status?: boolean
|
|
845
|
+
executionPlane?: boolean
|
|
846
|
+
lastDeliveryAt?: boolean
|
|
847
|
+
lastError?: boolean
|
|
848
|
+
revision?: boolean
|
|
849
|
+
createdAt?: boolean
|
|
850
|
+
updatedAt?: boolean
|
|
851
|
+
deliveries?: boolean | Prisma.HarnessWebhookRule$deliveriesArgs<ExtArgs>
|
|
852
|
+
_count?: boolean | Prisma.HarnessWebhookRuleCountOutputTypeDefaultArgs<ExtArgs>
|
|
853
|
+
}, ExtArgs["result"]["harnessWebhookRule"]>
|
|
854
|
+
|
|
855
|
+
export type HarnessWebhookRuleSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
856
|
+
id?: boolean
|
|
857
|
+
userId?: boolean
|
|
858
|
+
token?: boolean
|
|
859
|
+
name?: boolean
|
|
860
|
+
provider?: boolean
|
|
861
|
+
threadId?: boolean
|
|
862
|
+
workspaceId?: boolean
|
|
863
|
+
prompt?: boolean
|
|
864
|
+
secretCipher?: boolean
|
|
865
|
+
secretHint?: boolean
|
|
866
|
+
events?: boolean
|
|
867
|
+
repoWhitelist?: boolean
|
|
868
|
+
ownerWhitelist?: boolean
|
|
869
|
+
status?: boolean
|
|
870
|
+
executionPlane?: boolean
|
|
871
|
+
lastDeliveryAt?: boolean
|
|
872
|
+
lastError?: boolean
|
|
873
|
+
revision?: boolean
|
|
874
|
+
createdAt?: boolean
|
|
875
|
+
updatedAt?: boolean
|
|
876
|
+
}, ExtArgs["result"]["harnessWebhookRule"]>
|
|
877
|
+
|
|
878
|
+
export type HarnessWebhookRuleSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
879
|
+
id?: boolean
|
|
880
|
+
userId?: boolean
|
|
881
|
+
token?: boolean
|
|
882
|
+
name?: boolean
|
|
883
|
+
provider?: boolean
|
|
884
|
+
threadId?: boolean
|
|
885
|
+
workspaceId?: boolean
|
|
886
|
+
prompt?: boolean
|
|
887
|
+
secretCipher?: boolean
|
|
888
|
+
secretHint?: boolean
|
|
889
|
+
events?: boolean
|
|
890
|
+
repoWhitelist?: boolean
|
|
891
|
+
ownerWhitelist?: boolean
|
|
892
|
+
status?: boolean
|
|
893
|
+
executionPlane?: boolean
|
|
894
|
+
lastDeliveryAt?: boolean
|
|
895
|
+
lastError?: boolean
|
|
896
|
+
revision?: boolean
|
|
897
|
+
createdAt?: boolean
|
|
898
|
+
updatedAt?: boolean
|
|
899
|
+
}, ExtArgs["result"]["harnessWebhookRule"]>
|
|
900
|
+
|
|
901
|
+
export type HarnessWebhookRuleSelectScalar = {
|
|
902
|
+
id?: boolean
|
|
903
|
+
userId?: boolean
|
|
904
|
+
token?: boolean
|
|
905
|
+
name?: boolean
|
|
906
|
+
provider?: boolean
|
|
907
|
+
threadId?: boolean
|
|
908
|
+
workspaceId?: boolean
|
|
909
|
+
prompt?: boolean
|
|
910
|
+
secretCipher?: boolean
|
|
911
|
+
secretHint?: boolean
|
|
912
|
+
events?: boolean
|
|
913
|
+
repoWhitelist?: boolean
|
|
914
|
+
ownerWhitelist?: boolean
|
|
915
|
+
status?: boolean
|
|
916
|
+
executionPlane?: boolean
|
|
917
|
+
lastDeliveryAt?: boolean
|
|
918
|
+
lastError?: boolean
|
|
919
|
+
revision?: boolean
|
|
920
|
+
createdAt?: boolean
|
|
921
|
+
updatedAt?: boolean
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
export type HarnessWebhookRuleOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "token" | "name" | "provider" | "threadId" | "workspaceId" | "prompt" | "secretCipher" | "secretHint" | "events" | "repoWhitelist" | "ownerWhitelist" | "status" | "executionPlane" | "lastDeliveryAt" | "lastError" | "revision" | "createdAt" | "updatedAt", ExtArgs["result"]["harnessWebhookRule"]>
|
|
925
|
+
export type HarnessWebhookRuleInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
926
|
+
deliveries?: boolean | Prisma.HarnessWebhookRule$deliveriesArgs<ExtArgs>
|
|
927
|
+
_count?: boolean | Prisma.HarnessWebhookRuleCountOutputTypeDefaultArgs<ExtArgs>
|
|
928
|
+
}
|
|
929
|
+
export type HarnessWebhookRuleIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
930
|
+
export type HarnessWebhookRuleIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
931
|
+
|
|
932
|
+
export type $HarnessWebhookRulePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
933
|
+
name: "HarnessWebhookRule"
|
|
934
|
+
objects: {
|
|
935
|
+
deliveries: Prisma.$HarnessWebhookDeliveryPayload<ExtArgs>[]
|
|
936
|
+
}
|
|
937
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
938
|
+
id: string
|
|
939
|
+
userId: string
|
|
940
|
+
/**
|
|
941
|
+
* 端点不透明令牌(URL 路径段,随机生成、唯一)。只作路由键,不是鉴权凭据
|
|
942
|
+
*/
|
|
943
|
+
token: string
|
|
944
|
+
name: string
|
|
945
|
+
provider: string
|
|
946
|
+
/**
|
|
947
|
+
* 投递目标线程:Worker 在该线程发起一次 root Session
|
|
948
|
+
*/
|
|
949
|
+
threadId: string
|
|
950
|
+
workspaceId: string | null
|
|
951
|
+
prompt: string
|
|
952
|
+
/**
|
|
953
|
+
* HMAC-SHA256 密钥(AES 加密落库,encryptApiKey)。明文仅在设置页创建/轮换时
|
|
954
|
+
* 返回一次;绝不进 log / 搜索索引 / 工具结果(母规格 §8)。
|
|
955
|
+
* **可空**(P5 任务 5):跨端同步只带定义、不带密钥——同步而来的行 secretCipher
|
|
956
|
+
* 为 NULL,须在新设备重新录入密钥后该 rule 才能校验(此前一律 503 fail-closed)。
|
|
957
|
+
*/
|
|
958
|
+
secretCipher: string | null
|
|
959
|
+
/**
|
|
960
|
+
* 密钥末 4 位,仅供用户识别是哪一把(非敏感)
|
|
961
|
+
*/
|
|
962
|
+
secretHint: string
|
|
963
|
+
/**
|
|
964
|
+
* 订阅事件类型(`push`/`pull_request`/...);null = 全部事件
|
|
965
|
+
*/
|
|
966
|
+
events: runtime.JsonValue | null
|
|
967
|
+
/**
|
|
968
|
+
* repo 白名单(`owner/repo` 精确匹配);与 ownerWhitelist 至少一个非空
|
|
969
|
+
*/
|
|
970
|
+
repoWhitelist: runtime.JsonValue | null
|
|
971
|
+
/**
|
|
972
|
+
* owner 白名单(精确匹配)
|
|
973
|
+
*/
|
|
974
|
+
ownerWhitelist: runtime.JsonValue | null
|
|
975
|
+
status: string
|
|
976
|
+
executionPlane: string
|
|
977
|
+
lastDeliveryAt: Date | null
|
|
978
|
+
lastError: string | null
|
|
979
|
+
revision: number
|
|
980
|
+
createdAt: Date
|
|
981
|
+
updatedAt: Date
|
|
982
|
+
}, ExtArgs["result"]["harnessWebhookRule"]>
|
|
983
|
+
composites: {}
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
export type HarnessWebhookRuleGetPayload<S extends boolean | null | undefined | HarnessWebhookRuleDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload, S>
|
|
987
|
+
|
|
988
|
+
export type HarnessWebhookRuleCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
989
|
+
Omit<HarnessWebhookRuleFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
990
|
+
select?: HarnessWebhookRuleCountAggregateInputType | true
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
export interface HarnessWebhookRuleDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
994
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HarnessWebhookRule'], meta: { name: 'HarnessWebhookRule' } }
|
|
995
|
+
/**
|
|
996
|
+
* Find zero or one HarnessWebhookRule that matches the filter.
|
|
997
|
+
* @param {HarnessWebhookRuleFindUniqueArgs} args - Arguments to find a HarnessWebhookRule
|
|
998
|
+
* @example
|
|
999
|
+
* // Get one HarnessWebhookRule
|
|
1000
|
+
* const harnessWebhookRule = await prisma.harnessWebhookRule.findUnique({
|
|
1001
|
+
* where: {
|
|
1002
|
+
* // ... provide filter here
|
|
1003
|
+
* }
|
|
1004
|
+
* })
|
|
1005
|
+
*/
|
|
1006
|
+
findUnique<T extends HarnessWebhookRuleFindUniqueArgs>(args: Prisma.SelectSubset<T, HarnessWebhookRuleFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HarnessWebhookRuleClient<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* Find one HarnessWebhookRule that matches the filter or throw an error with `error.code='P2025'`
|
|
1010
|
+
* if no matches were found.
|
|
1011
|
+
* @param {HarnessWebhookRuleFindUniqueOrThrowArgs} args - Arguments to find a HarnessWebhookRule
|
|
1012
|
+
* @example
|
|
1013
|
+
* // Get one HarnessWebhookRule
|
|
1014
|
+
* const harnessWebhookRule = await prisma.harnessWebhookRule.findUniqueOrThrow({
|
|
1015
|
+
* where: {
|
|
1016
|
+
* // ... provide filter here
|
|
1017
|
+
* }
|
|
1018
|
+
* })
|
|
1019
|
+
*/
|
|
1020
|
+
findUniqueOrThrow<T extends HarnessWebhookRuleFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HarnessWebhookRuleFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessWebhookRuleClient<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* Find the first HarnessWebhookRule that matches the filter.
|
|
1024
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1025
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1026
|
+
* @param {HarnessWebhookRuleFindFirstArgs} args - Arguments to find a HarnessWebhookRule
|
|
1027
|
+
* @example
|
|
1028
|
+
* // Get one HarnessWebhookRule
|
|
1029
|
+
* const harnessWebhookRule = await prisma.harnessWebhookRule.findFirst({
|
|
1030
|
+
* where: {
|
|
1031
|
+
* // ... provide filter here
|
|
1032
|
+
* }
|
|
1033
|
+
* })
|
|
1034
|
+
*/
|
|
1035
|
+
findFirst<T extends HarnessWebhookRuleFindFirstArgs>(args?: Prisma.SelectSubset<T, HarnessWebhookRuleFindFirstArgs<ExtArgs>>): Prisma.Prisma__HarnessWebhookRuleClient<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* Find the first HarnessWebhookRule that matches the filter or
|
|
1039
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1040
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1041
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1042
|
+
* @param {HarnessWebhookRuleFindFirstOrThrowArgs} args - Arguments to find a HarnessWebhookRule
|
|
1043
|
+
* @example
|
|
1044
|
+
* // Get one HarnessWebhookRule
|
|
1045
|
+
* const harnessWebhookRule = await prisma.harnessWebhookRule.findFirstOrThrow({
|
|
1046
|
+
* where: {
|
|
1047
|
+
* // ... provide filter here
|
|
1048
|
+
* }
|
|
1049
|
+
* })
|
|
1050
|
+
*/
|
|
1051
|
+
findFirstOrThrow<T extends HarnessWebhookRuleFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HarnessWebhookRuleFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessWebhookRuleClient<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* Find zero or more HarnessWebhookRules that matches the filter.
|
|
1055
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1056
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1057
|
+
* @param {HarnessWebhookRuleFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1058
|
+
* @example
|
|
1059
|
+
* // Get all HarnessWebhookRules
|
|
1060
|
+
* const harnessWebhookRules = await prisma.harnessWebhookRule.findMany()
|
|
1061
|
+
*
|
|
1062
|
+
* // Get first 10 HarnessWebhookRules
|
|
1063
|
+
* const harnessWebhookRules = await prisma.harnessWebhookRule.findMany({ take: 10 })
|
|
1064
|
+
*
|
|
1065
|
+
* // Only select the `id`
|
|
1066
|
+
* const harnessWebhookRuleWithIdOnly = await prisma.harnessWebhookRule.findMany({ select: { id: true } })
|
|
1067
|
+
*
|
|
1068
|
+
*/
|
|
1069
|
+
findMany<T extends HarnessWebhookRuleFindManyArgs>(args?: Prisma.SelectSubset<T, HarnessWebhookRuleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* Create a HarnessWebhookRule.
|
|
1073
|
+
* @param {HarnessWebhookRuleCreateArgs} args - Arguments to create a HarnessWebhookRule.
|
|
1074
|
+
* @example
|
|
1075
|
+
* // Create one HarnessWebhookRule
|
|
1076
|
+
* const HarnessWebhookRule = await prisma.harnessWebhookRule.create({
|
|
1077
|
+
* data: {
|
|
1078
|
+
* // ... data to create a HarnessWebhookRule
|
|
1079
|
+
* }
|
|
1080
|
+
* })
|
|
1081
|
+
*
|
|
1082
|
+
*/
|
|
1083
|
+
create<T extends HarnessWebhookRuleCreateArgs>(args: Prisma.SelectSubset<T, HarnessWebhookRuleCreateArgs<ExtArgs>>): Prisma.Prisma__HarnessWebhookRuleClient<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* Create many HarnessWebhookRules.
|
|
1087
|
+
* @param {HarnessWebhookRuleCreateManyArgs} args - Arguments to create many HarnessWebhookRules.
|
|
1088
|
+
* @example
|
|
1089
|
+
* // Create many HarnessWebhookRules
|
|
1090
|
+
* const harnessWebhookRule = await prisma.harnessWebhookRule.createMany({
|
|
1091
|
+
* data: [
|
|
1092
|
+
* // ... provide data here
|
|
1093
|
+
* ]
|
|
1094
|
+
* })
|
|
1095
|
+
*
|
|
1096
|
+
*/
|
|
1097
|
+
createMany<T extends HarnessWebhookRuleCreateManyArgs>(args?: Prisma.SelectSubset<T, HarnessWebhookRuleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* Create many HarnessWebhookRules and returns the data saved in the database.
|
|
1101
|
+
* @param {HarnessWebhookRuleCreateManyAndReturnArgs} args - Arguments to create many HarnessWebhookRules.
|
|
1102
|
+
* @example
|
|
1103
|
+
* // Create many HarnessWebhookRules
|
|
1104
|
+
* const harnessWebhookRule = await prisma.harnessWebhookRule.createManyAndReturn({
|
|
1105
|
+
* data: [
|
|
1106
|
+
* // ... provide data here
|
|
1107
|
+
* ]
|
|
1108
|
+
* })
|
|
1109
|
+
*
|
|
1110
|
+
* // Create many HarnessWebhookRules and only return the `id`
|
|
1111
|
+
* const harnessWebhookRuleWithIdOnly = await prisma.harnessWebhookRule.createManyAndReturn({
|
|
1112
|
+
* select: { id: true },
|
|
1113
|
+
* data: [
|
|
1114
|
+
* // ... provide data here
|
|
1115
|
+
* ]
|
|
1116
|
+
* })
|
|
1117
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1118
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1119
|
+
*
|
|
1120
|
+
*/
|
|
1121
|
+
createManyAndReturn<T extends HarnessWebhookRuleCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HarnessWebhookRuleCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* Delete a HarnessWebhookRule.
|
|
1125
|
+
* @param {HarnessWebhookRuleDeleteArgs} args - Arguments to delete one HarnessWebhookRule.
|
|
1126
|
+
* @example
|
|
1127
|
+
* // Delete one HarnessWebhookRule
|
|
1128
|
+
* const HarnessWebhookRule = await prisma.harnessWebhookRule.delete({
|
|
1129
|
+
* where: {
|
|
1130
|
+
* // ... filter to delete one HarnessWebhookRule
|
|
1131
|
+
* }
|
|
1132
|
+
* })
|
|
1133
|
+
*
|
|
1134
|
+
*/
|
|
1135
|
+
delete<T extends HarnessWebhookRuleDeleteArgs>(args: Prisma.SelectSubset<T, HarnessWebhookRuleDeleteArgs<ExtArgs>>): Prisma.Prisma__HarnessWebhookRuleClient<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* Update one HarnessWebhookRule.
|
|
1139
|
+
* @param {HarnessWebhookRuleUpdateArgs} args - Arguments to update one HarnessWebhookRule.
|
|
1140
|
+
* @example
|
|
1141
|
+
* // Update one HarnessWebhookRule
|
|
1142
|
+
* const harnessWebhookRule = await prisma.harnessWebhookRule.update({
|
|
1143
|
+
* where: {
|
|
1144
|
+
* // ... provide filter here
|
|
1145
|
+
* },
|
|
1146
|
+
* data: {
|
|
1147
|
+
* // ... provide data here
|
|
1148
|
+
* }
|
|
1149
|
+
* })
|
|
1150
|
+
*
|
|
1151
|
+
*/
|
|
1152
|
+
update<T extends HarnessWebhookRuleUpdateArgs>(args: Prisma.SelectSubset<T, HarnessWebhookRuleUpdateArgs<ExtArgs>>): Prisma.Prisma__HarnessWebhookRuleClient<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Delete zero or more HarnessWebhookRules.
|
|
1156
|
+
* @param {HarnessWebhookRuleDeleteManyArgs} args - Arguments to filter HarnessWebhookRules to delete.
|
|
1157
|
+
* @example
|
|
1158
|
+
* // Delete a few HarnessWebhookRules
|
|
1159
|
+
* const { count } = await prisma.harnessWebhookRule.deleteMany({
|
|
1160
|
+
* where: {
|
|
1161
|
+
* // ... provide filter here
|
|
1162
|
+
* }
|
|
1163
|
+
* })
|
|
1164
|
+
*
|
|
1165
|
+
*/
|
|
1166
|
+
deleteMany<T extends HarnessWebhookRuleDeleteManyArgs>(args?: Prisma.SelectSubset<T, HarnessWebhookRuleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* Update zero or more HarnessWebhookRules.
|
|
1170
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1171
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1172
|
+
* @param {HarnessWebhookRuleUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1173
|
+
* @example
|
|
1174
|
+
* // Update many HarnessWebhookRules
|
|
1175
|
+
* const harnessWebhookRule = await prisma.harnessWebhookRule.updateMany({
|
|
1176
|
+
* where: {
|
|
1177
|
+
* // ... provide filter here
|
|
1178
|
+
* },
|
|
1179
|
+
* data: {
|
|
1180
|
+
* // ... provide data here
|
|
1181
|
+
* }
|
|
1182
|
+
* })
|
|
1183
|
+
*
|
|
1184
|
+
*/
|
|
1185
|
+
updateMany<T extends HarnessWebhookRuleUpdateManyArgs>(args: Prisma.SelectSubset<T, HarnessWebhookRuleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* Update zero or more HarnessWebhookRules and returns the data updated in the database.
|
|
1189
|
+
* @param {HarnessWebhookRuleUpdateManyAndReturnArgs} args - Arguments to update many HarnessWebhookRules.
|
|
1190
|
+
* @example
|
|
1191
|
+
* // Update many HarnessWebhookRules
|
|
1192
|
+
* const harnessWebhookRule = await prisma.harnessWebhookRule.updateManyAndReturn({
|
|
1193
|
+
* where: {
|
|
1194
|
+
* // ... provide filter here
|
|
1195
|
+
* },
|
|
1196
|
+
* data: [
|
|
1197
|
+
* // ... provide data here
|
|
1198
|
+
* ]
|
|
1199
|
+
* })
|
|
1200
|
+
*
|
|
1201
|
+
* // Update zero or more HarnessWebhookRules and only return the `id`
|
|
1202
|
+
* const harnessWebhookRuleWithIdOnly = await prisma.harnessWebhookRule.updateManyAndReturn({
|
|
1203
|
+
* select: { id: true },
|
|
1204
|
+
* where: {
|
|
1205
|
+
* // ... provide filter here
|
|
1206
|
+
* },
|
|
1207
|
+
* data: [
|
|
1208
|
+
* // ... provide data here
|
|
1209
|
+
* ]
|
|
1210
|
+
* })
|
|
1211
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1212
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1213
|
+
*
|
|
1214
|
+
*/
|
|
1215
|
+
updateManyAndReturn<T extends HarnessWebhookRuleUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HarnessWebhookRuleUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* Create or update one HarnessWebhookRule.
|
|
1219
|
+
* @param {HarnessWebhookRuleUpsertArgs} args - Arguments to update or create a HarnessWebhookRule.
|
|
1220
|
+
* @example
|
|
1221
|
+
* // Update or create a HarnessWebhookRule
|
|
1222
|
+
* const harnessWebhookRule = await prisma.harnessWebhookRule.upsert({
|
|
1223
|
+
* create: {
|
|
1224
|
+
* // ... data to create a HarnessWebhookRule
|
|
1225
|
+
* },
|
|
1226
|
+
* update: {
|
|
1227
|
+
* // ... in case it already exists, update
|
|
1228
|
+
* },
|
|
1229
|
+
* where: {
|
|
1230
|
+
* // ... the filter for the HarnessWebhookRule we want to update
|
|
1231
|
+
* }
|
|
1232
|
+
* })
|
|
1233
|
+
*/
|
|
1234
|
+
upsert<T extends HarnessWebhookRuleUpsertArgs>(args: Prisma.SelectSubset<T, HarnessWebhookRuleUpsertArgs<ExtArgs>>): Prisma.Prisma__HarnessWebhookRuleClient<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookRulePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* Count the number of HarnessWebhookRules.
|
|
1239
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1240
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1241
|
+
* @param {HarnessWebhookRuleCountArgs} args - Arguments to filter HarnessWebhookRules to count.
|
|
1242
|
+
* @example
|
|
1243
|
+
* // Count the number of HarnessWebhookRules
|
|
1244
|
+
* const count = await prisma.harnessWebhookRule.count({
|
|
1245
|
+
* where: {
|
|
1246
|
+
* // ... the filter for the HarnessWebhookRules we want to count
|
|
1247
|
+
* }
|
|
1248
|
+
* })
|
|
1249
|
+
**/
|
|
1250
|
+
count<T extends HarnessWebhookRuleCountArgs>(
|
|
1251
|
+
args?: Prisma.Subset<T, HarnessWebhookRuleCountArgs>,
|
|
1252
|
+
): Prisma.PrismaPromise<
|
|
1253
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1254
|
+
? T['select'] extends true
|
|
1255
|
+
? number
|
|
1256
|
+
: Prisma.GetScalarType<T['select'], HarnessWebhookRuleCountAggregateOutputType>
|
|
1257
|
+
: number
|
|
1258
|
+
>
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* Allows you to perform aggregations operations on a HarnessWebhookRule.
|
|
1262
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1263
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1264
|
+
* @param {HarnessWebhookRuleAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1265
|
+
* @example
|
|
1266
|
+
* // Ordered by age ascending
|
|
1267
|
+
* // Where email contains prisma.io
|
|
1268
|
+
* // Limited to the 10 users
|
|
1269
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1270
|
+
* _avg: {
|
|
1271
|
+
* age: true,
|
|
1272
|
+
* },
|
|
1273
|
+
* where: {
|
|
1274
|
+
* email: {
|
|
1275
|
+
* contains: "prisma.io",
|
|
1276
|
+
* },
|
|
1277
|
+
* },
|
|
1278
|
+
* orderBy: {
|
|
1279
|
+
* age: "asc",
|
|
1280
|
+
* },
|
|
1281
|
+
* take: 10,
|
|
1282
|
+
* })
|
|
1283
|
+
**/
|
|
1284
|
+
aggregate<T extends HarnessWebhookRuleAggregateArgs>(args: Prisma.Subset<T, HarnessWebhookRuleAggregateArgs>): Prisma.PrismaPromise<GetHarnessWebhookRuleAggregateType<T>>
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* Group by HarnessWebhookRule.
|
|
1288
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1289
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1290
|
+
* @param {HarnessWebhookRuleGroupByArgs} args - Group by arguments.
|
|
1291
|
+
* @example
|
|
1292
|
+
* // Group by city, order by createdAt, get count
|
|
1293
|
+
* const result = await prisma.user.groupBy({
|
|
1294
|
+
* by: ['city', 'createdAt'],
|
|
1295
|
+
* orderBy: {
|
|
1296
|
+
* createdAt: true
|
|
1297
|
+
* },
|
|
1298
|
+
* _count: {
|
|
1299
|
+
* _all: true
|
|
1300
|
+
* },
|
|
1301
|
+
* })
|
|
1302
|
+
*
|
|
1303
|
+
**/
|
|
1304
|
+
groupBy<
|
|
1305
|
+
T extends HarnessWebhookRuleGroupByArgs,
|
|
1306
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1307
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1308
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1309
|
+
>,
|
|
1310
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1311
|
+
? { orderBy: HarnessWebhookRuleGroupByArgs['orderBy'] }
|
|
1312
|
+
: { orderBy?: HarnessWebhookRuleGroupByArgs['orderBy'] },
|
|
1313
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1314
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1315
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1316
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1317
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1318
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1319
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1320
|
+
? `Error: "by" must not be empty.`
|
|
1321
|
+
: HavingValid extends Prisma.False
|
|
1322
|
+
? {
|
|
1323
|
+
[P in HavingFields]: P extends ByFields
|
|
1324
|
+
? never
|
|
1325
|
+
: P extends string
|
|
1326
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1327
|
+
: [
|
|
1328
|
+
Error,
|
|
1329
|
+
'Field ',
|
|
1330
|
+
P,
|
|
1331
|
+
` in "having" needs to be provided in "by"`,
|
|
1332
|
+
]
|
|
1333
|
+
}[HavingFields]
|
|
1334
|
+
: 'take' extends Prisma.Keys<T>
|
|
1335
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1336
|
+
? ByValid extends Prisma.True
|
|
1337
|
+
? {}
|
|
1338
|
+
: {
|
|
1339
|
+
[P in OrderFields]: P extends ByFields
|
|
1340
|
+
? never
|
|
1341
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1342
|
+
}[OrderFields]
|
|
1343
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1344
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1345
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1346
|
+
? ByValid extends Prisma.True
|
|
1347
|
+
? {}
|
|
1348
|
+
: {
|
|
1349
|
+
[P in OrderFields]: P extends ByFields
|
|
1350
|
+
? never
|
|
1351
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1352
|
+
}[OrderFields]
|
|
1353
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1354
|
+
: ByValid extends Prisma.True
|
|
1355
|
+
? {}
|
|
1356
|
+
: {
|
|
1357
|
+
[P in OrderFields]: P extends ByFields
|
|
1358
|
+
? never
|
|
1359
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1360
|
+
}[OrderFields]
|
|
1361
|
+
>(args: Prisma.SubsetIntersection<T, HarnessWebhookRuleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHarnessWebhookRuleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1362
|
+
/**
|
|
1363
|
+
* Fields of the HarnessWebhookRule model
|
|
1364
|
+
*/
|
|
1365
|
+
readonly fields: HarnessWebhookRuleFieldRefs;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* The delegate class that acts as a "Promise-like" for HarnessWebhookRule.
|
|
1370
|
+
* Why is this prefixed with `Prisma__`?
|
|
1371
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1372
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1373
|
+
*/
|
|
1374
|
+
export interface Prisma__HarnessWebhookRuleClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1375
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1376
|
+
deliveries<T extends Prisma.HarnessWebhookRule$deliveriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HarnessWebhookRule$deliveriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWebhookDeliveryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1377
|
+
/**
|
|
1378
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1379
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1380
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1381
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1382
|
+
*/
|
|
1383
|
+
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>
|
|
1384
|
+
/**
|
|
1385
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1386
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1387
|
+
* @returns A Promise for the completion of the callback.
|
|
1388
|
+
*/
|
|
1389
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1390
|
+
/**
|
|
1391
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1392
|
+
* resolved value cannot be modified from the callback.
|
|
1393
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1394
|
+
* @returns A Promise for the completion of the callback.
|
|
1395
|
+
*/
|
|
1396
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
/**
|
|
1403
|
+
* Fields of the HarnessWebhookRule model
|
|
1404
|
+
*/
|
|
1405
|
+
export interface HarnessWebhookRuleFieldRefs {
|
|
1406
|
+
readonly id: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1407
|
+
readonly userId: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1408
|
+
readonly token: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1409
|
+
readonly name: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1410
|
+
readonly provider: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1411
|
+
readonly threadId: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1412
|
+
readonly workspaceId: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1413
|
+
readonly prompt: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1414
|
+
readonly secretCipher: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1415
|
+
readonly secretHint: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1416
|
+
readonly events: Prisma.FieldRef<"HarnessWebhookRule", 'Json'>
|
|
1417
|
+
readonly repoWhitelist: Prisma.FieldRef<"HarnessWebhookRule", 'Json'>
|
|
1418
|
+
readonly ownerWhitelist: Prisma.FieldRef<"HarnessWebhookRule", 'Json'>
|
|
1419
|
+
readonly status: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1420
|
+
readonly executionPlane: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1421
|
+
readonly lastDeliveryAt: Prisma.FieldRef<"HarnessWebhookRule", 'DateTime'>
|
|
1422
|
+
readonly lastError: Prisma.FieldRef<"HarnessWebhookRule", 'String'>
|
|
1423
|
+
readonly revision: Prisma.FieldRef<"HarnessWebhookRule", 'Int'>
|
|
1424
|
+
readonly createdAt: Prisma.FieldRef<"HarnessWebhookRule", 'DateTime'>
|
|
1425
|
+
readonly updatedAt: Prisma.FieldRef<"HarnessWebhookRule", 'DateTime'>
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
// Custom InputTypes
|
|
1430
|
+
/**
|
|
1431
|
+
* HarnessWebhookRule findUnique
|
|
1432
|
+
*/
|
|
1433
|
+
export type HarnessWebhookRuleFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1434
|
+
/**
|
|
1435
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1436
|
+
*/
|
|
1437
|
+
select?: Prisma.HarnessWebhookRuleSelect<ExtArgs> | null
|
|
1438
|
+
/**
|
|
1439
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1440
|
+
*/
|
|
1441
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1442
|
+
/**
|
|
1443
|
+
* Choose, which related nodes to fetch as well
|
|
1444
|
+
*/
|
|
1445
|
+
include?: Prisma.HarnessWebhookRuleInclude<ExtArgs> | null
|
|
1446
|
+
/**
|
|
1447
|
+
* Filter, which HarnessWebhookRule to fetch.
|
|
1448
|
+
*/
|
|
1449
|
+
where: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* HarnessWebhookRule findUniqueOrThrow
|
|
1454
|
+
*/
|
|
1455
|
+
export type HarnessWebhookRuleFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1456
|
+
/**
|
|
1457
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1458
|
+
*/
|
|
1459
|
+
select?: Prisma.HarnessWebhookRuleSelect<ExtArgs> | null
|
|
1460
|
+
/**
|
|
1461
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1462
|
+
*/
|
|
1463
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1464
|
+
/**
|
|
1465
|
+
* Choose, which related nodes to fetch as well
|
|
1466
|
+
*/
|
|
1467
|
+
include?: Prisma.HarnessWebhookRuleInclude<ExtArgs> | null
|
|
1468
|
+
/**
|
|
1469
|
+
* Filter, which HarnessWebhookRule to fetch.
|
|
1470
|
+
*/
|
|
1471
|
+
where: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
/**
|
|
1475
|
+
* HarnessWebhookRule findFirst
|
|
1476
|
+
*/
|
|
1477
|
+
export type HarnessWebhookRuleFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1478
|
+
/**
|
|
1479
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1480
|
+
*/
|
|
1481
|
+
select?: Prisma.HarnessWebhookRuleSelect<ExtArgs> | null
|
|
1482
|
+
/**
|
|
1483
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1484
|
+
*/
|
|
1485
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1486
|
+
/**
|
|
1487
|
+
* Choose, which related nodes to fetch as well
|
|
1488
|
+
*/
|
|
1489
|
+
include?: Prisma.HarnessWebhookRuleInclude<ExtArgs> | null
|
|
1490
|
+
/**
|
|
1491
|
+
* Filter, which HarnessWebhookRule to fetch.
|
|
1492
|
+
*/
|
|
1493
|
+
where?: Prisma.HarnessWebhookRuleWhereInput
|
|
1494
|
+
/**
|
|
1495
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1496
|
+
*
|
|
1497
|
+
* Determine the order of HarnessWebhookRules to fetch.
|
|
1498
|
+
*/
|
|
1499
|
+
orderBy?: Prisma.HarnessWebhookRuleOrderByWithRelationInput | Prisma.HarnessWebhookRuleOrderByWithRelationInput[]
|
|
1500
|
+
/**
|
|
1501
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1502
|
+
*
|
|
1503
|
+
* Sets the position for searching for HarnessWebhookRules.
|
|
1504
|
+
*/
|
|
1505
|
+
cursor?: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
1506
|
+
/**
|
|
1507
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1508
|
+
*
|
|
1509
|
+
* Take `±n` HarnessWebhookRules from the position of the cursor.
|
|
1510
|
+
*/
|
|
1511
|
+
take?: number
|
|
1512
|
+
/**
|
|
1513
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1514
|
+
*
|
|
1515
|
+
* Skip the first `n` HarnessWebhookRules.
|
|
1516
|
+
*/
|
|
1517
|
+
skip?: number
|
|
1518
|
+
/**
|
|
1519
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1520
|
+
*
|
|
1521
|
+
* Filter by unique combinations of HarnessWebhookRules.
|
|
1522
|
+
*/
|
|
1523
|
+
distinct?: Prisma.HarnessWebhookRuleScalarFieldEnum | Prisma.HarnessWebhookRuleScalarFieldEnum[]
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
* HarnessWebhookRule findFirstOrThrow
|
|
1528
|
+
*/
|
|
1529
|
+
export type HarnessWebhookRuleFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1530
|
+
/**
|
|
1531
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1532
|
+
*/
|
|
1533
|
+
select?: Prisma.HarnessWebhookRuleSelect<ExtArgs> | null
|
|
1534
|
+
/**
|
|
1535
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1536
|
+
*/
|
|
1537
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1538
|
+
/**
|
|
1539
|
+
* Choose, which related nodes to fetch as well
|
|
1540
|
+
*/
|
|
1541
|
+
include?: Prisma.HarnessWebhookRuleInclude<ExtArgs> | null
|
|
1542
|
+
/**
|
|
1543
|
+
* Filter, which HarnessWebhookRule to fetch.
|
|
1544
|
+
*/
|
|
1545
|
+
where?: Prisma.HarnessWebhookRuleWhereInput
|
|
1546
|
+
/**
|
|
1547
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1548
|
+
*
|
|
1549
|
+
* Determine the order of HarnessWebhookRules to fetch.
|
|
1550
|
+
*/
|
|
1551
|
+
orderBy?: Prisma.HarnessWebhookRuleOrderByWithRelationInput | Prisma.HarnessWebhookRuleOrderByWithRelationInput[]
|
|
1552
|
+
/**
|
|
1553
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1554
|
+
*
|
|
1555
|
+
* Sets the position for searching for HarnessWebhookRules.
|
|
1556
|
+
*/
|
|
1557
|
+
cursor?: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
1558
|
+
/**
|
|
1559
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1560
|
+
*
|
|
1561
|
+
* Take `±n` HarnessWebhookRules from the position of the cursor.
|
|
1562
|
+
*/
|
|
1563
|
+
take?: number
|
|
1564
|
+
/**
|
|
1565
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1566
|
+
*
|
|
1567
|
+
* Skip the first `n` HarnessWebhookRules.
|
|
1568
|
+
*/
|
|
1569
|
+
skip?: number
|
|
1570
|
+
/**
|
|
1571
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1572
|
+
*
|
|
1573
|
+
* Filter by unique combinations of HarnessWebhookRules.
|
|
1574
|
+
*/
|
|
1575
|
+
distinct?: Prisma.HarnessWebhookRuleScalarFieldEnum | Prisma.HarnessWebhookRuleScalarFieldEnum[]
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* HarnessWebhookRule findMany
|
|
1580
|
+
*/
|
|
1581
|
+
export type HarnessWebhookRuleFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1582
|
+
/**
|
|
1583
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1584
|
+
*/
|
|
1585
|
+
select?: Prisma.HarnessWebhookRuleSelect<ExtArgs> | null
|
|
1586
|
+
/**
|
|
1587
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1588
|
+
*/
|
|
1589
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1590
|
+
/**
|
|
1591
|
+
* Choose, which related nodes to fetch as well
|
|
1592
|
+
*/
|
|
1593
|
+
include?: Prisma.HarnessWebhookRuleInclude<ExtArgs> | null
|
|
1594
|
+
/**
|
|
1595
|
+
* Filter, which HarnessWebhookRules to fetch.
|
|
1596
|
+
*/
|
|
1597
|
+
where?: Prisma.HarnessWebhookRuleWhereInput
|
|
1598
|
+
/**
|
|
1599
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1600
|
+
*
|
|
1601
|
+
* Determine the order of HarnessWebhookRules to fetch.
|
|
1602
|
+
*/
|
|
1603
|
+
orderBy?: Prisma.HarnessWebhookRuleOrderByWithRelationInput | Prisma.HarnessWebhookRuleOrderByWithRelationInput[]
|
|
1604
|
+
/**
|
|
1605
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1606
|
+
*
|
|
1607
|
+
* Sets the position for listing HarnessWebhookRules.
|
|
1608
|
+
*/
|
|
1609
|
+
cursor?: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
1610
|
+
/**
|
|
1611
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1612
|
+
*
|
|
1613
|
+
* Take `±n` HarnessWebhookRules from the position of the cursor.
|
|
1614
|
+
*/
|
|
1615
|
+
take?: number
|
|
1616
|
+
/**
|
|
1617
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1618
|
+
*
|
|
1619
|
+
* Skip the first `n` HarnessWebhookRules.
|
|
1620
|
+
*/
|
|
1621
|
+
skip?: number
|
|
1622
|
+
/**
|
|
1623
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1624
|
+
*
|
|
1625
|
+
* Filter by unique combinations of HarnessWebhookRules.
|
|
1626
|
+
*/
|
|
1627
|
+
distinct?: Prisma.HarnessWebhookRuleScalarFieldEnum | Prisma.HarnessWebhookRuleScalarFieldEnum[]
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
* HarnessWebhookRule create
|
|
1632
|
+
*/
|
|
1633
|
+
export type HarnessWebhookRuleCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1634
|
+
/**
|
|
1635
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1636
|
+
*/
|
|
1637
|
+
select?: Prisma.HarnessWebhookRuleSelect<ExtArgs> | null
|
|
1638
|
+
/**
|
|
1639
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1640
|
+
*/
|
|
1641
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1642
|
+
/**
|
|
1643
|
+
* Choose, which related nodes to fetch as well
|
|
1644
|
+
*/
|
|
1645
|
+
include?: Prisma.HarnessWebhookRuleInclude<ExtArgs> | null
|
|
1646
|
+
/**
|
|
1647
|
+
* The data needed to create a HarnessWebhookRule.
|
|
1648
|
+
*/
|
|
1649
|
+
data: Prisma.XOR<Prisma.HarnessWebhookRuleCreateInput, Prisma.HarnessWebhookRuleUncheckedCreateInput>
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* HarnessWebhookRule createMany
|
|
1654
|
+
*/
|
|
1655
|
+
export type HarnessWebhookRuleCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1656
|
+
/**
|
|
1657
|
+
* The data used to create many HarnessWebhookRules.
|
|
1658
|
+
*/
|
|
1659
|
+
data: Prisma.HarnessWebhookRuleCreateManyInput | Prisma.HarnessWebhookRuleCreateManyInput[]
|
|
1660
|
+
skipDuplicates?: boolean
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* HarnessWebhookRule createManyAndReturn
|
|
1665
|
+
*/
|
|
1666
|
+
export type HarnessWebhookRuleCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1667
|
+
/**
|
|
1668
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1669
|
+
*/
|
|
1670
|
+
select?: Prisma.HarnessWebhookRuleSelectCreateManyAndReturn<ExtArgs> | null
|
|
1671
|
+
/**
|
|
1672
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1673
|
+
*/
|
|
1674
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1675
|
+
/**
|
|
1676
|
+
* The data used to create many HarnessWebhookRules.
|
|
1677
|
+
*/
|
|
1678
|
+
data: Prisma.HarnessWebhookRuleCreateManyInput | Prisma.HarnessWebhookRuleCreateManyInput[]
|
|
1679
|
+
skipDuplicates?: boolean
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* HarnessWebhookRule update
|
|
1684
|
+
*/
|
|
1685
|
+
export type HarnessWebhookRuleUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1686
|
+
/**
|
|
1687
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1688
|
+
*/
|
|
1689
|
+
select?: Prisma.HarnessWebhookRuleSelect<ExtArgs> | null
|
|
1690
|
+
/**
|
|
1691
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1692
|
+
*/
|
|
1693
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1694
|
+
/**
|
|
1695
|
+
* Choose, which related nodes to fetch as well
|
|
1696
|
+
*/
|
|
1697
|
+
include?: Prisma.HarnessWebhookRuleInclude<ExtArgs> | null
|
|
1698
|
+
/**
|
|
1699
|
+
* The data needed to update a HarnessWebhookRule.
|
|
1700
|
+
*/
|
|
1701
|
+
data: Prisma.XOR<Prisma.HarnessWebhookRuleUpdateInput, Prisma.HarnessWebhookRuleUncheckedUpdateInput>
|
|
1702
|
+
/**
|
|
1703
|
+
* Choose, which HarnessWebhookRule to update.
|
|
1704
|
+
*/
|
|
1705
|
+
where: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
/**
|
|
1709
|
+
* HarnessWebhookRule updateMany
|
|
1710
|
+
*/
|
|
1711
|
+
export type HarnessWebhookRuleUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1712
|
+
/**
|
|
1713
|
+
* The data used to update HarnessWebhookRules.
|
|
1714
|
+
*/
|
|
1715
|
+
data: Prisma.XOR<Prisma.HarnessWebhookRuleUpdateManyMutationInput, Prisma.HarnessWebhookRuleUncheckedUpdateManyInput>
|
|
1716
|
+
/**
|
|
1717
|
+
* Filter which HarnessWebhookRules to update
|
|
1718
|
+
*/
|
|
1719
|
+
where?: Prisma.HarnessWebhookRuleWhereInput
|
|
1720
|
+
/**
|
|
1721
|
+
* Limit how many HarnessWebhookRules to update.
|
|
1722
|
+
*/
|
|
1723
|
+
limit?: number
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* HarnessWebhookRule updateManyAndReturn
|
|
1728
|
+
*/
|
|
1729
|
+
export type HarnessWebhookRuleUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1730
|
+
/**
|
|
1731
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1732
|
+
*/
|
|
1733
|
+
select?: Prisma.HarnessWebhookRuleSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1734
|
+
/**
|
|
1735
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1736
|
+
*/
|
|
1737
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1738
|
+
/**
|
|
1739
|
+
* The data used to update HarnessWebhookRules.
|
|
1740
|
+
*/
|
|
1741
|
+
data: Prisma.XOR<Prisma.HarnessWebhookRuleUpdateManyMutationInput, Prisma.HarnessWebhookRuleUncheckedUpdateManyInput>
|
|
1742
|
+
/**
|
|
1743
|
+
* Filter which HarnessWebhookRules to update
|
|
1744
|
+
*/
|
|
1745
|
+
where?: Prisma.HarnessWebhookRuleWhereInput
|
|
1746
|
+
/**
|
|
1747
|
+
* Limit how many HarnessWebhookRules to update.
|
|
1748
|
+
*/
|
|
1749
|
+
limit?: number
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* HarnessWebhookRule upsert
|
|
1754
|
+
*/
|
|
1755
|
+
export type HarnessWebhookRuleUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1756
|
+
/**
|
|
1757
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1758
|
+
*/
|
|
1759
|
+
select?: Prisma.HarnessWebhookRuleSelect<ExtArgs> | null
|
|
1760
|
+
/**
|
|
1761
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1762
|
+
*/
|
|
1763
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1764
|
+
/**
|
|
1765
|
+
* Choose, which related nodes to fetch as well
|
|
1766
|
+
*/
|
|
1767
|
+
include?: Prisma.HarnessWebhookRuleInclude<ExtArgs> | null
|
|
1768
|
+
/**
|
|
1769
|
+
* The filter to search for the HarnessWebhookRule to update in case it exists.
|
|
1770
|
+
*/
|
|
1771
|
+
where: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
1772
|
+
/**
|
|
1773
|
+
* In case the HarnessWebhookRule found by the `where` argument doesn't exist, create a new HarnessWebhookRule with this data.
|
|
1774
|
+
*/
|
|
1775
|
+
create: Prisma.XOR<Prisma.HarnessWebhookRuleCreateInput, Prisma.HarnessWebhookRuleUncheckedCreateInput>
|
|
1776
|
+
/**
|
|
1777
|
+
* In case the HarnessWebhookRule was found with the provided `where` argument, update it with this data.
|
|
1778
|
+
*/
|
|
1779
|
+
update: Prisma.XOR<Prisma.HarnessWebhookRuleUpdateInput, Prisma.HarnessWebhookRuleUncheckedUpdateInput>
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* HarnessWebhookRule delete
|
|
1784
|
+
*/
|
|
1785
|
+
export type HarnessWebhookRuleDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1786
|
+
/**
|
|
1787
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1788
|
+
*/
|
|
1789
|
+
select?: Prisma.HarnessWebhookRuleSelect<ExtArgs> | null
|
|
1790
|
+
/**
|
|
1791
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1792
|
+
*/
|
|
1793
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1794
|
+
/**
|
|
1795
|
+
* Choose, which related nodes to fetch as well
|
|
1796
|
+
*/
|
|
1797
|
+
include?: Prisma.HarnessWebhookRuleInclude<ExtArgs> | null
|
|
1798
|
+
/**
|
|
1799
|
+
* Filter which HarnessWebhookRule to delete.
|
|
1800
|
+
*/
|
|
1801
|
+
where: Prisma.HarnessWebhookRuleWhereUniqueInput
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* HarnessWebhookRule deleteMany
|
|
1806
|
+
*/
|
|
1807
|
+
export type HarnessWebhookRuleDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1808
|
+
/**
|
|
1809
|
+
* Filter which HarnessWebhookRules to delete
|
|
1810
|
+
*/
|
|
1811
|
+
where?: Prisma.HarnessWebhookRuleWhereInput
|
|
1812
|
+
/**
|
|
1813
|
+
* Limit how many HarnessWebhookRules to delete.
|
|
1814
|
+
*/
|
|
1815
|
+
limit?: number
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* HarnessWebhookRule.deliveries
|
|
1820
|
+
*/
|
|
1821
|
+
export type HarnessWebhookRule$deliveriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1822
|
+
/**
|
|
1823
|
+
* Select specific fields to fetch from the HarnessWebhookDelivery
|
|
1824
|
+
*/
|
|
1825
|
+
select?: Prisma.HarnessWebhookDeliverySelect<ExtArgs> | null
|
|
1826
|
+
/**
|
|
1827
|
+
* Omit specific fields from the HarnessWebhookDelivery
|
|
1828
|
+
*/
|
|
1829
|
+
omit?: Prisma.HarnessWebhookDeliveryOmit<ExtArgs> | null
|
|
1830
|
+
/**
|
|
1831
|
+
* Choose, which related nodes to fetch as well
|
|
1832
|
+
*/
|
|
1833
|
+
include?: Prisma.HarnessWebhookDeliveryInclude<ExtArgs> | null
|
|
1834
|
+
where?: Prisma.HarnessWebhookDeliveryWhereInput
|
|
1835
|
+
orderBy?: Prisma.HarnessWebhookDeliveryOrderByWithRelationInput | Prisma.HarnessWebhookDeliveryOrderByWithRelationInput[]
|
|
1836
|
+
cursor?: Prisma.HarnessWebhookDeliveryWhereUniqueInput
|
|
1837
|
+
take?: number
|
|
1838
|
+
skip?: number
|
|
1839
|
+
distinct?: Prisma.HarnessWebhookDeliveryScalarFieldEnum | Prisma.HarnessWebhookDeliveryScalarFieldEnum[]
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* HarnessWebhookRule without action
|
|
1844
|
+
*/
|
|
1845
|
+
export type HarnessWebhookRuleDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1846
|
+
/**
|
|
1847
|
+
* Select specific fields to fetch from the HarnessWebhookRule
|
|
1848
|
+
*/
|
|
1849
|
+
select?: Prisma.HarnessWebhookRuleSelect<ExtArgs> | null
|
|
1850
|
+
/**
|
|
1851
|
+
* Omit specific fields from the HarnessWebhookRule
|
|
1852
|
+
*/
|
|
1853
|
+
omit?: Prisma.HarnessWebhookRuleOmit<ExtArgs> | null
|
|
1854
|
+
/**
|
|
1855
|
+
* Choose, which related nodes to fetch as well
|
|
1856
|
+
*/
|
|
1857
|
+
include?: Prisma.HarnessWebhookRuleInclude<ExtArgs> | null
|
|
1858
|
+
}
|