efiber-prisma-schema 1.16.2 → 2.0.1

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 (123) hide show
  1. package/index.d.ts +6 -1
  2. package/index.js +10 -1
  3. package/package.json +12 -5
  4. package/prisma/generated/browser.ts +559 -0
  5. package/prisma/generated/client.ts +581 -0
  6. package/prisma/generated/commonInputTypes.ts +1246 -0
  7. package/prisma/generated/enums.ts +188 -0
  8. package/prisma/generated/internal/class.ts +1260 -0
  9. package/prisma/generated/internal/prismaNamespace.ts +11532 -0
  10. package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
  11. package/prisma/generated/models/AttributeDefinition.ts +1498 -0
  12. package/prisma/generated/models/AttributeValue.ts +1419 -0
  13. package/prisma/generated/models/Audit.ts +1725 -0
  14. package/prisma/generated/models/BillOfMaterial.ts +1934 -0
  15. package/prisma/generated/models/Building.ts +6130 -0
  16. package/prisma/generated/models/BuildingTemplate.ts +2912 -0
  17. package/prisma/generated/models/Cable.ts +10501 -0
  18. package/prisma/generated/models/CableAttachment.ts +1530 -0
  19. package/prisma/generated/models/CableAttributes.ts +2244 -0
  20. package/prisma/generated/models/CableTemplate.ts +3170 -0
  21. package/prisma/generated/models/CamusatClient.ts +2001 -0
  22. package/prisma/generated/models/CamusatCountry.ts +2425 -0
  23. package/prisma/generated/models/CentralOffice.ts +1921 -0
  24. package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
  25. package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
  26. package/prisma/generated/models/Cluster.ts +10984 -0
  27. package/prisma/generated/models/ClusterComments.ts +1668 -0
  28. package/prisma/generated/models/ClusterNotes.ts +1703 -0
  29. package/prisma/generated/models/Conduit.ts +5119 -0
  30. package/prisma/generated/models/ConduitTemplate.ts +2940 -0
  31. package/prisma/generated/models/Country.ts +1795 -0
  32. package/prisma/generated/models/DispatchMaterial.ts +3070 -0
  33. package/prisma/generated/models/DispatchProject.ts +4179 -0
  34. package/prisma/generated/models/DispatchTeam.ts +3053 -0
  35. package/prisma/generated/models/Duct.ts +1813 -0
  36. package/prisma/generated/models/ElementNode.ts +4413 -0
  37. package/prisma/generated/models/ElementRelation.ts +1644 -0
  38. package/prisma/generated/models/EmailConfigurations.ts +3736 -0
  39. package/prisma/generated/models/EmailTemplates.ts +1739 -0
  40. package/prisma/generated/models/EmailsIncoming.ts +2010 -0
  41. package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
  42. package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
  43. package/prisma/generated/models/FDTSRO.ts +6180 -0
  44. package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
  45. package/prisma/generated/models/Feature.ts +1867 -0
  46. package/prisma/generated/models/FeatureType.ts +1430 -0
  47. package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
  48. package/prisma/generated/models/Loop.ts +5271 -0
  49. package/prisma/generated/models/LoopTemplate.ts +2912 -0
  50. package/prisma/generated/models/MainProject.ts +1664 -0
  51. package/prisma/generated/models/Manhole.ts +5090 -0
  52. package/prisma/generated/models/ManholeTemplate.ts +2912 -0
  53. package/prisma/generated/models/MapElement.ts +3450 -0
  54. package/prisma/generated/models/MapElementTemplate.ts +2742 -0
  55. package/prisma/generated/models/Material.ts +1963 -0
  56. package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
  57. package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
  58. package/prisma/generated/models/NetworkElement.ts +6891 -0
  59. package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
  60. package/prisma/generated/models/Notifications.ts +1563 -0
  61. package/prisma/generated/models/OptionSource.ts +1132 -0
  62. package/prisma/generated/models/PboFat.ts +8248 -0
  63. package/prisma/generated/models/PboFatAttributes.ts +2672 -0
  64. package/prisma/generated/models/PboFatTemplate.ts +3112 -0
  65. package/prisma/generated/models/Platform.ts +1759 -0
  66. package/prisma/generated/models/Pole.ts +5266 -0
  67. package/prisma/generated/models/PoleTemplate.ts +2912 -0
  68. package/prisma/generated/models/Position.ts +1490 -0
  69. package/prisma/generated/models/PreviousEquipment.ts +1881 -0
  70. package/prisma/generated/models/Project.ts +14893 -0
  71. package/prisma/generated/models/ProjectType.ts +1351 -0
  72. package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
  73. package/prisma/generated/models/ReportFormats.ts +1768 -0
  74. package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
  75. package/prisma/generated/models/ReportMetric.ts +1737 -0
  76. package/prisma/generated/models/ReportTable.ts +1498 -0
  77. package/prisma/generated/models/ReportVisualization.ts +1446 -0
  78. package/prisma/generated/models/Revision.ts +4653 -0
  79. package/prisma/generated/models/Role.ts +2960 -0
  80. package/prisma/generated/models/SFU.ts +5977 -0
  81. package/prisma/generated/models/SFUTemplate.ts +2912 -0
  82. package/prisma/generated/models/SpliceClosure.ts +6405 -0
  83. package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
  84. package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
  85. package/prisma/generated/models/Splitter.ts +1459 -0
  86. package/prisma/generated/models/StockMovement.ts +1589 -0
  87. package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
  88. package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
  89. package/prisma/generated/models/Team.ts +2044 -0
  90. package/prisma/generated/models/TeamMaterial.ts +2193 -0
  91. package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
  92. package/prisma/generated/models/TeamPlatform.ts +1874 -0
  93. package/prisma/generated/models/TeamType.ts +1655 -0
  94. package/prisma/generated/models/Template.ts +1691 -0
  95. package/prisma/generated/models/TemplateComponent.ts +1995 -0
  96. package/prisma/generated/models/User.ts +25676 -0
  97. package/prisma/generated/models/WorkOrder.ts +5901 -0
  98. package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
  99. package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
  100. package/prisma/generated/models/WorkOrderComments.ts +1687 -0
  101. package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
  102. package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
  103. package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
  104. package/prisma/generated/models/WorkOrderTask.ts +2220 -0
  105. package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
  106. package/prisma/generated/models/ZoneNro.ts +3926 -0
  107. package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
  108. package/prisma/generated/models/clientMaterial.ts +2193 -0
  109. package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
  110. package/prisma/generated/models/ductTemplate.ts +1606 -0
  111. package/prisma/generated/models/installationSequence.ts +1708 -0
  112. package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
  113. package/prisma/generated/models/integrationUserLocation.ts +1681 -0
  114. package/prisma/generated/models/problemCategorization.ts +1543 -0
  115. package/prisma/generated/models/projectPhaseLog.ts +1728 -0
  116. package/prisma/generated/models/qrCodeTag.ts +4978 -0
  117. package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
  118. package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
  119. package/prisma/generated/models.ts +119 -0
  120. package/prisma/schema.prisma +2 -2
  121. package/prisma/seed.ts +33 -0
  122. package/prisma.config.ts +13 -0
  123. package/tsconfig.json +13 -0
