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