efiber-prisma-schema 1.16.2 → 2.0.0

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 +13 -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,1375 @@
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 `ReportFormulaConfig` 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 ReportFormulaConfig
17
+ *
18
+ */
19
+ export type ReportFormulaConfigModel = runtime.Types.Result.DefaultSelection<Prisma.$ReportFormulaConfigPayload>
20
+
21
+ export type AggregateReportFormulaConfig = {
22
+ _count: ReportFormulaConfigCountAggregateOutputType | null
23
+ _avg: ReportFormulaConfigAvgAggregateOutputType | null
24
+ _sum: ReportFormulaConfigSumAggregateOutputType | null
25
+ _min: ReportFormulaConfigMinAggregateOutputType | null
26
+ _max: ReportFormulaConfigMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type ReportFormulaConfigAvgAggregateOutputType = {
30
+ numberOfVariables: number | null
31
+ }
32
+
33
+ export type ReportFormulaConfigSumAggregateOutputType = {
34
+ numberOfVariables: number | null
35
+ }
36
+
37
+ export type ReportFormulaConfigMinAggregateOutputType = {
38
+ metricId: string | null
39
+ resultName: string | null
40
+ numberOfVariables: number | null
41
+ resultFormat: $Enums.ValueFormat | null
42
+ }
43
+
44
+ export type ReportFormulaConfigMaxAggregateOutputType = {
45
+ metricId: string | null
46
+ resultName: string | null
47
+ numberOfVariables: number | null
48
+ resultFormat: $Enums.ValueFormat | null
49
+ }
50
+
51
+ export type ReportFormulaConfigCountAggregateOutputType = {
52
+ metricId: number
53
+ resultName: number
54
+ numberOfVariables: number
55
+ variableAttributes: number
56
+ operations: number
57
+ resultFormat: number
58
+ _all: number
59
+ }
60
+
61
+
62
+ export type ReportFormulaConfigAvgAggregateInputType = {
63
+ numberOfVariables?: true
64
+ }
65
+
66
+ export type ReportFormulaConfigSumAggregateInputType = {
67
+ numberOfVariables?: true
68
+ }
69
+
70
+ export type ReportFormulaConfigMinAggregateInputType = {
71
+ metricId?: true
72
+ resultName?: true
73
+ numberOfVariables?: true
74
+ resultFormat?: true
75
+ }
76
+
77
+ export type ReportFormulaConfigMaxAggregateInputType = {
78
+ metricId?: true
79
+ resultName?: true
80
+ numberOfVariables?: true
81
+ resultFormat?: true
82
+ }
83
+
84
+ export type ReportFormulaConfigCountAggregateInputType = {
85
+ metricId?: true
86
+ resultName?: true
87
+ numberOfVariables?: true
88
+ variableAttributes?: true
89
+ operations?: true
90
+ resultFormat?: true
91
+ _all?: true
92
+ }
93
+
94
+ export type ReportFormulaConfigAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
95
+ /**
96
+ * Filter which ReportFormulaConfig to aggregate.
97
+ */
98
+ where?: Prisma.ReportFormulaConfigWhereInput
99
+ /**
100
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
101
+ *
102
+ * Determine the order of ReportFormulaConfigs to fetch.
103
+ */
104
+ orderBy?: Prisma.ReportFormulaConfigOrderByWithRelationInput | Prisma.ReportFormulaConfigOrderByWithRelationInput[]
105
+ /**
106
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
107
+ *
108
+ * Sets the start position
109
+ */
110
+ cursor?: Prisma.ReportFormulaConfigWhereUniqueInput
111
+ /**
112
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
113
+ *
114
+ * Take `±n` ReportFormulaConfigs from the position of the cursor.
115
+ */
116
+ take?: number
117
+ /**
118
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
119
+ *
120
+ * Skip the first `n` ReportFormulaConfigs.
121
+ */
122
+ skip?: number
123
+ /**
124
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
125
+ *
126
+ * Count returned ReportFormulaConfigs
127
+ **/
128
+ _count?: true | ReportFormulaConfigCountAggregateInputType
129
+ /**
130
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
131
+ *
132
+ * Select which fields to average
133
+ **/
134
+ _avg?: ReportFormulaConfigAvgAggregateInputType
135
+ /**
136
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
137
+ *
138
+ * Select which fields to sum
139
+ **/
140
+ _sum?: ReportFormulaConfigSumAggregateInputType
141
+ /**
142
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
143
+ *
144
+ * Select which fields to find the minimum value
145
+ **/
146
+ _min?: ReportFormulaConfigMinAggregateInputType
147
+ /**
148
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
149
+ *
150
+ * Select which fields to find the maximum value
151
+ **/
152
+ _max?: ReportFormulaConfigMaxAggregateInputType
153
+ }
154
+
155
+ export type GetReportFormulaConfigAggregateType<T extends ReportFormulaConfigAggregateArgs> = {
156
+ [P in keyof T & keyof AggregateReportFormulaConfig]: P extends '_count' | 'count'
157
+ ? T[P] extends true
158
+ ? number
159
+ : Prisma.GetScalarType<T[P], AggregateReportFormulaConfig[P]>
160
+ : Prisma.GetScalarType<T[P], AggregateReportFormulaConfig[P]>
161
+ }
162
+
163
+
164
+
165
+
166
+ export type ReportFormulaConfigGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
167
+ where?: Prisma.ReportFormulaConfigWhereInput
168
+ orderBy?: Prisma.ReportFormulaConfigOrderByWithAggregationInput | Prisma.ReportFormulaConfigOrderByWithAggregationInput[]
169
+ by: Prisma.ReportFormulaConfigScalarFieldEnum[] | Prisma.ReportFormulaConfigScalarFieldEnum
170
+ having?: Prisma.ReportFormulaConfigScalarWhereWithAggregatesInput
171
+ take?: number
172
+ skip?: number
173
+ _count?: ReportFormulaConfigCountAggregateInputType | true
174
+ _avg?: ReportFormulaConfigAvgAggregateInputType
175
+ _sum?: ReportFormulaConfigSumAggregateInputType
176
+ _min?: ReportFormulaConfigMinAggregateInputType
177
+ _max?: ReportFormulaConfigMaxAggregateInputType
178
+ }
179
+
180
+ export type ReportFormulaConfigGroupByOutputType = {
181
+ metricId: string
182
+ resultName: string
183
+ numberOfVariables: number
184
+ variableAttributes: runtime.JsonValue
185
+ operations: $Enums.ArithmeticOperation[]
186
+ resultFormat: $Enums.ValueFormat
187
+ _count: ReportFormulaConfigCountAggregateOutputType | null
188
+ _avg: ReportFormulaConfigAvgAggregateOutputType | null
189
+ _sum: ReportFormulaConfigSumAggregateOutputType | null
190
+ _min: ReportFormulaConfigMinAggregateOutputType | null
191
+ _max: ReportFormulaConfigMaxAggregateOutputType | null
192
+ }
193
+
194
+ type GetReportFormulaConfigGroupByPayload<T extends ReportFormulaConfigGroupByArgs> = Prisma.PrismaPromise<
195
+ Array<
196
+ Prisma.PickEnumerable<ReportFormulaConfigGroupByOutputType, T['by']> &
197
+ {
198
+ [P in ((keyof T) & (keyof ReportFormulaConfigGroupByOutputType))]: P extends '_count'
199
+ ? T[P] extends boolean
200
+ ? number
201
+ : Prisma.GetScalarType<T[P], ReportFormulaConfigGroupByOutputType[P]>
202
+ : Prisma.GetScalarType<T[P], ReportFormulaConfigGroupByOutputType[P]>
203
+ }
204
+ >
205
+ >
206
+
207
+
208
+
209
+ export type ReportFormulaConfigWhereInput = {
210
+ AND?: Prisma.ReportFormulaConfigWhereInput | Prisma.ReportFormulaConfigWhereInput[]
211
+ OR?: Prisma.ReportFormulaConfigWhereInput[]
212
+ NOT?: Prisma.ReportFormulaConfigWhereInput | Prisma.ReportFormulaConfigWhereInput[]
213
+ metricId?: Prisma.StringFilter<"ReportFormulaConfig"> | string
214
+ resultName?: Prisma.StringFilter<"ReportFormulaConfig"> | string
215
+ numberOfVariables?: Prisma.IntFilter<"ReportFormulaConfig"> | number
216
+ variableAttributes?: Prisma.JsonFilter<"ReportFormulaConfig">
217
+ operations?: Prisma.EnumArithmeticOperationNullableListFilter<"ReportFormulaConfig">
218
+ resultFormat?: Prisma.EnumValueFormatFilter<"ReportFormulaConfig"> | $Enums.ValueFormat
219
+ metric?: Prisma.XOR<Prisma.ReportMetricScalarRelationFilter, Prisma.ReportMetricWhereInput>
220
+ }
221
+
222
+ export type ReportFormulaConfigOrderByWithRelationInput = {
223
+ metricId?: Prisma.SortOrder
224
+ resultName?: Prisma.SortOrder
225
+ numberOfVariables?: Prisma.SortOrder
226
+ variableAttributes?: Prisma.SortOrder
227
+ operations?: Prisma.SortOrder
228
+ resultFormat?: Prisma.SortOrder
229
+ metric?: Prisma.ReportMetricOrderByWithRelationInput
230
+ }
231
+
232
+ export type ReportFormulaConfigWhereUniqueInput = Prisma.AtLeast<{
233
+ metricId?: string
234
+ AND?: Prisma.ReportFormulaConfigWhereInput | Prisma.ReportFormulaConfigWhereInput[]
235
+ OR?: Prisma.ReportFormulaConfigWhereInput[]
236
+ NOT?: Prisma.ReportFormulaConfigWhereInput | Prisma.ReportFormulaConfigWhereInput[]
237
+ resultName?: Prisma.StringFilter<"ReportFormulaConfig"> | string
238
+ numberOfVariables?: Prisma.IntFilter<"ReportFormulaConfig"> | number
239
+ variableAttributes?: Prisma.JsonFilter<"ReportFormulaConfig">
240
+ operations?: Prisma.EnumArithmeticOperationNullableListFilter<"ReportFormulaConfig">
241
+ resultFormat?: Prisma.EnumValueFormatFilter<"ReportFormulaConfig"> | $Enums.ValueFormat
242
+ metric?: Prisma.XOR<Prisma.ReportMetricScalarRelationFilter, Prisma.ReportMetricWhereInput>
243
+ }, "metricId">
244
+
245
+ export type ReportFormulaConfigOrderByWithAggregationInput = {
246
+ metricId?: Prisma.SortOrder
247
+ resultName?: Prisma.SortOrder
248
+ numberOfVariables?: Prisma.SortOrder
249
+ variableAttributes?: Prisma.SortOrder
250
+ operations?: Prisma.SortOrder
251
+ resultFormat?: Prisma.SortOrder
252
+ _count?: Prisma.ReportFormulaConfigCountOrderByAggregateInput
253
+ _avg?: Prisma.ReportFormulaConfigAvgOrderByAggregateInput
254
+ _max?: Prisma.ReportFormulaConfigMaxOrderByAggregateInput
255
+ _min?: Prisma.ReportFormulaConfigMinOrderByAggregateInput
256
+ _sum?: Prisma.ReportFormulaConfigSumOrderByAggregateInput
257
+ }
258
+
259
+ export type ReportFormulaConfigScalarWhereWithAggregatesInput = {
260
+ AND?: Prisma.ReportFormulaConfigScalarWhereWithAggregatesInput | Prisma.ReportFormulaConfigScalarWhereWithAggregatesInput[]
261
+ OR?: Prisma.ReportFormulaConfigScalarWhereWithAggregatesInput[]
262
+ NOT?: Prisma.ReportFormulaConfigScalarWhereWithAggregatesInput | Prisma.ReportFormulaConfigScalarWhereWithAggregatesInput[]
263
+ metricId?: Prisma.StringWithAggregatesFilter<"ReportFormulaConfig"> | string
264
+ resultName?: Prisma.StringWithAggregatesFilter<"ReportFormulaConfig"> | string
265
+ numberOfVariables?: Prisma.IntWithAggregatesFilter<"ReportFormulaConfig"> | number
266
+ variableAttributes?: Prisma.JsonWithAggregatesFilter<"ReportFormulaConfig">
267
+ operations?: Prisma.EnumArithmeticOperationNullableListFilter<"ReportFormulaConfig">
268
+ resultFormat?: Prisma.EnumValueFormatWithAggregatesFilter<"ReportFormulaConfig"> | $Enums.ValueFormat
269
+ }
270
+
271
+ export type ReportFormulaConfigCreateInput = {
272
+ resultName: string
273
+ numberOfVariables: number
274
+ variableAttributes: Prisma.JsonNullValueInput | runtime.InputJsonValue
275
+ operations?: Prisma.ReportFormulaConfigCreateoperationsInput | $Enums.ArithmeticOperation[]
276
+ resultFormat?: $Enums.ValueFormat
277
+ metric: Prisma.ReportMetricCreateNestedOneWithoutFormulaConfigInput
278
+ }
279
+
280
+ export type ReportFormulaConfigUncheckedCreateInput = {
281
+ metricId: string
282
+ resultName: string
283
+ numberOfVariables: number
284
+ variableAttributes: Prisma.JsonNullValueInput | runtime.InputJsonValue
285
+ operations?: Prisma.ReportFormulaConfigCreateoperationsInput | $Enums.ArithmeticOperation[]
286
+ resultFormat?: $Enums.ValueFormat
287
+ }
288
+
289
+ export type ReportFormulaConfigUpdateInput = {
290
+ resultName?: Prisma.StringFieldUpdateOperationsInput | string
291
+ numberOfVariables?: Prisma.IntFieldUpdateOperationsInput | number
292
+ variableAttributes?: Prisma.JsonNullValueInput | runtime.InputJsonValue
293
+ operations?: Prisma.ReportFormulaConfigUpdateoperationsInput | $Enums.ArithmeticOperation[]
294
+ resultFormat?: Prisma.EnumValueFormatFieldUpdateOperationsInput | $Enums.ValueFormat
295
+ metric?: Prisma.ReportMetricUpdateOneRequiredWithoutFormulaConfigNestedInput
296
+ }
297
+
298
+ export type ReportFormulaConfigUncheckedUpdateInput = {
299
+ metricId?: Prisma.StringFieldUpdateOperationsInput | string
300
+ resultName?: Prisma.StringFieldUpdateOperationsInput | string
301
+ numberOfVariables?: Prisma.IntFieldUpdateOperationsInput | number
302
+ variableAttributes?: Prisma.JsonNullValueInput | runtime.InputJsonValue
303
+ operations?: Prisma.ReportFormulaConfigUpdateoperationsInput | $Enums.ArithmeticOperation[]
304
+ resultFormat?: Prisma.EnumValueFormatFieldUpdateOperationsInput | $Enums.ValueFormat
305
+ }
306
+
307
+ export type ReportFormulaConfigCreateManyInput = {
308
+ metricId: string
309
+ resultName: string
310
+ numberOfVariables: number
311
+ variableAttributes: Prisma.JsonNullValueInput | runtime.InputJsonValue
312
+ operations?: Prisma.ReportFormulaConfigCreateoperationsInput | $Enums.ArithmeticOperation[]
313
+ resultFormat?: $Enums.ValueFormat
314
+ }
315
+
316
+ export type ReportFormulaConfigUpdateManyMutationInput = {
317
+ resultName?: Prisma.StringFieldUpdateOperationsInput | string
318
+ numberOfVariables?: Prisma.IntFieldUpdateOperationsInput | number
319
+ variableAttributes?: Prisma.JsonNullValueInput | runtime.InputJsonValue
320
+ operations?: Prisma.ReportFormulaConfigUpdateoperationsInput | $Enums.ArithmeticOperation[]
321
+ resultFormat?: Prisma.EnumValueFormatFieldUpdateOperationsInput | $Enums.ValueFormat
322
+ }
323
+
324
+ export type ReportFormulaConfigUncheckedUpdateManyInput = {
325
+ metricId?: Prisma.StringFieldUpdateOperationsInput | string
326
+ resultName?: Prisma.StringFieldUpdateOperationsInput | string
327
+ numberOfVariables?: Prisma.IntFieldUpdateOperationsInput | number
328
+ variableAttributes?: Prisma.JsonNullValueInput | runtime.InputJsonValue
329
+ operations?: Prisma.ReportFormulaConfigUpdateoperationsInput | $Enums.ArithmeticOperation[]
330
+ resultFormat?: Prisma.EnumValueFormatFieldUpdateOperationsInput | $Enums.ValueFormat
331
+ }
332
+
333
+ export type ReportFormulaConfigNullableScalarRelationFilter = {
334
+ is?: Prisma.ReportFormulaConfigWhereInput | null
335
+ isNot?: Prisma.ReportFormulaConfigWhereInput | null
336
+ }
337
+
338
+ export type EnumArithmeticOperationNullableListFilter<$PrismaModel = never> = {
339
+ equals?: $Enums.ArithmeticOperation[] | Prisma.ListEnumArithmeticOperationFieldRefInput<$PrismaModel> | null
340
+ has?: $Enums.ArithmeticOperation | Prisma.EnumArithmeticOperationFieldRefInput<$PrismaModel> | null
341
+ hasEvery?: $Enums.ArithmeticOperation[] | Prisma.ListEnumArithmeticOperationFieldRefInput<$PrismaModel>
342
+ hasSome?: $Enums.ArithmeticOperation[] | Prisma.ListEnumArithmeticOperationFieldRefInput<$PrismaModel>
343
+ isEmpty?: boolean
344
+ }
345
+
346
+ export type ReportFormulaConfigCountOrderByAggregateInput = {
347
+ metricId?: Prisma.SortOrder
348
+ resultName?: Prisma.SortOrder
349
+ numberOfVariables?: Prisma.SortOrder
350
+ variableAttributes?: Prisma.SortOrder
351
+ operations?: Prisma.SortOrder
352
+ resultFormat?: Prisma.SortOrder
353
+ }
354
+
355
+ export type ReportFormulaConfigAvgOrderByAggregateInput = {
356
+ numberOfVariables?: Prisma.SortOrder
357
+ }
358
+
359
+ export type ReportFormulaConfigMaxOrderByAggregateInput = {
360
+ metricId?: Prisma.SortOrder
361
+ resultName?: Prisma.SortOrder
362
+ numberOfVariables?: Prisma.SortOrder
363
+ resultFormat?: Prisma.SortOrder
364
+ }
365
+
366
+ export type ReportFormulaConfigMinOrderByAggregateInput = {
367
+ metricId?: Prisma.SortOrder
368
+ resultName?: Prisma.SortOrder
369
+ numberOfVariables?: Prisma.SortOrder
370
+ resultFormat?: Prisma.SortOrder
371
+ }
372
+
373
+ export type ReportFormulaConfigSumOrderByAggregateInput = {
374
+ numberOfVariables?: Prisma.SortOrder
375
+ }
376
+
377
+ export type ReportFormulaConfigCreateNestedOneWithoutMetricInput = {
378
+ create?: Prisma.XOR<Prisma.ReportFormulaConfigCreateWithoutMetricInput, Prisma.ReportFormulaConfigUncheckedCreateWithoutMetricInput>
379
+ connectOrCreate?: Prisma.ReportFormulaConfigCreateOrConnectWithoutMetricInput
380
+ connect?: Prisma.ReportFormulaConfigWhereUniqueInput
381
+ }
382
+
383
+ export type ReportFormulaConfigUncheckedCreateNestedOneWithoutMetricInput = {
384
+ create?: Prisma.XOR<Prisma.ReportFormulaConfigCreateWithoutMetricInput, Prisma.ReportFormulaConfigUncheckedCreateWithoutMetricInput>
385
+ connectOrCreate?: Prisma.ReportFormulaConfigCreateOrConnectWithoutMetricInput
386
+ connect?: Prisma.ReportFormulaConfigWhereUniqueInput
387
+ }
388
+
389
+ export type ReportFormulaConfigUpdateOneWithoutMetricNestedInput = {
390
+ create?: Prisma.XOR<Prisma.ReportFormulaConfigCreateWithoutMetricInput, Prisma.ReportFormulaConfigUncheckedCreateWithoutMetricInput>
391
+ connectOrCreate?: Prisma.ReportFormulaConfigCreateOrConnectWithoutMetricInput
392
+ upsert?: Prisma.ReportFormulaConfigUpsertWithoutMetricInput
393
+ disconnect?: Prisma.ReportFormulaConfigWhereInput | boolean
394
+ delete?: Prisma.ReportFormulaConfigWhereInput | boolean
395
+ connect?: Prisma.ReportFormulaConfigWhereUniqueInput
396
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ReportFormulaConfigUpdateToOneWithWhereWithoutMetricInput, Prisma.ReportFormulaConfigUpdateWithoutMetricInput>, Prisma.ReportFormulaConfigUncheckedUpdateWithoutMetricInput>
397
+ }
398
+
399
+ export type ReportFormulaConfigUncheckedUpdateOneWithoutMetricNestedInput = {
400
+ create?: Prisma.XOR<Prisma.ReportFormulaConfigCreateWithoutMetricInput, Prisma.ReportFormulaConfigUncheckedCreateWithoutMetricInput>
401
+ connectOrCreate?: Prisma.ReportFormulaConfigCreateOrConnectWithoutMetricInput
402
+ upsert?: Prisma.ReportFormulaConfigUpsertWithoutMetricInput
403
+ disconnect?: Prisma.ReportFormulaConfigWhereInput | boolean
404
+ delete?: Prisma.ReportFormulaConfigWhereInput | boolean
405
+ connect?: Prisma.ReportFormulaConfigWhereUniqueInput
406
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ReportFormulaConfigUpdateToOneWithWhereWithoutMetricInput, Prisma.ReportFormulaConfigUpdateWithoutMetricInput>, Prisma.ReportFormulaConfigUncheckedUpdateWithoutMetricInput>
407
+ }
408
+
409
+ export type ReportFormulaConfigCreateoperationsInput = {
410
+ set: $Enums.ArithmeticOperation[]
411
+ }
412
+
413
+ export type ReportFormulaConfigUpdateoperationsInput = {
414
+ set?: $Enums.ArithmeticOperation[]
415
+ push?: $Enums.ArithmeticOperation | $Enums.ArithmeticOperation[]
416
+ }
417
+
418
+ export type EnumValueFormatFieldUpdateOperationsInput = {
419
+ set?: $Enums.ValueFormat
420
+ }
421
+
422
+ export type ReportFormulaConfigCreateWithoutMetricInput = {
423
+ resultName: string
424
+ numberOfVariables: number
425
+ variableAttributes: Prisma.JsonNullValueInput | runtime.InputJsonValue
426
+ operations?: Prisma.ReportFormulaConfigCreateoperationsInput | $Enums.ArithmeticOperation[]
427
+ resultFormat?: $Enums.ValueFormat
428
+ }
429
+
430
+ export type ReportFormulaConfigUncheckedCreateWithoutMetricInput = {
431
+ resultName: string
432
+ numberOfVariables: number
433
+ variableAttributes: Prisma.JsonNullValueInput | runtime.InputJsonValue
434
+ operations?: Prisma.ReportFormulaConfigCreateoperationsInput | $Enums.ArithmeticOperation[]
435
+ resultFormat?: $Enums.ValueFormat
436
+ }
437
+
438
+ export type ReportFormulaConfigCreateOrConnectWithoutMetricInput = {
439
+ where: Prisma.ReportFormulaConfigWhereUniqueInput
440
+ create: Prisma.XOR<Prisma.ReportFormulaConfigCreateWithoutMetricInput, Prisma.ReportFormulaConfigUncheckedCreateWithoutMetricInput>
441
+ }
442
+
443
+ export type ReportFormulaConfigUpsertWithoutMetricInput = {
444
+ update: Prisma.XOR<Prisma.ReportFormulaConfigUpdateWithoutMetricInput, Prisma.ReportFormulaConfigUncheckedUpdateWithoutMetricInput>
445
+ create: Prisma.XOR<Prisma.ReportFormulaConfigCreateWithoutMetricInput, Prisma.ReportFormulaConfigUncheckedCreateWithoutMetricInput>
446
+ where?: Prisma.ReportFormulaConfigWhereInput
447
+ }
448
+
449
+ export type ReportFormulaConfigUpdateToOneWithWhereWithoutMetricInput = {
450
+ where?: Prisma.ReportFormulaConfigWhereInput
451
+ data: Prisma.XOR<Prisma.ReportFormulaConfigUpdateWithoutMetricInput, Prisma.ReportFormulaConfigUncheckedUpdateWithoutMetricInput>
452
+ }
453
+
454
+ export type ReportFormulaConfigUpdateWithoutMetricInput = {
455
+ resultName?: Prisma.StringFieldUpdateOperationsInput | string
456
+ numberOfVariables?: Prisma.IntFieldUpdateOperationsInput | number
457
+ variableAttributes?: Prisma.JsonNullValueInput | runtime.InputJsonValue
458
+ operations?: Prisma.ReportFormulaConfigUpdateoperationsInput | $Enums.ArithmeticOperation[]
459
+ resultFormat?: Prisma.EnumValueFormatFieldUpdateOperationsInput | $Enums.ValueFormat
460
+ }
461
+
462
+ export type ReportFormulaConfigUncheckedUpdateWithoutMetricInput = {
463
+ resultName?: Prisma.StringFieldUpdateOperationsInput | string
464
+ numberOfVariables?: Prisma.IntFieldUpdateOperationsInput | number
465
+ variableAttributes?: Prisma.JsonNullValueInput | runtime.InputJsonValue
466
+ operations?: Prisma.ReportFormulaConfigUpdateoperationsInput | $Enums.ArithmeticOperation[]
467
+ resultFormat?: Prisma.EnumValueFormatFieldUpdateOperationsInput | $Enums.ValueFormat
468
+ }
469
+
470
+
471
+
472
+ export type ReportFormulaConfigSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
473
+ metricId?: boolean
474
+ resultName?: boolean
475
+ numberOfVariables?: boolean
476
+ variableAttributes?: boolean
477
+ operations?: boolean
478
+ resultFormat?: boolean
479
+ metric?: boolean | Prisma.ReportMetricDefaultArgs<ExtArgs>
480
+ }, ExtArgs["result"]["reportFormulaConfig"]>
481
+
482
+ export type ReportFormulaConfigSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
483
+ metricId?: boolean
484
+ resultName?: boolean
485
+ numberOfVariables?: boolean
486
+ variableAttributes?: boolean
487
+ operations?: boolean
488
+ resultFormat?: boolean
489
+ metric?: boolean | Prisma.ReportMetricDefaultArgs<ExtArgs>
490
+ }, ExtArgs["result"]["reportFormulaConfig"]>
491
+
492
+ export type ReportFormulaConfigSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
493
+ metricId?: boolean
494
+ resultName?: boolean
495
+ numberOfVariables?: boolean
496
+ variableAttributes?: boolean
497
+ operations?: boolean
498
+ resultFormat?: boolean
499
+ metric?: boolean | Prisma.ReportMetricDefaultArgs<ExtArgs>
500
+ }, ExtArgs["result"]["reportFormulaConfig"]>
501
+
502
+ export type ReportFormulaConfigSelectScalar = {
503
+ metricId?: boolean
504
+ resultName?: boolean
505
+ numberOfVariables?: boolean
506
+ variableAttributes?: boolean
507
+ operations?: boolean
508
+ resultFormat?: boolean
509
+ }
510
+
511
+ export type ReportFormulaConfigOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"metricId" | "resultName" | "numberOfVariables" | "variableAttributes" | "operations" | "resultFormat", ExtArgs["result"]["reportFormulaConfig"]>
512
+ export type ReportFormulaConfigInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
513
+ metric?: boolean | Prisma.ReportMetricDefaultArgs<ExtArgs>
514
+ }
515
+ export type ReportFormulaConfigIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
516
+ metric?: boolean | Prisma.ReportMetricDefaultArgs<ExtArgs>
517
+ }
518
+ export type ReportFormulaConfigIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
519
+ metric?: boolean | Prisma.ReportMetricDefaultArgs<ExtArgs>
520
+ }
521
+
522
+ export type $ReportFormulaConfigPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
523
+ name: "ReportFormulaConfig"
524
+ objects: {
525
+ metric: Prisma.$ReportMetricPayload<ExtArgs>
526
+ }
527
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
528
+ metricId: string
529
+ resultName: string
530
+ numberOfVariables: number
531
+ variableAttributes: runtime.JsonValue
532
+ operations: $Enums.ArithmeticOperation[]
533
+ resultFormat: $Enums.ValueFormat
534
+ }, ExtArgs["result"]["reportFormulaConfig"]>
535
+ composites: {}
536
+ }
537
+
538
+ export type ReportFormulaConfigGetPayload<S extends boolean | null | undefined | ReportFormulaConfigDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload, S>
539
+
540
+ export type ReportFormulaConfigCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
541
+ Omit<ReportFormulaConfigFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
542
+ select?: ReportFormulaConfigCountAggregateInputType | true
543
+ }
544
+
545
+ export interface ReportFormulaConfigDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
546
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ReportFormulaConfig'], meta: { name: 'ReportFormulaConfig' } }
547
+ /**
548
+ * Find zero or one ReportFormulaConfig that matches the filter.
549
+ * @param {ReportFormulaConfigFindUniqueArgs} args - Arguments to find a ReportFormulaConfig
550
+ * @example
551
+ * // Get one ReportFormulaConfig
552
+ * const reportFormulaConfig = await prisma.reportFormulaConfig.findUnique({
553
+ * where: {
554
+ * // ... provide filter here
555
+ * }
556
+ * })
557
+ */
558
+ findUnique<T extends ReportFormulaConfigFindUniqueArgs>(args: Prisma.SelectSubset<T, ReportFormulaConfigFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ReportFormulaConfigClient<runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
559
+
560
+ /**
561
+ * Find one ReportFormulaConfig that matches the filter or throw an error with `error.code='P2025'`
562
+ * if no matches were found.
563
+ * @param {ReportFormulaConfigFindUniqueOrThrowArgs} args - Arguments to find a ReportFormulaConfig
564
+ * @example
565
+ * // Get one ReportFormulaConfig
566
+ * const reportFormulaConfig = await prisma.reportFormulaConfig.findUniqueOrThrow({
567
+ * where: {
568
+ * // ... provide filter here
569
+ * }
570
+ * })
571
+ */
572
+ findUniqueOrThrow<T extends ReportFormulaConfigFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ReportFormulaConfigFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ReportFormulaConfigClient<runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
573
+
574
+ /**
575
+ * Find the first ReportFormulaConfig that matches the filter.
576
+ * Note, that providing `undefined` is treated as the value not being there.
577
+ * Read more here: https://pris.ly/d/null-undefined
578
+ * @param {ReportFormulaConfigFindFirstArgs} args - Arguments to find a ReportFormulaConfig
579
+ * @example
580
+ * // Get one ReportFormulaConfig
581
+ * const reportFormulaConfig = await prisma.reportFormulaConfig.findFirst({
582
+ * where: {
583
+ * // ... provide filter here
584
+ * }
585
+ * })
586
+ */
587
+ findFirst<T extends ReportFormulaConfigFindFirstArgs>(args?: Prisma.SelectSubset<T, ReportFormulaConfigFindFirstArgs<ExtArgs>>): Prisma.Prisma__ReportFormulaConfigClient<runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
588
+
589
+ /**
590
+ * Find the first ReportFormulaConfig that matches the filter or
591
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
592
+ * Note, that providing `undefined` is treated as the value not being there.
593
+ * Read more here: https://pris.ly/d/null-undefined
594
+ * @param {ReportFormulaConfigFindFirstOrThrowArgs} args - Arguments to find a ReportFormulaConfig
595
+ * @example
596
+ * // Get one ReportFormulaConfig
597
+ * const reportFormulaConfig = await prisma.reportFormulaConfig.findFirstOrThrow({
598
+ * where: {
599
+ * // ... provide filter here
600
+ * }
601
+ * })
602
+ */
603
+ findFirstOrThrow<T extends ReportFormulaConfigFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ReportFormulaConfigFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ReportFormulaConfigClient<runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
604
+
605
+ /**
606
+ * Find zero or more ReportFormulaConfigs that matches the filter.
607
+ * Note, that providing `undefined` is treated as the value not being there.
608
+ * Read more here: https://pris.ly/d/null-undefined
609
+ * @param {ReportFormulaConfigFindManyArgs} args - Arguments to filter and select certain fields only.
610
+ * @example
611
+ * // Get all ReportFormulaConfigs
612
+ * const reportFormulaConfigs = await prisma.reportFormulaConfig.findMany()
613
+ *
614
+ * // Get first 10 ReportFormulaConfigs
615
+ * const reportFormulaConfigs = await prisma.reportFormulaConfig.findMany({ take: 10 })
616
+ *
617
+ * // Only select the `metricId`
618
+ * const reportFormulaConfigWithMetricIdOnly = await prisma.reportFormulaConfig.findMany({ select: { metricId: true } })
619
+ *
620
+ */
621
+ findMany<T extends ReportFormulaConfigFindManyArgs>(args?: Prisma.SelectSubset<T, ReportFormulaConfigFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
622
+
623
+ /**
624
+ * Create a ReportFormulaConfig.
625
+ * @param {ReportFormulaConfigCreateArgs} args - Arguments to create a ReportFormulaConfig.
626
+ * @example
627
+ * // Create one ReportFormulaConfig
628
+ * const ReportFormulaConfig = await prisma.reportFormulaConfig.create({
629
+ * data: {
630
+ * // ... data to create a ReportFormulaConfig
631
+ * }
632
+ * })
633
+ *
634
+ */
635
+ create<T extends ReportFormulaConfigCreateArgs>(args: Prisma.SelectSubset<T, ReportFormulaConfigCreateArgs<ExtArgs>>): Prisma.Prisma__ReportFormulaConfigClient<runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
636
+
637
+ /**
638
+ * Create many ReportFormulaConfigs.
639
+ * @param {ReportFormulaConfigCreateManyArgs} args - Arguments to create many ReportFormulaConfigs.
640
+ * @example
641
+ * // Create many ReportFormulaConfigs
642
+ * const reportFormulaConfig = await prisma.reportFormulaConfig.createMany({
643
+ * data: [
644
+ * // ... provide data here
645
+ * ]
646
+ * })
647
+ *
648
+ */
649
+ createMany<T extends ReportFormulaConfigCreateManyArgs>(args?: Prisma.SelectSubset<T, ReportFormulaConfigCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
650
+
651
+ /**
652
+ * Create many ReportFormulaConfigs and returns the data saved in the database.
653
+ * @param {ReportFormulaConfigCreateManyAndReturnArgs} args - Arguments to create many ReportFormulaConfigs.
654
+ * @example
655
+ * // Create many ReportFormulaConfigs
656
+ * const reportFormulaConfig = await prisma.reportFormulaConfig.createManyAndReturn({
657
+ * data: [
658
+ * // ... provide data here
659
+ * ]
660
+ * })
661
+ *
662
+ * // Create many ReportFormulaConfigs and only return the `metricId`
663
+ * const reportFormulaConfigWithMetricIdOnly = await prisma.reportFormulaConfig.createManyAndReturn({
664
+ * select: { metricId: true },
665
+ * data: [
666
+ * // ... provide data here
667
+ * ]
668
+ * })
669
+ * Note, that providing `undefined` is treated as the value not being there.
670
+ * Read more here: https://pris.ly/d/null-undefined
671
+ *
672
+ */
673
+ createManyAndReturn<T extends ReportFormulaConfigCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ReportFormulaConfigCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
674
+
675
+ /**
676
+ * Delete a ReportFormulaConfig.
677
+ * @param {ReportFormulaConfigDeleteArgs} args - Arguments to delete one ReportFormulaConfig.
678
+ * @example
679
+ * // Delete one ReportFormulaConfig
680
+ * const ReportFormulaConfig = await prisma.reportFormulaConfig.delete({
681
+ * where: {
682
+ * // ... filter to delete one ReportFormulaConfig
683
+ * }
684
+ * })
685
+ *
686
+ */
687
+ delete<T extends ReportFormulaConfigDeleteArgs>(args: Prisma.SelectSubset<T, ReportFormulaConfigDeleteArgs<ExtArgs>>): Prisma.Prisma__ReportFormulaConfigClient<runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
688
+
689
+ /**
690
+ * Update one ReportFormulaConfig.
691
+ * @param {ReportFormulaConfigUpdateArgs} args - Arguments to update one ReportFormulaConfig.
692
+ * @example
693
+ * // Update one ReportFormulaConfig
694
+ * const reportFormulaConfig = await prisma.reportFormulaConfig.update({
695
+ * where: {
696
+ * // ... provide filter here
697
+ * },
698
+ * data: {
699
+ * // ... provide data here
700
+ * }
701
+ * })
702
+ *
703
+ */
704
+ update<T extends ReportFormulaConfigUpdateArgs>(args: Prisma.SelectSubset<T, ReportFormulaConfigUpdateArgs<ExtArgs>>): Prisma.Prisma__ReportFormulaConfigClient<runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
705
+
706
+ /**
707
+ * Delete zero or more ReportFormulaConfigs.
708
+ * @param {ReportFormulaConfigDeleteManyArgs} args - Arguments to filter ReportFormulaConfigs to delete.
709
+ * @example
710
+ * // Delete a few ReportFormulaConfigs
711
+ * const { count } = await prisma.reportFormulaConfig.deleteMany({
712
+ * where: {
713
+ * // ... provide filter here
714
+ * }
715
+ * })
716
+ *
717
+ */
718
+ deleteMany<T extends ReportFormulaConfigDeleteManyArgs>(args?: Prisma.SelectSubset<T, ReportFormulaConfigDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
719
+
720
+ /**
721
+ * Update zero or more ReportFormulaConfigs.
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 {ReportFormulaConfigUpdateManyArgs} args - Arguments to update one or more rows.
725
+ * @example
726
+ * // Update many ReportFormulaConfigs
727
+ * const reportFormulaConfig = await prisma.reportFormulaConfig.updateMany({
728
+ * where: {
729
+ * // ... provide filter here
730
+ * },
731
+ * data: {
732
+ * // ... provide data here
733
+ * }
734
+ * })
735
+ *
736
+ */
737
+ updateMany<T extends ReportFormulaConfigUpdateManyArgs>(args: Prisma.SelectSubset<T, ReportFormulaConfigUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
738
+
739
+ /**
740
+ * Update zero or more ReportFormulaConfigs and returns the data updated in the database.
741
+ * @param {ReportFormulaConfigUpdateManyAndReturnArgs} args - Arguments to update many ReportFormulaConfigs.
742
+ * @example
743
+ * // Update many ReportFormulaConfigs
744
+ * const reportFormulaConfig = await prisma.reportFormulaConfig.updateManyAndReturn({
745
+ * where: {
746
+ * // ... provide filter here
747
+ * },
748
+ * data: [
749
+ * // ... provide data here
750
+ * ]
751
+ * })
752
+ *
753
+ * // Update zero or more ReportFormulaConfigs and only return the `metricId`
754
+ * const reportFormulaConfigWithMetricIdOnly = await prisma.reportFormulaConfig.updateManyAndReturn({
755
+ * select: { metricId: true },
756
+ * where: {
757
+ * // ... provide filter here
758
+ * },
759
+ * data: [
760
+ * // ... provide data here
761
+ * ]
762
+ * })
763
+ * Note, that providing `undefined` is treated as the value not being there.
764
+ * Read more here: https://pris.ly/d/null-undefined
765
+ *
766
+ */
767
+ updateManyAndReturn<T extends ReportFormulaConfigUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ReportFormulaConfigUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
768
+
769
+ /**
770
+ * Create or update one ReportFormulaConfig.
771
+ * @param {ReportFormulaConfigUpsertArgs} args - Arguments to update or create a ReportFormulaConfig.
772
+ * @example
773
+ * // Update or create a ReportFormulaConfig
774
+ * const reportFormulaConfig = await prisma.reportFormulaConfig.upsert({
775
+ * create: {
776
+ * // ... data to create a ReportFormulaConfig
777
+ * },
778
+ * update: {
779
+ * // ... in case it already exists, update
780
+ * },
781
+ * where: {
782
+ * // ... the filter for the ReportFormulaConfig we want to update
783
+ * }
784
+ * })
785
+ */
786
+ upsert<T extends ReportFormulaConfigUpsertArgs>(args: Prisma.SelectSubset<T, ReportFormulaConfigUpsertArgs<ExtArgs>>): Prisma.Prisma__ReportFormulaConfigClient<runtime.Types.Result.GetResult<Prisma.$ReportFormulaConfigPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
787
+
788
+
789
+ /**
790
+ * Count the number of ReportFormulaConfigs.
791
+ * Note, that providing `undefined` is treated as the value not being there.
792
+ * Read more here: https://pris.ly/d/null-undefined
793
+ * @param {ReportFormulaConfigCountArgs} args - Arguments to filter ReportFormulaConfigs to count.
794
+ * @example
795
+ * // Count the number of ReportFormulaConfigs
796
+ * const count = await prisma.reportFormulaConfig.count({
797
+ * where: {
798
+ * // ... the filter for the ReportFormulaConfigs we want to count
799
+ * }
800
+ * })
801
+ **/
802
+ count<T extends ReportFormulaConfigCountArgs>(
803
+ args?: Prisma.Subset<T, ReportFormulaConfigCountArgs>,
804
+ ): Prisma.PrismaPromise<
805
+ T extends runtime.Types.Utils.Record<'select', any>
806
+ ? T['select'] extends true
807
+ ? number
808
+ : Prisma.GetScalarType<T['select'], ReportFormulaConfigCountAggregateOutputType>
809
+ : number
810
+ >
811
+
812
+ /**
813
+ * Allows you to perform aggregations operations on a ReportFormulaConfig.
814
+ * Note, that providing `undefined` is treated as the value not being there.
815
+ * Read more here: https://pris.ly/d/null-undefined
816
+ * @param {ReportFormulaConfigAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
817
+ * @example
818
+ * // Ordered by age ascending
819
+ * // Where email contains prisma.io
820
+ * // Limited to the 10 users
821
+ * const aggregations = await prisma.user.aggregate({
822
+ * _avg: {
823
+ * age: true,
824
+ * },
825
+ * where: {
826
+ * email: {
827
+ * contains: "prisma.io",
828
+ * },
829
+ * },
830
+ * orderBy: {
831
+ * age: "asc",
832
+ * },
833
+ * take: 10,
834
+ * })
835
+ **/
836
+ aggregate<T extends ReportFormulaConfigAggregateArgs>(args: Prisma.Subset<T, ReportFormulaConfigAggregateArgs>): Prisma.PrismaPromise<GetReportFormulaConfigAggregateType<T>>
837
+
838
+ /**
839
+ * Group by ReportFormulaConfig.
840
+ * Note, that providing `undefined` is treated as the value not being there.
841
+ * Read more here: https://pris.ly/d/null-undefined
842
+ * @param {ReportFormulaConfigGroupByArgs} args - Group by arguments.
843
+ * @example
844
+ * // Group by city, order by createdAt, get count
845
+ * const result = await prisma.user.groupBy({
846
+ * by: ['city', 'createdAt'],
847
+ * orderBy: {
848
+ * createdAt: true
849
+ * },
850
+ * _count: {
851
+ * _all: true
852
+ * },
853
+ * })
854
+ *
855
+ **/
856
+ groupBy<
857
+ T extends ReportFormulaConfigGroupByArgs,
858
+ HasSelectOrTake extends Prisma.Or<
859
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
860
+ Prisma.Extends<'take', Prisma.Keys<T>>
861
+ >,
862
+ OrderByArg extends Prisma.True extends HasSelectOrTake
863
+ ? { orderBy: ReportFormulaConfigGroupByArgs['orderBy'] }
864
+ : { orderBy?: ReportFormulaConfigGroupByArgs['orderBy'] },
865
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
866
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
867
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
868
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
869
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
870
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
871
+ InputErrors extends ByEmpty extends Prisma.True
872
+ ? `Error: "by" must not be empty.`
873
+ : HavingValid extends Prisma.False
874
+ ? {
875
+ [P in HavingFields]: P extends ByFields
876
+ ? never
877
+ : P extends string
878
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
879
+ : [
880
+ Error,
881
+ 'Field ',
882
+ P,
883
+ ` in "having" needs to be provided in "by"`,
884
+ ]
885
+ }[HavingFields]
886
+ : 'take' extends Prisma.Keys<T>
887
+ ? 'orderBy' extends Prisma.Keys<T>
888
+ ? ByValid extends Prisma.True
889
+ ? {}
890
+ : {
891
+ [P in OrderFields]: P extends ByFields
892
+ ? never
893
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
894
+ }[OrderFields]
895
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
896
+ : 'skip' extends Prisma.Keys<T>
897
+ ? 'orderBy' extends Prisma.Keys<T>
898
+ ? ByValid extends Prisma.True
899
+ ? {}
900
+ : {
901
+ [P in OrderFields]: P extends ByFields
902
+ ? never
903
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
904
+ }[OrderFields]
905
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
906
+ : ByValid extends Prisma.True
907
+ ? {}
908
+ : {
909
+ [P in OrderFields]: P extends ByFields
910
+ ? never
911
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
912
+ }[OrderFields]
913
+ >(args: Prisma.SubsetIntersection<T, ReportFormulaConfigGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetReportFormulaConfigGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
914
+ /**
915
+ * Fields of the ReportFormulaConfig model
916
+ */
917
+ readonly fields: ReportFormulaConfigFieldRefs;
918
+ }
919
+
920
+ /**
921
+ * The delegate class that acts as a "Promise-like" for ReportFormulaConfig.
922
+ * Why is this prefixed with `Prisma__`?
923
+ * Because we want to prevent naming conflicts as mentioned in
924
+ * https://github.com/prisma/prisma-client-js/issues/707
925
+ */
926
+ export interface Prisma__ReportFormulaConfigClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
927
+ readonly [Symbol.toStringTag]: "PrismaPromise"
928
+ metric<T extends Prisma.ReportMetricDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ReportMetricDefaultArgs<ExtArgs>>): Prisma.Prisma__ReportMetricClient<runtime.Types.Result.GetResult<Prisma.$ReportMetricPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
929
+ /**
930
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
931
+ * @param onfulfilled The callback to execute when the Promise is resolved.
932
+ * @param onrejected The callback to execute when the Promise is rejected.
933
+ * @returns A Promise for the completion of which ever callback is executed.
934
+ */
935
+ 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>
936
+ /**
937
+ * Attaches a callback for only the rejection of the Promise.
938
+ * @param onrejected The callback to execute when the Promise is rejected.
939
+ * @returns A Promise for the completion of the callback.
940
+ */
941
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
942
+ /**
943
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
944
+ * resolved value cannot be modified from the callback.
945
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
946
+ * @returns A Promise for the completion of the callback.
947
+ */
948
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
949
+ }
950
+
951
+
952
+
953
+
954
+ /**
955
+ * Fields of the ReportFormulaConfig model
956
+ */
957
+ export interface ReportFormulaConfigFieldRefs {
958
+ readonly metricId: Prisma.FieldRef<"ReportFormulaConfig", 'String'>
959
+ readonly resultName: Prisma.FieldRef<"ReportFormulaConfig", 'String'>
960
+ readonly numberOfVariables: Prisma.FieldRef<"ReportFormulaConfig", 'Int'>
961
+ readonly variableAttributes: Prisma.FieldRef<"ReportFormulaConfig", 'Json'>
962
+ readonly operations: Prisma.FieldRef<"ReportFormulaConfig", 'ArithmeticOperation[]'>
963
+ readonly resultFormat: Prisma.FieldRef<"ReportFormulaConfig", 'ValueFormat'>
964
+ }
965
+
966
+
967
+ // Custom InputTypes
968
+ /**
969
+ * ReportFormulaConfig findUnique
970
+ */
971
+ export type ReportFormulaConfigFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
972
+ /**
973
+ * Select specific fields to fetch from the ReportFormulaConfig
974
+ */
975
+ select?: Prisma.ReportFormulaConfigSelect<ExtArgs> | null
976
+ /**
977
+ * Omit specific fields from the ReportFormulaConfig
978
+ */
979
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
980
+ /**
981
+ * Choose, which related nodes to fetch as well
982
+ */
983
+ include?: Prisma.ReportFormulaConfigInclude<ExtArgs> | null
984
+ /**
985
+ * Filter, which ReportFormulaConfig to fetch.
986
+ */
987
+ where: Prisma.ReportFormulaConfigWhereUniqueInput
988
+ }
989
+
990
+ /**
991
+ * ReportFormulaConfig findUniqueOrThrow
992
+ */
993
+ export type ReportFormulaConfigFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
994
+ /**
995
+ * Select specific fields to fetch from the ReportFormulaConfig
996
+ */
997
+ select?: Prisma.ReportFormulaConfigSelect<ExtArgs> | null
998
+ /**
999
+ * Omit specific fields from the ReportFormulaConfig
1000
+ */
1001
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
1002
+ /**
1003
+ * Choose, which related nodes to fetch as well
1004
+ */
1005
+ include?: Prisma.ReportFormulaConfigInclude<ExtArgs> | null
1006
+ /**
1007
+ * Filter, which ReportFormulaConfig to fetch.
1008
+ */
1009
+ where: Prisma.ReportFormulaConfigWhereUniqueInput
1010
+ }
1011
+
1012
+ /**
1013
+ * ReportFormulaConfig findFirst
1014
+ */
1015
+ export type ReportFormulaConfigFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1016
+ /**
1017
+ * Select specific fields to fetch from the ReportFormulaConfig
1018
+ */
1019
+ select?: Prisma.ReportFormulaConfigSelect<ExtArgs> | null
1020
+ /**
1021
+ * Omit specific fields from the ReportFormulaConfig
1022
+ */
1023
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
1024
+ /**
1025
+ * Choose, which related nodes to fetch as well
1026
+ */
1027
+ include?: Prisma.ReportFormulaConfigInclude<ExtArgs> | null
1028
+ /**
1029
+ * Filter, which ReportFormulaConfig to fetch.
1030
+ */
1031
+ where?: Prisma.ReportFormulaConfigWhereInput
1032
+ /**
1033
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1034
+ *
1035
+ * Determine the order of ReportFormulaConfigs to fetch.
1036
+ */
1037
+ orderBy?: Prisma.ReportFormulaConfigOrderByWithRelationInput | Prisma.ReportFormulaConfigOrderByWithRelationInput[]
1038
+ /**
1039
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1040
+ *
1041
+ * Sets the position for searching for ReportFormulaConfigs.
1042
+ */
1043
+ cursor?: Prisma.ReportFormulaConfigWhereUniqueInput
1044
+ /**
1045
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1046
+ *
1047
+ * Take `±n` ReportFormulaConfigs from the position of the cursor.
1048
+ */
1049
+ take?: number
1050
+ /**
1051
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1052
+ *
1053
+ * Skip the first `n` ReportFormulaConfigs.
1054
+ */
1055
+ skip?: number
1056
+ /**
1057
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1058
+ *
1059
+ * Filter by unique combinations of ReportFormulaConfigs.
1060
+ */
1061
+ distinct?: Prisma.ReportFormulaConfigScalarFieldEnum | Prisma.ReportFormulaConfigScalarFieldEnum[]
1062
+ }
1063
+
1064
+ /**
1065
+ * ReportFormulaConfig findFirstOrThrow
1066
+ */
1067
+ export type ReportFormulaConfigFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1068
+ /**
1069
+ * Select specific fields to fetch from the ReportFormulaConfig
1070
+ */
1071
+ select?: Prisma.ReportFormulaConfigSelect<ExtArgs> | null
1072
+ /**
1073
+ * Omit specific fields from the ReportFormulaConfig
1074
+ */
1075
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
1076
+ /**
1077
+ * Choose, which related nodes to fetch as well
1078
+ */
1079
+ include?: Prisma.ReportFormulaConfigInclude<ExtArgs> | null
1080
+ /**
1081
+ * Filter, which ReportFormulaConfig to fetch.
1082
+ */
1083
+ where?: Prisma.ReportFormulaConfigWhereInput
1084
+ /**
1085
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1086
+ *
1087
+ * Determine the order of ReportFormulaConfigs to fetch.
1088
+ */
1089
+ orderBy?: Prisma.ReportFormulaConfigOrderByWithRelationInput | Prisma.ReportFormulaConfigOrderByWithRelationInput[]
1090
+ /**
1091
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1092
+ *
1093
+ * Sets the position for searching for ReportFormulaConfigs.
1094
+ */
1095
+ cursor?: Prisma.ReportFormulaConfigWhereUniqueInput
1096
+ /**
1097
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1098
+ *
1099
+ * Take `±n` ReportFormulaConfigs from the position of the cursor.
1100
+ */
1101
+ take?: number
1102
+ /**
1103
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1104
+ *
1105
+ * Skip the first `n` ReportFormulaConfigs.
1106
+ */
1107
+ skip?: number
1108
+ /**
1109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1110
+ *
1111
+ * Filter by unique combinations of ReportFormulaConfigs.
1112
+ */
1113
+ distinct?: Prisma.ReportFormulaConfigScalarFieldEnum | Prisma.ReportFormulaConfigScalarFieldEnum[]
1114
+ }
1115
+
1116
+ /**
1117
+ * ReportFormulaConfig findMany
1118
+ */
1119
+ export type ReportFormulaConfigFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1120
+ /**
1121
+ * Select specific fields to fetch from the ReportFormulaConfig
1122
+ */
1123
+ select?: Prisma.ReportFormulaConfigSelect<ExtArgs> | null
1124
+ /**
1125
+ * Omit specific fields from the ReportFormulaConfig
1126
+ */
1127
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
1128
+ /**
1129
+ * Choose, which related nodes to fetch as well
1130
+ */
1131
+ include?: Prisma.ReportFormulaConfigInclude<ExtArgs> | null
1132
+ /**
1133
+ * Filter, which ReportFormulaConfigs to fetch.
1134
+ */
1135
+ where?: Prisma.ReportFormulaConfigWhereInput
1136
+ /**
1137
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1138
+ *
1139
+ * Determine the order of ReportFormulaConfigs to fetch.
1140
+ */
1141
+ orderBy?: Prisma.ReportFormulaConfigOrderByWithRelationInput | Prisma.ReportFormulaConfigOrderByWithRelationInput[]
1142
+ /**
1143
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1144
+ *
1145
+ * Sets the position for listing ReportFormulaConfigs.
1146
+ */
1147
+ cursor?: Prisma.ReportFormulaConfigWhereUniqueInput
1148
+ /**
1149
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1150
+ *
1151
+ * Take `±n` ReportFormulaConfigs from the position of the cursor.
1152
+ */
1153
+ take?: number
1154
+ /**
1155
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1156
+ *
1157
+ * Skip the first `n` ReportFormulaConfigs.
1158
+ */
1159
+ skip?: number
1160
+ distinct?: Prisma.ReportFormulaConfigScalarFieldEnum | Prisma.ReportFormulaConfigScalarFieldEnum[]
1161
+ }
1162
+
1163
+ /**
1164
+ * ReportFormulaConfig create
1165
+ */
1166
+ export type ReportFormulaConfigCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1167
+ /**
1168
+ * Select specific fields to fetch from the ReportFormulaConfig
1169
+ */
1170
+ select?: Prisma.ReportFormulaConfigSelect<ExtArgs> | null
1171
+ /**
1172
+ * Omit specific fields from the ReportFormulaConfig
1173
+ */
1174
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
1175
+ /**
1176
+ * Choose, which related nodes to fetch as well
1177
+ */
1178
+ include?: Prisma.ReportFormulaConfigInclude<ExtArgs> | null
1179
+ /**
1180
+ * The data needed to create a ReportFormulaConfig.
1181
+ */
1182
+ data: Prisma.XOR<Prisma.ReportFormulaConfigCreateInput, Prisma.ReportFormulaConfigUncheckedCreateInput>
1183
+ }
1184
+
1185
+ /**
1186
+ * ReportFormulaConfig createMany
1187
+ */
1188
+ export type ReportFormulaConfigCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1189
+ /**
1190
+ * The data used to create many ReportFormulaConfigs.
1191
+ */
1192
+ data: Prisma.ReportFormulaConfigCreateManyInput | Prisma.ReportFormulaConfigCreateManyInput[]
1193
+ skipDuplicates?: boolean
1194
+ }
1195
+
1196
+ /**
1197
+ * ReportFormulaConfig createManyAndReturn
1198
+ */
1199
+ export type ReportFormulaConfigCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1200
+ /**
1201
+ * Select specific fields to fetch from the ReportFormulaConfig
1202
+ */
1203
+ select?: Prisma.ReportFormulaConfigSelectCreateManyAndReturn<ExtArgs> | null
1204
+ /**
1205
+ * Omit specific fields from the ReportFormulaConfig
1206
+ */
1207
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
1208
+ /**
1209
+ * The data used to create many ReportFormulaConfigs.
1210
+ */
1211
+ data: Prisma.ReportFormulaConfigCreateManyInput | Prisma.ReportFormulaConfigCreateManyInput[]
1212
+ skipDuplicates?: boolean
1213
+ /**
1214
+ * Choose, which related nodes to fetch as well
1215
+ */
1216
+ include?: Prisma.ReportFormulaConfigIncludeCreateManyAndReturn<ExtArgs> | null
1217
+ }
1218
+
1219
+ /**
1220
+ * ReportFormulaConfig update
1221
+ */
1222
+ export type ReportFormulaConfigUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1223
+ /**
1224
+ * Select specific fields to fetch from the ReportFormulaConfig
1225
+ */
1226
+ select?: Prisma.ReportFormulaConfigSelect<ExtArgs> | null
1227
+ /**
1228
+ * Omit specific fields from the ReportFormulaConfig
1229
+ */
1230
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
1231
+ /**
1232
+ * Choose, which related nodes to fetch as well
1233
+ */
1234
+ include?: Prisma.ReportFormulaConfigInclude<ExtArgs> | null
1235
+ /**
1236
+ * The data needed to update a ReportFormulaConfig.
1237
+ */
1238
+ data: Prisma.XOR<Prisma.ReportFormulaConfigUpdateInput, Prisma.ReportFormulaConfigUncheckedUpdateInput>
1239
+ /**
1240
+ * Choose, which ReportFormulaConfig to update.
1241
+ */
1242
+ where: Prisma.ReportFormulaConfigWhereUniqueInput
1243
+ }
1244
+
1245
+ /**
1246
+ * ReportFormulaConfig updateMany
1247
+ */
1248
+ export type ReportFormulaConfigUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1249
+ /**
1250
+ * The data used to update ReportFormulaConfigs.
1251
+ */
1252
+ data: Prisma.XOR<Prisma.ReportFormulaConfigUpdateManyMutationInput, Prisma.ReportFormulaConfigUncheckedUpdateManyInput>
1253
+ /**
1254
+ * Filter which ReportFormulaConfigs to update
1255
+ */
1256
+ where?: Prisma.ReportFormulaConfigWhereInput
1257
+ /**
1258
+ * Limit how many ReportFormulaConfigs to update.
1259
+ */
1260
+ limit?: number
1261
+ }
1262
+
1263
+ /**
1264
+ * ReportFormulaConfig updateManyAndReturn
1265
+ */
1266
+ export type ReportFormulaConfigUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1267
+ /**
1268
+ * Select specific fields to fetch from the ReportFormulaConfig
1269
+ */
1270
+ select?: Prisma.ReportFormulaConfigSelectUpdateManyAndReturn<ExtArgs> | null
1271
+ /**
1272
+ * Omit specific fields from the ReportFormulaConfig
1273
+ */
1274
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
1275
+ /**
1276
+ * The data used to update ReportFormulaConfigs.
1277
+ */
1278
+ data: Prisma.XOR<Prisma.ReportFormulaConfigUpdateManyMutationInput, Prisma.ReportFormulaConfigUncheckedUpdateManyInput>
1279
+ /**
1280
+ * Filter which ReportFormulaConfigs to update
1281
+ */
1282
+ where?: Prisma.ReportFormulaConfigWhereInput
1283
+ /**
1284
+ * Limit how many ReportFormulaConfigs to update.
1285
+ */
1286
+ limit?: number
1287
+ /**
1288
+ * Choose, which related nodes to fetch as well
1289
+ */
1290
+ include?: Prisma.ReportFormulaConfigIncludeUpdateManyAndReturn<ExtArgs> | null
1291
+ }
1292
+
1293
+ /**
1294
+ * ReportFormulaConfig upsert
1295
+ */
1296
+ export type ReportFormulaConfigUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1297
+ /**
1298
+ * Select specific fields to fetch from the ReportFormulaConfig
1299
+ */
1300
+ select?: Prisma.ReportFormulaConfigSelect<ExtArgs> | null
1301
+ /**
1302
+ * Omit specific fields from the ReportFormulaConfig
1303
+ */
1304
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
1305
+ /**
1306
+ * Choose, which related nodes to fetch as well
1307
+ */
1308
+ include?: Prisma.ReportFormulaConfigInclude<ExtArgs> | null
1309
+ /**
1310
+ * The filter to search for the ReportFormulaConfig to update in case it exists.
1311
+ */
1312
+ where: Prisma.ReportFormulaConfigWhereUniqueInput
1313
+ /**
1314
+ * In case the ReportFormulaConfig found by the `where` argument doesn't exist, create a new ReportFormulaConfig with this data.
1315
+ */
1316
+ create: Prisma.XOR<Prisma.ReportFormulaConfigCreateInput, Prisma.ReportFormulaConfigUncheckedCreateInput>
1317
+ /**
1318
+ * In case the ReportFormulaConfig was found with the provided `where` argument, update it with this data.
1319
+ */
1320
+ update: Prisma.XOR<Prisma.ReportFormulaConfigUpdateInput, Prisma.ReportFormulaConfigUncheckedUpdateInput>
1321
+ }
1322
+
1323
+ /**
1324
+ * ReportFormulaConfig delete
1325
+ */
1326
+ export type ReportFormulaConfigDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1327
+ /**
1328
+ * Select specific fields to fetch from the ReportFormulaConfig
1329
+ */
1330
+ select?: Prisma.ReportFormulaConfigSelect<ExtArgs> | null
1331
+ /**
1332
+ * Omit specific fields from the ReportFormulaConfig
1333
+ */
1334
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
1335
+ /**
1336
+ * Choose, which related nodes to fetch as well
1337
+ */
1338
+ include?: Prisma.ReportFormulaConfigInclude<ExtArgs> | null
1339
+ /**
1340
+ * Filter which ReportFormulaConfig to delete.
1341
+ */
1342
+ where: Prisma.ReportFormulaConfigWhereUniqueInput
1343
+ }
1344
+
1345
+ /**
1346
+ * ReportFormulaConfig deleteMany
1347
+ */
1348
+ export type ReportFormulaConfigDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1349
+ /**
1350
+ * Filter which ReportFormulaConfigs to delete
1351
+ */
1352
+ where?: Prisma.ReportFormulaConfigWhereInput
1353
+ /**
1354
+ * Limit how many ReportFormulaConfigs to delete.
1355
+ */
1356
+ limit?: number
1357
+ }
1358
+
1359
+ /**
1360
+ * ReportFormulaConfig without action
1361
+ */
1362
+ export type ReportFormulaConfigDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1363
+ /**
1364
+ * Select specific fields to fetch from the ReportFormulaConfig
1365
+ */
1366
+ select?: Prisma.ReportFormulaConfigSelect<ExtArgs> | null
1367
+ /**
1368
+ * Omit specific fields from the ReportFormulaConfig
1369
+ */
1370
+ omit?: Prisma.ReportFormulaConfigOmit<ExtArgs> | null
1371
+ /**
1372
+ * Choose, which related nodes to fetch as well
1373
+ */
1374
+ include?: Prisma.ReportFormulaConfigInclude<ExtArgs> | null
1375
+ }