@@ -0,0 +1,1543 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * This file exports the `problemCategorization` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums.js"
13
+ import type * as Prisma from "../internal/prismaNamespace.js"
14
+
15
+ /**
16
+ * Model problemCategorization
17
+ *
18
+ */
19
+ export type problemCategorizationModel = runtime.Types.Result.DefaultSelection<Prisma.$problemCategorizationPayload>
20
+
21
+ export type AggregateProblemCategorization = {
22
+ _count: ProblemCategorizationCountAggregateOutputType | null
23
+ _avg: ProblemCategorizationAvgAggregateOutputType | null
24
+ _sum: ProblemCategorizationSumAggregateOutputType | null
25
+ _min: ProblemCategorizationMinAggregateOutputType | null
26
+ _max: ProblemCategorizationMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type ProblemCategorizationAvgAggregateOutputType = {
30
+ no: number | null
31
+ }
32
+
33
+ export type ProblemCategorizationSumAggregateOutputType = {
34
+ no: number | null
35
+ }
36
+
37
+ export type ProblemCategorizationMinAggregateOutputType = {
38
+ id: string | null
39
+ no: number | null
40
+ reason: string | null
41
+ problemType: string | null
42
+ platformName: string | null
43
+ projectId: string | null
44
+ createdAt: Date | null
45
+ updatedAt: Date | null
46
+ deletedAt: Date | null
47
+ }
48
+
49
+ export type ProblemCategorizationMaxAggregateOutputType = {
50
+ id: string | null
51
+ no: number | null
52
+ reason: string | null
53
+ problemType: string | null
54
+ platformName: string | null
55
+ projectId: string | null
56
+ createdAt: Date | null
57
+ updatedAt: Date | null
58
+ deletedAt: Date | null
59
+ }
60
+
61
+ export type ProblemCategorizationCountAggregateOutputType = {
62
+ id: number
63
+ no: number
64
+ reason: number
65
+ problemType: number
66
+ platformName: number
67
+ projectId: number
68
+ createdAt: number
69
+ updatedAt: number
70
+ deletedAt: number
71
+ _all: number
72
+ }
73
+
74
+
75
+ export type ProblemCategorizationAvgAggregateInputType = {
76
+ no?: true
77
+ }
78
+
79
+ export type ProblemCategorizationSumAggregateInputType = {
80
+ no?: true
81
+ }
82
+
83
+ export type ProblemCategorizationMinAggregateInputType = {
84
+ id?: true
85
+ no?: true
86
+ reason?: true
87
+ problemType?: true
88
+ platformName?: true
89
+ projectId?: true
90
+ createdAt?: true
91
+ updatedAt?: true
92
+ deletedAt?: true
93
+ }
94
+
95
+ export type ProblemCategorizationMaxAggregateInputType = {
96
+ id?: true
97
+ no?: true
98
+ reason?: true
99
+ problemType?: true
100
+ platformName?: true
101
+ projectId?: true
102
+ createdAt?: true
103
+ updatedAt?: true
104
+ deletedAt?: true
105
+ }
106
+
107
+ export type ProblemCategorizationCountAggregateInputType = {
108
+ id?: true
109
+ no?: true
110
+ reason?: true
111
+ problemType?: true
112
+ platformName?: true
113
+ projectId?: true
114
+ createdAt?: true
115
+ updatedAt?: true
116
+ deletedAt?: true
117
+ _all?: true
118
+ }
119
+
120
+ export type ProblemCategorizationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
121
+ /**
122
+ * Filter which problemCategorization to aggregate.
123
+ */
124
+ where?: Prisma.problemCategorizationWhereInput
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
127
+ *
128
+ * Determine the order of problemCategorizations to fetch.
129
+ */
130
+ orderBy?: Prisma.problemCategorizationOrderByWithRelationInput | Prisma.problemCategorizationOrderByWithRelationInput[]
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
133
+ *
134
+ * Sets the start position
135
+ */
136
+ cursor?: Prisma.problemCategorizationWhereUniqueInput
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
139
+ *
140
+ * Take `±n` problemCategorizations from the position of the cursor.
141
+ */
142
+ take?: number
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
145
+ *
146
+ * Skip the first `n` problemCategorizations.
147
+ */
148
+ skip?: number
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
+ *
152
+ * Count returned problemCategorizations
153
+ **/
154
+ _count?: true | ProblemCategorizationCountAggregateInputType
155
+ /**
156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
+ *
158
+ * Select which fields to average
159
+ **/
160
+ _avg?: ProblemCategorizationAvgAggregateInputType
161
+ /**
162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
+ *
164
+ * Select which fields to sum
165
+ **/
166
+ _sum?: ProblemCategorizationSumAggregateInputType
167
+ /**
168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
169
+ *
170
+ * Select which fields to find the minimum value
171
+ **/
172
+ _min?: ProblemCategorizationMinAggregateInputType
173
+ /**
174
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
175
+ *
176
+ * Select which fields to find the maximum value
177
+ **/
178
+ _max?: ProblemCategorizationMaxAggregateInputType
179
+ }
180
+
181
+ export type GetProblemCategorizationAggregateType<T extends ProblemCategorizationAggregateArgs> = {
182
+ [P in keyof T & keyof AggregateProblemCategorization]: P extends '_count' | 'count'
183
+ ? T[P] extends true
184
+ ? number
185
+ : Prisma.GetScalarType<T[P], AggregateProblemCategorization[P]>
186
+ : Prisma.GetScalarType<T[P], AggregateProblemCategorization[P]>
187
+ }
188
+
189
+
190
+
191
+
192
+ export type problemCategorizationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
193
+ where?: Prisma.problemCategorizationWhereInput
194
+ orderBy?: Prisma.problemCategorizationOrderByWithAggregationInput | Prisma.problemCategorizationOrderByWithAggregationInput[]
195
+ by: Prisma.ProblemCategorizationScalarFieldEnum[] | Prisma.ProblemCategorizationScalarFieldEnum
196
+ having?: Prisma.problemCategorizationScalarWhereWithAggregatesInput
197
+ take?: number
198
+ skip?: number
199
+ _count?: ProblemCategorizationCountAggregateInputType | true
200
+ _avg?: ProblemCategorizationAvgAggregateInputType
201
+ _sum?: ProblemCategorizationSumAggregateInputType
202
+ _min?: ProblemCategorizationMinAggregateInputType
203
+ _max?: ProblemCategorizationMaxAggregateInputType
204
+ }
205
+
206
+ export type ProblemCategorizationGroupByOutputType = {
207
+ id: string
208
+ no: number
209
+ reason: string
210
+ problemType: string
211
+ platformName: string
212
+ projectId: string | null
213
+ createdAt: Date
214
+ updatedAt: Date
215
+ deletedAt: Date | null
216
+ _count: ProblemCategorizationCountAggregateOutputType | null
217
+ _avg: ProblemCategorizationAvgAggregateOutputType | null
218
+ _sum: ProblemCategorizationSumAggregateOutputType | null
219
+ _min: ProblemCategorizationMinAggregateOutputType | null
220
+ _max: ProblemCategorizationMaxAggregateOutputType | null
221
+ }
222
+
223
+ type GetProblemCategorizationGroupByPayload<T extends problemCategorizationGroupByArgs> = Prisma.PrismaPromise<
224
+ Array<
225
+ Prisma.PickEnumerable<ProblemCategorizationGroupByOutputType, T['by']> &
226
+ {
227
+ [P in ((keyof T) & (keyof ProblemCategorizationGroupByOutputType))]: P extends '_count'
228
+ ? T[P] extends boolean
229
+ ? number
230
+ : Prisma.GetScalarType<T[P], ProblemCategorizationGroupByOutputType[P]>
231
+ : Prisma.GetScalarType<T[P], ProblemCategorizationGroupByOutputType[P]>
232
+ }
233
+ >
234
+ >
235
+
236
+
237
+
238
+ export type problemCategorizationWhereInput = {
239
+ AND?: Prisma.problemCategorizationWhereInput | Prisma.problemCategorizationWhereInput[]
240
+ OR?: Prisma.problemCategorizationWhereInput[]
241
+ NOT?: Prisma.problemCategorizationWhereInput | Prisma.problemCategorizationWhereInput[]
242
+ id?: Prisma.StringFilter<"problemCategorization"> | string
243
+ no?: Prisma.IntFilter<"problemCategorization"> | number
244
+ reason?: Prisma.StringFilter<"problemCategorization"> | string
245
+ problemType?: Prisma.StringFilter<"problemCategorization"> | string
246
+ platformName?: Prisma.StringFilter<"problemCategorization"> | string
247
+ projectId?: Prisma.StringNullableFilter<"problemCategorization"> | string | null
248
+ createdAt?: Prisma.DateTimeFilter<"problemCategorization"> | Date | string
249
+ updatedAt?: Prisma.DateTimeFilter<"problemCategorization"> | Date | string
250
+ deletedAt?: Prisma.DateTimeNullableFilter<"problemCategorization"> | Date | string | null
251
+ project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
252
+ }
253
+
254
+ export type problemCategorizationOrderByWithRelationInput = {
255
+ id?: Prisma.SortOrder
256
+ no?: Prisma.SortOrder
257
+ reason?: Prisma.SortOrder
258
+ problemType?: Prisma.SortOrder
259
+ platformName?: Prisma.SortOrder
260
+ projectId?: Prisma.SortOrderInput | Prisma.SortOrder
261
+ createdAt?: Prisma.SortOrder
262
+ updatedAt?: Prisma.SortOrder
263
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
264
+ project?: Prisma.ProjectOrderByWithRelationInput
265
+ }
266
+
267
+ export type problemCategorizationWhereUniqueInput = Prisma.AtLeast<{
268
+ id?: string
269
+ AND?: Prisma.problemCategorizationWhereInput | Prisma.problemCategorizationWhereInput[]
270
+ OR?: Prisma.problemCategorizationWhereInput[]
271
+ NOT?: Prisma.problemCategorizationWhereInput | Prisma.problemCategorizationWhereInput[]
272
+ no?: Prisma.IntFilter<"problemCategorization"> | number
273
+ reason?: Prisma.StringFilter<"problemCategorization"> | string
274
+ problemType?: Prisma.StringFilter<"problemCategorization"> | string
275
+ platformName?: Prisma.StringFilter<"problemCategorization"> | string
276
+ projectId?: Prisma.StringNullableFilter<"problemCategorization"> | string | null
277
+ createdAt?: Prisma.DateTimeFilter<"problemCategorization"> | Date | string
278
+ updatedAt?: Prisma.DateTimeFilter<"problemCategorization"> | Date | string
279
+ deletedAt?: Prisma.DateTimeNullableFilter<"problemCategorization"> | Date | string | null
280
+ project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
281
+ }, "id" | "id">
282
+
283
+ export type problemCategorizationOrderByWithAggregationInput = {
284
+ id?: Prisma.SortOrder
285
+ no?: Prisma.SortOrder
286
+ reason?: Prisma.SortOrder
287
+ problemType?: Prisma.SortOrder
288
+ platformName?: Prisma.SortOrder
289
+ projectId?: Prisma.SortOrderInput | Prisma.SortOrder
290
+ createdAt?: Prisma.SortOrder
291
+ updatedAt?: Prisma.SortOrder
292
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
293
+ _count?: Prisma.problemCategorizationCountOrderByAggregateInput
294
+ _avg?: Prisma.problemCategorizationAvgOrderByAggregateInput
295
+ _max?: Prisma.problemCategorizationMaxOrderByAggregateInput
296
+ _min?: Prisma.problemCategorizationMinOrderByAggregateInput
297
+ _sum?: Prisma.problemCategorizationSumOrderByAggregateInput
298
+ }
299
+
300
+ export type problemCategorizationScalarWhereWithAggregatesInput = {
301
+ AND?: Prisma.problemCategorizationScalarWhereWithAggregatesInput | Prisma.problemCategorizationScalarWhereWithAggregatesInput[]
302
+ OR?: Prisma.problemCategorizationScalarWhereWithAggregatesInput[]
303
+ NOT?: Prisma.problemCategorizationScalarWhereWithAggregatesInput | Prisma.problemCategorizationScalarWhereWithAggregatesInput[]
304
+ id?: Prisma.StringWithAggregatesFilter<"problemCategorization"> | string
305
+ no?: Prisma.IntWithAggregatesFilter<"problemCategorization"> | number
306
+ reason?: Prisma.StringWithAggregatesFilter<"problemCategorization"> | string
307
+ problemType?: Prisma.StringWithAggregatesFilter<"problemCategorization"> | string
308
+ platformName?: Prisma.StringWithAggregatesFilter<"problemCategorization"> | string
309
+ projectId?: Prisma.StringNullableWithAggregatesFilter<"problemCategorization"> | string | null
310
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"problemCategorization"> | Date | string
311
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"problemCategorization"> | Date | string
312
+ deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"problemCategorization"> | Date | string | null
313
+ }
314
+
315
+ export type problemCategorizationCreateInput = {
316
+ id?: string
317
+ no?: number
318
+ reason: string
319
+ problemType: string
320
+ platformName: string
321
+ createdAt?: Date | string
322
+ updatedAt?: Date | string
323
+ deletedAt?: Date | string | null
324
+ project?: Prisma.ProjectCreateNestedOneWithoutProblemCategorizationInput
325
+ }
326
+
327
+ export type problemCategorizationUncheckedCreateInput = {
328
+ id?: string
329
+ no?: number
330
+ reason: string
331
+ problemType: string
332
+ platformName: string
333
+ projectId?: string | null
334
+ createdAt?: Date | string
335
+ updatedAt?: Date | string
336
+ deletedAt?: Date | string | null
337
+ }
338
+
339
+ export type problemCategorizationUpdateInput = {
340
+ id?: Prisma.StringFieldUpdateOperationsInput | string
341
+ no?: Prisma.IntFieldUpdateOperationsInput | number
342
+ reason?: Prisma.StringFieldUpdateOperationsInput | string
343
+ problemType?: Prisma.StringFieldUpdateOperationsInput | string
344
+ platformName?: Prisma.StringFieldUpdateOperationsInput | string
345
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
346
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
347
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
348
+ project?: Prisma.ProjectUpdateOneWithoutProblemCategorizationNestedInput
349
+ }
350
+
351
+ export type problemCategorizationUncheckedUpdateInput = {
352
+ id?: Prisma.StringFieldUpdateOperationsInput | string
353
+ no?: Prisma.IntFieldUpdateOperationsInput | number
354
+ reason?: Prisma.StringFieldUpdateOperationsInput | string
355
+ problemType?: Prisma.StringFieldUpdateOperationsInput | string
356
+ platformName?: Prisma.StringFieldUpdateOperationsInput | string
357
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
358
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
359
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
360
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
361
+ }
362
+
363
+ export type problemCategorizationCreateManyInput = {
364
+ id?: string
365
+ no?: number
366
+ reason: string
367
+ problemType: string
368
+ platformName: string
369
+ projectId?: string | null
370
+ createdAt?: Date | string
371
+ updatedAt?: Date | string
372
+ deletedAt?: Date | string | null
373
+ }
374
+
375
+ export type problemCategorizationUpdateManyMutationInput = {
376
+ id?: Prisma.StringFieldUpdateOperationsInput | string
377
+ no?: Prisma.IntFieldUpdateOperationsInput | number
378
+ reason?: Prisma.StringFieldUpdateOperationsInput | string
379
+ problemType?: Prisma.StringFieldUpdateOperationsInput | string
380
+ platformName?: Prisma.StringFieldUpdateOperationsInput | string
381
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
382
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
383
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
384
+ }
385
+
386
+ export type problemCategorizationUncheckedUpdateManyInput = {
387
+ id?: Prisma.StringFieldUpdateOperationsInput | string
388
+ no?: Prisma.IntFieldUpdateOperationsInput | number
389
+ reason?: Prisma.StringFieldUpdateOperationsInput | string
390
+ problemType?: Prisma.StringFieldUpdateOperationsInput | string
391
+ platformName?: Prisma.StringFieldUpdateOperationsInput | string
392
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
393
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
394
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
395
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
396
+ }
397
+
398
+ export type ProblemCategorizationListRelationFilter = {
399
+ every?: Prisma.problemCategorizationWhereInput
400
+ some?: Prisma.problemCategorizationWhereInput
401
+ none?: Prisma.problemCategorizationWhereInput
402
+ }
403
+
404
+ export type problemCategorizationOrderByRelationAggregateInput = {
405
+ _count?: Prisma.SortOrder
406
+ }
407
+
408
+ export type problemCategorizationCountOrderByAggregateInput = {
409
+ id?: Prisma.SortOrder
410
+ no?: Prisma.SortOrder
411
+ reason?: Prisma.SortOrder
412
+ problemType?: Prisma.SortOrder
413
+ platformName?: Prisma.SortOrder
414
+ projectId?: Prisma.SortOrder
415
+ createdAt?: Prisma.SortOrder
416
+ updatedAt?: Prisma.SortOrder
417
+ deletedAt?: Prisma.SortOrder
418
+ }
419
+
420
+ export type problemCategorizationAvgOrderByAggregateInput = {
421
+ no?: Prisma.SortOrder
422
+ }
423
+
424
+ export type problemCategorizationMaxOrderByAggregateInput = {
425
+ id?: Prisma.SortOrder
426
+ no?: Prisma.SortOrder
427
+ reason?: Prisma.SortOrder
428
+ problemType?: Prisma.SortOrder
429
+ platformName?: Prisma.SortOrder
430
+ projectId?: Prisma.SortOrder
431
+ createdAt?: Prisma.SortOrder
432
+ updatedAt?: Prisma.SortOrder
433
+ deletedAt?: Prisma.SortOrder
434
+ }
435
+
436
+ export type problemCategorizationMinOrderByAggregateInput = {
437
+ id?: Prisma.SortOrder
438
+ no?: Prisma.SortOrder
439
+ reason?: Prisma.SortOrder
440
+ problemType?: Prisma.SortOrder
441
+ platformName?: Prisma.SortOrder
442
+ projectId?: Prisma.SortOrder
443
+ createdAt?: Prisma.SortOrder
444
+ updatedAt?: Prisma.SortOrder
445
+ deletedAt?: Prisma.SortOrder
446
+ }
447
+
448
+ export type problemCategorizationSumOrderByAggregateInput = {
449
+ no?: Prisma.SortOrder
450
+ }
451
+
452
+ export type problemCategorizationCreateNestedManyWithoutProjectInput = {
453
+ create?: Prisma.XOR<Prisma.problemCategorizationCreateWithoutProjectInput, Prisma.problemCategorizationUncheckedCreateWithoutProjectInput> | Prisma.problemCategorizationCreateWithoutProjectInput[] | Prisma.problemCategorizationUncheckedCreateWithoutProjectInput[]
454
+ connectOrCreate?: Prisma.problemCategorizationCreateOrConnectWithoutProjectInput | Prisma.problemCategorizationCreateOrConnectWithoutProjectInput[]
455
+ createMany?: Prisma.problemCategorizationCreateManyProjectInputEnvelope
456
+ connect?: Prisma.problemCategorizationWhereUniqueInput | Prisma.problemCategorizationWhereUniqueInput[]
457
+ }
458
+
459
+ export type problemCategorizationUncheckedCreateNestedManyWithoutProjectInput = {
460
+ create?: Prisma.XOR<Prisma.problemCategorizationCreateWithoutProjectInput, Prisma.problemCategorizationUncheckedCreateWithoutProjectInput> | Prisma.problemCategorizationCreateWithoutProjectInput[] | Prisma.problemCategorizationUncheckedCreateWithoutProjectInput[]
461
+ connectOrCreate?: Prisma.problemCategorizationCreateOrConnectWithoutProjectInput | Prisma.problemCategorizationCreateOrConnectWithoutProjectInput[]
462
+ createMany?: Prisma.problemCategorizationCreateManyProjectInputEnvelope
463
+ connect?: Prisma.problemCategorizationWhereUniqueInput | Prisma.problemCategorizationWhereUniqueInput[]
464
+ }
465
+
466
+ export type problemCategorizationUpdateManyWithoutProjectNestedInput = {
467
+ create?: Prisma.XOR<Prisma.problemCategorizationCreateWithoutProjectInput, Prisma.problemCategorizationUncheckedCreateWithoutProjectInput> | Prisma.problemCategorizationCreateWithoutProjectInput[] | Prisma.problemCategorizationUncheckedCreateWithoutProjectInput[]
468
+ connectOrCreate?: Prisma.problemCategorizationCreateOrConnectWithoutProjectInput | Prisma.problemCategorizationCreateOrConnectWithoutProjectInput[]
469
+ upsert?: Prisma.problemCategorizationUpsertWithWhereUniqueWithoutProjectInput | Prisma.problemCategorizationUpsertWithWhereUniqueWithoutProjectInput[]
470
+ createMany?: Prisma.problemCategorizationCreateManyProjectInputEnvelope
471
+ set?: Prisma.problemCategorizationWhereUniqueInput | Prisma.problemCategorizationWhereUniqueInput[]
472
+ disconnect?: Prisma.problemCategorizationWhereUniqueInput | Prisma.problemCategorizationWhereUniqueInput[]
473
+ delete?: Prisma.problemCategorizationWhereUniqueInput | Prisma.problemCategorizationWhereUniqueInput[]
474
+ connect?: Prisma.problemCategorizationWhereUniqueInput | Prisma.problemCategorizationWhereUniqueInput[]
475
+ update?: Prisma.problemCategorizationUpdateWithWhereUniqueWithoutProjectInput | Prisma.problemCategorizationUpdateWithWhereUniqueWithoutProjectInput[]
476
+ updateMany?: Prisma.problemCategorizationUpdateManyWithWhereWithoutProjectInput | Prisma.problemCategorizationUpdateManyWithWhereWithoutProjectInput[]
477
+ deleteMany?: Prisma.problemCategorizationScalarWhereInput | Prisma.problemCategorizationScalarWhereInput[]
478
+ }
479
+
480
+ export type problemCategorizationUncheckedUpdateManyWithoutProjectNestedInput = {
481
+ create?: Prisma.XOR<Prisma.problemCategorizationCreateWithoutProjectInput, Prisma.problemCategorizationUncheckedCreateWithoutProjectInput> | Prisma.problemCategorizationCreateWithoutProjectInput[] | Prisma.problemCategorizationUncheckedCreateWithoutProjectInput[]
482
+ connectOrCreate?: Prisma.problemCategorizationCreateOrConnectWithoutProjectInput | Prisma.problemCategorizationCreateOrConnectWithoutProjectInput[]
483
+ upsert?: Prisma.problemCategorizationUpsertWithWhereUniqueWithoutProjectInput | Prisma.problemCategorizationUpsertWithWhereUniqueWithoutProjectInput[]
484
+ createMany?: Prisma.problemCategorizationCreateManyProjectInputEnvelope
485
+ set?: Prisma.problemCategorizationWhereUniqueInput | Prisma.problemCategorizationWhereUniqueInput[]
486
+ disconnect?: Prisma.problemCategorizationWhereUniqueInput | Prisma.problemCategorizationWhereUniqueInput[]
487
+ delete?: Prisma.problemCategorizationWhereUniqueInput | Prisma.problemCategorizationWhereUniqueInput[]
488
+ connect?: Prisma.problemCategorizationWhereUniqueInput | Prisma.problemCategorizationWhereUniqueInput[]
489
+ update?: Prisma.problemCategorizationUpdateWithWhereUniqueWithoutProjectInput | Prisma.problemCategorizationUpdateWithWhereUniqueWithoutProjectInput[]
490
+ updateMany?: Prisma.problemCategorizationUpdateManyWithWhereWithoutProjectInput | Prisma.problemCategorizationUpdateManyWithWhereWithoutProjectInput[]
491
+ deleteMany?: Prisma.problemCategorizationScalarWhereInput | Prisma.problemCategorizationScalarWhereInput[]
492
+ }
493
+
494
+ export type problemCategorizationCreateWithoutProjectInput = {
495
+ id?: string
496
+ no?: number
497
+ reason: string
498
+ problemType: string
499
+ platformName: string
500
+ createdAt?: Date | string
501
+ updatedAt?: Date | string
502
+ deletedAt?: Date | string | null
503
+ }
504
+
505
+ export type problemCategorizationUncheckedCreateWithoutProjectInput = {
506
+ id?: string
507
+ no?: number
508
+ reason: string
509
+ problemType: string
510
+ platformName: string
511
+ createdAt?: Date | string
512
+ updatedAt?: Date | string
513
+ deletedAt?: Date | string | null
514
+ }
515
+
516
+ export type problemCategorizationCreateOrConnectWithoutProjectInput = {
517
+ where: Prisma.problemCategorizationWhereUniqueInput
518
+ create: Prisma.XOR<Prisma.problemCategorizationCreateWithoutProjectInput, Prisma.problemCategorizationUncheckedCreateWithoutProjectInput>
519
+ }
520
+
521
+ export type problemCategorizationCreateManyProjectInputEnvelope = {
522
+ data: Prisma.problemCategorizationCreateManyProjectInput | Prisma.problemCategorizationCreateManyProjectInput[]
523
+ skipDuplicates?: boolean
524
+ }
525
+
526
+ export type problemCategorizationUpsertWithWhereUniqueWithoutProjectInput = {
527
+ where: Prisma.problemCategorizationWhereUniqueInput
528
+ update: Prisma.XOR<Prisma.problemCategorizationUpdateWithoutProjectInput, Prisma.problemCategorizationUncheckedUpdateWithoutProjectInput>
529
+ create: Prisma.XOR<Prisma.problemCategorizationCreateWithoutProjectInput, Prisma.problemCategorizationUncheckedCreateWithoutProjectInput>
530
+ }
531
+
532
+ export type problemCategorizationUpdateWithWhereUniqueWithoutProjectInput = {
533
+ where: Prisma.problemCategorizationWhereUniqueInput
534
+ data: Prisma.XOR<Prisma.problemCategorizationUpdateWithoutProjectInput, Prisma.problemCategorizationUncheckedUpdateWithoutProjectInput>
535
+ }
536
+
537
+ export type problemCategorizationUpdateManyWithWhereWithoutProjectInput = {
538
+ where: Prisma.problemCategorizationScalarWhereInput
539
+ data: Prisma.XOR<Prisma.problemCategorizationUpdateManyMutationInput, Prisma.problemCategorizationUncheckedUpdateManyWithoutProjectInput>
540
+ }
541
+
542
+ export type problemCategorizationScalarWhereInput = {
543
+ AND?: Prisma.problemCategorizationScalarWhereInput | Prisma.problemCategorizationScalarWhereInput[]
544
+ OR?: Prisma.problemCategorizationScalarWhereInput[]
545
+ NOT?: Prisma.problemCategorizationScalarWhereInput | Prisma.problemCategorizationScalarWhereInput[]
546
+ id?: Prisma.StringFilter<"problemCategorization"> | string
547
+ no?: Prisma.IntFilter<"problemCategorization"> | number
548
+ reason?: Prisma.StringFilter<"problemCategorization"> | string
549
+ problemType?: Prisma.StringFilter<"problemCategorization"> | string
550
+ platformName?: Prisma.StringFilter<"problemCategorization"> | string
551
+ projectId?: Prisma.StringNullableFilter<"problemCategorization"> | string | null
552
+ createdAt?: Prisma.DateTimeFilter<"problemCategorization"> | Date | string
553
+ updatedAt?: Prisma.DateTimeFilter<"problemCategorization"> | Date | string
554
+ deletedAt?: Prisma.DateTimeNullableFilter<"problemCategorization"> | Date | string | null
555
+ }
556
+
557
+ export type problemCategorizationCreateManyProjectInput = {
558
+ id?: string
559
+ no?: number
560
+ reason: string
561
+ problemType: string
562
+ platformName: string
563
+ createdAt?: Date | string
564
+ updatedAt?: Date | string
565
+ deletedAt?: Date | string | null
566
+ }
567
+
568
+ export type problemCategorizationUpdateWithoutProjectInput = {
569
+ id?: Prisma.StringFieldUpdateOperationsInput | string
570
+ no?: Prisma.IntFieldUpdateOperationsInput | number
571
+ reason?: Prisma.StringFieldUpdateOperationsInput | string
572
+ problemType?: Prisma.StringFieldUpdateOperationsInput | string
573
+ platformName?: Prisma.StringFieldUpdateOperationsInput | string
574
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
575
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
576
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
577
+ }
578
+
579
+ export type problemCategorizationUncheckedUpdateWithoutProjectInput = {
580
+ id?: Prisma.StringFieldUpdateOperationsInput | string
581
+ no?: Prisma.IntFieldUpdateOperationsInput | number
582
+ reason?: Prisma.StringFieldUpdateOperationsInput | string
583
+ problemType?: Prisma.StringFieldUpdateOperationsInput | string
584
+ platformName?: Prisma.StringFieldUpdateOperationsInput | string
585
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
586
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
587
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
588
+ }
589
+
590
+ export type problemCategorizationUncheckedUpdateManyWithoutProjectInput = {
591
+ id?: Prisma.StringFieldUpdateOperationsInput | string
592
+ no?: Prisma.IntFieldUpdateOperationsInput | number
593
+ reason?: Prisma.StringFieldUpdateOperationsInput | string
594
+ problemType?: Prisma.StringFieldUpdateOperationsInput | string
595
+ platformName?: Prisma.StringFieldUpdateOperationsInput | string
596
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
597
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
598
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
599
+ }
600
+
601
+
602
+
603
+ export type problemCategorizationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
604
+ id?: boolean
605
+ no?: boolean
606
+ reason?: boolean
607
+ problemType?: boolean
608
+ platformName?: boolean
609
+ projectId?: boolean
610
+ createdAt?: boolean
611
+ updatedAt?: boolean
612
+ deletedAt?: boolean
613
+ project?: boolean | Prisma.problemCategorization$projectArgs<ExtArgs>
614
+ }, ExtArgs["result"]["problemCategorization"]>
615
+
616
+ export type problemCategorizationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
617
+ id?: boolean
618
+ no?: boolean
619
+ reason?: boolean
620
+ problemType?: boolean
621
+ platformName?: boolean
622
+ projectId?: boolean
623
+ createdAt?: boolean
624
+ updatedAt?: boolean
625
+ deletedAt?: boolean
626
+ project?: boolean | Prisma.problemCategorization$projectArgs<ExtArgs>
627
+ }, ExtArgs["result"]["problemCategorization"]>
628
+
629
+ export type problemCategorizationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
630
+ id?: boolean
631
+ no?: boolean
632
+ reason?: boolean
633
+ problemType?: boolean
634
+ platformName?: boolean
635
+ projectId?: boolean
636
+ createdAt?: boolean
637
+ updatedAt?: boolean
638
+ deletedAt?: boolean
639
+ project?: boolean | Prisma.problemCategorization$projectArgs<ExtArgs>
640
+ }, ExtArgs["result"]["problemCategorization"]>
641
+
642
+ export type problemCategorizationSelectScalar = {
643
+ id?: boolean
644
+ no?: boolean
645
+ reason?: boolean
646
+ problemType?: boolean
647
+ platformName?: boolean
648
+ projectId?: boolean
649
+ createdAt?: boolean
650
+ updatedAt?: boolean
651
+ deletedAt?: boolean
652
+ }
653
+
654
+ export type problemCategorizationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "reason" | "problemType" | "platformName" | "projectId" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["problemCategorization"]>
655
+ export type problemCategorizationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
656
+ project?: boolean | Prisma.problemCategorization$projectArgs<ExtArgs>
657
+ }
658
+ export type problemCategorizationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
659
+ project?: boolean | Prisma.problemCategorization$projectArgs<ExtArgs>
660
+ }
661
+ export type problemCategorizationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
662
+ project?: boolean | Prisma.problemCategorization$projectArgs<ExtArgs>
663
+ }
664
+
665
+ export type $problemCategorizationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
666
+ name: "problemCategorization"
667
+ objects: {
668
+ project: Prisma.$ProjectPayload<ExtArgs> | null
669
+ }
670
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
671
+ id: string
672
+ no: number
673
+ reason: string
674
+ problemType: string
675
+ platformName: string
676
+ projectId: string | null
677
+ createdAt: Date
678
+ updatedAt: Date
679
+ deletedAt: Date | null
680
+ }, ExtArgs["result"]["problemCategorization"]>
681
+ composites: {}
682
+ }
683
+
684
+ export type problemCategorizationGetPayload<S extends boolean | null | undefined | problemCategorizationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload, S>
685
+
686
+ export type problemCategorizationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
687
+ Omit<problemCategorizationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
688
+ select?: ProblemCategorizationCountAggregateInputType | true
689
+ }
690
+
691
+ export interface problemCategorizationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
692
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['problemCategorization'], meta: { name: 'problemCategorization' } }
693
+ /**
694
+ * Find zero or one ProblemCategorization that matches the filter.
695
+ * @param {problemCategorizationFindUniqueArgs} args - Arguments to find a ProblemCategorization
696
+ * @example
697
+ * // Get one ProblemCategorization
698
+ * const problemCategorization = await prisma.problemCategorization.findUnique({
699
+ * where: {
700
+ * // ... provide filter here
701
+ * }
702
+ * })
703
+ */
704
+ findUnique<T extends problemCategorizationFindUniqueArgs>(args: Prisma.SelectSubset<T, problemCategorizationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__problemCategorizationClient<runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
705
+
706
+ /**
707
+ * Find one ProblemCategorization that matches the filter or throw an error with `error.code='P2025'`
708
+ * if no matches were found.
709
+ * @param {problemCategorizationFindUniqueOrThrowArgs} args - Arguments to find a ProblemCategorization
710
+ * @example
711
+ * // Get one ProblemCategorization
712
+ * const problemCategorization = await prisma.problemCategorization.findUniqueOrThrow({
713
+ * where: {
714
+ * // ... provide filter here
715
+ * }
716
+ * })
717
+ */
718
+ findUniqueOrThrow<T extends problemCategorizationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, problemCategorizationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__problemCategorizationClient<runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
719
+
720
+ /**
721
+ * Find the first ProblemCategorization that matches the filter.
722
+ * Note, that providing `undefined` is treated as the value not being there.
723
+ * Read more here: https://pris.ly/d/null-undefined
724
+ * @param {problemCategorizationFindFirstArgs} args - Arguments to find a ProblemCategorization
725
+ * @example
726
+ * // Get one ProblemCategorization
727
+ * const problemCategorization = await prisma.problemCategorization.findFirst({
728
+ * where: {
729
+ * // ... provide filter here
730
+ * }
731
+ * })
732
+ */
733
+ findFirst<T extends problemCategorizationFindFirstArgs>(args?: Prisma.SelectSubset<T, problemCategorizationFindFirstArgs<ExtArgs>>): Prisma.Prisma__problemCategorizationClient<runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
734
+
735
+ /**
736
+ * Find the first ProblemCategorization that matches the filter or
737
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
738
+ * Note, that providing `undefined` is treated as the value not being there.
739
+ * Read more here: https://pris.ly/d/null-undefined
740
+ * @param {problemCategorizationFindFirstOrThrowArgs} args - Arguments to find a ProblemCategorization
741
+ * @example
742
+ * // Get one ProblemCategorization
743
+ * const problemCategorization = await prisma.problemCategorization.findFirstOrThrow({
744
+ * where: {
745
+ * // ... provide filter here
746
+ * }
747
+ * })
748
+ */
749
+ findFirstOrThrow<T extends problemCategorizationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, problemCategorizationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__problemCategorizationClient<runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
750
+
751
+ /**
752
+ * Find zero or more ProblemCategorizations that matches the filter.
753
+ * Note, that providing `undefined` is treated as the value not being there.
754
+ * Read more here: https://pris.ly/d/null-undefined
755
+ * @param {problemCategorizationFindManyArgs} args - Arguments to filter and select certain fields only.
756
+ * @example
757
+ * // Get all ProblemCategorizations
758
+ * const problemCategorizations = await prisma.problemCategorization.findMany()
759
+ *
760
+ * // Get first 10 ProblemCategorizations
761
+ * const problemCategorizations = await prisma.problemCategorization.findMany({ take: 10 })
762
+ *
763
+ * // Only select the `id`
764
+ * const problemCategorizationWithIdOnly = await prisma.problemCategorization.findMany({ select: { id: true } })
765
+ *
766
+ */
767
+ findMany<T extends problemCategorizationFindManyArgs>(args?: Prisma.SelectSubset<T, problemCategorizationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
768
+
769
+ /**
770
+ * Create a ProblemCategorization.
771
+ * @param {problemCategorizationCreateArgs} args - Arguments to create a ProblemCategorization.
772
+ * @example
773
+ * // Create one ProblemCategorization
774
+ * const ProblemCategorization = await prisma.problemCategorization.create({
775
+ * data: {
776
+ * // ... data to create a ProblemCategorization
777
+ * }
778
+ * })
779
+ *
780
+ */
781
+ create<T extends problemCategorizationCreateArgs>(args: Prisma.SelectSubset<T, problemCategorizationCreateArgs<ExtArgs>>): Prisma.Prisma__problemCategorizationClient<runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
782
+
783
+ /**
784
+ * Create many ProblemCategorizations.
785
+ * @param {problemCategorizationCreateManyArgs} args - Arguments to create many ProblemCategorizations.
786
+ * @example
787
+ * // Create many ProblemCategorizations
788
+ * const problemCategorization = await prisma.problemCategorization.createMany({
789
+ * data: [
790
+ * // ... provide data here
791
+ * ]
792
+ * })
793
+ *
794
+ */
795
+ createMany<T extends problemCategorizationCreateManyArgs>(args?: Prisma.SelectSubset<T, problemCategorizationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
796
+
797
+ /**
798
+ * Create many ProblemCategorizations and returns the data saved in the database.
799
+ * @param {problemCategorizationCreateManyAndReturnArgs} args - Arguments to create many ProblemCategorizations.
800
+ * @example
801
+ * // Create many ProblemCategorizations
802
+ * const problemCategorization = await prisma.problemCategorization.createManyAndReturn({
803
+ * data: [
804
+ * // ... provide data here
805
+ * ]
806
+ * })
807
+ *
808
+ * // Create many ProblemCategorizations and only return the `id`
809
+ * const problemCategorizationWithIdOnly = await prisma.problemCategorization.createManyAndReturn({
810
+ * select: { id: true },
811
+ * data: [
812
+ * // ... provide data here
813
+ * ]
814
+ * })
815
+ * Note, that providing `undefined` is treated as the value not being there.
816
+ * Read more here: https://pris.ly/d/null-undefined
817
+ *
818
+ */
819
+ createManyAndReturn<T extends problemCategorizationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, problemCategorizationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
820
+
821
+ /**
822
+ * Delete a ProblemCategorization.
823
+ * @param {problemCategorizationDeleteArgs} args - Arguments to delete one ProblemCategorization.
824
+ * @example
825
+ * // Delete one ProblemCategorization
826
+ * const ProblemCategorization = await prisma.problemCategorization.delete({
827
+ * where: {
828
+ * // ... filter to delete one ProblemCategorization
829
+ * }
830
+ * })
831
+ *
832
+ */
833
+ delete<T extends problemCategorizationDeleteArgs>(args: Prisma.SelectSubset<T, problemCategorizationDeleteArgs<ExtArgs>>): Prisma.Prisma__problemCategorizationClient<runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
834
+
835
+ /**
836
+ * Update one ProblemCategorization.
837
+ * @param {problemCategorizationUpdateArgs} args - Arguments to update one ProblemCategorization.
838
+ * @example
839
+ * // Update one ProblemCategorization
840
+ * const problemCategorization = await prisma.problemCategorization.update({
841
+ * where: {
842
+ * // ... provide filter here
843
+ * },
844
+ * data: {
845
+ * // ... provide data here
846
+ * }
847
+ * })
848
+ *
849
+ */
850
+ update<T extends problemCategorizationUpdateArgs>(args: Prisma.SelectSubset<T, problemCategorizationUpdateArgs<ExtArgs>>): Prisma.Prisma__problemCategorizationClient<runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
851
+
852
+ /**
853
+ * Delete zero or more ProblemCategorizations.
854
+ * @param {problemCategorizationDeleteManyArgs} args - Arguments to filter ProblemCategorizations to delete.
855
+ * @example
856
+ * // Delete a few ProblemCategorizations
857
+ * const { count } = await prisma.problemCategorization.deleteMany({
858
+ * where: {
859
+ * // ... provide filter here
860
+ * }
861
+ * })
862
+ *
863
+ */
864
+ deleteMany<T extends problemCategorizationDeleteManyArgs>(args?: Prisma.SelectSubset<T, problemCategorizationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
865
+
866
+ /**
867
+ * Update zero or more ProblemCategorizations.
868
+ * Note, that providing `undefined` is treated as the value not being there.
869
+ * Read more here: https://pris.ly/d/null-undefined
870
+ * @param {problemCategorizationUpdateManyArgs} args - Arguments to update one or more rows.
871
+ * @example
872
+ * // Update many ProblemCategorizations
873
+ * const problemCategorization = await prisma.problemCategorization.updateMany({
874
+ * where: {
875
+ * // ... provide filter here
876
+ * },
877
+ * data: {
878
+ * // ... provide data here
879
+ * }
880
+ * })
881
+ *
882
+ */
883
+ updateMany<T extends problemCategorizationUpdateManyArgs>(args: Prisma.SelectSubset<T, problemCategorizationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
884
+
885
+ /**
886
+ * Update zero or more ProblemCategorizations and returns the data updated in the database.
887
+ * @param {problemCategorizationUpdateManyAndReturnArgs} args - Arguments to update many ProblemCategorizations.
888
+ * @example
889
+ * // Update many ProblemCategorizations
890
+ * const problemCategorization = await prisma.problemCategorization.updateManyAndReturn({
891
+ * where: {
892
+ * // ... provide filter here
893
+ * },
894
+ * data: [
895
+ * // ... provide data here
896
+ * ]
897
+ * })
898
+ *
899
+ * // Update zero or more ProblemCategorizations and only return the `id`
900
+ * const problemCategorizationWithIdOnly = await prisma.problemCategorization.updateManyAndReturn({
901
+ * select: { id: true },
902
+ * where: {
903
+ * // ... provide filter here
904
+ * },
905
+ * data: [
906
+ * // ... provide data here
907
+ * ]
908
+ * })
909
+ * Note, that providing `undefined` is treated as the value not being there.
910
+ * Read more here: https://pris.ly/d/null-undefined
911
+ *
912
+ */
913
+ updateManyAndReturn<T extends problemCategorizationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, problemCategorizationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
914
+
915
+ /**
916
+ * Create or update one ProblemCategorization.
917
+ * @param {problemCategorizationUpsertArgs} args - Arguments to update or create a ProblemCategorization.
918
+ * @example
919
+ * // Update or create a ProblemCategorization
920
+ * const problemCategorization = await prisma.problemCategorization.upsert({
921
+ * create: {
922
+ * // ... data to create a ProblemCategorization
923
+ * },
924
+ * update: {
925
+ * // ... in case it already exists, update
926
+ * },
927
+ * where: {
928
+ * // ... the filter for the ProblemCategorization we want to update
929
+ * }
930
+ * })
931
+ */
932
+ upsert<T extends problemCategorizationUpsertArgs>(args: Prisma.SelectSubset<T, problemCategorizationUpsertArgs<ExtArgs>>): Prisma.Prisma__problemCategorizationClient<runtime.Types.Result.GetResult<Prisma.$problemCategorizationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
933
+
934
+
935
+ /**
936
+ * Count the number of ProblemCategorizations.
937
+ * Note, that providing `undefined` is treated as the value not being there.
938
+ * Read more here: https://pris.ly/d/null-undefined
939
+ * @param {problemCategorizationCountArgs} args - Arguments to filter ProblemCategorizations to count.
940
+ * @example
941
+ * // Count the number of ProblemCategorizations
942
+ * const count = await prisma.problemCategorization.count({
943
+ * where: {
944
+ * // ... the filter for the ProblemCategorizations we want to count
945
+ * }
946
+ * })
947
+ **/
948
+ count<T extends problemCategorizationCountArgs>(
949
+ args?: Prisma.Subset<T, problemCategorizationCountArgs>,
950
+ ): Prisma.PrismaPromise<
951
+ T extends runtime.Types.Utils.Record<'select', any>
952
+ ? T['select'] extends true
953
+ ? number
954
+ : Prisma.GetScalarType<T['select'], ProblemCategorizationCountAggregateOutputType>
955
+ : number
956
+ >
957
+
958
+ /**
959
+ * Allows you to perform aggregations operations on a ProblemCategorization.
960
+ * Note, that providing `undefined` is treated as the value not being there.
961
+ * Read more here: https://pris.ly/d/null-undefined
962
+ * @param {ProblemCategorizationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
963
+ * @example
964
+ * // Ordered by age ascending
965
+ * // Where email contains prisma.io
966
+ * // Limited to the 10 users
967
+ * const aggregations = await prisma.user.aggregate({
968
+ * _avg: {
969
+ * age: true,
970
+ * },
971
+ * where: {
972
+ * email: {
973
+ * contains: "prisma.io",
974
+ * },
975
+ * },
976
+ * orderBy: {
977
+ * age: "asc",
978
+ * },
979
+ * take: 10,
980
+ * })
981
+ **/
982
+ aggregate<T extends ProblemCategorizationAggregateArgs>(args: Prisma.Subset<T, ProblemCategorizationAggregateArgs>): Prisma.PrismaPromise<GetProblemCategorizationAggregateType<T>>
983
+
984
+ /**
985
+ * Group by ProblemCategorization.
986
+ * Note, that providing `undefined` is treated as the value not being there.
987
+ * Read more here: https://pris.ly/d/null-undefined
988
+ * @param {problemCategorizationGroupByArgs} args - Group by arguments.
989
+ * @example
990
+ * // Group by city, order by createdAt, get count
991
+ * const result = await prisma.user.groupBy({
992
+ * by: ['city', 'createdAt'],
993
+ * orderBy: {
994
+ * createdAt: true
995
+ * },
996
+ * _count: {
997
+ * _all: true
998
+ * },
999
+ * })
1000
+ *
1001
+ **/
1002
+ groupBy<
1003
+ T extends problemCategorizationGroupByArgs,
1004
+ HasSelectOrTake extends Prisma.Or<
1005
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1006
+ Prisma.Extends<'take', Prisma.Keys<T>>
1007
+ >,
1008
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1009
+ ? { orderBy: problemCategorizationGroupByArgs['orderBy'] }
1010
+ : { orderBy?: problemCategorizationGroupByArgs['orderBy'] },
1011
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1012
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1013
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1014
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1015
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1016
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1017
+ InputErrors extends ByEmpty extends Prisma.True
1018
+ ? `Error: "by" must not be empty.`
1019
+ : HavingValid extends Prisma.False
1020
+ ? {
1021
+ [P in HavingFields]: P extends ByFields
1022
+ ? never
1023
+ : P extends string
1024
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1025
+ : [
1026
+ Error,
1027
+ 'Field ',
1028
+ P,
1029
+ ` in "having" needs to be provided in "by"`,
1030
+ ]
1031
+ }[HavingFields]
1032
+ : 'take' extends Prisma.Keys<T>
1033
+ ? 'orderBy' extends Prisma.Keys<T>
1034
+ ? ByValid extends Prisma.True
1035
+ ? {}
1036
+ : {
1037
+ [P in OrderFields]: P extends ByFields
1038
+ ? never
1039
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1040
+ }[OrderFields]
1041
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1042
+ : 'skip' extends Prisma.Keys<T>
1043
+ ? 'orderBy' extends Prisma.Keys<T>
1044
+ ? ByValid extends Prisma.True
1045
+ ? {}
1046
+ : {
1047
+ [P in OrderFields]: P extends ByFields
1048
+ ? never
1049
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1050
+ }[OrderFields]
1051
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1052
+ : ByValid extends Prisma.True
1053
+ ? {}
1054
+ : {
1055
+ [P in OrderFields]: P extends ByFields
1056
+ ? never
1057
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1058
+ }[OrderFields]
1059
+ >(args: Prisma.SubsetIntersection<T, problemCategorizationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProblemCategorizationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1060
+ /**
1061
+ * Fields of the problemCategorization model
1062
+ */
1063
+ readonly fields: problemCategorizationFieldRefs;
1064
+ }
1065
+
1066
+ /**
1067
+ * The delegate class that acts as a "Promise-like" for problemCategorization.
1068
+ * Why is this prefixed with `Prisma__`?
1069
+ * Because we want to prevent naming conflicts as mentioned in
1070
+ * https://github.com/prisma/prisma-client-js/issues/707
1071
+ */
1072
+ export interface Prisma__problemCategorizationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1073
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1074
+ project<T extends Prisma.problemCategorization$projectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.problemCategorization$projectArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1075
+ /**
1076
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1077
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1078
+ * @param onrejected The callback to execute when the Promise is rejected.
1079
+ * @returns A Promise for the completion of which ever callback is executed.
1080
+ */
1081
+ 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>
1082
+ /**
1083
+ * Attaches a callback for only the rejection of the Promise.
1084
+ * @param onrejected The callback to execute when the Promise is rejected.
1085
+ * @returns A Promise for the completion of the callback.
1086
+ */
1087
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1088
+ /**
1089
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1090
+ * resolved value cannot be modified from the callback.
1091
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1092
+ * @returns A Promise for the completion of the callback.
1093
+ */
1094
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1095
+ }
1096
+
1097
+
1098
+
1099
+
1100
+ /**
1101
+ * Fields of the problemCategorization model
1102
+ */
1103
+ export interface problemCategorizationFieldRefs {
1104
+ readonly id: Prisma.FieldRef<"problemCategorization", 'String'>
1105
+ readonly no: Prisma.FieldRef<"problemCategorization", 'Int'>
1106
+ readonly reason: Prisma.FieldRef<"problemCategorization", 'String'>
1107
+ readonly problemType: Prisma.FieldRef<"problemCategorization", 'String'>
1108
+ readonly platformName: Prisma.FieldRef<"problemCategorization", 'String'>
1109
+ readonly projectId: Prisma.FieldRef<"problemCategorization", 'String'>
1110
+ readonly createdAt: Prisma.FieldRef<"problemCategorization", 'DateTime'>
1111
+ readonly updatedAt: Prisma.FieldRef<"problemCategorization", 'DateTime'>
1112
+ readonly deletedAt: Prisma.FieldRef<"problemCategorization", 'DateTime'>
1113
+ }
1114
+
1115
+
1116
+ // Custom InputTypes
1117
+ /**
1118
+ * problemCategorization findUnique
1119
+ */
1120
+ export type problemCategorizationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1121
+ /**
1122
+ * Select specific fields to fetch from the problemCategorization
1123
+ */
1124
+ select?: Prisma.problemCategorizationSelect<ExtArgs> | null
1125
+ /**
1126
+ * Omit specific fields from the problemCategorization
1127
+ */
1128
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1129
+ /**
1130
+ * Choose, which related nodes to fetch as well
1131
+ */
1132
+ include?: Prisma.problemCategorizationInclude<ExtArgs> | null
1133
+ /**
1134
+ * Filter, which problemCategorization to fetch.
1135
+ */
1136
+ where: Prisma.problemCategorizationWhereUniqueInput
1137
+ }
1138
+
1139
+ /**
1140
+ * problemCategorization findUniqueOrThrow
1141
+ */
1142
+ export type problemCategorizationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1143
+ /**
1144
+ * Select specific fields to fetch from the problemCategorization
1145
+ */
1146
+ select?: Prisma.problemCategorizationSelect<ExtArgs> | null
1147
+ /**
1148
+ * Omit specific fields from the problemCategorization
1149
+ */
1150
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1151
+ /**
1152
+ * Choose, which related nodes to fetch as well
1153
+ */
1154
+ include?: Prisma.problemCategorizationInclude<ExtArgs> | null
1155
+ /**
1156
+ * Filter, which problemCategorization to fetch.
1157
+ */
1158
+ where: Prisma.problemCategorizationWhereUniqueInput
1159
+ }
1160
+
1161
+ /**
1162
+ * problemCategorization findFirst
1163
+ */
1164
+ export type problemCategorizationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1165
+ /**
1166
+ * Select specific fields to fetch from the problemCategorization
1167
+ */
1168
+ select?: Prisma.problemCategorizationSelect<ExtArgs> | null
1169
+ /**
1170
+ * Omit specific fields from the problemCategorization
1171
+ */
1172
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1173
+ /**
1174
+ * Choose, which related nodes to fetch as well
1175
+ */
1176
+ include?: Prisma.problemCategorizationInclude<ExtArgs> | null
1177
+ /**
1178
+ * Filter, which problemCategorization to fetch.
1179
+ */
1180
+ where?: Prisma.problemCategorizationWhereInput
1181
+ /**
1182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1183
+ *
1184
+ * Determine the order of problemCategorizations to fetch.
1185
+ */
1186
+ orderBy?: Prisma.problemCategorizationOrderByWithRelationInput | Prisma.problemCategorizationOrderByWithRelationInput[]
1187
+ /**
1188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1189
+ *
1190
+ * Sets the position for searching for problemCategorizations.
1191
+ */
1192
+ cursor?: Prisma.problemCategorizationWhereUniqueInput
1193
+ /**
1194
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1195
+ *
1196
+ * Take `±n` problemCategorizations from the position of the cursor.
1197
+ */
1198
+ take?: number
1199
+ /**
1200
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1201
+ *
1202
+ * Skip the first `n` problemCategorizations.
1203
+ */
1204
+ skip?: number
1205
+ /**
1206
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1207
+ *
1208
+ * Filter by unique combinations of problemCategorizations.
1209
+ */
1210
+ distinct?: Prisma.ProblemCategorizationScalarFieldEnum | Prisma.ProblemCategorizationScalarFieldEnum[]
1211
+ }
1212
+
1213
+ /**
1214
+ * problemCategorization findFirstOrThrow
1215
+ */
1216
+ export type problemCategorizationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1217
+ /**
1218
+ * Select specific fields to fetch from the problemCategorization
1219
+ */
1220
+ select?: Prisma.problemCategorizationSelect<ExtArgs> | null
1221
+ /**
1222
+ * Omit specific fields from the problemCategorization
1223
+ */
1224
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1225
+ /**
1226
+ * Choose, which related nodes to fetch as well
1227
+ */
1228
+ include?: Prisma.problemCategorizationInclude<ExtArgs> | null
1229
+ /**
1230
+ * Filter, which problemCategorization to fetch.
1231
+ */
1232
+ where?: Prisma.problemCategorizationWhereInput
1233
+ /**
1234
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1235
+ *
1236
+ * Determine the order of problemCategorizations to fetch.
1237
+ */
1238
+ orderBy?: Prisma.problemCategorizationOrderByWithRelationInput | Prisma.problemCategorizationOrderByWithRelationInput[]
1239
+ /**
1240
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1241
+ *
1242
+ * Sets the position for searching for problemCategorizations.
1243
+ */
1244
+ cursor?: Prisma.problemCategorizationWhereUniqueInput
1245
+ /**
1246
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1247
+ *
1248
+ * Take `±n` problemCategorizations from the position of the cursor.
1249
+ */
1250
+ take?: number
1251
+ /**
1252
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1253
+ *
1254
+ * Skip the first `n` problemCategorizations.
1255
+ */
1256
+ skip?: number
1257
+ /**
1258
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1259
+ *
1260
+ * Filter by unique combinations of problemCategorizations.
1261
+ */
1262
+ distinct?: Prisma.ProblemCategorizationScalarFieldEnum | Prisma.ProblemCategorizationScalarFieldEnum[]
1263
+ }
1264
+
1265
+ /**
1266
+ * problemCategorization findMany
1267
+ */
1268
+ export type problemCategorizationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1269
+ /**
1270
+ * Select specific fields to fetch from the problemCategorization
1271
+ */
1272
+ select?: Prisma.problemCategorizationSelect<ExtArgs> | null
1273
+ /**
1274
+ * Omit specific fields from the problemCategorization
1275
+ */
1276
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1277
+ /**
1278
+ * Choose, which related nodes to fetch as well
1279
+ */
1280
+ include?: Prisma.problemCategorizationInclude<ExtArgs> | null
1281
+ /**
1282
+ * Filter, which problemCategorizations to fetch.
1283
+ */
1284
+ where?: Prisma.problemCategorizationWhereInput
1285
+ /**
1286
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1287
+ *
1288
+ * Determine the order of problemCategorizations to fetch.
1289
+ */
1290
+ orderBy?: Prisma.problemCategorizationOrderByWithRelationInput | Prisma.problemCategorizationOrderByWithRelationInput[]
1291
+ /**
1292
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1293
+ *
1294
+ * Sets the position for listing problemCategorizations.
1295
+ */
1296
+ cursor?: Prisma.problemCategorizationWhereUniqueInput
1297
+ /**
1298
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1299
+ *
1300
+ * Take `±n` problemCategorizations from the position of the cursor.
1301
+ */
1302
+ take?: number
1303
+ /**
1304
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1305
+ *
1306
+ * Skip the first `n` problemCategorizations.
1307
+ */
1308
+ skip?: number
1309
+ distinct?: Prisma.ProblemCategorizationScalarFieldEnum | Prisma.ProblemCategorizationScalarFieldEnum[]
1310
+ }
1311
+
1312
+ /**
1313
+ * problemCategorization create
1314
+ */
1315
+ export type problemCategorizationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1316
+ /**
1317
+ * Select specific fields to fetch from the problemCategorization
1318
+ */
1319
+ select?: Prisma.problemCategorizationSelect<ExtArgs> | null
1320
+ /**
1321
+ * Omit specific fields from the problemCategorization
1322
+ */
1323
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1324
+ /**
1325
+ * Choose, which related nodes to fetch as well
1326
+ */
1327
+ include?: Prisma.problemCategorizationInclude<ExtArgs> | null
1328
+ /**
1329
+ * The data needed to create a problemCategorization.
1330
+ */
1331
+ data: Prisma.XOR<Prisma.problemCategorizationCreateInput, Prisma.problemCategorizationUncheckedCreateInput>
1332
+ }
1333
+
1334
+ /**
1335
+ * problemCategorization createMany
1336
+ */
1337
+ export type problemCategorizationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1338
+ /**
1339
+ * The data used to create many problemCategorizations.
1340
+ */
1341
+ data: Prisma.problemCategorizationCreateManyInput | Prisma.problemCategorizationCreateManyInput[]
1342
+ skipDuplicates?: boolean
1343
+ }
1344
+
1345
+ /**
1346
+ * problemCategorization createManyAndReturn
1347
+ */
1348
+ export type problemCategorizationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1349
+ /**
1350
+ * Select specific fields to fetch from the problemCategorization
1351
+ */
1352
+ select?: Prisma.problemCategorizationSelectCreateManyAndReturn<ExtArgs> | null
1353
+ /**
1354
+ * Omit specific fields from the problemCategorization
1355
+ */
1356
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1357
+ /**
1358
+ * The data used to create many problemCategorizations.
1359
+ */
1360
+ data: Prisma.problemCategorizationCreateManyInput | Prisma.problemCategorizationCreateManyInput[]
1361
+ skipDuplicates?: boolean
1362
+ /**
1363
+ * Choose, which related nodes to fetch as well
1364
+ */
1365
+ include?: Prisma.problemCategorizationIncludeCreateManyAndReturn<ExtArgs> | null
1366
+ }
1367
+
1368
+ /**
1369
+ * problemCategorization update
1370
+ */
1371
+ export type problemCategorizationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1372
+ /**
1373
+ * Select specific fields to fetch from the problemCategorization
1374
+ */
1375
+ select?: Prisma.problemCategorizationSelect<ExtArgs> | null
1376
+ /**
1377
+ * Omit specific fields from the problemCategorization
1378
+ */
1379
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1380
+ /**
1381
+ * Choose, which related nodes to fetch as well
1382
+ */
1383
+ include?: Prisma.problemCategorizationInclude<ExtArgs> | null
1384
+ /**
1385
+ * The data needed to update a problemCategorization.
1386
+ */
1387
+ data: Prisma.XOR<Prisma.problemCategorizationUpdateInput, Prisma.problemCategorizationUncheckedUpdateInput>
1388
+ /**
1389
+ * Choose, which problemCategorization to update.
1390
+ */
1391
+ where: Prisma.problemCategorizationWhereUniqueInput
1392
+ }
1393
+
1394
+ /**
1395
+ * problemCategorization updateMany
1396
+ */
1397
+ export type problemCategorizationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1398
+ /**
1399
+ * The data used to update problemCategorizations.
1400
+ */
1401
+ data: Prisma.XOR<Prisma.problemCategorizationUpdateManyMutationInput, Prisma.problemCategorizationUncheckedUpdateManyInput>
1402
+ /**
1403
+ * Filter which problemCategorizations to update
1404
+ */
1405
+ where?: Prisma.problemCategorizationWhereInput
1406
+ /**
1407
+ * Limit how many problemCategorizations to update.
1408
+ */
1409
+ limit?: number
1410
+ }
1411
+
1412
+ /**
1413
+ * problemCategorization updateManyAndReturn
1414
+ */
1415
+ export type problemCategorizationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1416
+ /**
1417
+ * Select specific fields to fetch from the problemCategorization
1418
+ */
1419
+ select?: Prisma.problemCategorizationSelectUpdateManyAndReturn<ExtArgs> | null
1420
+ /**
1421
+ * Omit specific fields from the problemCategorization
1422
+ */
1423
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1424
+ /**
1425
+ * The data used to update problemCategorizations.
1426
+ */
1427
+ data: Prisma.XOR<Prisma.problemCategorizationUpdateManyMutationInput, Prisma.problemCategorizationUncheckedUpdateManyInput>
1428
+ /**
1429
+ * Filter which problemCategorizations to update
1430
+ */
1431
+ where?: Prisma.problemCategorizationWhereInput
1432
+ /**
1433
+ * Limit how many problemCategorizations to update.
1434
+ */
1435
+ limit?: number
1436
+ /**
1437
+ * Choose, which related nodes to fetch as well
1438
+ */
1439
+ include?: Prisma.problemCategorizationIncludeUpdateManyAndReturn<ExtArgs> | null
1440
+ }
1441
+
1442
+ /**
1443
+ * problemCategorization upsert
1444
+ */
1445
+ export type problemCategorizationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1446
+ /**
1447
+ * Select specific fields to fetch from the problemCategorization
1448
+ */
1449
+ select?: Prisma.problemCategorizationSelect<ExtArgs> | null
1450
+ /**
1451
+ * Omit specific fields from the problemCategorization
1452
+ */
1453
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1454
+ /**
1455
+ * Choose, which related nodes to fetch as well
1456
+ */
1457
+ include?: Prisma.problemCategorizationInclude<ExtArgs> | null
1458
+ /**
1459
+ * The filter to search for the problemCategorization to update in case it exists.
1460
+ */
1461
+ where: Prisma.problemCategorizationWhereUniqueInput
1462
+ /**
1463
+ * In case the problemCategorization found by the `where` argument doesn't exist, create a new problemCategorization with this data.
1464
+ */
1465
+ create: Prisma.XOR<Prisma.problemCategorizationCreateInput, Prisma.problemCategorizationUncheckedCreateInput>
1466
+ /**
1467
+ * In case the problemCategorization was found with the provided `where` argument, update it with this data.
1468
+ */
1469
+ update: Prisma.XOR<Prisma.problemCategorizationUpdateInput, Prisma.problemCategorizationUncheckedUpdateInput>
1470
+ }
1471
+
1472
+ /**
1473
+ * problemCategorization delete
1474
+ */
1475
+ export type problemCategorizationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1476
+ /**
1477
+ * Select specific fields to fetch from the problemCategorization
1478
+ */
1479
+ select?: Prisma.problemCategorizationSelect<ExtArgs> | null
1480
+ /**
1481
+ * Omit specific fields from the problemCategorization
1482
+ */
1483
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1484
+ /**
1485
+ * Choose, which related nodes to fetch as well
1486
+ */
1487
+ include?: Prisma.problemCategorizationInclude<ExtArgs> | null
1488
+ /**
1489
+ * Filter which problemCategorization to delete.
1490
+ */
1491
+ where: Prisma.problemCategorizationWhereUniqueInput
1492
+ }
1493
+
1494
+ /**
1495
+ * problemCategorization deleteMany
1496
+ */
1497
+ export type problemCategorizationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1498
+ /**
1499
+ * Filter which problemCategorizations to delete
1500
+ */
1501
+ where?: Prisma.problemCategorizationWhereInput
1502
+ /**
1503
+ * Limit how many problemCategorizations to delete.
1504
+ */
1505
+ limit?: number
1506
+ }
1507
+
1508
+ /**
1509
+ * problemCategorization.project
1510
+ */
1511
+ export type problemCategorization$projectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1512
+ /**
1513
+ * Select specific fields to fetch from the Project
1514
+ */
1515
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1516
+ /**
1517
+ * Omit specific fields from the Project
1518
+ */
1519
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1520
+ /**
1521
+ * Choose, which related nodes to fetch as well
1522
+ */
1523
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1524
+ where?: Prisma.ProjectWhereInput
1525
+ }
1526
+
1527
+ /**
1528
+ * problemCategorization without action
1529
+ */
1530
+ export type problemCategorizationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1531
+ /**
1532
+ * Select specific fields to fetch from the problemCategorization
1533
+ */
1534
+ select?: Prisma.problemCategorizationSelect<ExtArgs> | null
1535
+ /**
1536
+ * Omit specific fields from the problemCategorization
1537
+ */
1538
+ omit?: Prisma.problemCategorizationOmit<ExtArgs> | null
1539
+ /**
1540
+ * Choose, which related nodes to fetch as well
1541
+ */
1542
+ include?: Prisma.problemCategorizationInclude<ExtArgs> | null
1543
+ }