efiber-prisma-schema 1.16.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/index.d.ts +6 -1
  2. package/index.js +10 -1
  3. package/package.json +13 -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/migrations/20251106101538_max_capacity_string/migration.sql +2 -0
  121. package/prisma/schema.prisma +3 -3
  122. package/prisma/seed.ts +33 -0
  123. package/prisma.config.ts +13 -0
  124. package/tsconfig.json +13 -0
@@ -0,0 +1,2742 @@
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 `MapElementTemplate` 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 MapElementTemplate
17
+ *
18
+ */
19
+ export type MapElementTemplateModel = runtime.Types.Result.DefaultSelection<Prisma.$MapElementTemplatePayload>
20
+
21
+ export type AggregateMapElementTemplate = {
22
+ _count: MapElementTemplateCountAggregateOutputType | null
23
+ _avg: MapElementTemplateAvgAggregateOutputType | null
24
+ _sum: MapElementTemplateSumAggregateOutputType | null
25
+ _min: MapElementTemplateMinAggregateOutputType | null
26
+ _max: MapElementTemplateMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type MapElementTemplateAvgAggregateOutputType = {
30
+ no: number | null
31
+ }
32
+
33
+ export type MapElementTemplateSumAggregateOutputType = {
34
+ no: number | null
35
+ }
36
+
37
+ export type MapElementTemplateMinAggregateOutputType = {
38
+ id: string | null
39
+ no: number | null
40
+ status: string | null
41
+ name: string | null
42
+ mapElementType: $Enums.MapElementType | null
43
+ createdAt: Date | null
44
+ updatedAt: Date | null
45
+ deletedAt: Date | null
46
+ updatedById: string | null
47
+ networkElementId: string | null
48
+ clusterId: string | null
49
+ }
50
+
51
+ export type MapElementTemplateMaxAggregateOutputType = {
52
+ id: string | null
53
+ no: number | null
54
+ status: string | null
55
+ name: string | null
56
+ mapElementType: $Enums.MapElementType | null
57
+ createdAt: Date | null
58
+ updatedAt: Date | null
59
+ deletedAt: Date | null
60
+ updatedById: string | null
61
+ networkElementId: string | null
62
+ clusterId: string | null
63
+ }
64
+
65
+ export type MapElementTemplateCountAggregateOutputType = {
66
+ id: number
67
+ no: number
68
+ status: number
69
+ name: number
70
+ photos: number
71
+ texts: number
72
+ files: number
73
+ zone: number
74
+ geometry: number
75
+ mapElementType: number
76
+ createdAt: number
77
+ updatedAt: number
78
+ deletedAt: number
79
+ updatedById: number
80
+ networkElementId: number
81
+ clusterId: number
82
+ _all: number
83
+ }
84
+
85
+
86
+ export type MapElementTemplateAvgAggregateInputType = {
87
+ no?: true
88
+ }
89
+
90
+ export type MapElementTemplateSumAggregateInputType = {
91
+ no?: true
92
+ }
93
+
94
+ export type MapElementTemplateMinAggregateInputType = {
95
+ id?: true
96
+ no?: true
97
+ status?: true
98
+ name?: true
99
+ mapElementType?: true
100
+ createdAt?: true
101
+ updatedAt?: true
102
+ deletedAt?: true
103
+ updatedById?: true
104
+ networkElementId?: true
105
+ clusterId?: true
106
+ }
107
+
108
+ export type MapElementTemplateMaxAggregateInputType = {
109
+ id?: true
110
+ no?: true
111
+ status?: true
112
+ name?: true
113
+ mapElementType?: true
114
+ createdAt?: true
115
+ updatedAt?: true
116
+ deletedAt?: true
117
+ updatedById?: true
118
+ networkElementId?: true
119
+ clusterId?: true
120
+ }
121
+
122
+ export type MapElementTemplateCountAggregateInputType = {
123
+ id?: true
124
+ no?: true
125
+ status?: true
126
+ name?: true
127
+ photos?: true
128
+ texts?: true
129
+ files?: true
130
+ zone?: true
131
+ geometry?: true
132
+ mapElementType?: true
133
+ createdAt?: true
134
+ updatedAt?: true
135
+ deletedAt?: true
136
+ updatedById?: true
137
+ networkElementId?: true
138
+ clusterId?: true
139
+ _all?: true
140
+ }
141
+
142
+ export type MapElementTemplateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
143
+ /**
144
+ * Filter which MapElementTemplate to aggregate.
145
+ */
146
+ where?: Prisma.MapElementTemplateWhereInput
147
+ /**
148
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
149
+ *
150
+ * Determine the order of MapElementTemplates to fetch.
151
+ */
152
+ orderBy?: Prisma.MapElementTemplateOrderByWithRelationInput | Prisma.MapElementTemplateOrderByWithRelationInput[]
153
+ /**
154
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
155
+ *
156
+ * Sets the start position
157
+ */
158
+ cursor?: Prisma.MapElementTemplateWhereUniqueInput
159
+ /**
160
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
161
+ *
162
+ * Take `±n` MapElementTemplates from the position of the cursor.
163
+ */
164
+ take?: number
165
+ /**
166
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
167
+ *
168
+ * Skip the first `n` MapElementTemplates.
169
+ */
170
+ skip?: number
171
+ /**
172
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
173
+ *
174
+ * Count returned MapElementTemplates
175
+ **/
176
+ _count?: true | MapElementTemplateCountAggregateInputType
177
+ /**
178
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
179
+ *
180
+ * Select which fields to average
181
+ **/
182
+ _avg?: MapElementTemplateAvgAggregateInputType
183
+ /**
184
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
185
+ *
186
+ * Select which fields to sum
187
+ **/
188
+ _sum?: MapElementTemplateSumAggregateInputType
189
+ /**
190
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
191
+ *
192
+ * Select which fields to find the minimum value
193
+ **/
194
+ _min?: MapElementTemplateMinAggregateInputType
195
+ /**
196
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
197
+ *
198
+ * Select which fields to find the maximum value
199
+ **/
200
+ _max?: MapElementTemplateMaxAggregateInputType
201
+ }
202
+
203
+ export type GetMapElementTemplateAggregateType<T extends MapElementTemplateAggregateArgs> = {
204
+ [P in keyof T & keyof AggregateMapElementTemplate]: P extends '_count' | 'count'
205
+ ? T[P] extends true
206
+ ? number
207
+ : Prisma.GetScalarType<T[P], AggregateMapElementTemplate[P]>
208
+ : Prisma.GetScalarType<T[P], AggregateMapElementTemplate[P]>
209
+ }
210
+
211
+
212
+
213
+
214
+ export type MapElementTemplateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
215
+ where?: Prisma.MapElementTemplateWhereInput
216
+ orderBy?: Prisma.MapElementTemplateOrderByWithAggregationInput | Prisma.MapElementTemplateOrderByWithAggregationInput[]
217
+ by: Prisma.MapElementTemplateScalarFieldEnum[] | Prisma.MapElementTemplateScalarFieldEnum
218
+ having?: Prisma.MapElementTemplateScalarWhereWithAggregatesInput
219
+ take?: number
220
+ skip?: number
221
+ _count?: MapElementTemplateCountAggregateInputType | true
222
+ _avg?: MapElementTemplateAvgAggregateInputType
223
+ _sum?: MapElementTemplateSumAggregateInputType
224
+ _min?: MapElementTemplateMinAggregateInputType
225
+ _max?: MapElementTemplateMaxAggregateInputType
226
+ }
227
+
228
+ export type MapElementTemplateGroupByOutputType = {
229
+ id: string
230
+ no: number
231
+ status: string
232
+ name: string | null
233
+ photos: runtime.JsonValue | null
234
+ texts: runtime.JsonValue | null
235
+ files: runtime.JsonValue | null
236
+ zone: runtime.JsonValue | null
237
+ geometry: runtime.JsonValue | null
238
+ mapElementType: $Enums.MapElementType
239
+ createdAt: Date
240
+ updatedAt: Date
241
+ deletedAt: Date | null
242
+ updatedById: string | null
243
+ networkElementId: string
244
+ clusterId: string | null
245
+ _count: MapElementTemplateCountAggregateOutputType | null
246
+ _avg: MapElementTemplateAvgAggregateOutputType | null
247
+ _sum: MapElementTemplateSumAggregateOutputType | null
248
+ _min: MapElementTemplateMinAggregateOutputType | null
249
+ _max: MapElementTemplateMaxAggregateOutputType | null
250
+ }
251
+
252
+ type GetMapElementTemplateGroupByPayload<T extends MapElementTemplateGroupByArgs> = Prisma.PrismaPromise<
253
+ Array<
254
+ Prisma.PickEnumerable<MapElementTemplateGroupByOutputType, T['by']> &
255
+ {
256
+ [P in ((keyof T) & (keyof MapElementTemplateGroupByOutputType))]: P extends '_count'
257
+ ? T[P] extends boolean
258
+ ? number
259
+ : Prisma.GetScalarType<T[P], MapElementTemplateGroupByOutputType[P]>
260
+ : Prisma.GetScalarType<T[P], MapElementTemplateGroupByOutputType[P]>
261
+ }
262
+ >
263
+ >
264
+
265
+
266
+
267
+ export type MapElementTemplateWhereInput = {
268
+ AND?: Prisma.MapElementTemplateWhereInput | Prisma.MapElementTemplateWhereInput[]
269
+ OR?: Prisma.MapElementTemplateWhereInput[]
270
+ NOT?: Prisma.MapElementTemplateWhereInput | Prisma.MapElementTemplateWhereInput[]
271
+ id?: Prisma.StringFilter<"MapElementTemplate"> | string
272
+ no?: Prisma.IntFilter<"MapElementTemplate"> | number
273
+ status?: Prisma.StringFilter<"MapElementTemplate"> | string
274
+ name?: Prisma.StringNullableFilter<"MapElementTemplate"> | string | null
275
+ photos?: Prisma.JsonNullableFilter<"MapElementTemplate">
276
+ texts?: Prisma.JsonNullableFilter<"MapElementTemplate">
277
+ files?: Prisma.JsonNullableFilter<"MapElementTemplate">
278
+ zone?: Prisma.JsonNullableFilter<"MapElementTemplate">
279
+ geometry?: Prisma.JsonNullableFilter<"MapElementTemplate">
280
+ mapElementType?: Prisma.EnumMapElementTypeFilter<"MapElementTemplate"> | $Enums.MapElementType
281
+ createdAt?: Prisma.DateTimeFilter<"MapElementTemplate"> | Date | string
282
+ updatedAt?: Prisma.DateTimeFilter<"MapElementTemplate"> | Date | string
283
+ deletedAt?: Prisma.DateTimeNullableFilter<"MapElementTemplate"> | Date | string | null
284
+ updatedById?: Prisma.StringNullableFilter<"MapElementTemplate"> | string | null
285
+ networkElementId?: Prisma.StringFilter<"MapElementTemplate"> | string
286
+ clusterId?: Prisma.StringNullableFilter<"MapElementTemplate"> | string | null
287
+ updatedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
288
+ networkElement?: Prisma.XOR<Prisma.NetworkElementScalarRelationFilter, Prisma.NetworkElementWhereInput>
289
+ projects?: Prisma.ProjectListRelationFilter
290
+ cluster?: Prisma.XOR<Prisma.ClusterNullableScalarRelationFilter, Prisma.ClusterWhereInput> | null
291
+ qrCodeTemplate?: Prisma.QrCodeTemplateListRelationFilter
292
+ MapElement?: Prisma.MapElementListRelationFilter
293
+ }
294
+
295
+ export type MapElementTemplateOrderByWithRelationInput = {
296
+ id?: Prisma.SortOrder
297
+ no?: Prisma.SortOrder
298
+ status?: Prisma.SortOrder
299
+ name?: Prisma.SortOrderInput | Prisma.SortOrder
300
+ photos?: Prisma.SortOrderInput | Prisma.SortOrder
301
+ texts?: Prisma.SortOrderInput | Prisma.SortOrder
302
+ files?: Prisma.SortOrderInput | Prisma.SortOrder
303
+ zone?: Prisma.SortOrderInput | Prisma.SortOrder
304
+ geometry?: Prisma.SortOrderInput | Prisma.SortOrder
305
+ mapElementType?: Prisma.SortOrder
306
+ createdAt?: Prisma.SortOrder
307
+ updatedAt?: Prisma.SortOrder
308
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
309
+ updatedById?: Prisma.SortOrderInput | Prisma.SortOrder
310
+ networkElementId?: Prisma.SortOrder
311
+ clusterId?: Prisma.SortOrderInput | Prisma.SortOrder
312
+ updatedBy?: Prisma.UserOrderByWithRelationInput
313
+ networkElement?: Prisma.NetworkElementOrderByWithRelationInput
314
+ projects?: Prisma.ProjectOrderByRelationAggregateInput
315
+ cluster?: Prisma.ClusterOrderByWithRelationInput
316
+ qrCodeTemplate?: Prisma.qrCodeTemplateOrderByRelationAggregateInput
317
+ MapElement?: Prisma.MapElementOrderByRelationAggregateInput
318
+ }
319
+
320
+ export type MapElementTemplateWhereUniqueInput = Prisma.AtLeast<{
321
+ id?: string
322
+ AND?: Prisma.MapElementTemplateWhereInput | Prisma.MapElementTemplateWhereInput[]
323
+ OR?: Prisma.MapElementTemplateWhereInput[]
324
+ NOT?: Prisma.MapElementTemplateWhereInput | Prisma.MapElementTemplateWhereInput[]
325
+ no?: Prisma.IntFilter<"MapElementTemplate"> | number
326
+ status?: Prisma.StringFilter<"MapElementTemplate"> | string
327
+ name?: Prisma.StringNullableFilter<"MapElementTemplate"> | string | null
328
+ photos?: Prisma.JsonNullableFilter<"MapElementTemplate">
329
+ texts?: Prisma.JsonNullableFilter<"MapElementTemplate">
330
+ files?: Prisma.JsonNullableFilter<"MapElementTemplate">
331
+ zone?: Prisma.JsonNullableFilter<"MapElementTemplate">
332
+ geometry?: Prisma.JsonNullableFilter<"MapElementTemplate">
333
+ mapElementType?: Prisma.EnumMapElementTypeFilter<"MapElementTemplate"> | $Enums.MapElementType
334
+ createdAt?: Prisma.DateTimeFilter<"MapElementTemplate"> | Date | string
335
+ updatedAt?: Prisma.DateTimeFilter<"MapElementTemplate"> | Date | string
336
+ deletedAt?: Prisma.DateTimeNullableFilter<"MapElementTemplate"> | Date | string | null
337
+ updatedById?: Prisma.StringNullableFilter<"MapElementTemplate"> | string | null
338
+ networkElementId?: Prisma.StringFilter<"MapElementTemplate"> | string
339
+ clusterId?: Prisma.StringNullableFilter<"MapElementTemplate"> | string | null
340
+ updatedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
341
+ networkElement?: Prisma.XOR<Prisma.NetworkElementScalarRelationFilter, Prisma.NetworkElementWhereInput>
342
+ projects?: Prisma.ProjectListRelationFilter
343
+ cluster?: Prisma.XOR<Prisma.ClusterNullableScalarRelationFilter, Prisma.ClusterWhereInput> | null
344
+ qrCodeTemplate?: Prisma.QrCodeTemplateListRelationFilter
345
+ MapElement?: Prisma.MapElementListRelationFilter
346
+ }, "id" | "id">
347
+
348
+ export type MapElementTemplateOrderByWithAggregationInput = {
349
+ id?: Prisma.SortOrder
350
+ no?: Prisma.SortOrder
351
+ status?: Prisma.SortOrder
352
+ name?: Prisma.SortOrderInput | Prisma.SortOrder
353
+ photos?: Prisma.SortOrderInput | Prisma.SortOrder
354
+ texts?: Prisma.SortOrderInput | Prisma.SortOrder
355
+ files?: Prisma.SortOrderInput | Prisma.SortOrder
356
+ zone?: Prisma.SortOrderInput | Prisma.SortOrder
357
+ geometry?: Prisma.SortOrderInput | Prisma.SortOrder
358
+ mapElementType?: Prisma.SortOrder
359
+ createdAt?: Prisma.SortOrder
360
+ updatedAt?: Prisma.SortOrder
361
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
362
+ updatedById?: Prisma.SortOrderInput | Prisma.SortOrder
363
+ networkElementId?: Prisma.SortOrder
364
+ clusterId?: Prisma.SortOrderInput | Prisma.SortOrder
365
+ _count?: Prisma.MapElementTemplateCountOrderByAggregateInput
366
+ _avg?: Prisma.MapElementTemplateAvgOrderByAggregateInput
367
+ _max?: Prisma.MapElementTemplateMaxOrderByAggregateInput
368
+ _min?: Prisma.MapElementTemplateMinOrderByAggregateInput
369
+ _sum?: Prisma.MapElementTemplateSumOrderByAggregateInput
370
+ }
371
+
372
+ export type MapElementTemplateScalarWhereWithAggregatesInput = {
373
+ AND?: Prisma.MapElementTemplateScalarWhereWithAggregatesInput | Prisma.MapElementTemplateScalarWhereWithAggregatesInput[]
374
+ OR?: Prisma.MapElementTemplateScalarWhereWithAggregatesInput[]
375
+ NOT?: Prisma.MapElementTemplateScalarWhereWithAggregatesInput | Prisma.MapElementTemplateScalarWhereWithAggregatesInput[]
376
+ id?: Prisma.StringWithAggregatesFilter<"MapElementTemplate"> | string
377
+ no?: Prisma.IntWithAggregatesFilter<"MapElementTemplate"> | number
378
+ status?: Prisma.StringWithAggregatesFilter<"MapElementTemplate"> | string
379
+ name?: Prisma.StringNullableWithAggregatesFilter<"MapElementTemplate"> | string | null
380
+ photos?: Prisma.JsonNullableWithAggregatesFilter<"MapElementTemplate">
381
+ texts?: Prisma.JsonNullableWithAggregatesFilter<"MapElementTemplate">
382
+ files?: Prisma.JsonNullableWithAggregatesFilter<"MapElementTemplate">
383
+ zone?: Prisma.JsonNullableWithAggregatesFilter<"MapElementTemplate">
384
+ geometry?: Prisma.JsonNullableWithAggregatesFilter<"MapElementTemplate">
385
+ mapElementType?: Prisma.EnumMapElementTypeWithAggregatesFilter<"MapElementTemplate"> | $Enums.MapElementType
386
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"MapElementTemplate"> | Date | string
387
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"MapElementTemplate"> | Date | string
388
+ deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"MapElementTemplate"> | Date | string | null
389
+ updatedById?: Prisma.StringNullableWithAggregatesFilter<"MapElementTemplate"> | string | null
390
+ networkElementId?: Prisma.StringWithAggregatesFilter<"MapElementTemplate"> | string
391
+ clusterId?: Prisma.StringNullableWithAggregatesFilter<"MapElementTemplate"> | string | null
392
+ }
393
+
394
+ export type MapElementTemplateCreateInput = {
395
+ id?: string
396
+ no?: number
397
+ status?: string
398
+ name?: string | null
399
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
400
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
401
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
402
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
403
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
404
+ mapElementType?: $Enums.MapElementType
405
+ createdAt?: Date | string
406
+ updatedAt?: Date | string
407
+ deletedAt?: Date | string | null
408
+ updatedBy?: Prisma.UserCreateNestedOneWithoutMapElementTemplateInput
409
+ networkElement: Prisma.NetworkElementCreateNestedOneWithoutMapElementTemplateInput
410
+ projects?: Prisma.ProjectCreateNestedManyWithoutMapElementTemplateInput
411
+ cluster?: Prisma.ClusterCreateNestedOneWithoutMapElementTemplateInput
412
+ qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutMapElementTemplateInput
413
+ MapElement?: Prisma.MapElementCreateNestedManyWithoutTemplateInput
414
+ }
415
+
416
+ export type MapElementTemplateUncheckedCreateInput = {
417
+ id?: string
418
+ no?: number
419
+ status?: string
420
+ name?: string | null
421
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
422
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
423
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
424
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
425
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
426
+ mapElementType?: $Enums.MapElementType
427
+ createdAt?: Date | string
428
+ updatedAt?: Date | string
429
+ deletedAt?: Date | string | null
430
+ updatedById?: string | null
431
+ networkElementId: string
432
+ clusterId?: string | null
433
+ projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutMapElementTemplateInput
434
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutMapElementTemplateInput
435
+ MapElement?: Prisma.MapElementUncheckedCreateNestedManyWithoutTemplateInput
436
+ }
437
+
438
+ export type MapElementTemplateUpdateInput = {
439
+ id?: Prisma.StringFieldUpdateOperationsInput | string
440
+ no?: Prisma.IntFieldUpdateOperationsInput | number
441
+ status?: Prisma.StringFieldUpdateOperationsInput | string
442
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
443
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
444
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
445
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
446
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
447
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
448
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
449
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
450
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
451
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
452
+ updatedBy?: Prisma.UserUpdateOneWithoutMapElementTemplateNestedInput
453
+ networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutMapElementTemplateNestedInput
454
+ projects?: Prisma.ProjectUpdateManyWithoutMapElementTemplateNestedInput
455
+ cluster?: Prisma.ClusterUpdateOneWithoutMapElementTemplateNestedInput
456
+ qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutMapElementTemplateNestedInput
457
+ MapElement?: Prisma.MapElementUpdateManyWithoutTemplateNestedInput
458
+ }
459
+
460
+ export type MapElementTemplateUncheckedUpdateInput = {
461
+ id?: Prisma.StringFieldUpdateOperationsInput | string
462
+ no?: Prisma.IntFieldUpdateOperationsInput | number
463
+ status?: Prisma.StringFieldUpdateOperationsInput | string
464
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
465
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
466
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
467
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
468
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
469
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
470
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
471
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
472
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
473
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
474
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
475
+ networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
476
+ clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
477
+ projects?: Prisma.ProjectUncheckedUpdateManyWithoutMapElementTemplateNestedInput
478
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutMapElementTemplateNestedInput
479
+ MapElement?: Prisma.MapElementUncheckedUpdateManyWithoutTemplateNestedInput
480
+ }
481
+
482
+ export type MapElementTemplateCreateManyInput = {
483
+ id?: string
484
+ no?: number
485
+ status?: string
486
+ name?: string | null
487
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
488
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
489
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
490
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
491
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
492
+ mapElementType?: $Enums.MapElementType
493
+ createdAt?: Date | string
494
+ updatedAt?: Date | string
495
+ deletedAt?: Date | string | null
496
+ updatedById?: string | null
497
+ networkElementId: string
498
+ clusterId?: string | null
499
+ }
500
+
501
+ export type MapElementTemplateUpdateManyMutationInput = {
502
+ id?: Prisma.StringFieldUpdateOperationsInput | string
503
+ no?: Prisma.IntFieldUpdateOperationsInput | number
504
+ status?: Prisma.StringFieldUpdateOperationsInput | string
505
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
506
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
507
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
508
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
509
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
510
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
511
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
512
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
513
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
514
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
515
+ }
516
+
517
+ export type MapElementTemplateUncheckedUpdateManyInput = {
518
+ id?: Prisma.StringFieldUpdateOperationsInput | string
519
+ no?: Prisma.IntFieldUpdateOperationsInput | number
520
+ status?: Prisma.StringFieldUpdateOperationsInput | string
521
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
522
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
523
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
524
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
525
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
526
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
527
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
528
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
529
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
530
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
531
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
532
+ networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
533
+ clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
534
+ }
535
+
536
+ export type MapElementTemplateListRelationFilter = {
537
+ every?: Prisma.MapElementTemplateWhereInput
538
+ some?: Prisma.MapElementTemplateWhereInput
539
+ none?: Prisma.MapElementTemplateWhereInput
540
+ }
541
+
542
+ export type MapElementTemplateOrderByRelationAggregateInput = {
543
+ _count?: Prisma.SortOrder
544
+ }
545
+
546
+ export type MapElementTemplateCountOrderByAggregateInput = {
547
+ id?: Prisma.SortOrder
548
+ no?: Prisma.SortOrder
549
+ status?: Prisma.SortOrder
550
+ name?: Prisma.SortOrder
551
+ photos?: Prisma.SortOrder
552
+ texts?: Prisma.SortOrder
553
+ files?: Prisma.SortOrder
554
+ zone?: Prisma.SortOrder
555
+ geometry?: Prisma.SortOrder
556
+ mapElementType?: Prisma.SortOrder
557
+ createdAt?: Prisma.SortOrder
558
+ updatedAt?: Prisma.SortOrder
559
+ deletedAt?: Prisma.SortOrder
560
+ updatedById?: Prisma.SortOrder
561
+ networkElementId?: Prisma.SortOrder
562
+ clusterId?: Prisma.SortOrder
563
+ }
564
+
565
+ export type MapElementTemplateAvgOrderByAggregateInput = {
566
+ no?: Prisma.SortOrder
567
+ }
568
+
569
+ export type MapElementTemplateMaxOrderByAggregateInput = {
570
+ id?: Prisma.SortOrder
571
+ no?: Prisma.SortOrder
572
+ status?: Prisma.SortOrder
573
+ name?: Prisma.SortOrder
574
+ mapElementType?: Prisma.SortOrder
575
+ createdAt?: Prisma.SortOrder
576
+ updatedAt?: Prisma.SortOrder
577
+ deletedAt?: Prisma.SortOrder
578
+ updatedById?: Prisma.SortOrder
579
+ networkElementId?: Prisma.SortOrder
580
+ clusterId?: Prisma.SortOrder
581
+ }
582
+
583
+ export type MapElementTemplateMinOrderByAggregateInput = {
584
+ id?: Prisma.SortOrder
585
+ no?: Prisma.SortOrder
586
+ status?: Prisma.SortOrder
587
+ name?: Prisma.SortOrder
588
+ mapElementType?: Prisma.SortOrder
589
+ createdAt?: Prisma.SortOrder
590
+ updatedAt?: Prisma.SortOrder
591
+ deletedAt?: Prisma.SortOrder
592
+ updatedById?: Prisma.SortOrder
593
+ networkElementId?: Prisma.SortOrder
594
+ clusterId?: Prisma.SortOrder
595
+ }
596
+
597
+ export type MapElementTemplateSumOrderByAggregateInput = {
598
+ no?: Prisma.SortOrder
599
+ }
600
+
601
+ export type MapElementTemplateNullableScalarRelationFilter = {
602
+ is?: Prisma.MapElementTemplateWhereInput | null
603
+ isNot?: Prisma.MapElementTemplateWhereInput | null
604
+ }
605
+
606
+ export type MapElementTemplateCreateNestedManyWithoutUpdatedByInput = {
607
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutUpdatedByInput, Prisma.MapElementTemplateUncheckedCreateWithoutUpdatedByInput> | Prisma.MapElementTemplateCreateWithoutUpdatedByInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutUpdatedByInput[]
608
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutUpdatedByInput | Prisma.MapElementTemplateCreateOrConnectWithoutUpdatedByInput[]
609
+ createMany?: Prisma.MapElementTemplateCreateManyUpdatedByInputEnvelope
610
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
611
+ }
612
+
613
+ export type MapElementTemplateUncheckedCreateNestedManyWithoutUpdatedByInput = {
614
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutUpdatedByInput, Prisma.MapElementTemplateUncheckedCreateWithoutUpdatedByInput> | Prisma.MapElementTemplateCreateWithoutUpdatedByInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutUpdatedByInput[]
615
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutUpdatedByInput | Prisma.MapElementTemplateCreateOrConnectWithoutUpdatedByInput[]
616
+ createMany?: Prisma.MapElementTemplateCreateManyUpdatedByInputEnvelope
617
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
618
+ }
619
+
620
+ export type MapElementTemplateUpdateManyWithoutUpdatedByNestedInput = {
621
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutUpdatedByInput, Prisma.MapElementTemplateUncheckedCreateWithoutUpdatedByInput> | Prisma.MapElementTemplateCreateWithoutUpdatedByInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutUpdatedByInput[]
622
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutUpdatedByInput | Prisma.MapElementTemplateCreateOrConnectWithoutUpdatedByInput[]
623
+ upsert?: Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutUpdatedByInput[]
624
+ createMany?: Prisma.MapElementTemplateCreateManyUpdatedByInputEnvelope
625
+ set?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
626
+ disconnect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
627
+ delete?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
628
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
629
+ update?: Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutUpdatedByInput[]
630
+ updateMany?: Prisma.MapElementTemplateUpdateManyWithWhereWithoutUpdatedByInput | Prisma.MapElementTemplateUpdateManyWithWhereWithoutUpdatedByInput[]
631
+ deleteMany?: Prisma.MapElementTemplateScalarWhereInput | Prisma.MapElementTemplateScalarWhereInput[]
632
+ }
633
+
634
+ export type MapElementTemplateUncheckedUpdateManyWithoutUpdatedByNestedInput = {
635
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutUpdatedByInput, Prisma.MapElementTemplateUncheckedCreateWithoutUpdatedByInput> | Prisma.MapElementTemplateCreateWithoutUpdatedByInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutUpdatedByInput[]
636
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutUpdatedByInput | Prisma.MapElementTemplateCreateOrConnectWithoutUpdatedByInput[]
637
+ upsert?: Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutUpdatedByInput[]
638
+ createMany?: Prisma.MapElementTemplateCreateManyUpdatedByInputEnvelope
639
+ set?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
640
+ disconnect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
641
+ delete?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
642
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
643
+ update?: Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutUpdatedByInput[]
644
+ updateMany?: Prisma.MapElementTemplateUpdateManyWithWhereWithoutUpdatedByInput | Prisma.MapElementTemplateUpdateManyWithWhereWithoutUpdatedByInput[]
645
+ deleteMany?: Prisma.MapElementTemplateScalarWhereInput | Prisma.MapElementTemplateScalarWhereInput[]
646
+ }
647
+
648
+ export type MapElementTemplateCreateNestedManyWithoutProjectsInput = {
649
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutProjectsInput, Prisma.MapElementTemplateUncheckedCreateWithoutProjectsInput> | Prisma.MapElementTemplateCreateWithoutProjectsInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutProjectsInput[]
650
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutProjectsInput | Prisma.MapElementTemplateCreateOrConnectWithoutProjectsInput[]
651
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
652
+ }
653
+
654
+ export type MapElementTemplateUncheckedCreateNestedManyWithoutProjectsInput = {
655
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutProjectsInput, Prisma.MapElementTemplateUncheckedCreateWithoutProjectsInput> | Prisma.MapElementTemplateCreateWithoutProjectsInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutProjectsInput[]
656
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutProjectsInput | Prisma.MapElementTemplateCreateOrConnectWithoutProjectsInput[]
657
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
658
+ }
659
+
660
+ export type MapElementTemplateUpdateManyWithoutProjectsNestedInput = {
661
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutProjectsInput, Prisma.MapElementTemplateUncheckedCreateWithoutProjectsInput> | Prisma.MapElementTemplateCreateWithoutProjectsInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutProjectsInput[]
662
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutProjectsInput | Prisma.MapElementTemplateCreateOrConnectWithoutProjectsInput[]
663
+ upsert?: Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutProjectsInput | Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutProjectsInput[]
664
+ set?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
665
+ disconnect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
666
+ delete?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
667
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
668
+ update?: Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutProjectsInput | Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutProjectsInput[]
669
+ updateMany?: Prisma.MapElementTemplateUpdateManyWithWhereWithoutProjectsInput | Prisma.MapElementTemplateUpdateManyWithWhereWithoutProjectsInput[]
670
+ deleteMany?: Prisma.MapElementTemplateScalarWhereInput | Prisma.MapElementTemplateScalarWhereInput[]
671
+ }
672
+
673
+ export type MapElementTemplateUncheckedUpdateManyWithoutProjectsNestedInput = {
674
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutProjectsInput, Prisma.MapElementTemplateUncheckedCreateWithoutProjectsInput> | Prisma.MapElementTemplateCreateWithoutProjectsInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutProjectsInput[]
675
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutProjectsInput | Prisma.MapElementTemplateCreateOrConnectWithoutProjectsInput[]
676
+ upsert?: Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutProjectsInput | Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutProjectsInput[]
677
+ set?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
678
+ disconnect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
679
+ delete?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
680
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
681
+ update?: Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutProjectsInput | Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutProjectsInput[]
682
+ updateMany?: Prisma.MapElementTemplateUpdateManyWithWhereWithoutProjectsInput | Prisma.MapElementTemplateUpdateManyWithWhereWithoutProjectsInput[]
683
+ deleteMany?: Prisma.MapElementTemplateScalarWhereInput | Prisma.MapElementTemplateScalarWhereInput[]
684
+ }
685
+
686
+ export type MapElementTemplateCreateNestedManyWithoutNetworkElementInput = {
687
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutNetworkElementInput, Prisma.MapElementTemplateUncheckedCreateWithoutNetworkElementInput> | Prisma.MapElementTemplateCreateWithoutNetworkElementInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutNetworkElementInput[]
688
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutNetworkElementInput | Prisma.MapElementTemplateCreateOrConnectWithoutNetworkElementInput[]
689
+ createMany?: Prisma.MapElementTemplateCreateManyNetworkElementInputEnvelope
690
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
691
+ }
692
+
693
+ export type MapElementTemplateUncheckedCreateNestedManyWithoutNetworkElementInput = {
694
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutNetworkElementInput, Prisma.MapElementTemplateUncheckedCreateWithoutNetworkElementInput> | Prisma.MapElementTemplateCreateWithoutNetworkElementInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutNetworkElementInput[]
695
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutNetworkElementInput | Prisma.MapElementTemplateCreateOrConnectWithoutNetworkElementInput[]
696
+ createMany?: Prisma.MapElementTemplateCreateManyNetworkElementInputEnvelope
697
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
698
+ }
699
+
700
+ export type MapElementTemplateUpdateManyWithoutNetworkElementNestedInput = {
701
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutNetworkElementInput, Prisma.MapElementTemplateUncheckedCreateWithoutNetworkElementInput> | Prisma.MapElementTemplateCreateWithoutNetworkElementInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutNetworkElementInput[]
702
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutNetworkElementInput | Prisma.MapElementTemplateCreateOrConnectWithoutNetworkElementInput[]
703
+ upsert?: Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutNetworkElementInput | Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutNetworkElementInput[]
704
+ createMany?: Prisma.MapElementTemplateCreateManyNetworkElementInputEnvelope
705
+ set?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
706
+ disconnect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
707
+ delete?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
708
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
709
+ update?: Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutNetworkElementInput | Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutNetworkElementInput[]
710
+ updateMany?: Prisma.MapElementTemplateUpdateManyWithWhereWithoutNetworkElementInput | Prisma.MapElementTemplateUpdateManyWithWhereWithoutNetworkElementInput[]
711
+ deleteMany?: Prisma.MapElementTemplateScalarWhereInput | Prisma.MapElementTemplateScalarWhereInput[]
712
+ }
713
+
714
+ export type MapElementTemplateUncheckedUpdateManyWithoutNetworkElementNestedInput = {
715
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutNetworkElementInput, Prisma.MapElementTemplateUncheckedCreateWithoutNetworkElementInput> | Prisma.MapElementTemplateCreateWithoutNetworkElementInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutNetworkElementInput[]
716
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutNetworkElementInput | Prisma.MapElementTemplateCreateOrConnectWithoutNetworkElementInput[]
717
+ upsert?: Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutNetworkElementInput | Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutNetworkElementInput[]
718
+ createMany?: Prisma.MapElementTemplateCreateManyNetworkElementInputEnvelope
719
+ set?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
720
+ disconnect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
721
+ delete?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
722
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
723
+ update?: Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutNetworkElementInput | Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutNetworkElementInput[]
724
+ updateMany?: Prisma.MapElementTemplateUpdateManyWithWhereWithoutNetworkElementInput | Prisma.MapElementTemplateUpdateManyWithWhereWithoutNetworkElementInput[]
725
+ deleteMany?: Prisma.MapElementTemplateScalarWhereInput | Prisma.MapElementTemplateScalarWhereInput[]
726
+ }
727
+
728
+ export type EnumMapElementTypeFieldUpdateOperationsInput = {
729
+ set?: $Enums.MapElementType
730
+ }
731
+
732
+ export type MapElementTemplateCreateNestedOneWithoutMapElementInput = {
733
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutMapElementInput, Prisma.MapElementTemplateUncheckedCreateWithoutMapElementInput>
734
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutMapElementInput
735
+ connect?: Prisma.MapElementTemplateWhereUniqueInput
736
+ }
737
+
738
+ export type MapElementTemplateUpdateOneWithoutMapElementNestedInput = {
739
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutMapElementInput, Prisma.MapElementTemplateUncheckedCreateWithoutMapElementInput>
740
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutMapElementInput
741
+ upsert?: Prisma.MapElementTemplateUpsertWithoutMapElementInput
742
+ disconnect?: Prisma.MapElementTemplateWhereInput | boolean
743
+ delete?: Prisma.MapElementTemplateWhereInput | boolean
744
+ connect?: Prisma.MapElementTemplateWhereUniqueInput
745
+ update?: Prisma.XOR<Prisma.XOR<Prisma.MapElementTemplateUpdateToOneWithWhereWithoutMapElementInput, Prisma.MapElementTemplateUpdateWithoutMapElementInput>, Prisma.MapElementTemplateUncheckedUpdateWithoutMapElementInput>
746
+ }
747
+
748
+ export type MapElementTemplateCreateNestedManyWithoutClusterInput = {
749
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutClusterInput, Prisma.MapElementTemplateUncheckedCreateWithoutClusterInput> | Prisma.MapElementTemplateCreateWithoutClusterInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutClusterInput[]
750
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutClusterInput | Prisma.MapElementTemplateCreateOrConnectWithoutClusterInput[]
751
+ createMany?: Prisma.MapElementTemplateCreateManyClusterInputEnvelope
752
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
753
+ }
754
+
755
+ export type MapElementTemplateUncheckedCreateNestedManyWithoutClusterInput = {
756
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutClusterInput, Prisma.MapElementTemplateUncheckedCreateWithoutClusterInput> | Prisma.MapElementTemplateCreateWithoutClusterInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutClusterInput[]
757
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutClusterInput | Prisma.MapElementTemplateCreateOrConnectWithoutClusterInput[]
758
+ createMany?: Prisma.MapElementTemplateCreateManyClusterInputEnvelope
759
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
760
+ }
761
+
762
+ export type MapElementTemplateUpdateManyWithoutClusterNestedInput = {
763
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutClusterInput, Prisma.MapElementTemplateUncheckedCreateWithoutClusterInput> | Prisma.MapElementTemplateCreateWithoutClusterInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutClusterInput[]
764
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutClusterInput | Prisma.MapElementTemplateCreateOrConnectWithoutClusterInput[]
765
+ upsert?: Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutClusterInput | Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutClusterInput[]
766
+ createMany?: Prisma.MapElementTemplateCreateManyClusterInputEnvelope
767
+ set?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
768
+ disconnect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
769
+ delete?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
770
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
771
+ update?: Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutClusterInput | Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutClusterInput[]
772
+ updateMany?: Prisma.MapElementTemplateUpdateManyWithWhereWithoutClusterInput | Prisma.MapElementTemplateUpdateManyWithWhereWithoutClusterInput[]
773
+ deleteMany?: Prisma.MapElementTemplateScalarWhereInput | Prisma.MapElementTemplateScalarWhereInput[]
774
+ }
775
+
776
+ export type MapElementTemplateUncheckedUpdateManyWithoutClusterNestedInput = {
777
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutClusterInput, Prisma.MapElementTemplateUncheckedCreateWithoutClusterInput> | Prisma.MapElementTemplateCreateWithoutClusterInput[] | Prisma.MapElementTemplateUncheckedCreateWithoutClusterInput[]
778
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutClusterInput | Prisma.MapElementTemplateCreateOrConnectWithoutClusterInput[]
779
+ upsert?: Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutClusterInput | Prisma.MapElementTemplateUpsertWithWhereUniqueWithoutClusterInput[]
780
+ createMany?: Prisma.MapElementTemplateCreateManyClusterInputEnvelope
781
+ set?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
782
+ disconnect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
783
+ delete?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
784
+ connect?: Prisma.MapElementTemplateWhereUniqueInput | Prisma.MapElementTemplateWhereUniqueInput[]
785
+ update?: Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutClusterInput | Prisma.MapElementTemplateUpdateWithWhereUniqueWithoutClusterInput[]
786
+ updateMany?: Prisma.MapElementTemplateUpdateManyWithWhereWithoutClusterInput | Prisma.MapElementTemplateUpdateManyWithWhereWithoutClusterInput[]
787
+ deleteMany?: Prisma.MapElementTemplateScalarWhereInput | Prisma.MapElementTemplateScalarWhereInput[]
788
+ }
789
+
790
+ export type MapElementTemplateCreateNestedOneWithoutQrCodeTemplateInput = {
791
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutQrCodeTemplateInput, Prisma.MapElementTemplateUncheckedCreateWithoutQrCodeTemplateInput>
792
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutQrCodeTemplateInput
793
+ connect?: Prisma.MapElementTemplateWhereUniqueInput
794
+ }
795
+
796
+ export type MapElementTemplateUpdateOneWithoutQrCodeTemplateNestedInput = {
797
+ create?: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutQrCodeTemplateInput, Prisma.MapElementTemplateUncheckedCreateWithoutQrCodeTemplateInput>
798
+ connectOrCreate?: Prisma.MapElementTemplateCreateOrConnectWithoutQrCodeTemplateInput
799
+ upsert?: Prisma.MapElementTemplateUpsertWithoutQrCodeTemplateInput
800
+ disconnect?: Prisma.MapElementTemplateWhereInput | boolean
801
+ delete?: Prisma.MapElementTemplateWhereInput | boolean
802
+ connect?: Prisma.MapElementTemplateWhereUniqueInput
803
+ update?: Prisma.XOR<Prisma.XOR<Prisma.MapElementTemplateUpdateToOneWithWhereWithoutQrCodeTemplateInput, Prisma.MapElementTemplateUpdateWithoutQrCodeTemplateInput>, Prisma.MapElementTemplateUncheckedUpdateWithoutQrCodeTemplateInput>
804
+ }
805
+
806
+ export type MapElementTemplateCreateWithoutUpdatedByInput = {
807
+ id?: string
808
+ no?: number
809
+ status?: string
810
+ name?: string | null
811
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
812
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
813
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
814
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
815
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
816
+ mapElementType?: $Enums.MapElementType
817
+ createdAt?: Date | string
818
+ updatedAt?: Date | string
819
+ deletedAt?: Date | string | null
820
+ networkElement: Prisma.NetworkElementCreateNestedOneWithoutMapElementTemplateInput
821
+ projects?: Prisma.ProjectCreateNestedManyWithoutMapElementTemplateInput
822
+ cluster?: Prisma.ClusterCreateNestedOneWithoutMapElementTemplateInput
823
+ qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutMapElementTemplateInput
824
+ MapElement?: Prisma.MapElementCreateNestedManyWithoutTemplateInput
825
+ }
826
+
827
+ export type MapElementTemplateUncheckedCreateWithoutUpdatedByInput = {
828
+ id?: string
829
+ no?: number
830
+ status?: string
831
+ name?: string | null
832
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
833
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
834
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
835
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
836
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
837
+ mapElementType?: $Enums.MapElementType
838
+ createdAt?: Date | string
839
+ updatedAt?: Date | string
840
+ deletedAt?: Date | string | null
841
+ networkElementId: string
842
+ clusterId?: string | null
843
+ projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutMapElementTemplateInput
844
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutMapElementTemplateInput
845
+ MapElement?: Prisma.MapElementUncheckedCreateNestedManyWithoutTemplateInput
846
+ }
847
+
848
+ export type MapElementTemplateCreateOrConnectWithoutUpdatedByInput = {
849
+ where: Prisma.MapElementTemplateWhereUniqueInput
850
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutUpdatedByInput, Prisma.MapElementTemplateUncheckedCreateWithoutUpdatedByInput>
851
+ }
852
+
853
+ export type MapElementTemplateCreateManyUpdatedByInputEnvelope = {
854
+ data: Prisma.MapElementTemplateCreateManyUpdatedByInput | Prisma.MapElementTemplateCreateManyUpdatedByInput[]
855
+ skipDuplicates?: boolean
856
+ }
857
+
858
+ export type MapElementTemplateUpsertWithWhereUniqueWithoutUpdatedByInput = {
859
+ where: Prisma.MapElementTemplateWhereUniqueInput
860
+ update: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutUpdatedByInput, Prisma.MapElementTemplateUncheckedUpdateWithoutUpdatedByInput>
861
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutUpdatedByInput, Prisma.MapElementTemplateUncheckedCreateWithoutUpdatedByInput>
862
+ }
863
+
864
+ export type MapElementTemplateUpdateWithWhereUniqueWithoutUpdatedByInput = {
865
+ where: Prisma.MapElementTemplateWhereUniqueInput
866
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutUpdatedByInput, Prisma.MapElementTemplateUncheckedUpdateWithoutUpdatedByInput>
867
+ }
868
+
869
+ export type MapElementTemplateUpdateManyWithWhereWithoutUpdatedByInput = {
870
+ where: Prisma.MapElementTemplateScalarWhereInput
871
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateManyMutationInput, Prisma.MapElementTemplateUncheckedUpdateManyWithoutUpdatedByInput>
872
+ }
873
+
874
+ export type MapElementTemplateScalarWhereInput = {
875
+ AND?: Prisma.MapElementTemplateScalarWhereInput | Prisma.MapElementTemplateScalarWhereInput[]
876
+ OR?: Prisma.MapElementTemplateScalarWhereInput[]
877
+ NOT?: Prisma.MapElementTemplateScalarWhereInput | Prisma.MapElementTemplateScalarWhereInput[]
878
+ id?: Prisma.StringFilter<"MapElementTemplate"> | string
879
+ no?: Prisma.IntFilter<"MapElementTemplate"> | number
880
+ status?: Prisma.StringFilter<"MapElementTemplate"> | string
881
+ name?: Prisma.StringNullableFilter<"MapElementTemplate"> | string | null
882
+ photos?: Prisma.JsonNullableFilter<"MapElementTemplate">
883
+ texts?: Prisma.JsonNullableFilter<"MapElementTemplate">
884
+ files?: Prisma.JsonNullableFilter<"MapElementTemplate">
885
+ zone?: Prisma.JsonNullableFilter<"MapElementTemplate">
886
+ geometry?: Prisma.JsonNullableFilter<"MapElementTemplate">
887
+ mapElementType?: Prisma.EnumMapElementTypeFilter<"MapElementTemplate"> | $Enums.MapElementType
888
+ createdAt?: Prisma.DateTimeFilter<"MapElementTemplate"> | Date | string
889
+ updatedAt?: Prisma.DateTimeFilter<"MapElementTemplate"> | Date | string
890
+ deletedAt?: Prisma.DateTimeNullableFilter<"MapElementTemplate"> | Date | string | null
891
+ updatedById?: Prisma.StringNullableFilter<"MapElementTemplate"> | string | null
892
+ networkElementId?: Prisma.StringFilter<"MapElementTemplate"> | string
893
+ clusterId?: Prisma.StringNullableFilter<"MapElementTemplate"> | string | null
894
+ }
895
+
896
+ export type MapElementTemplateCreateWithoutProjectsInput = {
897
+ id?: string
898
+ no?: number
899
+ status?: string
900
+ name?: string | null
901
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
902
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
903
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
904
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
905
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
906
+ mapElementType?: $Enums.MapElementType
907
+ createdAt?: Date | string
908
+ updatedAt?: Date | string
909
+ deletedAt?: Date | string | null
910
+ updatedBy?: Prisma.UserCreateNestedOneWithoutMapElementTemplateInput
911
+ networkElement: Prisma.NetworkElementCreateNestedOneWithoutMapElementTemplateInput
912
+ cluster?: Prisma.ClusterCreateNestedOneWithoutMapElementTemplateInput
913
+ qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutMapElementTemplateInput
914
+ MapElement?: Prisma.MapElementCreateNestedManyWithoutTemplateInput
915
+ }
916
+
917
+ export type MapElementTemplateUncheckedCreateWithoutProjectsInput = {
918
+ id?: string
919
+ no?: number
920
+ status?: string
921
+ name?: string | null
922
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
923
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
924
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
925
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
926
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
927
+ mapElementType?: $Enums.MapElementType
928
+ createdAt?: Date | string
929
+ updatedAt?: Date | string
930
+ deletedAt?: Date | string | null
931
+ updatedById?: string | null
932
+ networkElementId: string
933
+ clusterId?: string | null
934
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutMapElementTemplateInput
935
+ MapElement?: Prisma.MapElementUncheckedCreateNestedManyWithoutTemplateInput
936
+ }
937
+
938
+ export type MapElementTemplateCreateOrConnectWithoutProjectsInput = {
939
+ where: Prisma.MapElementTemplateWhereUniqueInput
940
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutProjectsInput, Prisma.MapElementTemplateUncheckedCreateWithoutProjectsInput>
941
+ }
942
+
943
+ export type MapElementTemplateUpsertWithWhereUniqueWithoutProjectsInput = {
944
+ where: Prisma.MapElementTemplateWhereUniqueInput
945
+ update: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutProjectsInput, Prisma.MapElementTemplateUncheckedUpdateWithoutProjectsInput>
946
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutProjectsInput, Prisma.MapElementTemplateUncheckedCreateWithoutProjectsInput>
947
+ }
948
+
949
+ export type MapElementTemplateUpdateWithWhereUniqueWithoutProjectsInput = {
950
+ where: Prisma.MapElementTemplateWhereUniqueInput
951
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutProjectsInput, Prisma.MapElementTemplateUncheckedUpdateWithoutProjectsInput>
952
+ }
953
+
954
+ export type MapElementTemplateUpdateManyWithWhereWithoutProjectsInput = {
955
+ where: Prisma.MapElementTemplateScalarWhereInput
956
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateManyMutationInput, Prisma.MapElementTemplateUncheckedUpdateManyWithoutProjectsInput>
957
+ }
958
+
959
+ export type MapElementTemplateCreateWithoutNetworkElementInput = {
960
+ id?: string
961
+ no?: number
962
+ status?: string
963
+ name?: string | null
964
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
965
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
966
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
967
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
968
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
969
+ mapElementType?: $Enums.MapElementType
970
+ createdAt?: Date | string
971
+ updatedAt?: Date | string
972
+ deletedAt?: Date | string | null
973
+ updatedBy?: Prisma.UserCreateNestedOneWithoutMapElementTemplateInput
974
+ projects?: Prisma.ProjectCreateNestedManyWithoutMapElementTemplateInput
975
+ cluster?: Prisma.ClusterCreateNestedOneWithoutMapElementTemplateInput
976
+ qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutMapElementTemplateInput
977
+ MapElement?: Prisma.MapElementCreateNestedManyWithoutTemplateInput
978
+ }
979
+
980
+ export type MapElementTemplateUncheckedCreateWithoutNetworkElementInput = {
981
+ id?: string
982
+ no?: number
983
+ status?: string
984
+ name?: string | null
985
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
986
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
987
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
988
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
989
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
990
+ mapElementType?: $Enums.MapElementType
991
+ createdAt?: Date | string
992
+ updatedAt?: Date | string
993
+ deletedAt?: Date | string | null
994
+ updatedById?: string | null
995
+ clusterId?: string | null
996
+ projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutMapElementTemplateInput
997
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutMapElementTemplateInput
998
+ MapElement?: Prisma.MapElementUncheckedCreateNestedManyWithoutTemplateInput
999
+ }
1000
+
1001
+ export type MapElementTemplateCreateOrConnectWithoutNetworkElementInput = {
1002
+ where: Prisma.MapElementTemplateWhereUniqueInput
1003
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutNetworkElementInput, Prisma.MapElementTemplateUncheckedCreateWithoutNetworkElementInput>
1004
+ }
1005
+
1006
+ export type MapElementTemplateCreateManyNetworkElementInputEnvelope = {
1007
+ data: Prisma.MapElementTemplateCreateManyNetworkElementInput | Prisma.MapElementTemplateCreateManyNetworkElementInput[]
1008
+ skipDuplicates?: boolean
1009
+ }
1010
+
1011
+ export type MapElementTemplateUpsertWithWhereUniqueWithoutNetworkElementInput = {
1012
+ where: Prisma.MapElementTemplateWhereUniqueInput
1013
+ update: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutNetworkElementInput, Prisma.MapElementTemplateUncheckedUpdateWithoutNetworkElementInput>
1014
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutNetworkElementInput, Prisma.MapElementTemplateUncheckedCreateWithoutNetworkElementInput>
1015
+ }
1016
+
1017
+ export type MapElementTemplateUpdateWithWhereUniqueWithoutNetworkElementInput = {
1018
+ where: Prisma.MapElementTemplateWhereUniqueInput
1019
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutNetworkElementInput, Prisma.MapElementTemplateUncheckedUpdateWithoutNetworkElementInput>
1020
+ }
1021
+
1022
+ export type MapElementTemplateUpdateManyWithWhereWithoutNetworkElementInput = {
1023
+ where: Prisma.MapElementTemplateScalarWhereInput
1024
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateManyMutationInput, Prisma.MapElementTemplateUncheckedUpdateManyWithoutNetworkElementInput>
1025
+ }
1026
+
1027
+ export type MapElementTemplateCreateWithoutMapElementInput = {
1028
+ id?: string
1029
+ no?: number
1030
+ status?: string
1031
+ name?: string | null
1032
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1033
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1034
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1035
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1036
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1037
+ mapElementType?: $Enums.MapElementType
1038
+ createdAt?: Date | string
1039
+ updatedAt?: Date | string
1040
+ deletedAt?: Date | string | null
1041
+ updatedBy?: Prisma.UserCreateNestedOneWithoutMapElementTemplateInput
1042
+ networkElement: Prisma.NetworkElementCreateNestedOneWithoutMapElementTemplateInput
1043
+ projects?: Prisma.ProjectCreateNestedManyWithoutMapElementTemplateInput
1044
+ cluster?: Prisma.ClusterCreateNestedOneWithoutMapElementTemplateInput
1045
+ qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutMapElementTemplateInput
1046
+ }
1047
+
1048
+ export type MapElementTemplateUncheckedCreateWithoutMapElementInput = {
1049
+ id?: string
1050
+ no?: number
1051
+ status?: string
1052
+ name?: string | null
1053
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1054
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1055
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1056
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1057
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1058
+ mapElementType?: $Enums.MapElementType
1059
+ createdAt?: Date | string
1060
+ updatedAt?: Date | string
1061
+ deletedAt?: Date | string | null
1062
+ updatedById?: string | null
1063
+ networkElementId: string
1064
+ clusterId?: string | null
1065
+ projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutMapElementTemplateInput
1066
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutMapElementTemplateInput
1067
+ }
1068
+
1069
+ export type MapElementTemplateCreateOrConnectWithoutMapElementInput = {
1070
+ where: Prisma.MapElementTemplateWhereUniqueInput
1071
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutMapElementInput, Prisma.MapElementTemplateUncheckedCreateWithoutMapElementInput>
1072
+ }
1073
+
1074
+ export type MapElementTemplateUpsertWithoutMapElementInput = {
1075
+ update: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutMapElementInput, Prisma.MapElementTemplateUncheckedUpdateWithoutMapElementInput>
1076
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutMapElementInput, Prisma.MapElementTemplateUncheckedCreateWithoutMapElementInput>
1077
+ where?: Prisma.MapElementTemplateWhereInput
1078
+ }
1079
+
1080
+ export type MapElementTemplateUpdateToOneWithWhereWithoutMapElementInput = {
1081
+ where?: Prisma.MapElementTemplateWhereInput
1082
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutMapElementInput, Prisma.MapElementTemplateUncheckedUpdateWithoutMapElementInput>
1083
+ }
1084
+
1085
+ export type MapElementTemplateUpdateWithoutMapElementInput = {
1086
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1087
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1088
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1089
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1090
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1091
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1092
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1093
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1094
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1095
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1096
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1097
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1098
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1099
+ updatedBy?: Prisma.UserUpdateOneWithoutMapElementTemplateNestedInput
1100
+ networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutMapElementTemplateNestedInput
1101
+ projects?: Prisma.ProjectUpdateManyWithoutMapElementTemplateNestedInput
1102
+ cluster?: Prisma.ClusterUpdateOneWithoutMapElementTemplateNestedInput
1103
+ qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutMapElementTemplateNestedInput
1104
+ }
1105
+
1106
+ export type MapElementTemplateUncheckedUpdateWithoutMapElementInput = {
1107
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1108
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1109
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1110
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1111
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1112
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1113
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1114
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1115
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1116
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1117
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1118
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1119
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1120
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1121
+ networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
1122
+ clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1123
+ projects?: Prisma.ProjectUncheckedUpdateManyWithoutMapElementTemplateNestedInput
1124
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutMapElementTemplateNestedInput
1125
+ }
1126
+
1127
+ export type MapElementTemplateCreateWithoutClusterInput = {
1128
+ id?: string
1129
+ no?: number
1130
+ status?: string
1131
+ name?: string | null
1132
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1133
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1134
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1135
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1136
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1137
+ mapElementType?: $Enums.MapElementType
1138
+ createdAt?: Date | string
1139
+ updatedAt?: Date | string
1140
+ deletedAt?: Date | string | null
1141
+ updatedBy?: Prisma.UserCreateNestedOneWithoutMapElementTemplateInput
1142
+ networkElement: Prisma.NetworkElementCreateNestedOneWithoutMapElementTemplateInput
1143
+ projects?: Prisma.ProjectCreateNestedManyWithoutMapElementTemplateInput
1144
+ qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutMapElementTemplateInput
1145
+ MapElement?: Prisma.MapElementCreateNestedManyWithoutTemplateInput
1146
+ }
1147
+
1148
+ export type MapElementTemplateUncheckedCreateWithoutClusterInput = {
1149
+ id?: string
1150
+ no?: number
1151
+ status?: string
1152
+ name?: string | null
1153
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1154
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1155
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1156
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1157
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1158
+ mapElementType?: $Enums.MapElementType
1159
+ createdAt?: Date | string
1160
+ updatedAt?: Date | string
1161
+ deletedAt?: Date | string | null
1162
+ updatedById?: string | null
1163
+ networkElementId: string
1164
+ projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutMapElementTemplateInput
1165
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutMapElementTemplateInput
1166
+ MapElement?: Prisma.MapElementUncheckedCreateNestedManyWithoutTemplateInput
1167
+ }
1168
+
1169
+ export type MapElementTemplateCreateOrConnectWithoutClusterInput = {
1170
+ where: Prisma.MapElementTemplateWhereUniqueInput
1171
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutClusterInput, Prisma.MapElementTemplateUncheckedCreateWithoutClusterInput>
1172
+ }
1173
+
1174
+ export type MapElementTemplateCreateManyClusterInputEnvelope = {
1175
+ data: Prisma.MapElementTemplateCreateManyClusterInput | Prisma.MapElementTemplateCreateManyClusterInput[]
1176
+ skipDuplicates?: boolean
1177
+ }
1178
+
1179
+ export type MapElementTemplateUpsertWithWhereUniqueWithoutClusterInput = {
1180
+ where: Prisma.MapElementTemplateWhereUniqueInput
1181
+ update: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutClusterInput, Prisma.MapElementTemplateUncheckedUpdateWithoutClusterInput>
1182
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutClusterInput, Prisma.MapElementTemplateUncheckedCreateWithoutClusterInput>
1183
+ }
1184
+
1185
+ export type MapElementTemplateUpdateWithWhereUniqueWithoutClusterInput = {
1186
+ where: Prisma.MapElementTemplateWhereUniqueInput
1187
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutClusterInput, Prisma.MapElementTemplateUncheckedUpdateWithoutClusterInput>
1188
+ }
1189
+
1190
+ export type MapElementTemplateUpdateManyWithWhereWithoutClusterInput = {
1191
+ where: Prisma.MapElementTemplateScalarWhereInput
1192
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateManyMutationInput, Prisma.MapElementTemplateUncheckedUpdateManyWithoutClusterInput>
1193
+ }
1194
+
1195
+ export type MapElementTemplateCreateWithoutQrCodeTemplateInput = {
1196
+ id?: string
1197
+ no?: number
1198
+ status?: string
1199
+ name?: string | null
1200
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1201
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1202
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1203
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1204
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1205
+ mapElementType?: $Enums.MapElementType
1206
+ createdAt?: Date | string
1207
+ updatedAt?: Date | string
1208
+ deletedAt?: Date | string | null
1209
+ updatedBy?: Prisma.UserCreateNestedOneWithoutMapElementTemplateInput
1210
+ networkElement: Prisma.NetworkElementCreateNestedOneWithoutMapElementTemplateInput
1211
+ projects?: Prisma.ProjectCreateNestedManyWithoutMapElementTemplateInput
1212
+ cluster?: Prisma.ClusterCreateNestedOneWithoutMapElementTemplateInput
1213
+ MapElement?: Prisma.MapElementCreateNestedManyWithoutTemplateInput
1214
+ }
1215
+
1216
+ export type MapElementTemplateUncheckedCreateWithoutQrCodeTemplateInput = {
1217
+ id?: string
1218
+ no?: number
1219
+ status?: string
1220
+ name?: string | null
1221
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1222
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1223
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1224
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1225
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1226
+ mapElementType?: $Enums.MapElementType
1227
+ createdAt?: Date | string
1228
+ updatedAt?: Date | string
1229
+ deletedAt?: Date | string | null
1230
+ updatedById?: string | null
1231
+ networkElementId: string
1232
+ clusterId?: string | null
1233
+ projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutMapElementTemplateInput
1234
+ MapElement?: Prisma.MapElementUncheckedCreateNestedManyWithoutTemplateInput
1235
+ }
1236
+
1237
+ export type MapElementTemplateCreateOrConnectWithoutQrCodeTemplateInput = {
1238
+ where: Prisma.MapElementTemplateWhereUniqueInput
1239
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutQrCodeTemplateInput, Prisma.MapElementTemplateUncheckedCreateWithoutQrCodeTemplateInput>
1240
+ }
1241
+
1242
+ export type MapElementTemplateUpsertWithoutQrCodeTemplateInput = {
1243
+ update: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutQrCodeTemplateInput, Prisma.MapElementTemplateUncheckedUpdateWithoutQrCodeTemplateInput>
1244
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateWithoutQrCodeTemplateInput, Prisma.MapElementTemplateUncheckedCreateWithoutQrCodeTemplateInput>
1245
+ where?: Prisma.MapElementTemplateWhereInput
1246
+ }
1247
+
1248
+ export type MapElementTemplateUpdateToOneWithWhereWithoutQrCodeTemplateInput = {
1249
+ where?: Prisma.MapElementTemplateWhereInput
1250
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateWithoutQrCodeTemplateInput, Prisma.MapElementTemplateUncheckedUpdateWithoutQrCodeTemplateInput>
1251
+ }
1252
+
1253
+ export type MapElementTemplateUpdateWithoutQrCodeTemplateInput = {
1254
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1255
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1256
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1257
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1258
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1259
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1260
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1261
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1262
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1263
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1264
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1265
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1266
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1267
+ updatedBy?: Prisma.UserUpdateOneWithoutMapElementTemplateNestedInput
1268
+ networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutMapElementTemplateNestedInput
1269
+ projects?: Prisma.ProjectUpdateManyWithoutMapElementTemplateNestedInput
1270
+ cluster?: Prisma.ClusterUpdateOneWithoutMapElementTemplateNestedInput
1271
+ MapElement?: Prisma.MapElementUpdateManyWithoutTemplateNestedInput
1272
+ }
1273
+
1274
+ export type MapElementTemplateUncheckedUpdateWithoutQrCodeTemplateInput = {
1275
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1276
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1277
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1278
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1279
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1280
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1281
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1282
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1283
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1284
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1285
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1286
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1287
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1288
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1289
+ networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
1290
+ clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1291
+ projects?: Prisma.ProjectUncheckedUpdateManyWithoutMapElementTemplateNestedInput
1292
+ MapElement?: Prisma.MapElementUncheckedUpdateManyWithoutTemplateNestedInput
1293
+ }
1294
+
1295
+ export type MapElementTemplateCreateManyUpdatedByInput = {
1296
+ id?: string
1297
+ no?: number
1298
+ status?: string
1299
+ name?: string | null
1300
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1301
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1302
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1303
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1304
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1305
+ mapElementType?: $Enums.MapElementType
1306
+ createdAt?: Date | string
1307
+ updatedAt?: Date | string
1308
+ deletedAt?: Date | string | null
1309
+ networkElementId: string
1310
+ clusterId?: string | null
1311
+ }
1312
+
1313
+ export type MapElementTemplateUpdateWithoutUpdatedByInput = {
1314
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1315
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1316
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1317
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1318
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1319
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1320
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1321
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1322
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1323
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1324
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1325
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1326
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1327
+ networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutMapElementTemplateNestedInput
1328
+ projects?: Prisma.ProjectUpdateManyWithoutMapElementTemplateNestedInput
1329
+ cluster?: Prisma.ClusterUpdateOneWithoutMapElementTemplateNestedInput
1330
+ qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutMapElementTemplateNestedInput
1331
+ MapElement?: Prisma.MapElementUpdateManyWithoutTemplateNestedInput
1332
+ }
1333
+
1334
+ export type MapElementTemplateUncheckedUpdateWithoutUpdatedByInput = {
1335
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1336
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1337
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1338
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1339
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1340
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1341
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1342
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1343
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1344
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1345
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1346
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1347
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1348
+ networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
1349
+ clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1350
+ projects?: Prisma.ProjectUncheckedUpdateManyWithoutMapElementTemplateNestedInput
1351
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutMapElementTemplateNestedInput
1352
+ MapElement?: Prisma.MapElementUncheckedUpdateManyWithoutTemplateNestedInput
1353
+ }
1354
+
1355
+ export type MapElementTemplateUncheckedUpdateManyWithoutUpdatedByInput = {
1356
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1357
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1358
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1359
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1360
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1361
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1362
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1363
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1364
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1365
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1366
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1367
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1368
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1369
+ networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
1370
+ clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1371
+ }
1372
+
1373
+ export type MapElementTemplateUpdateWithoutProjectsInput = {
1374
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1375
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1376
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1377
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1378
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1379
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1380
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1381
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1382
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1383
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1384
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1385
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1386
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1387
+ updatedBy?: Prisma.UserUpdateOneWithoutMapElementTemplateNestedInput
1388
+ networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutMapElementTemplateNestedInput
1389
+ cluster?: Prisma.ClusterUpdateOneWithoutMapElementTemplateNestedInput
1390
+ qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutMapElementTemplateNestedInput
1391
+ MapElement?: Prisma.MapElementUpdateManyWithoutTemplateNestedInput
1392
+ }
1393
+
1394
+ export type MapElementTemplateUncheckedUpdateWithoutProjectsInput = {
1395
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1396
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1397
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1398
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1399
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1400
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1401
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1402
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1403
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1404
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1405
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1406
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1407
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1408
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1409
+ networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
1410
+ clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1411
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutMapElementTemplateNestedInput
1412
+ MapElement?: Prisma.MapElementUncheckedUpdateManyWithoutTemplateNestedInput
1413
+ }
1414
+
1415
+ export type MapElementTemplateUncheckedUpdateManyWithoutProjectsInput = {
1416
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1417
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1418
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1419
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1420
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1421
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1422
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1423
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1424
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1425
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1426
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1427
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1428
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1429
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1430
+ networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
1431
+ clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1432
+ }
1433
+
1434
+ export type MapElementTemplateCreateManyNetworkElementInput = {
1435
+ id?: string
1436
+ no?: number
1437
+ status?: string
1438
+ name?: string | null
1439
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1440
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1441
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1442
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1443
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1444
+ mapElementType?: $Enums.MapElementType
1445
+ createdAt?: Date | string
1446
+ updatedAt?: Date | string
1447
+ deletedAt?: Date | string | null
1448
+ updatedById?: string | null
1449
+ clusterId?: string | null
1450
+ }
1451
+
1452
+ export type MapElementTemplateUpdateWithoutNetworkElementInput = {
1453
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1454
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1455
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1456
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1457
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1458
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1459
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1460
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1461
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1462
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1463
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1464
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1465
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1466
+ updatedBy?: Prisma.UserUpdateOneWithoutMapElementTemplateNestedInput
1467
+ projects?: Prisma.ProjectUpdateManyWithoutMapElementTemplateNestedInput
1468
+ cluster?: Prisma.ClusterUpdateOneWithoutMapElementTemplateNestedInput
1469
+ qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutMapElementTemplateNestedInput
1470
+ MapElement?: Prisma.MapElementUpdateManyWithoutTemplateNestedInput
1471
+ }
1472
+
1473
+ export type MapElementTemplateUncheckedUpdateWithoutNetworkElementInput = {
1474
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1475
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1476
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1477
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1478
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1479
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1480
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1481
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1482
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1483
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1484
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1485
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1486
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1487
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1488
+ clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1489
+ projects?: Prisma.ProjectUncheckedUpdateManyWithoutMapElementTemplateNestedInput
1490
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutMapElementTemplateNestedInput
1491
+ MapElement?: Prisma.MapElementUncheckedUpdateManyWithoutTemplateNestedInput
1492
+ }
1493
+
1494
+ export type MapElementTemplateUncheckedUpdateManyWithoutNetworkElementInput = {
1495
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1496
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1497
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1498
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1499
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1500
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1501
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1502
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1503
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1504
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1505
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1506
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1507
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1508
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1509
+ clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1510
+ }
1511
+
1512
+ export type MapElementTemplateCreateManyClusterInput = {
1513
+ id?: string
1514
+ no?: number
1515
+ status?: string
1516
+ name?: string | null
1517
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1518
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1519
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1520
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1521
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1522
+ mapElementType?: $Enums.MapElementType
1523
+ createdAt?: Date | string
1524
+ updatedAt?: Date | string
1525
+ deletedAt?: Date | string | null
1526
+ updatedById?: string | null
1527
+ networkElementId: string
1528
+ }
1529
+
1530
+ export type MapElementTemplateUpdateWithoutClusterInput = {
1531
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1532
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1533
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1534
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1535
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1536
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1537
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1538
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1539
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1540
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1541
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1542
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1543
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1544
+ updatedBy?: Prisma.UserUpdateOneWithoutMapElementTemplateNestedInput
1545
+ networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutMapElementTemplateNestedInput
1546
+ projects?: Prisma.ProjectUpdateManyWithoutMapElementTemplateNestedInput
1547
+ qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutMapElementTemplateNestedInput
1548
+ MapElement?: Prisma.MapElementUpdateManyWithoutTemplateNestedInput
1549
+ }
1550
+
1551
+ export type MapElementTemplateUncheckedUpdateWithoutClusterInput = {
1552
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1553
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1554
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1555
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1556
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1557
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1558
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1559
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1560
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1561
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1562
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1563
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1564
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1565
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1566
+ networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
1567
+ projects?: Prisma.ProjectUncheckedUpdateManyWithoutMapElementTemplateNestedInput
1568
+ qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutMapElementTemplateNestedInput
1569
+ MapElement?: Prisma.MapElementUncheckedUpdateManyWithoutTemplateNestedInput
1570
+ }
1571
+
1572
+ export type MapElementTemplateUncheckedUpdateManyWithoutClusterInput = {
1573
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1574
+ no?: Prisma.IntFieldUpdateOperationsInput | number
1575
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1576
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1577
+ photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1578
+ texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1579
+ files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1580
+ zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1581
+ geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1582
+ mapElementType?: Prisma.EnumMapElementTypeFieldUpdateOperationsInput | $Enums.MapElementType
1583
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1584
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1585
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1586
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1587
+ networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
1588
+ }
1589
+
1590
+
1591
+ /**
1592
+ * Count Type MapElementTemplateCountOutputType
1593
+ */
1594
+
1595
+ export type MapElementTemplateCountOutputType = {
1596
+ projects: number
1597
+ qrCodeTemplate: number
1598
+ MapElement: number
1599
+ }
1600
+
1601
+ export type MapElementTemplateCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1602
+ projects?: boolean | MapElementTemplateCountOutputTypeCountProjectsArgs
1603
+ qrCodeTemplate?: boolean | MapElementTemplateCountOutputTypeCountQrCodeTemplateArgs
1604
+ MapElement?: boolean | MapElementTemplateCountOutputTypeCountMapElementArgs
1605
+ }
1606
+
1607
+ /**
1608
+ * MapElementTemplateCountOutputType without action
1609
+ */
1610
+ export type MapElementTemplateCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1611
+ /**
1612
+ * Select specific fields to fetch from the MapElementTemplateCountOutputType
1613
+ */
1614
+ select?: Prisma.MapElementTemplateCountOutputTypeSelect<ExtArgs> | null
1615
+ }
1616
+
1617
+ /**
1618
+ * MapElementTemplateCountOutputType without action
1619
+ */
1620
+ export type MapElementTemplateCountOutputTypeCountProjectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1621
+ where?: Prisma.ProjectWhereInput
1622
+ }
1623
+
1624
+ /**
1625
+ * MapElementTemplateCountOutputType without action
1626
+ */
1627
+ export type MapElementTemplateCountOutputTypeCountQrCodeTemplateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1628
+ where?: Prisma.qrCodeTemplateWhereInput
1629
+ }
1630
+
1631
+ /**
1632
+ * MapElementTemplateCountOutputType without action
1633
+ */
1634
+ export type MapElementTemplateCountOutputTypeCountMapElementArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1635
+ where?: Prisma.MapElementWhereInput
1636
+ }
1637
+
1638
+
1639
+ export type MapElementTemplateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1640
+ id?: boolean
1641
+ no?: boolean
1642
+ status?: boolean
1643
+ name?: boolean
1644
+ photos?: boolean
1645
+ texts?: boolean
1646
+ files?: boolean
1647
+ zone?: boolean
1648
+ geometry?: boolean
1649
+ mapElementType?: boolean
1650
+ createdAt?: boolean
1651
+ updatedAt?: boolean
1652
+ deletedAt?: boolean
1653
+ updatedById?: boolean
1654
+ networkElementId?: boolean
1655
+ clusterId?: boolean
1656
+ updatedBy?: boolean | Prisma.MapElementTemplate$updatedByArgs<ExtArgs>
1657
+ networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
1658
+ projects?: boolean | Prisma.MapElementTemplate$projectsArgs<ExtArgs>
1659
+ cluster?: boolean | Prisma.MapElementTemplate$clusterArgs<ExtArgs>
1660
+ qrCodeTemplate?: boolean | Prisma.MapElementTemplate$qrCodeTemplateArgs<ExtArgs>
1661
+ MapElement?: boolean | Prisma.MapElementTemplate$MapElementArgs<ExtArgs>
1662
+ _count?: boolean | Prisma.MapElementTemplateCountOutputTypeDefaultArgs<ExtArgs>
1663
+ }, ExtArgs["result"]["mapElementTemplate"]>
1664
+
1665
+ export type MapElementTemplateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1666
+ id?: boolean
1667
+ no?: boolean
1668
+ status?: boolean
1669
+ name?: boolean
1670
+ photos?: boolean
1671
+ texts?: boolean
1672
+ files?: boolean
1673
+ zone?: boolean
1674
+ geometry?: boolean
1675
+ mapElementType?: boolean
1676
+ createdAt?: boolean
1677
+ updatedAt?: boolean
1678
+ deletedAt?: boolean
1679
+ updatedById?: boolean
1680
+ networkElementId?: boolean
1681
+ clusterId?: boolean
1682
+ updatedBy?: boolean | Prisma.MapElementTemplate$updatedByArgs<ExtArgs>
1683
+ networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
1684
+ cluster?: boolean | Prisma.MapElementTemplate$clusterArgs<ExtArgs>
1685
+ }, ExtArgs["result"]["mapElementTemplate"]>
1686
+
1687
+ export type MapElementTemplateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1688
+ id?: boolean
1689
+ no?: boolean
1690
+ status?: boolean
1691
+ name?: boolean
1692
+ photos?: boolean
1693
+ texts?: boolean
1694
+ files?: boolean
1695
+ zone?: boolean
1696
+ geometry?: boolean
1697
+ mapElementType?: boolean
1698
+ createdAt?: boolean
1699
+ updatedAt?: boolean
1700
+ deletedAt?: boolean
1701
+ updatedById?: boolean
1702
+ networkElementId?: boolean
1703
+ clusterId?: boolean
1704
+ updatedBy?: boolean | Prisma.MapElementTemplate$updatedByArgs<ExtArgs>
1705
+ networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
1706
+ cluster?: boolean | Prisma.MapElementTemplate$clusterArgs<ExtArgs>
1707
+ }, ExtArgs["result"]["mapElementTemplate"]>
1708
+
1709
+ export type MapElementTemplateSelectScalar = {
1710
+ id?: boolean
1711
+ no?: boolean
1712
+ status?: boolean
1713
+ name?: boolean
1714
+ photos?: boolean
1715
+ texts?: boolean
1716
+ files?: boolean
1717
+ zone?: boolean
1718
+ geometry?: boolean
1719
+ mapElementType?: boolean
1720
+ createdAt?: boolean
1721
+ updatedAt?: boolean
1722
+ deletedAt?: boolean
1723
+ updatedById?: boolean
1724
+ networkElementId?: boolean
1725
+ clusterId?: boolean
1726
+ }
1727
+
1728
+ export type MapElementTemplateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "status" | "name" | "photos" | "texts" | "files" | "zone" | "geometry" | "mapElementType" | "createdAt" | "updatedAt" | "deletedAt" | "updatedById" | "networkElementId" | "clusterId", ExtArgs["result"]["mapElementTemplate"]>
1729
+ export type MapElementTemplateInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1730
+ updatedBy?: boolean | Prisma.MapElementTemplate$updatedByArgs<ExtArgs>
1731
+ networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
1732
+ projects?: boolean | Prisma.MapElementTemplate$projectsArgs<ExtArgs>
1733
+ cluster?: boolean | Prisma.MapElementTemplate$clusterArgs<ExtArgs>
1734
+ qrCodeTemplate?: boolean | Prisma.MapElementTemplate$qrCodeTemplateArgs<ExtArgs>
1735
+ MapElement?: boolean | Prisma.MapElementTemplate$MapElementArgs<ExtArgs>
1736
+ _count?: boolean | Prisma.MapElementTemplateCountOutputTypeDefaultArgs<ExtArgs>
1737
+ }
1738
+ export type MapElementTemplateIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1739
+ updatedBy?: boolean | Prisma.MapElementTemplate$updatedByArgs<ExtArgs>
1740
+ networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
1741
+ cluster?: boolean | Prisma.MapElementTemplate$clusterArgs<ExtArgs>
1742
+ }
1743
+ export type MapElementTemplateIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1744
+ updatedBy?: boolean | Prisma.MapElementTemplate$updatedByArgs<ExtArgs>
1745
+ networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
1746
+ cluster?: boolean | Prisma.MapElementTemplate$clusterArgs<ExtArgs>
1747
+ }
1748
+
1749
+ export type $MapElementTemplatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1750
+ name: "MapElementTemplate"
1751
+ objects: {
1752
+ updatedBy: Prisma.$UserPayload<ExtArgs> | null
1753
+ networkElement: Prisma.$NetworkElementPayload<ExtArgs>
1754
+ projects: Prisma.$ProjectPayload<ExtArgs>[]
1755
+ cluster: Prisma.$ClusterPayload<ExtArgs> | null
1756
+ qrCodeTemplate: Prisma.$qrCodeTemplatePayload<ExtArgs>[]
1757
+ MapElement: Prisma.$MapElementPayload<ExtArgs>[]
1758
+ }
1759
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1760
+ id: string
1761
+ no: number
1762
+ status: string
1763
+ name: string | null
1764
+ photos: runtime.JsonValue | null
1765
+ texts: runtime.JsonValue | null
1766
+ files: runtime.JsonValue | null
1767
+ zone: runtime.JsonValue | null
1768
+ geometry: runtime.JsonValue | null
1769
+ mapElementType: $Enums.MapElementType
1770
+ createdAt: Date
1771
+ updatedAt: Date
1772
+ deletedAt: Date | null
1773
+ updatedById: string | null
1774
+ networkElementId: string
1775
+ clusterId: string | null
1776
+ }, ExtArgs["result"]["mapElementTemplate"]>
1777
+ composites: {}
1778
+ }
1779
+
1780
+ export type MapElementTemplateGetPayload<S extends boolean | null | undefined | MapElementTemplateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload, S>
1781
+
1782
+ export type MapElementTemplateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1783
+ Omit<MapElementTemplateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1784
+ select?: MapElementTemplateCountAggregateInputType | true
1785
+ }
1786
+
1787
+ export interface MapElementTemplateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1788
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MapElementTemplate'], meta: { name: 'MapElementTemplate' } }
1789
+ /**
1790
+ * Find zero or one MapElementTemplate that matches the filter.
1791
+ * @param {MapElementTemplateFindUniqueArgs} args - Arguments to find a MapElementTemplate
1792
+ * @example
1793
+ * // Get one MapElementTemplate
1794
+ * const mapElementTemplate = await prisma.mapElementTemplate.findUnique({
1795
+ * where: {
1796
+ * // ... provide filter here
1797
+ * }
1798
+ * })
1799
+ */
1800
+ findUnique<T extends MapElementTemplateFindUniqueArgs>(args: Prisma.SelectSubset<T, MapElementTemplateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__MapElementTemplateClient<runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1801
+
1802
+ /**
1803
+ * Find one MapElementTemplate that matches the filter or throw an error with `error.code='P2025'`
1804
+ * if no matches were found.
1805
+ * @param {MapElementTemplateFindUniqueOrThrowArgs} args - Arguments to find a MapElementTemplate
1806
+ * @example
1807
+ * // Get one MapElementTemplate
1808
+ * const mapElementTemplate = await prisma.mapElementTemplate.findUniqueOrThrow({
1809
+ * where: {
1810
+ * // ... provide filter here
1811
+ * }
1812
+ * })
1813
+ */
1814
+ findUniqueOrThrow<T extends MapElementTemplateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, MapElementTemplateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__MapElementTemplateClient<runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1815
+
1816
+ /**
1817
+ * Find the first MapElementTemplate that matches the filter.
1818
+ * Note, that providing `undefined` is treated as the value not being there.
1819
+ * Read more here: https://pris.ly/d/null-undefined
1820
+ * @param {MapElementTemplateFindFirstArgs} args - Arguments to find a MapElementTemplate
1821
+ * @example
1822
+ * // Get one MapElementTemplate
1823
+ * const mapElementTemplate = await prisma.mapElementTemplate.findFirst({
1824
+ * where: {
1825
+ * // ... provide filter here
1826
+ * }
1827
+ * })
1828
+ */
1829
+ findFirst<T extends MapElementTemplateFindFirstArgs>(args?: Prisma.SelectSubset<T, MapElementTemplateFindFirstArgs<ExtArgs>>): Prisma.Prisma__MapElementTemplateClient<runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1830
+
1831
+ /**
1832
+ * Find the first MapElementTemplate that matches the filter or
1833
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1834
+ * Note, that providing `undefined` is treated as the value not being there.
1835
+ * Read more here: https://pris.ly/d/null-undefined
1836
+ * @param {MapElementTemplateFindFirstOrThrowArgs} args - Arguments to find a MapElementTemplate
1837
+ * @example
1838
+ * // Get one MapElementTemplate
1839
+ * const mapElementTemplate = await prisma.mapElementTemplate.findFirstOrThrow({
1840
+ * where: {
1841
+ * // ... provide filter here
1842
+ * }
1843
+ * })
1844
+ */
1845
+ findFirstOrThrow<T extends MapElementTemplateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, MapElementTemplateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__MapElementTemplateClient<runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1846
+
1847
+ /**
1848
+ * Find zero or more MapElementTemplates that matches the filter.
1849
+ * Note, that providing `undefined` is treated as the value not being there.
1850
+ * Read more here: https://pris.ly/d/null-undefined
1851
+ * @param {MapElementTemplateFindManyArgs} args - Arguments to filter and select certain fields only.
1852
+ * @example
1853
+ * // Get all MapElementTemplates
1854
+ * const mapElementTemplates = await prisma.mapElementTemplate.findMany()
1855
+ *
1856
+ * // Get first 10 MapElementTemplates
1857
+ * const mapElementTemplates = await prisma.mapElementTemplate.findMany({ take: 10 })
1858
+ *
1859
+ * // Only select the `id`
1860
+ * const mapElementTemplateWithIdOnly = await prisma.mapElementTemplate.findMany({ select: { id: true } })
1861
+ *
1862
+ */
1863
+ findMany<T extends MapElementTemplateFindManyArgs>(args?: Prisma.SelectSubset<T, MapElementTemplateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1864
+
1865
+ /**
1866
+ * Create a MapElementTemplate.
1867
+ * @param {MapElementTemplateCreateArgs} args - Arguments to create a MapElementTemplate.
1868
+ * @example
1869
+ * // Create one MapElementTemplate
1870
+ * const MapElementTemplate = await prisma.mapElementTemplate.create({
1871
+ * data: {
1872
+ * // ... data to create a MapElementTemplate
1873
+ * }
1874
+ * })
1875
+ *
1876
+ */
1877
+ create<T extends MapElementTemplateCreateArgs>(args: Prisma.SelectSubset<T, MapElementTemplateCreateArgs<ExtArgs>>): Prisma.Prisma__MapElementTemplateClient<runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1878
+
1879
+ /**
1880
+ * Create many MapElementTemplates.
1881
+ * @param {MapElementTemplateCreateManyArgs} args - Arguments to create many MapElementTemplates.
1882
+ * @example
1883
+ * // Create many MapElementTemplates
1884
+ * const mapElementTemplate = await prisma.mapElementTemplate.createMany({
1885
+ * data: [
1886
+ * // ... provide data here
1887
+ * ]
1888
+ * })
1889
+ *
1890
+ */
1891
+ createMany<T extends MapElementTemplateCreateManyArgs>(args?: Prisma.SelectSubset<T, MapElementTemplateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1892
+
1893
+ /**
1894
+ * Create many MapElementTemplates and returns the data saved in the database.
1895
+ * @param {MapElementTemplateCreateManyAndReturnArgs} args - Arguments to create many MapElementTemplates.
1896
+ * @example
1897
+ * // Create many MapElementTemplates
1898
+ * const mapElementTemplate = await prisma.mapElementTemplate.createManyAndReturn({
1899
+ * data: [
1900
+ * // ... provide data here
1901
+ * ]
1902
+ * })
1903
+ *
1904
+ * // Create many MapElementTemplates and only return the `id`
1905
+ * const mapElementTemplateWithIdOnly = await prisma.mapElementTemplate.createManyAndReturn({
1906
+ * select: { id: true },
1907
+ * data: [
1908
+ * // ... provide data here
1909
+ * ]
1910
+ * })
1911
+ * Note, that providing `undefined` is treated as the value not being there.
1912
+ * Read more here: https://pris.ly/d/null-undefined
1913
+ *
1914
+ */
1915
+ createManyAndReturn<T extends MapElementTemplateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MapElementTemplateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1916
+
1917
+ /**
1918
+ * Delete a MapElementTemplate.
1919
+ * @param {MapElementTemplateDeleteArgs} args - Arguments to delete one MapElementTemplate.
1920
+ * @example
1921
+ * // Delete one MapElementTemplate
1922
+ * const MapElementTemplate = await prisma.mapElementTemplate.delete({
1923
+ * where: {
1924
+ * // ... filter to delete one MapElementTemplate
1925
+ * }
1926
+ * })
1927
+ *
1928
+ */
1929
+ delete<T extends MapElementTemplateDeleteArgs>(args: Prisma.SelectSubset<T, MapElementTemplateDeleteArgs<ExtArgs>>): Prisma.Prisma__MapElementTemplateClient<runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1930
+
1931
+ /**
1932
+ * Update one MapElementTemplate.
1933
+ * @param {MapElementTemplateUpdateArgs} args - Arguments to update one MapElementTemplate.
1934
+ * @example
1935
+ * // Update one MapElementTemplate
1936
+ * const mapElementTemplate = await prisma.mapElementTemplate.update({
1937
+ * where: {
1938
+ * // ... provide filter here
1939
+ * },
1940
+ * data: {
1941
+ * // ... provide data here
1942
+ * }
1943
+ * })
1944
+ *
1945
+ */
1946
+ update<T extends MapElementTemplateUpdateArgs>(args: Prisma.SelectSubset<T, MapElementTemplateUpdateArgs<ExtArgs>>): Prisma.Prisma__MapElementTemplateClient<runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1947
+
1948
+ /**
1949
+ * Delete zero or more MapElementTemplates.
1950
+ * @param {MapElementTemplateDeleteManyArgs} args - Arguments to filter MapElementTemplates to delete.
1951
+ * @example
1952
+ * // Delete a few MapElementTemplates
1953
+ * const { count } = await prisma.mapElementTemplate.deleteMany({
1954
+ * where: {
1955
+ * // ... provide filter here
1956
+ * }
1957
+ * })
1958
+ *
1959
+ */
1960
+ deleteMany<T extends MapElementTemplateDeleteManyArgs>(args?: Prisma.SelectSubset<T, MapElementTemplateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1961
+
1962
+ /**
1963
+ * Update zero or more MapElementTemplates.
1964
+ * Note, that providing `undefined` is treated as the value not being there.
1965
+ * Read more here: https://pris.ly/d/null-undefined
1966
+ * @param {MapElementTemplateUpdateManyArgs} args - Arguments to update one or more rows.
1967
+ * @example
1968
+ * // Update many MapElementTemplates
1969
+ * const mapElementTemplate = await prisma.mapElementTemplate.updateMany({
1970
+ * where: {
1971
+ * // ... provide filter here
1972
+ * },
1973
+ * data: {
1974
+ * // ... provide data here
1975
+ * }
1976
+ * })
1977
+ *
1978
+ */
1979
+ updateMany<T extends MapElementTemplateUpdateManyArgs>(args: Prisma.SelectSubset<T, MapElementTemplateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1980
+
1981
+ /**
1982
+ * Update zero or more MapElementTemplates and returns the data updated in the database.
1983
+ * @param {MapElementTemplateUpdateManyAndReturnArgs} args - Arguments to update many MapElementTemplates.
1984
+ * @example
1985
+ * // Update many MapElementTemplates
1986
+ * const mapElementTemplate = await prisma.mapElementTemplate.updateManyAndReturn({
1987
+ * where: {
1988
+ * // ... provide filter here
1989
+ * },
1990
+ * data: [
1991
+ * // ... provide data here
1992
+ * ]
1993
+ * })
1994
+ *
1995
+ * // Update zero or more MapElementTemplates and only return the `id`
1996
+ * const mapElementTemplateWithIdOnly = await prisma.mapElementTemplate.updateManyAndReturn({
1997
+ * select: { id: true },
1998
+ * where: {
1999
+ * // ... provide filter here
2000
+ * },
2001
+ * data: [
2002
+ * // ... provide data here
2003
+ * ]
2004
+ * })
2005
+ * Note, that providing `undefined` is treated as the value not being there.
2006
+ * Read more here: https://pris.ly/d/null-undefined
2007
+ *
2008
+ */
2009
+ updateManyAndReturn<T extends MapElementTemplateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MapElementTemplateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
2010
+
2011
+ /**
2012
+ * Create or update one MapElementTemplate.
2013
+ * @param {MapElementTemplateUpsertArgs} args - Arguments to update or create a MapElementTemplate.
2014
+ * @example
2015
+ * // Update or create a MapElementTemplate
2016
+ * const mapElementTemplate = await prisma.mapElementTemplate.upsert({
2017
+ * create: {
2018
+ * // ... data to create a MapElementTemplate
2019
+ * },
2020
+ * update: {
2021
+ * // ... in case it already exists, update
2022
+ * },
2023
+ * where: {
2024
+ * // ... the filter for the MapElementTemplate we want to update
2025
+ * }
2026
+ * })
2027
+ */
2028
+ upsert<T extends MapElementTemplateUpsertArgs>(args: Prisma.SelectSubset<T, MapElementTemplateUpsertArgs<ExtArgs>>): Prisma.Prisma__MapElementTemplateClient<runtime.Types.Result.GetResult<Prisma.$MapElementTemplatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2029
+
2030
+
2031
+ /**
2032
+ * Count the number of MapElementTemplates.
2033
+ * Note, that providing `undefined` is treated as the value not being there.
2034
+ * Read more here: https://pris.ly/d/null-undefined
2035
+ * @param {MapElementTemplateCountArgs} args - Arguments to filter MapElementTemplates to count.
2036
+ * @example
2037
+ * // Count the number of MapElementTemplates
2038
+ * const count = await prisma.mapElementTemplate.count({
2039
+ * where: {
2040
+ * // ... the filter for the MapElementTemplates we want to count
2041
+ * }
2042
+ * })
2043
+ **/
2044
+ count<T extends MapElementTemplateCountArgs>(
2045
+ args?: Prisma.Subset<T, MapElementTemplateCountArgs>,
2046
+ ): Prisma.PrismaPromise<
2047
+ T extends runtime.Types.Utils.Record<'select', any>
2048
+ ? T['select'] extends true
2049
+ ? number
2050
+ : Prisma.GetScalarType<T['select'], MapElementTemplateCountAggregateOutputType>
2051
+ : number
2052
+ >
2053
+
2054
+ /**
2055
+ * Allows you to perform aggregations operations on a MapElementTemplate.
2056
+ * Note, that providing `undefined` is treated as the value not being there.
2057
+ * Read more here: https://pris.ly/d/null-undefined
2058
+ * @param {MapElementTemplateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2059
+ * @example
2060
+ * // Ordered by age ascending
2061
+ * // Where email contains prisma.io
2062
+ * // Limited to the 10 users
2063
+ * const aggregations = await prisma.user.aggregate({
2064
+ * _avg: {
2065
+ * age: true,
2066
+ * },
2067
+ * where: {
2068
+ * email: {
2069
+ * contains: "prisma.io",
2070
+ * },
2071
+ * },
2072
+ * orderBy: {
2073
+ * age: "asc",
2074
+ * },
2075
+ * take: 10,
2076
+ * })
2077
+ **/
2078
+ aggregate<T extends MapElementTemplateAggregateArgs>(args: Prisma.Subset<T, MapElementTemplateAggregateArgs>): Prisma.PrismaPromise<GetMapElementTemplateAggregateType<T>>
2079
+
2080
+ /**
2081
+ * Group by MapElementTemplate.
2082
+ * Note, that providing `undefined` is treated as the value not being there.
2083
+ * Read more here: https://pris.ly/d/null-undefined
2084
+ * @param {MapElementTemplateGroupByArgs} args - Group by arguments.
2085
+ * @example
2086
+ * // Group by city, order by createdAt, get count
2087
+ * const result = await prisma.user.groupBy({
2088
+ * by: ['city', 'createdAt'],
2089
+ * orderBy: {
2090
+ * createdAt: true
2091
+ * },
2092
+ * _count: {
2093
+ * _all: true
2094
+ * },
2095
+ * })
2096
+ *
2097
+ **/
2098
+ groupBy<
2099
+ T extends MapElementTemplateGroupByArgs,
2100
+ HasSelectOrTake extends Prisma.Or<
2101
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
2102
+ Prisma.Extends<'take', Prisma.Keys<T>>
2103
+ >,
2104
+ OrderByArg extends Prisma.True extends HasSelectOrTake
2105
+ ? { orderBy: MapElementTemplateGroupByArgs['orderBy'] }
2106
+ : { orderBy?: MapElementTemplateGroupByArgs['orderBy'] },
2107
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2108
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2109
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
2110
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
2111
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
2112
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2113
+ InputErrors extends ByEmpty extends Prisma.True
2114
+ ? `Error: "by" must not be empty.`
2115
+ : HavingValid extends Prisma.False
2116
+ ? {
2117
+ [P in HavingFields]: P extends ByFields
2118
+ ? never
2119
+ : P extends string
2120
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2121
+ : [
2122
+ Error,
2123
+ 'Field ',
2124
+ P,
2125
+ ` in "having" needs to be provided in "by"`,
2126
+ ]
2127
+ }[HavingFields]
2128
+ : 'take' extends Prisma.Keys<T>
2129
+ ? 'orderBy' extends Prisma.Keys<T>
2130
+ ? ByValid extends Prisma.True
2131
+ ? {}
2132
+ : {
2133
+ [P in OrderFields]: P extends ByFields
2134
+ ? never
2135
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2136
+ }[OrderFields]
2137
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
2138
+ : 'skip' extends Prisma.Keys<T>
2139
+ ? 'orderBy' extends Prisma.Keys<T>
2140
+ ? ByValid extends Prisma.True
2141
+ ? {}
2142
+ : {
2143
+ [P in OrderFields]: P extends ByFields
2144
+ ? never
2145
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2146
+ }[OrderFields]
2147
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
2148
+ : ByValid extends Prisma.True
2149
+ ? {}
2150
+ : {
2151
+ [P in OrderFields]: P extends ByFields
2152
+ ? never
2153
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2154
+ }[OrderFields]
2155
+ >(args: Prisma.SubsetIntersection<T, MapElementTemplateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMapElementTemplateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2156
+ /**
2157
+ * Fields of the MapElementTemplate model
2158
+ */
2159
+ readonly fields: MapElementTemplateFieldRefs;
2160
+ }
2161
+
2162
+ /**
2163
+ * The delegate class that acts as a "Promise-like" for MapElementTemplate.
2164
+ * Why is this prefixed with `Prisma__`?
2165
+ * Because we want to prevent naming conflicts as mentioned in
2166
+ * https://github.com/prisma/prisma-client-js/issues/707
2167
+ */
2168
+ export interface Prisma__MapElementTemplateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2169
+ readonly [Symbol.toStringTag]: "PrismaPromise"
2170
+ updatedBy<T extends Prisma.MapElementTemplate$updatedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MapElementTemplate$updatedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2171
+ networkElement<T extends Prisma.NetworkElementDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.NetworkElementDefaultArgs<ExtArgs>>): Prisma.Prisma__NetworkElementClient<runtime.Types.Result.GetResult<Prisma.$NetworkElementPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
2172
+ projects<T extends Prisma.MapElementTemplate$projectsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MapElementTemplate$projectsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2173
+ cluster<T extends Prisma.MapElementTemplate$clusterArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MapElementTemplate$clusterArgs<ExtArgs>>): Prisma.Prisma__ClusterClient<runtime.Types.Result.GetResult<Prisma.$ClusterPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2174
+ qrCodeTemplate<T extends Prisma.MapElementTemplate$qrCodeTemplateArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MapElementTemplate$qrCodeTemplateArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$qrCodeTemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2175
+ MapElement<T extends Prisma.MapElementTemplate$MapElementArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MapElementTemplate$MapElementArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MapElementPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2176
+ /**
2177
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
2178
+ * @param onfulfilled The callback to execute when the Promise is resolved.
2179
+ * @param onrejected The callback to execute when the Promise is rejected.
2180
+ * @returns A Promise for the completion of which ever callback is executed.
2181
+ */
2182
+ 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>
2183
+ /**
2184
+ * Attaches a callback for only the rejection of the Promise.
2185
+ * @param onrejected The callback to execute when the Promise is rejected.
2186
+ * @returns A Promise for the completion of the callback.
2187
+ */
2188
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
2189
+ /**
2190
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2191
+ * resolved value cannot be modified from the callback.
2192
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2193
+ * @returns A Promise for the completion of the callback.
2194
+ */
2195
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
2196
+ }
2197
+
2198
+
2199
+
2200
+
2201
+ /**
2202
+ * Fields of the MapElementTemplate model
2203
+ */
2204
+ export interface MapElementTemplateFieldRefs {
2205
+ readonly id: Prisma.FieldRef<"MapElementTemplate", 'String'>
2206
+ readonly no: Prisma.FieldRef<"MapElementTemplate", 'Int'>
2207
+ readonly status: Prisma.FieldRef<"MapElementTemplate", 'String'>
2208
+ readonly name: Prisma.FieldRef<"MapElementTemplate", 'String'>
2209
+ readonly photos: Prisma.FieldRef<"MapElementTemplate", 'Json'>
2210
+ readonly texts: Prisma.FieldRef<"MapElementTemplate", 'Json'>
2211
+ readonly files: Prisma.FieldRef<"MapElementTemplate", 'Json'>
2212
+ readonly zone: Prisma.FieldRef<"MapElementTemplate", 'Json'>
2213
+ readonly geometry: Prisma.FieldRef<"MapElementTemplate", 'Json'>
2214
+ readonly mapElementType: Prisma.FieldRef<"MapElementTemplate", 'MapElementType'>
2215
+ readonly createdAt: Prisma.FieldRef<"MapElementTemplate", 'DateTime'>
2216
+ readonly updatedAt: Prisma.FieldRef<"MapElementTemplate", 'DateTime'>
2217
+ readonly deletedAt: Prisma.FieldRef<"MapElementTemplate", 'DateTime'>
2218
+ readonly updatedById: Prisma.FieldRef<"MapElementTemplate", 'String'>
2219
+ readonly networkElementId: Prisma.FieldRef<"MapElementTemplate", 'String'>
2220
+ readonly clusterId: Prisma.FieldRef<"MapElementTemplate", 'String'>
2221
+ }
2222
+
2223
+
2224
+ // Custom InputTypes
2225
+ /**
2226
+ * MapElementTemplate findUnique
2227
+ */
2228
+ export type MapElementTemplateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2229
+ /**
2230
+ * Select specific fields to fetch from the MapElementTemplate
2231
+ */
2232
+ select?: Prisma.MapElementTemplateSelect<ExtArgs> | null
2233
+ /**
2234
+ * Omit specific fields from the MapElementTemplate
2235
+ */
2236
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2237
+ /**
2238
+ * Choose, which related nodes to fetch as well
2239
+ */
2240
+ include?: Prisma.MapElementTemplateInclude<ExtArgs> | null
2241
+ /**
2242
+ * Filter, which MapElementTemplate to fetch.
2243
+ */
2244
+ where: Prisma.MapElementTemplateWhereUniqueInput
2245
+ }
2246
+
2247
+ /**
2248
+ * MapElementTemplate findUniqueOrThrow
2249
+ */
2250
+ export type MapElementTemplateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2251
+ /**
2252
+ * Select specific fields to fetch from the MapElementTemplate
2253
+ */
2254
+ select?: Prisma.MapElementTemplateSelect<ExtArgs> | null
2255
+ /**
2256
+ * Omit specific fields from the MapElementTemplate
2257
+ */
2258
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2259
+ /**
2260
+ * Choose, which related nodes to fetch as well
2261
+ */
2262
+ include?: Prisma.MapElementTemplateInclude<ExtArgs> | null
2263
+ /**
2264
+ * Filter, which MapElementTemplate to fetch.
2265
+ */
2266
+ where: Prisma.MapElementTemplateWhereUniqueInput
2267
+ }
2268
+
2269
+ /**
2270
+ * MapElementTemplate findFirst
2271
+ */
2272
+ export type MapElementTemplateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2273
+ /**
2274
+ * Select specific fields to fetch from the MapElementTemplate
2275
+ */
2276
+ select?: Prisma.MapElementTemplateSelect<ExtArgs> | null
2277
+ /**
2278
+ * Omit specific fields from the MapElementTemplate
2279
+ */
2280
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2281
+ /**
2282
+ * Choose, which related nodes to fetch as well
2283
+ */
2284
+ include?: Prisma.MapElementTemplateInclude<ExtArgs> | null
2285
+ /**
2286
+ * Filter, which MapElementTemplate to fetch.
2287
+ */
2288
+ where?: Prisma.MapElementTemplateWhereInput
2289
+ /**
2290
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2291
+ *
2292
+ * Determine the order of MapElementTemplates to fetch.
2293
+ */
2294
+ orderBy?: Prisma.MapElementTemplateOrderByWithRelationInput | Prisma.MapElementTemplateOrderByWithRelationInput[]
2295
+ /**
2296
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2297
+ *
2298
+ * Sets the position for searching for MapElementTemplates.
2299
+ */
2300
+ cursor?: Prisma.MapElementTemplateWhereUniqueInput
2301
+ /**
2302
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2303
+ *
2304
+ * Take `±n` MapElementTemplates from the position of the cursor.
2305
+ */
2306
+ take?: number
2307
+ /**
2308
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2309
+ *
2310
+ * Skip the first `n` MapElementTemplates.
2311
+ */
2312
+ skip?: number
2313
+ /**
2314
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2315
+ *
2316
+ * Filter by unique combinations of MapElementTemplates.
2317
+ */
2318
+ distinct?: Prisma.MapElementTemplateScalarFieldEnum | Prisma.MapElementTemplateScalarFieldEnum[]
2319
+ }
2320
+
2321
+ /**
2322
+ * MapElementTemplate findFirstOrThrow
2323
+ */
2324
+ export type MapElementTemplateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2325
+ /**
2326
+ * Select specific fields to fetch from the MapElementTemplate
2327
+ */
2328
+ select?: Prisma.MapElementTemplateSelect<ExtArgs> | null
2329
+ /**
2330
+ * Omit specific fields from the MapElementTemplate
2331
+ */
2332
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2333
+ /**
2334
+ * Choose, which related nodes to fetch as well
2335
+ */
2336
+ include?: Prisma.MapElementTemplateInclude<ExtArgs> | null
2337
+ /**
2338
+ * Filter, which MapElementTemplate to fetch.
2339
+ */
2340
+ where?: Prisma.MapElementTemplateWhereInput
2341
+ /**
2342
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2343
+ *
2344
+ * Determine the order of MapElementTemplates to fetch.
2345
+ */
2346
+ orderBy?: Prisma.MapElementTemplateOrderByWithRelationInput | Prisma.MapElementTemplateOrderByWithRelationInput[]
2347
+ /**
2348
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2349
+ *
2350
+ * Sets the position for searching for MapElementTemplates.
2351
+ */
2352
+ cursor?: Prisma.MapElementTemplateWhereUniqueInput
2353
+ /**
2354
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2355
+ *
2356
+ * Take `±n` MapElementTemplates from the position of the cursor.
2357
+ */
2358
+ take?: number
2359
+ /**
2360
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2361
+ *
2362
+ * Skip the first `n` MapElementTemplates.
2363
+ */
2364
+ skip?: number
2365
+ /**
2366
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2367
+ *
2368
+ * Filter by unique combinations of MapElementTemplates.
2369
+ */
2370
+ distinct?: Prisma.MapElementTemplateScalarFieldEnum | Prisma.MapElementTemplateScalarFieldEnum[]
2371
+ }
2372
+
2373
+ /**
2374
+ * MapElementTemplate findMany
2375
+ */
2376
+ export type MapElementTemplateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2377
+ /**
2378
+ * Select specific fields to fetch from the MapElementTemplate
2379
+ */
2380
+ select?: Prisma.MapElementTemplateSelect<ExtArgs> | null
2381
+ /**
2382
+ * Omit specific fields from the MapElementTemplate
2383
+ */
2384
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2385
+ /**
2386
+ * Choose, which related nodes to fetch as well
2387
+ */
2388
+ include?: Prisma.MapElementTemplateInclude<ExtArgs> | null
2389
+ /**
2390
+ * Filter, which MapElementTemplates to fetch.
2391
+ */
2392
+ where?: Prisma.MapElementTemplateWhereInput
2393
+ /**
2394
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2395
+ *
2396
+ * Determine the order of MapElementTemplates to fetch.
2397
+ */
2398
+ orderBy?: Prisma.MapElementTemplateOrderByWithRelationInput | Prisma.MapElementTemplateOrderByWithRelationInput[]
2399
+ /**
2400
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2401
+ *
2402
+ * Sets the position for listing MapElementTemplates.
2403
+ */
2404
+ cursor?: Prisma.MapElementTemplateWhereUniqueInput
2405
+ /**
2406
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2407
+ *
2408
+ * Take `±n` MapElementTemplates from the position of the cursor.
2409
+ */
2410
+ take?: number
2411
+ /**
2412
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2413
+ *
2414
+ * Skip the first `n` MapElementTemplates.
2415
+ */
2416
+ skip?: number
2417
+ distinct?: Prisma.MapElementTemplateScalarFieldEnum | Prisma.MapElementTemplateScalarFieldEnum[]
2418
+ }
2419
+
2420
+ /**
2421
+ * MapElementTemplate create
2422
+ */
2423
+ export type MapElementTemplateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2424
+ /**
2425
+ * Select specific fields to fetch from the MapElementTemplate
2426
+ */
2427
+ select?: Prisma.MapElementTemplateSelect<ExtArgs> | null
2428
+ /**
2429
+ * Omit specific fields from the MapElementTemplate
2430
+ */
2431
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2432
+ /**
2433
+ * Choose, which related nodes to fetch as well
2434
+ */
2435
+ include?: Prisma.MapElementTemplateInclude<ExtArgs> | null
2436
+ /**
2437
+ * The data needed to create a MapElementTemplate.
2438
+ */
2439
+ data: Prisma.XOR<Prisma.MapElementTemplateCreateInput, Prisma.MapElementTemplateUncheckedCreateInput>
2440
+ }
2441
+
2442
+ /**
2443
+ * MapElementTemplate createMany
2444
+ */
2445
+ export type MapElementTemplateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2446
+ /**
2447
+ * The data used to create many MapElementTemplates.
2448
+ */
2449
+ data: Prisma.MapElementTemplateCreateManyInput | Prisma.MapElementTemplateCreateManyInput[]
2450
+ skipDuplicates?: boolean
2451
+ }
2452
+
2453
+ /**
2454
+ * MapElementTemplate createManyAndReturn
2455
+ */
2456
+ export type MapElementTemplateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2457
+ /**
2458
+ * Select specific fields to fetch from the MapElementTemplate
2459
+ */
2460
+ select?: Prisma.MapElementTemplateSelectCreateManyAndReturn<ExtArgs> | null
2461
+ /**
2462
+ * Omit specific fields from the MapElementTemplate
2463
+ */
2464
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2465
+ /**
2466
+ * The data used to create many MapElementTemplates.
2467
+ */
2468
+ data: Prisma.MapElementTemplateCreateManyInput | Prisma.MapElementTemplateCreateManyInput[]
2469
+ skipDuplicates?: boolean
2470
+ /**
2471
+ * Choose, which related nodes to fetch as well
2472
+ */
2473
+ include?: Prisma.MapElementTemplateIncludeCreateManyAndReturn<ExtArgs> | null
2474
+ }
2475
+
2476
+ /**
2477
+ * MapElementTemplate update
2478
+ */
2479
+ export type MapElementTemplateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2480
+ /**
2481
+ * Select specific fields to fetch from the MapElementTemplate
2482
+ */
2483
+ select?: Prisma.MapElementTemplateSelect<ExtArgs> | null
2484
+ /**
2485
+ * Omit specific fields from the MapElementTemplate
2486
+ */
2487
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2488
+ /**
2489
+ * Choose, which related nodes to fetch as well
2490
+ */
2491
+ include?: Prisma.MapElementTemplateInclude<ExtArgs> | null
2492
+ /**
2493
+ * The data needed to update a MapElementTemplate.
2494
+ */
2495
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateInput, Prisma.MapElementTemplateUncheckedUpdateInput>
2496
+ /**
2497
+ * Choose, which MapElementTemplate to update.
2498
+ */
2499
+ where: Prisma.MapElementTemplateWhereUniqueInput
2500
+ }
2501
+
2502
+ /**
2503
+ * MapElementTemplate updateMany
2504
+ */
2505
+ export type MapElementTemplateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2506
+ /**
2507
+ * The data used to update MapElementTemplates.
2508
+ */
2509
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateManyMutationInput, Prisma.MapElementTemplateUncheckedUpdateManyInput>
2510
+ /**
2511
+ * Filter which MapElementTemplates to update
2512
+ */
2513
+ where?: Prisma.MapElementTemplateWhereInput
2514
+ /**
2515
+ * Limit how many MapElementTemplates to update.
2516
+ */
2517
+ limit?: number
2518
+ }
2519
+
2520
+ /**
2521
+ * MapElementTemplate updateManyAndReturn
2522
+ */
2523
+ export type MapElementTemplateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2524
+ /**
2525
+ * Select specific fields to fetch from the MapElementTemplate
2526
+ */
2527
+ select?: Prisma.MapElementTemplateSelectUpdateManyAndReturn<ExtArgs> | null
2528
+ /**
2529
+ * Omit specific fields from the MapElementTemplate
2530
+ */
2531
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2532
+ /**
2533
+ * The data used to update MapElementTemplates.
2534
+ */
2535
+ data: Prisma.XOR<Prisma.MapElementTemplateUpdateManyMutationInput, Prisma.MapElementTemplateUncheckedUpdateManyInput>
2536
+ /**
2537
+ * Filter which MapElementTemplates to update
2538
+ */
2539
+ where?: Prisma.MapElementTemplateWhereInput
2540
+ /**
2541
+ * Limit how many MapElementTemplates to update.
2542
+ */
2543
+ limit?: number
2544
+ /**
2545
+ * Choose, which related nodes to fetch as well
2546
+ */
2547
+ include?: Prisma.MapElementTemplateIncludeUpdateManyAndReturn<ExtArgs> | null
2548
+ }
2549
+
2550
+ /**
2551
+ * MapElementTemplate upsert
2552
+ */
2553
+ export type MapElementTemplateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2554
+ /**
2555
+ * Select specific fields to fetch from the MapElementTemplate
2556
+ */
2557
+ select?: Prisma.MapElementTemplateSelect<ExtArgs> | null
2558
+ /**
2559
+ * Omit specific fields from the MapElementTemplate
2560
+ */
2561
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2562
+ /**
2563
+ * Choose, which related nodes to fetch as well
2564
+ */
2565
+ include?: Prisma.MapElementTemplateInclude<ExtArgs> | null
2566
+ /**
2567
+ * The filter to search for the MapElementTemplate to update in case it exists.
2568
+ */
2569
+ where: Prisma.MapElementTemplateWhereUniqueInput
2570
+ /**
2571
+ * In case the MapElementTemplate found by the `where` argument doesn't exist, create a new MapElementTemplate with this data.
2572
+ */
2573
+ create: Prisma.XOR<Prisma.MapElementTemplateCreateInput, Prisma.MapElementTemplateUncheckedCreateInput>
2574
+ /**
2575
+ * In case the MapElementTemplate was found with the provided `where` argument, update it with this data.
2576
+ */
2577
+ update: Prisma.XOR<Prisma.MapElementTemplateUpdateInput, Prisma.MapElementTemplateUncheckedUpdateInput>
2578
+ }
2579
+
2580
+ /**
2581
+ * MapElementTemplate delete
2582
+ */
2583
+ export type MapElementTemplateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2584
+ /**
2585
+ * Select specific fields to fetch from the MapElementTemplate
2586
+ */
2587
+ select?: Prisma.MapElementTemplateSelect<ExtArgs> | null
2588
+ /**
2589
+ * Omit specific fields from the MapElementTemplate
2590
+ */
2591
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2592
+ /**
2593
+ * Choose, which related nodes to fetch as well
2594
+ */
2595
+ include?: Prisma.MapElementTemplateInclude<ExtArgs> | null
2596
+ /**
2597
+ * Filter which MapElementTemplate to delete.
2598
+ */
2599
+ where: Prisma.MapElementTemplateWhereUniqueInput
2600
+ }
2601
+
2602
+ /**
2603
+ * MapElementTemplate deleteMany
2604
+ */
2605
+ export type MapElementTemplateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2606
+ /**
2607
+ * Filter which MapElementTemplates to delete
2608
+ */
2609
+ where?: Prisma.MapElementTemplateWhereInput
2610
+ /**
2611
+ * Limit how many MapElementTemplates to delete.
2612
+ */
2613
+ limit?: number
2614
+ }
2615
+
2616
+ /**
2617
+ * MapElementTemplate.updatedBy
2618
+ */
2619
+ export type MapElementTemplate$updatedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2620
+ /**
2621
+ * Select specific fields to fetch from the User
2622
+ */
2623
+ select?: Prisma.UserSelect<ExtArgs> | null
2624
+ /**
2625
+ * Omit specific fields from the User
2626
+ */
2627
+ omit?: Prisma.UserOmit<ExtArgs> | null
2628
+ /**
2629
+ * Choose, which related nodes to fetch as well
2630
+ */
2631
+ include?: Prisma.UserInclude<ExtArgs> | null
2632
+ where?: Prisma.UserWhereInput
2633
+ }
2634
+
2635
+ /**
2636
+ * MapElementTemplate.projects
2637
+ */
2638
+ export type MapElementTemplate$projectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2639
+ /**
2640
+ * Select specific fields to fetch from the Project
2641
+ */
2642
+ select?: Prisma.ProjectSelect<ExtArgs> | null
2643
+ /**
2644
+ * Omit specific fields from the Project
2645
+ */
2646
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
2647
+ /**
2648
+ * Choose, which related nodes to fetch as well
2649
+ */
2650
+ include?: Prisma.ProjectInclude<ExtArgs> | null
2651
+ where?: Prisma.ProjectWhereInput
2652
+ orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
2653
+ cursor?: Prisma.ProjectWhereUniqueInput
2654
+ take?: number
2655
+ skip?: number
2656
+ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
2657
+ }
2658
+
2659
+ /**
2660
+ * MapElementTemplate.cluster
2661
+ */
2662
+ export type MapElementTemplate$clusterArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2663
+ /**
2664
+ * Select specific fields to fetch from the Cluster
2665
+ */
2666
+ select?: Prisma.ClusterSelect<ExtArgs> | null
2667
+ /**
2668
+ * Omit specific fields from the Cluster
2669
+ */
2670
+ omit?: Prisma.ClusterOmit<ExtArgs> | null
2671
+ /**
2672
+ * Choose, which related nodes to fetch as well
2673
+ */
2674
+ include?: Prisma.ClusterInclude<ExtArgs> | null
2675
+ where?: Prisma.ClusterWhereInput
2676
+ }
2677
+
2678
+ /**
2679
+ * MapElementTemplate.qrCodeTemplate
2680
+ */
2681
+ export type MapElementTemplate$qrCodeTemplateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2682
+ /**
2683
+ * Select specific fields to fetch from the qrCodeTemplate
2684
+ */
2685
+ select?: Prisma.qrCodeTemplateSelect<ExtArgs> | null
2686
+ /**
2687
+ * Omit specific fields from the qrCodeTemplate
2688
+ */
2689
+ omit?: Prisma.qrCodeTemplateOmit<ExtArgs> | null
2690
+ /**
2691
+ * Choose, which related nodes to fetch as well
2692
+ */
2693
+ include?: Prisma.qrCodeTemplateInclude<ExtArgs> | null
2694
+ where?: Prisma.qrCodeTemplateWhereInput
2695
+ orderBy?: Prisma.qrCodeTemplateOrderByWithRelationInput | Prisma.qrCodeTemplateOrderByWithRelationInput[]
2696
+ cursor?: Prisma.qrCodeTemplateWhereUniqueInput
2697
+ take?: number
2698
+ skip?: number
2699
+ distinct?: Prisma.QrCodeTemplateScalarFieldEnum | Prisma.QrCodeTemplateScalarFieldEnum[]
2700
+ }
2701
+
2702
+ /**
2703
+ * MapElementTemplate.MapElement
2704
+ */
2705
+ export type MapElementTemplate$MapElementArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2706
+ /**
2707
+ * Select specific fields to fetch from the MapElement
2708
+ */
2709
+ select?: Prisma.MapElementSelect<ExtArgs> | null
2710
+ /**
2711
+ * Omit specific fields from the MapElement
2712
+ */
2713
+ omit?: Prisma.MapElementOmit<ExtArgs> | null
2714
+ /**
2715
+ * Choose, which related nodes to fetch as well
2716
+ */
2717
+ include?: Prisma.MapElementInclude<ExtArgs> | null
2718
+ where?: Prisma.MapElementWhereInput
2719
+ orderBy?: Prisma.MapElementOrderByWithRelationInput | Prisma.MapElementOrderByWithRelationInput[]
2720
+ cursor?: Prisma.MapElementWhereUniqueInput
2721
+ take?: number
2722
+ skip?: number
2723
+ distinct?: Prisma.MapElementScalarFieldEnum | Prisma.MapElementScalarFieldEnum[]
2724
+ }
2725
+
2726
+ /**
2727
+ * MapElementTemplate without action
2728
+ */
2729
+ export type MapElementTemplateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2730
+ /**
2731
+ * Select specific fields to fetch from the MapElementTemplate
2732
+ */
2733
+ select?: Prisma.MapElementTemplateSelect<ExtArgs> | null
2734
+ /**
2735
+ * Omit specific fields from the MapElementTemplate
2736
+ */
2737
+ omit?: Prisma.MapElementTemplateOmit<ExtArgs> | null
2738
+ /**
2739
+ * Choose, which related nodes to fetch as well
2740
+ */
2741
+ include?: Prisma.MapElementTemplateInclude<ExtArgs> | null
2742
+ }