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