@allbluecn/database 0.14.9 → 0.14.11

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