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