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