@allbluecn/database 0.14.6 → 0.14.7

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