efiber-prisma-schema 1.16.2 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/index.d.ts +6 -1
  2. package/index.js +10 -1
  3. package/package.json +12 -5
  4. package/prisma/generated/browser.ts +559 -0
  5. package/prisma/generated/client.ts +581 -0
  6. package/prisma/generated/commonInputTypes.ts +1246 -0
  7. package/prisma/generated/enums.ts +188 -0
  8. package/prisma/generated/internal/class.ts +1260 -0
  9. package/prisma/generated/internal/prismaNamespace.ts +11532 -0
  10. package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
  11. package/prisma/generated/models/AttributeDefinition.ts +1498 -0
  12. package/prisma/generated/models/AttributeValue.ts +1419 -0
  13. package/prisma/generated/models/Audit.ts +1725 -0
  14. package/prisma/generated/models/BillOfMaterial.ts +1934 -0
  15. package/prisma/generated/models/Building.ts +6130 -0
  16. package/prisma/generated/models/BuildingTemplate.ts +2912 -0
  17. package/prisma/generated/models/Cable.ts +10501 -0
  18. package/prisma/generated/models/CableAttachment.ts +1530 -0
  19. package/prisma/generated/models/CableAttributes.ts +2244 -0
  20. package/prisma/generated/models/CableTemplate.ts +3170 -0
  21. package/prisma/generated/models/CamusatClient.ts +2001 -0
  22. package/prisma/generated/models/CamusatCountry.ts +2425 -0
  23. package/prisma/generated/models/CentralOffice.ts +1921 -0
  24. package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
  25. package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
  26. package/prisma/generated/models/Cluster.ts +10984 -0
  27. package/prisma/generated/models/ClusterComments.ts +1668 -0
  28. package/prisma/generated/models/ClusterNotes.ts +1703 -0
  29. package/prisma/generated/models/Conduit.ts +5119 -0
  30. package/prisma/generated/models/ConduitTemplate.ts +2940 -0
  31. package/prisma/generated/models/Country.ts +1795 -0
  32. package/prisma/generated/models/DispatchMaterial.ts +3070 -0
  33. package/prisma/generated/models/DispatchProject.ts +4179 -0
  34. package/prisma/generated/models/DispatchTeam.ts +3053 -0
  35. package/prisma/generated/models/Duct.ts +1813 -0
  36. package/prisma/generated/models/ElementNode.ts +4413 -0
  37. package/prisma/generated/models/ElementRelation.ts +1644 -0
  38. package/prisma/generated/models/EmailConfigurations.ts +3736 -0
  39. package/prisma/generated/models/EmailTemplates.ts +1739 -0
  40. package/prisma/generated/models/EmailsIncoming.ts +2010 -0
  41. package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
  42. package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
  43. package/prisma/generated/models/FDTSRO.ts +6180 -0
  44. package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
  45. package/prisma/generated/models/Feature.ts +1867 -0
  46. package/prisma/generated/models/FeatureType.ts +1430 -0
  47. package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
  48. package/prisma/generated/models/Loop.ts +5271 -0
  49. package/prisma/generated/models/LoopTemplate.ts +2912 -0
  50. package/prisma/generated/models/MainProject.ts +1664 -0
  51. package/prisma/generated/models/Manhole.ts +5090 -0
  52. package/prisma/generated/models/ManholeTemplate.ts +2912 -0
  53. package/prisma/generated/models/MapElement.ts +3450 -0
  54. package/prisma/generated/models/MapElementTemplate.ts +2742 -0
  55. package/prisma/generated/models/Material.ts +1963 -0
  56. package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
  57. package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
  58. package/prisma/generated/models/NetworkElement.ts +6891 -0
  59. package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
  60. package/prisma/generated/models/Notifications.ts +1563 -0
  61. package/prisma/generated/models/OptionSource.ts +1132 -0
  62. package/prisma/generated/models/PboFat.ts +8248 -0
  63. package/prisma/generated/models/PboFatAttributes.ts +2672 -0
  64. package/prisma/generated/models/PboFatTemplate.ts +3112 -0
  65. package/prisma/generated/models/Platform.ts +1759 -0
  66. package/prisma/generated/models/Pole.ts +5266 -0
  67. package/prisma/generated/models/PoleTemplate.ts +2912 -0
  68. package/prisma/generated/models/Position.ts +1490 -0
  69. package/prisma/generated/models/PreviousEquipment.ts +1881 -0
  70. package/prisma/generated/models/Project.ts +14893 -0
  71. package/prisma/generated/models/ProjectType.ts +1351 -0
  72. package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
  73. package/prisma/generated/models/ReportFormats.ts +1768 -0
  74. package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
  75. package/prisma/generated/models/ReportMetric.ts +1737 -0
  76. package/prisma/generated/models/ReportTable.ts +1498 -0
  77. package/prisma/generated/models/ReportVisualization.ts +1446 -0
  78. package/prisma/generated/models/Revision.ts +4653 -0
  79. package/prisma/generated/models/Role.ts +2960 -0
  80. package/prisma/generated/models/SFU.ts +5977 -0
  81. package/prisma/generated/models/SFUTemplate.ts +2912 -0
  82. package/prisma/generated/models/SpliceClosure.ts +6405 -0
  83. package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
  84. package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
  85. package/prisma/generated/models/Splitter.ts +1459 -0
  86. package/prisma/generated/models/StockMovement.ts +1589 -0
  87. package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
  88. package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
  89. package/prisma/generated/models/Team.ts +2044 -0
  90. package/prisma/generated/models/TeamMaterial.ts +2193 -0
  91. package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
  92. package/prisma/generated/models/TeamPlatform.ts +1874 -0
  93. package/prisma/generated/models/TeamType.ts +1655 -0
  94. package/prisma/generated/models/Template.ts +1691 -0
  95. package/prisma/generated/models/TemplateComponent.ts +1995 -0
  96. package/prisma/generated/models/User.ts +25676 -0
  97. package/prisma/generated/models/WorkOrder.ts +5901 -0
  98. package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
  99. package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
  100. package/prisma/generated/models/WorkOrderComments.ts +1687 -0
  101. package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
  102. package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
  103. package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
  104. package/prisma/generated/models/WorkOrderTask.ts +2220 -0
  105. package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
  106. package/prisma/generated/models/ZoneNro.ts +3926 -0
  107. package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
  108. package/prisma/generated/models/clientMaterial.ts +2193 -0
  109. package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
  110. package/prisma/generated/models/ductTemplate.ts +1606 -0
  111. package/prisma/generated/models/installationSequence.ts +1708 -0
  112. package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
  113. package/prisma/generated/models/integrationUserLocation.ts +1681 -0
  114. package/prisma/generated/models/problemCategorization.ts +1543 -0
  115. package/prisma/generated/models/projectPhaseLog.ts +1728 -0
  116. package/prisma/generated/models/qrCodeTag.ts +4978 -0
  117. package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
  118. package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
  119. package/prisma/generated/models.ts +119 -0
  120. package/prisma/schema.prisma +2 -2
  121. package/prisma/seed.ts +33 -0
  122. package/prisma.config.ts +13 -0
  123. package/tsconfig.json +13 -0
