@allbluecn/database 0.4.15 → 0.4.17

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