@roastery-adapters/models 0.0.2

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 (40) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +141 -0
  3. package/dist/chunk-4TPWYJTM.js +24 -0
  4. package/dist/chunk-BFYMLU3E.js +137 -0
  5. package/dist/chunk-GNRBD6BW.js +15 -0
  6. package/dist/chunk-MLKGABMK.js +9 -0
  7. package/dist/chunk-RXLVLZHT.js +6 -0
  8. package/dist/chunk-SGFKK5SQ.js +43 -0
  9. package/dist/chunk-VSIWSQ2T.js +95 -0
  10. package/dist/class-0p_HeQd8.d.ts +3643 -0
  11. package/dist/decorators/index.d.ts +3 -0
  12. package/dist/decorators/index.js +48 -0
  13. package/dist/generated/prisma/browser.d.ts +19 -0
  14. package/dist/generated/prisma/browser.js +11 -0
  15. package/dist/generated/prisma/client.d.ts +35 -0
  16. package/dist/generated/prisma/client.js +16 -0
  17. package/dist/generated/prisma/commonInputTypes.d.ts +2 -0
  18. package/dist/generated/prisma/commonInputTypes.js +1 -0
  19. package/dist/generated/prisma/enums.d.ts +5 -0
  20. package/dist/generated/prisma/enums.js +1 -0
  21. package/dist/generated/prisma/internal/class.d.ts +2 -0
  22. package/dist/generated/prisma/internal/class.js +7 -0
  23. package/dist/generated/prisma/internal/prismaNamespace.d.ts +2 -0
  24. package/dist/generated/prisma/internal/prismaNamespace.js +60 -0
  25. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +5 -0
  26. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +33 -0
  27. package/dist/generated/prisma/models/Model.d.ts +2 -0
  28. package/dist/generated/prisma/models/Model.js +0 -0
  29. package/dist/generated/prisma/models/ModelType.d.ts +2 -0
  30. package/dist/generated/prisma/models/ModelType.js +0 -0
  31. package/dist/generated/prisma/models.d.ts +2 -0
  32. package/dist/generated/prisma/models.js +0 -0
  33. package/dist/helpers/index.d.ts +21 -0
  34. package/dist/helpers/index.js +25 -0
  35. package/dist/index.d.ts +8 -0
  36. package/dist/index.js +11 -0
  37. package/dist/plugins/index.d.ts +38 -0
  38. package/dist/plugins/index.js +18 -0
  39. package/dist/prismaNamespaceBrowser-BF7-8ATJ.d.ts +357 -0
  40. package/package.json +83 -0
