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