@allbluecn/database 0.14.6 → 0.14.8

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