@@ -0,0 +1,3643 @@
1
+ import * as runtime from '@prisma/client/runtime/client';
2
+
3
+ /**
4
+ * Model ModelType
5
+ *
6
+ */
7
+ type ModelTypeModel = runtime.Types.Result.DefaultSelection<$ModelTypePayload>;
8
+ type AggregateModelType = {
9
+ _count: ModelTypeCountAggregateOutputType | null;
10
+ _min: ModelTypeMinAggregateOutputType | null;
11
+ _max: ModelTypeMaxAggregateOutputType | null;
12
+ };
13
+ type ModelTypeMinAggregateOutputType = {
14
+ id: string | null;
15
+ createdAt: Date | null;
16
+ updatedAt: Date | null;
17
+ name: string | null;
18
+ slug: string | null;
19
+ schema: string | null;
20
+ };
21
+ type ModelTypeMaxAggregateOutputType = {
22
+ id: string | null;
23
+ createdAt: Date | null;
24
+ updatedAt: Date | null;
25
+ name: string | null;
26
+ slug: string | null;
27
+ schema: string | null;
28
+ };
29
+ type ModelTypeCountAggregateOutputType = {
30
+ id: number;
31
+ createdAt: number;
32
+ updatedAt: number;
33
+ name: number;
34
+ slug: number;
35
+ schema: number;
36
+ _all: number;
37
+ };
38
+ type ModelTypeMinAggregateInputType = {
39
+ id?: true;
40
+ createdAt?: true;
41
+ updatedAt?: true;
42
+ name?: true;
43
+ slug?: true;
44
+ schema?: true;
45
+ };
46
+ type ModelTypeMaxAggregateInputType = {
47
+ id?: true;
48
+ createdAt?: true;
49
+ updatedAt?: true;
50
+ name?: true;
51
+ slug?: true;
52
+ schema?: true;
53
+ };
54
+ type ModelTypeCountAggregateInputType = {
55
+ id?: true;
56
+ createdAt?: true;
57
+ updatedAt?: true;
58
+ name?: true;
59
+ slug?: true;
60
+ schema?: true;
61
+ _all?: true;
62
+ };
63
+ type ModelTypeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
64
+ /**
65
+ * Filter which ModelType to aggregate.
66
+ */
67
+ where?: ModelTypeWhereInput;
68
+ /**
69
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
70
+ *
71
+ * Determine the order of ModelTypes to fetch.
72
+ */
73
+ orderBy?: ModelTypeOrderByWithRelationInput | ModelTypeOrderByWithRelationInput[];
74
+ /**
75
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
76
+ *
77
+ * Sets the start position
78
+ */
79
+ cursor?: ModelTypeWhereUniqueInput;
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
82
+ *
83
+ * Take `±n` ModelTypes from the position of the cursor.
84
+ */
85
+ take?: number;
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
88
+ *
89
+ * Skip the first `n` ModelTypes.
90
+ */
91
+ skip?: number;
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
94
+ *
95
+ * Count returned ModelTypes
96
+ **/
97
+ _count?: true | ModelTypeCountAggregateInputType;
98
+ /**
99
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
100
+ *
101
+ * Select which fields to find the minimum value
102
+ **/
103
+ _min?: ModelTypeMinAggregateInputType;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
106
+ *
107
+ * Select which fields to find the maximum value
108
+ **/
109
+ _max?: ModelTypeMaxAggregateInputType;
110
+ };
111
+ type GetModelTypeAggregateType<T extends ModelTypeAggregateArgs> = {
112
+ [P in keyof T & keyof AggregateModelType]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType<T[P], AggregateModelType[P]> : GetScalarType<T[P], AggregateModelType[P]>;
113
+ };
114
+ type ModelTypeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
115
+ where?: ModelTypeWhereInput;
116
+ orderBy?: ModelTypeOrderByWithAggregationInput | ModelTypeOrderByWithAggregationInput[];
117
+ by: ModelTypeScalarFieldEnum[] | ModelTypeScalarFieldEnum;
118
+ having?: ModelTypeScalarWhereWithAggregatesInput;
119
+ take?: number;
120
+ skip?: number;
121
+ _count?: ModelTypeCountAggregateInputType | true;
122
+ _min?: ModelTypeMinAggregateInputType;
123
+ _max?: ModelTypeMaxAggregateInputType;
124
+ };
125
+ type ModelTypeGroupByOutputType = {
126
+ id: string;
127
+ createdAt: Date;
128
+ updatedAt: Date | null;
129
+ name: string;
130
+ slug: string;
131
+ schema: string;
132
+ _count: ModelTypeCountAggregateOutputType | null;
133
+ _min: ModelTypeMinAggregateOutputType | null;
134
+ _max: ModelTypeMaxAggregateOutputType | null;
135
+ };
136
+ type GetModelTypeGroupByPayload<T extends ModelTypeGroupByArgs> = PrismaPromise<Array<PickEnumerable<ModelTypeGroupByOutputType, T['by']> & {
137
+ [P in ((keyof T) & (keyof ModelTypeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType<T[P], ModelTypeGroupByOutputType[P]> : GetScalarType<T[P], ModelTypeGroupByOutputType[P]>;
138
+ }>>;
139
+ type ModelTypeWhereInput = {
140
+ AND?: ModelTypeWhereInput | ModelTypeWhereInput[];
141
+ OR?: ModelTypeWhereInput[];
142
+ NOT?: ModelTypeWhereInput | ModelTypeWhereInput[];
143
+ id?: StringFilter<"ModelType"> | string;
144
+ createdAt?: DateTimeFilter<"ModelType"> | Date | string;
145
+ updatedAt?: DateTimeNullableFilter<"ModelType"> | Date | string | null;
146
+ name?: StringFilter<"ModelType"> | string;
147
+ slug?: StringFilter<"ModelType"> | string;
148
+ schema?: StringFilter<"ModelType"> | string;
149
+ models?: ModelListRelationFilter;
150
+ };
151
+ type ModelTypeOrderByWithRelationInput = {
152
+ id?: SortOrder;
153
+ createdAt?: SortOrder;
154
+ updatedAt?: SortOrderInput | SortOrder;
155
+ name?: SortOrder;
156
+ slug?: SortOrder;
157
+ schema?: SortOrder;
158
+ models?: ModelOrderByRelationAggregateInput;
159
+ };
160
+ type ModelTypeWhereUniqueInput = AtLeast<{
161
+ id?: string;
162
+ name?: string;
163
+ slug?: string;
164
+ AND?: ModelTypeWhereInput | ModelTypeWhereInput[];
165
+ OR?: ModelTypeWhereInput[];
166
+ NOT?: ModelTypeWhereInput | ModelTypeWhereInput[];
167
+ createdAt?: DateTimeFilter<"ModelType"> | Date | string;
168
+ updatedAt?: DateTimeNullableFilter<"ModelType"> | Date | string | null;
169
+ schema?: StringFilter<"ModelType"> | string;
170
+ models?: ModelListRelationFilter;
171
+ }, "id" | "name" | "slug">;
172
+ type ModelTypeOrderByWithAggregationInput = {
173
+ id?: SortOrder;
174
+ createdAt?: SortOrder;
175
+ updatedAt?: SortOrderInput | SortOrder;
176
+ name?: SortOrder;
177
+ slug?: SortOrder;
178
+ schema?: SortOrder;
179
+ _count?: ModelTypeCountOrderByAggregateInput;
180
+ _max?: ModelTypeMaxOrderByAggregateInput;
181
+ _min?: ModelTypeMinOrderByAggregateInput;
182
+ };
183
+ type ModelTypeScalarWhereWithAggregatesInput = {
184
+ AND?: ModelTypeScalarWhereWithAggregatesInput | ModelTypeScalarWhereWithAggregatesInput[];
185
+ OR?: ModelTypeScalarWhereWithAggregatesInput[];
186
+ NOT?: ModelTypeScalarWhereWithAggregatesInput | ModelTypeScalarWhereWithAggregatesInput[];
187
+ id?: StringWithAggregatesFilter<"ModelType"> | string;
188
+ createdAt?: DateTimeWithAggregatesFilter<"ModelType"> | Date | string;
189
+ updatedAt?: DateTimeNullableWithAggregatesFilter<"ModelType"> | Date | string | null;
190
+ name?: StringWithAggregatesFilter<"ModelType"> | string;
191
+ slug?: StringWithAggregatesFilter<"ModelType"> | string;
192
+ schema?: StringWithAggregatesFilter<"ModelType"> | string;
193
+ };
194
+ type ModelTypeCreateInput = {
195
+ id?: string;
196
+ createdAt: Date | string;
197
+ updatedAt?: Date | string | null;
198
+ name: string;
199
+ slug: string;
200
+ schema: string;
201
+ models?: ModelCreateNestedManyWithoutModelTypeInput;
202
+ };
203
+ type ModelTypeUncheckedCreateInput = {
204
+ id?: string;
205
+ createdAt: Date | string;
206
+ updatedAt?: Date | string | null;
207
+ name: string;
208
+ slug: string;
209
+ schema: string;
210
+ models?: ModelUncheckedCreateNestedManyWithoutModelTypeInput;
211
+ };
212
+ type ModelTypeUpdateInput = {
213
+ id?: StringFieldUpdateOperationsInput | string;
214
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
215
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
216
+ name?: StringFieldUpdateOperationsInput | string;
217
+ slug?: StringFieldUpdateOperationsInput | string;
218
+ schema?: StringFieldUpdateOperationsInput | string;
219
+ models?: ModelUpdateManyWithoutModelTypeNestedInput;
220
+ };
221
+ type ModelTypeUncheckedUpdateInput = {
222
+ id?: StringFieldUpdateOperationsInput | string;
223
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
224
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
225
+ name?: StringFieldUpdateOperationsInput | string;
226
+ slug?: StringFieldUpdateOperationsInput | string;
227
+ schema?: StringFieldUpdateOperationsInput | string;
228
+ models?: ModelUncheckedUpdateManyWithoutModelTypeNestedInput;
229
+ };
230
+ type ModelTypeCreateManyInput = {
231
+ id?: string;
232
+ createdAt: Date | string;
233
+ updatedAt?: Date | string | null;
234
+ name: string;
235
+ slug: string;
236
+ schema: string;
237
+ };
238
+ type ModelTypeUpdateManyMutationInput = {
239
+ id?: StringFieldUpdateOperationsInput | string;
240
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
241
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
242
+ name?: StringFieldUpdateOperationsInput | string;
243
+ slug?: StringFieldUpdateOperationsInput | string;
244
+ schema?: StringFieldUpdateOperationsInput | string;
245
+ };
246
+ type ModelTypeUncheckedUpdateManyInput = {
247
+ id?: StringFieldUpdateOperationsInput | string;
248
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
249
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
250
+ name?: StringFieldUpdateOperationsInput | string;
251
+ slug?: StringFieldUpdateOperationsInput | string;
252
+ schema?: StringFieldUpdateOperationsInput | string;
253
+ };
254
+ type ModelTypeCountOrderByAggregateInput = {
255
+ id?: SortOrder;
256
+ createdAt?: SortOrder;
257
+ updatedAt?: SortOrder;
258
+ name?: SortOrder;
259
+ slug?: SortOrder;
260
+ schema?: SortOrder;
261
+ };
262
+ type ModelTypeMaxOrderByAggregateInput = {
263
+ id?: SortOrder;
264
+ createdAt?: SortOrder;
265
+ updatedAt?: SortOrder;
266
+ name?: SortOrder;
267
+ slug?: SortOrder;
268
+ schema?: SortOrder;
269
+ };
270
+ type ModelTypeMinOrderByAggregateInput = {
271
+ id?: SortOrder;
272
+ createdAt?: SortOrder;
273
+ updatedAt?: SortOrder;
274
+ name?: SortOrder;
275
+ slug?: SortOrder;
276
+ schema?: SortOrder;
277
+ };
278
+ type ModelTypeScalarRelationFilter = {
279
+ is?: ModelTypeWhereInput;
280
+ isNot?: ModelTypeWhereInput;
281
+ };
282
+ type StringFieldUpdateOperationsInput = {
283
+ set?: string;
284
+ };
285
+ type DateTimeFieldUpdateOperationsInput = {
286
+ set?: Date | string;
287
+ };
288
+ type NullableDateTimeFieldUpdateOperationsInput = {
289
+ set?: Date | string | null;
290
+ };
291
+ type ModelTypeCreateNestedOneWithoutModelsInput = {
292
+ create?: XOR<ModelTypeCreateWithoutModelsInput, ModelTypeUncheckedCreateWithoutModelsInput>;
293
+ connectOrCreate?: ModelTypeCreateOrConnectWithoutModelsInput;
294
+ connect?: ModelTypeWhereUniqueInput;
295
+ };
296
+ type ModelTypeUpdateOneRequiredWithoutModelsNestedInput = {
297
+ create?: XOR<ModelTypeCreateWithoutModelsInput, ModelTypeUncheckedCreateWithoutModelsInput>;
298
+ connectOrCreate?: ModelTypeCreateOrConnectWithoutModelsInput;
299
+ upsert?: ModelTypeUpsertWithoutModelsInput;
300
+ connect?: ModelTypeWhereUniqueInput;
301
+ update?: XOR<XOR<ModelTypeUpdateToOneWithWhereWithoutModelsInput, ModelTypeUpdateWithoutModelsInput>, ModelTypeUncheckedUpdateWithoutModelsInput>;
302
+ };
303
+ type ModelTypeCreateWithoutModelsInput = {
304
+ id?: string;
305
+ createdAt: Date | string;
306
+ updatedAt?: Date | string | null;
307
+ name: string;
308
+ slug: string;
309
+ schema: string;
310
+ };
311
+ type ModelTypeUncheckedCreateWithoutModelsInput = {
312
+ id?: string;
313
+ createdAt: Date | string;
314
+ updatedAt?: Date | string | null;
315
+ name: string;
316
+ slug: string;
317
+ schema: string;
318
+ };
319
+ type ModelTypeCreateOrConnectWithoutModelsInput = {
320
+ where: ModelTypeWhereUniqueInput;
321
+ create: XOR<ModelTypeCreateWithoutModelsInput, ModelTypeUncheckedCreateWithoutModelsInput>;
322
+ };
323
+ type ModelTypeUpsertWithoutModelsInput = {
324
+ update: XOR<ModelTypeUpdateWithoutModelsInput, ModelTypeUncheckedUpdateWithoutModelsInput>;
325
+ create: XOR<ModelTypeCreateWithoutModelsInput, ModelTypeUncheckedCreateWithoutModelsInput>;
326
+ where?: ModelTypeWhereInput;
327
+ };
328
+ type ModelTypeUpdateToOneWithWhereWithoutModelsInput = {
329
+ where?: ModelTypeWhereInput;
330
+ data: XOR<ModelTypeUpdateWithoutModelsInput, ModelTypeUncheckedUpdateWithoutModelsInput>;
331
+ };
332
+ type ModelTypeUpdateWithoutModelsInput = {
333
+ id?: StringFieldUpdateOperationsInput | string;
334
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
335
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
336
+ name?: StringFieldUpdateOperationsInput | string;
337
+ slug?: StringFieldUpdateOperationsInput | string;
338
+ schema?: StringFieldUpdateOperationsInput | string;
339
+ };
340
+ type ModelTypeUncheckedUpdateWithoutModelsInput = {
341
+ id?: StringFieldUpdateOperationsInput | string;
342
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
343
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
344
+ name?: StringFieldUpdateOperationsInput | string;
345
+ slug?: StringFieldUpdateOperationsInput | string;
346
+ schema?: StringFieldUpdateOperationsInput | string;
347
+ };
348
+ /**
349
+ * Count Type ModelTypeCountOutputType
350
+ */
351
+ type ModelTypeCountOutputType = {
352
+ models: number;
353
+ };
354
+ type ModelTypeCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
355
+ models?: boolean | ModelTypeCountOutputTypeCountModelsArgs;
356
+ };
357
+ /**
358
+ * ModelTypeCountOutputType without action
359
+ */
360
+ type ModelTypeCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
361
+ /**
362
+ * Select specific fields to fetch from the ModelTypeCountOutputType
363
+ */
364
+ select?: ModelTypeCountOutputTypeSelect<ExtArgs> | null;
365
+ };
366
+ /**
367
+ * ModelTypeCountOutputType without action
368
+ */
369
+ type ModelTypeCountOutputTypeCountModelsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
370
+ where?: ModelWhereInput;
371
+ };
372
+ type ModelTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
373
+ id?: boolean;
374
+ createdAt?: boolean;
375
+ updatedAt?: boolean;
376
+ name?: boolean;
377
+ slug?: boolean;
378
+ schema?: boolean;
379
+ models?: boolean | ModelType$modelsArgs<ExtArgs>;
380
+ _count?: boolean | ModelTypeCountOutputTypeDefaultArgs<ExtArgs>;
381
+ }, ExtArgs["result"]["modelType"]>;
382
+ type ModelTypeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
383
+ id?: boolean;
384
+ createdAt?: boolean;
385
+ updatedAt?: boolean;
386
+ name?: boolean;
387
+ slug?: boolean;
388
+ schema?: boolean;
389
+ }, ExtArgs["result"]["modelType"]>;
390
+ type ModelTypeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
391
+ id?: boolean;
392
+ createdAt?: boolean;
393
+ updatedAt?: boolean;
394
+ name?: boolean;
395
+ slug?: boolean;
396
+ schema?: boolean;
397
+ }, ExtArgs["result"]["modelType"]>;
398
+ type ModelTypeSelectScalar = {
399
+ id?: boolean;
400
+ createdAt?: boolean;
401
+ updatedAt?: boolean;
402
+ name?: boolean;
403
+ slug?: boolean;
404
+ schema?: boolean;
405
+ };
406
+ type ModelTypeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "name" | "slug" | "schema", ExtArgs["result"]["modelType"]>;
407
+ type ModelTypeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
408
+ models?: boolean | ModelType$modelsArgs<ExtArgs>;
409
+ _count?: boolean | ModelTypeCountOutputTypeDefaultArgs<ExtArgs>;
410
+ };
411
+ type ModelTypeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
412
+ type ModelTypeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
413
+ type $ModelTypePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
414
+ name: "ModelType";
415
+ objects: {
416
+ models: $ModelPayload<ExtArgs>[];
417
+ };
418
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
419
+ id: string;
420
+ createdAt: Date;
421
+ updatedAt: Date | null;
422
+ name: string;
423
+ slug: string;
424
+ schema: string;
425
+ }, ExtArgs["result"]["modelType"]>;
426
+ composites: {};
427
+ };
428
+ type ModelTypeGetPayload<S extends boolean | null | undefined | ModelTypeDefaultArgs> = runtime.Types.Result.GetResult<$ModelTypePayload, S>;
429
+ type ModelTypeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ModelTypeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
430
+ select?: ModelTypeCountAggregateInputType | true;
431
+ };
432
+ interface ModelTypeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
433
+ [K: symbol]: {
434
+ types: TypeMap<ExtArgs>['model']['ModelType'];
435
+ meta: {
436
+ name: 'ModelType';
437
+ };
438
+ };
439
+ /**
440
+ * Find zero or one ModelType that matches the filter.
441
+ * @param {ModelTypeFindUniqueArgs} args - Arguments to find a ModelType
442
+ * @example
443
+ * // Get one ModelType
444
+ * const modelType = await prisma.modelType.findUnique({
445
+ * where: {
446
+ * // ... provide filter here
447
+ * }
448
+ * })
449
+ */
450
+ findUnique<T extends ModelTypeFindUniqueArgs>(args: SelectSubset<T, ModelTypeFindUniqueArgs<ExtArgs>>): Prisma__ModelTypeClient<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
451
+ /**
452
+ * Find one ModelType that matches the filter or throw an error with `error.code='P2025'`
453
+ * if no matches were found.
454
+ * @param {ModelTypeFindUniqueOrThrowArgs} args - Arguments to find a ModelType
455
+ * @example
456
+ * // Get one ModelType
457
+ * const modelType = await prisma.modelType.findUniqueOrThrow({
458
+ * where: {
459
+ * // ... provide filter here
460
+ * }
461
+ * })
462
+ */
463
+ findUniqueOrThrow<T extends ModelTypeFindUniqueOrThrowArgs>(args: SelectSubset<T, ModelTypeFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ModelTypeClient<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
464
+ /**
465
+ * Find the first ModelType that matches the filter.
466
+ * Note, that providing `undefined` is treated as the value not being there.
467
+ * Read more here: https://pris.ly/d/null-undefined
468
+ * @param {ModelTypeFindFirstArgs} args - Arguments to find a ModelType
469
+ * @example
470
+ * // Get one ModelType
471
+ * const modelType = await prisma.modelType.findFirst({
472
+ * where: {
473
+ * // ... provide filter here
474
+ * }
475
+ * })
476
+ */
477
+ findFirst<T extends ModelTypeFindFirstArgs>(args?: SelectSubset<T, ModelTypeFindFirstArgs<ExtArgs>>): Prisma__ModelTypeClient<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
478
+ /**
479
+ * Find the first ModelType that matches the filter or
480
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
481
+ * Note, that providing `undefined` is treated as the value not being there.
482
+ * Read more here: https://pris.ly/d/null-undefined
483
+ * @param {ModelTypeFindFirstOrThrowArgs} args - Arguments to find a ModelType
484
+ * @example
485
+ * // Get one ModelType
486
+ * const modelType = await prisma.modelType.findFirstOrThrow({
487
+ * where: {
488
+ * // ... provide filter here
489
+ * }
490
+ * })
491
+ */
492
+ findFirstOrThrow<T extends ModelTypeFindFirstOrThrowArgs>(args?: SelectSubset<T, ModelTypeFindFirstOrThrowArgs<ExtArgs>>): Prisma__ModelTypeClient<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
493
+ /**
494
+ * Find zero or more ModelTypes that matches the filter.
495
+ * Note, that providing `undefined` is treated as the value not being there.
496
+ * Read more here: https://pris.ly/d/null-undefined
497
+ * @param {ModelTypeFindManyArgs} args - Arguments to filter and select certain fields only.
498
+ * @example
499
+ * // Get all ModelTypes
500
+ * const modelTypes = await prisma.modelType.findMany()
501
+ *
502
+ * // Get first 10 ModelTypes
503
+ * const modelTypes = await prisma.modelType.findMany({ take: 10 })
504
+ *
505
+ * // Only select the `id`
506
+ * const modelTypeWithIdOnly = await prisma.modelType.findMany({ select: { id: true } })
507
+ *
508
+ */
509
+ findMany<T extends ModelTypeFindManyArgs>(args?: SelectSubset<T, ModelTypeFindManyArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
510
+ /**
511
+ * Create a ModelType.
512
+ * @param {ModelTypeCreateArgs} args - Arguments to create a ModelType.
513
+ * @example
514
+ * // Create one ModelType
515
+ * const ModelType = await prisma.modelType.create({
516
+ * data: {
517
+ * // ... data to create a ModelType
518
+ * }
519
+ * })
520
+ *
521
+ */
522
+ create<T extends ModelTypeCreateArgs>(args: SelectSubset<T, ModelTypeCreateArgs<ExtArgs>>): Prisma__ModelTypeClient<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
523
+ /**
524
+ * Create many ModelTypes.
525
+ * @param {ModelTypeCreateManyArgs} args - Arguments to create many ModelTypes.
526
+ * @example
527
+ * // Create many ModelTypes
528
+ * const modelType = await prisma.modelType.createMany({
529
+ * data: [
530
+ * // ... provide data here
531
+ * ]
532
+ * })
533
+ *
534
+ */
535
+ createMany<T extends ModelTypeCreateManyArgs>(args?: SelectSubset<T, ModelTypeCreateManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
536
+ /**
537
+ * Create many ModelTypes and returns the data saved in the database.
538
+ * @param {ModelTypeCreateManyAndReturnArgs} args - Arguments to create many ModelTypes.
539
+ * @example
540
+ * // Create many ModelTypes
541
+ * const modelType = await prisma.modelType.createManyAndReturn({
542
+ * data: [
543
+ * // ... provide data here
544
+ * ]
545
+ * })
546
+ *
547
+ * // Create many ModelTypes and only return the `id`
548
+ * const modelTypeWithIdOnly = await prisma.modelType.createManyAndReturn({
549
+ * select: { id: true },
550
+ * data: [
551
+ * // ... provide data here
552
+ * ]
553
+ * })
554
+ * Note, that providing `undefined` is treated as the value not being there.
555
+ * Read more here: https://pris.ly/d/null-undefined
556
+ *
557
+ */
558
+ createManyAndReturn<T extends ModelTypeCreateManyAndReturnArgs>(args?: SelectSubset<T, ModelTypeCreateManyAndReturnArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
559
+ /**
560
+ * Delete a ModelType.
561
+ * @param {ModelTypeDeleteArgs} args - Arguments to delete one ModelType.
562
+ * @example
563
+ * // Delete one ModelType
564
+ * const ModelType = await prisma.modelType.delete({
565
+ * where: {
566
+ * // ... filter to delete one ModelType
567
+ * }
568
+ * })
569
+ *
570
+ */
571
+ delete<T extends ModelTypeDeleteArgs>(args: SelectSubset<T, ModelTypeDeleteArgs<ExtArgs>>): Prisma__ModelTypeClient<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
572
+ /**
573
+ * Update one ModelType.
574
+ * @param {ModelTypeUpdateArgs} args - Arguments to update one ModelType.
575
+ * @example
576
+ * // Update one ModelType
577
+ * const modelType = await prisma.modelType.update({
578
+ * where: {
579
+ * // ... provide filter here
580
+ * },
581
+ * data: {
582
+ * // ... provide data here
583
+ * }
584
+ * })
585
+ *
586
+ */
587
+ update<T extends ModelTypeUpdateArgs>(args: SelectSubset<T, ModelTypeUpdateArgs<ExtArgs>>): Prisma__ModelTypeClient<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
588
+ /**
589
+ * Delete zero or more ModelTypes.
590
+ * @param {ModelTypeDeleteManyArgs} args - Arguments to filter ModelTypes to delete.
591
+ * @example
592
+ * // Delete a few ModelTypes
593
+ * const { count } = await prisma.modelType.deleteMany({
594
+ * where: {
595
+ * // ... provide filter here
596
+ * }
597
+ * })
598
+ *
599
+ */
600
+ deleteMany<T extends ModelTypeDeleteManyArgs>(args?: SelectSubset<T, ModelTypeDeleteManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
601
+ /**
602
+ * Update zero or more ModelTypes.
603
+ * Note, that providing `undefined` is treated as the value not being there.
604
+ * Read more here: https://pris.ly/d/null-undefined
605
+ * @param {ModelTypeUpdateManyArgs} args - Arguments to update one or more rows.
606
+ * @example
607
+ * // Update many ModelTypes
608
+ * const modelType = await prisma.modelType.updateMany({
609
+ * where: {
610
+ * // ... provide filter here
611
+ * },
612
+ * data: {
613
+ * // ... provide data here
614
+ * }
615
+ * })
616
+ *
617
+ */
618
+ updateMany<T extends ModelTypeUpdateManyArgs>(args: SelectSubset<T, ModelTypeUpdateManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
619
+ /**
620
+ * Update zero or more ModelTypes and returns the data updated in the database.
621
+ * @param {ModelTypeUpdateManyAndReturnArgs} args - Arguments to update many ModelTypes.
622
+ * @example
623
+ * // Update many ModelTypes
624
+ * const modelType = await prisma.modelType.updateManyAndReturn({
625
+ * where: {
626
+ * // ... provide filter here
627
+ * },
628
+ * data: [
629
+ * // ... provide data here
630
+ * ]
631
+ * })
632
+ *
633
+ * // Update zero or more ModelTypes and only return the `id`
634
+ * const modelTypeWithIdOnly = await prisma.modelType.updateManyAndReturn({
635
+ * select: { id: true },
636
+ * where: {
637
+ * // ... provide filter here
638
+ * },
639
+ * data: [
640
+ * // ... provide data here
641
+ * ]
642
+ * })
643
+ * Note, that providing `undefined` is treated as the value not being there.
644
+ * Read more here: https://pris.ly/d/null-undefined
645
+ *
646
+ */
647
+ updateManyAndReturn<T extends ModelTypeUpdateManyAndReturnArgs>(args: SelectSubset<T, ModelTypeUpdateManyAndReturnArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
648
+ /**
649
+ * Create or update one ModelType.
650
+ * @param {ModelTypeUpsertArgs} args - Arguments to update or create a ModelType.
651
+ * @example
652
+ * // Update or create a ModelType
653
+ * const modelType = await prisma.modelType.upsert({
654
+ * create: {
655
+ * // ... data to create a ModelType
656
+ * },
657
+ * update: {
658
+ * // ... in case it already exists, update
659
+ * },
660
+ * where: {
661
+ * // ... the filter for the ModelType we want to update
662
+ * }
663
+ * })
664
+ */
665
+ upsert<T extends ModelTypeUpsertArgs>(args: SelectSubset<T, ModelTypeUpsertArgs<ExtArgs>>): Prisma__ModelTypeClient<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
666
+ /**
667
+ * Count the number of ModelTypes.
668
+ * Note, that providing `undefined` is treated as the value not being there.
669
+ * Read more here: https://pris.ly/d/null-undefined
670
+ * @param {ModelTypeCountArgs} args - Arguments to filter ModelTypes to count.
671
+ * @example
672
+ * // Count the number of ModelTypes
673
+ * const count = await prisma.modelType.count({
674
+ * where: {
675
+ * // ... the filter for the ModelTypes we want to count
676
+ * }
677
+ * })
678
+ **/
679
+ count<T extends ModelTypeCountArgs>(args?: Subset<T, ModelTypeCountArgs>): PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType<T['select'], ModelTypeCountAggregateOutputType> : number>;
680
+ /**
681
+ * Allows you to perform aggregations operations on a ModelType.
682
+ * Note, that providing `undefined` is treated as the value not being there.
683
+ * Read more here: https://pris.ly/d/null-undefined
684
+ * @param {ModelTypeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
685
+ * @example
686
+ * // Ordered by age ascending
687
+ * // Where email contains prisma.io
688
+ * // Limited to the 10 users
689
+ * const aggregations = await prisma.user.aggregate({
690
+ * _avg: {
691
+ * age: true,
692
+ * },
693
+ * where: {
694
+ * email: {
695
+ * contains: "prisma.io",
696
+ * },
697
+ * },
698
+ * orderBy: {
699
+ * age: "asc",
700
+ * },
701
+ * take: 10,
702
+ * })
703
+ **/
704
+ aggregate<T extends ModelTypeAggregateArgs>(args: Subset<T, ModelTypeAggregateArgs>): PrismaPromise<GetModelTypeAggregateType<T>>;
705
+ /**
706
+ * Group by ModelType.
707
+ * Note, that providing `undefined` is treated as the value not being there.
708
+ * Read more here: https://pris.ly/d/null-undefined
709
+ * @param {ModelTypeGroupByArgs} args - Group by arguments.
710
+ * @example
711
+ * // Group by city, order by createdAt, get count
712
+ * const result = await prisma.user.groupBy({
713
+ * by: ['city', 'createdAt'],
714
+ * orderBy: {
715
+ * createdAt: true
716
+ * },
717
+ * _count: {
718
+ * _all: true
719
+ * },
720
+ * })
721
+ *
722
+ **/
723
+ groupBy<T extends ModelTypeGroupByArgs, HasSelectOrTake extends Or<Extends<'skip', Keys<T>>, Extends<'take', Keys<T>>>, OrderByArg extends True extends HasSelectOrTake ? {
724
+ orderBy: ModelTypeGroupByArgs['orderBy'];
725
+ } : {
726
+ orderBy?: ModelTypeGroupByArgs['orderBy'];
727
+ }, OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>, ByFields extends MaybeTupleToUnion<T['by']>, ByValid extends Has<ByFields, OrderFields>, HavingFields extends GetHavingFields<T['having']>, HavingValid extends Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? {
728
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
729
+ Error,
730
+ 'Field ',
731
+ P,
732
+ ` in "having" needs to be provided in "by"`
733
+ ];
734
+ }[HavingFields] : 'take' extends Keys<T> ? 'orderBy' extends Keys<T> ? ByValid extends True ? {} : {
735
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
736
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys<T> ? 'orderBy' extends Keys<T> ? ByValid extends True ? {} : {
737
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
738
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : {
739
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
740
+ }[OrderFields]>(args: SubsetIntersection<T, ModelTypeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetModelTypeGroupByPayload<T> : PrismaPromise<InputErrors>;
741
+ /**
742
+ * Fields of the ModelType model
743
+ */
744
+ readonly fields: ModelTypeFieldRefs;
745
+ }
746
+ /**
747
+ * The delegate class that acts as a "Promise-like" for ModelType.
748
+ * Why is this prefixed with `Prisma__`?
749
+ * Because we want to prevent naming conflicts as mentioned in
750
+ * https://github.com/prisma/prisma-client-js/issues/707
751
+ */
752
+ interface Prisma__ModelTypeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends PrismaPromise<T> {
753
+ readonly [Symbol.toStringTag]: "PrismaPromise";
754
+ models<T extends ModelType$modelsArgs<ExtArgs> = {}>(args?: Subset<T, ModelType$modelsArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
755
+ /**
756
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
757
+ * @param onfulfilled The callback to execute when the Promise is resolved.
758
+ * @param onrejected The callback to execute when the Promise is rejected.
759
+ * @returns A Promise for the completion of which ever callback is executed.
760
+ */
761
+ 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>;
762
+ /**
763
+ * Attaches a callback for only the rejection of the Promise.
764
+ * @param onrejected The callback to execute when the Promise is rejected.
765
+ * @returns A Promise for the completion of the callback.
766
+ */
767
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
768
+ /**
769
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
770
+ * resolved value cannot be modified from the callback.
771
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
772
+ * @returns A Promise for the completion of the callback.
773
+ */
774
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
775
+ }
776
+ /**
777
+ * Fields of the ModelType model
778
+ */
779
+ interface ModelTypeFieldRefs {
780
+ readonly id: FieldRef<"ModelType", 'String'>;
781
+ readonly createdAt: FieldRef<"ModelType", 'DateTime'>;
782
+ readonly updatedAt: FieldRef<"ModelType", 'DateTime'>;
783
+ readonly name: FieldRef<"ModelType", 'String'>;
784
+ readonly slug: FieldRef<"ModelType", 'String'>;
785
+ readonly schema: FieldRef<"ModelType", 'String'>;
786
+ }
787
+ /**
788
+ * ModelType findUnique
789
+ */
790
+ type ModelTypeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
791
+ /**
792
+ * Select specific fields to fetch from the ModelType
793
+ */
794
+ select?: ModelTypeSelect<ExtArgs> | null;
795
+ /**
796
+ * Omit specific fields from the ModelType
797
+ */
798
+ omit?: ModelTypeOmit<ExtArgs> | null;
799
+ /**
800
+ * Choose, which related nodes to fetch as well
801
+ */
802
+ include?: ModelTypeInclude<ExtArgs> | null;
803
+ /**
804
+ * Filter, which ModelType to fetch.
805
+ */
806
+ where: ModelTypeWhereUniqueInput;
807
+ };
808
+ /**
809
+ * ModelType findUniqueOrThrow
810
+ */
811
+ type ModelTypeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
812
+ /**
813
+ * Select specific fields to fetch from the ModelType
814
+ */
815
+ select?: ModelTypeSelect<ExtArgs> | null;
816
+ /**
817
+ * Omit specific fields from the ModelType
818
+ */
819
+ omit?: ModelTypeOmit<ExtArgs> | null;
820
+ /**
821
+ * Choose, which related nodes to fetch as well
822
+ */
823
+ include?: ModelTypeInclude<ExtArgs> | null;
824
+ /**
825
+ * Filter, which ModelType to fetch.
826
+ */
827
+ where: ModelTypeWhereUniqueInput;
828
+ };
829
+ /**
830
+ * ModelType findFirst
831
+ */
832
+ type ModelTypeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
833
+ /**
834
+ * Select specific fields to fetch from the ModelType
835
+ */
836
+ select?: ModelTypeSelect<ExtArgs> | null;
837
+ /**
838
+ * Omit specific fields from the ModelType
839
+ */
840
+ omit?: ModelTypeOmit<ExtArgs> | null;
841
+ /**
842
+ * Choose, which related nodes to fetch as well
843
+ */
844
+ include?: ModelTypeInclude<ExtArgs> | null;
845
+ /**
846
+ * Filter, which ModelType to fetch.
847
+ */
848
+ where?: ModelTypeWhereInput;
849
+ /**
850
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
851
+ *
852
+ * Determine the order of ModelTypes to fetch.
853
+ */
854
+ orderBy?: ModelTypeOrderByWithRelationInput | ModelTypeOrderByWithRelationInput[];
855
+ /**
856
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
857
+ *
858
+ * Sets the position for searching for ModelTypes.
859
+ */
860
+ cursor?: ModelTypeWhereUniqueInput;
861
+ /**
862
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
863
+ *
864
+ * Take `±n` ModelTypes from the position of the cursor.
865
+ */
866
+ take?: number;
867
+ /**
868
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
869
+ *
870
+ * Skip the first `n` ModelTypes.
871
+ */
872
+ skip?: number;
873
+ /**
874
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
875
+ *
876
+ * Filter by unique combinations of ModelTypes.
877
+ */
878
+ distinct?: ModelTypeScalarFieldEnum | ModelTypeScalarFieldEnum[];
879
+ };
880
+ /**
881
+ * ModelType findFirstOrThrow
882
+ */
883
+ type ModelTypeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
884
+ /**
885
+ * Select specific fields to fetch from the ModelType
886
+ */
887
+ select?: ModelTypeSelect<ExtArgs> | null;
888
+ /**
889
+ * Omit specific fields from the ModelType
890
+ */
891
+ omit?: ModelTypeOmit<ExtArgs> | null;
892
+ /**
893
+ * Choose, which related nodes to fetch as well
894
+ */
895
+ include?: ModelTypeInclude<ExtArgs> | null;
896
+ /**
897
+ * Filter, which ModelType to fetch.
898
+ */
899
+ where?: ModelTypeWhereInput;
900
+ /**
901
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
902
+ *
903
+ * Determine the order of ModelTypes to fetch.
904
+ */
905
+ orderBy?: ModelTypeOrderByWithRelationInput | ModelTypeOrderByWithRelationInput[];
906
+ /**
907
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
908
+ *
909
+ * Sets the position for searching for ModelTypes.
910
+ */
911
+ cursor?: ModelTypeWhereUniqueInput;
912
+ /**
913
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
914
+ *
915
+ * Take `±n` ModelTypes from the position of the cursor.
916
+ */
917
+ take?: number;
918
+ /**
919
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
920
+ *
921
+ * Skip the first `n` ModelTypes.
922
+ */
923
+ skip?: number;
924
+ /**
925
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
926
+ *
927
+ * Filter by unique combinations of ModelTypes.
928
+ */
929
+ distinct?: ModelTypeScalarFieldEnum | ModelTypeScalarFieldEnum[];
930
+ };
931
+ /**
932
+ * ModelType findMany
933
+ */
934
+ type ModelTypeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
935
+ /**
936
+ * Select specific fields to fetch from the ModelType
937
+ */
938
+ select?: ModelTypeSelect<ExtArgs> | null;
939
+ /**
940
+ * Omit specific fields from the ModelType
941
+ */
942
+ omit?: ModelTypeOmit<ExtArgs> | null;
943
+ /**
944
+ * Choose, which related nodes to fetch as well
945
+ */
946
+ include?: ModelTypeInclude<ExtArgs> | null;
947
+ /**
948
+ * Filter, which ModelTypes to fetch.
949
+ */
950
+ where?: ModelTypeWhereInput;
951
+ /**
952
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
953
+ *
954
+ * Determine the order of ModelTypes to fetch.
955
+ */
956
+ orderBy?: ModelTypeOrderByWithRelationInput | ModelTypeOrderByWithRelationInput[];
957
+ /**
958
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
959
+ *
960
+ * Sets the position for listing ModelTypes.
961
+ */
962
+ cursor?: ModelTypeWhereUniqueInput;
963
+ /**
964
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
965
+ *
966
+ * Take `±n` ModelTypes from the position of the cursor.
967
+ */
968
+ take?: number;
969
+ /**
970
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
971
+ *
972
+ * Skip the first `n` ModelTypes.
973
+ */
974
+ skip?: number;
975
+ /**
976
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
977
+ *
978
+ * Filter by unique combinations of ModelTypes.
979
+ */
980
+ distinct?: ModelTypeScalarFieldEnum | ModelTypeScalarFieldEnum[];
981
+ };
982
+ /**
983
+ * ModelType create
984
+ */
985
+ type ModelTypeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
986
+ /**
987
+ * Select specific fields to fetch from the ModelType
988
+ */
989
+ select?: ModelTypeSelect<ExtArgs> | null;
990
+ /**
991
+ * Omit specific fields from the ModelType
992
+ */
993
+ omit?: ModelTypeOmit<ExtArgs> | null;
994
+ /**
995
+ * Choose, which related nodes to fetch as well
996
+ */
997
+ include?: ModelTypeInclude<ExtArgs> | null;
998
+ /**
999
+ * The data needed to create a ModelType.
1000
+ */
1001
+ data: XOR<ModelTypeCreateInput, ModelTypeUncheckedCreateInput>;
1002
+ };
1003
+ /**
1004
+ * ModelType createMany
1005
+ */
1006
+ type ModelTypeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1007
+ /**
1008
+ * The data used to create many ModelTypes.
1009
+ */
1010
+ data: ModelTypeCreateManyInput | ModelTypeCreateManyInput[];
1011
+ skipDuplicates?: boolean;
1012
+ };
1013
+ /**
1014
+ * ModelType createManyAndReturn
1015
+ */
1016
+ type ModelTypeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1017
+ /**
1018
+ * Select specific fields to fetch from the ModelType
1019
+ */
1020
+ select?: ModelTypeSelectCreateManyAndReturn<ExtArgs> | null;
1021
+ /**
1022
+ * Omit specific fields from the ModelType
1023
+ */
1024
+ omit?: ModelTypeOmit<ExtArgs> | null;
1025
+ /**
1026
+ * The data used to create many ModelTypes.
1027
+ */
1028
+ data: ModelTypeCreateManyInput | ModelTypeCreateManyInput[];
1029
+ skipDuplicates?: boolean;
1030
+ };
1031
+ /**
1032
+ * ModelType update
1033
+ */
1034
+ type ModelTypeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1035
+ /**
1036
+ * Select specific fields to fetch from the ModelType
1037
+ */
1038
+ select?: ModelTypeSelect<ExtArgs> | null;
1039
+ /**
1040
+ * Omit specific fields from the ModelType
1041
+ */
1042
+ omit?: ModelTypeOmit<ExtArgs> | null;
1043
+ /**
1044
+ * Choose, which related nodes to fetch as well
1045
+ */
1046
+ include?: ModelTypeInclude<ExtArgs> | null;
1047
+ /**
1048
+ * The data needed to update a ModelType.
1049
+ */
1050
+ data: XOR<ModelTypeUpdateInput, ModelTypeUncheckedUpdateInput>;
1051
+ /**
1052
+ * Choose, which ModelType to update.
1053
+ */
1054
+ where: ModelTypeWhereUniqueInput;
1055
+ };
1056
+ /**
1057
+ * ModelType updateMany
1058
+ */
1059
+ type ModelTypeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1060
+ /**
1061
+ * The data used to update ModelTypes.
1062
+ */
1063
+ data: XOR<ModelTypeUpdateManyMutationInput, ModelTypeUncheckedUpdateManyInput>;
1064
+ /**
1065
+ * Filter which ModelTypes to update
1066
+ */
1067
+ where?: ModelTypeWhereInput;
1068
+ /**
1069
+ * Limit how many ModelTypes to update.
1070
+ */
1071
+ limit?: number;
1072
+ };
1073
+ /**
1074
+ * ModelType updateManyAndReturn
1075
+ */
1076
+ type ModelTypeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1077
+ /**
1078
+ * Select specific fields to fetch from the ModelType
1079
+ */
1080
+ select?: ModelTypeSelectUpdateManyAndReturn<ExtArgs> | null;
1081
+ /**
1082
+ * Omit specific fields from the ModelType
1083
+ */
1084
+ omit?: ModelTypeOmit<ExtArgs> | null;
1085
+ /**
1086
+ * The data used to update ModelTypes.
1087
+ */
1088
+ data: XOR<ModelTypeUpdateManyMutationInput, ModelTypeUncheckedUpdateManyInput>;
1089
+ /**
1090
+ * Filter which ModelTypes to update
1091
+ */
1092
+ where?: ModelTypeWhereInput;
1093
+ /**
1094
+ * Limit how many ModelTypes to update.
1095
+ */
1096
+ limit?: number;
1097
+ };
1098
+ /**
1099
+ * ModelType upsert
1100
+ */
1101
+ type ModelTypeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1102
+ /**
1103
+ * Select specific fields to fetch from the ModelType
1104
+ */
1105
+ select?: ModelTypeSelect<ExtArgs> | null;
1106
+ /**
1107
+ * Omit specific fields from the ModelType
1108
+ */
1109
+ omit?: ModelTypeOmit<ExtArgs> | null;
1110
+ /**
1111
+ * Choose, which related nodes to fetch as well
1112
+ */
1113
+ include?: ModelTypeInclude<ExtArgs> | null;
1114
+ /**
1115
+ * The filter to search for the ModelType to update in case it exists.
1116
+ */
1117
+ where: ModelTypeWhereUniqueInput;
1118
+ /**
1119
+ * In case the ModelType found by the `where` argument doesn't exist, create a new ModelType with this data.
1120
+ */
1121
+ create: XOR<ModelTypeCreateInput, ModelTypeUncheckedCreateInput>;
1122
+ /**
1123
+ * In case the ModelType was found with the provided `where` argument, update it with this data.
1124
+ */
1125
+ update: XOR<ModelTypeUpdateInput, ModelTypeUncheckedUpdateInput>;
1126
+ };
1127
+ /**
1128
+ * ModelType delete
1129
+ */
1130
+ type ModelTypeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1131
+ /**
1132
+ * Select specific fields to fetch from the ModelType
1133
+ */
1134
+ select?: ModelTypeSelect<ExtArgs> | null;
1135
+ /**
1136
+ * Omit specific fields from the ModelType
1137
+ */
1138
+ omit?: ModelTypeOmit<ExtArgs> | null;
1139
+ /**
1140
+ * Choose, which related nodes to fetch as well
1141
+ */
1142
+ include?: ModelTypeInclude<ExtArgs> | null;
1143
+ /**
1144
+ * Filter which ModelType to delete.
1145
+ */
1146
+ where: ModelTypeWhereUniqueInput;
1147
+ };
1148
+ /**
1149
+ * ModelType deleteMany
1150
+ */
1151
+ type ModelTypeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1152
+ /**
1153
+ * Filter which ModelTypes to delete
1154
+ */
1155
+ where?: ModelTypeWhereInput;
1156
+ /**
1157
+ * Limit how many ModelTypes to delete.
1158
+ */
1159
+ limit?: number;
1160
+ };
1161
+ /**
1162
+ * ModelType.models
1163
+ */
1164
+ type ModelType$modelsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1165
+ /**
1166
+ * Select specific fields to fetch from the Model
1167
+ */
1168
+ select?: ModelSelect<ExtArgs> | null;
1169
+ /**
1170
+ * Omit specific fields from the Model
1171
+ */
1172
+ omit?: ModelOmit<ExtArgs> | null;
1173
+ /**
1174
+ * Choose, which related nodes to fetch as well
1175
+ */
1176
+ include?: ModelInclude<ExtArgs> | null;
1177
+ where?: ModelWhereInput;
1178
+ orderBy?: ModelOrderByWithRelationInput | ModelOrderByWithRelationInput[];
1179
+ cursor?: ModelWhereUniqueInput;
1180
+ take?: number;
1181
+ skip?: number;
1182
+ distinct?: ModelScalarFieldEnum | ModelScalarFieldEnum[];
1183
+ };
1184
+ /**
1185
+ * ModelType without action
1186
+ */
1187
+ type ModelTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1188
+ /**
1189
+ * Select specific fields to fetch from the ModelType
1190
+ */
1191
+ select?: ModelTypeSelect<ExtArgs> | null;
1192
+ /**
1193
+ * Omit specific fields from the ModelType
1194
+ */
1195
+ omit?: ModelTypeOmit<ExtArgs> | null;
1196
+ /**
1197
+ * Choose, which related nodes to fetch as well
1198
+ */
1199
+ include?: ModelTypeInclude<ExtArgs> | null;
1200
+ };
1201
+
1202
+ /**
1203
+ * Model Model
1204
+ *
1205
+ */
1206
+ type ModelModel = runtime.Types.Result.DefaultSelection<$ModelPayload>;
1207
+ type AggregateModel = {
1208
+ _count: ModelCountAggregateOutputType | null;
1209
+ _min: ModelMinAggregateOutputType | null;
1210
+ _max: ModelMaxAggregateOutputType | null;
1211
+ };
1212
+ type ModelMinAggregateOutputType = {
1213
+ id: string | null;
1214
+ createdAt: Date | null;
1215
+ updatedAt: Date | null;
1216
+ modelTypeId: string | null;
1217
+ };
1218
+ type ModelMaxAggregateOutputType = {
1219
+ id: string | null;
1220
+ createdAt: Date | null;
1221
+ updatedAt: Date | null;
1222
+ modelTypeId: string | null;
1223
+ };
1224
+ type ModelCountAggregateOutputType = {
1225
+ id: number;
1226
+ createdAt: number;
1227
+ updatedAt: number;
1228
+ modelTypeId: number;
1229
+ data: number;
1230
+ _all: number;
1231
+ };
1232
+ type ModelMinAggregateInputType = {
1233
+ id?: true;
1234
+ createdAt?: true;
1235
+ updatedAt?: true;
1236
+ modelTypeId?: true;
1237
+ };
1238
+ type ModelMaxAggregateInputType = {
1239
+ id?: true;
1240
+ createdAt?: true;
1241
+ updatedAt?: true;
1242
+ modelTypeId?: true;
1243
+ };
1244
+ type ModelCountAggregateInputType = {
1245
+ id?: true;
1246
+ createdAt?: true;
1247
+ updatedAt?: true;
1248
+ modelTypeId?: true;
1249
+ data?: true;
1250
+ _all?: true;
1251
+ };
1252
+ type ModelAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1253
+ /**
1254
+ * Filter which Model to aggregate.
1255
+ */
1256
+ where?: ModelWhereInput;
1257
+ /**
1258
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1259
+ *
1260
+ * Determine the order of Models to fetch.
1261
+ */
1262
+ orderBy?: ModelOrderByWithRelationInput | ModelOrderByWithRelationInput[];
1263
+ /**
1264
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1265
+ *
1266
+ * Sets the start position
1267
+ */
1268
+ cursor?: ModelWhereUniqueInput;
1269
+ /**
1270
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1271
+ *
1272
+ * Take `±n` Models from the position of the cursor.
1273
+ */
1274
+ take?: number;
1275
+ /**
1276
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1277
+ *
1278
+ * Skip the first `n` Models.
1279
+ */
1280
+ skip?: number;
1281
+ /**
1282
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
1283
+ *
1284
+ * Count returned Models
1285
+ **/
1286
+ _count?: true | ModelCountAggregateInputType;
1287
+ /**
1288
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
1289
+ *
1290
+ * Select which fields to find the minimum value
1291
+ **/
1292
+ _min?: ModelMinAggregateInputType;
1293
+ /**
1294
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
1295
+ *
1296
+ * Select which fields to find the maximum value
1297
+ **/
1298
+ _max?: ModelMaxAggregateInputType;
1299
+ };
1300
+ type GetModelAggregateType<T extends ModelAggregateArgs> = {
1301
+ [P in keyof T & keyof AggregateModel]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType<T[P], AggregateModel[P]> : GetScalarType<T[P], AggregateModel[P]>;
1302
+ };
1303
+ type ModelGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1304
+ where?: ModelWhereInput;
1305
+ orderBy?: ModelOrderByWithAggregationInput | ModelOrderByWithAggregationInput[];
1306
+ by: ModelScalarFieldEnum[] | ModelScalarFieldEnum;
1307
+ having?: ModelScalarWhereWithAggregatesInput;
1308
+ take?: number;
1309
+ skip?: number;
1310
+ _count?: ModelCountAggregateInputType | true;
1311
+ _min?: ModelMinAggregateInputType;
1312
+ _max?: ModelMaxAggregateInputType;
1313
+ };
1314
+ type ModelGroupByOutputType = {
1315
+ id: string;
1316
+ createdAt: Date;
1317
+ updatedAt: Date | null;
1318
+ modelTypeId: string;
1319
+ data: runtime.JsonValue;
1320
+ _count: ModelCountAggregateOutputType | null;
1321
+ _min: ModelMinAggregateOutputType | null;
1322
+ _max: ModelMaxAggregateOutputType | null;
1323
+ };
1324
+ type GetModelGroupByPayload<T extends ModelGroupByArgs> = PrismaPromise<Array<PickEnumerable<ModelGroupByOutputType, T['by']> & {
1325
+ [P in ((keyof T) & (keyof ModelGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType<T[P], ModelGroupByOutputType[P]> : GetScalarType<T[P], ModelGroupByOutputType[P]>;
1326
+ }>>;
1327
+ type ModelWhereInput = {
1328
+ AND?: ModelWhereInput | ModelWhereInput[];
1329
+ OR?: ModelWhereInput[];
1330
+ NOT?: ModelWhereInput | ModelWhereInput[];
1331
+ id?: StringFilter<"Model"> | string;
1332
+ createdAt?: DateTimeFilter<"Model"> | Date | string;
1333
+ updatedAt?: DateTimeNullableFilter<"Model"> | Date | string | null;
1334
+ modelTypeId?: StringFilter<"Model"> | string;
1335
+ data?: JsonFilter<"Model">;
1336
+ modelType?: XOR<ModelTypeScalarRelationFilter, ModelTypeWhereInput>;
1337
+ };
1338
+ type ModelOrderByWithRelationInput = {
1339
+ id?: SortOrder;
1340
+ createdAt?: SortOrder;
1341
+ updatedAt?: SortOrderInput | SortOrder;
1342
+ modelTypeId?: SortOrder;
1343
+ data?: SortOrder;
1344
+ modelType?: ModelTypeOrderByWithRelationInput;
1345
+ };
1346
+ type ModelWhereUniqueInput = AtLeast<{
1347
+ id?: string;
1348
+ AND?: ModelWhereInput | ModelWhereInput[];
1349
+ OR?: ModelWhereInput[];
1350
+ NOT?: ModelWhereInput | ModelWhereInput[];
1351
+ createdAt?: DateTimeFilter<"Model"> | Date | string;
1352
+ updatedAt?: DateTimeNullableFilter<"Model"> | Date | string | null;
1353
+ modelTypeId?: StringFilter<"Model"> | string;
1354
+ data?: JsonFilter<"Model">;
1355
+ modelType?: XOR<ModelTypeScalarRelationFilter, ModelTypeWhereInput>;
1356
+ }, "id">;
1357
+ type ModelOrderByWithAggregationInput = {
1358
+ id?: SortOrder;
1359
+ createdAt?: SortOrder;
1360
+ updatedAt?: SortOrderInput | SortOrder;
1361
+ modelTypeId?: SortOrder;
1362
+ data?: SortOrder;
1363
+ _count?: ModelCountOrderByAggregateInput;
1364
+ _max?: ModelMaxOrderByAggregateInput;
1365
+ _min?: ModelMinOrderByAggregateInput;
1366
+ };
1367
+ type ModelScalarWhereWithAggregatesInput = {
1368
+ AND?: ModelScalarWhereWithAggregatesInput | ModelScalarWhereWithAggregatesInput[];
1369
+ OR?: ModelScalarWhereWithAggregatesInput[];
1370
+ NOT?: ModelScalarWhereWithAggregatesInput | ModelScalarWhereWithAggregatesInput[];
1371
+ id?: StringWithAggregatesFilter<"Model"> | string;
1372
+ createdAt?: DateTimeWithAggregatesFilter<"Model"> | Date | string;
1373
+ updatedAt?: DateTimeNullableWithAggregatesFilter<"Model"> | Date | string | null;
1374
+ modelTypeId?: StringWithAggregatesFilter<"Model"> | string;
1375
+ data?: JsonWithAggregatesFilter<"Model">;
1376
+ };
1377
+ type ModelCreateInput = {
1378
+ id?: string;
1379
+ createdAt: Date | string;
1380
+ updatedAt?: Date | string | null;
1381
+ data: JsonNullValueInput | runtime.InputJsonValue;
1382
+ modelType: ModelTypeCreateNestedOneWithoutModelsInput;
1383
+ };
1384
+ type ModelUncheckedCreateInput = {
1385
+ id?: string;
1386
+ createdAt: Date | string;
1387
+ updatedAt?: Date | string | null;
1388
+ modelTypeId: string;
1389
+ data: JsonNullValueInput | runtime.InputJsonValue;
1390
+ };
1391
+ type ModelUpdateInput = {
1392
+ id?: StringFieldUpdateOperationsInput | string;
1393
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1394
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1395
+ data?: JsonNullValueInput | runtime.InputJsonValue;
1396
+ modelType?: ModelTypeUpdateOneRequiredWithoutModelsNestedInput;
1397
+ };
1398
+ type ModelUncheckedUpdateInput = {
1399
+ id?: StringFieldUpdateOperationsInput | string;
1400
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1401
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1402
+ modelTypeId?: StringFieldUpdateOperationsInput | string;
1403
+ data?: JsonNullValueInput | runtime.InputJsonValue;
1404
+ };
1405
+ type ModelCreateManyInput = {
1406
+ id?: string;
1407
+ createdAt: Date | string;
1408
+ updatedAt?: Date | string | null;
1409
+ modelTypeId: string;
1410
+ data: JsonNullValueInput | runtime.InputJsonValue;
1411
+ };
1412
+ type ModelUpdateManyMutationInput = {
1413
+ id?: StringFieldUpdateOperationsInput | string;
1414
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1415
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1416
+ data?: JsonNullValueInput | runtime.InputJsonValue;
1417
+ };
1418
+ type ModelUncheckedUpdateManyInput = {
1419
+ id?: StringFieldUpdateOperationsInput | string;
1420
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1421
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1422
+ modelTypeId?: StringFieldUpdateOperationsInput | string;
1423
+ data?: JsonNullValueInput | runtime.InputJsonValue;
1424
+ };
1425
+ type ModelListRelationFilter = {
1426
+ every?: ModelWhereInput;
1427
+ some?: ModelWhereInput;
1428
+ none?: ModelWhereInput;
1429
+ };
1430
+ type ModelOrderByRelationAggregateInput = {
1431
+ _count?: SortOrder;
1432
+ };
1433
+ type ModelCountOrderByAggregateInput = {
1434
+ id?: SortOrder;
1435
+ createdAt?: SortOrder;
1436
+ updatedAt?: SortOrder;
1437
+ modelTypeId?: SortOrder;
1438
+ data?: SortOrder;
1439
+ };
1440
+ type ModelMaxOrderByAggregateInput = {
1441
+ id?: SortOrder;
1442
+ createdAt?: SortOrder;
1443
+ updatedAt?: SortOrder;
1444
+ modelTypeId?: SortOrder;
1445
+ };
1446
+ type ModelMinOrderByAggregateInput = {
1447
+ id?: SortOrder;
1448
+ createdAt?: SortOrder;
1449
+ updatedAt?: SortOrder;
1450
+ modelTypeId?: SortOrder;
1451
+ };
1452
+ type ModelCreateNestedManyWithoutModelTypeInput = {
1453
+ create?: XOR<ModelCreateWithoutModelTypeInput, ModelUncheckedCreateWithoutModelTypeInput> | ModelCreateWithoutModelTypeInput[] | ModelUncheckedCreateWithoutModelTypeInput[];
1454
+ connectOrCreate?: ModelCreateOrConnectWithoutModelTypeInput | ModelCreateOrConnectWithoutModelTypeInput[];
1455
+ createMany?: ModelCreateManyModelTypeInputEnvelope;
1456
+ connect?: ModelWhereUniqueInput | ModelWhereUniqueInput[];
1457
+ };
1458
+ type ModelUncheckedCreateNestedManyWithoutModelTypeInput = {
1459
+ create?: XOR<ModelCreateWithoutModelTypeInput, ModelUncheckedCreateWithoutModelTypeInput> | ModelCreateWithoutModelTypeInput[] | ModelUncheckedCreateWithoutModelTypeInput[];
1460
+ connectOrCreate?: ModelCreateOrConnectWithoutModelTypeInput | ModelCreateOrConnectWithoutModelTypeInput[];
1461
+ createMany?: ModelCreateManyModelTypeInputEnvelope;
1462
+ connect?: ModelWhereUniqueInput | ModelWhereUniqueInput[];
1463
+ };
1464
+ type ModelUpdateManyWithoutModelTypeNestedInput = {
1465
+ create?: XOR<ModelCreateWithoutModelTypeInput, ModelUncheckedCreateWithoutModelTypeInput> | ModelCreateWithoutModelTypeInput[] | ModelUncheckedCreateWithoutModelTypeInput[];
1466
+ connectOrCreate?: ModelCreateOrConnectWithoutModelTypeInput | ModelCreateOrConnectWithoutModelTypeInput[];
1467
+ upsert?: ModelUpsertWithWhereUniqueWithoutModelTypeInput | ModelUpsertWithWhereUniqueWithoutModelTypeInput[];
1468
+ createMany?: ModelCreateManyModelTypeInputEnvelope;
1469
+ set?: ModelWhereUniqueInput | ModelWhereUniqueInput[];
1470
+ disconnect?: ModelWhereUniqueInput | ModelWhereUniqueInput[];
1471
+ delete?: ModelWhereUniqueInput | ModelWhereUniqueInput[];
1472
+ connect?: ModelWhereUniqueInput | ModelWhereUniqueInput[];
1473
+ update?: ModelUpdateWithWhereUniqueWithoutModelTypeInput | ModelUpdateWithWhereUniqueWithoutModelTypeInput[];
1474
+ updateMany?: ModelUpdateManyWithWhereWithoutModelTypeInput | ModelUpdateManyWithWhereWithoutModelTypeInput[];
1475
+ deleteMany?: ModelScalarWhereInput | ModelScalarWhereInput[];
1476
+ };
1477
+ type ModelUncheckedUpdateManyWithoutModelTypeNestedInput = {
1478
+ create?: XOR<ModelCreateWithoutModelTypeInput, ModelUncheckedCreateWithoutModelTypeInput> | ModelCreateWithoutModelTypeInput[] | ModelUncheckedCreateWithoutModelTypeInput[];
1479
+ connectOrCreate?: ModelCreateOrConnectWithoutModelTypeInput | ModelCreateOrConnectWithoutModelTypeInput[];
1480
+ upsert?: ModelUpsertWithWhereUniqueWithoutModelTypeInput | ModelUpsertWithWhereUniqueWithoutModelTypeInput[];
1481
+ createMany?: ModelCreateManyModelTypeInputEnvelope;
1482
+ set?: ModelWhereUniqueInput | ModelWhereUniqueInput[];
1483
+ disconnect?: ModelWhereUniqueInput | ModelWhereUniqueInput[];
1484
+ delete?: ModelWhereUniqueInput | ModelWhereUniqueInput[];
1485
+ connect?: ModelWhereUniqueInput | ModelWhereUniqueInput[];
1486
+ update?: ModelUpdateWithWhereUniqueWithoutModelTypeInput | ModelUpdateWithWhereUniqueWithoutModelTypeInput[];
1487
+ updateMany?: ModelUpdateManyWithWhereWithoutModelTypeInput | ModelUpdateManyWithWhereWithoutModelTypeInput[];
1488
+ deleteMany?: ModelScalarWhereInput | ModelScalarWhereInput[];
1489
+ };
1490
+ type ModelCreateWithoutModelTypeInput = {
1491
+ id?: string;
1492
+ createdAt: Date | string;
1493
+ updatedAt?: Date | string | null;
1494
+ data: JsonNullValueInput | runtime.InputJsonValue;
1495
+ };
1496
+ type ModelUncheckedCreateWithoutModelTypeInput = {
1497
+ id?: string;
1498
+ createdAt: Date | string;
1499
+ updatedAt?: Date | string | null;
1500
+ data: JsonNullValueInput | runtime.InputJsonValue;
1501
+ };
1502
+ type ModelCreateOrConnectWithoutModelTypeInput = {
1503
+ where: ModelWhereUniqueInput;
1504
+ create: XOR<ModelCreateWithoutModelTypeInput, ModelUncheckedCreateWithoutModelTypeInput>;
1505
+ };
1506
+ type ModelCreateManyModelTypeInputEnvelope = {
1507
+ data: ModelCreateManyModelTypeInput | ModelCreateManyModelTypeInput[];
1508
+ skipDuplicates?: boolean;
1509
+ };
1510
+ type ModelUpsertWithWhereUniqueWithoutModelTypeInput = {
1511
+ where: ModelWhereUniqueInput;
1512
+ update: XOR<ModelUpdateWithoutModelTypeInput, ModelUncheckedUpdateWithoutModelTypeInput>;
1513
+ create: XOR<ModelCreateWithoutModelTypeInput, ModelUncheckedCreateWithoutModelTypeInput>;
1514
+ };
1515
+ type ModelUpdateWithWhereUniqueWithoutModelTypeInput = {
1516
+ where: ModelWhereUniqueInput;
1517
+ data: XOR<ModelUpdateWithoutModelTypeInput, ModelUncheckedUpdateWithoutModelTypeInput>;
1518
+ };
1519
+ type ModelUpdateManyWithWhereWithoutModelTypeInput = {
1520
+ where: ModelScalarWhereInput;
1521
+ data: XOR<ModelUpdateManyMutationInput, ModelUncheckedUpdateManyWithoutModelTypeInput>;
1522
+ };
1523
+ type ModelScalarWhereInput = {
1524
+ AND?: ModelScalarWhereInput | ModelScalarWhereInput[];
1525
+ OR?: ModelScalarWhereInput[];
1526
+ NOT?: ModelScalarWhereInput | ModelScalarWhereInput[];
1527
+ id?: StringFilter<"Model"> | string;
1528
+ createdAt?: DateTimeFilter<"Model"> | Date | string;
1529
+ updatedAt?: DateTimeNullableFilter<"Model"> | Date | string | null;
1530
+ modelTypeId?: StringFilter<"Model"> | string;
1531
+ data?: JsonFilter<"Model">;
1532
+ };
1533
+ type ModelCreateManyModelTypeInput = {
1534
+ id?: string;
1535
+ createdAt: Date | string;
1536
+ updatedAt?: Date | string | null;
1537
+ data: JsonNullValueInput | runtime.InputJsonValue;
1538
+ };
1539
+ type ModelUpdateWithoutModelTypeInput = {
1540
+ id?: StringFieldUpdateOperationsInput | string;
1541
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1542
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1543
+ data?: JsonNullValueInput | runtime.InputJsonValue;
1544
+ };
1545
+ type ModelUncheckedUpdateWithoutModelTypeInput = {
1546
+ id?: StringFieldUpdateOperationsInput | string;
1547
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1548
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1549
+ data?: JsonNullValueInput | runtime.InputJsonValue;
1550
+ };
1551
+ type ModelUncheckedUpdateManyWithoutModelTypeInput = {
1552
+ id?: StringFieldUpdateOperationsInput | string;
1553
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1554
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1555
+ data?: JsonNullValueInput | runtime.InputJsonValue;
1556
+ };
1557
+ type ModelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1558
+ id?: boolean;
1559
+ createdAt?: boolean;
1560
+ updatedAt?: boolean;
1561
+ modelTypeId?: boolean;
1562
+ data?: boolean;
1563
+ modelType?: boolean | ModelTypeDefaultArgs<ExtArgs>;
1564
+ }, ExtArgs["result"]["model"]>;
1565
+ type ModelSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1566
+ id?: boolean;
1567
+ createdAt?: boolean;
1568
+ updatedAt?: boolean;
1569
+ modelTypeId?: boolean;
1570
+ data?: boolean;
1571
+ modelType?: boolean | ModelTypeDefaultArgs<ExtArgs>;
1572
+ }, ExtArgs["result"]["model"]>;
1573
+ type ModelSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1574
+ id?: boolean;
1575
+ createdAt?: boolean;
1576
+ updatedAt?: boolean;
1577
+ modelTypeId?: boolean;
1578
+ data?: boolean;
1579
+ modelType?: boolean | ModelTypeDefaultArgs<ExtArgs>;
1580
+ }, ExtArgs["result"]["model"]>;
1581
+ type ModelSelectScalar = {
1582
+ id?: boolean;
1583
+ createdAt?: boolean;
1584
+ updatedAt?: boolean;
1585
+ modelTypeId?: boolean;
1586
+ data?: boolean;
1587
+ };
1588
+ type ModelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "modelTypeId" | "data", ExtArgs["result"]["model"]>;
1589
+ type ModelInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1590
+ modelType?: boolean | ModelTypeDefaultArgs<ExtArgs>;
1591
+ };
1592
+ type ModelIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1593
+ modelType?: boolean | ModelTypeDefaultArgs<ExtArgs>;
1594
+ };
1595
+ type ModelIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1596
+ modelType?: boolean | ModelTypeDefaultArgs<ExtArgs>;
1597
+ };
1598
+ type $ModelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1599
+ name: "Model";
1600
+ objects: {
1601
+ modelType: $ModelTypePayload<ExtArgs>;
1602
+ };
1603
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1604
+ id: string;
1605
+ createdAt: Date;
1606
+ updatedAt: Date | null;
1607
+ modelTypeId: string;
1608
+ data: runtime.JsonValue;
1609
+ }, ExtArgs["result"]["model"]>;
1610
+ composites: {};
1611
+ };
1612
+ type ModelGetPayload<S extends boolean | null | undefined | ModelDefaultArgs> = runtime.Types.Result.GetResult<$ModelPayload, S>;
1613
+ type ModelCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ModelFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1614
+ select?: ModelCountAggregateInputType | true;
1615
+ };
1616
+ interface ModelDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1617
+ [K: symbol]: {
1618
+ types: TypeMap<ExtArgs>['model']['Model'];
1619
+ meta: {
1620
+ name: 'Model';
1621
+ };
1622
+ };
1623
+ /**
1624
+ * Find zero or one Model that matches the filter.
1625
+ * @param {ModelFindUniqueArgs} args - Arguments to find a Model
1626
+ * @example
1627
+ * // Get one Model
1628
+ * const model = await prisma.model.findUnique({
1629
+ * where: {
1630
+ * // ... provide filter here
1631
+ * }
1632
+ * })
1633
+ */
1634
+ findUnique<T extends ModelFindUniqueArgs>(args: SelectSubset<T, ModelFindUniqueArgs<ExtArgs>>): Prisma__ModelClient<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1635
+ /**
1636
+ * Find one Model that matches the filter or throw an error with `error.code='P2025'`
1637
+ * if no matches were found.
1638
+ * @param {ModelFindUniqueOrThrowArgs} args - Arguments to find a Model
1639
+ * @example
1640
+ * // Get one Model
1641
+ * const model = await prisma.model.findUniqueOrThrow({
1642
+ * where: {
1643
+ * // ... provide filter here
1644
+ * }
1645
+ * })
1646
+ */
1647
+ findUniqueOrThrow<T extends ModelFindUniqueOrThrowArgs>(args: SelectSubset<T, ModelFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ModelClient<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1648
+ /**
1649
+ * Find the first Model that matches the filter.
1650
+ * Note, that providing `undefined` is treated as the value not being there.
1651
+ * Read more here: https://pris.ly/d/null-undefined
1652
+ * @param {ModelFindFirstArgs} args - Arguments to find a Model
1653
+ * @example
1654
+ * // Get one Model
1655
+ * const model = await prisma.model.findFirst({
1656
+ * where: {
1657
+ * // ... provide filter here
1658
+ * }
1659
+ * })
1660
+ */
1661
+ findFirst<T extends ModelFindFirstArgs>(args?: SelectSubset<T, ModelFindFirstArgs<ExtArgs>>): Prisma__ModelClient<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1662
+ /**
1663
+ * Find the first Model that matches the filter or
1664
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1665
+ * Note, that providing `undefined` is treated as the value not being there.
1666
+ * Read more here: https://pris.ly/d/null-undefined
1667
+ * @param {ModelFindFirstOrThrowArgs} args - Arguments to find a Model
1668
+ * @example
1669
+ * // Get one Model
1670
+ * const model = await prisma.model.findFirstOrThrow({
1671
+ * where: {
1672
+ * // ... provide filter here
1673
+ * }
1674
+ * })
1675
+ */
1676
+ findFirstOrThrow<T extends ModelFindFirstOrThrowArgs>(args?: SelectSubset<T, ModelFindFirstOrThrowArgs<ExtArgs>>): Prisma__ModelClient<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1677
+ /**
1678
+ * Find zero or more Models that matches the filter.
1679
+ * Note, that providing `undefined` is treated as the value not being there.
1680
+ * Read more here: https://pris.ly/d/null-undefined
1681
+ * @param {ModelFindManyArgs} args - Arguments to filter and select certain fields only.
1682
+ * @example
1683
+ * // Get all Models
1684
+ * const models = await prisma.model.findMany()
1685
+ *
1686
+ * // Get first 10 Models
1687
+ * const models = await prisma.model.findMany({ take: 10 })
1688
+ *
1689
+ * // Only select the `id`
1690
+ * const modelWithIdOnly = await prisma.model.findMany({ select: { id: true } })
1691
+ *
1692
+ */
1693
+ findMany<T extends ModelFindManyArgs>(args?: SelectSubset<T, ModelFindManyArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1694
+ /**
1695
+ * Create a Model.
1696
+ * @param {ModelCreateArgs} args - Arguments to create a Model.
1697
+ * @example
1698
+ * // Create one Model
1699
+ * const Model = await prisma.model.create({
1700
+ * data: {
1701
+ * // ... data to create a Model
1702
+ * }
1703
+ * })
1704
+ *
1705
+ */
1706
+ create<T extends ModelCreateArgs>(args: SelectSubset<T, ModelCreateArgs<ExtArgs>>): Prisma__ModelClient<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1707
+ /**
1708
+ * Create many Models.
1709
+ * @param {ModelCreateManyArgs} args - Arguments to create many Models.
1710
+ * @example
1711
+ * // Create many Models
1712
+ * const model = await prisma.model.createMany({
1713
+ * data: [
1714
+ * // ... provide data here
1715
+ * ]
1716
+ * })
1717
+ *
1718
+ */
1719
+ createMany<T extends ModelCreateManyArgs>(args?: SelectSubset<T, ModelCreateManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
1720
+ /**
1721
+ * Create many Models and returns the data saved in the database.
1722
+ * @param {ModelCreateManyAndReturnArgs} args - Arguments to create many Models.
1723
+ * @example
1724
+ * // Create many Models
1725
+ * const model = await prisma.model.createManyAndReturn({
1726
+ * data: [
1727
+ * // ... provide data here
1728
+ * ]
1729
+ * })
1730
+ *
1731
+ * // Create many Models and only return the `id`
1732
+ * const modelWithIdOnly = await prisma.model.createManyAndReturn({
1733
+ * select: { id: true },
1734
+ * data: [
1735
+ * // ... provide data here
1736
+ * ]
1737
+ * })
1738
+ * Note, that providing `undefined` is treated as the value not being there.
1739
+ * Read more here: https://pris.ly/d/null-undefined
1740
+ *
1741
+ */
1742
+ createManyAndReturn<T extends ModelCreateManyAndReturnArgs>(args?: SelectSubset<T, ModelCreateManyAndReturnArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1743
+ /**
1744
+ * Delete a Model.
1745
+ * @param {ModelDeleteArgs} args - Arguments to delete one Model.
1746
+ * @example
1747
+ * // Delete one Model
1748
+ * const Model = await prisma.model.delete({
1749
+ * where: {
1750
+ * // ... filter to delete one Model
1751
+ * }
1752
+ * })
1753
+ *
1754
+ */
1755
+ delete<T extends ModelDeleteArgs>(args: SelectSubset<T, ModelDeleteArgs<ExtArgs>>): Prisma__ModelClient<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1756
+ /**
1757
+ * Update one Model.
1758
+ * @param {ModelUpdateArgs} args - Arguments to update one Model.
1759
+ * @example
1760
+ * // Update one Model
1761
+ * const model = await prisma.model.update({
1762
+ * where: {
1763
+ * // ... provide filter here
1764
+ * },
1765
+ * data: {
1766
+ * // ... provide data here
1767
+ * }
1768
+ * })
1769
+ *
1770
+ */
1771
+ update<T extends ModelUpdateArgs>(args: SelectSubset<T, ModelUpdateArgs<ExtArgs>>): Prisma__ModelClient<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1772
+ /**
1773
+ * Delete zero or more Models.
1774
+ * @param {ModelDeleteManyArgs} args - Arguments to filter Models to delete.
1775
+ * @example
1776
+ * // Delete a few Models
1777
+ * const { count } = await prisma.model.deleteMany({
1778
+ * where: {
1779
+ * // ... provide filter here
1780
+ * }
1781
+ * })
1782
+ *
1783
+ */
1784
+ deleteMany<T extends ModelDeleteManyArgs>(args?: SelectSubset<T, ModelDeleteManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
1785
+ /**
1786
+ * Update zero or more Models.
1787
+ * Note, that providing `undefined` is treated as the value not being there.
1788
+ * Read more here: https://pris.ly/d/null-undefined
1789
+ * @param {ModelUpdateManyArgs} args - Arguments to update one or more rows.
1790
+ * @example
1791
+ * // Update many Models
1792
+ * const model = await prisma.model.updateMany({
1793
+ * where: {
1794
+ * // ... provide filter here
1795
+ * },
1796
+ * data: {
1797
+ * // ... provide data here
1798
+ * }
1799
+ * })
1800
+ *
1801
+ */
1802
+ updateMany<T extends ModelUpdateManyArgs>(args: SelectSubset<T, ModelUpdateManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
1803
+ /**
1804
+ * Update zero or more Models and returns the data updated in the database.
1805
+ * @param {ModelUpdateManyAndReturnArgs} args - Arguments to update many Models.
1806
+ * @example
1807
+ * // Update many Models
1808
+ * const model = await prisma.model.updateManyAndReturn({
1809
+ * where: {
1810
+ * // ... provide filter here
1811
+ * },
1812
+ * data: [
1813
+ * // ... provide data here
1814
+ * ]
1815
+ * })
1816
+ *
1817
+ * // Update zero or more Models and only return the `id`
1818
+ * const modelWithIdOnly = await prisma.model.updateManyAndReturn({
1819
+ * select: { id: true },
1820
+ * where: {
1821
+ * // ... provide filter here
1822
+ * },
1823
+ * data: [
1824
+ * // ... provide data here
1825
+ * ]
1826
+ * })
1827
+ * Note, that providing `undefined` is treated as the value not being there.
1828
+ * Read more here: https://pris.ly/d/null-undefined
1829
+ *
1830
+ */
1831
+ updateManyAndReturn<T extends ModelUpdateManyAndReturnArgs>(args: SelectSubset<T, ModelUpdateManyAndReturnArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1832
+ /**
1833
+ * Create or update one Model.
1834
+ * @param {ModelUpsertArgs} args - Arguments to update or create a Model.
1835
+ * @example
1836
+ * // Update or create a Model
1837
+ * const model = await prisma.model.upsert({
1838
+ * create: {
1839
+ * // ... data to create a Model
1840
+ * },
1841
+ * update: {
1842
+ * // ... in case it already exists, update
1843
+ * },
1844
+ * where: {
1845
+ * // ... the filter for the Model we want to update
1846
+ * }
1847
+ * })
1848
+ */
1849
+ upsert<T extends ModelUpsertArgs>(args: SelectSubset<T, ModelUpsertArgs<ExtArgs>>): Prisma__ModelClient<runtime.Types.Result.GetResult<$ModelPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1850
+ /**
1851
+ * Count the number of Models.
1852
+ * Note, that providing `undefined` is treated as the value not being there.
1853
+ * Read more here: https://pris.ly/d/null-undefined
1854
+ * @param {ModelCountArgs} args - Arguments to filter Models to count.
1855
+ * @example
1856
+ * // Count the number of Models
1857
+ * const count = await prisma.model.count({
1858
+ * where: {
1859
+ * // ... the filter for the Models we want to count
1860
+ * }
1861
+ * })
1862
+ **/
1863
+ count<T extends ModelCountArgs>(args?: Subset<T, ModelCountArgs>): PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType<T['select'], ModelCountAggregateOutputType> : number>;
1864
+ /**
1865
+ * Allows you to perform aggregations operations on a Model.
1866
+ * Note, that providing `undefined` is treated as the value not being there.
1867
+ * Read more here: https://pris.ly/d/null-undefined
1868
+ * @param {ModelAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1869
+ * @example
1870
+ * // Ordered by age ascending
1871
+ * // Where email contains prisma.io
1872
+ * // Limited to the 10 users
1873
+ * const aggregations = await prisma.user.aggregate({
1874
+ * _avg: {
1875
+ * age: true,
1876
+ * },
1877
+ * where: {
1878
+ * email: {
1879
+ * contains: "prisma.io",
1880
+ * },
1881
+ * },
1882
+ * orderBy: {
1883
+ * age: "asc",
1884
+ * },
1885
+ * take: 10,
1886
+ * })
1887
+ **/
1888
+ aggregate<T extends ModelAggregateArgs>(args: Subset<T, ModelAggregateArgs>): PrismaPromise<GetModelAggregateType<T>>;
1889
+ /**
1890
+ * Group by Model.
1891
+ * Note, that providing `undefined` is treated as the value not being there.
1892
+ * Read more here: https://pris.ly/d/null-undefined
1893
+ * @param {ModelGroupByArgs} args - Group by arguments.
1894
+ * @example
1895
+ * // Group by city, order by createdAt, get count
1896
+ * const result = await prisma.user.groupBy({
1897
+ * by: ['city', 'createdAt'],
1898
+ * orderBy: {
1899
+ * createdAt: true
1900
+ * },
1901
+ * _count: {
1902
+ * _all: true
1903
+ * },
1904
+ * })
1905
+ *
1906
+ **/
1907
+ groupBy<T extends ModelGroupByArgs, HasSelectOrTake extends Or<Extends<'skip', Keys<T>>, Extends<'take', Keys<T>>>, OrderByArg extends True extends HasSelectOrTake ? {
1908
+ orderBy: ModelGroupByArgs['orderBy'];
1909
+ } : {
1910
+ orderBy?: ModelGroupByArgs['orderBy'];
1911
+ }, OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>, ByFields extends MaybeTupleToUnion<T['by']>, ByValid extends Has<ByFields, OrderFields>, HavingFields extends GetHavingFields<T['having']>, HavingValid extends Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? {
1912
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1913
+ Error,
1914
+ 'Field ',
1915
+ P,
1916
+ ` in "having" needs to be provided in "by"`
1917
+ ];
1918
+ }[HavingFields] : 'take' extends Keys<T> ? 'orderBy' extends Keys<T> ? ByValid extends True ? {} : {
1919
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1920
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys<T> ? 'orderBy' extends Keys<T> ? ByValid extends True ? {} : {
1921
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1922
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : {
1923
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1924
+ }[OrderFields]>(args: SubsetIntersection<T, ModelGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetModelGroupByPayload<T> : PrismaPromise<InputErrors>;
1925
+ /**
1926
+ * Fields of the Model model
1927
+ */
1928
+ readonly fields: ModelFieldRefs;
1929
+ }
1930
+ /**
1931
+ * The delegate class that acts as a "Promise-like" for Model.
1932
+ * Why is this prefixed with `Prisma__`?
1933
+ * Because we want to prevent naming conflicts as mentioned in
1934
+ * https://github.com/prisma/prisma-client-js/issues/707
1935
+ */
1936
+ interface Prisma__ModelClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends PrismaPromise<T> {
1937
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1938
+ modelType<T extends ModelTypeDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ModelTypeDefaultArgs<ExtArgs>>): Prisma__ModelTypeClient<runtime.Types.Result.GetResult<$ModelTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1939
+ /**
1940
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1941
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1942
+ * @param onrejected The callback to execute when the Promise is rejected.
1943
+ * @returns A Promise for the completion of which ever callback is executed.
1944
+ */
1945
+ 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>;
1946
+ /**
1947
+ * Attaches a callback for only the rejection of the Promise.
1948
+ * @param onrejected The callback to execute when the Promise is rejected.
1949
+ * @returns A Promise for the completion of the callback.
1950
+ */
1951
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1952
+ /**
1953
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1954
+ * resolved value cannot be modified from the callback.
1955
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1956
+ * @returns A Promise for the completion of the callback.
1957
+ */
1958
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1959
+ }
1960
+ /**
1961
+ * Fields of the Model model
1962
+ */
1963
+ interface ModelFieldRefs {
1964
+ readonly id: FieldRef<"Model", 'String'>;
1965
+ readonly createdAt: FieldRef<"Model", 'DateTime'>;
1966
+ readonly updatedAt: FieldRef<"Model", 'DateTime'>;
1967
+ readonly modelTypeId: FieldRef<"Model", 'String'>;
1968
+ readonly data: FieldRef<"Model", 'Json'>;
1969
+ }
1970
+ /**
1971
+ * Model findUnique
1972
+ */
1973
+ type ModelFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1974
+ /**
1975
+ * Select specific fields to fetch from the Model
1976
+ */
1977
+ select?: ModelSelect<ExtArgs> | null;
1978
+ /**
1979
+ * Omit specific fields from the Model
1980
+ */
1981
+ omit?: ModelOmit<ExtArgs> | null;
1982
+ /**
1983
+ * Choose, which related nodes to fetch as well
1984
+ */
1985
+ include?: ModelInclude<ExtArgs> | null;
1986
+ /**
1987
+ * Filter, which Model to fetch.
1988
+ */
1989
+ where: ModelWhereUniqueInput;
1990
+ };
1991
+ /**
1992
+ * Model findUniqueOrThrow
1993
+ */
1994
+ type ModelFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1995
+ /**
1996
+ * Select specific fields to fetch from the Model
1997
+ */
1998
+ select?: ModelSelect<ExtArgs> | null;
1999
+ /**
2000
+ * Omit specific fields from the Model
2001
+ */
2002
+ omit?: ModelOmit<ExtArgs> | null;
2003
+ /**
2004
+ * Choose, which related nodes to fetch as well
2005
+ */
2006
+ include?: ModelInclude<ExtArgs> | null;
2007
+ /**
2008
+ * Filter, which Model to fetch.
2009
+ */
2010
+ where: ModelWhereUniqueInput;
2011
+ };
2012
+ /**
2013
+ * Model findFirst
2014
+ */
2015
+ type ModelFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2016
+ /**
2017
+ * Select specific fields to fetch from the Model
2018
+ */
2019
+ select?: ModelSelect<ExtArgs> | null;
2020
+ /**
2021
+ * Omit specific fields from the Model
2022
+ */
2023
+ omit?: ModelOmit<ExtArgs> | null;
2024
+ /**
2025
+ * Choose, which related nodes to fetch as well
2026
+ */
2027
+ include?: ModelInclude<ExtArgs> | null;
2028
+ /**
2029
+ * Filter, which Model to fetch.
2030
+ */
2031
+ where?: ModelWhereInput;
2032
+ /**
2033
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2034
+ *
2035
+ * Determine the order of Models to fetch.
2036
+ */
2037
+ orderBy?: ModelOrderByWithRelationInput | ModelOrderByWithRelationInput[];
2038
+ /**
2039
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2040
+ *
2041
+ * Sets the position for searching for Models.
2042
+ */
2043
+ cursor?: ModelWhereUniqueInput;
2044
+ /**
2045
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2046
+ *
2047
+ * Take `±n` Models from the position of the cursor.
2048
+ */
2049
+ take?: number;
2050
+ /**
2051
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2052
+ *
2053
+ * Skip the first `n` Models.
2054
+ */
2055
+ skip?: number;
2056
+ /**
2057
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2058
+ *
2059
+ * Filter by unique combinations of Models.
2060
+ */
2061
+ distinct?: ModelScalarFieldEnum | ModelScalarFieldEnum[];
2062
+ };
2063
+ /**
2064
+ * Model findFirstOrThrow
2065
+ */
2066
+ type ModelFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2067
+ /**
2068
+ * Select specific fields to fetch from the Model
2069
+ */
2070
+ select?: ModelSelect<ExtArgs> | null;
2071
+ /**
2072
+ * Omit specific fields from the Model
2073
+ */
2074
+ omit?: ModelOmit<ExtArgs> | null;
2075
+ /**
2076
+ * Choose, which related nodes to fetch as well
2077
+ */
2078
+ include?: ModelInclude<ExtArgs> | null;
2079
+ /**
2080
+ * Filter, which Model to fetch.
2081
+ */
2082
+ where?: ModelWhereInput;
2083
+ /**
2084
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2085
+ *
2086
+ * Determine the order of Models to fetch.
2087
+ */
2088
+ orderBy?: ModelOrderByWithRelationInput | ModelOrderByWithRelationInput[];
2089
+ /**
2090
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2091
+ *
2092
+ * Sets the position for searching for Models.
2093
+ */
2094
+ cursor?: ModelWhereUniqueInput;
2095
+ /**
2096
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2097
+ *
2098
+ * Take `±n` Models from the position of the cursor.
2099
+ */
2100
+ take?: number;
2101
+ /**
2102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2103
+ *
2104
+ * Skip the first `n` Models.
2105
+ */
2106
+ skip?: number;
2107
+ /**
2108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2109
+ *
2110
+ * Filter by unique combinations of Models.
2111
+ */
2112
+ distinct?: ModelScalarFieldEnum | ModelScalarFieldEnum[];
2113
+ };
2114
+ /**
2115
+ * Model findMany
2116
+ */
2117
+ type ModelFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2118
+ /**
2119
+ * Select specific fields to fetch from the Model
2120
+ */
2121
+ select?: ModelSelect<ExtArgs> | null;
2122
+ /**
2123
+ * Omit specific fields from the Model
2124
+ */
2125
+ omit?: ModelOmit<ExtArgs> | null;
2126
+ /**
2127
+ * Choose, which related nodes to fetch as well
2128
+ */
2129
+ include?: ModelInclude<ExtArgs> | null;
2130
+ /**
2131
+ * Filter, which Models to fetch.
2132
+ */
2133
+ where?: ModelWhereInput;
2134
+ /**
2135
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2136
+ *
2137
+ * Determine the order of Models to fetch.
2138
+ */
2139
+ orderBy?: ModelOrderByWithRelationInput | ModelOrderByWithRelationInput[];
2140
+ /**
2141
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2142
+ *
2143
+ * Sets the position for listing Models.
2144
+ */
2145
+ cursor?: ModelWhereUniqueInput;
2146
+ /**
2147
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2148
+ *
2149
+ * Take `±n` Models from the position of the cursor.
2150
+ */
2151
+ take?: number;
2152
+ /**
2153
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2154
+ *
2155
+ * Skip the first `n` Models.
2156
+ */
2157
+ skip?: number;
2158
+ /**
2159
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2160
+ *
2161
+ * Filter by unique combinations of Models.
2162
+ */
2163
+ distinct?: ModelScalarFieldEnum | ModelScalarFieldEnum[];
2164
+ };
2165
+ /**
2166
+ * Model create
2167
+ */
2168
+ type ModelCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2169
+ /**
2170
+ * Select specific fields to fetch from the Model
2171
+ */
2172
+ select?: ModelSelect<ExtArgs> | null;
2173
+ /**
2174
+ * Omit specific fields from the Model
2175
+ */
2176
+ omit?: ModelOmit<ExtArgs> | null;
2177
+ /**
2178
+ * Choose, which related nodes to fetch as well
2179
+ */
2180
+ include?: ModelInclude<ExtArgs> | null;
2181
+ /**
2182
+ * The data needed to create a Model.
2183
+ */
2184
+ data: XOR<ModelCreateInput, ModelUncheckedCreateInput>;
2185
+ };
2186
+ /**
2187
+ * Model createMany
2188
+ */
2189
+ type ModelCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2190
+ /**
2191
+ * The data used to create many Models.
2192
+ */
2193
+ data: ModelCreateManyInput | ModelCreateManyInput[];
2194
+ skipDuplicates?: boolean;
2195
+ };
2196
+ /**
2197
+ * Model createManyAndReturn
2198
+ */
2199
+ type ModelCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2200
+ /**
2201
+ * Select specific fields to fetch from the Model
2202
+ */
2203
+ select?: ModelSelectCreateManyAndReturn<ExtArgs> | null;
2204
+ /**
2205
+ * Omit specific fields from the Model
2206
+ */
2207
+ omit?: ModelOmit<ExtArgs> | null;
2208
+ /**
2209
+ * The data used to create many Models.
2210
+ */
2211
+ data: ModelCreateManyInput | ModelCreateManyInput[];
2212
+ skipDuplicates?: boolean;
2213
+ /**
2214
+ * Choose, which related nodes to fetch as well
2215
+ */
2216
+ include?: ModelIncludeCreateManyAndReturn<ExtArgs> | null;
2217
+ };
2218
+ /**
2219
+ * Model update
2220
+ */
2221
+ type ModelUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2222
+ /**
2223
+ * Select specific fields to fetch from the Model
2224
+ */
2225
+ select?: ModelSelect<ExtArgs> | null;
2226
+ /**
2227
+ * Omit specific fields from the Model
2228
+ */
2229
+ omit?: ModelOmit<ExtArgs> | null;
2230
+ /**
2231
+ * Choose, which related nodes to fetch as well
2232
+ */
2233
+ include?: ModelInclude<ExtArgs> | null;
2234
+ /**
2235
+ * The data needed to update a Model.
2236
+ */
2237
+ data: XOR<ModelUpdateInput, ModelUncheckedUpdateInput>;
2238
+ /**
2239
+ * Choose, which Model to update.
2240
+ */
2241
+ where: ModelWhereUniqueInput;
2242
+ };
2243
+ /**
2244
+ * Model updateMany
2245
+ */
2246
+ type ModelUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2247
+ /**
2248
+ * The data used to update Models.
2249
+ */
2250
+ data: XOR<ModelUpdateManyMutationInput, ModelUncheckedUpdateManyInput>;
2251
+ /**
2252
+ * Filter which Models to update
2253
+ */
2254
+ where?: ModelWhereInput;
2255
+ /**
2256
+ * Limit how many Models to update.
2257
+ */
2258
+ limit?: number;
2259
+ };
2260
+ /**
2261
+ * Model updateManyAndReturn
2262
+ */
2263
+ type ModelUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2264
+ /**
2265
+ * Select specific fields to fetch from the Model
2266
+ */
2267
+ select?: ModelSelectUpdateManyAndReturn<ExtArgs> | null;
2268
+ /**
2269
+ * Omit specific fields from the Model
2270
+ */
2271
+ omit?: ModelOmit<ExtArgs> | null;
2272
+ /**
2273
+ * The data used to update Models.
2274
+ */
2275
+ data: XOR<ModelUpdateManyMutationInput, ModelUncheckedUpdateManyInput>;
2276
+ /**
2277
+ * Filter which Models to update
2278
+ */
2279
+ where?: ModelWhereInput;
2280
+ /**
2281
+ * Limit how many Models to update.
2282
+ */
2283
+ limit?: number;
2284
+ /**
2285
+ * Choose, which related nodes to fetch as well
2286
+ */
2287
+ include?: ModelIncludeUpdateManyAndReturn<ExtArgs> | null;
2288
+ };
2289
+ /**
2290
+ * Model upsert
2291
+ */
2292
+ type ModelUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2293
+ /**
2294
+ * Select specific fields to fetch from the Model
2295
+ */
2296
+ select?: ModelSelect<ExtArgs> | null;
2297
+ /**
2298
+ * Omit specific fields from the Model
2299
+ */
2300
+ omit?: ModelOmit<ExtArgs> | null;
2301
+ /**
2302
+ * Choose, which related nodes to fetch as well
2303
+ */
2304
+ include?: ModelInclude<ExtArgs> | null;
2305
+ /**
2306
+ * The filter to search for the Model to update in case it exists.
2307
+ */
2308
+ where: ModelWhereUniqueInput;
2309
+ /**
2310
+ * In case the Model found by the `where` argument doesn't exist, create a new Model with this data.
2311
+ */
2312
+ create: XOR<ModelCreateInput, ModelUncheckedCreateInput>;
2313
+ /**
2314
+ * In case the Model was found with the provided `where` argument, update it with this data.
2315
+ */
2316
+ update: XOR<ModelUpdateInput, ModelUncheckedUpdateInput>;
2317
+ };
2318
+ /**
2319
+ * Model delete
2320
+ */
2321
+ type ModelDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2322
+ /**
2323
+ * Select specific fields to fetch from the Model
2324
+ */
2325
+ select?: ModelSelect<ExtArgs> | null;
2326
+ /**
2327
+ * Omit specific fields from the Model
2328
+ */
2329
+ omit?: ModelOmit<ExtArgs> | null;
2330
+ /**
2331
+ * Choose, which related nodes to fetch as well
2332
+ */
2333
+ include?: ModelInclude<ExtArgs> | null;
2334
+ /**
2335
+ * Filter which Model to delete.
2336
+ */
2337
+ where: ModelWhereUniqueInput;
2338
+ };
2339
+ /**
2340
+ * Model deleteMany
2341
+ */
2342
+ type ModelDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2343
+ /**
2344
+ * Filter which Models to delete
2345
+ */
2346
+ where?: ModelWhereInput;
2347
+ /**
2348
+ * Limit how many Models to delete.
2349
+ */
2350
+ limit?: number;
2351
+ };
2352
+ /**
2353
+ * Model without action
2354
+ */
2355
+ type ModelDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2356
+ /**
2357
+ * Select specific fields to fetch from the Model
2358
+ */
2359
+ select?: ModelSelect<ExtArgs> | null;
2360
+ /**
2361
+ * Omit specific fields from the Model
2362
+ */
2363
+ omit?: ModelOmit<ExtArgs> | null;
2364
+ /**
2365
+ * Choose, which related nodes to fetch as well
2366
+ */
2367
+ include?: ModelInclude<ExtArgs> | null;
2368
+ };
2369
+
2370
+ type StringFilter<$PrismaModel = never> = {
2371
+ equals?: string | StringFieldRefInput<$PrismaModel>;
2372
+ in?: string[] | ListStringFieldRefInput<$PrismaModel>;
2373
+ notIn?: string[] | ListStringFieldRefInput<$PrismaModel>;
2374
+ lt?: string | StringFieldRefInput<$PrismaModel>;
2375
+ lte?: string | StringFieldRefInput<$PrismaModel>;
2376
+ gt?: string | StringFieldRefInput<$PrismaModel>;
2377
+ gte?: string | StringFieldRefInput<$PrismaModel>;
2378
+ contains?: string | StringFieldRefInput<$PrismaModel>;
2379
+ startsWith?: string | StringFieldRefInput<$PrismaModel>;
2380
+ endsWith?: string | StringFieldRefInput<$PrismaModel>;
2381
+ mode?: QueryMode;
2382
+ not?: NestedStringFilter<$PrismaModel> | string;
2383
+ };
2384
+ type DateTimeFilter<$PrismaModel = never> = {
2385
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2386
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
2387
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
2388
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2389
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2390
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2391
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2392
+ not?: NestedDateTimeFilter<$PrismaModel> | Date | string;
2393
+ };
2394
+ type DateTimeNullableFilter<$PrismaModel = never> = {
2395
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
2396
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
2397
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
2398
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2399
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2400
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2401
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2402
+ not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
2403
+ };
2404
+ type SortOrderInput = {
2405
+ sort: SortOrder;
2406
+ nulls?: NullsOrder;
2407
+ };
2408
+ type StringWithAggregatesFilter<$PrismaModel = never> = {
2409
+ equals?: string | StringFieldRefInput<$PrismaModel>;
2410
+ in?: string[] | ListStringFieldRefInput<$PrismaModel>;
2411
+ notIn?: string[] | ListStringFieldRefInput<$PrismaModel>;
2412
+ lt?: string | StringFieldRefInput<$PrismaModel>;
2413
+ lte?: string | StringFieldRefInput<$PrismaModel>;
2414
+ gt?: string | StringFieldRefInput<$PrismaModel>;
2415
+ gte?: string | StringFieldRefInput<$PrismaModel>;
2416
+ contains?: string | StringFieldRefInput<$PrismaModel>;
2417
+ startsWith?: string | StringFieldRefInput<$PrismaModel>;
2418
+ endsWith?: string | StringFieldRefInput<$PrismaModel>;
2419
+ mode?: QueryMode;
2420
+ not?: NestedStringWithAggregatesFilter<$PrismaModel> | string;
2421
+ _count?: NestedIntFilter<$PrismaModel>;
2422
+ _min?: NestedStringFilter<$PrismaModel>;
2423
+ _max?: NestedStringFilter<$PrismaModel>;
2424
+ };
2425
+ type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
2426
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2427
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
2428
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
2429
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2430
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2431
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2432
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2433
+ not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
2434
+ _count?: NestedIntFilter<$PrismaModel>;
2435
+ _min?: NestedDateTimeFilter<$PrismaModel>;
2436
+ _max?: NestedDateTimeFilter<$PrismaModel>;
2437
+ };
2438
+ type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
2439
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
2440
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
2441
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
2442
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2443
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2444
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2445
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2446
+ not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
2447
+ _count?: NestedIntNullableFilter<$PrismaModel>;
2448
+ _min?: NestedDateTimeNullableFilter<$PrismaModel>;
2449
+ _max?: NestedDateTimeNullableFilter<$PrismaModel>;
2450
+ };
2451
+ type JsonFilter<$PrismaModel = never> = PatchUndefined<Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>, Required<JsonFilterBase<$PrismaModel>>> | OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>;
2452
+ type JsonFilterBase<$PrismaModel = never> = {
2453
+ equals?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter;
2454
+ path?: string[];
2455
+ mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>;
2456
+ string_contains?: string | StringFieldRefInput<$PrismaModel>;
2457
+ string_starts_with?: string | StringFieldRefInput<$PrismaModel>;
2458
+ string_ends_with?: string | StringFieldRefInput<$PrismaModel>;
2459
+ array_starts_with?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | null;
2460
+ array_ends_with?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | null;
2461
+ array_contains?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | null;
2462
+ lt?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2463
+ lte?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2464
+ gt?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2465
+ gte?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2466
+ not?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter;
2467
+ };
2468
+ type JsonWithAggregatesFilter<$PrismaModel = never> = PatchUndefined<Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>, Required<JsonWithAggregatesFilterBase<$PrismaModel>>> | OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>;
2469
+ type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
2470
+ equals?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter;
2471
+ path?: string[];
2472
+ mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>;
2473
+ string_contains?: string | StringFieldRefInput<$PrismaModel>;
2474
+ string_starts_with?: string | StringFieldRefInput<$PrismaModel>;
2475
+ string_ends_with?: string | StringFieldRefInput<$PrismaModel>;
2476
+ array_starts_with?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | null;
2477
+ array_ends_with?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | null;
2478
+ array_contains?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | null;
2479
+ lt?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2480
+ lte?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2481
+ gt?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2482
+ gte?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2483
+ not?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter;
2484
+ _count?: NestedIntFilter<$PrismaModel>;
2485
+ _min?: NestedJsonFilter<$PrismaModel>;
2486
+ _max?: NestedJsonFilter<$PrismaModel>;
2487
+ };
2488
+ type NestedStringFilter<$PrismaModel = never> = {
2489
+ equals?: string | StringFieldRefInput<$PrismaModel>;
2490
+ in?: string[] | ListStringFieldRefInput<$PrismaModel>;
2491
+ notIn?: string[] | ListStringFieldRefInput<$PrismaModel>;
2492
+ lt?: string | StringFieldRefInput<$PrismaModel>;
2493
+ lte?: string | StringFieldRefInput<$PrismaModel>;
2494
+ gt?: string | StringFieldRefInput<$PrismaModel>;
2495
+ gte?: string | StringFieldRefInput<$PrismaModel>;
2496
+ contains?: string | StringFieldRefInput<$PrismaModel>;
2497
+ startsWith?: string | StringFieldRefInput<$PrismaModel>;
2498
+ endsWith?: string | StringFieldRefInput<$PrismaModel>;
2499
+ not?: NestedStringFilter<$PrismaModel> | string;
2500
+ };
2501
+ type NestedDateTimeFilter<$PrismaModel = never> = {
2502
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2503
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
2504
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
2505
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2506
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2507
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2508
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2509
+ not?: NestedDateTimeFilter<$PrismaModel> | Date | string;
2510
+ };
2511
+ type NestedDateTimeNullableFilter<$PrismaModel = never> = {
2512
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
2513
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
2514
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
2515
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2516
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2517
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2518
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2519
+ not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
2520
+ };
2521
+ type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
2522
+ equals?: string | StringFieldRefInput<$PrismaModel>;
2523
+ in?: string[] | ListStringFieldRefInput<$PrismaModel>;
2524
+ notIn?: string[] | ListStringFieldRefInput<$PrismaModel>;
2525
+ lt?: string | StringFieldRefInput<$PrismaModel>;
2526
+ lte?: string | StringFieldRefInput<$PrismaModel>;
2527
+ gt?: string | StringFieldRefInput<$PrismaModel>;
2528
+ gte?: string | StringFieldRefInput<$PrismaModel>;
2529
+ contains?: string | StringFieldRefInput<$PrismaModel>;
2530
+ startsWith?: string | StringFieldRefInput<$PrismaModel>;
2531
+ endsWith?: string | StringFieldRefInput<$PrismaModel>;
2532
+ not?: NestedStringWithAggregatesFilter<$PrismaModel> | string;
2533
+ _count?: NestedIntFilter<$PrismaModel>;
2534
+ _min?: NestedStringFilter<$PrismaModel>;
2535
+ _max?: NestedStringFilter<$PrismaModel>;
2536
+ };
2537
+ type NestedIntFilter<$PrismaModel = never> = {
2538
+ equals?: number | IntFieldRefInput<$PrismaModel>;
2539
+ in?: number[] | ListIntFieldRefInput<$PrismaModel>;
2540
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel>;
2541
+ lt?: number | IntFieldRefInput<$PrismaModel>;
2542
+ lte?: number | IntFieldRefInput<$PrismaModel>;
2543
+ gt?: number | IntFieldRefInput<$PrismaModel>;
2544
+ gte?: number | IntFieldRefInput<$PrismaModel>;
2545
+ not?: NestedIntFilter<$PrismaModel> | number;
2546
+ };
2547
+ type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
2548
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2549
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
2550
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>;
2551
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2552
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2553
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2554
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2555
+ not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
2556
+ _count?: NestedIntFilter<$PrismaModel>;
2557
+ _min?: NestedDateTimeFilter<$PrismaModel>;
2558
+ _max?: NestedDateTimeFilter<$PrismaModel>;
2559
+ };
2560
+ type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
2561
+ equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null;
2562
+ in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
2563
+ notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null;
2564
+ lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2565
+ lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2566
+ gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2567
+ gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>;
2568
+ not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
2569
+ _count?: NestedIntNullableFilter<$PrismaModel>;
2570
+ _min?: NestedDateTimeNullableFilter<$PrismaModel>;
2571
+ _max?: NestedDateTimeNullableFilter<$PrismaModel>;
2572
+ };
2573
+ type NestedIntNullableFilter<$PrismaModel = never> = {
2574
+ equals?: number | IntFieldRefInput<$PrismaModel> | null;
2575
+ in?: number[] | ListIntFieldRefInput<$PrismaModel> | null;
2576
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null;
2577
+ lt?: number | IntFieldRefInput<$PrismaModel>;
2578
+ lte?: number | IntFieldRefInput<$PrismaModel>;
2579
+ gt?: number | IntFieldRefInput<$PrismaModel>;
2580
+ gte?: number | IntFieldRefInput<$PrismaModel>;
2581
+ not?: NestedIntNullableFilter<$PrismaModel> | number | null;
2582
+ };
2583
+ type NestedJsonFilter<$PrismaModel = never> = PatchUndefined<Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>, Required<NestedJsonFilterBase<$PrismaModel>>> | OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>;
2584
+ type NestedJsonFilterBase<$PrismaModel = never> = {
2585
+ equals?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter;
2586
+ path?: string[];
2587
+ mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>;
2588
+ string_contains?: string | StringFieldRefInput<$PrismaModel>;
2589
+ string_starts_with?: string | StringFieldRefInput<$PrismaModel>;
2590
+ string_ends_with?: string | StringFieldRefInput<$PrismaModel>;
2591
+ array_starts_with?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | null;
2592
+ array_ends_with?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | null;
2593
+ array_contains?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | null;
2594
+ lt?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2595
+ lte?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2596
+ gt?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2597
+ gte?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel>;
2598
+ not?: runtime.InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter;
2599
+ };
2600
+
2601
+ type DMMF = typeof runtime.DMMF;
2602
+ type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>;
2603
+ /**
2604
+ * Prisma Errors
2605
+ */
2606
+ declare const PrismaClientKnownRequestError: typeof runtime.PrismaClientKnownRequestError;
2607
+ type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
2608
+ declare const PrismaClientUnknownRequestError: typeof runtime.PrismaClientUnknownRequestError;
2609
+ type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
2610
+ declare const PrismaClientRustPanicError: typeof runtime.PrismaClientRustPanicError;
2611
+ type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
2612
+ declare const PrismaClientInitializationError: typeof runtime.PrismaClientInitializationError;
2613
+ type PrismaClientInitializationError = runtime.PrismaClientInitializationError;
2614
+ declare const PrismaClientValidationError: typeof runtime.PrismaClientValidationError;
2615
+ type PrismaClientValidationError = runtime.PrismaClientValidationError;
2616
+ /**
2617
+ * Re-export of sql-template-tag
2618
+ */
2619
+ declare const sql: typeof runtime.sqltag;
2620
+ declare const empty: runtime.Sql;
2621
+ declare const join: typeof runtime.join;
2622
+ declare const raw: typeof runtime.raw;
2623
+ declare const Sql: typeof runtime.Sql;
2624
+ type Sql = runtime.Sql;
2625
+ /**
2626
+ * Decimal.js
2627
+ */
2628
+ declare const Decimal: typeof runtime.Decimal;
2629
+ type Decimal = runtime.Decimal;
2630
+ type DecimalJsLike = runtime.DecimalJsLike;
2631
+ /**
2632
+ * Extensions
2633
+ */
2634
+ type Extension = runtime.Types.Extensions.UserArgs;
2635
+ declare const getExtensionContext: typeof runtime.Extensions.getExtensionContext;
2636
+ type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<T, F>;
2637
+ type Payload<T, F extends runtime.Operation = never> = runtime.Types.Public.Payload<T, F>;
2638
+ type Result<T, A, F extends runtime.Operation> = runtime.Types.Public.Result<T, A, F>;
2639
+ type Exact<A, W> = runtime.Types.Public.Exact<A, W>;
2640
+ type PrismaVersion = {
2641
+ client: string;
2642
+ engine: string;
2643
+ };
2644
+ /**
2645
+ * Prisma Client JS version: 7.7.0
2646
+ * Query Engine version: 75cbdc1eb7150937890ad5465d861175c6624711
2647
+ */
2648
+ declare const prismaVersion: PrismaVersion;
2649
+ /**
2650
+ * Utility Types
2651
+ */
2652
+ type Bytes = runtime.Bytes;
2653
+ type JsonObject = runtime.JsonObject;
2654
+ type JsonArray = runtime.JsonArray;
2655
+ type JsonValue = runtime.JsonValue;
2656
+ type InputJsonObject = runtime.InputJsonObject;
2657
+ type InputJsonArray = runtime.InputJsonArray;
2658
+ type InputJsonValue = runtime.InputJsonValue;
2659
+ declare const NullTypes: {
2660
+ DbNull: (new (secret: never) => typeof runtime.DbNull);
2661
+ JsonNull: (new (secret: never) => typeof runtime.JsonNull);
2662
+ AnyNull: (new (secret: never) => typeof runtime.AnyNull);
2663
+ };
2664
+ /**
2665
+ * Helper for filtering JSON entries that have `null` on the database (empty on the db)
2666
+ *
2667
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
2668
+ */
2669
+ declare const DbNull: runtime.DbNullClass;
2670
+ /**
2671
+ * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
2672
+ *
2673
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
2674
+ */
2675
+ declare const JsonNull: runtime.JsonNullClass;
2676
+ /**
2677
+ * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
2678
+ *
2679
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
2680
+ */
2681
+ declare const AnyNull: runtime.AnyNullClass;
2682
+ type SelectAndInclude = {
2683
+ select: any;
2684
+ include: any;
2685
+ };
2686
+ type SelectAndOmit = {
2687
+ select: any;
2688
+ omit: any;
2689
+ };
2690
+ /**
2691
+ * From T, pick a set of properties whose keys are in the union K
2692
+ */
2693
+ type Prisma__Pick<T, K extends keyof T> = {
2694
+ [P in K]: T[P];
2695
+ };
2696
+ type Enumerable<T> = T | Array<T>;
2697
+ /**
2698
+ * Subset
2699
+ * @desc From `T` pick properties that exist in `U`. Simple version of Intersection
2700
+ */
2701
+ type Subset<T, U> = {
2702
+ [key in keyof T]: key extends keyof U ? T[key] : never;
2703
+ };
2704
+ /**
2705
+ * SelectSubset
2706
+ * @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
2707
+ * Additionally, it validates, if both select and include are present. If the case, it errors.
2708
+ */
2709
+ type SelectSubset<T, U> = {
2710
+ [key in keyof T]: key extends keyof U ? T[key] : never;
2711
+ } & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : T extends SelectAndOmit ? 'Please either choose `select` or `omit`.' : {});
2712
+ /**
2713
+ * Subset + Intersection
2714
+ * @desc From `T` pick properties that exist in `U` and intersect `K`
2715
+ */
2716
+ type SubsetIntersection<T, U, K> = {
2717
+ [key in keyof T]: key extends keyof U ? T[key] : never;
2718
+ } & K;
2719
+ type Without<T, U> = {
2720
+ [P in Exclude<keyof T, keyof U>]?: never;
2721
+ };
2722
+ /**
2723
+ * XOR is needed to have a real mutually exclusive union type
2724
+ * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
2725
+ */
2726
+ type XOR<T, U> = T extends object ? U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : U : T;
2727
+ /**
2728
+ * Is T a Record?
2729
+ */
2730
+ type IsObject<T extends any> = T extends Array<any> ? False : T extends Date ? False : T extends Uint8Array ? False : T extends BigInt ? False : T extends object ? True : False;
2731
+ /**
2732
+ * If it's T[], return T
2733
+ */
2734
+ type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T;
2735
+ /**
2736
+ * From ts-toolbelt
2737
+ */
2738
+ type __Either<O extends object, K extends Key> = Omit<O, K> & {
2739
+ [P in K]: Prisma__Pick<O, P & keyof O>;
2740
+ }[K];
2741
+ type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>;
2742
+ type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>;
2743
+ type _Either<O extends object, K extends Key, strict extends Boolean> = {
2744
+ 1: EitherStrict<O, K>;
2745
+ 0: EitherLoose<O, K>;
2746
+ }[strict];
2747
+ type Either<O extends object, K extends Key, strict extends Boolean = 1> = O extends unknown ? _Either<O, K, strict> : never;
2748
+ type Union = any;
2749
+ type PatchUndefined<O extends object, O1 extends object> = {
2750
+ [K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K];
2751
+ } & {};
2752
+ /** Helper Types for "Merge" **/
2753
+ type IntersectOf<U extends Union> = (U extends unknown ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
2754
+ type Overwrite<O extends object, O1 extends object> = {
2755
+ [K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
2756
+ } & {};
2757
+ type _Merge<U extends object> = IntersectOf<Overwrite<U, {
2758
+ [K in keyof U]-?: At<U, K>;
2759
+ }>>;
2760
+ type Key = string | number | symbol;
2761
+ type AtStrict<O extends object, K extends Key> = O[K & keyof O];
2762
+ type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
2763
+ type At<O extends object, K extends Key, strict extends Boolean = 1> = {
2764
+ 1: AtStrict<O, K>;
2765
+ 0: AtLoose<O, K>;
2766
+ }[strict];
2767
+ type ComputeRaw<A extends any> = A extends Function ? A : {
2768
+ [K in keyof A]: A[K];
2769
+ } & {};
2770
+ type OptionalFlat<O> = {
2771
+ [K in keyof O]?: O[K];
2772
+ } & {};
2773
+ type _Record<K extends keyof any, T> = {
2774
+ [P in K]: T;
2775
+ };
2776
+ type NoExpand<T> = T extends unknown ? T : never;
2777
+ type AtLeast<O extends object, K extends string> = NoExpand<O extends unknown ? (K extends keyof O ? {
2778
+ [P in K]: O[P];
2779
+ } & O : O) | {
2780
+ [P in keyof O as P extends K ? P : never]-?: O[P];
2781
+ } & O : never>;
2782
+ type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
2783
+ type Strict<U extends object> = ComputeRaw<_Strict<U>>;
2784
+ /** End Helper Types for "Merge" **/
2785
+ type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
2786
+ type Boolean = True | False;
2787
+ type True = 1;
2788
+ type False = 0;
2789
+ type Not<B extends Boolean> = {
2790
+ 0: 1;
2791
+ 1: 0;
2792
+ }[B];
2793
+ type Extends<A1 extends any, A2 extends any> = [A1] extends [never] ? 0 : A1 extends A2 ? 1 : 0;
2794
+ type Has<U extends Union, U1 extends Union> = Not<Extends<Exclude<U1, U>, U1>>;
2795
+ type Or<B1 extends Boolean, B2 extends Boolean> = {
2796
+ 0: {
2797
+ 0: 0;
2798
+ 1: 1;
2799
+ };
2800
+ 1: {
2801
+ 0: 1;
2802
+ 1: 1;
2803
+ };
2804
+ }[B1][B2];
2805
+ type Keys<U extends Union> = U extends unknown ? keyof U : never;
2806
+ type GetScalarType<T, O> = O extends object ? {
2807
+ [P in keyof T]: P extends keyof O ? O[P] : never;
2808
+ } : never;
2809
+ type FieldPaths<T, U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>> = IsObject<T> extends True ? U : T;
2810
+ type GetHavingFields<T> = {
2811
+ [K in keyof T]: Or<Or<Extends<'OR', K>, Extends<'AND', K>>, Extends<'NOT', K>> extends True ? T[K] extends infer TK ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never> : never : {} extends FieldPaths<T[K]> ? never : K;
2812
+ }[keyof T];
2813
+ /**
2814
+ * Convert tuple to union
2815
+ */
2816
+ type _TupleToUnion<T> = T extends (infer E)[] ? E : never;
2817
+ type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>;
2818
+ type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T;
2819
+ /**
2820
+ * Like `Pick`, but additionally can also accept an array of keys
2821
+ */
2822
+ type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>;
2823
+ /**
2824
+ * Exclude all keys with underscores
2825
+ */
2826
+ type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T;
2827
+ type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>;
2828
+ type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>;
2829
+ declare const ModelName: {
2830
+ readonly ModelType: "ModelType";
2831
+ readonly Model: "Model";
2832
+ };
2833
+ type ModelName = (typeof ModelName)[keyof typeof ModelName];
2834
+ interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{
2835
+ extArgs: runtime.Types.Extensions.InternalArgs;
2836
+ }, runtime.Types.Utils.Record<string, any>> {
2837
+ returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions>;
2838
+ }
2839
+ type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
2840
+ globalOmitOptions: {
2841
+ omit: GlobalOmitOptions;
2842
+ };
2843
+ meta: {
2844
+ modelProps: "modelType" | "model";
2845
+ txIsolationLevel: TransactionIsolationLevel;
2846
+ };
2847
+ model: {
2848
+ ModelType: {
2849
+ payload: $ModelTypePayload<ExtArgs>;
2850
+ fields: ModelTypeFieldRefs;
2851
+ operations: {
2852
+ findUnique: {
2853
+ args: ModelTypeFindUniqueArgs<ExtArgs>;
2854
+ result: runtime.Types.Utils.PayloadToResult<$ModelTypePayload> | null;
2855
+ };
2856
+ findUniqueOrThrow: {
2857
+ args: ModelTypeFindUniqueOrThrowArgs<ExtArgs>;
2858
+ result: runtime.Types.Utils.PayloadToResult<$ModelTypePayload>;
2859
+ };
2860
+ findFirst: {
2861
+ args: ModelTypeFindFirstArgs<ExtArgs>;
2862
+ result: runtime.Types.Utils.PayloadToResult<$ModelTypePayload> | null;
2863
+ };
2864
+ findFirstOrThrow: {
2865
+ args: ModelTypeFindFirstOrThrowArgs<ExtArgs>;
2866
+ result: runtime.Types.Utils.PayloadToResult<$ModelTypePayload>;
2867
+ };
2868
+ findMany: {
2869
+ args: ModelTypeFindManyArgs<ExtArgs>;
2870
+ result: runtime.Types.Utils.PayloadToResult<$ModelTypePayload>[];
2871
+ };
2872
+ create: {
2873
+ args: ModelTypeCreateArgs<ExtArgs>;
2874
+ result: runtime.Types.Utils.PayloadToResult<$ModelTypePayload>;
2875
+ };
2876
+ createMany: {
2877
+ args: ModelTypeCreateManyArgs<ExtArgs>;
2878
+ result: BatchPayload;
2879
+ };
2880
+ createManyAndReturn: {
2881
+ args: ModelTypeCreateManyAndReturnArgs<ExtArgs>;
2882
+ result: runtime.Types.Utils.PayloadToResult<$ModelTypePayload>[];
2883
+ };
2884
+ delete: {
2885
+ args: ModelTypeDeleteArgs<ExtArgs>;
2886
+ result: runtime.Types.Utils.PayloadToResult<$ModelTypePayload>;
2887
+ };
2888
+ update: {
2889
+ args: ModelTypeUpdateArgs<ExtArgs>;
2890
+ result: runtime.Types.Utils.PayloadToResult<$ModelTypePayload>;
2891
+ };
2892
+ deleteMany: {
2893
+ args: ModelTypeDeleteManyArgs<ExtArgs>;
2894
+ result: BatchPayload;
2895
+ };
2896
+ updateMany: {
2897
+ args: ModelTypeUpdateManyArgs<ExtArgs>;
2898
+ result: BatchPayload;
2899
+ };
2900
+ updateManyAndReturn: {
2901
+ args: ModelTypeUpdateManyAndReturnArgs<ExtArgs>;
2902
+ result: runtime.Types.Utils.PayloadToResult<$ModelTypePayload>[];
2903
+ };
2904
+ upsert: {
2905
+ args: ModelTypeUpsertArgs<ExtArgs>;
2906
+ result: runtime.Types.Utils.PayloadToResult<$ModelTypePayload>;
2907
+ };
2908
+ aggregate: {
2909
+ args: ModelTypeAggregateArgs<ExtArgs>;
2910
+ result: runtime.Types.Utils.Optional<AggregateModelType>;
2911
+ };
2912
+ groupBy: {
2913
+ args: ModelTypeGroupByArgs<ExtArgs>;
2914
+ result: runtime.Types.Utils.Optional<ModelTypeGroupByOutputType>[];
2915
+ };
2916
+ count: {
2917
+ args: ModelTypeCountArgs<ExtArgs>;
2918
+ result: runtime.Types.Utils.Optional<ModelTypeCountAggregateOutputType> | number;
2919
+ };
2920
+ };
2921
+ };
2922
+ Model: {
2923
+ payload: $ModelPayload<ExtArgs>;
2924
+ fields: ModelFieldRefs;
2925
+ operations: {
2926
+ findUnique: {
2927
+ args: ModelFindUniqueArgs<ExtArgs>;
2928
+ result: runtime.Types.Utils.PayloadToResult<$ModelPayload> | null;
2929
+ };
2930
+ findUniqueOrThrow: {
2931
+ args: ModelFindUniqueOrThrowArgs<ExtArgs>;
2932
+ result: runtime.Types.Utils.PayloadToResult<$ModelPayload>;
2933
+ };
2934
+ findFirst: {
2935
+ args: ModelFindFirstArgs<ExtArgs>;
2936
+ result: runtime.Types.Utils.PayloadToResult<$ModelPayload> | null;
2937
+ };
2938
+ findFirstOrThrow: {
2939
+ args: ModelFindFirstOrThrowArgs<ExtArgs>;
2940
+ result: runtime.Types.Utils.PayloadToResult<$ModelPayload>;
2941
+ };
2942
+ findMany: {
2943
+ args: ModelFindManyArgs<ExtArgs>;
2944
+ result: runtime.Types.Utils.PayloadToResult<$ModelPayload>[];
2945
+ };
2946
+ create: {
2947
+ args: ModelCreateArgs<ExtArgs>;
2948
+ result: runtime.Types.Utils.PayloadToResult<$ModelPayload>;
2949
+ };
2950
+ createMany: {
2951
+ args: ModelCreateManyArgs<ExtArgs>;
2952
+ result: BatchPayload;
2953
+ };
2954
+ createManyAndReturn: {
2955
+ args: ModelCreateManyAndReturnArgs<ExtArgs>;
2956
+ result: runtime.Types.Utils.PayloadToResult<$ModelPayload>[];
2957
+ };
2958
+ delete: {
2959
+ args: ModelDeleteArgs<ExtArgs>;
2960
+ result: runtime.Types.Utils.PayloadToResult<$ModelPayload>;
2961
+ };
2962
+ update: {
2963
+ args: ModelUpdateArgs<ExtArgs>;
2964
+ result: runtime.Types.Utils.PayloadToResult<$ModelPayload>;
2965
+ };
2966
+ deleteMany: {
2967
+ args: ModelDeleteManyArgs<ExtArgs>;
2968
+ result: BatchPayload;
2969
+ };
2970
+ updateMany: {
2971
+ args: ModelUpdateManyArgs<ExtArgs>;
2972
+ result: BatchPayload;
2973
+ };
2974
+ updateManyAndReturn: {
2975
+ args: ModelUpdateManyAndReturnArgs<ExtArgs>;
2976
+ result: runtime.Types.Utils.PayloadToResult<$ModelPayload>[];
2977
+ };
2978
+ upsert: {
2979
+ args: ModelUpsertArgs<ExtArgs>;
2980
+ result: runtime.Types.Utils.PayloadToResult<$ModelPayload>;
2981
+ };
2982
+ aggregate: {
2983
+ args: ModelAggregateArgs<ExtArgs>;
2984
+ result: runtime.Types.Utils.Optional<AggregateModel>;
2985
+ };
2986
+ groupBy: {
2987
+ args: ModelGroupByArgs<ExtArgs>;
2988
+ result: runtime.Types.Utils.Optional<ModelGroupByOutputType>[];
2989
+ };
2990
+ count: {
2991
+ args: ModelCountArgs<ExtArgs>;
2992
+ result: runtime.Types.Utils.Optional<ModelCountAggregateOutputType> | number;
2993
+ };
2994
+ };
2995
+ };
2996
+ };
2997
+ } & {
2998
+ other: {
2999
+ payload: any;
3000
+ operations: {
3001
+ $executeRaw: {
3002
+ args: [query: TemplateStringsArray | Sql, ...values: any[]];
3003
+ result: any;
3004
+ };
3005
+ $executeRawUnsafe: {
3006
+ args: [query: string, ...values: any[]];
3007
+ result: any;
3008
+ };
3009
+ $queryRaw: {
3010
+ args: [query: TemplateStringsArray | Sql, ...values: any[]];
3011
+ result: any;
3012
+ };
3013
+ $queryRawUnsafe: {
3014
+ args: [query: string, ...values: any[]];
3015
+ result: any;
3016
+ };
3017
+ };
3018
+ };
3019
+ };
3020
+ /**
3021
+ * Enums
3022
+ */
3023
+ declare const TransactionIsolationLevel: {
3024
+ readonly ReadUncommitted: "ReadUncommitted";
3025
+ readonly ReadCommitted: "ReadCommitted";
3026
+ readonly RepeatableRead: "RepeatableRead";
3027
+ readonly Serializable: "Serializable";
3028
+ };
3029
+ type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
3030
+ declare const ModelTypeScalarFieldEnum: {
3031
+ readonly id: "id";
3032
+ readonly createdAt: "createdAt";
3033
+ readonly updatedAt: "updatedAt";
3034
+ readonly name: "name";
3035
+ readonly slug: "slug";
3036
+ readonly schema: "schema";
3037
+ };
3038
+ type ModelTypeScalarFieldEnum = (typeof ModelTypeScalarFieldEnum)[keyof typeof ModelTypeScalarFieldEnum];
3039
+ declare const ModelScalarFieldEnum: {
3040
+ readonly id: "id";
3041
+ readonly createdAt: "createdAt";
3042
+ readonly updatedAt: "updatedAt";
3043
+ readonly modelTypeId: "modelTypeId";
3044
+ readonly data: "data";
3045
+ };
3046
+ type ModelScalarFieldEnum = (typeof ModelScalarFieldEnum)[keyof typeof ModelScalarFieldEnum];
3047
+ declare const SortOrder: {
3048
+ readonly asc: "asc";
3049
+ readonly desc: "desc";
3050
+ };
3051
+ type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
3052
+ declare const JsonNullValueInput: {
3053
+ readonly JsonNull: runtime.JsonNullClass;
3054
+ };
3055
+ type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput];
3056
+ declare const QueryMode: {
3057
+ readonly default: "default";
3058
+ readonly insensitive: "insensitive";
3059
+ };
3060
+ type QueryMode = (typeof QueryMode)[keyof typeof QueryMode];
3061
+ declare const NullsOrder: {
3062
+ readonly first: "first";
3063
+ readonly last: "last";
3064
+ };
3065
+ type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder];
3066
+ declare const JsonNullValueFilter: {
3067
+ readonly DbNull: runtime.DbNullClass;
3068
+ readonly JsonNull: runtime.JsonNullClass;
3069
+ readonly AnyNull: runtime.AnyNullClass;
3070
+ };
3071
+ type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter];
3072
+ /**
3073
+ * Field references
3074
+ */
3075
+ /**
3076
+ * Reference to a field of type 'String'
3077
+ */
3078
+ type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>;
3079
+ /**
3080
+ * Reference to a field of type 'String[]'
3081
+ */
3082
+ type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'>;
3083
+ /**
3084
+ * Reference to a field of type 'DateTime'
3085
+ */
3086
+ type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>;
3087
+ /**
3088
+ * Reference to a field of type 'DateTime[]'
3089
+ */
3090
+ type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'>;
3091
+ /**
3092
+ * Reference to a field of type 'Json'
3093
+ */
3094
+ type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'>;
3095
+ /**
3096
+ * Reference to a field of type 'QueryMode'
3097
+ */
3098
+ type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'>;
3099
+ /**
3100
+ * Reference to a field of type 'Int'
3101
+ */
3102
+ type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>;
3103
+ /**
3104
+ * Reference to a field of type 'Int[]'
3105
+ */
3106
+ type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>;
3107
+ /**
3108
+ * Batch Payload for updateMany & deleteMany & createMany
3109
+ */
3110
+ type BatchPayload = {
3111
+ count: number;
3112
+ };
3113
+ declare const defineExtension: runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs>;
3114
+ type DefaultPrismaClient = PrismaClient;
3115
+ type ErrorFormat = 'pretty' | 'colorless' | 'minimal';
3116
+ type PrismaClientOptions = ({
3117
+ /**
3118
+ * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`.
3119
+ */
3120
+ adapter: runtime.SqlDriverAdapterFactory;
3121
+ accelerateUrl?: never;
3122
+ } | {
3123
+ /**
3124
+ * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database.
3125
+ */
3126
+ accelerateUrl: string;
3127
+ adapter?: never;
3128
+ }) & {
3129
+ /**
3130
+ * @default "colorless"
3131
+ */
3132
+ errorFormat?: ErrorFormat;
3133
+ /**
3134
+ * @example
3135
+ * ```
3136
+ * // Shorthand for `emit: 'stdout'`
3137
+ * log: ['query', 'info', 'warn', 'error']
3138
+ *
3139
+ * // Emit as events only
3140
+ * log: [
3141
+ * { emit: 'event', level: 'query' },
3142
+ * { emit: 'event', level: 'info' },
3143
+ * { emit: 'event', level: 'warn' }
3144
+ * { emit: 'event', level: 'error' }
3145
+ * ]
3146
+ *
3147
+ * / Emit as events and log to stdout
3148
+ * og: [
3149
+ * { emit: 'stdout', level: 'query' },
3150
+ * { emit: 'stdout', level: 'info' },
3151
+ * { emit: 'stdout', level: 'warn' }
3152
+ * { emit: 'stdout', level: 'error' }
3153
+ *
3154
+ * ```
3155
+ * Read more in our [docs](https://pris.ly/d/logging).
3156
+ */
3157
+ log?: (LogLevel | LogDefinition)[];
3158
+ /**
3159
+ * The default values for transactionOptions
3160
+ * maxWait ?= 2000
3161
+ * timeout ?= 5000
3162
+ */
3163
+ transactionOptions?: {
3164
+ maxWait?: number;
3165
+ timeout?: number;
3166
+ isolationLevel?: TransactionIsolationLevel;
3167
+ };
3168
+ /**
3169
+ * Global configuration for omitting model fields by default.
3170
+ *
3171
+ * @example
3172
+ * ```
3173
+ * const prisma = new PrismaClient({
3174
+ * omit: {
3175
+ * user: {
3176
+ * password: true
3177
+ * }
3178
+ * }
3179
+ * })
3180
+ * ```
3181
+ */
3182
+ omit?: GlobalOmitConfig;
3183
+ /**
3184
+ * SQL commenter plugins that add metadata to SQL queries as comments.
3185
+ * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/
3186
+ *
3187
+ * @example
3188
+ * ```
3189
+ * const prisma = new PrismaClient({
3190
+ * adapter,
3191
+ * comments: [
3192
+ * traceContext(),
3193
+ * queryInsights(),
3194
+ * ],
3195
+ * })
3196
+ * ```
3197
+ */
3198
+ comments?: runtime.SqlCommenterPlugin[];
3199
+ };
3200
+ type GlobalOmitConfig = {
3201
+ modelType?: ModelTypeOmit;
3202
+ model?: ModelOmit;
3203
+ };
3204
+ type LogLevel = 'info' | 'query' | 'warn' | 'error';
3205
+ type LogDefinition = {
3206
+ level: LogLevel;
3207
+ emit: 'stdout' | 'event';
3208
+ };
3209
+ type CheckIsLogLevel<T> = T extends LogLevel ? T : never;
3210
+ type GetLogType<T> = CheckIsLogLevel<T extends LogDefinition ? T['level'] : T>;
3211
+ type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition> ? GetLogType<T[number]> : never;
3212
+ type QueryEvent = {
3213
+ timestamp: Date;
3214
+ query: string;
3215
+ params: string;
3216
+ duration: number;
3217
+ target: string;
3218
+ };
3219
+ type LogEvent = {
3220
+ timestamp: Date;
3221
+ message: string;
3222
+ target: string;
3223
+ };
3224
+ type PrismaAction = 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'executeRaw' | 'queryRaw' | 'aggregate' | 'count' | 'runCommandRaw' | 'findRaw' | 'groupBy';
3225
+ /**
3226
+ * `PrismaClient` proxy available in interactive transactions.
3227
+ */
3228
+ type TransactionClient = Omit<DefaultPrismaClient, runtime.ITXClientDenyList>;
3229
+
3230
+ type prismaNamespace_$ModelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $ModelPayload<ExtArgs>;
3231
+ type prismaNamespace_$ModelTypePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $ModelTypePayload<ExtArgs>;
3232
+ type prismaNamespace_AggregateModel = AggregateModel;
3233
+ type prismaNamespace_AggregateModelType = AggregateModelType;
3234
+ declare const prismaNamespace_AnyNull: typeof AnyNull;
3235
+ type prismaNamespace_Args<T, F extends runtime.Operation> = Args<T, F>;
3236
+ type prismaNamespace_At<O extends object, K extends Key, strict extends Boolean = 1> = At<O, K, strict>;
3237
+ type prismaNamespace_AtLeast<O extends object, K extends string> = AtLeast<O, K>;
3238
+ type prismaNamespace_BatchPayload = BatchPayload;
3239
+ type prismaNamespace_Boolean = Boolean;
3240
+ type prismaNamespace_Bytes = Bytes;
3241
+ type prismaNamespace_CheckIsLogLevel<T> = CheckIsLogLevel<T>;
3242
+ type prismaNamespace_ComputeRaw<A extends any> = ComputeRaw<A>;
3243
+ type prismaNamespace_DMMF = DMMF;
3244
+ type prismaNamespace_DateTimeFieldRefInput<$PrismaModel> = DateTimeFieldRefInput<$PrismaModel>;
3245
+ type prismaNamespace_DateTimeFieldUpdateOperationsInput = DateTimeFieldUpdateOperationsInput;
3246
+ type prismaNamespace_DateTimeFilter<$PrismaModel = never> = DateTimeFilter<$PrismaModel>;
3247
+ type prismaNamespace_DateTimeNullableFilter<$PrismaModel = never> = DateTimeNullableFilter<$PrismaModel>;
3248
+ type prismaNamespace_DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = DateTimeNullableWithAggregatesFilter<$PrismaModel>;
3249
+ type prismaNamespace_DateTimeWithAggregatesFilter<$PrismaModel = never> = DateTimeWithAggregatesFilter<$PrismaModel>;
3250
+ declare const prismaNamespace_DbNull: typeof DbNull;
3251
+ type prismaNamespace_Decimal = Decimal;
3252
+ type prismaNamespace_DecimalJsLike = DecimalJsLike;
3253
+ type prismaNamespace_DefaultPrismaClient = DefaultPrismaClient;
3254
+ type prismaNamespace_Either<O extends object, K extends Key, strict extends Boolean = 1> = Either<O, K, strict>;
3255
+ type prismaNamespace_EnumQueryModeFieldRefInput<$PrismaModel> = EnumQueryModeFieldRefInput<$PrismaModel>;
3256
+ type prismaNamespace_Enumerable<T> = Enumerable<T>;
3257
+ type prismaNamespace_ErrorFormat = ErrorFormat;
3258
+ type prismaNamespace_Exact<A, W> = Exact<A, W>;
3259
+ type prismaNamespace_ExcludeUnderscoreKeys<T extends string> = ExcludeUnderscoreKeys<T>;
3260
+ type prismaNamespace_Extends<A1 extends any, A2 extends any> = Extends<A1, A2>;
3261
+ type prismaNamespace_Extension = Extension;
3262
+ type prismaNamespace_False = False;
3263
+ type prismaNamespace_FieldRef<Model, FieldType> = FieldRef<Model, FieldType>;
3264
+ type prismaNamespace_GetEvents<T extends any[]> = GetEvents<T>;
3265
+ type prismaNamespace_GetHavingFields<T> = GetHavingFields<T>;
3266
+ type prismaNamespace_GetLogType<T> = GetLogType<T>;
3267
+ type prismaNamespace_GetModelAggregateType<T extends ModelAggregateArgs> = GetModelAggregateType<T>;
3268
+ type prismaNamespace_GetModelGroupByPayload<T extends ModelGroupByArgs> = GetModelGroupByPayload<T>;
3269
+ type prismaNamespace_GetModelTypeAggregateType<T extends ModelTypeAggregateArgs> = GetModelTypeAggregateType<T>;
3270
+ type prismaNamespace_GetModelTypeGroupByPayload<T extends ModelTypeGroupByArgs> = GetModelTypeGroupByPayload<T>;
3271
+ type prismaNamespace_GetScalarType<T, O> = GetScalarType<T, O>;
3272
+ type prismaNamespace_GlobalOmitConfig = GlobalOmitConfig;
3273
+ type prismaNamespace_Has<U extends Union, U1 extends Union> = Has<U, U1>;
3274
+ type prismaNamespace_InputJsonArray = InputJsonArray;
3275
+ type prismaNamespace_InputJsonObject = InputJsonObject;
3276
+ type prismaNamespace_InputJsonValue = InputJsonValue;
3277
+ type prismaNamespace_IntFieldRefInput<$PrismaModel> = IntFieldRefInput<$PrismaModel>;
3278
+ type prismaNamespace_IntersectOf<U extends Union> = IntersectOf<U>;
3279
+ type prismaNamespace_JsonArray = JsonArray;
3280
+ type prismaNamespace_JsonFieldRefInput<$PrismaModel> = JsonFieldRefInput<$PrismaModel>;
3281
+ type prismaNamespace_JsonFilter<$PrismaModel = never> = JsonFilter<$PrismaModel>;
3282
+ type prismaNamespace_JsonFilterBase<$PrismaModel = never> = JsonFilterBase<$PrismaModel>;
3283
+ declare const prismaNamespace_JsonNull: typeof JsonNull;
3284
+ type prismaNamespace_JsonNullValueFilter = JsonNullValueFilter;
3285
+ type prismaNamespace_JsonNullValueInput = JsonNullValueInput;
3286
+ type prismaNamespace_JsonObject = JsonObject;
3287
+ type prismaNamespace_JsonValue = JsonValue;
3288
+ type prismaNamespace_JsonWithAggregatesFilter<$PrismaModel = never> = JsonWithAggregatesFilter<$PrismaModel>;
3289
+ type prismaNamespace_JsonWithAggregatesFilterBase<$PrismaModel = never> = JsonWithAggregatesFilterBase<$PrismaModel>;
3290
+ type prismaNamespace_Keys<U extends Union> = Keys<U>;
3291
+ type prismaNamespace_ListDateTimeFieldRefInput<$PrismaModel> = ListDateTimeFieldRefInput<$PrismaModel>;
3292
+ type prismaNamespace_ListIntFieldRefInput<$PrismaModel> = ListIntFieldRefInput<$PrismaModel>;
3293
+ type prismaNamespace_ListStringFieldRefInput<$PrismaModel> = ListStringFieldRefInput<$PrismaModel>;
3294
+ type prismaNamespace_LogDefinition = LogDefinition;
3295
+ type prismaNamespace_LogEvent = LogEvent;
3296
+ type prismaNamespace_LogLevel = LogLevel;
3297
+ type prismaNamespace_MaybeTupleToUnion<T> = MaybeTupleToUnion<T>;
3298
+ type prismaNamespace_Merge<U extends object> = Merge<U>;
3299
+ type prismaNamespace_ModelAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelAggregateArgs<ExtArgs>;
3300
+ type prismaNamespace_ModelCountAggregateInputType = ModelCountAggregateInputType;
3301
+ type prismaNamespace_ModelCountAggregateOutputType = ModelCountAggregateOutputType;
3302
+ type prismaNamespace_ModelCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelCountArgs<ExtArgs>;
3303
+ type prismaNamespace_ModelCountOrderByAggregateInput = ModelCountOrderByAggregateInput;
3304
+ type prismaNamespace_ModelCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelCreateArgs<ExtArgs>;
3305
+ type prismaNamespace_ModelCreateInput = ModelCreateInput;
3306
+ type prismaNamespace_ModelCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelCreateManyAndReturnArgs<ExtArgs>;
3307
+ type prismaNamespace_ModelCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelCreateManyArgs<ExtArgs>;
3308
+ type prismaNamespace_ModelCreateManyInput = ModelCreateManyInput;
3309
+ type prismaNamespace_ModelCreateManyModelTypeInput = ModelCreateManyModelTypeInput;
3310
+ type prismaNamespace_ModelCreateManyModelTypeInputEnvelope = ModelCreateManyModelTypeInputEnvelope;
3311
+ type prismaNamespace_ModelCreateNestedManyWithoutModelTypeInput = ModelCreateNestedManyWithoutModelTypeInput;
3312
+ type prismaNamespace_ModelCreateOrConnectWithoutModelTypeInput = ModelCreateOrConnectWithoutModelTypeInput;
3313
+ type prismaNamespace_ModelCreateWithoutModelTypeInput = ModelCreateWithoutModelTypeInput;
3314
+ type prismaNamespace_ModelDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelDefaultArgs<ExtArgs>;
3315
+ type prismaNamespace_ModelDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = ModelDelegate<ExtArgs, GlobalOmitOptions>;
3316
+ type prismaNamespace_ModelDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelDeleteArgs<ExtArgs>;
3317
+ type prismaNamespace_ModelDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelDeleteManyArgs<ExtArgs>;
3318
+ type prismaNamespace_ModelFieldRefs = ModelFieldRefs;
3319
+ type prismaNamespace_ModelFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelFindFirstArgs<ExtArgs>;
3320
+ type prismaNamespace_ModelFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelFindFirstOrThrowArgs<ExtArgs>;
3321
+ type prismaNamespace_ModelFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelFindManyArgs<ExtArgs>;
3322
+ type prismaNamespace_ModelFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelFindUniqueArgs<ExtArgs>;
3323
+ type prismaNamespace_ModelFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelFindUniqueOrThrowArgs<ExtArgs>;
3324
+ type prismaNamespace_ModelGetPayload<S extends boolean | null | undefined | ModelDefaultArgs> = ModelGetPayload<S>;
3325
+ type prismaNamespace_ModelGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelGroupByArgs<ExtArgs>;
3326
+ type prismaNamespace_ModelGroupByOutputType = ModelGroupByOutputType;
3327
+ type prismaNamespace_ModelInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelInclude<ExtArgs>;
3328
+ type prismaNamespace_ModelIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelIncludeCreateManyAndReturn<ExtArgs>;
3329
+ type prismaNamespace_ModelIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelIncludeUpdateManyAndReturn<ExtArgs>;
3330
+ type prismaNamespace_ModelListRelationFilter = ModelListRelationFilter;
3331
+ type prismaNamespace_ModelMaxAggregateInputType = ModelMaxAggregateInputType;
3332
+ type prismaNamespace_ModelMaxAggregateOutputType = ModelMaxAggregateOutputType;
3333
+ type prismaNamespace_ModelMaxOrderByAggregateInput = ModelMaxOrderByAggregateInput;
3334
+ type prismaNamespace_ModelMinAggregateInputType = ModelMinAggregateInputType;
3335
+ type prismaNamespace_ModelMinAggregateOutputType = ModelMinAggregateOutputType;
3336
+ type prismaNamespace_ModelMinOrderByAggregateInput = ModelMinOrderByAggregateInput;
3337
+ type prismaNamespace_ModelModel = ModelModel;
3338
+ type prismaNamespace_ModelName = ModelName;
3339
+ type prismaNamespace_ModelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelOmit<ExtArgs>;
3340
+ type prismaNamespace_ModelOrderByRelationAggregateInput = ModelOrderByRelationAggregateInput;
3341
+ type prismaNamespace_ModelOrderByWithAggregationInput = ModelOrderByWithAggregationInput;
3342
+ type prismaNamespace_ModelOrderByWithRelationInput = ModelOrderByWithRelationInput;
3343
+ type prismaNamespace_ModelScalarFieldEnum = ModelScalarFieldEnum;
3344
+ type prismaNamespace_ModelScalarWhereInput = ModelScalarWhereInput;
3345
+ type prismaNamespace_ModelScalarWhereWithAggregatesInput = ModelScalarWhereWithAggregatesInput;
3346
+ type prismaNamespace_ModelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelSelect<ExtArgs>;
3347
+ type prismaNamespace_ModelSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelSelectCreateManyAndReturn<ExtArgs>;
3348
+ type prismaNamespace_ModelSelectScalar = ModelSelectScalar;
3349
+ type prismaNamespace_ModelSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelSelectUpdateManyAndReturn<ExtArgs>;
3350
+ type prismaNamespace_ModelType$modelsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelType$modelsArgs<ExtArgs>;
3351
+ type prismaNamespace_ModelTypeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeAggregateArgs<ExtArgs>;
3352
+ type prismaNamespace_ModelTypeCountAggregateInputType = ModelTypeCountAggregateInputType;
3353
+ type prismaNamespace_ModelTypeCountAggregateOutputType = ModelTypeCountAggregateOutputType;
3354
+ type prismaNamespace_ModelTypeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeCountArgs<ExtArgs>;
3355
+ type prismaNamespace_ModelTypeCountOrderByAggregateInput = ModelTypeCountOrderByAggregateInput;
3356
+ type prismaNamespace_ModelTypeCountOutputType = ModelTypeCountOutputType;
3357
+ type prismaNamespace_ModelTypeCountOutputTypeCountModelsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeCountOutputTypeCountModelsArgs<ExtArgs>;
3358
+ type prismaNamespace_ModelTypeCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeCountOutputTypeDefaultArgs<ExtArgs>;
3359
+ type prismaNamespace_ModelTypeCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeCountOutputTypeSelect<ExtArgs>;
3360
+ type prismaNamespace_ModelTypeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeCreateArgs<ExtArgs>;
3361
+ type prismaNamespace_ModelTypeCreateInput = ModelTypeCreateInput;
3362
+ type prismaNamespace_ModelTypeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeCreateManyAndReturnArgs<ExtArgs>;
3363
+ type prismaNamespace_ModelTypeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeCreateManyArgs<ExtArgs>;
3364
+ type prismaNamespace_ModelTypeCreateManyInput = ModelTypeCreateManyInput;
3365
+ type prismaNamespace_ModelTypeCreateNestedOneWithoutModelsInput = ModelTypeCreateNestedOneWithoutModelsInput;
3366
+ type prismaNamespace_ModelTypeCreateOrConnectWithoutModelsInput = ModelTypeCreateOrConnectWithoutModelsInput;
3367
+ type prismaNamespace_ModelTypeCreateWithoutModelsInput = ModelTypeCreateWithoutModelsInput;
3368
+ type prismaNamespace_ModelTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeDefaultArgs<ExtArgs>;
3369
+ type prismaNamespace_ModelTypeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = ModelTypeDelegate<ExtArgs, GlobalOmitOptions>;
3370
+ type prismaNamespace_ModelTypeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeDeleteArgs<ExtArgs>;
3371
+ type prismaNamespace_ModelTypeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeDeleteManyArgs<ExtArgs>;
3372
+ type prismaNamespace_ModelTypeFieldRefs = ModelTypeFieldRefs;
3373
+ type prismaNamespace_ModelTypeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeFindFirstArgs<ExtArgs>;
3374
+ type prismaNamespace_ModelTypeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeFindFirstOrThrowArgs<ExtArgs>;
3375
+ type prismaNamespace_ModelTypeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeFindManyArgs<ExtArgs>;
3376
+ type prismaNamespace_ModelTypeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeFindUniqueArgs<ExtArgs>;
3377
+ type prismaNamespace_ModelTypeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeFindUniqueOrThrowArgs<ExtArgs>;
3378
+ type prismaNamespace_ModelTypeGetPayload<S extends boolean | null | undefined | ModelTypeDefaultArgs> = ModelTypeGetPayload<S>;
3379
+ type prismaNamespace_ModelTypeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeGroupByArgs<ExtArgs>;
3380
+ type prismaNamespace_ModelTypeGroupByOutputType = ModelTypeGroupByOutputType;
3381
+ type prismaNamespace_ModelTypeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeInclude<ExtArgs>;
3382
+ type prismaNamespace_ModelTypeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeIncludeCreateManyAndReturn<ExtArgs>;
3383
+ type prismaNamespace_ModelTypeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeIncludeUpdateManyAndReturn<ExtArgs>;
3384
+ type prismaNamespace_ModelTypeMaxAggregateInputType = ModelTypeMaxAggregateInputType;
3385
+ type prismaNamespace_ModelTypeMaxAggregateOutputType = ModelTypeMaxAggregateOutputType;
3386
+ type prismaNamespace_ModelTypeMaxOrderByAggregateInput = ModelTypeMaxOrderByAggregateInput;
3387
+ type prismaNamespace_ModelTypeMinAggregateInputType = ModelTypeMinAggregateInputType;
3388
+ type prismaNamespace_ModelTypeMinAggregateOutputType = ModelTypeMinAggregateOutputType;
3389
+ type prismaNamespace_ModelTypeMinOrderByAggregateInput = ModelTypeMinOrderByAggregateInput;
3390
+ type prismaNamespace_ModelTypeModel = ModelTypeModel;
3391
+ type prismaNamespace_ModelTypeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeOmit<ExtArgs>;
3392
+ type prismaNamespace_ModelTypeOrderByWithAggregationInput = ModelTypeOrderByWithAggregationInput;
3393
+ type prismaNamespace_ModelTypeOrderByWithRelationInput = ModelTypeOrderByWithRelationInput;
3394
+ type prismaNamespace_ModelTypeScalarFieldEnum = ModelTypeScalarFieldEnum;
3395
+ type prismaNamespace_ModelTypeScalarRelationFilter = ModelTypeScalarRelationFilter;
3396
+ type prismaNamespace_ModelTypeScalarWhereWithAggregatesInput = ModelTypeScalarWhereWithAggregatesInput;
3397
+ type prismaNamespace_ModelTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeSelect<ExtArgs>;
3398
+ type prismaNamespace_ModelTypeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeSelectCreateManyAndReturn<ExtArgs>;
3399
+ type prismaNamespace_ModelTypeSelectScalar = ModelTypeSelectScalar;
3400
+ type prismaNamespace_ModelTypeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeSelectUpdateManyAndReturn<ExtArgs>;
3401
+ type prismaNamespace_ModelTypeUncheckedCreateInput = ModelTypeUncheckedCreateInput;
3402
+ type prismaNamespace_ModelTypeUncheckedCreateWithoutModelsInput = ModelTypeUncheckedCreateWithoutModelsInput;
3403
+ type prismaNamespace_ModelTypeUncheckedUpdateInput = ModelTypeUncheckedUpdateInput;
3404
+ type prismaNamespace_ModelTypeUncheckedUpdateManyInput = ModelTypeUncheckedUpdateManyInput;
3405
+ type prismaNamespace_ModelTypeUncheckedUpdateWithoutModelsInput = ModelTypeUncheckedUpdateWithoutModelsInput;
3406
+ type prismaNamespace_ModelTypeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeUpdateArgs<ExtArgs>;
3407
+ type prismaNamespace_ModelTypeUpdateInput = ModelTypeUpdateInput;
3408
+ type prismaNamespace_ModelTypeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeUpdateManyAndReturnArgs<ExtArgs>;
3409
+ type prismaNamespace_ModelTypeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeUpdateManyArgs<ExtArgs>;
3410
+ type prismaNamespace_ModelTypeUpdateManyMutationInput = ModelTypeUpdateManyMutationInput;
3411
+ type prismaNamespace_ModelTypeUpdateOneRequiredWithoutModelsNestedInput = ModelTypeUpdateOneRequiredWithoutModelsNestedInput;
3412
+ type prismaNamespace_ModelTypeUpdateToOneWithWhereWithoutModelsInput = ModelTypeUpdateToOneWithWhereWithoutModelsInput;
3413
+ type prismaNamespace_ModelTypeUpdateWithoutModelsInput = ModelTypeUpdateWithoutModelsInput;
3414
+ type prismaNamespace_ModelTypeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelTypeUpsertArgs<ExtArgs>;
3415
+ type prismaNamespace_ModelTypeUpsertWithoutModelsInput = ModelTypeUpsertWithoutModelsInput;
3416
+ type prismaNamespace_ModelTypeWhereInput = ModelTypeWhereInput;
3417
+ type prismaNamespace_ModelTypeWhereUniqueInput = ModelTypeWhereUniqueInput;
3418
+ type prismaNamespace_ModelUncheckedCreateInput = ModelUncheckedCreateInput;
3419
+ type prismaNamespace_ModelUncheckedCreateNestedManyWithoutModelTypeInput = ModelUncheckedCreateNestedManyWithoutModelTypeInput;
3420
+ type prismaNamespace_ModelUncheckedCreateWithoutModelTypeInput = ModelUncheckedCreateWithoutModelTypeInput;
3421
+ type prismaNamespace_ModelUncheckedUpdateInput = ModelUncheckedUpdateInput;
3422
+ type prismaNamespace_ModelUncheckedUpdateManyInput = ModelUncheckedUpdateManyInput;
3423
+ type prismaNamespace_ModelUncheckedUpdateManyWithoutModelTypeInput = ModelUncheckedUpdateManyWithoutModelTypeInput;
3424
+ type prismaNamespace_ModelUncheckedUpdateManyWithoutModelTypeNestedInput = ModelUncheckedUpdateManyWithoutModelTypeNestedInput;
3425
+ type prismaNamespace_ModelUncheckedUpdateWithoutModelTypeInput = ModelUncheckedUpdateWithoutModelTypeInput;
3426
+ type prismaNamespace_ModelUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelUpdateArgs<ExtArgs>;
3427
+ type prismaNamespace_ModelUpdateInput = ModelUpdateInput;
3428
+ type prismaNamespace_ModelUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelUpdateManyAndReturnArgs<ExtArgs>;
3429
+ type prismaNamespace_ModelUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelUpdateManyArgs<ExtArgs>;
3430
+ type prismaNamespace_ModelUpdateManyMutationInput = ModelUpdateManyMutationInput;
3431
+ type prismaNamespace_ModelUpdateManyWithWhereWithoutModelTypeInput = ModelUpdateManyWithWhereWithoutModelTypeInput;
3432
+ type prismaNamespace_ModelUpdateManyWithoutModelTypeNestedInput = ModelUpdateManyWithoutModelTypeNestedInput;
3433
+ type prismaNamespace_ModelUpdateWithWhereUniqueWithoutModelTypeInput = ModelUpdateWithWhereUniqueWithoutModelTypeInput;
3434
+ type prismaNamespace_ModelUpdateWithoutModelTypeInput = ModelUpdateWithoutModelTypeInput;
3435
+ type prismaNamespace_ModelUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = ModelUpsertArgs<ExtArgs>;
3436
+ type prismaNamespace_ModelUpsertWithWhereUniqueWithoutModelTypeInput = ModelUpsertWithWhereUniqueWithoutModelTypeInput;
3437
+ type prismaNamespace_ModelWhereInput = ModelWhereInput;
3438
+ type prismaNamespace_ModelWhereUniqueInput = ModelWhereUniqueInput;
3439
+ type prismaNamespace_NestedDateTimeFilter<$PrismaModel = never> = NestedDateTimeFilter<$PrismaModel>;
3440
+ type prismaNamespace_NestedDateTimeNullableFilter<$PrismaModel = never> = NestedDateTimeNullableFilter<$PrismaModel>;
3441
+ type prismaNamespace_NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = NestedDateTimeNullableWithAggregatesFilter<$PrismaModel>;
3442
+ type prismaNamespace_NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = NestedDateTimeWithAggregatesFilter<$PrismaModel>;
3443
+ type prismaNamespace_NestedIntFilter<$PrismaModel = never> = NestedIntFilter<$PrismaModel>;
3444
+ type prismaNamespace_NestedIntNullableFilter<$PrismaModel = never> = NestedIntNullableFilter<$PrismaModel>;
3445
+ type prismaNamespace_NestedJsonFilter<$PrismaModel = never> = NestedJsonFilter<$PrismaModel>;
3446
+ type prismaNamespace_NestedJsonFilterBase<$PrismaModel = never> = NestedJsonFilterBase<$PrismaModel>;
3447
+ type prismaNamespace_NestedStringFilter<$PrismaModel = never> = NestedStringFilter<$PrismaModel>;
3448
+ type prismaNamespace_NestedStringWithAggregatesFilter<$PrismaModel = never> = NestedStringWithAggregatesFilter<$PrismaModel>;
3449
+ type prismaNamespace_Not<B extends Boolean> = Not<B>;
3450
+ declare const prismaNamespace_NullTypes: typeof NullTypes;
3451
+ type prismaNamespace_NullableDateTimeFieldUpdateOperationsInput = NullableDateTimeFieldUpdateOperationsInput;
3452
+ type prismaNamespace_NullsOrder = NullsOrder;
3453
+ type prismaNamespace_OptionalFlat<O> = OptionalFlat<O>;
3454
+ type prismaNamespace_Or<B1 extends Boolean, B2 extends Boolean> = Or<B1, B2>;
3455
+ type prismaNamespace_Overwrite<O extends object, O1 extends object> = Overwrite<O, O1>;
3456
+ type prismaNamespace_PatchUndefined<O extends object, O1 extends object> = PatchUndefined<O, O1>;
3457
+ type prismaNamespace_Payload<T, F extends runtime.Operation = never> = Payload<T, F>;
3458
+ type prismaNamespace_PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = PickEnumerable<T, K>;
3459
+ type prismaNamespace_PrismaAction = PrismaAction;
3460
+ type prismaNamespace_PrismaClientInitializationError = PrismaClientInitializationError;
3461
+ type prismaNamespace_PrismaClientKnownRequestError = PrismaClientKnownRequestError;
3462
+ type prismaNamespace_PrismaClientOptions = PrismaClientOptions;
3463
+ type prismaNamespace_PrismaClientRustPanicError = PrismaClientRustPanicError;
3464
+ type prismaNamespace_PrismaClientUnknownRequestError = PrismaClientUnknownRequestError;
3465
+ type prismaNamespace_PrismaClientValidationError = PrismaClientValidationError;
3466
+ type prismaNamespace_PrismaPromise<T> = PrismaPromise<T>;
3467
+ type prismaNamespace_PrismaVersion = PrismaVersion;
3468
+ type prismaNamespace_Prisma__ModelClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = Prisma__ModelClient<T, Null, ExtArgs, GlobalOmitOptions>;
3469
+ type prismaNamespace_Prisma__ModelTypeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = Prisma__ModelTypeClient<T, Null, ExtArgs, GlobalOmitOptions>;
3470
+ type prismaNamespace_QueryEvent = QueryEvent;
3471
+ type prismaNamespace_QueryMode = QueryMode;
3472
+ type prismaNamespace_Result<T, A, F extends runtime.Operation> = Result<T, A, F>;
3473
+ type prismaNamespace_SelectSubset<T, U> = SelectSubset<T, U>;
3474
+ type prismaNamespace_SortOrder = SortOrder;
3475
+ type prismaNamespace_SortOrderInput = SortOrderInput;
3476
+ type prismaNamespace_Sql = Sql;
3477
+ type prismaNamespace_Strict<U extends object> = Strict<U>;
3478
+ type prismaNamespace_StringFieldRefInput<$PrismaModel> = StringFieldRefInput<$PrismaModel>;
3479
+ type prismaNamespace_StringFieldUpdateOperationsInput = StringFieldUpdateOperationsInput;
3480
+ type prismaNamespace_StringFilter<$PrismaModel = never> = StringFilter<$PrismaModel>;
3481
+ type prismaNamespace_StringWithAggregatesFilter<$PrismaModel = never> = StringWithAggregatesFilter<$PrismaModel>;
3482
+ type prismaNamespace_Subset<T, U> = Subset<T, U>;
3483
+ type prismaNamespace_SubsetIntersection<T, U, K> = SubsetIntersection<T, U, K>;
3484
+ type prismaNamespace_TransactionClient = TransactionClient;
3485
+ type prismaNamespace_TransactionIsolationLevel = TransactionIsolationLevel;
3486
+ type prismaNamespace_True = True;
3487
+ type prismaNamespace_TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = TypeMap<ExtArgs, GlobalOmitOptions>;
3488
+ type prismaNamespace_TypeMapCb<GlobalOmitOptions = {}> = TypeMapCb<GlobalOmitOptions>;
3489
+ type prismaNamespace_UnEnumerate<T extends unknown> = UnEnumerate<T>;
3490
+ type prismaNamespace_Union = Union;
3491
+ type prismaNamespace_XOR<T, U> = XOR<T, U>;
3492
+ declare const prismaNamespace_defineExtension: typeof defineExtension;
3493
+ declare const prismaNamespace_empty: typeof empty;
3494
+ declare const prismaNamespace_getExtensionContext: typeof getExtensionContext;
3495
+ declare const prismaNamespace_join: typeof join;
3496
+ declare const prismaNamespace_prismaVersion: typeof prismaVersion;
3497
+ declare const prismaNamespace_raw: typeof raw;
3498
+ declare const prismaNamespace_sql: typeof sql;
3499
+ declare namespace prismaNamespace {
3500
+ export { type prismaNamespace_$ModelPayload as $ModelPayload, type prismaNamespace_$ModelTypePayload as $ModelTypePayload, type prismaNamespace_AggregateModel as AggregateModel, type prismaNamespace_AggregateModelType as AggregateModelType, prismaNamespace_AnyNull as AnyNull, type prismaNamespace_Args as Args, type prismaNamespace_At as At, type prismaNamespace_AtLeast as AtLeast, type prismaNamespace_BatchPayload as BatchPayload, type prismaNamespace_Boolean as Boolean, type prismaNamespace_Bytes as Bytes, type prismaNamespace_CheckIsLogLevel as CheckIsLogLevel, type prismaNamespace_ComputeRaw as ComputeRaw, type prismaNamespace_DMMF as DMMF, type prismaNamespace_DateTimeFieldRefInput as DateTimeFieldRefInput, type prismaNamespace_DateTimeFieldUpdateOperationsInput as DateTimeFieldUpdateOperationsInput, type prismaNamespace_DateTimeFilter as DateTimeFilter, type prismaNamespace_DateTimeNullableFilter as DateTimeNullableFilter, type prismaNamespace_DateTimeNullableWithAggregatesFilter as DateTimeNullableWithAggregatesFilter, type prismaNamespace_DateTimeWithAggregatesFilter as DateTimeWithAggregatesFilter, prismaNamespace_DbNull as DbNull, type prismaNamespace_Decimal as Decimal, type prismaNamespace_DecimalJsLike as DecimalJsLike, type prismaNamespace_DefaultPrismaClient as DefaultPrismaClient, type prismaNamespace_Either as Either, type prismaNamespace_EnumQueryModeFieldRefInput as EnumQueryModeFieldRefInput, type prismaNamespace_Enumerable as Enumerable, type prismaNamespace_ErrorFormat as ErrorFormat, type prismaNamespace_Exact as Exact, type prismaNamespace_ExcludeUnderscoreKeys as ExcludeUnderscoreKeys, type prismaNamespace_Extends as Extends, type prismaNamespace_Extension as Extension, type prismaNamespace_False as False, type prismaNamespace_FieldRef as FieldRef, type prismaNamespace_GetEvents as GetEvents, type prismaNamespace_GetHavingFields as GetHavingFields, type prismaNamespace_GetLogType as GetLogType, type prismaNamespace_GetModelAggregateType as GetModelAggregateType, type prismaNamespace_GetModelGroupByPayload as GetModelGroupByPayload, type prismaNamespace_GetModelTypeAggregateType as GetModelTypeAggregateType, type prismaNamespace_GetModelTypeGroupByPayload as GetModelTypeGroupByPayload, type prismaNamespace_GetScalarType as GetScalarType, type prismaNamespace_GlobalOmitConfig as GlobalOmitConfig, type prismaNamespace_Has as Has, type prismaNamespace_InputJsonArray as InputJsonArray, type prismaNamespace_InputJsonObject as InputJsonObject, type prismaNamespace_InputJsonValue as InputJsonValue, type prismaNamespace_IntFieldRefInput as IntFieldRefInput, type prismaNamespace_IntersectOf as IntersectOf, type prismaNamespace_JsonArray as JsonArray, type prismaNamespace_JsonFieldRefInput as JsonFieldRefInput, type prismaNamespace_JsonFilter as JsonFilter, type prismaNamespace_JsonFilterBase as JsonFilterBase, prismaNamespace_JsonNull as JsonNull, type prismaNamespace_JsonNullValueFilter as JsonNullValueFilter, type prismaNamespace_JsonNullValueInput as JsonNullValueInput, type prismaNamespace_JsonObject as JsonObject, type prismaNamespace_JsonValue as JsonValue, type prismaNamespace_JsonWithAggregatesFilter as JsonWithAggregatesFilter, type prismaNamespace_JsonWithAggregatesFilterBase as JsonWithAggregatesFilterBase, type prismaNamespace_Keys as Keys, type prismaNamespace_ListDateTimeFieldRefInput as ListDateTimeFieldRefInput, type prismaNamespace_ListIntFieldRefInput as ListIntFieldRefInput, type prismaNamespace_ListStringFieldRefInput as ListStringFieldRefInput, type prismaNamespace_LogDefinition as LogDefinition, type prismaNamespace_LogEvent as LogEvent, type prismaNamespace_LogLevel as LogLevel, type prismaNamespace_MaybeTupleToUnion as MaybeTupleToUnion, type prismaNamespace_Merge as Merge, type prismaNamespace_ModelAggregateArgs as ModelAggregateArgs, type prismaNamespace_ModelCountAggregateInputType as ModelCountAggregateInputType, type prismaNamespace_ModelCountAggregateOutputType as ModelCountAggregateOutputType, type prismaNamespace_ModelCountArgs as ModelCountArgs, type prismaNamespace_ModelCountOrderByAggregateInput as ModelCountOrderByAggregateInput, type prismaNamespace_ModelCreateArgs as ModelCreateArgs, type prismaNamespace_ModelCreateInput as ModelCreateInput, type prismaNamespace_ModelCreateManyAndReturnArgs as ModelCreateManyAndReturnArgs, type prismaNamespace_ModelCreateManyArgs as ModelCreateManyArgs, type prismaNamespace_ModelCreateManyInput as ModelCreateManyInput, type prismaNamespace_ModelCreateManyModelTypeInput as ModelCreateManyModelTypeInput, type prismaNamespace_ModelCreateManyModelTypeInputEnvelope as ModelCreateManyModelTypeInputEnvelope, type prismaNamespace_ModelCreateNestedManyWithoutModelTypeInput as ModelCreateNestedManyWithoutModelTypeInput, type prismaNamespace_ModelCreateOrConnectWithoutModelTypeInput as ModelCreateOrConnectWithoutModelTypeInput, type prismaNamespace_ModelCreateWithoutModelTypeInput as ModelCreateWithoutModelTypeInput, type prismaNamespace_ModelDefaultArgs as ModelDefaultArgs, type prismaNamespace_ModelDelegate as ModelDelegate, type prismaNamespace_ModelDeleteArgs as ModelDeleteArgs, type prismaNamespace_ModelDeleteManyArgs as ModelDeleteManyArgs, type prismaNamespace_ModelFieldRefs as ModelFieldRefs, type prismaNamespace_ModelFindFirstArgs as ModelFindFirstArgs, type prismaNamespace_ModelFindFirstOrThrowArgs as ModelFindFirstOrThrowArgs, type prismaNamespace_ModelFindManyArgs as ModelFindManyArgs, type prismaNamespace_ModelFindUniqueArgs as ModelFindUniqueArgs, type prismaNamespace_ModelFindUniqueOrThrowArgs as ModelFindUniqueOrThrowArgs, type prismaNamespace_ModelGetPayload as ModelGetPayload, type prismaNamespace_ModelGroupByArgs as ModelGroupByArgs, type prismaNamespace_ModelGroupByOutputType as ModelGroupByOutputType, type prismaNamespace_ModelInclude as ModelInclude, type prismaNamespace_ModelIncludeCreateManyAndReturn as ModelIncludeCreateManyAndReturn, type prismaNamespace_ModelIncludeUpdateManyAndReturn as ModelIncludeUpdateManyAndReturn, type prismaNamespace_ModelListRelationFilter as ModelListRelationFilter, type prismaNamespace_ModelMaxAggregateInputType as ModelMaxAggregateInputType, type prismaNamespace_ModelMaxAggregateOutputType as ModelMaxAggregateOutputType, type prismaNamespace_ModelMaxOrderByAggregateInput as ModelMaxOrderByAggregateInput, type prismaNamespace_ModelMinAggregateInputType as ModelMinAggregateInputType, type prismaNamespace_ModelMinAggregateOutputType as ModelMinAggregateOutputType, type prismaNamespace_ModelMinOrderByAggregateInput as ModelMinOrderByAggregateInput, type prismaNamespace_ModelModel as ModelModel, type prismaNamespace_ModelName as ModelName, type prismaNamespace_ModelOmit as ModelOmit, type prismaNamespace_ModelOrderByRelationAggregateInput as ModelOrderByRelationAggregateInput, type prismaNamespace_ModelOrderByWithAggregationInput as ModelOrderByWithAggregationInput, type prismaNamespace_ModelOrderByWithRelationInput as ModelOrderByWithRelationInput, type prismaNamespace_ModelScalarFieldEnum as ModelScalarFieldEnum, type prismaNamespace_ModelScalarWhereInput as ModelScalarWhereInput, type prismaNamespace_ModelScalarWhereWithAggregatesInput as ModelScalarWhereWithAggregatesInput, type prismaNamespace_ModelSelect as ModelSelect, type prismaNamespace_ModelSelectCreateManyAndReturn as ModelSelectCreateManyAndReturn, type prismaNamespace_ModelSelectScalar as ModelSelectScalar, type prismaNamespace_ModelSelectUpdateManyAndReturn as ModelSelectUpdateManyAndReturn, type prismaNamespace_ModelType$modelsArgs as ModelType$modelsArgs, type prismaNamespace_ModelTypeAggregateArgs as ModelTypeAggregateArgs, type prismaNamespace_ModelTypeCountAggregateInputType as ModelTypeCountAggregateInputType, type prismaNamespace_ModelTypeCountAggregateOutputType as ModelTypeCountAggregateOutputType, type prismaNamespace_ModelTypeCountArgs as ModelTypeCountArgs, type prismaNamespace_ModelTypeCountOrderByAggregateInput as ModelTypeCountOrderByAggregateInput, type prismaNamespace_ModelTypeCountOutputType as ModelTypeCountOutputType, type prismaNamespace_ModelTypeCountOutputTypeCountModelsArgs as ModelTypeCountOutputTypeCountModelsArgs, type prismaNamespace_ModelTypeCountOutputTypeDefaultArgs as ModelTypeCountOutputTypeDefaultArgs, type prismaNamespace_ModelTypeCountOutputTypeSelect as ModelTypeCountOutputTypeSelect, type prismaNamespace_ModelTypeCreateArgs as ModelTypeCreateArgs, type prismaNamespace_ModelTypeCreateInput as ModelTypeCreateInput, type prismaNamespace_ModelTypeCreateManyAndReturnArgs as ModelTypeCreateManyAndReturnArgs, type prismaNamespace_ModelTypeCreateManyArgs as ModelTypeCreateManyArgs, type prismaNamespace_ModelTypeCreateManyInput as ModelTypeCreateManyInput, type prismaNamespace_ModelTypeCreateNestedOneWithoutModelsInput as ModelTypeCreateNestedOneWithoutModelsInput, type prismaNamespace_ModelTypeCreateOrConnectWithoutModelsInput as ModelTypeCreateOrConnectWithoutModelsInput, type prismaNamespace_ModelTypeCreateWithoutModelsInput as ModelTypeCreateWithoutModelsInput, type prismaNamespace_ModelTypeDefaultArgs as ModelTypeDefaultArgs, type prismaNamespace_ModelTypeDelegate as ModelTypeDelegate, type prismaNamespace_ModelTypeDeleteArgs as ModelTypeDeleteArgs, type prismaNamespace_ModelTypeDeleteManyArgs as ModelTypeDeleteManyArgs, type prismaNamespace_ModelTypeFieldRefs as ModelTypeFieldRefs, type prismaNamespace_ModelTypeFindFirstArgs as ModelTypeFindFirstArgs, type prismaNamespace_ModelTypeFindFirstOrThrowArgs as ModelTypeFindFirstOrThrowArgs, type prismaNamespace_ModelTypeFindManyArgs as ModelTypeFindManyArgs, type prismaNamespace_ModelTypeFindUniqueArgs as ModelTypeFindUniqueArgs, type prismaNamespace_ModelTypeFindUniqueOrThrowArgs as ModelTypeFindUniqueOrThrowArgs, type prismaNamespace_ModelTypeGetPayload as ModelTypeGetPayload, type prismaNamespace_ModelTypeGroupByArgs as ModelTypeGroupByArgs, type prismaNamespace_ModelTypeGroupByOutputType as ModelTypeGroupByOutputType, type prismaNamespace_ModelTypeInclude as ModelTypeInclude, type prismaNamespace_ModelTypeIncludeCreateManyAndReturn as ModelTypeIncludeCreateManyAndReturn, type prismaNamespace_ModelTypeIncludeUpdateManyAndReturn as ModelTypeIncludeUpdateManyAndReturn, type prismaNamespace_ModelTypeMaxAggregateInputType as ModelTypeMaxAggregateInputType, type prismaNamespace_ModelTypeMaxAggregateOutputType as ModelTypeMaxAggregateOutputType, type prismaNamespace_ModelTypeMaxOrderByAggregateInput as ModelTypeMaxOrderByAggregateInput, type prismaNamespace_ModelTypeMinAggregateInputType as ModelTypeMinAggregateInputType, type prismaNamespace_ModelTypeMinAggregateOutputType as ModelTypeMinAggregateOutputType, type prismaNamespace_ModelTypeMinOrderByAggregateInput as ModelTypeMinOrderByAggregateInput, type prismaNamespace_ModelTypeModel as ModelTypeModel, type prismaNamespace_ModelTypeOmit as ModelTypeOmit, type prismaNamespace_ModelTypeOrderByWithAggregationInput as ModelTypeOrderByWithAggregationInput, type prismaNamespace_ModelTypeOrderByWithRelationInput as ModelTypeOrderByWithRelationInput, type prismaNamespace_ModelTypeScalarFieldEnum as ModelTypeScalarFieldEnum, type prismaNamespace_ModelTypeScalarRelationFilter as ModelTypeScalarRelationFilter, type prismaNamespace_ModelTypeScalarWhereWithAggregatesInput as ModelTypeScalarWhereWithAggregatesInput, type prismaNamespace_ModelTypeSelect as ModelTypeSelect, type prismaNamespace_ModelTypeSelectCreateManyAndReturn as ModelTypeSelectCreateManyAndReturn, type prismaNamespace_ModelTypeSelectScalar as ModelTypeSelectScalar, type prismaNamespace_ModelTypeSelectUpdateManyAndReturn as ModelTypeSelectUpdateManyAndReturn, type prismaNamespace_ModelTypeUncheckedCreateInput as ModelTypeUncheckedCreateInput, type prismaNamespace_ModelTypeUncheckedCreateWithoutModelsInput as ModelTypeUncheckedCreateWithoutModelsInput, type prismaNamespace_ModelTypeUncheckedUpdateInput as ModelTypeUncheckedUpdateInput, type prismaNamespace_ModelTypeUncheckedUpdateManyInput as ModelTypeUncheckedUpdateManyInput, type prismaNamespace_ModelTypeUncheckedUpdateWithoutModelsInput as ModelTypeUncheckedUpdateWithoutModelsInput, type prismaNamespace_ModelTypeUpdateArgs as ModelTypeUpdateArgs, type prismaNamespace_ModelTypeUpdateInput as ModelTypeUpdateInput, type prismaNamespace_ModelTypeUpdateManyAndReturnArgs as ModelTypeUpdateManyAndReturnArgs, type prismaNamespace_ModelTypeUpdateManyArgs as ModelTypeUpdateManyArgs, type prismaNamespace_ModelTypeUpdateManyMutationInput as ModelTypeUpdateManyMutationInput, type prismaNamespace_ModelTypeUpdateOneRequiredWithoutModelsNestedInput as ModelTypeUpdateOneRequiredWithoutModelsNestedInput, type prismaNamespace_ModelTypeUpdateToOneWithWhereWithoutModelsInput as ModelTypeUpdateToOneWithWhereWithoutModelsInput, type prismaNamespace_ModelTypeUpdateWithoutModelsInput as ModelTypeUpdateWithoutModelsInput, type prismaNamespace_ModelTypeUpsertArgs as ModelTypeUpsertArgs, type prismaNamespace_ModelTypeUpsertWithoutModelsInput as ModelTypeUpsertWithoutModelsInput, type prismaNamespace_ModelTypeWhereInput as ModelTypeWhereInput, type prismaNamespace_ModelTypeWhereUniqueInput as ModelTypeWhereUniqueInput, type prismaNamespace_ModelUncheckedCreateInput as ModelUncheckedCreateInput, type prismaNamespace_ModelUncheckedCreateNestedManyWithoutModelTypeInput as ModelUncheckedCreateNestedManyWithoutModelTypeInput, type prismaNamespace_ModelUncheckedCreateWithoutModelTypeInput as ModelUncheckedCreateWithoutModelTypeInput, type prismaNamespace_ModelUncheckedUpdateInput as ModelUncheckedUpdateInput, type prismaNamespace_ModelUncheckedUpdateManyInput as ModelUncheckedUpdateManyInput, type prismaNamespace_ModelUncheckedUpdateManyWithoutModelTypeInput as ModelUncheckedUpdateManyWithoutModelTypeInput, type prismaNamespace_ModelUncheckedUpdateManyWithoutModelTypeNestedInput as ModelUncheckedUpdateManyWithoutModelTypeNestedInput, type prismaNamespace_ModelUncheckedUpdateWithoutModelTypeInput as ModelUncheckedUpdateWithoutModelTypeInput, type prismaNamespace_ModelUpdateArgs as ModelUpdateArgs, type prismaNamespace_ModelUpdateInput as ModelUpdateInput, type prismaNamespace_ModelUpdateManyAndReturnArgs as ModelUpdateManyAndReturnArgs, type prismaNamespace_ModelUpdateManyArgs as ModelUpdateManyArgs, type prismaNamespace_ModelUpdateManyMutationInput as ModelUpdateManyMutationInput, type prismaNamespace_ModelUpdateManyWithWhereWithoutModelTypeInput as ModelUpdateManyWithWhereWithoutModelTypeInput, type prismaNamespace_ModelUpdateManyWithoutModelTypeNestedInput as ModelUpdateManyWithoutModelTypeNestedInput, type prismaNamespace_ModelUpdateWithWhereUniqueWithoutModelTypeInput as ModelUpdateWithWhereUniqueWithoutModelTypeInput, type prismaNamespace_ModelUpdateWithoutModelTypeInput as ModelUpdateWithoutModelTypeInput, type prismaNamespace_ModelUpsertArgs as ModelUpsertArgs, type prismaNamespace_ModelUpsertWithWhereUniqueWithoutModelTypeInput as ModelUpsertWithWhereUniqueWithoutModelTypeInput, type prismaNamespace_ModelWhereInput as ModelWhereInput, type prismaNamespace_ModelWhereUniqueInput as ModelWhereUniqueInput, type prismaNamespace_NestedDateTimeFilter as NestedDateTimeFilter, type prismaNamespace_NestedDateTimeNullableFilter as NestedDateTimeNullableFilter, type prismaNamespace_NestedDateTimeNullableWithAggregatesFilter as NestedDateTimeNullableWithAggregatesFilter, type prismaNamespace_NestedDateTimeWithAggregatesFilter as NestedDateTimeWithAggregatesFilter, type prismaNamespace_NestedIntFilter as NestedIntFilter, type prismaNamespace_NestedIntNullableFilter as NestedIntNullableFilter, type prismaNamespace_NestedJsonFilter as NestedJsonFilter, type prismaNamespace_NestedJsonFilterBase as NestedJsonFilterBase, type prismaNamespace_NestedStringFilter as NestedStringFilter, type prismaNamespace_NestedStringWithAggregatesFilter as NestedStringWithAggregatesFilter, type prismaNamespace_Not as Not, prismaNamespace_NullTypes as NullTypes, type prismaNamespace_NullableDateTimeFieldUpdateOperationsInput as NullableDateTimeFieldUpdateOperationsInput, type prismaNamespace_NullsOrder as NullsOrder, type prismaNamespace_OptionalFlat as OptionalFlat, type prismaNamespace_Or as Or, type prismaNamespace_Overwrite as Overwrite, type prismaNamespace_PatchUndefined as PatchUndefined, type prismaNamespace_Payload as Payload, type prismaNamespace_PickEnumerable as PickEnumerable, type prismaNamespace_PrismaAction as PrismaAction, type prismaNamespace_PrismaClientInitializationError as PrismaClientInitializationError, type prismaNamespace_PrismaClientKnownRequestError as PrismaClientKnownRequestError, type prismaNamespace_PrismaClientOptions as PrismaClientOptions, type prismaNamespace_PrismaClientRustPanicError as PrismaClientRustPanicError, type prismaNamespace_PrismaClientUnknownRequestError as PrismaClientUnknownRequestError, type prismaNamespace_PrismaClientValidationError as PrismaClientValidationError, type prismaNamespace_PrismaPromise as PrismaPromise, type prismaNamespace_PrismaVersion as PrismaVersion, type prismaNamespace_Prisma__ModelClient as Prisma__ModelClient, type prismaNamespace_Prisma__ModelTypeClient as Prisma__ModelTypeClient, type prismaNamespace_QueryEvent as QueryEvent, type prismaNamespace_QueryMode as QueryMode, type prismaNamespace_Result as Result, type prismaNamespace_SelectSubset as SelectSubset, type prismaNamespace_SortOrder as SortOrder, type prismaNamespace_SortOrderInput as SortOrderInput, type prismaNamespace_Sql as Sql, type prismaNamespace_Strict as Strict, type prismaNamespace_StringFieldRefInput as StringFieldRefInput, type prismaNamespace_StringFieldUpdateOperationsInput as StringFieldUpdateOperationsInput, type prismaNamespace_StringFilter as StringFilter, type prismaNamespace_StringWithAggregatesFilter as StringWithAggregatesFilter, type prismaNamespace_Subset as Subset, type prismaNamespace_SubsetIntersection as SubsetIntersection, type prismaNamespace_TransactionClient as TransactionClient, type prismaNamespace_TransactionIsolationLevel as TransactionIsolationLevel, type prismaNamespace_True as True, type prismaNamespace_TypeMap as TypeMap, type prismaNamespace_TypeMapCb as TypeMapCb, type prismaNamespace_UnEnumerate as UnEnumerate, type prismaNamespace_Union as Union, type prismaNamespace_XOR as XOR, prismaNamespace_defineExtension as defineExtension, prismaNamespace_empty as empty, prismaNamespace_getExtensionContext as getExtensionContext, prismaNamespace_join as join, prismaNamespace_prismaVersion as prismaVersion, prismaNamespace_raw as raw, prismaNamespace_sql as sql };
3501
+ }
3502
+
3503
+ type LogOptions<ClientOptions extends PrismaClientOptions> = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<LogLevel | LogDefinition> ? GetEvents<ClientOptions['log']> : never : never;
3504
+ interface PrismaClientConstructor {
3505
+ /**
3506
+ * ## Prisma Client
3507
+ *
3508
+ * Type-safe database client for TypeScript
3509
+ * @example
3510
+ * ```
3511
+ * const prisma = new PrismaClient({
3512
+ * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
3513
+ * })
3514
+ * // Fetch zero or more ModelTypes
3515
+ * const modelTypes = await prisma.modelType.findMany()
3516
+ * ```
3517
+ *
3518
+ * Read more in our [docs](https://pris.ly/d/client).
3519
+ */
3520
+ new <Options extends PrismaClientOptions = PrismaClientOptions, LogOpts extends LogOptions<Options> = LogOptions<Options>, OmitOpts extends PrismaClientOptions['omit'] = Options extends {
3521
+ omit: infer U;
3522
+ } ? U : PrismaClientOptions['omit'], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs>(options: Subset<Options, PrismaClientOptions>): PrismaClient<LogOpts, OmitOpts, ExtArgs>;
3523
+ }
3524
+ /**
3525
+ * ## Prisma Client
3526
+ *
3527
+ * Type-safe database client for TypeScript
3528
+ * @example
3529
+ * ```
3530
+ * const prisma = new PrismaClient({
3531
+ * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
3532
+ * })
3533
+ * // Fetch zero or more ModelTypes
3534
+ * const modelTypes = await prisma.modelType.findMany()
3535
+ * ```
3536
+ *
3537
+ * Read more in our [docs](https://pris.ly/d/client).
3538
+ */
3539
+ interface PrismaClient<in LogOpts extends LogLevel = never, in out OmitOpts extends PrismaClientOptions['omit'] = undefined, in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> {
3540
+ [K: symbol]: {
3541
+ types: TypeMap<ExtArgs>['other'];
3542
+ };
3543
+ $on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? QueryEvent : LogEvent) => void): PrismaClient;
3544
+ /**
3545
+ * Connect with the database
3546
+ */
3547
+ $connect(): runtime.Types.Utils.JsPromise<void>;
3548
+ /**
3549
+ * Disconnect from the database
3550
+ */
3551
+ $disconnect(): runtime.Types.Utils.JsPromise<void>;
3552
+ /**
3553
+ * Executes a prepared raw query and returns the number of affected rows.
3554
+ * @example
3555
+ * ```
3556
+ * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
3557
+ * ```
3558
+ *
3559
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
3560
+ */
3561
+ $executeRaw<T = unknown>(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<number>;
3562
+ /**
3563
+ * Executes a raw query and returns the number of affected rows.
3564
+ * Susceptible to SQL injections, see documentation.
3565
+ * @example
3566
+ * ```
3567
+ * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
3568
+ * ```
3569
+ *
3570
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
3571
+ */
3572
+ $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): PrismaPromise<number>;
3573
+ /**
3574
+ * Performs a prepared raw query and returns the `SELECT` data.
3575
+ * @example
3576
+ * ```
3577
+ * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
3578
+ * ```
3579
+ *
3580
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
3581
+ */
3582
+ $queryRaw<T = unknown>(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<T>;
3583
+ /**
3584
+ * Performs a raw query and returns the `SELECT` data.
3585
+ * Susceptible to SQL injections, see documentation.
3586
+ * @example
3587
+ * ```
3588
+ * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
3589
+ * ```
3590
+ *
3591
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
3592
+ */
3593
+ $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): PrismaPromise<T>;
3594
+ /**
3595
+ * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
3596
+ * @example
3597
+ * ```
3598
+ * const [george, bob, alice] = await prisma.$transaction([
3599
+ * prisma.user.create({ data: { name: 'George' } }),
3600
+ * prisma.user.create({ data: { name: 'Bob' } }),
3601
+ * prisma.user.create({ data: { name: 'Alice' } }),
3602
+ * ])
3603
+ * ```
3604
+ *
3605
+ * Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
3606
+ */
3607
+ $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {
3608
+ isolationLevel?: TransactionIsolationLevel;
3609
+ }): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>;
3610
+ $transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => runtime.Types.Utils.JsPromise<R>, options?: {
3611
+ maxWait?: number;
3612
+ timeout?: number;
3613
+ isolationLevel?: TransactionIsolationLevel;
3614
+ }): runtime.Types.Utils.JsPromise<R>;
3615
+ $extends: runtime.Types.Extensions.ExtendsHook<"extends", TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<TypeMapCb<OmitOpts>, {
3616
+ extArgs: ExtArgs;
3617
+ }>>;
3618
+ /**
3619
+ * `prisma.modelType`: Exposes CRUD operations for the **ModelType** model.
3620
+ * Example usage:
3621
+ * ```ts
3622
+ * // Fetch zero or more ModelTypes
3623
+ * const modelTypes = await prisma.modelType.findMany()
3624
+ * ```
3625
+ */
3626
+ get modelType(): ModelTypeDelegate<ExtArgs, {
3627
+ omit: OmitOpts;
3628
+ }>;
3629
+ /**
3630
+ * `prisma.model`: Exposes CRUD operations for the **Model** model.
3631
+ * Example usage:
3632
+ * ```ts
3633
+ * // Fetch zero or more Models
3634
+ * const models = await prisma.model.findMany()
3635
+ * ```
3636
+ */
3637
+ get model(): ModelDelegate<ExtArgs, {
3638
+ omit: OmitOpts;
3639
+ }>;
3640
+ }
3641
+ declare function getPrismaClientClass(): PrismaClientConstructor;
3642
+
3643
+ export { type $ModelPayload as $, type AggregateModel as A, type BatchPayload as B, type CheckIsLogLevel as C, type DMMF as D, type Either as E, type Extension as F, type False as G, type FieldRef as H, type GetEvents as I, type GetHavingFields as J, type GetLogType as K, type LogLevel as L, type ModelModel as M, type GetModelAggregateType as N, type GetModelGroupByPayload as O, type PrismaClientConstructor as P, type GetModelTypeAggregateType as Q, type GetModelTypeGroupByPayload as R, type GetScalarType as S, type GlobalOmitConfig as T, type Has as U, type InputJsonArray as V, type InputJsonObject as W, type InputJsonValue as X, type IntFieldRefInput as Y, type IntersectOf as Z, type JsonArray as _, type ModelTypeModel as a, type ModelType$modelsArgs as a$, type JsonFieldRefInput as a0, type JsonFilter as a1, type JsonFilterBase as a2, type JsonObject as a3, type JsonValue as a4, type JsonWithAggregatesFilter as a5, type JsonWithAggregatesFilterBase as a6, type Keys as a7, type ListDateTimeFieldRefInput as a8, type ListIntFieldRefInput as a9, type ModelFindFirstOrThrowArgs as aA, type ModelFindManyArgs as aB, type ModelFindUniqueArgs as aC, type ModelFindUniqueOrThrowArgs as aD, type ModelGetPayload as aE, type ModelGroupByArgs as aF, type ModelGroupByOutputType as aG, type ModelInclude as aH, type ModelIncludeCreateManyAndReturn as aI, type ModelIncludeUpdateManyAndReturn as aJ, type ModelListRelationFilter as aK, type ModelMaxAggregateInputType as aL, type ModelMaxAggregateOutputType as aM, type ModelMaxOrderByAggregateInput as aN, type ModelMinAggregateInputType as aO, type ModelMinAggregateOutputType as aP, type ModelMinOrderByAggregateInput as aQ, type ModelOmit as aR, type ModelOrderByRelationAggregateInput as aS, type ModelOrderByWithAggregationInput as aT, type ModelOrderByWithRelationInput as aU, type ModelScalarWhereInput as aV, type ModelScalarWhereWithAggregatesInput as aW, type ModelSelect as aX, type ModelSelectCreateManyAndReturn as aY, type ModelSelectScalar as aZ, type ModelSelectUpdateManyAndReturn as a_, type ListStringFieldRefInput as aa, type LogDefinition as ab, type LogEvent as ac, type MaybeTupleToUnion as ad, type Merge as ae, type ModelAggregateArgs as af, type ModelCountAggregateInputType as ag, type ModelCountAggregateOutputType as ah, type ModelCountArgs as ai, type ModelCountOrderByAggregateInput as aj, type ModelCreateArgs as ak, type ModelCreateInput as al, type ModelCreateManyAndReturnArgs as am, type ModelCreateManyArgs as an, type ModelCreateManyInput as ao, type ModelCreateManyModelTypeInput as ap, type ModelCreateManyModelTypeInputEnvelope as aq, type ModelCreateNestedManyWithoutModelTypeInput as ar, type ModelCreateOrConnectWithoutModelTypeInput as as, type ModelCreateWithoutModelTypeInput as at, type ModelDefaultArgs as au, type ModelDelegate as av, type ModelDeleteArgs as aw, type ModelDeleteManyArgs as ax, type ModelFieldRefs as ay, type ModelFindFirstArgs as az, type PrismaClientOptions as b, type ModelTypeWhereInput as b$, type ModelTypeAggregateArgs as b0, type ModelTypeCountAggregateInputType as b1, type ModelTypeCountAggregateOutputType as b2, type ModelTypeCountArgs as b3, type ModelTypeCountOrderByAggregateInput as b4, type ModelTypeCountOutputType as b5, type ModelTypeCountOutputTypeCountModelsArgs as b6, type ModelTypeCountOutputTypeDefaultArgs as b7, type ModelTypeCountOutputTypeSelect as b8, type ModelTypeCreateArgs as b9, type ModelTypeMinAggregateInputType as bA, type ModelTypeMinAggregateOutputType as bB, type ModelTypeMinOrderByAggregateInput as bC, type ModelTypeOmit as bD, type ModelTypeOrderByWithAggregationInput as bE, type ModelTypeOrderByWithRelationInput as bF, type ModelTypeScalarRelationFilter as bG, type ModelTypeScalarWhereWithAggregatesInput as bH, type ModelTypeSelect as bI, type ModelTypeSelectCreateManyAndReturn as bJ, type ModelTypeSelectScalar as bK, type ModelTypeSelectUpdateManyAndReturn as bL, type ModelTypeUncheckedCreateInput as bM, type ModelTypeUncheckedCreateWithoutModelsInput as bN, type ModelTypeUncheckedUpdateInput as bO, type ModelTypeUncheckedUpdateManyInput as bP, type ModelTypeUncheckedUpdateWithoutModelsInput as bQ, type ModelTypeUpdateArgs as bR, type ModelTypeUpdateInput as bS, type ModelTypeUpdateManyAndReturnArgs as bT, type ModelTypeUpdateManyArgs as bU, type ModelTypeUpdateManyMutationInput as bV, type ModelTypeUpdateOneRequiredWithoutModelsNestedInput as bW, type ModelTypeUpdateToOneWithWhereWithoutModelsInput as bX, type ModelTypeUpdateWithoutModelsInput as bY, type ModelTypeUpsertArgs as bZ, type ModelTypeUpsertWithoutModelsInput as b_, type ModelTypeCreateInput as ba, type ModelTypeCreateManyAndReturnArgs as bb, type ModelTypeCreateManyArgs as bc, type ModelTypeCreateManyInput as bd, type ModelTypeCreateNestedOneWithoutModelsInput as be, type ModelTypeCreateOrConnectWithoutModelsInput as bf, type ModelTypeCreateWithoutModelsInput as bg, type ModelTypeDefaultArgs as bh, type ModelTypeDelegate as bi, type ModelTypeDeleteArgs as bj, type ModelTypeDeleteManyArgs as bk, type ModelTypeFieldRefs as bl, type ModelTypeFindFirstArgs as bm, type ModelTypeFindFirstOrThrowArgs as bn, type ModelTypeFindManyArgs as bo, type ModelTypeFindUniqueArgs as bp, type ModelTypeFindUniqueOrThrowArgs as bq, type ModelTypeGetPayload as br, type ModelTypeGroupByArgs as bs, type ModelTypeGroupByOutputType as bt, type ModelTypeInclude as bu, type ModelTypeIncludeCreateManyAndReturn as bv, type ModelTypeIncludeUpdateManyAndReturn as bw, type ModelTypeMaxAggregateInputType as bx, type ModelTypeMaxAggregateOutputType as by, type ModelTypeMaxOrderByAggregateInput as bz, type PrismaClient as c, type True as c$, type ModelTypeWhereUniqueInput as c0, type ModelUncheckedCreateInput as c1, type ModelUncheckedCreateNestedManyWithoutModelTypeInput as c2, type ModelUncheckedCreateWithoutModelTypeInput as c3, type ModelUncheckedUpdateInput as c4, type ModelUncheckedUpdateManyInput as c5, type ModelUncheckedUpdateManyWithoutModelTypeInput as c6, type ModelUncheckedUpdateManyWithoutModelTypeNestedInput as c7, type ModelUncheckedUpdateWithoutModelTypeInput as c8, type ModelUpdateArgs as c9, type Overwrite as cA, type PatchUndefined as cB, type Payload as cC, type PickEnumerable as cD, type PrismaAction as cE, PrismaClientInitializationError as cF, PrismaClientKnownRequestError as cG, PrismaClientRustPanicError as cH, PrismaClientUnknownRequestError as cI, PrismaClientValidationError as cJ, type PrismaPromise as cK, type PrismaVersion as cL, type Prisma__ModelClient as cM, type Prisma__ModelTypeClient as cN, type QueryEvent as cO, type Result as cP, type SelectSubset as cQ, type SortOrderInput as cR, Sql as cS, type Strict as cT, type StringFieldRefInput as cU, type StringFieldUpdateOperationsInput as cV, type StringFilter as cW, type StringWithAggregatesFilter as cX, type Subset as cY, type SubsetIntersection as cZ, type TransactionClient as c_, type ModelUpdateInput as ca, type ModelUpdateManyAndReturnArgs as cb, type ModelUpdateManyArgs as cc, type ModelUpdateManyMutationInput as cd, type ModelUpdateManyWithWhereWithoutModelTypeInput as ce, type ModelUpdateManyWithoutModelTypeNestedInput as cf, type ModelUpdateWithWhereUniqueWithoutModelTypeInput as cg, type ModelUpdateWithoutModelTypeInput as ch, type ModelUpsertArgs as ci, type ModelUpsertWithWhereUniqueWithoutModelTypeInput as cj, type ModelWhereInput as ck, type ModelWhereUniqueInput as cl, type NestedDateTimeFilter as cm, type NestedDateTimeNullableFilter as cn, type NestedDateTimeNullableWithAggregatesFilter as co, type NestedDateTimeWithAggregatesFilter as cp, type NestedIntFilter as cq, type NestedIntNullableFilter as cr, type NestedJsonFilter as cs, type NestedJsonFilterBase as ct, type NestedStringFilter as cu, type NestedStringWithAggregatesFilter as cv, type Not as cw, type NullableDateTimeFieldUpdateOperationsInput as cx, type OptionalFlat as cy, type Or as cz, type $ModelTypePayload as d, type TypeMap as d0, type TypeMapCb as d1, type UnEnumerate as d2, type Union as d3, type XOR as d4, defineExtension as d5, empty as d6, getExtensionContext as d7, join as d8, prismaVersion as d9, raw as da, sql as db, AnyNull as dc, DbNull as dd, Decimal as de, JsonNull as df, JsonNullValueFilter as dg, JsonNullValueInput as dh, ModelName as di, ModelScalarFieldEnum as dj, ModelTypeScalarFieldEnum as dk, NullTypes as dl, NullsOrder as dm, QueryMode as dn, SortOrder as dp, TransactionIsolationLevel as dq, type LogOptions as dr, getPrismaClientClass as ds, type AggregateModelType as e, type Args as f, type At as g, type AtLeast as h, type Boolean as i, type Bytes as j, type ComputeRaw as k, type DateTimeFieldRefInput as l, type DateTimeFieldUpdateOperationsInput as m, type DateTimeFilter as n, type DateTimeNullableFilter as o, prismaNamespace as p, type DateTimeNullableWithAggregatesFilter as q, type DateTimeWithAggregatesFilter as r, type DecimalJsLike as s, type DefaultPrismaClient as t, type EnumQueryModeFieldRefInput as u, type Enumerable as v, type ErrorFormat as w, type Exact as x, type ExcludeUnderscoreKeys as y, type Extends as z };