@@ -0,0 +1,2244 @@
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 `CableAttributes` 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 CableAttributes
17
+ *
18
+ */
19
+ export type CableAttributesModel = runtime.Types.Result.DefaultSelection<Prisma.$CableAttributesPayload>
20
+
21
+ export type AggregateCableAttributes = {
22
+ _count: CableAttributesCountAggregateOutputType | null
23
+ _avg: CableAttributesAvgAggregateOutputType | null
24
+ _sum: CableAttributesSumAggregateOutputType | null
25
+ _min: CableAttributesMinAggregateOutputType | null
26
+ _max: CableAttributesMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type CableAttributesAvgAggregateOutputType = {
30
+ no: number | null
31
+ }
32
+
33
+ export type CableAttributesSumAggregateOutputType = {
34
+ no: number | null
35
+ }
36
+
37
+ export type CableAttributesMinAggregateOutputType = {
38
+ id: string | null
39
+ no: number | null
40
+ name: string | null
41
+ description: string | null
42
+ value: string | null
43
+ visibleOnMobile: boolean | null
44
+ createdAt: Date | null
45
+ updatedAt: Date | null
46
+ deletedAt: Date | null
47
+ cableId: string | null
48
+ projectId: string | null
49
+ materialId: string | null
50
+ cableTemplateId: string | null
51
+ }
52
+
53
+ export type CableAttributesMaxAggregateOutputType = {
54
+ id: string | null
55
+ no: number | null
56
+ name: string | null
57
+ description: string | null
58
+ value: string | null
59
+ visibleOnMobile: boolean | null
60
+ createdAt: Date | null
61
+ updatedAt: Date | null
62
+ deletedAt: Date | null
63
+ cableId: string | null
64
+ projectId: string | null
65
+ materialId: string | null
66
+ cableTemplateId: string | null
67
+ }
68
+
69
+ export type CableAttributesCountAggregateOutputType = {
70
+ id: number
71
+ no: number
72
+ name: number
73
+ description: number
74
+ value: number
75
+ visibleOnMobile: number
76
+ createdAt: number
77
+ updatedAt: number
78
+ deletedAt: number
79
+ cableId: number
80
+ projectId: number
81
+ materialId: number
82
+ cableTemplateId: number
83
+ _all: number
84
+ }
85
+
86
+
87
+ export type CableAttributesAvgAggregateInputType = {
88
+ no?: true
89
+ }
90
+
91
+ export type CableAttributesSumAggregateInputType = {
92
+ no?: true
93
+ }
94
+
95
+ export type CableAttributesMinAggregateInputType = {
96
+ id?: true
97
+ no?: true
98
+ name?: true
99
+ description?: true
100
+ value?: true
101
+ visibleOnMobile?: true
102
+ createdAt?: true
103
+ updatedAt?: true
104
+ deletedAt?: true
105
+ cableId?: true
106
+ projectId?: true
107
+ materialId?: true
108
+ cableTemplateId?: true
109
+ }
110
+
111
+ export type CableAttributesMaxAggregateInputType = {
112
+ id?: true
113
+ no?: true
114
+ name?: true
115
+ description?: true
116
+ value?: true
117
+ visibleOnMobile?: true
118
+ createdAt?: true
119
+ updatedAt?: true
120
+ deletedAt?: true
121
+ cableId?: true
122
+ projectId?: true
123
+ materialId?: true
124
+ cableTemplateId?: true
125
+ }
126
+
127
+ export type CableAttributesCountAggregateInputType = {
128
+ id?: true
129
+ no?: true
130
+ name?: true
131
+ description?: true
132
+ value?: true
133
+ visibleOnMobile?: true
134
+ createdAt?: true
135
+ updatedAt?: true
136
+ deletedAt?: true
137
+ cableId?: true
138
+ projectId?: true
139
+ materialId?: true
140
+ cableTemplateId?: true
141
+ _all?: true
142
+ }
143
+
144
+ export type CableAttributesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
145
+ /**
146
+ * Filter which CableAttributes to aggregate.
147
+ */
148
+ where?: Prisma.CableAttributesWhereInput
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
151
+ *
152
+ * Determine the order of CableAttributes to fetch.
153
+ */
154
+ orderBy?: Prisma.CableAttributesOrderByWithRelationInput | Prisma.CableAttributesOrderByWithRelationInput[]
155
+ /**
156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
157
+ *
158
+ * Sets the start position
159
+ */
160
+ cursor?: Prisma.CableAttributesWhereUniqueInput
161
+ /**
162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
163
+ *
164
+ * Take `±n` CableAttributes from the position of the cursor.
165
+ */
166
+ take?: number
167
+ /**
168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
169
+ *
170
+ * Skip the first `n` CableAttributes.
171
+ */
172
+ skip?: number
173
+ /**
174
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
175
+ *
176
+ * Count returned CableAttributes
177
+ **/
178
+ _count?: true | CableAttributesCountAggregateInputType
179
+ /**
180
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
181
+ *
182
+ * Select which fields to average
183
+ **/
184
+ _avg?: CableAttributesAvgAggregateInputType
185
+ /**
186
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
187
+ *
188
+ * Select which fields to sum
189
+ **/
190
+ _sum?: CableAttributesSumAggregateInputType
191
+ /**
192
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
193
+ *
194
+ * Select which fields to find the minimum value
195
+ **/
196
+ _min?: CableAttributesMinAggregateInputType
197
+ /**
198
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
199
+ *
200
+ * Select which fields to find the maximum value
201
+ **/
202
+ _max?: CableAttributesMaxAggregateInputType
203
+ }
204
+
205
+ export type GetCableAttributesAggregateType<T extends CableAttributesAggregateArgs> = {
206
+ [P in keyof T & keyof AggregateCableAttributes]: P extends '_count' | 'count'
207
+ ? T[P] extends true
208
+ ? number
209
+ : Prisma.GetScalarType<T[P], AggregateCableAttributes[P]>
210
+ : Prisma.GetScalarType<T[P], AggregateCableAttributes[P]>
211
+ }
212
+
213
+
214
+
215
+
216
+ export type CableAttributesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
217
+ where?: Prisma.CableAttributesWhereInput
218
+ orderBy?: Prisma.CableAttributesOrderByWithAggregationInput | Prisma.CableAttributesOrderByWithAggregationInput[]
219
+ by: Prisma.CableAttributesScalarFieldEnum[] | Prisma.CableAttributesScalarFieldEnum
220
+ having?: Prisma.CableAttributesScalarWhereWithAggregatesInput
221
+ take?: number
222
+ skip?: number
223
+ _count?: CableAttributesCountAggregateInputType | true
224
+ _avg?: CableAttributesAvgAggregateInputType
225
+ _sum?: CableAttributesSumAggregateInputType
226
+ _min?: CableAttributesMinAggregateInputType
227
+ _max?: CableAttributesMaxAggregateInputType
228
+ }
229
+
230
+ export type CableAttributesGroupByOutputType = {
231
+ id: string
232
+ no: number
233
+ name: string
234
+ description: string | null
235
+ value: string | null
236
+ visibleOnMobile: boolean
237
+ createdAt: Date
238
+ updatedAt: Date
239
+ deletedAt: Date | null
240
+ cableId: string | null
241
+ projectId: string | null
242
+ materialId: string | null
243
+ cableTemplateId: string | null
244
+ _count: CableAttributesCountAggregateOutputType | null
245
+ _avg: CableAttributesAvgAggregateOutputType | null
246
+ _sum: CableAttributesSumAggregateOutputType | null
247
+ _min: CableAttributesMinAggregateOutputType | null
248
+ _max: CableAttributesMaxAggregateOutputType | null
249
+ }
250
+
251
+ type GetCableAttributesGroupByPayload<T extends CableAttributesGroupByArgs> = Prisma.PrismaPromise<
252
+ Array<
253
+ Prisma.PickEnumerable<CableAttributesGroupByOutputType, T['by']> &
254
+ {
255
+ [P in ((keyof T) & (keyof CableAttributesGroupByOutputType))]: P extends '_count'
256
+ ? T[P] extends boolean
257
+ ? number
258
+ : Prisma.GetScalarType<T[P], CableAttributesGroupByOutputType[P]>
259
+ : Prisma.GetScalarType<T[P], CableAttributesGroupByOutputType[P]>
260
+ }
261
+ >
262
+ >
263
+
264
+
265
+
266
+ export type CableAttributesWhereInput = {
267
+ AND?: Prisma.CableAttributesWhereInput | Prisma.CableAttributesWhereInput[]
268
+ OR?: Prisma.CableAttributesWhereInput[]
269
+ NOT?: Prisma.CableAttributesWhereInput | Prisma.CableAttributesWhereInput[]
270
+ id?: Prisma.StringFilter<"CableAttributes"> | string
271
+ no?: Prisma.IntFilter<"CableAttributes"> | number
272
+ name?: Prisma.StringFilter<"CableAttributes"> | string
273
+ description?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
274
+ value?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
275
+ visibleOnMobile?: Prisma.BoolFilter<"CableAttributes"> | boolean
276
+ createdAt?: Prisma.DateTimeFilter<"CableAttributes"> | Date | string
277
+ updatedAt?: Prisma.DateTimeFilter<"CableAttributes"> | Date | string
278
+ deletedAt?: Prisma.DateTimeNullableFilter<"CableAttributes"> | Date | string | null
279
+ cableId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
280
+ projectId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
281
+ materialId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
282
+ cableTemplateId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
283
+ cable?: Prisma.XOR<Prisma.CableNullableScalarRelationFilter, Prisma.CableWhereInput> | null
284
+ project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
285
+ material?: Prisma.XOR<Prisma.MaterialNullableScalarRelationFilter, Prisma.MaterialWhereInput> | null
286
+ CableTemplate?: Prisma.XOR<Prisma.CableTemplateNullableScalarRelationFilter, Prisma.CableTemplateWhereInput> | null
287
+ }
288
+
289
+ export type CableAttributesOrderByWithRelationInput = {
290
+ id?: Prisma.SortOrder
291
+ no?: Prisma.SortOrder
292
+ name?: Prisma.SortOrder
293
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
294
+ value?: Prisma.SortOrderInput | Prisma.SortOrder
295
+ visibleOnMobile?: Prisma.SortOrder
296
+ createdAt?: Prisma.SortOrder
297
+ updatedAt?: Prisma.SortOrder
298
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
299
+ cableId?: Prisma.SortOrderInput | Prisma.SortOrder
300
+ projectId?: Prisma.SortOrderInput | Prisma.SortOrder
301
+ materialId?: Prisma.SortOrderInput | Prisma.SortOrder
302
+ cableTemplateId?: Prisma.SortOrderInput | Prisma.SortOrder
303
+ cable?: Prisma.CableOrderByWithRelationInput
304
+ project?: Prisma.ProjectOrderByWithRelationInput
305
+ material?: Prisma.MaterialOrderByWithRelationInput
306
+ CableTemplate?: Prisma.CableTemplateOrderByWithRelationInput
307
+ }
308
+
309
+ export type CableAttributesWhereUniqueInput = Prisma.AtLeast<{
310
+ id?: string
311
+ AND?: Prisma.CableAttributesWhereInput | Prisma.CableAttributesWhereInput[]
312
+ OR?: Prisma.CableAttributesWhereInput[]
313
+ NOT?: Prisma.CableAttributesWhereInput | Prisma.CableAttributesWhereInput[]
314
+ no?: Prisma.IntFilter<"CableAttributes"> | number
315
+ name?: Prisma.StringFilter<"CableAttributes"> | string
316
+ description?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
317
+ value?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
318
+ visibleOnMobile?: Prisma.BoolFilter<"CableAttributes"> | boolean
319
+ createdAt?: Prisma.DateTimeFilter<"CableAttributes"> | Date | string
320
+ updatedAt?: Prisma.DateTimeFilter<"CableAttributes"> | Date | string
321
+ deletedAt?: Prisma.DateTimeNullableFilter<"CableAttributes"> | Date | string | null
322
+ cableId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
323
+ projectId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
324
+ materialId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
325
+ cableTemplateId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
326
+ cable?: Prisma.XOR<Prisma.CableNullableScalarRelationFilter, Prisma.CableWhereInput> | null
327
+ project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
328
+ material?: Prisma.XOR<Prisma.MaterialNullableScalarRelationFilter, Prisma.MaterialWhereInput> | null
329
+ CableTemplate?: Prisma.XOR<Prisma.CableTemplateNullableScalarRelationFilter, Prisma.CableTemplateWhereInput> | null
330
+ }, "id" | "id">
331
+
332
+ export type CableAttributesOrderByWithAggregationInput = {
333
+ id?: Prisma.SortOrder
334
+ no?: Prisma.SortOrder
335
+ name?: Prisma.SortOrder
336
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
337
+ value?: Prisma.SortOrderInput | Prisma.SortOrder
338
+ visibleOnMobile?: Prisma.SortOrder
339
+ createdAt?: Prisma.SortOrder
340
+ updatedAt?: Prisma.SortOrder
341
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
342
+ cableId?: Prisma.SortOrderInput | Prisma.SortOrder
343
+ projectId?: Prisma.SortOrderInput | Prisma.SortOrder
344
+ materialId?: Prisma.SortOrderInput | Prisma.SortOrder
345
+ cableTemplateId?: Prisma.SortOrderInput | Prisma.SortOrder
346
+ _count?: Prisma.CableAttributesCountOrderByAggregateInput
347
+ _avg?: Prisma.CableAttributesAvgOrderByAggregateInput
348
+ _max?: Prisma.CableAttributesMaxOrderByAggregateInput
349
+ _min?: Prisma.CableAttributesMinOrderByAggregateInput
350
+ _sum?: Prisma.CableAttributesSumOrderByAggregateInput
351
+ }
352
+
353
+ export type CableAttributesScalarWhereWithAggregatesInput = {
354
+ AND?: Prisma.CableAttributesScalarWhereWithAggregatesInput | Prisma.CableAttributesScalarWhereWithAggregatesInput[]
355
+ OR?: Prisma.CableAttributesScalarWhereWithAggregatesInput[]
356
+ NOT?: Prisma.CableAttributesScalarWhereWithAggregatesInput | Prisma.CableAttributesScalarWhereWithAggregatesInput[]
357
+ id?: Prisma.StringWithAggregatesFilter<"CableAttributes"> | string
358
+ no?: Prisma.IntWithAggregatesFilter<"CableAttributes"> | number
359
+ name?: Prisma.StringWithAggregatesFilter<"CableAttributes"> | string
360
+ description?: Prisma.StringNullableWithAggregatesFilter<"CableAttributes"> | string | null
361
+ value?: Prisma.StringNullableWithAggregatesFilter<"CableAttributes"> | string | null
362
+ visibleOnMobile?: Prisma.BoolWithAggregatesFilter<"CableAttributes"> | boolean
363
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"CableAttributes"> | Date | string
364
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"CableAttributes"> | Date | string
365
+ deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"CableAttributes"> | Date | string | null
366
+ cableId?: Prisma.StringNullableWithAggregatesFilter<"CableAttributes"> | string | null
367
+ projectId?: Prisma.StringNullableWithAggregatesFilter<"CableAttributes"> | string | null
368
+ materialId?: Prisma.StringNullableWithAggregatesFilter<"CableAttributes"> | string | null
369
+ cableTemplateId?: Prisma.StringNullableWithAggregatesFilter<"CableAttributes"> | string | null
370
+ }
371
+
372
+ export type CableAttributesCreateInput = {
373
+ id?: string
374
+ no?: number
375
+ name: string
376
+ description?: string | null
377
+ value?: string | null
378
+ visibleOnMobile?: boolean
379
+ createdAt?: Date | string
380
+ updatedAt?: Date | string
381
+ deletedAt?: Date | string | null
382
+ cable?: Prisma.CableCreateNestedOneWithoutCableAttributesInput
383
+ project?: Prisma.ProjectCreateNestedOneWithoutCableAttributesInput
384
+ material?: Prisma.MaterialCreateNestedOneWithoutCableAttributesInput
385
+ CableTemplate?: Prisma.CableTemplateCreateNestedOneWithoutCableAttributesInput
386
+ }
387
+
388
+ export type CableAttributesUncheckedCreateInput = {
389
+ id?: string
390
+ no?: number
391
+ name: string
392
+ description?: string | null
393
+ value?: string | null
394
+ visibleOnMobile?: boolean
395
+ createdAt?: Date | string
396
+ updatedAt?: Date | string
397
+ deletedAt?: Date | string | null
398
+ cableId?: string | null
399
+ projectId?: string | null
400
+ materialId?: string | null
401
+ cableTemplateId?: string | null
402
+ }
403
+
404
+ export type CableAttributesUpdateInput = {
405
+ id?: Prisma.StringFieldUpdateOperationsInput | string
406
+ no?: Prisma.IntFieldUpdateOperationsInput | number
407
+ name?: Prisma.StringFieldUpdateOperationsInput | string
408
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
409
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
410
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
411
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
412
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
413
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
414
+ cable?: Prisma.CableUpdateOneWithoutCableAttributesNestedInput
415
+ project?: Prisma.ProjectUpdateOneWithoutCableAttributesNestedInput
416
+ material?: Prisma.MaterialUpdateOneWithoutCableAttributesNestedInput
417
+ CableTemplate?: Prisma.CableTemplateUpdateOneWithoutCableAttributesNestedInput
418
+ }
419
+
420
+ export type CableAttributesUncheckedUpdateInput = {
421
+ id?: Prisma.StringFieldUpdateOperationsInput | string
422
+ no?: Prisma.IntFieldUpdateOperationsInput | number
423
+ name?: Prisma.StringFieldUpdateOperationsInput | string
424
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
425
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
426
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
427
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
428
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
429
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
430
+ cableId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
431
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
432
+ materialId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
433
+ cableTemplateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
434
+ }
435
+
436
+ export type CableAttributesCreateManyInput = {
437
+ id?: string
438
+ no?: number
439
+ name: string
440
+ description?: string | null
441
+ value?: string | null
442
+ visibleOnMobile?: boolean
443
+ createdAt?: Date | string
444
+ updatedAt?: Date | string
445
+ deletedAt?: Date | string | null
446
+ cableId?: string | null
447
+ projectId?: string | null
448
+ materialId?: string | null
449
+ cableTemplateId?: string | null
450
+ }
451
+
452
+ export type CableAttributesUpdateManyMutationInput = {
453
+ id?: Prisma.StringFieldUpdateOperationsInput | string
454
+ no?: Prisma.IntFieldUpdateOperationsInput | number
455
+ name?: Prisma.StringFieldUpdateOperationsInput | string
456
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
457
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
458
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
459
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
460
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
461
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
462
+ }
463
+
464
+ export type CableAttributesUncheckedUpdateManyInput = {
465
+ id?: Prisma.StringFieldUpdateOperationsInput | string
466
+ no?: Prisma.IntFieldUpdateOperationsInput | number
467
+ name?: Prisma.StringFieldUpdateOperationsInput | string
468
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
469
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
470
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
471
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
472
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
473
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
474
+ cableId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
475
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
476
+ materialId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
477
+ cableTemplateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
478
+ }
479
+
480
+ export type CableAttributesListRelationFilter = {
481
+ every?: Prisma.CableAttributesWhereInput
482
+ some?: Prisma.CableAttributesWhereInput
483
+ none?: Prisma.CableAttributesWhereInput
484
+ }
485
+
486
+ export type CableAttributesOrderByRelationAggregateInput = {
487
+ _count?: Prisma.SortOrder
488
+ }
489
+
490
+ export type CableAttributesCountOrderByAggregateInput = {
491
+ id?: Prisma.SortOrder
492
+ no?: Prisma.SortOrder
493
+ name?: Prisma.SortOrder
494
+ description?: Prisma.SortOrder
495
+ value?: Prisma.SortOrder
496
+ visibleOnMobile?: Prisma.SortOrder
497
+ createdAt?: Prisma.SortOrder
498
+ updatedAt?: Prisma.SortOrder
499
+ deletedAt?: Prisma.SortOrder
500
+ cableId?: Prisma.SortOrder
501
+ projectId?: Prisma.SortOrder
502
+ materialId?: Prisma.SortOrder
503
+ cableTemplateId?: Prisma.SortOrder
504
+ }
505
+
506
+ export type CableAttributesAvgOrderByAggregateInput = {
507
+ no?: Prisma.SortOrder
508
+ }
509
+
510
+ export type CableAttributesMaxOrderByAggregateInput = {
511
+ id?: Prisma.SortOrder
512
+ no?: Prisma.SortOrder
513
+ name?: Prisma.SortOrder
514
+ description?: Prisma.SortOrder
515
+ value?: Prisma.SortOrder
516
+ visibleOnMobile?: Prisma.SortOrder
517
+ createdAt?: Prisma.SortOrder
518
+ updatedAt?: Prisma.SortOrder
519
+ deletedAt?: Prisma.SortOrder
520
+ cableId?: Prisma.SortOrder
521
+ projectId?: Prisma.SortOrder
522
+ materialId?: Prisma.SortOrder
523
+ cableTemplateId?: Prisma.SortOrder
524
+ }
525
+
526
+ export type CableAttributesMinOrderByAggregateInput = {
527
+ id?: Prisma.SortOrder
528
+ no?: Prisma.SortOrder
529
+ name?: Prisma.SortOrder
530
+ description?: Prisma.SortOrder
531
+ value?: Prisma.SortOrder
532
+ visibleOnMobile?: Prisma.SortOrder
533
+ createdAt?: Prisma.SortOrder
534
+ updatedAt?: Prisma.SortOrder
535
+ deletedAt?: Prisma.SortOrder
536
+ cableId?: Prisma.SortOrder
537
+ projectId?: Prisma.SortOrder
538
+ materialId?: Prisma.SortOrder
539
+ cableTemplateId?: Prisma.SortOrder
540
+ }
541
+
542
+ export type CableAttributesSumOrderByAggregateInput = {
543
+ no?: Prisma.SortOrder
544
+ }
545
+
546
+ export type CableAttributesCreateNestedManyWithoutProjectInput = {
547
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutProjectInput, Prisma.CableAttributesUncheckedCreateWithoutProjectInput> | Prisma.CableAttributesCreateWithoutProjectInput[] | Prisma.CableAttributesUncheckedCreateWithoutProjectInput[]
548
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutProjectInput | Prisma.CableAttributesCreateOrConnectWithoutProjectInput[]
549
+ createMany?: Prisma.CableAttributesCreateManyProjectInputEnvelope
550
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
551
+ }
552
+
553
+ export type CableAttributesUncheckedCreateNestedManyWithoutProjectInput = {
554
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutProjectInput, Prisma.CableAttributesUncheckedCreateWithoutProjectInput> | Prisma.CableAttributesCreateWithoutProjectInput[] | Prisma.CableAttributesUncheckedCreateWithoutProjectInput[]
555
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutProjectInput | Prisma.CableAttributesCreateOrConnectWithoutProjectInput[]
556
+ createMany?: Prisma.CableAttributesCreateManyProjectInputEnvelope
557
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
558
+ }
559
+
560
+ export type CableAttributesUpdateManyWithoutProjectNestedInput = {
561
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutProjectInput, Prisma.CableAttributesUncheckedCreateWithoutProjectInput> | Prisma.CableAttributesCreateWithoutProjectInput[] | Prisma.CableAttributesUncheckedCreateWithoutProjectInput[]
562
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutProjectInput | Prisma.CableAttributesCreateOrConnectWithoutProjectInput[]
563
+ upsert?: Prisma.CableAttributesUpsertWithWhereUniqueWithoutProjectInput | Prisma.CableAttributesUpsertWithWhereUniqueWithoutProjectInput[]
564
+ createMany?: Prisma.CableAttributesCreateManyProjectInputEnvelope
565
+ set?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
566
+ disconnect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
567
+ delete?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
568
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
569
+ update?: Prisma.CableAttributesUpdateWithWhereUniqueWithoutProjectInput | Prisma.CableAttributesUpdateWithWhereUniqueWithoutProjectInput[]
570
+ updateMany?: Prisma.CableAttributesUpdateManyWithWhereWithoutProjectInput | Prisma.CableAttributesUpdateManyWithWhereWithoutProjectInput[]
571
+ deleteMany?: Prisma.CableAttributesScalarWhereInput | Prisma.CableAttributesScalarWhereInput[]
572
+ }
573
+
574
+ export type CableAttributesUncheckedUpdateManyWithoutProjectNestedInput = {
575
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutProjectInput, Prisma.CableAttributesUncheckedCreateWithoutProjectInput> | Prisma.CableAttributesCreateWithoutProjectInput[] | Prisma.CableAttributesUncheckedCreateWithoutProjectInput[]
576
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutProjectInput | Prisma.CableAttributesCreateOrConnectWithoutProjectInput[]
577
+ upsert?: Prisma.CableAttributesUpsertWithWhereUniqueWithoutProjectInput | Prisma.CableAttributesUpsertWithWhereUniqueWithoutProjectInput[]
578
+ createMany?: Prisma.CableAttributesCreateManyProjectInputEnvelope
579
+ set?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
580
+ disconnect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
581
+ delete?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
582
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
583
+ update?: Prisma.CableAttributesUpdateWithWhereUniqueWithoutProjectInput | Prisma.CableAttributesUpdateWithWhereUniqueWithoutProjectInput[]
584
+ updateMany?: Prisma.CableAttributesUpdateManyWithWhereWithoutProjectInput | Prisma.CableAttributesUpdateManyWithWhereWithoutProjectInput[]
585
+ deleteMany?: Prisma.CableAttributesScalarWhereInput | Prisma.CableAttributesScalarWhereInput[]
586
+ }
587
+
588
+ export type CableAttributesCreateNestedManyWithoutMaterialInput = {
589
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutMaterialInput, Prisma.CableAttributesUncheckedCreateWithoutMaterialInput> | Prisma.CableAttributesCreateWithoutMaterialInput[] | Prisma.CableAttributesUncheckedCreateWithoutMaterialInput[]
590
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutMaterialInput | Prisma.CableAttributesCreateOrConnectWithoutMaterialInput[]
591
+ createMany?: Prisma.CableAttributesCreateManyMaterialInputEnvelope
592
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
593
+ }
594
+
595
+ export type CableAttributesUncheckedCreateNestedManyWithoutMaterialInput = {
596
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutMaterialInput, Prisma.CableAttributesUncheckedCreateWithoutMaterialInput> | Prisma.CableAttributesCreateWithoutMaterialInput[] | Prisma.CableAttributesUncheckedCreateWithoutMaterialInput[]
597
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutMaterialInput | Prisma.CableAttributesCreateOrConnectWithoutMaterialInput[]
598
+ createMany?: Prisma.CableAttributesCreateManyMaterialInputEnvelope
599
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
600
+ }
601
+
602
+ export type CableAttributesUpdateManyWithoutMaterialNestedInput = {
603
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutMaterialInput, Prisma.CableAttributesUncheckedCreateWithoutMaterialInput> | Prisma.CableAttributesCreateWithoutMaterialInput[] | Prisma.CableAttributesUncheckedCreateWithoutMaterialInput[]
604
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutMaterialInput | Prisma.CableAttributesCreateOrConnectWithoutMaterialInput[]
605
+ upsert?: Prisma.CableAttributesUpsertWithWhereUniqueWithoutMaterialInput | Prisma.CableAttributesUpsertWithWhereUniqueWithoutMaterialInput[]
606
+ createMany?: Prisma.CableAttributesCreateManyMaterialInputEnvelope
607
+ set?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
608
+ disconnect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
609
+ delete?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
610
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
611
+ update?: Prisma.CableAttributesUpdateWithWhereUniqueWithoutMaterialInput | Prisma.CableAttributesUpdateWithWhereUniqueWithoutMaterialInput[]
612
+ updateMany?: Prisma.CableAttributesUpdateManyWithWhereWithoutMaterialInput | Prisma.CableAttributesUpdateManyWithWhereWithoutMaterialInput[]
613
+ deleteMany?: Prisma.CableAttributesScalarWhereInput | Prisma.CableAttributesScalarWhereInput[]
614
+ }
615
+
616
+ export type CableAttributesUncheckedUpdateManyWithoutMaterialNestedInput = {
617
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutMaterialInput, Prisma.CableAttributesUncheckedCreateWithoutMaterialInput> | Prisma.CableAttributesCreateWithoutMaterialInput[] | Prisma.CableAttributesUncheckedCreateWithoutMaterialInput[]
618
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutMaterialInput | Prisma.CableAttributesCreateOrConnectWithoutMaterialInput[]
619
+ upsert?: Prisma.CableAttributesUpsertWithWhereUniqueWithoutMaterialInput | Prisma.CableAttributesUpsertWithWhereUniqueWithoutMaterialInput[]
620
+ createMany?: Prisma.CableAttributesCreateManyMaterialInputEnvelope
621
+ set?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
622
+ disconnect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
623
+ delete?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
624
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
625
+ update?: Prisma.CableAttributesUpdateWithWhereUniqueWithoutMaterialInput | Prisma.CableAttributesUpdateWithWhereUniqueWithoutMaterialInput[]
626
+ updateMany?: Prisma.CableAttributesUpdateManyWithWhereWithoutMaterialInput | Prisma.CableAttributesUpdateManyWithWhereWithoutMaterialInput[]
627
+ deleteMany?: Prisma.CableAttributesScalarWhereInput | Prisma.CableAttributesScalarWhereInput[]
628
+ }
629
+
630
+ export type CableAttributesCreateNestedManyWithoutCableInput = {
631
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableInput, Prisma.CableAttributesUncheckedCreateWithoutCableInput> | Prisma.CableAttributesCreateWithoutCableInput[] | Prisma.CableAttributesUncheckedCreateWithoutCableInput[]
632
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutCableInput | Prisma.CableAttributesCreateOrConnectWithoutCableInput[]
633
+ createMany?: Prisma.CableAttributesCreateManyCableInputEnvelope
634
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
635
+ }
636
+
637
+ export type CableAttributesUncheckedCreateNestedManyWithoutCableInput = {
638
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableInput, Prisma.CableAttributesUncheckedCreateWithoutCableInput> | Prisma.CableAttributesCreateWithoutCableInput[] | Prisma.CableAttributesUncheckedCreateWithoutCableInput[]
639
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutCableInput | Prisma.CableAttributesCreateOrConnectWithoutCableInput[]
640
+ createMany?: Prisma.CableAttributesCreateManyCableInputEnvelope
641
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
642
+ }
643
+
644
+ export type CableAttributesUpdateManyWithoutCableNestedInput = {
645
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableInput, Prisma.CableAttributesUncheckedCreateWithoutCableInput> | Prisma.CableAttributesCreateWithoutCableInput[] | Prisma.CableAttributesUncheckedCreateWithoutCableInput[]
646
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutCableInput | Prisma.CableAttributesCreateOrConnectWithoutCableInput[]
647
+ upsert?: Prisma.CableAttributesUpsertWithWhereUniqueWithoutCableInput | Prisma.CableAttributesUpsertWithWhereUniqueWithoutCableInput[]
648
+ createMany?: Prisma.CableAttributesCreateManyCableInputEnvelope
649
+ set?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
650
+ disconnect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
651
+ delete?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
652
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
653
+ update?: Prisma.CableAttributesUpdateWithWhereUniqueWithoutCableInput | Prisma.CableAttributesUpdateWithWhereUniqueWithoutCableInput[]
654
+ updateMany?: Prisma.CableAttributesUpdateManyWithWhereWithoutCableInput | Prisma.CableAttributesUpdateManyWithWhereWithoutCableInput[]
655
+ deleteMany?: Prisma.CableAttributesScalarWhereInput | Prisma.CableAttributesScalarWhereInput[]
656
+ }
657
+
658
+ export type CableAttributesUncheckedUpdateManyWithoutCableNestedInput = {
659
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableInput, Prisma.CableAttributesUncheckedCreateWithoutCableInput> | Prisma.CableAttributesCreateWithoutCableInput[] | Prisma.CableAttributesUncheckedCreateWithoutCableInput[]
660
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutCableInput | Prisma.CableAttributesCreateOrConnectWithoutCableInput[]
661
+ upsert?: Prisma.CableAttributesUpsertWithWhereUniqueWithoutCableInput | Prisma.CableAttributesUpsertWithWhereUniqueWithoutCableInput[]
662
+ createMany?: Prisma.CableAttributesCreateManyCableInputEnvelope
663
+ set?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
664
+ disconnect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
665
+ delete?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
666
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
667
+ update?: Prisma.CableAttributesUpdateWithWhereUniqueWithoutCableInput | Prisma.CableAttributesUpdateWithWhereUniqueWithoutCableInput[]
668
+ updateMany?: Prisma.CableAttributesUpdateManyWithWhereWithoutCableInput | Prisma.CableAttributesUpdateManyWithWhereWithoutCableInput[]
669
+ deleteMany?: Prisma.CableAttributesScalarWhereInput | Prisma.CableAttributesScalarWhereInput[]
670
+ }
671
+
672
+ export type CableAttributesCreateNestedManyWithoutCableTemplateInput = {
673
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableTemplateInput, Prisma.CableAttributesUncheckedCreateWithoutCableTemplateInput> | Prisma.CableAttributesCreateWithoutCableTemplateInput[] | Prisma.CableAttributesUncheckedCreateWithoutCableTemplateInput[]
674
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutCableTemplateInput | Prisma.CableAttributesCreateOrConnectWithoutCableTemplateInput[]
675
+ createMany?: Prisma.CableAttributesCreateManyCableTemplateInputEnvelope
676
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
677
+ }
678
+
679
+ export type CableAttributesUncheckedCreateNestedManyWithoutCableTemplateInput = {
680
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableTemplateInput, Prisma.CableAttributesUncheckedCreateWithoutCableTemplateInput> | Prisma.CableAttributesCreateWithoutCableTemplateInput[] | Prisma.CableAttributesUncheckedCreateWithoutCableTemplateInput[]
681
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutCableTemplateInput | Prisma.CableAttributesCreateOrConnectWithoutCableTemplateInput[]
682
+ createMany?: Prisma.CableAttributesCreateManyCableTemplateInputEnvelope
683
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
684
+ }
685
+
686
+ export type CableAttributesUpdateManyWithoutCableTemplateNestedInput = {
687
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableTemplateInput, Prisma.CableAttributesUncheckedCreateWithoutCableTemplateInput> | Prisma.CableAttributesCreateWithoutCableTemplateInput[] | Prisma.CableAttributesUncheckedCreateWithoutCableTemplateInput[]
688
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutCableTemplateInput | Prisma.CableAttributesCreateOrConnectWithoutCableTemplateInput[]
689
+ upsert?: Prisma.CableAttributesUpsertWithWhereUniqueWithoutCableTemplateInput | Prisma.CableAttributesUpsertWithWhereUniqueWithoutCableTemplateInput[]
690
+ createMany?: Prisma.CableAttributesCreateManyCableTemplateInputEnvelope
691
+ set?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
692
+ disconnect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
693
+ delete?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
694
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
695
+ update?: Prisma.CableAttributesUpdateWithWhereUniqueWithoutCableTemplateInput | Prisma.CableAttributesUpdateWithWhereUniqueWithoutCableTemplateInput[]
696
+ updateMany?: Prisma.CableAttributesUpdateManyWithWhereWithoutCableTemplateInput | Prisma.CableAttributesUpdateManyWithWhereWithoutCableTemplateInput[]
697
+ deleteMany?: Prisma.CableAttributesScalarWhereInput | Prisma.CableAttributesScalarWhereInput[]
698
+ }
699
+
700
+ export type CableAttributesUncheckedUpdateManyWithoutCableTemplateNestedInput = {
701
+ create?: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableTemplateInput, Prisma.CableAttributesUncheckedCreateWithoutCableTemplateInput> | Prisma.CableAttributesCreateWithoutCableTemplateInput[] | Prisma.CableAttributesUncheckedCreateWithoutCableTemplateInput[]
702
+ connectOrCreate?: Prisma.CableAttributesCreateOrConnectWithoutCableTemplateInput | Prisma.CableAttributesCreateOrConnectWithoutCableTemplateInput[]
703
+ upsert?: Prisma.CableAttributesUpsertWithWhereUniqueWithoutCableTemplateInput | Prisma.CableAttributesUpsertWithWhereUniqueWithoutCableTemplateInput[]
704
+ createMany?: Prisma.CableAttributesCreateManyCableTemplateInputEnvelope
705
+ set?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
706
+ disconnect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
707
+ delete?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
708
+ connect?: Prisma.CableAttributesWhereUniqueInput | Prisma.CableAttributesWhereUniqueInput[]
709
+ update?: Prisma.CableAttributesUpdateWithWhereUniqueWithoutCableTemplateInput | Prisma.CableAttributesUpdateWithWhereUniqueWithoutCableTemplateInput[]
710
+ updateMany?: Prisma.CableAttributesUpdateManyWithWhereWithoutCableTemplateInput | Prisma.CableAttributesUpdateManyWithWhereWithoutCableTemplateInput[]
711
+ deleteMany?: Prisma.CableAttributesScalarWhereInput | Prisma.CableAttributesScalarWhereInput[]
712
+ }
713
+
714
+ export type CableAttributesCreateWithoutProjectInput = {
715
+ id?: string
716
+ no?: number
717
+ name: string
718
+ description?: string | null
719
+ value?: string | null
720
+ visibleOnMobile?: boolean
721
+ createdAt?: Date | string
722
+ updatedAt?: Date | string
723
+ deletedAt?: Date | string | null
724
+ cable?: Prisma.CableCreateNestedOneWithoutCableAttributesInput
725
+ material?: Prisma.MaterialCreateNestedOneWithoutCableAttributesInput
726
+ CableTemplate?: Prisma.CableTemplateCreateNestedOneWithoutCableAttributesInput
727
+ }
728
+
729
+ export type CableAttributesUncheckedCreateWithoutProjectInput = {
730
+ id?: string
731
+ no?: number
732
+ name: string
733
+ description?: string | null
734
+ value?: string | null
735
+ visibleOnMobile?: boolean
736
+ createdAt?: Date | string
737
+ updatedAt?: Date | string
738
+ deletedAt?: Date | string | null
739
+ cableId?: string | null
740
+ materialId?: string | null
741
+ cableTemplateId?: string | null
742
+ }
743
+
744
+ export type CableAttributesCreateOrConnectWithoutProjectInput = {
745
+ where: Prisma.CableAttributesWhereUniqueInput
746
+ create: Prisma.XOR<Prisma.CableAttributesCreateWithoutProjectInput, Prisma.CableAttributesUncheckedCreateWithoutProjectInput>
747
+ }
748
+
749
+ export type CableAttributesCreateManyProjectInputEnvelope = {
750
+ data: Prisma.CableAttributesCreateManyProjectInput | Prisma.CableAttributesCreateManyProjectInput[]
751
+ skipDuplicates?: boolean
752
+ }
753
+
754
+ export type CableAttributesUpsertWithWhereUniqueWithoutProjectInput = {
755
+ where: Prisma.CableAttributesWhereUniqueInput
756
+ update: Prisma.XOR<Prisma.CableAttributesUpdateWithoutProjectInput, Prisma.CableAttributesUncheckedUpdateWithoutProjectInput>
757
+ create: Prisma.XOR<Prisma.CableAttributesCreateWithoutProjectInput, Prisma.CableAttributesUncheckedCreateWithoutProjectInput>
758
+ }
759
+
760
+ export type CableAttributesUpdateWithWhereUniqueWithoutProjectInput = {
761
+ where: Prisma.CableAttributesWhereUniqueInput
762
+ data: Prisma.XOR<Prisma.CableAttributesUpdateWithoutProjectInput, Prisma.CableAttributesUncheckedUpdateWithoutProjectInput>
763
+ }
764
+
765
+ export type CableAttributesUpdateManyWithWhereWithoutProjectInput = {
766
+ where: Prisma.CableAttributesScalarWhereInput
767
+ data: Prisma.XOR<Prisma.CableAttributesUpdateManyMutationInput, Prisma.CableAttributesUncheckedUpdateManyWithoutProjectInput>
768
+ }
769
+
770
+ export type CableAttributesScalarWhereInput = {
771
+ AND?: Prisma.CableAttributesScalarWhereInput | Prisma.CableAttributesScalarWhereInput[]
772
+ OR?: Prisma.CableAttributesScalarWhereInput[]
773
+ NOT?: Prisma.CableAttributesScalarWhereInput | Prisma.CableAttributesScalarWhereInput[]
774
+ id?: Prisma.StringFilter<"CableAttributes"> | string
775
+ no?: Prisma.IntFilter<"CableAttributes"> | number
776
+ name?: Prisma.StringFilter<"CableAttributes"> | string
777
+ description?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
778
+ value?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
779
+ visibleOnMobile?: Prisma.BoolFilter<"CableAttributes"> | boolean
780
+ createdAt?: Prisma.DateTimeFilter<"CableAttributes"> | Date | string
781
+ updatedAt?: Prisma.DateTimeFilter<"CableAttributes"> | Date | string
782
+ deletedAt?: Prisma.DateTimeNullableFilter<"CableAttributes"> | Date | string | null
783
+ cableId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
784
+ projectId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
785
+ materialId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
786
+ cableTemplateId?: Prisma.StringNullableFilter<"CableAttributes"> | string | null
787
+ }
788
+
789
+ export type CableAttributesCreateWithoutMaterialInput = {
790
+ id?: string
791
+ no?: number
792
+ name: string
793
+ description?: string | null
794
+ value?: string | null
795
+ visibleOnMobile?: boolean
796
+ createdAt?: Date | string
797
+ updatedAt?: Date | string
798
+ deletedAt?: Date | string | null
799
+ cable?: Prisma.CableCreateNestedOneWithoutCableAttributesInput
800
+ project?: Prisma.ProjectCreateNestedOneWithoutCableAttributesInput
801
+ CableTemplate?: Prisma.CableTemplateCreateNestedOneWithoutCableAttributesInput
802
+ }
803
+
804
+ export type CableAttributesUncheckedCreateWithoutMaterialInput = {
805
+ id?: string
806
+ no?: number
807
+ name: string
808
+ description?: string | null
809
+ value?: string | null
810
+ visibleOnMobile?: boolean
811
+ createdAt?: Date | string
812
+ updatedAt?: Date | string
813
+ deletedAt?: Date | string | null
814
+ cableId?: string | null
815
+ projectId?: string | null
816
+ cableTemplateId?: string | null
817
+ }
818
+
819
+ export type CableAttributesCreateOrConnectWithoutMaterialInput = {
820
+ where: Prisma.CableAttributesWhereUniqueInput
821
+ create: Prisma.XOR<Prisma.CableAttributesCreateWithoutMaterialInput, Prisma.CableAttributesUncheckedCreateWithoutMaterialInput>
822
+ }
823
+
824
+ export type CableAttributesCreateManyMaterialInputEnvelope = {
825
+ data: Prisma.CableAttributesCreateManyMaterialInput | Prisma.CableAttributesCreateManyMaterialInput[]
826
+ skipDuplicates?: boolean
827
+ }
828
+
829
+ export type CableAttributesUpsertWithWhereUniqueWithoutMaterialInput = {
830
+ where: Prisma.CableAttributesWhereUniqueInput
831
+ update: Prisma.XOR<Prisma.CableAttributesUpdateWithoutMaterialInput, Prisma.CableAttributesUncheckedUpdateWithoutMaterialInput>
832
+ create: Prisma.XOR<Prisma.CableAttributesCreateWithoutMaterialInput, Prisma.CableAttributesUncheckedCreateWithoutMaterialInput>
833
+ }
834
+
835
+ export type CableAttributesUpdateWithWhereUniqueWithoutMaterialInput = {
836
+ where: Prisma.CableAttributesWhereUniqueInput
837
+ data: Prisma.XOR<Prisma.CableAttributesUpdateWithoutMaterialInput, Prisma.CableAttributesUncheckedUpdateWithoutMaterialInput>
838
+ }
839
+
840
+ export type CableAttributesUpdateManyWithWhereWithoutMaterialInput = {
841
+ where: Prisma.CableAttributesScalarWhereInput
842
+ data: Prisma.XOR<Prisma.CableAttributesUpdateManyMutationInput, Prisma.CableAttributesUncheckedUpdateManyWithoutMaterialInput>
843
+ }
844
+
845
+ export type CableAttributesCreateWithoutCableInput = {
846
+ id?: string
847
+ no?: number
848
+ name: string
849
+ description?: string | null
850
+ value?: string | null
851
+ visibleOnMobile?: boolean
852
+ createdAt?: Date | string
853
+ updatedAt?: Date | string
854
+ deletedAt?: Date | string | null
855
+ project?: Prisma.ProjectCreateNestedOneWithoutCableAttributesInput
856
+ material?: Prisma.MaterialCreateNestedOneWithoutCableAttributesInput
857
+ CableTemplate?: Prisma.CableTemplateCreateNestedOneWithoutCableAttributesInput
858
+ }
859
+
860
+ export type CableAttributesUncheckedCreateWithoutCableInput = {
861
+ id?: string
862
+ no?: number
863
+ name: string
864
+ description?: string | null
865
+ value?: string | null
866
+ visibleOnMobile?: boolean
867
+ createdAt?: Date | string
868
+ updatedAt?: Date | string
869
+ deletedAt?: Date | string | null
870
+ projectId?: string | null
871
+ materialId?: string | null
872
+ cableTemplateId?: string | null
873
+ }
874
+
875
+ export type CableAttributesCreateOrConnectWithoutCableInput = {
876
+ where: Prisma.CableAttributesWhereUniqueInput
877
+ create: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableInput, Prisma.CableAttributesUncheckedCreateWithoutCableInput>
878
+ }
879
+
880
+ export type CableAttributesCreateManyCableInputEnvelope = {
881
+ data: Prisma.CableAttributesCreateManyCableInput | Prisma.CableAttributesCreateManyCableInput[]
882
+ skipDuplicates?: boolean
883
+ }
884
+
885
+ export type CableAttributesUpsertWithWhereUniqueWithoutCableInput = {
886
+ where: Prisma.CableAttributesWhereUniqueInput
887
+ update: Prisma.XOR<Prisma.CableAttributesUpdateWithoutCableInput, Prisma.CableAttributesUncheckedUpdateWithoutCableInput>
888
+ create: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableInput, Prisma.CableAttributesUncheckedCreateWithoutCableInput>
889
+ }
890
+
891
+ export type CableAttributesUpdateWithWhereUniqueWithoutCableInput = {
892
+ where: Prisma.CableAttributesWhereUniqueInput
893
+ data: Prisma.XOR<Prisma.CableAttributesUpdateWithoutCableInput, Prisma.CableAttributesUncheckedUpdateWithoutCableInput>
894
+ }
895
+
896
+ export type CableAttributesUpdateManyWithWhereWithoutCableInput = {
897
+ where: Prisma.CableAttributesScalarWhereInput
898
+ data: Prisma.XOR<Prisma.CableAttributesUpdateManyMutationInput, Prisma.CableAttributesUncheckedUpdateManyWithoutCableInput>
899
+ }
900
+
901
+ export type CableAttributesCreateWithoutCableTemplateInput = {
902
+ id?: string
903
+ no?: number
904
+ name: string
905
+ description?: string | null
906
+ value?: string | null
907
+ visibleOnMobile?: boolean
908
+ createdAt?: Date | string
909
+ updatedAt?: Date | string
910
+ deletedAt?: Date | string | null
911
+ cable?: Prisma.CableCreateNestedOneWithoutCableAttributesInput
912
+ project?: Prisma.ProjectCreateNestedOneWithoutCableAttributesInput
913
+ material?: Prisma.MaterialCreateNestedOneWithoutCableAttributesInput
914
+ }
915
+
916
+ export type CableAttributesUncheckedCreateWithoutCableTemplateInput = {
917
+ id?: string
918
+ no?: number
919
+ name: string
920
+ description?: string | null
921
+ value?: string | null
922
+ visibleOnMobile?: boolean
923
+ createdAt?: Date | string
924
+ updatedAt?: Date | string
925
+ deletedAt?: Date | string | null
926
+ cableId?: string | null
927
+ projectId?: string | null
928
+ materialId?: string | null
929
+ }
930
+
931
+ export type CableAttributesCreateOrConnectWithoutCableTemplateInput = {
932
+ where: Prisma.CableAttributesWhereUniqueInput
933
+ create: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableTemplateInput, Prisma.CableAttributesUncheckedCreateWithoutCableTemplateInput>
934
+ }
935
+
936
+ export type CableAttributesCreateManyCableTemplateInputEnvelope = {
937
+ data: Prisma.CableAttributesCreateManyCableTemplateInput | Prisma.CableAttributesCreateManyCableTemplateInput[]
938
+ skipDuplicates?: boolean
939
+ }
940
+
941
+ export type CableAttributesUpsertWithWhereUniqueWithoutCableTemplateInput = {
942
+ where: Prisma.CableAttributesWhereUniqueInput
943
+ update: Prisma.XOR<Prisma.CableAttributesUpdateWithoutCableTemplateInput, Prisma.CableAttributesUncheckedUpdateWithoutCableTemplateInput>
944
+ create: Prisma.XOR<Prisma.CableAttributesCreateWithoutCableTemplateInput, Prisma.CableAttributesUncheckedCreateWithoutCableTemplateInput>
945
+ }
946
+
947
+ export type CableAttributesUpdateWithWhereUniqueWithoutCableTemplateInput = {
948
+ where: Prisma.CableAttributesWhereUniqueInput
949
+ data: Prisma.XOR<Prisma.CableAttributesUpdateWithoutCableTemplateInput, Prisma.CableAttributesUncheckedUpdateWithoutCableTemplateInput>
950
+ }
951
+
952
+ export type CableAttributesUpdateManyWithWhereWithoutCableTemplateInput = {
953
+ where: Prisma.CableAttributesScalarWhereInput
954
+ data: Prisma.XOR<Prisma.CableAttributesUpdateManyMutationInput, Prisma.CableAttributesUncheckedUpdateManyWithoutCableTemplateInput>
955
+ }
956
+
957
+ export type CableAttributesCreateManyProjectInput = {
958
+ id?: string
959
+ no?: number
960
+ name: string
961
+ description?: string | null
962
+ value?: string | null
963
+ visibleOnMobile?: boolean
964
+ createdAt?: Date | string
965
+ updatedAt?: Date | string
966
+ deletedAt?: Date | string | null
967
+ cableId?: string | null
968
+ materialId?: string | null
969
+ cableTemplateId?: string | null
970
+ }
971
+
972
+ export type CableAttributesUpdateWithoutProjectInput = {
973
+ id?: Prisma.StringFieldUpdateOperationsInput | string
974
+ no?: Prisma.IntFieldUpdateOperationsInput | number
975
+ name?: Prisma.StringFieldUpdateOperationsInput | string
976
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
977
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
978
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
979
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
980
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
981
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
982
+ cable?: Prisma.CableUpdateOneWithoutCableAttributesNestedInput
983
+ material?: Prisma.MaterialUpdateOneWithoutCableAttributesNestedInput
984
+ CableTemplate?: Prisma.CableTemplateUpdateOneWithoutCableAttributesNestedInput
985
+ }
986
+
987
+ export type CableAttributesUncheckedUpdateWithoutProjectInput = {
988
+ id?: Prisma.StringFieldUpdateOperationsInput | string
989
+ no?: Prisma.IntFieldUpdateOperationsInput | number
990
+ name?: Prisma.StringFieldUpdateOperationsInput | string
991
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
992
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
993
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
994
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
995
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
996
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
997
+ cableId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
998
+ materialId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
999
+ cableTemplateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1000
+ }
1001
+
1002
+ export type CableAttributesUncheckedUpdateManyWithoutProjectInput = {
1003
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1004
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1005
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1006
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1007
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1008
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
1009
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1010
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1011
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1012
+ cableId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1013
+ materialId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1014
+ cableTemplateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1015
+ }
1016
+
1017
+ export type CableAttributesCreateManyMaterialInput = {
1018
+ id?: string
1019
+ no?: number
1020
+ name: string
1021
+ description?: string | null
1022
+ value?: string | null
1023
+ visibleOnMobile?: boolean
1024
+ createdAt?: Date | string
1025
+ updatedAt?: Date | string
1026
+ deletedAt?: Date | string | null
1027
+ cableId?: string | null
1028
+ projectId?: string | null
1029
+ cableTemplateId?: string | null
1030
+ }
1031
+
1032
+ export type CableAttributesUpdateWithoutMaterialInput = {
1033
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1034
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1035
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1036
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1037
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1038
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
1039
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1040
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1041
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1042
+ cable?: Prisma.CableUpdateOneWithoutCableAttributesNestedInput
1043
+ project?: Prisma.ProjectUpdateOneWithoutCableAttributesNestedInput
1044
+ CableTemplate?: Prisma.CableTemplateUpdateOneWithoutCableAttributesNestedInput
1045
+ }
1046
+
1047
+ export type CableAttributesUncheckedUpdateWithoutMaterialInput = {
1048
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1049
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1050
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1051
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1052
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1053
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
1054
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1055
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1056
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1057
+ cableId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1058
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1059
+ cableTemplateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1060
+ }
1061
+
1062
+ export type CableAttributesUncheckedUpdateManyWithoutMaterialInput = {
1063
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1064
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1065
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1066
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1067
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1068
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
1069
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1070
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1071
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1072
+ cableId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1073
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1074
+ cableTemplateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1075
+ }
1076
+
1077
+ export type CableAttributesCreateManyCableInput = {
1078
+ id?: string
1079
+ no?: number
1080
+ name: string
1081
+ description?: string | null
1082
+ value?: string | null
1083
+ visibleOnMobile?: boolean
1084
+ createdAt?: Date | string
1085
+ updatedAt?: Date | string
1086
+ deletedAt?: Date | string | null
1087
+ projectId?: string | null
1088
+ materialId?: string | null
1089
+ cableTemplateId?: string | null
1090
+ }
1091
+
1092
+ export type CableAttributesUpdateWithoutCableInput = {
1093
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1094
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1095
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1096
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1097
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1098
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
1099
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1100
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1101
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1102
+ project?: Prisma.ProjectUpdateOneWithoutCableAttributesNestedInput
1103
+ material?: Prisma.MaterialUpdateOneWithoutCableAttributesNestedInput
1104
+ CableTemplate?: Prisma.CableTemplateUpdateOneWithoutCableAttributesNestedInput
1105
+ }
1106
+
1107
+ export type CableAttributesUncheckedUpdateWithoutCableInput = {
1108
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1109
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1110
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1111
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1112
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1113
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
1114
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1115
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1116
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1117
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1118
+ materialId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1119
+ cableTemplateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1120
+ }
1121
+
1122
+ export type CableAttributesUncheckedUpdateManyWithoutCableInput = {
1123
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1124
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1125
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1126
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1127
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1128
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
1129
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1130
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1131
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1132
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1133
+ materialId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1134
+ cableTemplateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1135
+ }
1136
+
1137
+ export type CableAttributesCreateManyCableTemplateInput = {
1138
+ id?: string
1139
+ no?: number
1140
+ name: string
1141
+ description?: string | null
1142
+ value?: string | null
1143
+ visibleOnMobile?: boolean
1144
+ createdAt?: Date | string
1145
+ updatedAt?: Date | string
1146
+ deletedAt?: Date | string | null
1147
+ cableId?: string | null
1148
+ projectId?: string | null
1149
+ materialId?: string | null
1150
+ }
1151
+
1152
+ export type CableAttributesUpdateWithoutCableTemplateInput = {
1153
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1154
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1155
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1156
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1157
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1158
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
1159
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1160
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1161
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1162
+ cable?: Prisma.CableUpdateOneWithoutCableAttributesNestedInput
1163
+ project?: Prisma.ProjectUpdateOneWithoutCableAttributesNestedInput
1164
+ material?: Prisma.MaterialUpdateOneWithoutCableAttributesNestedInput
1165
+ }
1166
+
1167
+ export type CableAttributesUncheckedUpdateWithoutCableTemplateInput = {
1168
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1169
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1170
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1171
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1172
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1173
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
1174
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1175
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1176
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1177
+ cableId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1178
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1179
+ materialId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1180
+ }
1181
+
1182
+ export type CableAttributesUncheckedUpdateManyWithoutCableTemplateInput = {
1183
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1184
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1185
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1186
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1187
+ value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1188
+ visibleOnMobile?: Prisma.BoolFieldUpdateOperationsInput | boolean
1189
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1190
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1191
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1192
+ cableId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1193
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1194
+ materialId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1195
+ }
1196
+
1197
+
1198
+
1199
+ export type CableAttributesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1200
+ id?: boolean
1201
+ no?: boolean
1202
+ name?: boolean
1203
+ description?: boolean
1204
+ value?: boolean
1205
+ visibleOnMobile?: boolean
1206
+ createdAt?: boolean
1207
+ updatedAt?: boolean
1208
+ deletedAt?: boolean
1209
+ cableId?: boolean
1210
+ projectId?: boolean
1211
+ materialId?: boolean
1212
+ cableTemplateId?: boolean
1213
+ cable?: boolean | Prisma.CableAttributes$cableArgs<ExtArgs>
1214
+ project?: boolean | Prisma.CableAttributes$projectArgs<ExtArgs>
1215
+ material?: boolean | Prisma.CableAttributes$materialArgs<ExtArgs>
1216
+ CableTemplate?: boolean | Prisma.CableAttributes$CableTemplateArgs<ExtArgs>
1217
+ }, ExtArgs["result"]["cableAttributes"]>
1218
+
1219
+ export type CableAttributesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1220
+ id?: boolean
1221
+ no?: boolean
1222
+ name?: boolean
1223
+ description?: boolean
1224
+ value?: boolean
1225
+ visibleOnMobile?: boolean
1226
+ createdAt?: boolean
1227
+ updatedAt?: boolean
1228
+ deletedAt?: boolean
1229
+ cableId?: boolean
1230
+ projectId?: boolean
1231
+ materialId?: boolean
1232
+ cableTemplateId?: boolean
1233
+ cable?: boolean | Prisma.CableAttributes$cableArgs<ExtArgs>
1234
+ project?: boolean | Prisma.CableAttributes$projectArgs<ExtArgs>
1235
+ material?: boolean | Prisma.CableAttributes$materialArgs<ExtArgs>
1236
+ CableTemplate?: boolean | Prisma.CableAttributes$CableTemplateArgs<ExtArgs>
1237
+ }, ExtArgs["result"]["cableAttributes"]>
1238
+
1239
+ export type CableAttributesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1240
+ id?: boolean
1241
+ no?: boolean
1242
+ name?: boolean
1243
+ description?: boolean
1244
+ value?: boolean
1245
+ visibleOnMobile?: boolean
1246
+ createdAt?: boolean
1247
+ updatedAt?: boolean
1248
+ deletedAt?: boolean
1249
+ cableId?: boolean
1250
+ projectId?: boolean
1251
+ materialId?: boolean
1252
+ cableTemplateId?: boolean
1253
+ cable?: boolean | Prisma.CableAttributes$cableArgs<ExtArgs>
1254
+ project?: boolean | Prisma.CableAttributes$projectArgs<ExtArgs>
1255
+ material?: boolean | Prisma.CableAttributes$materialArgs<ExtArgs>
1256
+ CableTemplate?: boolean | Prisma.CableAttributes$CableTemplateArgs<ExtArgs>
1257
+ }, ExtArgs["result"]["cableAttributes"]>
1258
+
1259
+ export type CableAttributesSelectScalar = {
1260
+ id?: boolean
1261
+ no?: boolean
1262
+ name?: boolean
1263
+ description?: boolean
1264
+ value?: boolean
1265
+ visibleOnMobile?: boolean
1266
+ createdAt?: boolean
1267
+ updatedAt?: boolean
1268
+ deletedAt?: boolean
1269
+ cableId?: boolean
1270
+ projectId?: boolean
1271
+ materialId?: boolean
1272
+ cableTemplateId?: boolean
1273
+ }
1274
+
1275
+ export type CableAttributesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "name" | "description" | "value" | "visibleOnMobile" | "createdAt" | "updatedAt" | "deletedAt" | "cableId" | "projectId" | "materialId" | "cableTemplateId", ExtArgs["result"]["cableAttributes"]>
1276
+ export type CableAttributesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1277
+ cable?: boolean | Prisma.CableAttributes$cableArgs<ExtArgs>
1278
+ project?: boolean | Prisma.CableAttributes$projectArgs<ExtArgs>
1279
+ material?: boolean | Prisma.CableAttributes$materialArgs<ExtArgs>
1280
+ CableTemplate?: boolean | Prisma.CableAttributes$CableTemplateArgs<ExtArgs>
1281
+ }
1282
+ export type CableAttributesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1283
+ cable?: boolean | Prisma.CableAttributes$cableArgs<ExtArgs>
1284
+ project?: boolean | Prisma.CableAttributes$projectArgs<ExtArgs>
1285
+ material?: boolean | Prisma.CableAttributes$materialArgs<ExtArgs>
1286
+ CableTemplate?: boolean | Prisma.CableAttributes$CableTemplateArgs<ExtArgs>
1287
+ }
1288
+ export type CableAttributesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1289
+ cable?: boolean | Prisma.CableAttributes$cableArgs<ExtArgs>
1290
+ project?: boolean | Prisma.CableAttributes$projectArgs<ExtArgs>
1291
+ material?: boolean | Prisma.CableAttributes$materialArgs<ExtArgs>
1292
+ CableTemplate?: boolean | Prisma.CableAttributes$CableTemplateArgs<ExtArgs>
1293
+ }
1294
+
1295
+ export type $CableAttributesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1296
+ name: "CableAttributes"
1297
+ objects: {
1298
+ cable: Prisma.$CablePayload<ExtArgs> | null
1299
+ project: Prisma.$ProjectPayload<ExtArgs> | null
1300
+ material: Prisma.$MaterialPayload<ExtArgs> | null
1301
+ CableTemplate: Prisma.$CableTemplatePayload<ExtArgs> | null
1302
+ }
1303
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1304
+ id: string
1305
+ no: number
1306
+ name: string
1307
+ description: string | null
1308
+ value: string | null
1309
+ visibleOnMobile: boolean
1310
+ createdAt: Date
1311
+ updatedAt: Date
1312
+ deletedAt: Date | null
1313
+ cableId: string | null
1314
+ projectId: string | null
1315
+ materialId: string | null
1316
+ cableTemplateId: string | null
1317
+ }, ExtArgs["result"]["cableAttributes"]>
1318
+ composites: {}
1319
+ }
1320
+
1321
+ export type CableAttributesGetPayload<S extends boolean | null | undefined | CableAttributesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload, S>
1322
+
1323
+ export type CableAttributesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1324
+ Omit<CableAttributesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1325
+ select?: CableAttributesCountAggregateInputType | true
1326
+ }
1327
+
1328
+ export interface CableAttributesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1329
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CableAttributes'], meta: { name: 'CableAttributes' } }
1330
+ /**
1331
+ * Find zero or one CableAttributes that matches the filter.
1332
+ * @param {CableAttributesFindUniqueArgs} args - Arguments to find a CableAttributes
1333
+ * @example
1334
+ * // Get one CableAttributes
1335
+ * const cableAttributes = await prisma.cableAttributes.findUnique({
1336
+ * where: {
1337
+ * // ... provide filter here
1338
+ * }
1339
+ * })
1340
+ */
1341
+ findUnique<T extends CableAttributesFindUniqueArgs>(args: Prisma.SelectSubset<T, CableAttributesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CableAttributesClient<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1342
+
1343
+ /**
1344
+ * Find one CableAttributes that matches the filter or throw an error with `error.code='P2025'`
1345
+ * if no matches were found.
1346
+ * @param {CableAttributesFindUniqueOrThrowArgs} args - Arguments to find a CableAttributes
1347
+ * @example
1348
+ * // Get one CableAttributes
1349
+ * const cableAttributes = await prisma.cableAttributes.findUniqueOrThrow({
1350
+ * where: {
1351
+ * // ... provide filter here
1352
+ * }
1353
+ * })
1354
+ */
1355
+ findUniqueOrThrow<T extends CableAttributesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CableAttributesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CableAttributesClient<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1356
+
1357
+ /**
1358
+ * Find the first CableAttributes that matches the filter.
1359
+ * Note, that providing `undefined` is treated as the value not being there.
1360
+ * Read more here: https://pris.ly/d/null-undefined
1361
+ * @param {CableAttributesFindFirstArgs} args - Arguments to find a CableAttributes
1362
+ * @example
1363
+ * // Get one CableAttributes
1364
+ * const cableAttributes = await prisma.cableAttributes.findFirst({
1365
+ * where: {
1366
+ * // ... provide filter here
1367
+ * }
1368
+ * })
1369
+ */
1370
+ findFirst<T extends CableAttributesFindFirstArgs>(args?: Prisma.SelectSubset<T, CableAttributesFindFirstArgs<ExtArgs>>): Prisma.Prisma__CableAttributesClient<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1371
+
1372
+ /**
1373
+ * Find the first CableAttributes that matches the filter or
1374
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1375
+ * Note, that providing `undefined` is treated as the value not being there.
1376
+ * Read more here: https://pris.ly/d/null-undefined
1377
+ * @param {CableAttributesFindFirstOrThrowArgs} args - Arguments to find a CableAttributes
1378
+ * @example
1379
+ * // Get one CableAttributes
1380
+ * const cableAttributes = await prisma.cableAttributes.findFirstOrThrow({
1381
+ * where: {
1382
+ * // ... provide filter here
1383
+ * }
1384
+ * })
1385
+ */
1386
+ findFirstOrThrow<T extends CableAttributesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CableAttributesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CableAttributesClient<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1387
+
1388
+ /**
1389
+ * Find zero or more CableAttributes that matches the filter.
1390
+ * Note, that providing `undefined` is treated as the value not being there.
1391
+ * Read more here: https://pris.ly/d/null-undefined
1392
+ * @param {CableAttributesFindManyArgs} args - Arguments to filter and select certain fields only.
1393
+ * @example
1394
+ * // Get all CableAttributes
1395
+ * const cableAttributes = await prisma.cableAttributes.findMany()
1396
+ *
1397
+ * // Get first 10 CableAttributes
1398
+ * const cableAttributes = await prisma.cableAttributes.findMany({ take: 10 })
1399
+ *
1400
+ * // Only select the `id`
1401
+ * const cableAttributesWithIdOnly = await prisma.cableAttributes.findMany({ select: { id: true } })
1402
+ *
1403
+ */
1404
+ findMany<T extends CableAttributesFindManyArgs>(args?: Prisma.SelectSubset<T, CableAttributesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1405
+
1406
+ /**
1407
+ * Create a CableAttributes.
1408
+ * @param {CableAttributesCreateArgs} args - Arguments to create a CableAttributes.
1409
+ * @example
1410
+ * // Create one CableAttributes
1411
+ * const CableAttributes = await prisma.cableAttributes.create({
1412
+ * data: {
1413
+ * // ... data to create a CableAttributes
1414
+ * }
1415
+ * })
1416
+ *
1417
+ */
1418
+ create<T extends CableAttributesCreateArgs>(args: Prisma.SelectSubset<T, CableAttributesCreateArgs<ExtArgs>>): Prisma.Prisma__CableAttributesClient<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1419
+
1420
+ /**
1421
+ * Create many CableAttributes.
1422
+ * @param {CableAttributesCreateManyArgs} args - Arguments to create many CableAttributes.
1423
+ * @example
1424
+ * // Create many CableAttributes
1425
+ * const cableAttributes = await prisma.cableAttributes.createMany({
1426
+ * data: [
1427
+ * // ... provide data here
1428
+ * ]
1429
+ * })
1430
+ *
1431
+ */
1432
+ createMany<T extends CableAttributesCreateManyArgs>(args?: Prisma.SelectSubset<T, CableAttributesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1433
+
1434
+ /**
1435
+ * Create many CableAttributes and returns the data saved in the database.
1436
+ * @param {CableAttributesCreateManyAndReturnArgs} args - Arguments to create many CableAttributes.
1437
+ * @example
1438
+ * // Create many CableAttributes
1439
+ * const cableAttributes = await prisma.cableAttributes.createManyAndReturn({
1440
+ * data: [
1441
+ * // ... provide data here
1442
+ * ]
1443
+ * })
1444
+ *
1445
+ * // Create many CableAttributes and only return the `id`
1446
+ * const cableAttributesWithIdOnly = await prisma.cableAttributes.createManyAndReturn({
1447
+ * select: { id: true },
1448
+ * data: [
1449
+ * // ... provide data here
1450
+ * ]
1451
+ * })
1452
+ * Note, that providing `undefined` is treated as the value not being there.
1453
+ * Read more here: https://pris.ly/d/null-undefined
1454
+ *
1455
+ */
1456
+ createManyAndReturn<T extends CableAttributesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CableAttributesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1457
+
1458
+ /**
1459
+ * Delete a CableAttributes.
1460
+ * @param {CableAttributesDeleteArgs} args - Arguments to delete one CableAttributes.
1461
+ * @example
1462
+ * // Delete one CableAttributes
1463
+ * const CableAttributes = await prisma.cableAttributes.delete({
1464
+ * where: {
1465
+ * // ... filter to delete one CableAttributes
1466
+ * }
1467
+ * })
1468
+ *
1469
+ */
1470
+ delete<T extends CableAttributesDeleteArgs>(args: Prisma.SelectSubset<T, CableAttributesDeleteArgs<ExtArgs>>): Prisma.Prisma__CableAttributesClient<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1471
+
1472
+ /**
1473
+ * Update one CableAttributes.
1474
+ * @param {CableAttributesUpdateArgs} args - Arguments to update one CableAttributes.
1475
+ * @example
1476
+ * // Update one CableAttributes
1477
+ * const cableAttributes = await prisma.cableAttributes.update({
1478
+ * where: {
1479
+ * // ... provide filter here
1480
+ * },
1481
+ * data: {
1482
+ * // ... provide data here
1483
+ * }
1484
+ * })
1485
+ *
1486
+ */
1487
+ update<T extends CableAttributesUpdateArgs>(args: Prisma.SelectSubset<T, CableAttributesUpdateArgs<ExtArgs>>): Prisma.Prisma__CableAttributesClient<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1488
+
1489
+ /**
1490
+ * Delete zero or more CableAttributes.
1491
+ * @param {CableAttributesDeleteManyArgs} args - Arguments to filter CableAttributes to delete.
1492
+ * @example
1493
+ * // Delete a few CableAttributes
1494
+ * const { count } = await prisma.cableAttributes.deleteMany({
1495
+ * where: {
1496
+ * // ... provide filter here
1497
+ * }
1498
+ * })
1499
+ *
1500
+ */
1501
+ deleteMany<T extends CableAttributesDeleteManyArgs>(args?: Prisma.SelectSubset<T, CableAttributesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1502
+
1503
+ /**
1504
+ * Update zero or more CableAttributes.
1505
+ * Note, that providing `undefined` is treated as the value not being there.
1506
+ * Read more here: https://pris.ly/d/null-undefined
1507
+ * @param {CableAttributesUpdateManyArgs} args - Arguments to update one or more rows.
1508
+ * @example
1509
+ * // Update many CableAttributes
1510
+ * const cableAttributes = await prisma.cableAttributes.updateMany({
1511
+ * where: {
1512
+ * // ... provide filter here
1513
+ * },
1514
+ * data: {
1515
+ * // ... provide data here
1516
+ * }
1517
+ * })
1518
+ *
1519
+ */
1520
+ updateMany<T extends CableAttributesUpdateManyArgs>(args: Prisma.SelectSubset<T, CableAttributesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1521
+
1522
+ /**
1523
+ * Update zero or more CableAttributes and returns the data updated in the database.
1524
+ * @param {CableAttributesUpdateManyAndReturnArgs} args - Arguments to update many CableAttributes.
1525
+ * @example
1526
+ * // Update many CableAttributes
1527
+ * const cableAttributes = await prisma.cableAttributes.updateManyAndReturn({
1528
+ * where: {
1529
+ * // ... provide filter here
1530
+ * },
1531
+ * data: [
1532
+ * // ... provide data here
1533
+ * ]
1534
+ * })
1535
+ *
1536
+ * // Update zero or more CableAttributes and only return the `id`
1537
+ * const cableAttributesWithIdOnly = await prisma.cableAttributes.updateManyAndReturn({
1538
+ * select: { id: true },
1539
+ * where: {
1540
+ * // ... provide filter here
1541
+ * },
1542
+ * data: [
1543
+ * // ... provide data here
1544
+ * ]
1545
+ * })
1546
+ * Note, that providing `undefined` is treated as the value not being there.
1547
+ * Read more here: https://pris.ly/d/null-undefined
1548
+ *
1549
+ */
1550
+ updateManyAndReturn<T extends CableAttributesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CableAttributesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1551
+
1552
+ /**
1553
+ * Create or update one CableAttributes.
1554
+ * @param {CableAttributesUpsertArgs} args - Arguments to update or create a CableAttributes.
1555
+ * @example
1556
+ * // Update or create a CableAttributes
1557
+ * const cableAttributes = await prisma.cableAttributes.upsert({
1558
+ * create: {
1559
+ * // ... data to create a CableAttributes
1560
+ * },
1561
+ * update: {
1562
+ * // ... in case it already exists, update
1563
+ * },
1564
+ * where: {
1565
+ * // ... the filter for the CableAttributes we want to update
1566
+ * }
1567
+ * })
1568
+ */
1569
+ upsert<T extends CableAttributesUpsertArgs>(args: Prisma.SelectSubset<T, CableAttributesUpsertArgs<ExtArgs>>): Prisma.Prisma__CableAttributesClient<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1570
+
1571
+
1572
+ /**
1573
+ * Count the number of CableAttributes.
1574
+ * Note, that providing `undefined` is treated as the value not being there.
1575
+ * Read more here: https://pris.ly/d/null-undefined
1576
+ * @param {CableAttributesCountArgs} args - Arguments to filter CableAttributes to count.
1577
+ * @example
1578
+ * // Count the number of CableAttributes
1579
+ * const count = await prisma.cableAttributes.count({
1580
+ * where: {
1581
+ * // ... the filter for the CableAttributes we want to count
1582
+ * }
1583
+ * })
1584
+ **/
1585
+ count<T extends CableAttributesCountArgs>(
1586
+ args?: Prisma.Subset<T, CableAttributesCountArgs>,
1587
+ ): Prisma.PrismaPromise<
1588
+ T extends runtime.Types.Utils.Record<'select', any>
1589
+ ? T['select'] extends true
1590
+ ? number
1591
+ : Prisma.GetScalarType<T['select'], CableAttributesCountAggregateOutputType>
1592
+ : number
1593
+ >
1594
+
1595
+ /**
1596
+ * Allows you to perform aggregations operations on a CableAttributes.
1597
+ * Note, that providing `undefined` is treated as the value not being there.
1598
+ * Read more here: https://pris.ly/d/null-undefined
1599
+ * @param {CableAttributesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1600
+ * @example
1601
+ * // Ordered by age ascending
1602
+ * // Where email contains prisma.io
1603
+ * // Limited to the 10 users
1604
+ * const aggregations = await prisma.user.aggregate({
1605
+ * _avg: {
1606
+ * age: true,
1607
+ * },
1608
+ * where: {
1609
+ * email: {
1610
+ * contains: "prisma.io",
1611
+ * },
1612
+ * },
1613
+ * orderBy: {
1614
+ * age: "asc",
1615
+ * },
1616
+ * take: 10,
1617
+ * })
1618
+ **/
1619
+ aggregate<T extends CableAttributesAggregateArgs>(args: Prisma.Subset<T, CableAttributesAggregateArgs>): Prisma.PrismaPromise<GetCableAttributesAggregateType<T>>
1620
+
1621
+ /**
1622
+ * Group by CableAttributes.
1623
+ * Note, that providing `undefined` is treated as the value not being there.
1624
+ * Read more here: https://pris.ly/d/null-undefined
1625
+ * @param {CableAttributesGroupByArgs} args - Group by arguments.
1626
+ * @example
1627
+ * // Group by city, order by createdAt, get count
1628
+ * const result = await prisma.user.groupBy({
1629
+ * by: ['city', 'createdAt'],
1630
+ * orderBy: {
1631
+ * createdAt: true
1632
+ * },
1633
+ * _count: {
1634
+ * _all: true
1635
+ * },
1636
+ * })
1637
+ *
1638
+ **/
1639
+ groupBy<
1640
+ T extends CableAttributesGroupByArgs,
1641
+ HasSelectOrTake extends Prisma.Or<
1642
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1643
+ Prisma.Extends<'take', Prisma.Keys<T>>
1644
+ >,
1645
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1646
+ ? { orderBy: CableAttributesGroupByArgs['orderBy'] }
1647
+ : { orderBy?: CableAttributesGroupByArgs['orderBy'] },
1648
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1649
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1650
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1651
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1652
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1653
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1654
+ InputErrors extends ByEmpty extends Prisma.True
1655
+ ? `Error: "by" must not be empty.`
1656
+ : HavingValid extends Prisma.False
1657
+ ? {
1658
+ [P in HavingFields]: P extends ByFields
1659
+ ? never
1660
+ : P extends string
1661
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1662
+ : [
1663
+ Error,
1664
+ 'Field ',
1665
+ P,
1666
+ ` in "having" needs to be provided in "by"`,
1667
+ ]
1668
+ }[HavingFields]
1669
+ : 'take' extends Prisma.Keys<T>
1670
+ ? 'orderBy' extends Prisma.Keys<T>
1671
+ ? ByValid extends Prisma.True
1672
+ ? {}
1673
+ : {
1674
+ [P in OrderFields]: P extends ByFields
1675
+ ? never
1676
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1677
+ }[OrderFields]
1678
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1679
+ : 'skip' extends Prisma.Keys<T>
1680
+ ? 'orderBy' extends Prisma.Keys<T>
1681
+ ? ByValid extends Prisma.True
1682
+ ? {}
1683
+ : {
1684
+ [P in OrderFields]: P extends ByFields
1685
+ ? never
1686
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1687
+ }[OrderFields]
1688
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1689
+ : ByValid extends Prisma.True
1690
+ ? {}
1691
+ : {
1692
+ [P in OrderFields]: P extends ByFields
1693
+ ? never
1694
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1695
+ }[OrderFields]
1696
+ >(args: Prisma.SubsetIntersection<T, CableAttributesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCableAttributesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1697
+ /**
1698
+ * Fields of the CableAttributes model
1699
+ */
1700
+ readonly fields: CableAttributesFieldRefs;
1701
+ }
1702
+
1703
+ /**
1704
+ * The delegate class that acts as a "Promise-like" for CableAttributes.
1705
+ * Why is this prefixed with `Prisma__`?
1706
+ * Because we want to prevent naming conflicts as mentioned in
1707
+ * https://github.com/prisma/prisma-client-js/issues/707
1708
+ */
1709
+ export interface Prisma__CableAttributesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1710
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1711
+ cable<T extends Prisma.CableAttributes$cableArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CableAttributes$cableArgs<ExtArgs>>): Prisma.Prisma__CableClient<runtime.Types.Result.GetResult<Prisma.$CablePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1712
+ project<T extends Prisma.CableAttributes$projectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CableAttributes$projectArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1713
+ material<T extends Prisma.CableAttributes$materialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CableAttributes$materialArgs<ExtArgs>>): Prisma.Prisma__MaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1714
+ CableTemplate<T extends Prisma.CableAttributes$CableTemplateArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CableAttributes$CableTemplateArgs<ExtArgs>>): Prisma.Prisma__CableTemplateClient<runtime.Types.Result.GetResult<Prisma.$CableTemplatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1715
+ /**
1716
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1717
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1718
+ * @param onrejected The callback to execute when the Promise is rejected.
1719
+ * @returns A Promise for the completion of which ever callback is executed.
1720
+ */
1721
+ 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>
1722
+ /**
1723
+ * Attaches a callback for only the rejection of the Promise.
1724
+ * @param onrejected The callback to execute when the Promise is rejected.
1725
+ * @returns A Promise for the completion of the callback.
1726
+ */
1727
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1728
+ /**
1729
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1730
+ * resolved value cannot be modified from the callback.
1731
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1732
+ * @returns A Promise for the completion of the callback.
1733
+ */
1734
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1735
+ }
1736
+
1737
+
1738
+
1739
+
1740
+ /**
1741
+ * Fields of the CableAttributes model
1742
+ */
1743
+ export interface CableAttributesFieldRefs {
1744
+ readonly id: Prisma.FieldRef<"CableAttributes", 'String'>
1745
+ readonly no: Prisma.FieldRef<"CableAttributes", 'Int'>
1746
+ readonly name: Prisma.FieldRef<"CableAttributes", 'String'>
1747
+ readonly description: Prisma.FieldRef<"CableAttributes", 'String'>
1748
+ readonly value: Prisma.FieldRef<"CableAttributes", 'String'>
1749
+ readonly visibleOnMobile: Prisma.FieldRef<"CableAttributes", 'Boolean'>
1750
+ readonly createdAt: Prisma.FieldRef<"CableAttributes", 'DateTime'>
1751
+ readonly updatedAt: Prisma.FieldRef<"CableAttributes", 'DateTime'>
1752
+ readonly deletedAt: Prisma.FieldRef<"CableAttributes", 'DateTime'>
1753
+ readonly cableId: Prisma.FieldRef<"CableAttributes", 'String'>
1754
+ readonly projectId: Prisma.FieldRef<"CableAttributes", 'String'>
1755
+ readonly materialId: Prisma.FieldRef<"CableAttributes", 'String'>
1756
+ readonly cableTemplateId: Prisma.FieldRef<"CableAttributes", 'String'>
1757
+ }
1758
+
1759
+
1760
+ // Custom InputTypes
1761
+ /**
1762
+ * CableAttributes findUnique
1763
+ */
1764
+ export type CableAttributesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1765
+ /**
1766
+ * Select specific fields to fetch from the CableAttributes
1767
+ */
1768
+ select?: Prisma.CableAttributesSelect<ExtArgs> | null
1769
+ /**
1770
+ * Omit specific fields from the CableAttributes
1771
+ */
1772
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
1773
+ /**
1774
+ * Choose, which related nodes to fetch as well
1775
+ */
1776
+ include?: Prisma.CableAttributesInclude<ExtArgs> | null
1777
+ /**
1778
+ * Filter, which CableAttributes to fetch.
1779
+ */
1780
+ where: Prisma.CableAttributesWhereUniqueInput
1781
+ }
1782
+
1783
+ /**
1784
+ * CableAttributes findUniqueOrThrow
1785
+ */
1786
+ export type CableAttributesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1787
+ /**
1788
+ * Select specific fields to fetch from the CableAttributes
1789
+ */
1790
+ select?: Prisma.CableAttributesSelect<ExtArgs> | null
1791
+ /**
1792
+ * Omit specific fields from the CableAttributes
1793
+ */
1794
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
1795
+ /**
1796
+ * Choose, which related nodes to fetch as well
1797
+ */
1798
+ include?: Prisma.CableAttributesInclude<ExtArgs> | null
1799
+ /**
1800
+ * Filter, which CableAttributes to fetch.
1801
+ */
1802
+ where: Prisma.CableAttributesWhereUniqueInput
1803
+ }
1804
+
1805
+ /**
1806
+ * CableAttributes findFirst
1807
+ */
1808
+ export type CableAttributesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1809
+ /**
1810
+ * Select specific fields to fetch from the CableAttributes
1811
+ */
1812
+ select?: Prisma.CableAttributesSelect<ExtArgs> | null
1813
+ /**
1814
+ * Omit specific fields from the CableAttributes
1815
+ */
1816
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
1817
+ /**
1818
+ * Choose, which related nodes to fetch as well
1819
+ */
1820
+ include?: Prisma.CableAttributesInclude<ExtArgs> | null
1821
+ /**
1822
+ * Filter, which CableAttributes to fetch.
1823
+ */
1824
+ where?: Prisma.CableAttributesWhereInput
1825
+ /**
1826
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1827
+ *
1828
+ * Determine the order of CableAttributes to fetch.
1829
+ */
1830
+ orderBy?: Prisma.CableAttributesOrderByWithRelationInput | Prisma.CableAttributesOrderByWithRelationInput[]
1831
+ /**
1832
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1833
+ *
1834
+ * Sets the position for searching for CableAttributes.
1835
+ */
1836
+ cursor?: Prisma.CableAttributesWhereUniqueInput
1837
+ /**
1838
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1839
+ *
1840
+ * Take `±n` CableAttributes from the position of the cursor.
1841
+ */
1842
+ take?: number
1843
+ /**
1844
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1845
+ *
1846
+ * Skip the first `n` CableAttributes.
1847
+ */
1848
+ skip?: number
1849
+ /**
1850
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1851
+ *
1852
+ * Filter by unique combinations of CableAttributes.
1853
+ */
1854
+ distinct?: Prisma.CableAttributesScalarFieldEnum | Prisma.CableAttributesScalarFieldEnum[]
1855
+ }
1856
+
1857
+ /**
1858
+ * CableAttributes findFirstOrThrow
1859
+ */
1860
+ export type CableAttributesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1861
+ /**
1862
+ * Select specific fields to fetch from the CableAttributes
1863
+ */
1864
+ select?: Prisma.CableAttributesSelect<ExtArgs> | null
1865
+ /**
1866
+ * Omit specific fields from the CableAttributes
1867
+ */
1868
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
1869
+ /**
1870
+ * Choose, which related nodes to fetch as well
1871
+ */
1872
+ include?: Prisma.CableAttributesInclude<ExtArgs> | null
1873
+ /**
1874
+ * Filter, which CableAttributes to fetch.
1875
+ */
1876
+ where?: Prisma.CableAttributesWhereInput
1877
+ /**
1878
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1879
+ *
1880
+ * Determine the order of CableAttributes to fetch.
1881
+ */
1882
+ orderBy?: Prisma.CableAttributesOrderByWithRelationInput | Prisma.CableAttributesOrderByWithRelationInput[]
1883
+ /**
1884
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1885
+ *
1886
+ * Sets the position for searching for CableAttributes.
1887
+ */
1888
+ cursor?: Prisma.CableAttributesWhereUniqueInput
1889
+ /**
1890
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1891
+ *
1892
+ * Take `±n` CableAttributes from the position of the cursor.
1893
+ */
1894
+ take?: number
1895
+ /**
1896
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1897
+ *
1898
+ * Skip the first `n` CableAttributes.
1899
+ */
1900
+ skip?: number
1901
+ /**
1902
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1903
+ *
1904
+ * Filter by unique combinations of CableAttributes.
1905
+ */
1906
+ distinct?: Prisma.CableAttributesScalarFieldEnum | Prisma.CableAttributesScalarFieldEnum[]
1907
+ }
1908
+
1909
+ /**
1910
+ * CableAttributes findMany
1911
+ */
1912
+ export type CableAttributesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1913
+ /**
1914
+ * Select specific fields to fetch from the CableAttributes
1915
+ */
1916
+ select?: Prisma.CableAttributesSelect<ExtArgs> | null
1917
+ /**
1918
+ * Omit specific fields from the CableAttributes
1919
+ */
1920
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
1921
+ /**
1922
+ * Choose, which related nodes to fetch as well
1923
+ */
1924
+ include?: Prisma.CableAttributesInclude<ExtArgs> | null
1925
+ /**
1926
+ * Filter, which CableAttributes to fetch.
1927
+ */
1928
+ where?: Prisma.CableAttributesWhereInput
1929
+ /**
1930
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1931
+ *
1932
+ * Determine the order of CableAttributes to fetch.
1933
+ */
1934
+ orderBy?: Prisma.CableAttributesOrderByWithRelationInput | Prisma.CableAttributesOrderByWithRelationInput[]
1935
+ /**
1936
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1937
+ *
1938
+ * Sets the position for listing CableAttributes.
1939
+ */
1940
+ cursor?: Prisma.CableAttributesWhereUniqueInput
1941
+ /**
1942
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1943
+ *
1944
+ * Take `±n` CableAttributes from the position of the cursor.
1945
+ */
1946
+ take?: number
1947
+ /**
1948
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1949
+ *
1950
+ * Skip the first `n` CableAttributes.
1951
+ */
1952
+ skip?: number
1953
+ distinct?: Prisma.CableAttributesScalarFieldEnum | Prisma.CableAttributesScalarFieldEnum[]
1954
+ }
1955
+
1956
+ /**
1957
+ * CableAttributes create
1958
+ */
1959
+ export type CableAttributesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1960
+ /**
1961
+ * Select specific fields to fetch from the CableAttributes
1962
+ */
1963
+ select?: Prisma.CableAttributesSelect<ExtArgs> | null
1964
+ /**
1965
+ * Omit specific fields from the CableAttributes
1966
+ */
1967
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
1968
+ /**
1969
+ * Choose, which related nodes to fetch as well
1970
+ */
1971
+ include?: Prisma.CableAttributesInclude<ExtArgs> | null
1972
+ /**
1973
+ * The data needed to create a CableAttributes.
1974
+ */
1975
+ data: Prisma.XOR<Prisma.CableAttributesCreateInput, Prisma.CableAttributesUncheckedCreateInput>
1976
+ }
1977
+
1978
+ /**
1979
+ * CableAttributes createMany
1980
+ */
1981
+ export type CableAttributesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1982
+ /**
1983
+ * The data used to create many CableAttributes.
1984
+ */
1985
+ data: Prisma.CableAttributesCreateManyInput | Prisma.CableAttributesCreateManyInput[]
1986
+ skipDuplicates?: boolean
1987
+ }
1988
+
1989
+ /**
1990
+ * CableAttributes createManyAndReturn
1991
+ */
1992
+ export type CableAttributesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1993
+ /**
1994
+ * Select specific fields to fetch from the CableAttributes
1995
+ */
1996
+ select?: Prisma.CableAttributesSelectCreateManyAndReturn<ExtArgs> | null
1997
+ /**
1998
+ * Omit specific fields from the CableAttributes
1999
+ */
2000
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
2001
+ /**
2002
+ * The data used to create many CableAttributes.
2003
+ */
2004
+ data: Prisma.CableAttributesCreateManyInput | Prisma.CableAttributesCreateManyInput[]
2005
+ skipDuplicates?: boolean
2006
+ /**
2007
+ * Choose, which related nodes to fetch as well
2008
+ */
2009
+ include?: Prisma.CableAttributesIncludeCreateManyAndReturn<ExtArgs> | null
2010
+ }
2011
+
2012
+ /**
2013
+ * CableAttributes update
2014
+ */
2015
+ export type CableAttributesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2016
+ /**
2017
+ * Select specific fields to fetch from the CableAttributes
2018
+ */
2019
+ select?: Prisma.CableAttributesSelect<ExtArgs> | null
2020
+ /**
2021
+ * Omit specific fields from the CableAttributes
2022
+ */
2023
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
2024
+ /**
2025
+ * Choose, which related nodes to fetch as well
2026
+ */
2027
+ include?: Prisma.CableAttributesInclude<ExtArgs> | null
2028
+ /**
2029
+ * The data needed to update a CableAttributes.
2030
+ */
2031
+ data: Prisma.XOR<Prisma.CableAttributesUpdateInput, Prisma.CableAttributesUncheckedUpdateInput>
2032
+ /**
2033
+ * Choose, which CableAttributes to update.
2034
+ */
2035
+ where: Prisma.CableAttributesWhereUniqueInput
2036
+ }
2037
+
2038
+ /**
2039
+ * CableAttributes updateMany
2040
+ */
2041
+ export type CableAttributesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2042
+ /**
2043
+ * The data used to update CableAttributes.
2044
+ */
2045
+ data: Prisma.XOR<Prisma.CableAttributesUpdateManyMutationInput, Prisma.CableAttributesUncheckedUpdateManyInput>
2046
+ /**
2047
+ * Filter which CableAttributes to update
2048
+ */
2049
+ where?: Prisma.CableAttributesWhereInput
2050
+ /**
2051
+ * Limit how many CableAttributes to update.
2052
+ */
2053
+ limit?: number
2054
+ }
2055
+
2056
+ /**
2057
+ * CableAttributes updateManyAndReturn
2058
+ */
2059
+ export type CableAttributesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2060
+ /**
2061
+ * Select specific fields to fetch from the CableAttributes
2062
+ */
2063
+ select?: Prisma.CableAttributesSelectUpdateManyAndReturn<ExtArgs> | null
2064
+ /**
2065
+ * Omit specific fields from the CableAttributes
2066
+ */
2067
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
2068
+ /**
2069
+ * The data used to update CableAttributes.
2070
+ */
2071
+ data: Prisma.XOR<Prisma.CableAttributesUpdateManyMutationInput, Prisma.CableAttributesUncheckedUpdateManyInput>
2072
+ /**
2073
+ * Filter which CableAttributes to update
2074
+ */
2075
+ where?: Prisma.CableAttributesWhereInput
2076
+ /**
2077
+ * Limit how many CableAttributes to update.
2078
+ */
2079
+ limit?: number
2080
+ /**
2081
+ * Choose, which related nodes to fetch as well
2082
+ */
2083
+ include?: Prisma.CableAttributesIncludeUpdateManyAndReturn<ExtArgs> | null
2084
+ }
2085
+
2086
+ /**
2087
+ * CableAttributes upsert
2088
+ */
2089
+ export type CableAttributesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2090
+ /**
2091
+ * Select specific fields to fetch from the CableAttributes
2092
+ */
2093
+ select?: Prisma.CableAttributesSelect<ExtArgs> | null
2094
+ /**
2095
+ * Omit specific fields from the CableAttributes
2096
+ */
2097
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
2098
+ /**
2099
+ * Choose, which related nodes to fetch as well
2100
+ */
2101
+ include?: Prisma.CableAttributesInclude<ExtArgs> | null
2102
+ /**
2103
+ * The filter to search for the CableAttributes to update in case it exists.
2104
+ */
2105
+ where: Prisma.CableAttributesWhereUniqueInput
2106
+ /**
2107
+ * In case the CableAttributes found by the `where` argument doesn't exist, create a new CableAttributes with this data.
2108
+ */
2109
+ create: Prisma.XOR<Prisma.CableAttributesCreateInput, Prisma.CableAttributesUncheckedCreateInput>
2110
+ /**
2111
+ * In case the CableAttributes was found with the provided `where` argument, update it with this data.
2112
+ */
2113
+ update: Prisma.XOR<Prisma.CableAttributesUpdateInput, Prisma.CableAttributesUncheckedUpdateInput>
2114
+ }
2115
+
2116
+ /**
2117
+ * CableAttributes delete
2118
+ */
2119
+ export type CableAttributesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2120
+ /**
2121
+ * Select specific fields to fetch from the CableAttributes
2122
+ */
2123
+ select?: Prisma.CableAttributesSelect<ExtArgs> | null
2124
+ /**
2125
+ * Omit specific fields from the CableAttributes
2126
+ */
2127
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
2128
+ /**
2129
+ * Choose, which related nodes to fetch as well
2130
+ */
2131
+ include?: Prisma.CableAttributesInclude<ExtArgs> | null
2132
+ /**
2133
+ * Filter which CableAttributes to delete.
2134
+ */
2135
+ where: Prisma.CableAttributesWhereUniqueInput
2136
+ }
2137
+
2138
+ /**
2139
+ * CableAttributes deleteMany
2140
+ */
2141
+ export type CableAttributesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2142
+ /**
2143
+ * Filter which CableAttributes to delete
2144
+ */
2145
+ where?: Prisma.CableAttributesWhereInput
2146
+ /**
2147
+ * Limit how many CableAttributes to delete.
2148
+ */
2149
+ limit?: number
2150
+ }
2151
+
2152
+ /**
2153
+ * CableAttributes.cable
2154
+ */
2155
+ export type CableAttributes$cableArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2156
+ /**
2157
+ * Select specific fields to fetch from the Cable
2158
+ */
2159
+ select?: Prisma.CableSelect<ExtArgs> | null
2160
+ /**
2161
+ * Omit specific fields from the Cable
2162
+ */
2163
+ omit?: Prisma.CableOmit<ExtArgs> | null
2164
+ /**
2165
+ * Choose, which related nodes to fetch as well
2166
+ */
2167
+ include?: Prisma.CableInclude<ExtArgs> | null
2168
+ where?: Prisma.CableWhereInput
2169
+ }
2170
+
2171
+ /**
2172
+ * CableAttributes.project
2173
+ */
2174
+ export type CableAttributes$projectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2175
+ /**
2176
+ * Select specific fields to fetch from the Project
2177
+ */
2178
+ select?: Prisma.ProjectSelect<ExtArgs> | null
2179
+ /**
2180
+ * Omit specific fields from the Project
2181
+ */
2182
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
2183
+ /**
2184
+ * Choose, which related nodes to fetch as well
2185
+ */
2186
+ include?: Prisma.ProjectInclude<ExtArgs> | null
2187
+ where?: Prisma.ProjectWhereInput
2188
+ }
2189
+
2190
+ /**
2191
+ * CableAttributes.material
2192
+ */
2193
+ export type CableAttributes$materialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2194
+ /**
2195
+ * Select specific fields to fetch from the Material
2196
+ */
2197
+ select?: Prisma.MaterialSelect<ExtArgs> | null
2198
+ /**
2199
+ * Omit specific fields from the Material
2200
+ */
2201
+ omit?: Prisma.MaterialOmit<ExtArgs> | null
2202
+ /**
2203
+ * Choose, which related nodes to fetch as well
2204
+ */
2205
+ include?: Prisma.MaterialInclude<ExtArgs> | null
2206
+ where?: Prisma.MaterialWhereInput
2207
+ }
2208
+
2209
+ /**
2210
+ * CableAttributes.CableTemplate
2211
+ */
2212
+ export type CableAttributes$CableTemplateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2213
+ /**
2214
+ * Select specific fields to fetch from the CableTemplate
2215
+ */
2216
+ select?: Prisma.CableTemplateSelect<ExtArgs> | null
2217
+ /**
2218
+ * Omit specific fields from the CableTemplate
2219
+ */
2220
+ omit?: Prisma.CableTemplateOmit<ExtArgs> | null
2221
+ /**
2222
+ * Choose, which related nodes to fetch as well
2223
+ */
2224
+ include?: Prisma.CableTemplateInclude<ExtArgs> | null
2225
+ where?: Prisma.CableTemplateWhereInput
2226
+ }
2227
+
2228
+ /**
2229
+ * CableAttributes without action
2230
+ */
2231
+ export type CableAttributesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2232
+ /**
2233
+ * Select specific fields to fetch from the CableAttributes
2234
+ */
2235
+ select?: Prisma.CableAttributesSelect<ExtArgs> | null
2236
+ /**
2237
+ * Omit specific fields from the CableAttributes
2238
+ */
2239
+ omit?: Prisma.CableAttributesOmit<ExtArgs> | null
2240
+ /**
2241
+ * Choose, which related nodes to fetch as well
2242
+ */
2243
+ include?: Prisma.CableAttributesInclude<ExtArgs> | null
2244
+ }