efiber-prisma-schema 1.16.2 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/index.d.ts +6 -1
  2. package/index.js +10 -1
  3. package/package.json +12 -5
  4. package/prisma/generated/browser.ts +559 -0
  5. package/prisma/generated/client.ts +581 -0
  6. package/prisma/generated/commonInputTypes.ts +1246 -0
  7. package/prisma/generated/enums.ts +188 -0
  8. package/prisma/generated/internal/class.ts +1260 -0
  9. package/prisma/generated/internal/prismaNamespace.ts +11532 -0
  10. package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
  11. package/prisma/generated/models/AttributeDefinition.ts +1498 -0
  12. package/prisma/generated/models/AttributeValue.ts +1419 -0
  13. package/prisma/generated/models/Audit.ts +1725 -0
  14. package/prisma/generated/models/BillOfMaterial.ts +1934 -0
  15. package/prisma/generated/models/Building.ts +6130 -0
  16. package/prisma/generated/models/BuildingTemplate.ts +2912 -0
  17. package/prisma/generated/models/Cable.ts +10501 -0
  18. package/prisma/generated/models/CableAttachment.ts +1530 -0
  19. package/prisma/generated/models/CableAttributes.ts +2244 -0
  20. package/prisma/generated/models/CableTemplate.ts +3170 -0
  21. package/prisma/generated/models/CamusatClient.ts +2001 -0
  22. package/prisma/generated/models/CamusatCountry.ts +2425 -0
  23. package/prisma/generated/models/CentralOffice.ts +1921 -0
  24. package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
  25. package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
  26. package/prisma/generated/models/Cluster.ts +10984 -0
  27. package/prisma/generated/models/ClusterComments.ts +1668 -0
  28. package/prisma/generated/models/ClusterNotes.ts +1703 -0
  29. package/prisma/generated/models/Conduit.ts +5119 -0
  30. package/prisma/generated/models/ConduitTemplate.ts +2940 -0
  31. package/prisma/generated/models/Country.ts +1795 -0
  32. package/prisma/generated/models/DispatchMaterial.ts +3070 -0
  33. package/prisma/generated/models/DispatchProject.ts +4179 -0
  34. package/prisma/generated/models/DispatchTeam.ts +3053 -0
  35. package/prisma/generated/models/Duct.ts +1813 -0
  36. package/prisma/generated/models/ElementNode.ts +4413 -0
  37. package/prisma/generated/models/ElementRelation.ts +1644 -0
  38. package/prisma/generated/models/EmailConfigurations.ts +3736 -0
  39. package/prisma/generated/models/EmailTemplates.ts +1739 -0
  40. package/prisma/generated/models/EmailsIncoming.ts +2010 -0
  41. package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
  42. package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
  43. package/prisma/generated/models/FDTSRO.ts +6180 -0
  44. package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
  45. package/prisma/generated/models/Feature.ts +1867 -0
  46. package/prisma/generated/models/FeatureType.ts +1430 -0
  47. package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
  48. package/prisma/generated/models/Loop.ts +5271 -0
  49. package/prisma/generated/models/LoopTemplate.ts +2912 -0
  50. package/prisma/generated/models/MainProject.ts +1664 -0
  51. package/prisma/generated/models/Manhole.ts +5090 -0
  52. package/prisma/generated/models/ManholeTemplate.ts +2912 -0
  53. package/prisma/generated/models/MapElement.ts +3450 -0
  54. package/prisma/generated/models/MapElementTemplate.ts +2742 -0
  55. package/prisma/generated/models/Material.ts +1963 -0
  56. package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
  57. package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
  58. package/prisma/generated/models/NetworkElement.ts +6891 -0
  59. package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
  60. package/prisma/generated/models/Notifications.ts +1563 -0
  61. package/prisma/generated/models/OptionSource.ts +1132 -0
  62. package/prisma/generated/models/PboFat.ts +8248 -0
  63. package/prisma/generated/models/PboFatAttributes.ts +2672 -0
  64. package/prisma/generated/models/PboFatTemplate.ts +3112 -0
  65. package/prisma/generated/models/Platform.ts +1759 -0
  66. package/prisma/generated/models/Pole.ts +5266 -0
  67. package/prisma/generated/models/PoleTemplate.ts +2912 -0
  68. package/prisma/generated/models/Position.ts +1490 -0
  69. package/prisma/generated/models/PreviousEquipment.ts +1881 -0
  70. package/prisma/generated/models/Project.ts +14893 -0
  71. package/prisma/generated/models/ProjectType.ts +1351 -0
  72. package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
  73. package/prisma/generated/models/ReportFormats.ts +1768 -0
  74. package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
  75. package/prisma/generated/models/ReportMetric.ts +1737 -0
  76. package/prisma/generated/models/ReportTable.ts +1498 -0
  77. package/prisma/generated/models/ReportVisualization.ts +1446 -0
  78. package/prisma/generated/models/Revision.ts +4653 -0
  79. package/prisma/generated/models/Role.ts +2960 -0
  80. package/prisma/generated/models/SFU.ts +5977 -0
  81. package/prisma/generated/models/SFUTemplate.ts +2912 -0
  82. package/prisma/generated/models/SpliceClosure.ts +6405 -0
  83. package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
  84. package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
  85. package/prisma/generated/models/Splitter.ts +1459 -0
  86. package/prisma/generated/models/StockMovement.ts +1589 -0
  87. package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
  88. package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
  89. package/prisma/generated/models/Team.ts +2044 -0
  90. package/prisma/generated/models/TeamMaterial.ts +2193 -0
  91. package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
  92. package/prisma/generated/models/TeamPlatform.ts +1874 -0
  93. package/prisma/generated/models/TeamType.ts +1655 -0
  94. package/prisma/generated/models/Template.ts +1691 -0
  95. package/prisma/generated/models/TemplateComponent.ts +1995 -0
  96. package/prisma/generated/models/User.ts +25676 -0
  97. package/prisma/generated/models/WorkOrder.ts +5901 -0
  98. package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
  99. package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
  100. package/prisma/generated/models/WorkOrderComments.ts +1687 -0
  101. package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
  102. package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
  103. package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
  104. package/prisma/generated/models/WorkOrderTask.ts +2220 -0
  105. package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
  106. package/prisma/generated/models/ZoneNro.ts +3926 -0
  107. package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
  108. package/prisma/generated/models/clientMaterial.ts +2193 -0
  109. package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
  110. package/prisma/generated/models/ductTemplate.ts +1606 -0
  111. package/prisma/generated/models/installationSequence.ts +1708 -0
  112. package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
  113. package/prisma/generated/models/integrationUserLocation.ts +1681 -0
  114. package/prisma/generated/models/problemCategorization.ts +1543 -0
  115. package/prisma/generated/models/projectPhaseLog.ts +1728 -0
  116. package/prisma/generated/models/qrCodeTag.ts +4978 -0
  117. package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
  118. package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
  119. package/prisma/generated/models.ts +119 -0
  120. package/prisma/schema.prisma +2 -2
  121. package/prisma/seed.ts +33 -0
  122. package/prisma.config.ts +13 -0
  123. package/tsconfig.json +13 -0
@@ -0,0 +1,1921 @@
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 `CentralOffice` 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 CentralOffice
17
+ *
18
+ */
19
+ export type CentralOfficeModel = runtime.Types.Result.DefaultSelection<Prisma.$CentralOfficePayload>
20
+
21
+ export type AggregateCentralOffice = {
22
+ _count: CentralOfficeCountAggregateOutputType | null
23
+ _avg: CentralOfficeAvgAggregateOutputType | null
24
+ _sum: CentralOfficeSumAggregateOutputType | null
25
+ _min: CentralOfficeMinAggregateOutputType | null
26
+ _max: CentralOfficeMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type CentralOfficeAvgAggregateOutputType = {
30
+ no: number | null
31
+ }
32
+
33
+ export type CentralOfficeSumAggregateOutputType = {
34
+ no: number | null
35
+ }
36
+
37
+ export type CentralOfficeMinAggregateOutputType = {
38
+ id: string | null
39
+ no: number | null
40
+ name: string | null
41
+ createdAt: Date | null
42
+ updatedAt: Date | null
43
+ deletedAt: Date | null
44
+ projectId: string | null
45
+ }
46
+
47
+ export type CentralOfficeMaxAggregateOutputType = {
48
+ id: string | null
49
+ no: number | null
50
+ name: string | null
51
+ createdAt: Date | null
52
+ updatedAt: Date | null
53
+ deletedAt: Date | null
54
+ projectId: string | null
55
+ }
56
+
57
+ export type CentralOfficeCountAggregateOutputType = {
58
+ id: number
59
+ no: number
60
+ name: number
61
+ createdAt: number
62
+ updatedAt: number
63
+ deletedAt: number
64
+ projectId: number
65
+ _all: number
66
+ }
67
+
68
+
69
+ export type CentralOfficeAvgAggregateInputType = {
70
+ no?: true
71
+ }
72
+
73
+ export type CentralOfficeSumAggregateInputType = {
74
+ no?: true
75
+ }
76
+
77
+ export type CentralOfficeMinAggregateInputType = {
78
+ id?: true
79
+ no?: true
80
+ name?: true
81
+ createdAt?: true
82
+ updatedAt?: true
83
+ deletedAt?: true
84
+ projectId?: true
85
+ }
86
+
87
+ export type CentralOfficeMaxAggregateInputType = {
88
+ id?: true
89
+ no?: true
90
+ name?: true
91
+ createdAt?: true
92
+ updatedAt?: true
93
+ deletedAt?: true
94
+ projectId?: true
95
+ }
96
+
97
+ export type CentralOfficeCountAggregateInputType = {
98
+ id?: true
99
+ no?: true
100
+ name?: true
101
+ createdAt?: true
102
+ updatedAt?: true
103
+ deletedAt?: true
104
+ projectId?: true
105
+ _all?: true
106
+ }
107
+
108
+ export type CentralOfficeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
109
+ /**
110
+ * Filter which CentralOffice to aggregate.
111
+ */
112
+ where?: Prisma.CentralOfficeWhereInput
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
115
+ *
116
+ * Determine the order of CentralOffices to fetch.
117
+ */
118
+ orderBy?: Prisma.CentralOfficeOrderByWithRelationInput | Prisma.CentralOfficeOrderByWithRelationInput[]
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
121
+ *
122
+ * Sets the start position
123
+ */
124
+ cursor?: Prisma.CentralOfficeWhereUniqueInput
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
127
+ *
128
+ * Take `±n` CentralOffices from the position of the cursor.
129
+ */
130
+ take?: number
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
133
+ *
134
+ * Skip the first `n` CentralOffices.
135
+ */
136
+ skip?: number
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
139
+ *
140
+ * Count returned CentralOffices
141
+ **/
142
+ _count?: true | CentralOfficeCountAggregateInputType
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
145
+ *
146
+ * Select which fields to average
147
+ **/
148
+ _avg?: CentralOfficeAvgAggregateInputType
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
+ *
152
+ * Select which fields to sum
153
+ **/
154
+ _sum?: CentralOfficeSumAggregateInputType
155
+ /**
156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
+ *
158
+ * Select which fields to find the minimum value
159
+ **/
160
+ _min?: CentralOfficeMinAggregateInputType
161
+ /**
162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
+ *
164
+ * Select which fields to find the maximum value
165
+ **/
166
+ _max?: CentralOfficeMaxAggregateInputType
167
+ }
168
+
169
+ export type GetCentralOfficeAggregateType<T extends CentralOfficeAggregateArgs> = {
170
+ [P in keyof T & keyof AggregateCentralOffice]: P extends '_count' | 'count'
171
+ ? T[P] extends true
172
+ ? number
173
+ : Prisma.GetScalarType<T[P], AggregateCentralOffice[P]>
174
+ : Prisma.GetScalarType<T[P], AggregateCentralOffice[P]>
175
+ }
176
+
177
+
178
+
179
+
180
+ export type CentralOfficeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
181
+ where?: Prisma.CentralOfficeWhereInput
182
+ orderBy?: Prisma.CentralOfficeOrderByWithAggregationInput | Prisma.CentralOfficeOrderByWithAggregationInput[]
183
+ by: Prisma.CentralOfficeScalarFieldEnum[] | Prisma.CentralOfficeScalarFieldEnum
184
+ having?: Prisma.CentralOfficeScalarWhereWithAggregatesInput
185
+ take?: number
186
+ skip?: number
187
+ _count?: CentralOfficeCountAggregateInputType | true
188
+ _avg?: CentralOfficeAvgAggregateInputType
189
+ _sum?: CentralOfficeSumAggregateInputType
190
+ _min?: CentralOfficeMinAggregateInputType
191
+ _max?: CentralOfficeMaxAggregateInputType
192
+ }
193
+
194
+ export type CentralOfficeGroupByOutputType = {
195
+ id: string
196
+ no: number
197
+ name: string
198
+ createdAt: Date
199
+ updatedAt: Date
200
+ deletedAt: Date | null
201
+ projectId: string | null
202
+ _count: CentralOfficeCountAggregateOutputType | null
203
+ _avg: CentralOfficeAvgAggregateOutputType | null
204
+ _sum: CentralOfficeSumAggregateOutputType | null
205
+ _min: CentralOfficeMinAggregateOutputType | null
206
+ _max: CentralOfficeMaxAggregateOutputType | null
207
+ }
208
+
209
+ type GetCentralOfficeGroupByPayload<T extends CentralOfficeGroupByArgs> = Prisma.PrismaPromise<
210
+ Array<
211
+ Prisma.PickEnumerable<CentralOfficeGroupByOutputType, T['by']> &
212
+ {
213
+ [P in ((keyof T) & (keyof CentralOfficeGroupByOutputType))]: P extends '_count'
214
+ ? T[P] extends boolean
215
+ ? number
216
+ : Prisma.GetScalarType<T[P], CentralOfficeGroupByOutputType[P]>
217
+ : Prisma.GetScalarType<T[P], CentralOfficeGroupByOutputType[P]>
218
+ }
219
+ >
220
+ >
221
+
222
+
223
+
224
+ export type CentralOfficeWhereInput = {
225
+ AND?: Prisma.CentralOfficeWhereInput | Prisma.CentralOfficeWhereInput[]
226
+ OR?: Prisma.CentralOfficeWhereInput[]
227
+ NOT?: Prisma.CentralOfficeWhereInput | Prisma.CentralOfficeWhereInput[]
228
+ id?: Prisma.StringFilter<"CentralOffice"> | string
229
+ no?: Prisma.IntFilter<"CentralOffice"> | number
230
+ name?: Prisma.StringFilter<"CentralOffice"> | string
231
+ createdAt?: Prisma.DateTimeFilter<"CentralOffice"> | Date | string
232
+ updatedAt?: Prisma.DateTimeFilter<"CentralOffice"> | Date | string
233
+ deletedAt?: Prisma.DateTimeNullableFilter<"CentralOffice"> | Date | string | null
234
+ projectId?: Prisma.StringNullableFilter<"CentralOffice"> | string | null
235
+ project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
236
+ users?: Prisma.UserListRelationFilter
237
+ Cluster?: Prisma.ClusterListRelationFilter
238
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamListRelationFilter
239
+ }
240
+
241
+ export type CentralOfficeOrderByWithRelationInput = {
242
+ id?: Prisma.SortOrder
243
+ no?: Prisma.SortOrder
244
+ name?: Prisma.SortOrder
245
+ createdAt?: Prisma.SortOrder
246
+ updatedAt?: Prisma.SortOrder
247
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
248
+ projectId?: Prisma.SortOrderInput | Prisma.SortOrder
249
+ project?: Prisma.ProjectOrderByWithRelationInput
250
+ users?: Prisma.UserOrderByRelationAggregateInput
251
+ Cluster?: Prisma.ClusterOrderByRelationAggregateInput
252
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamOrderByRelationAggregateInput
253
+ }
254
+
255
+ export type CentralOfficeWhereUniqueInput = Prisma.AtLeast<{
256
+ id?: string
257
+ AND?: Prisma.CentralOfficeWhereInput | Prisma.CentralOfficeWhereInput[]
258
+ OR?: Prisma.CentralOfficeWhereInput[]
259
+ NOT?: Prisma.CentralOfficeWhereInput | Prisma.CentralOfficeWhereInput[]
260
+ no?: Prisma.IntFilter<"CentralOffice"> | number
261
+ name?: Prisma.StringFilter<"CentralOffice"> | string
262
+ createdAt?: Prisma.DateTimeFilter<"CentralOffice"> | Date | string
263
+ updatedAt?: Prisma.DateTimeFilter<"CentralOffice"> | Date | string
264
+ deletedAt?: Prisma.DateTimeNullableFilter<"CentralOffice"> | Date | string | null
265
+ projectId?: Prisma.StringNullableFilter<"CentralOffice"> | string | null
266
+ project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
267
+ users?: Prisma.UserListRelationFilter
268
+ Cluster?: Prisma.ClusterListRelationFilter
269
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamListRelationFilter
270
+ }, "id" | "id">
271
+
272
+ export type CentralOfficeOrderByWithAggregationInput = {
273
+ id?: Prisma.SortOrder
274
+ no?: Prisma.SortOrder
275
+ name?: Prisma.SortOrder
276
+ createdAt?: Prisma.SortOrder
277
+ updatedAt?: Prisma.SortOrder
278
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
279
+ projectId?: Prisma.SortOrderInput | Prisma.SortOrder
280
+ _count?: Prisma.CentralOfficeCountOrderByAggregateInput
281
+ _avg?: Prisma.CentralOfficeAvgOrderByAggregateInput
282
+ _max?: Prisma.CentralOfficeMaxOrderByAggregateInput
283
+ _min?: Prisma.CentralOfficeMinOrderByAggregateInput
284
+ _sum?: Prisma.CentralOfficeSumOrderByAggregateInput
285
+ }
286
+
287
+ export type CentralOfficeScalarWhereWithAggregatesInput = {
288
+ AND?: Prisma.CentralOfficeScalarWhereWithAggregatesInput | Prisma.CentralOfficeScalarWhereWithAggregatesInput[]
289
+ OR?: Prisma.CentralOfficeScalarWhereWithAggregatesInput[]
290
+ NOT?: Prisma.CentralOfficeScalarWhereWithAggregatesInput | Prisma.CentralOfficeScalarWhereWithAggregatesInput[]
291
+ id?: Prisma.StringWithAggregatesFilter<"CentralOffice"> | string
292
+ no?: Prisma.IntWithAggregatesFilter<"CentralOffice"> | number
293
+ name?: Prisma.StringWithAggregatesFilter<"CentralOffice"> | string
294
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"CentralOffice"> | Date | string
295
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"CentralOffice"> | Date | string
296
+ deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"CentralOffice"> | Date | string | null
297
+ projectId?: Prisma.StringNullableWithAggregatesFilter<"CentralOffice"> | string | null
298
+ }
299
+
300
+ export type CentralOfficeCreateInput = {
301
+ id?: string
302
+ no?: number
303
+ name: string
304
+ createdAt?: Date | string
305
+ updatedAt?: Date | string
306
+ deletedAt?: Date | string | null
307
+ project?: Prisma.ProjectCreateNestedOneWithoutCentralOfficeInput
308
+ users?: Prisma.UserCreateNestedManyWithoutCentralOfficesInput
309
+ Cluster?: Prisma.ClusterCreateNestedManyWithoutCentralOfficeInput
310
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamCreateNestedManyWithoutCentralOfficeInput
311
+ }
312
+
313
+ export type CentralOfficeUncheckedCreateInput = {
314
+ id?: string
315
+ no?: number
316
+ name: string
317
+ createdAt?: Date | string
318
+ updatedAt?: Date | string
319
+ deletedAt?: Date | string | null
320
+ projectId?: string | null
321
+ users?: Prisma.UserUncheckedCreateNestedManyWithoutCentralOfficesInput
322
+ Cluster?: Prisma.ClusterUncheckedCreateNestedManyWithoutCentralOfficeInput
323
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUncheckedCreateNestedManyWithoutCentralOfficeInput
324
+ }
325
+
326
+ export type CentralOfficeUpdateInput = {
327
+ id?: Prisma.StringFieldUpdateOperationsInput | string
328
+ no?: Prisma.IntFieldUpdateOperationsInput | number
329
+ name?: Prisma.StringFieldUpdateOperationsInput | string
330
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
331
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
332
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
333
+ project?: Prisma.ProjectUpdateOneWithoutCentralOfficeNestedInput
334
+ users?: Prisma.UserUpdateManyWithoutCentralOfficesNestedInput
335
+ Cluster?: Prisma.ClusterUpdateManyWithoutCentralOfficeNestedInput
336
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUpdateManyWithoutCentralOfficeNestedInput
337
+ }
338
+
339
+ export type CentralOfficeUncheckedUpdateInput = {
340
+ id?: Prisma.StringFieldUpdateOperationsInput | string
341
+ no?: Prisma.IntFieldUpdateOperationsInput | number
342
+ name?: Prisma.StringFieldUpdateOperationsInput | string
343
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
344
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
345
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
346
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
347
+ users?: Prisma.UserUncheckedUpdateManyWithoutCentralOfficesNestedInput
348
+ Cluster?: Prisma.ClusterUncheckedUpdateManyWithoutCentralOfficeNestedInput
349
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUncheckedUpdateManyWithoutCentralOfficeNestedInput
350
+ }
351
+
352
+ export type CentralOfficeCreateManyInput = {
353
+ id?: string
354
+ no?: number
355
+ name: string
356
+ createdAt?: Date | string
357
+ updatedAt?: Date | string
358
+ deletedAt?: Date | string | null
359
+ projectId?: string | null
360
+ }
361
+
362
+ export type CentralOfficeUpdateManyMutationInput = {
363
+ id?: Prisma.StringFieldUpdateOperationsInput | string
364
+ no?: Prisma.IntFieldUpdateOperationsInput | number
365
+ name?: Prisma.StringFieldUpdateOperationsInput | string
366
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
367
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
368
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
369
+ }
370
+
371
+ export type CentralOfficeUncheckedUpdateManyInput = {
372
+ id?: Prisma.StringFieldUpdateOperationsInput | string
373
+ no?: Prisma.IntFieldUpdateOperationsInput | number
374
+ name?: Prisma.StringFieldUpdateOperationsInput | string
375
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
376
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
377
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
378
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
379
+ }
380
+
381
+ export type CentralOfficeListRelationFilter = {
382
+ every?: Prisma.CentralOfficeWhereInput
383
+ some?: Prisma.CentralOfficeWhereInput
384
+ none?: Prisma.CentralOfficeWhereInput
385
+ }
386
+
387
+ export type CentralOfficeOrderByRelationAggregateInput = {
388
+ _count?: Prisma.SortOrder
389
+ }
390
+
391
+ export type CentralOfficeCountOrderByAggregateInput = {
392
+ id?: Prisma.SortOrder
393
+ no?: Prisma.SortOrder
394
+ name?: Prisma.SortOrder
395
+ createdAt?: Prisma.SortOrder
396
+ updatedAt?: Prisma.SortOrder
397
+ deletedAt?: Prisma.SortOrder
398
+ projectId?: Prisma.SortOrder
399
+ }
400
+
401
+ export type CentralOfficeAvgOrderByAggregateInput = {
402
+ no?: Prisma.SortOrder
403
+ }
404
+
405
+ export type CentralOfficeMaxOrderByAggregateInput = {
406
+ id?: Prisma.SortOrder
407
+ no?: Prisma.SortOrder
408
+ name?: Prisma.SortOrder
409
+ createdAt?: Prisma.SortOrder
410
+ updatedAt?: Prisma.SortOrder
411
+ deletedAt?: Prisma.SortOrder
412
+ projectId?: Prisma.SortOrder
413
+ }
414
+
415
+ export type CentralOfficeMinOrderByAggregateInput = {
416
+ id?: Prisma.SortOrder
417
+ no?: Prisma.SortOrder
418
+ name?: Prisma.SortOrder
419
+ createdAt?: Prisma.SortOrder
420
+ updatedAt?: Prisma.SortOrder
421
+ deletedAt?: Prisma.SortOrder
422
+ projectId?: Prisma.SortOrder
423
+ }
424
+
425
+ export type CentralOfficeSumOrderByAggregateInput = {
426
+ no?: Prisma.SortOrder
427
+ }
428
+
429
+ export type CentralOfficeNullableScalarRelationFilter = {
430
+ is?: Prisma.CentralOfficeWhereInput | null
431
+ isNot?: Prisma.CentralOfficeWhereInput | null
432
+ }
433
+
434
+ export type CentralOfficeCreateNestedManyWithoutUsersInput = {
435
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutUsersInput, Prisma.CentralOfficeUncheckedCreateWithoutUsersInput> | Prisma.CentralOfficeCreateWithoutUsersInput[] | Prisma.CentralOfficeUncheckedCreateWithoutUsersInput[]
436
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutUsersInput | Prisma.CentralOfficeCreateOrConnectWithoutUsersInput[]
437
+ connect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
438
+ }
439
+
440
+ export type CentralOfficeUncheckedCreateNestedManyWithoutUsersInput = {
441
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutUsersInput, Prisma.CentralOfficeUncheckedCreateWithoutUsersInput> | Prisma.CentralOfficeCreateWithoutUsersInput[] | Prisma.CentralOfficeUncheckedCreateWithoutUsersInput[]
442
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutUsersInput | Prisma.CentralOfficeCreateOrConnectWithoutUsersInput[]
443
+ connect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
444
+ }
445
+
446
+ export type CentralOfficeUpdateManyWithoutUsersNestedInput = {
447
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutUsersInput, Prisma.CentralOfficeUncheckedCreateWithoutUsersInput> | Prisma.CentralOfficeCreateWithoutUsersInput[] | Prisma.CentralOfficeUncheckedCreateWithoutUsersInput[]
448
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutUsersInput | Prisma.CentralOfficeCreateOrConnectWithoutUsersInput[]
449
+ upsert?: Prisma.CentralOfficeUpsertWithWhereUniqueWithoutUsersInput | Prisma.CentralOfficeUpsertWithWhereUniqueWithoutUsersInput[]
450
+ set?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
451
+ disconnect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
452
+ delete?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
453
+ connect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
454
+ update?: Prisma.CentralOfficeUpdateWithWhereUniqueWithoutUsersInput | Prisma.CentralOfficeUpdateWithWhereUniqueWithoutUsersInput[]
455
+ updateMany?: Prisma.CentralOfficeUpdateManyWithWhereWithoutUsersInput | Prisma.CentralOfficeUpdateManyWithWhereWithoutUsersInput[]
456
+ deleteMany?: Prisma.CentralOfficeScalarWhereInput | Prisma.CentralOfficeScalarWhereInput[]
457
+ }
458
+
459
+ export type CentralOfficeUncheckedUpdateManyWithoutUsersNestedInput = {
460
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutUsersInput, Prisma.CentralOfficeUncheckedCreateWithoutUsersInput> | Prisma.CentralOfficeCreateWithoutUsersInput[] | Prisma.CentralOfficeUncheckedCreateWithoutUsersInput[]
461
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutUsersInput | Prisma.CentralOfficeCreateOrConnectWithoutUsersInput[]
462
+ upsert?: Prisma.CentralOfficeUpsertWithWhereUniqueWithoutUsersInput | Prisma.CentralOfficeUpsertWithWhereUniqueWithoutUsersInput[]
463
+ set?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
464
+ disconnect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
465
+ delete?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
466
+ connect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
467
+ update?: Prisma.CentralOfficeUpdateWithWhereUniqueWithoutUsersInput | Prisma.CentralOfficeUpdateWithWhereUniqueWithoutUsersInput[]
468
+ updateMany?: Prisma.CentralOfficeUpdateManyWithWhereWithoutUsersInput | Prisma.CentralOfficeUpdateManyWithWhereWithoutUsersInput[]
469
+ deleteMany?: Prisma.CentralOfficeScalarWhereInput | Prisma.CentralOfficeScalarWhereInput[]
470
+ }
471
+
472
+ export type CentralOfficeCreateNestedManyWithoutProjectInput = {
473
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutProjectInput, Prisma.CentralOfficeUncheckedCreateWithoutProjectInput> | Prisma.CentralOfficeCreateWithoutProjectInput[] | Prisma.CentralOfficeUncheckedCreateWithoutProjectInput[]
474
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutProjectInput | Prisma.CentralOfficeCreateOrConnectWithoutProjectInput[]
475
+ createMany?: Prisma.CentralOfficeCreateManyProjectInputEnvelope
476
+ connect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
477
+ }
478
+
479
+ export type CentralOfficeUncheckedCreateNestedManyWithoutProjectInput = {
480
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutProjectInput, Prisma.CentralOfficeUncheckedCreateWithoutProjectInput> | Prisma.CentralOfficeCreateWithoutProjectInput[] | Prisma.CentralOfficeUncheckedCreateWithoutProjectInput[]
481
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutProjectInput | Prisma.CentralOfficeCreateOrConnectWithoutProjectInput[]
482
+ createMany?: Prisma.CentralOfficeCreateManyProjectInputEnvelope
483
+ connect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
484
+ }
485
+
486
+ export type CentralOfficeUpdateManyWithoutProjectNestedInput = {
487
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutProjectInput, Prisma.CentralOfficeUncheckedCreateWithoutProjectInput> | Prisma.CentralOfficeCreateWithoutProjectInput[] | Prisma.CentralOfficeUncheckedCreateWithoutProjectInput[]
488
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutProjectInput | Prisma.CentralOfficeCreateOrConnectWithoutProjectInput[]
489
+ upsert?: Prisma.CentralOfficeUpsertWithWhereUniqueWithoutProjectInput | Prisma.CentralOfficeUpsertWithWhereUniqueWithoutProjectInput[]
490
+ createMany?: Prisma.CentralOfficeCreateManyProjectInputEnvelope
491
+ set?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
492
+ disconnect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
493
+ delete?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
494
+ connect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
495
+ update?: Prisma.CentralOfficeUpdateWithWhereUniqueWithoutProjectInput | Prisma.CentralOfficeUpdateWithWhereUniqueWithoutProjectInput[]
496
+ updateMany?: Prisma.CentralOfficeUpdateManyWithWhereWithoutProjectInput | Prisma.CentralOfficeUpdateManyWithWhereWithoutProjectInput[]
497
+ deleteMany?: Prisma.CentralOfficeScalarWhereInput | Prisma.CentralOfficeScalarWhereInput[]
498
+ }
499
+
500
+ export type CentralOfficeUncheckedUpdateManyWithoutProjectNestedInput = {
501
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutProjectInput, Prisma.CentralOfficeUncheckedCreateWithoutProjectInput> | Prisma.CentralOfficeCreateWithoutProjectInput[] | Prisma.CentralOfficeUncheckedCreateWithoutProjectInput[]
502
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutProjectInput | Prisma.CentralOfficeCreateOrConnectWithoutProjectInput[]
503
+ upsert?: Prisma.CentralOfficeUpsertWithWhereUniqueWithoutProjectInput | Prisma.CentralOfficeUpsertWithWhereUniqueWithoutProjectInput[]
504
+ createMany?: Prisma.CentralOfficeCreateManyProjectInputEnvelope
505
+ set?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
506
+ disconnect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
507
+ delete?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
508
+ connect?: Prisma.CentralOfficeWhereUniqueInput | Prisma.CentralOfficeWhereUniqueInput[]
509
+ update?: Prisma.CentralOfficeUpdateWithWhereUniqueWithoutProjectInput | Prisma.CentralOfficeUpdateWithWhereUniqueWithoutProjectInput[]
510
+ updateMany?: Prisma.CentralOfficeUpdateManyWithWhereWithoutProjectInput | Prisma.CentralOfficeUpdateManyWithWhereWithoutProjectInput[]
511
+ deleteMany?: Prisma.CentralOfficeScalarWhereInput | Prisma.CentralOfficeScalarWhereInput[]
512
+ }
513
+
514
+ export type CentralOfficeCreateNestedOneWithoutClusterInput = {
515
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutClusterInput, Prisma.CentralOfficeUncheckedCreateWithoutClusterInput>
516
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutClusterInput
517
+ connect?: Prisma.CentralOfficeWhereUniqueInput
518
+ }
519
+
520
+ export type CentralOfficeUpdateOneWithoutClusterNestedInput = {
521
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutClusterInput, Prisma.CentralOfficeUncheckedCreateWithoutClusterInput>
522
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutClusterInput
523
+ upsert?: Prisma.CentralOfficeUpsertWithoutClusterInput
524
+ disconnect?: Prisma.CentralOfficeWhereInput | boolean
525
+ delete?: Prisma.CentralOfficeWhereInput | boolean
526
+ connect?: Prisma.CentralOfficeWhereUniqueInput
527
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CentralOfficeUpdateToOneWithWhereWithoutClusterInput, Prisma.CentralOfficeUpdateWithoutClusterInput>, Prisma.CentralOfficeUncheckedUpdateWithoutClusterInput>
528
+ }
529
+
530
+ export type CentralOfficeCreateNestedOneWithoutCentralOfficeTeamInput = {
531
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutCentralOfficeTeamInput, Prisma.CentralOfficeUncheckedCreateWithoutCentralOfficeTeamInput>
532
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutCentralOfficeTeamInput
533
+ connect?: Prisma.CentralOfficeWhereUniqueInput
534
+ }
535
+
536
+ export type CentralOfficeUpdateOneWithoutCentralOfficeTeamNestedInput = {
537
+ create?: Prisma.XOR<Prisma.CentralOfficeCreateWithoutCentralOfficeTeamInput, Prisma.CentralOfficeUncheckedCreateWithoutCentralOfficeTeamInput>
538
+ connectOrCreate?: Prisma.CentralOfficeCreateOrConnectWithoutCentralOfficeTeamInput
539
+ upsert?: Prisma.CentralOfficeUpsertWithoutCentralOfficeTeamInput
540
+ disconnect?: Prisma.CentralOfficeWhereInput | boolean
541
+ delete?: Prisma.CentralOfficeWhereInput | boolean
542
+ connect?: Prisma.CentralOfficeWhereUniqueInput
543
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CentralOfficeUpdateToOneWithWhereWithoutCentralOfficeTeamInput, Prisma.CentralOfficeUpdateWithoutCentralOfficeTeamInput>, Prisma.CentralOfficeUncheckedUpdateWithoutCentralOfficeTeamInput>
544
+ }
545
+
546
+ export type CentralOfficeCreateWithoutUsersInput = {
547
+ id?: string
548
+ no?: number
549
+ name: string
550
+ createdAt?: Date | string
551
+ updatedAt?: Date | string
552
+ deletedAt?: Date | string | null
553
+ project?: Prisma.ProjectCreateNestedOneWithoutCentralOfficeInput
554
+ Cluster?: Prisma.ClusterCreateNestedManyWithoutCentralOfficeInput
555
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamCreateNestedManyWithoutCentralOfficeInput
556
+ }
557
+
558
+ export type CentralOfficeUncheckedCreateWithoutUsersInput = {
559
+ id?: string
560
+ no?: number
561
+ name: string
562
+ createdAt?: Date | string
563
+ updatedAt?: Date | string
564
+ deletedAt?: Date | string | null
565
+ projectId?: string | null
566
+ Cluster?: Prisma.ClusterUncheckedCreateNestedManyWithoutCentralOfficeInput
567
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUncheckedCreateNestedManyWithoutCentralOfficeInput
568
+ }
569
+
570
+ export type CentralOfficeCreateOrConnectWithoutUsersInput = {
571
+ where: Prisma.CentralOfficeWhereUniqueInput
572
+ create: Prisma.XOR<Prisma.CentralOfficeCreateWithoutUsersInput, Prisma.CentralOfficeUncheckedCreateWithoutUsersInput>
573
+ }
574
+
575
+ export type CentralOfficeUpsertWithWhereUniqueWithoutUsersInput = {
576
+ where: Prisma.CentralOfficeWhereUniqueInput
577
+ update: Prisma.XOR<Prisma.CentralOfficeUpdateWithoutUsersInput, Prisma.CentralOfficeUncheckedUpdateWithoutUsersInput>
578
+ create: Prisma.XOR<Prisma.CentralOfficeCreateWithoutUsersInput, Prisma.CentralOfficeUncheckedCreateWithoutUsersInput>
579
+ }
580
+
581
+ export type CentralOfficeUpdateWithWhereUniqueWithoutUsersInput = {
582
+ where: Prisma.CentralOfficeWhereUniqueInput
583
+ data: Prisma.XOR<Prisma.CentralOfficeUpdateWithoutUsersInput, Prisma.CentralOfficeUncheckedUpdateWithoutUsersInput>
584
+ }
585
+
586
+ export type CentralOfficeUpdateManyWithWhereWithoutUsersInput = {
587
+ where: Prisma.CentralOfficeScalarWhereInput
588
+ data: Prisma.XOR<Prisma.CentralOfficeUpdateManyMutationInput, Prisma.CentralOfficeUncheckedUpdateManyWithoutUsersInput>
589
+ }
590
+
591
+ export type CentralOfficeScalarWhereInput = {
592
+ AND?: Prisma.CentralOfficeScalarWhereInput | Prisma.CentralOfficeScalarWhereInput[]
593
+ OR?: Prisma.CentralOfficeScalarWhereInput[]
594
+ NOT?: Prisma.CentralOfficeScalarWhereInput | Prisma.CentralOfficeScalarWhereInput[]
595
+ id?: Prisma.StringFilter<"CentralOffice"> | string
596
+ no?: Prisma.IntFilter<"CentralOffice"> | number
597
+ name?: Prisma.StringFilter<"CentralOffice"> | string
598
+ createdAt?: Prisma.DateTimeFilter<"CentralOffice"> | Date | string
599
+ updatedAt?: Prisma.DateTimeFilter<"CentralOffice"> | Date | string
600
+ deletedAt?: Prisma.DateTimeNullableFilter<"CentralOffice"> | Date | string | null
601
+ projectId?: Prisma.StringNullableFilter<"CentralOffice"> | string | null
602
+ }
603
+
604
+ export type CentralOfficeCreateWithoutProjectInput = {
605
+ id?: string
606
+ no?: number
607
+ name: string
608
+ createdAt?: Date | string
609
+ updatedAt?: Date | string
610
+ deletedAt?: Date | string | null
611
+ users?: Prisma.UserCreateNestedManyWithoutCentralOfficesInput
612
+ Cluster?: Prisma.ClusterCreateNestedManyWithoutCentralOfficeInput
613
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamCreateNestedManyWithoutCentralOfficeInput
614
+ }
615
+
616
+ export type CentralOfficeUncheckedCreateWithoutProjectInput = {
617
+ id?: string
618
+ no?: number
619
+ name: string
620
+ createdAt?: Date | string
621
+ updatedAt?: Date | string
622
+ deletedAt?: Date | string | null
623
+ users?: Prisma.UserUncheckedCreateNestedManyWithoutCentralOfficesInput
624
+ Cluster?: Prisma.ClusterUncheckedCreateNestedManyWithoutCentralOfficeInput
625
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUncheckedCreateNestedManyWithoutCentralOfficeInput
626
+ }
627
+
628
+ export type CentralOfficeCreateOrConnectWithoutProjectInput = {
629
+ where: Prisma.CentralOfficeWhereUniqueInput
630
+ create: Prisma.XOR<Prisma.CentralOfficeCreateWithoutProjectInput, Prisma.CentralOfficeUncheckedCreateWithoutProjectInput>
631
+ }
632
+
633
+ export type CentralOfficeCreateManyProjectInputEnvelope = {
634
+ data: Prisma.CentralOfficeCreateManyProjectInput | Prisma.CentralOfficeCreateManyProjectInput[]
635
+ skipDuplicates?: boolean
636
+ }
637
+
638
+ export type CentralOfficeUpsertWithWhereUniqueWithoutProjectInput = {
639
+ where: Prisma.CentralOfficeWhereUniqueInput
640
+ update: Prisma.XOR<Prisma.CentralOfficeUpdateWithoutProjectInput, Prisma.CentralOfficeUncheckedUpdateWithoutProjectInput>
641
+ create: Prisma.XOR<Prisma.CentralOfficeCreateWithoutProjectInput, Prisma.CentralOfficeUncheckedCreateWithoutProjectInput>
642
+ }
643
+
644
+ export type CentralOfficeUpdateWithWhereUniqueWithoutProjectInput = {
645
+ where: Prisma.CentralOfficeWhereUniqueInput
646
+ data: Prisma.XOR<Prisma.CentralOfficeUpdateWithoutProjectInput, Prisma.CentralOfficeUncheckedUpdateWithoutProjectInput>
647
+ }
648
+
649
+ export type CentralOfficeUpdateManyWithWhereWithoutProjectInput = {
650
+ where: Prisma.CentralOfficeScalarWhereInput
651
+ data: Prisma.XOR<Prisma.CentralOfficeUpdateManyMutationInput, Prisma.CentralOfficeUncheckedUpdateManyWithoutProjectInput>
652
+ }
653
+
654
+ export type CentralOfficeCreateWithoutClusterInput = {
655
+ id?: string
656
+ no?: number
657
+ name: string
658
+ createdAt?: Date | string
659
+ updatedAt?: Date | string
660
+ deletedAt?: Date | string | null
661
+ project?: Prisma.ProjectCreateNestedOneWithoutCentralOfficeInput
662
+ users?: Prisma.UserCreateNestedManyWithoutCentralOfficesInput
663
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamCreateNestedManyWithoutCentralOfficeInput
664
+ }
665
+
666
+ export type CentralOfficeUncheckedCreateWithoutClusterInput = {
667
+ id?: string
668
+ no?: number
669
+ name: string
670
+ createdAt?: Date | string
671
+ updatedAt?: Date | string
672
+ deletedAt?: Date | string | null
673
+ projectId?: string | null
674
+ users?: Prisma.UserUncheckedCreateNestedManyWithoutCentralOfficesInput
675
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUncheckedCreateNestedManyWithoutCentralOfficeInput
676
+ }
677
+
678
+ export type CentralOfficeCreateOrConnectWithoutClusterInput = {
679
+ where: Prisma.CentralOfficeWhereUniqueInput
680
+ create: Prisma.XOR<Prisma.CentralOfficeCreateWithoutClusterInput, Prisma.CentralOfficeUncheckedCreateWithoutClusterInput>
681
+ }
682
+
683
+ export type CentralOfficeUpsertWithoutClusterInput = {
684
+ update: Prisma.XOR<Prisma.CentralOfficeUpdateWithoutClusterInput, Prisma.CentralOfficeUncheckedUpdateWithoutClusterInput>
685
+ create: Prisma.XOR<Prisma.CentralOfficeCreateWithoutClusterInput, Prisma.CentralOfficeUncheckedCreateWithoutClusterInput>
686
+ where?: Prisma.CentralOfficeWhereInput
687
+ }
688
+
689
+ export type CentralOfficeUpdateToOneWithWhereWithoutClusterInput = {
690
+ where?: Prisma.CentralOfficeWhereInput
691
+ data: Prisma.XOR<Prisma.CentralOfficeUpdateWithoutClusterInput, Prisma.CentralOfficeUncheckedUpdateWithoutClusterInput>
692
+ }
693
+
694
+ export type CentralOfficeUpdateWithoutClusterInput = {
695
+ id?: Prisma.StringFieldUpdateOperationsInput | string
696
+ no?: Prisma.IntFieldUpdateOperationsInput | number
697
+ name?: Prisma.StringFieldUpdateOperationsInput | string
698
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
699
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
700
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
701
+ project?: Prisma.ProjectUpdateOneWithoutCentralOfficeNestedInput
702
+ users?: Prisma.UserUpdateManyWithoutCentralOfficesNestedInput
703
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUpdateManyWithoutCentralOfficeNestedInput
704
+ }
705
+
706
+ export type CentralOfficeUncheckedUpdateWithoutClusterInput = {
707
+ id?: Prisma.StringFieldUpdateOperationsInput | string
708
+ no?: Prisma.IntFieldUpdateOperationsInput | number
709
+ name?: Prisma.StringFieldUpdateOperationsInput | string
710
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
711
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
712
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
713
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
714
+ users?: Prisma.UserUncheckedUpdateManyWithoutCentralOfficesNestedInput
715
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUncheckedUpdateManyWithoutCentralOfficeNestedInput
716
+ }
717
+
718
+ export type CentralOfficeCreateWithoutCentralOfficeTeamInput = {
719
+ id?: string
720
+ no?: number
721
+ name: string
722
+ createdAt?: Date | string
723
+ updatedAt?: Date | string
724
+ deletedAt?: Date | string | null
725
+ project?: Prisma.ProjectCreateNestedOneWithoutCentralOfficeInput
726
+ users?: Prisma.UserCreateNestedManyWithoutCentralOfficesInput
727
+ Cluster?: Prisma.ClusterCreateNestedManyWithoutCentralOfficeInput
728
+ }
729
+
730
+ export type CentralOfficeUncheckedCreateWithoutCentralOfficeTeamInput = {
731
+ id?: string
732
+ no?: number
733
+ name: string
734
+ createdAt?: Date | string
735
+ updatedAt?: Date | string
736
+ deletedAt?: Date | string | null
737
+ projectId?: string | null
738
+ users?: Prisma.UserUncheckedCreateNestedManyWithoutCentralOfficesInput
739
+ Cluster?: Prisma.ClusterUncheckedCreateNestedManyWithoutCentralOfficeInput
740
+ }
741
+
742
+ export type CentralOfficeCreateOrConnectWithoutCentralOfficeTeamInput = {
743
+ where: Prisma.CentralOfficeWhereUniqueInput
744
+ create: Prisma.XOR<Prisma.CentralOfficeCreateWithoutCentralOfficeTeamInput, Prisma.CentralOfficeUncheckedCreateWithoutCentralOfficeTeamInput>
745
+ }
746
+
747
+ export type CentralOfficeUpsertWithoutCentralOfficeTeamInput = {
748
+ update: Prisma.XOR<Prisma.CentralOfficeUpdateWithoutCentralOfficeTeamInput, Prisma.CentralOfficeUncheckedUpdateWithoutCentralOfficeTeamInput>
749
+ create: Prisma.XOR<Prisma.CentralOfficeCreateWithoutCentralOfficeTeamInput, Prisma.CentralOfficeUncheckedCreateWithoutCentralOfficeTeamInput>
750
+ where?: Prisma.CentralOfficeWhereInput
751
+ }
752
+
753
+ export type CentralOfficeUpdateToOneWithWhereWithoutCentralOfficeTeamInput = {
754
+ where?: Prisma.CentralOfficeWhereInput
755
+ data: Prisma.XOR<Prisma.CentralOfficeUpdateWithoutCentralOfficeTeamInput, Prisma.CentralOfficeUncheckedUpdateWithoutCentralOfficeTeamInput>
756
+ }
757
+
758
+ export type CentralOfficeUpdateWithoutCentralOfficeTeamInput = {
759
+ id?: Prisma.StringFieldUpdateOperationsInput | string
760
+ no?: Prisma.IntFieldUpdateOperationsInput | number
761
+ name?: Prisma.StringFieldUpdateOperationsInput | string
762
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
763
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
764
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
765
+ project?: Prisma.ProjectUpdateOneWithoutCentralOfficeNestedInput
766
+ users?: Prisma.UserUpdateManyWithoutCentralOfficesNestedInput
767
+ Cluster?: Prisma.ClusterUpdateManyWithoutCentralOfficeNestedInput
768
+ }
769
+
770
+ export type CentralOfficeUncheckedUpdateWithoutCentralOfficeTeamInput = {
771
+ id?: Prisma.StringFieldUpdateOperationsInput | string
772
+ no?: Prisma.IntFieldUpdateOperationsInput | number
773
+ name?: Prisma.StringFieldUpdateOperationsInput | string
774
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
775
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
776
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
777
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
778
+ users?: Prisma.UserUncheckedUpdateManyWithoutCentralOfficesNestedInput
779
+ Cluster?: Prisma.ClusterUncheckedUpdateManyWithoutCentralOfficeNestedInput
780
+ }
781
+
782
+ export type CentralOfficeUpdateWithoutUsersInput = {
783
+ id?: Prisma.StringFieldUpdateOperationsInput | string
784
+ no?: Prisma.IntFieldUpdateOperationsInput | number
785
+ name?: Prisma.StringFieldUpdateOperationsInput | string
786
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
787
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
788
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
789
+ project?: Prisma.ProjectUpdateOneWithoutCentralOfficeNestedInput
790
+ Cluster?: Prisma.ClusterUpdateManyWithoutCentralOfficeNestedInput
791
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUpdateManyWithoutCentralOfficeNestedInput
792
+ }
793
+
794
+ export type CentralOfficeUncheckedUpdateWithoutUsersInput = {
795
+ id?: Prisma.StringFieldUpdateOperationsInput | string
796
+ no?: Prisma.IntFieldUpdateOperationsInput | number
797
+ name?: Prisma.StringFieldUpdateOperationsInput | string
798
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
799
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
800
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
801
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
802
+ Cluster?: Prisma.ClusterUncheckedUpdateManyWithoutCentralOfficeNestedInput
803
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUncheckedUpdateManyWithoutCentralOfficeNestedInput
804
+ }
805
+
806
+ export type CentralOfficeUncheckedUpdateManyWithoutUsersInput = {
807
+ id?: Prisma.StringFieldUpdateOperationsInput | string
808
+ no?: Prisma.IntFieldUpdateOperationsInput | number
809
+ name?: Prisma.StringFieldUpdateOperationsInput | string
810
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
811
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
812
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
813
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
814
+ }
815
+
816
+ export type CentralOfficeCreateManyProjectInput = {
817
+ id?: string
818
+ no?: number
819
+ name: string
820
+ createdAt?: Date | string
821
+ updatedAt?: Date | string
822
+ deletedAt?: Date | string | null
823
+ }
824
+
825
+ export type CentralOfficeUpdateWithoutProjectInput = {
826
+ id?: Prisma.StringFieldUpdateOperationsInput | string
827
+ no?: Prisma.IntFieldUpdateOperationsInput | number
828
+ name?: Prisma.StringFieldUpdateOperationsInput | string
829
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
830
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
831
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
832
+ users?: Prisma.UserUpdateManyWithoutCentralOfficesNestedInput
833
+ Cluster?: Prisma.ClusterUpdateManyWithoutCentralOfficeNestedInput
834
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUpdateManyWithoutCentralOfficeNestedInput
835
+ }
836
+
837
+ export type CentralOfficeUncheckedUpdateWithoutProjectInput = {
838
+ id?: Prisma.StringFieldUpdateOperationsInput | string
839
+ no?: Prisma.IntFieldUpdateOperationsInput | number
840
+ name?: Prisma.StringFieldUpdateOperationsInput | string
841
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
842
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
843
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
844
+ users?: Prisma.UserUncheckedUpdateManyWithoutCentralOfficesNestedInput
845
+ Cluster?: Prisma.ClusterUncheckedUpdateManyWithoutCentralOfficeNestedInput
846
+ CentralOfficeTeam?: Prisma.CentralOfficeTeamUncheckedUpdateManyWithoutCentralOfficeNestedInput
847
+ }
848
+
849
+ export type CentralOfficeUncheckedUpdateManyWithoutProjectInput = {
850
+ id?: Prisma.StringFieldUpdateOperationsInput | string
851
+ no?: Prisma.IntFieldUpdateOperationsInput | number
852
+ name?: Prisma.StringFieldUpdateOperationsInput | string
853
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
854
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
855
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
856
+ }
857
+
858
+
859
+ /**
860
+ * Count Type CentralOfficeCountOutputType
861
+ */
862
+
863
+ export type CentralOfficeCountOutputType = {
864
+ users: number
865
+ Cluster: number
866
+ CentralOfficeTeam: number
867
+ }
868
+
869
+ export type CentralOfficeCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
870
+ users?: boolean | CentralOfficeCountOutputTypeCountUsersArgs
871
+ Cluster?: boolean | CentralOfficeCountOutputTypeCountClusterArgs
872
+ CentralOfficeTeam?: boolean | CentralOfficeCountOutputTypeCountCentralOfficeTeamArgs
873
+ }
874
+
875
+ /**
876
+ * CentralOfficeCountOutputType without action
877
+ */
878
+ export type CentralOfficeCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
879
+ /**
880
+ * Select specific fields to fetch from the CentralOfficeCountOutputType
881
+ */
882
+ select?: Prisma.CentralOfficeCountOutputTypeSelect<ExtArgs> | null
883
+ }
884
+
885
+ /**
886
+ * CentralOfficeCountOutputType without action
887
+ */
888
+ export type CentralOfficeCountOutputTypeCountUsersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
889
+ where?: Prisma.UserWhereInput
890
+ }
891
+
892
+ /**
893
+ * CentralOfficeCountOutputType without action
894
+ */
895
+ export type CentralOfficeCountOutputTypeCountClusterArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
896
+ where?: Prisma.ClusterWhereInput
897
+ }
898
+
899
+ /**
900
+ * CentralOfficeCountOutputType without action
901
+ */
902
+ export type CentralOfficeCountOutputTypeCountCentralOfficeTeamArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
903
+ where?: Prisma.CentralOfficeTeamWhereInput
904
+ }
905
+
906
+
907
+ export type CentralOfficeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
908
+ id?: boolean
909
+ no?: boolean
910
+ name?: boolean
911
+ createdAt?: boolean
912
+ updatedAt?: boolean
913
+ deletedAt?: boolean
914
+ projectId?: boolean
915
+ project?: boolean | Prisma.CentralOffice$projectArgs<ExtArgs>
916
+ users?: boolean | Prisma.CentralOffice$usersArgs<ExtArgs>
917
+ Cluster?: boolean | Prisma.CentralOffice$ClusterArgs<ExtArgs>
918
+ CentralOfficeTeam?: boolean | Prisma.CentralOffice$CentralOfficeTeamArgs<ExtArgs>
919
+ _count?: boolean | Prisma.CentralOfficeCountOutputTypeDefaultArgs<ExtArgs>
920
+ }, ExtArgs["result"]["centralOffice"]>
921
+
922
+ export type CentralOfficeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
923
+ id?: boolean
924
+ no?: boolean
925
+ name?: boolean
926
+ createdAt?: boolean
927
+ updatedAt?: boolean
928
+ deletedAt?: boolean
929
+ projectId?: boolean
930
+ project?: boolean | Prisma.CentralOffice$projectArgs<ExtArgs>
931
+ }, ExtArgs["result"]["centralOffice"]>
932
+
933
+ export type CentralOfficeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
934
+ id?: boolean
935
+ no?: boolean
936
+ name?: boolean
937
+ createdAt?: boolean
938
+ updatedAt?: boolean
939
+ deletedAt?: boolean
940
+ projectId?: boolean
941
+ project?: boolean | Prisma.CentralOffice$projectArgs<ExtArgs>
942
+ }, ExtArgs["result"]["centralOffice"]>
943
+
944
+ export type CentralOfficeSelectScalar = {
945
+ id?: boolean
946
+ no?: boolean
947
+ name?: boolean
948
+ createdAt?: boolean
949
+ updatedAt?: boolean
950
+ deletedAt?: boolean
951
+ projectId?: boolean
952
+ }
953
+
954
+ export type CentralOfficeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "name" | "createdAt" | "updatedAt" | "deletedAt" | "projectId", ExtArgs["result"]["centralOffice"]>
955
+ export type CentralOfficeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
956
+ project?: boolean | Prisma.CentralOffice$projectArgs<ExtArgs>
957
+ users?: boolean | Prisma.CentralOffice$usersArgs<ExtArgs>
958
+ Cluster?: boolean | Prisma.CentralOffice$ClusterArgs<ExtArgs>
959
+ CentralOfficeTeam?: boolean | Prisma.CentralOffice$CentralOfficeTeamArgs<ExtArgs>
960
+ _count?: boolean | Prisma.CentralOfficeCountOutputTypeDefaultArgs<ExtArgs>
961
+ }
962
+ export type CentralOfficeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
963
+ project?: boolean | Prisma.CentralOffice$projectArgs<ExtArgs>
964
+ }
965
+ export type CentralOfficeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
966
+ project?: boolean | Prisma.CentralOffice$projectArgs<ExtArgs>
967
+ }
968
+
969
+ export type $CentralOfficePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
970
+ name: "CentralOffice"
971
+ objects: {
972
+ project: Prisma.$ProjectPayload<ExtArgs> | null
973
+ users: Prisma.$UserPayload<ExtArgs>[]
974
+ Cluster: Prisma.$ClusterPayload<ExtArgs>[]
975
+ CentralOfficeTeam: Prisma.$CentralOfficeTeamPayload<ExtArgs>[]
976
+ }
977
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
978
+ id: string
979
+ no: number
980
+ name: string
981
+ createdAt: Date
982
+ updatedAt: Date
983
+ deletedAt: Date | null
984
+ projectId: string | null
985
+ }, ExtArgs["result"]["centralOffice"]>
986
+ composites: {}
987
+ }
988
+
989
+ export type CentralOfficeGetPayload<S extends boolean | null | undefined | CentralOfficeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload, S>
990
+
991
+ export type CentralOfficeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
992
+ Omit<CentralOfficeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
993
+ select?: CentralOfficeCountAggregateInputType | true
994
+ }
995
+
996
+ export interface CentralOfficeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
997
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CentralOffice'], meta: { name: 'CentralOffice' } }
998
+ /**
999
+ * Find zero or one CentralOffice that matches the filter.
1000
+ * @param {CentralOfficeFindUniqueArgs} args - Arguments to find a CentralOffice
1001
+ * @example
1002
+ * // Get one CentralOffice
1003
+ * const centralOffice = await prisma.centralOffice.findUnique({
1004
+ * where: {
1005
+ * // ... provide filter here
1006
+ * }
1007
+ * })
1008
+ */
1009
+ findUnique<T extends CentralOfficeFindUniqueArgs>(args: Prisma.SelectSubset<T, CentralOfficeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1010
+
1011
+ /**
1012
+ * Find one CentralOffice that matches the filter or throw an error with `error.code='P2025'`
1013
+ * if no matches were found.
1014
+ * @param {CentralOfficeFindUniqueOrThrowArgs} args - Arguments to find a CentralOffice
1015
+ * @example
1016
+ * // Get one CentralOffice
1017
+ * const centralOffice = await prisma.centralOffice.findUniqueOrThrow({
1018
+ * where: {
1019
+ * // ... provide filter here
1020
+ * }
1021
+ * })
1022
+ */
1023
+ findUniqueOrThrow<T extends CentralOfficeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CentralOfficeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1024
+
1025
+ /**
1026
+ * Find the first CentralOffice that matches the filter.
1027
+ * Note, that providing `undefined` is treated as the value not being there.
1028
+ * Read more here: https://pris.ly/d/null-undefined
1029
+ * @param {CentralOfficeFindFirstArgs} args - Arguments to find a CentralOffice
1030
+ * @example
1031
+ * // Get one CentralOffice
1032
+ * const centralOffice = await prisma.centralOffice.findFirst({
1033
+ * where: {
1034
+ * // ... provide filter here
1035
+ * }
1036
+ * })
1037
+ */
1038
+ findFirst<T extends CentralOfficeFindFirstArgs>(args?: Prisma.SelectSubset<T, CentralOfficeFindFirstArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1039
+
1040
+ /**
1041
+ * Find the first CentralOffice that matches the filter or
1042
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1043
+ * Note, that providing `undefined` is treated as the value not being there.
1044
+ * Read more here: https://pris.ly/d/null-undefined
1045
+ * @param {CentralOfficeFindFirstOrThrowArgs} args - Arguments to find a CentralOffice
1046
+ * @example
1047
+ * // Get one CentralOffice
1048
+ * const centralOffice = await prisma.centralOffice.findFirstOrThrow({
1049
+ * where: {
1050
+ * // ... provide filter here
1051
+ * }
1052
+ * })
1053
+ */
1054
+ findFirstOrThrow<T extends CentralOfficeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CentralOfficeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1055
+
1056
+ /**
1057
+ * Find zero or more CentralOffices that matches the filter.
1058
+ * Note, that providing `undefined` is treated as the value not being there.
1059
+ * Read more here: https://pris.ly/d/null-undefined
1060
+ * @param {CentralOfficeFindManyArgs} args - Arguments to filter and select certain fields only.
1061
+ * @example
1062
+ * // Get all CentralOffices
1063
+ * const centralOffices = await prisma.centralOffice.findMany()
1064
+ *
1065
+ * // Get first 10 CentralOffices
1066
+ * const centralOffices = await prisma.centralOffice.findMany({ take: 10 })
1067
+ *
1068
+ * // Only select the `id`
1069
+ * const centralOfficeWithIdOnly = await prisma.centralOffice.findMany({ select: { id: true } })
1070
+ *
1071
+ */
1072
+ findMany<T extends CentralOfficeFindManyArgs>(args?: Prisma.SelectSubset<T, CentralOfficeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1073
+
1074
+ /**
1075
+ * Create a CentralOffice.
1076
+ * @param {CentralOfficeCreateArgs} args - Arguments to create a CentralOffice.
1077
+ * @example
1078
+ * // Create one CentralOffice
1079
+ * const CentralOffice = await prisma.centralOffice.create({
1080
+ * data: {
1081
+ * // ... data to create a CentralOffice
1082
+ * }
1083
+ * })
1084
+ *
1085
+ */
1086
+ create<T extends CentralOfficeCreateArgs>(args: Prisma.SelectSubset<T, CentralOfficeCreateArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1087
+
1088
+ /**
1089
+ * Create many CentralOffices.
1090
+ * @param {CentralOfficeCreateManyArgs} args - Arguments to create many CentralOffices.
1091
+ * @example
1092
+ * // Create many CentralOffices
1093
+ * const centralOffice = await prisma.centralOffice.createMany({
1094
+ * data: [
1095
+ * // ... provide data here
1096
+ * ]
1097
+ * })
1098
+ *
1099
+ */
1100
+ createMany<T extends CentralOfficeCreateManyArgs>(args?: Prisma.SelectSubset<T, CentralOfficeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1101
+
1102
+ /**
1103
+ * Create many CentralOffices and returns the data saved in the database.
1104
+ * @param {CentralOfficeCreateManyAndReturnArgs} args - Arguments to create many CentralOffices.
1105
+ * @example
1106
+ * // Create many CentralOffices
1107
+ * const centralOffice = await prisma.centralOffice.createManyAndReturn({
1108
+ * data: [
1109
+ * // ... provide data here
1110
+ * ]
1111
+ * })
1112
+ *
1113
+ * // Create many CentralOffices and only return the `id`
1114
+ * const centralOfficeWithIdOnly = await prisma.centralOffice.createManyAndReturn({
1115
+ * select: { id: true },
1116
+ * data: [
1117
+ * // ... provide data here
1118
+ * ]
1119
+ * })
1120
+ * Note, that providing `undefined` is treated as the value not being there.
1121
+ * Read more here: https://pris.ly/d/null-undefined
1122
+ *
1123
+ */
1124
+ createManyAndReturn<T extends CentralOfficeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CentralOfficeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1125
+
1126
+ /**
1127
+ * Delete a CentralOffice.
1128
+ * @param {CentralOfficeDeleteArgs} args - Arguments to delete one CentralOffice.
1129
+ * @example
1130
+ * // Delete one CentralOffice
1131
+ * const CentralOffice = await prisma.centralOffice.delete({
1132
+ * where: {
1133
+ * // ... filter to delete one CentralOffice
1134
+ * }
1135
+ * })
1136
+ *
1137
+ */
1138
+ delete<T extends CentralOfficeDeleteArgs>(args: Prisma.SelectSubset<T, CentralOfficeDeleteArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1139
+
1140
+ /**
1141
+ * Update one CentralOffice.
1142
+ * @param {CentralOfficeUpdateArgs} args - Arguments to update one CentralOffice.
1143
+ * @example
1144
+ * // Update one CentralOffice
1145
+ * const centralOffice = await prisma.centralOffice.update({
1146
+ * where: {
1147
+ * // ... provide filter here
1148
+ * },
1149
+ * data: {
1150
+ * // ... provide data here
1151
+ * }
1152
+ * })
1153
+ *
1154
+ */
1155
+ update<T extends CentralOfficeUpdateArgs>(args: Prisma.SelectSubset<T, CentralOfficeUpdateArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1156
+
1157
+ /**
1158
+ * Delete zero or more CentralOffices.
1159
+ * @param {CentralOfficeDeleteManyArgs} args - Arguments to filter CentralOffices to delete.
1160
+ * @example
1161
+ * // Delete a few CentralOffices
1162
+ * const { count } = await prisma.centralOffice.deleteMany({
1163
+ * where: {
1164
+ * // ... provide filter here
1165
+ * }
1166
+ * })
1167
+ *
1168
+ */
1169
+ deleteMany<T extends CentralOfficeDeleteManyArgs>(args?: Prisma.SelectSubset<T, CentralOfficeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1170
+
1171
+ /**
1172
+ * Update zero or more CentralOffices.
1173
+ * Note, that providing `undefined` is treated as the value not being there.
1174
+ * Read more here: https://pris.ly/d/null-undefined
1175
+ * @param {CentralOfficeUpdateManyArgs} args - Arguments to update one or more rows.
1176
+ * @example
1177
+ * // Update many CentralOffices
1178
+ * const centralOffice = await prisma.centralOffice.updateMany({
1179
+ * where: {
1180
+ * // ... provide filter here
1181
+ * },
1182
+ * data: {
1183
+ * // ... provide data here
1184
+ * }
1185
+ * })
1186
+ *
1187
+ */
1188
+ updateMany<T extends CentralOfficeUpdateManyArgs>(args: Prisma.SelectSubset<T, CentralOfficeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1189
+
1190
+ /**
1191
+ * Update zero or more CentralOffices and returns the data updated in the database.
1192
+ * @param {CentralOfficeUpdateManyAndReturnArgs} args - Arguments to update many CentralOffices.
1193
+ * @example
1194
+ * // Update many CentralOffices
1195
+ * const centralOffice = await prisma.centralOffice.updateManyAndReturn({
1196
+ * where: {
1197
+ * // ... provide filter here
1198
+ * },
1199
+ * data: [
1200
+ * // ... provide data here
1201
+ * ]
1202
+ * })
1203
+ *
1204
+ * // Update zero or more CentralOffices and only return the `id`
1205
+ * const centralOfficeWithIdOnly = await prisma.centralOffice.updateManyAndReturn({
1206
+ * select: { id: true },
1207
+ * where: {
1208
+ * // ... provide filter here
1209
+ * },
1210
+ * data: [
1211
+ * // ... provide data here
1212
+ * ]
1213
+ * })
1214
+ * Note, that providing `undefined` is treated as the value not being there.
1215
+ * Read more here: https://pris.ly/d/null-undefined
1216
+ *
1217
+ */
1218
+ updateManyAndReturn<T extends CentralOfficeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CentralOfficeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1219
+
1220
+ /**
1221
+ * Create or update one CentralOffice.
1222
+ * @param {CentralOfficeUpsertArgs} args - Arguments to update or create a CentralOffice.
1223
+ * @example
1224
+ * // Update or create a CentralOffice
1225
+ * const centralOffice = await prisma.centralOffice.upsert({
1226
+ * create: {
1227
+ * // ... data to create a CentralOffice
1228
+ * },
1229
+ * update: {
1230
+ * // ... in case it already exists, update
1231
+ * },
1232
+ * where: {
1233
+ * // ... the filter for the CentralOffice we want to update
1234
+ * }
1235
+ * })
1236
+ */
1237
+ upsert<T extends CentralOfficeUpsertArgs>(args: Prisma.SelectSubset<T, CentralOfficeUpsertArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1238
+
1239
+
1240
+ /**
1241
+ * Count the number of CentralOffices.
1242
+ * Note, that providing `undefined` is treated as the value not being there.
1243
+ * Read more here: https://pris.ly/d/null-undefined
1244
+ * @param {CentralOfficeCountArgs} args - Arguments to filter CentralOffices to count.
1245
+ * @example
1246
+ * // Count the number of CentralOffices
1247
+ * const count = await prisma.centralOffice.count({
1248
+ * where: {
1249
+ * // ... the filter for the CentralOffices we want to count
1250
+ * }
1251
+ * })
1252
+ **/
1253
+ count<T extends CentralOfficeCountArgs>(
1254
+ args?: Prisma.Subset<T, CentralOfficeCountArgs>,
1255
+ ): Prisma.PrismaPromise<
1256
+ T extends runtime.Types.Utils.Record<'select', any>
1257
+ ? T['select'] extends true
1258
+ ? number
1259
+ : Prisma.GetScalarType<T['select'], CentralOfficeCountAggregateOutputType>
1260
+ : number
1261
+ >
1262
+
1263
+ /**
1264
+ * Allows you to perform aggregations operations on a CentralOffice.
1265
+ * Note, that providing `undefined` is treated as the value not being there.
1266
+ * Read more here: https://pris.ly/d/null-undefined
1267
+ * @param {CentralOfficeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1268
+ * @example
1269
+ * // Ordered by age ascending
1270
+ * // Where email contains prisma.io
1271
+ * // Limited to the 10 users
1272
+ * const aggregations = await prisma.user.aggregate({
1273
+ * _avg: {
1274
+ * age: true,
1275
+ * },
1276
+ * where: {
1277
+ * email: {
1278
+ * contains: "prisma.io",
1279
+ * },
1280
+ * },
1281
+ * orderBy: {
1282
+ * age: "asc",
1283
+ * },
1284
+ * take: 10,
1285
+ * })
1286
+ **/
1287
+ aggregate<T extends CentralOfficeAggregateArgs>(args: Prisma.Subset<T, CentralOfficeAggregateArgs>): Prisma.PrismaPromise<GetCentralOfficeAggregateType<T>>
1288
+
1289
+ /**
1290
+ * Group by CentralOffice.
1291
+ * Note, that providing `undefined` is treated as the value not being there.
1292
+ * Read more here: https://pris.ly/d/null-undefined
1293
+ * @param {CentralOfficeGroupByArgs} args - Group by arguments.
1294
+ * @example
1295
+ * // Group by city, order by createdAt, get count
1296
+ * const result = await prisma.user.groupBy({
1297
+ * by: ['city', 'createdAt'],
1298
+ * orderBy: {
1299
+ * createdAt: true
1300
+ * },
1301
+ * _count: {
1302
+ * _all: true
1303
+ * },
1304
+ * })
1305
+ *
1306
+ **/
1307
+ groupBy<
1308
+ T extends CentralOfficeGroupByArgs,
1309
+ HasSelectOrTake extends Prisma.Or<
1310
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1311
+ Prisma.Extends<'take', Prisma.Keys<T>>
1312
+ >,
1313
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1314
+ ? { orderBy: CentralOfficeGroupByArgs['orderBy'] }
1315
+ : { orderBy?: CentralOfficeGroupByArgs['orderBy'] },
1316
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1317
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1318
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1319
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1320
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1321
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1322
+ InputErrors extends ByEmpty extends Prisma.True
1323
+ ? `Error: "by" must not be empty.`
1324
+ : HavingValid extends Prisma.False
1325
+ ? {
1326
+ [P in HavingFields]: P extends ByFields
1327
+ ? never
1328
+ : P extends string
1329
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1330
+ : [
1331
+ Error,
1332
+ 'Field ',
1333
+ P,
1334
+ ` in "having" needs to be provided in "by"`,
1335
+ ]
1336
+ }[HavingFields]
1337
+ : 'take' extends Prisma.Keys<T>
1338
+ ? 'orderBy' extends Prisma.Keys<T>
1339
+ ? ByValid extends Prisma.True
1340
+ ? {}
1341
+ : {
1342
+ [P in OrderFields]: P extends ByFields
1343
+ ? never
1344
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1345
+ }[OrderFields]
1346
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1347
+ : 'skip' extends Prisma.Keys<T>
1348
+ ? 'orderBy' extends Prisma.Keys<T>
1349
+ ? ByValid extends Prisma.True
1350
+ ? {}
1351
+ : {
1352
+ [P in OrderFields]: P extends ByFields
1353
+ ? never
1354
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1355
+ }[OrderFields]
1356
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1357
+ : ByValid extends Prisma.True
1358
+ ? {}
1359
+ : {
1360
+ [P in OrderFields]: P extends ByFields
1361
+ ? never
1362
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1363
+ }[OrderFields]
1364
+ >(args: Prisma.SubsetIntersection<T, CentralOfficeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCentralOfficeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1365
+ /**
1366
+ * Fields of the CentralOffice model
1367
+ */
1368
+ readonly fields: CentralOfficeFieldRefs;
1369
+ }
1370
+
1371
+ /**
1372
+ * The delegate class that acts as a "Promise-like" for CentralOffice.
1373
+ * Why is this prefixed with `Prisma__`?
1374
+ * Because we want to prevent naming conflicts as mentioned in
1375
+ * https://github.com/prisma/prisma-client-js/issues/707
1376
+ */
1377
+ export interface Prisma__CentralOfficeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1378
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1379
+ project<T extends Prisma.CentralOffice$projectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CentralOffice$projectArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1380
+ users<T extends Prisma.CentralOffice$usersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CentralOffice$usersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1381
+ Cluster<T extends Prisma.CentralOffice$ClusterArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CentralOffice$ClusterArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClusterPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1382
+ CentralOfficeTeam<T extends Prisma.CentralOffice$CentralOfficeTeamArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CentralOffice$CentralOfficeTeamArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1383
+ /**
1384
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1385
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1386
+ * @param onrejected The callback to execute when the Promise is rejected.
1387
+ * @returns A Promise for the completion of which ever callback is executed.
1388
+ */
1389
+ 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>
1390
+ /**
1391
+ * Attaches a callback for only the rejection of the Promise.
1392
+ * @param onrejected The callback to execute when the Promise is rejected.
1393
+ * @returns A Promise for the completion of the callback.
1394
+ */
1395
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1396
+ /**
1397
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1398
+ * resolved value cannot be modified from the callback.
1399
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1400
+ * @returns A Promise for the completion of the callback.
1401
+ */
1402
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1403
+ }
1404
+
1405
+
1406
+
1407
+
1408
+ /**
1409
+ * Fields of the CentralOffice model
1410
+ */
1411
+ export interface CentralOfficeFieldRefs {
1412
+ readonly id: Prisma.FieldRef<"CentralOffice", 'String'>
1413
+ readonly no: Prisma.FieldRef<"CentralOffice", 'Int'>
1414
+ readonly name: Prisma.FieldRef<"CentralOffice", 'String'>
1415
+ readonly createdAt: Prisma.FieldRef<"CentralOffice", 'DateTime'>
1416
+ readonly updatedAt: Prisma.FieldRef<"CentralOffice", 'DateTime'>
1417
+ readonly deletedAt: Prisma.FieldRef<"CentralOffice", 'DateTime'>
1418
+ readonly projectId: Prisma.FieldRef<"CentralOffice", 'String'>
1419
+ }
1420
+
1421
+
1422
+ // Custom InputTypes
1423
+ /**
1424
+ * CentralOffice findUnique
1425
+ */
1426
+ export type CentralOfficeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1427
+ /**
1428
+ * Select specific fields to fetch from the CentralOffice
1429
+ */
1430
+ select?: Prisma.CentralOfficeSelect<ExtArgs> | null
1431
+ /**
1432
+ * Omit specific fields from the CentralOffice
1433
+ */
1434
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1435
+ /**
1436
+ * Choose, which related nodes to fetch as well
1437
+ */
1438
+ include?: Prisma.CentralOfficeInclude<ExtArgs> | null
1439
+ /**
1440
+ * Filter, which CentralOffice to fetch.
1441
+ */
1442
+ where: Prisma.CentralOfficeWhereUniqueInput
1443
+ }
1444
+
1445
+ /**
1446
+ * CentralOffice findUniqueOrThrow
1447
+ */
1448
+ export type CentralOfficeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1449
+ /**
1450
+ * Select specific fields to fetch from the CentralOffice
1451
+ */
1452
+ select?: Prisma.CentralOfficeSelect<ExtArgs> | null
1453
+ /**
1454
+ * Omit specific fields from the CentralOffice
1455
+ */
1456
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1457
+ /**
1458
+ * Choose, which related nodes to fetch as well
1459
+ */
1460
+ include?: Prisma.CentralOfficeInclude<ExtArgs> | null
1461
+ /**
1462
+ * Filter, which CentralOffice to fetch.
1463
+ */
1464
+ where: Prisma.CentralOfficeWhereUniqueInput
1465
+ }
1466
+
1467
+ /**
1468
+ * CentralOffice findFirst
1469
+ */
1470
+ export type CentralOfficeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1471
+ /**
1472
+ * Select specific fields to fetch from the CentralOffice
1473
+ */
1474
+ select?: Prisma.CentralOfficeSelect<ExtArgs> | null
1475
+ /**
1476
+ * Omit specific fields from the CentralOffice
1477
+ */
1478
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1479
+ /**
1480
+ * Choose, which related nodes to fetch as well
1481
+ */
1482
+ include?: Prisma.CentralOfficeInclude<ExtArgs> | null
1483
+ /**
1484
+ * Filter, which CentralOffice to fetch.
1485
+ */
1486
+ where?: Prisma.CentralOfficeWhereInput
1487
+ /**
1488
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1489
+ *
1490
+ * Determine the order of CentralOffices to fetch.
1491
+ */
1492
+ orderBy?: Prisma.CentralOfficeOrderByWithRelationInput | Prisma.CentralOfficeOrderByWithRelationInput[]
1493
+ /**
1494
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1495
+ *
1496
+ * Sets the position for searching for CentralOffices.
1497
+ */
1498
+ cursor?: Prisma.CentralOfficeWhereUniqueInput
1499
+ /**
1500
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1501
+ *
1502
+ * Take `±n` CentralOffices from the position of the cursor.
1503
+ */
1504
+ take?: number
1505
+ /**
1506
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1507
+ *
1508
+ * Skip the first `n` CentralOffices.
1509
+ */
1510
+ skip?: number
1511
+ /**
1512
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1513
+ *
1514
+ * Filter by unique combinations of CentralOffices.
1515
+ */
1516
+ distinct?: Prisma.CentralOfficeScalarFieldEnum | Prisma.CentralOfficeScalarFieldEnum[]
1517
+ }
1518
+
1519
+ /**
1520
+ * CentralOffice findFirstOrThrow
1521
+ */
1522
+ export type CentralOfficeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1523
+ /**
1524
+ * Select specific fields to fetch from the CentralOffice
1525
+ */
1526
+ select?: Prisma.CentralOfficeSelect<ExtArgs> | null
1527
+ /**
1528
+ * Omit specific fields from the CentralOffice
1529
+ */
1530
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1531
+ /**
1532
+ * Choose, which related nodes to fetch as well
1533
+ */
1534
+ include?: Prisma.CentralOfficeInclude<ExtArgs> | null
1535
+ /**
1536
+ * Filter, which CentralOffice to fetch.
1537
+ */
1538
+ where?: Prisma.CentralOfficeWhereInput
1539
+ /**
1540
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1541
+ *
1542
+ * Determine the order of CentralOffices to fetch.
1543
+ */
1544
+ orderBy?: Prisma.CentralOfficeOrderByWithRelationInput | Prisma.CentralOfficeOrderByWithRelationInput[]
1545
+ /**
1546
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1547
+ *
1548
+ * Sets the position for searching for CentralOffices.
1549
+ */
1550
+ cursor?: Prisma.CentralOfficeWhereUniqueInput
1551
+ /**
1552
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1553
+ *
1554
+ * Take `±n` CentralOffices from the position of the cursor.
1555
+ */
1556
+ take?: number
1557
+ /**
1558
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1559
+ *
1560
+ * Skip the first `n` CentralOffices.
1561
+ */
1562
+ skip?: number
1563
+ /**
1564
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1565
+ *
1566
+ * Filter by unique combinations of CentralOffices.
1567
+ */
1568
+ distinct?: Prisma.CentralOfficeScalarFieldEnum | Prisma.CentralOfficeScalarFieldEnum[]
1569
+ }
1570
+
1571
+ /**
1572
+ * CentralOffice findMany
1573
+ */
1574
+ export type CentralOfficeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1575
+ /**
1576
+ * Select specific fields to fetch from the CentralOffice
1577
+ */
1578
+ select?: Prisma.CentralOfficeSelect<ExtArgs> | null
1579
+ /**
1580
+ * Omit specific fields from the CentralOffice
1581
+ */
1582
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1583
+ /**
1584
+ * Choose, which related nodes to fetch as well
1585
+ */
1586
+ include?: Prisma.CentralOfficeInclude<ExtArgs> | null
1587
+ /**
1588
+ * Filter, which CentralOffices to fetch.
1589
+ */
1590
+ where?: Prisma.CentralOfficeWhereInput
1591
+ /**
1592
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1593
+ *
1594
+ * Determine the order of CentralOffices to fetch.
1595
+ */
1596
+ orderBy?: Prisma.CentralOfficeOrderByWithRelationInput | Prisma.CentralOfficeOrderByWithRelationInput[]
1597
+ /**
1598
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1599
+ *
1600
+ * Sets the position for listing CentralOffices.
1601
+ */
1602
+ cursor?: Prisma.CentralOfficeWhereUniqueInput
1603
+ /**
1604
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1605
+ *
1606
+ * Take `±n` CentralOffices from the position of the cursor.
1607
+ */
1608
+ take?: number
1609
+ /**
1610
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1611
+ *
1612
+ * Skip the first `n` CentralOffices.
1613
+ */
1614
+ skip?: number
1615
+ distinct?: Prisma.CentralOfficeScalarFieldEnum | Prisma.CentralOfficeScalarFieldEnum[]
1616
+ }
1617
+
1618
+ /**
1619
+ * CentralOffice create
1620
+ */
1621
+ export type CentralOfficeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1622
+ /**
1623
+ * Select specific fields to fetch from the CentralOffice
1624
+ */
1625
+ select?: Prisma.CentralOfficeSelect<ExtArgs> | null
1626
+ /**
1627
+ * Omit specific fields from the CentralOffice
1628
+ */
1629
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1630
+ /**
1631
+ * Choose, which related nodes to fetch as well
1632
+ */
1633
+ include?: Prisma.CentralOfficeInclude<ExtArgs> | null
1634
+ /**
1635
+ * The data needed to create a CentralOffice.
1636
+ */
1637
+ data: Prisma.XOR<Prisma.CentralOfficeCreateInput, Prisma.CentralOfficeUncheckedCreateInput>
1638
+ }
1639
+
1640
+ /**
1641
+ * CentralOffice createMany
1642
+ */
1643
+ export type CentralOfficeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1644
+ /**
1645
+ * The data used to create many CentralOffices.
1646
+ */
1647
+ data: Prisma.CentralOfficeCreateManyInput | Prisma.CentralOfficeCreateManyInput[]
1648
+ skipDuplicates?: boolean
1649
+ }
1650
+
1651
+ /**
1652
+ * CentralOffice createManyAndReturn
1653
+ */
1654
+ export type CentralOfficeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1655
+ /**
1656
+ * Select specific fields to fetch from the CentralOffice
1657
+ */
1658
+ select?: Prisma.CentralOfficeSelectCreateManyAndReturn<ExtArgs> | null
1659
+ /**
1660
+ * Omit specific fields from the CentralOffice
1661
+ */
1662
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1663
+ /**
1664
+ * The data used to create many CentralOffices.
1665
+ */
1666
+ data: Prisma.CentralOfficeCreateManyInput | Prisma.CentralOfficeCreateManyInput[]
1667
+ skipDuplicates?: boolean
1668
+ /**
1669
+ * Choose, which related nodes to fetch as well
1670
+ */
1671
+ include?: Prisma.CentralOfficeIncludeCreateManyAndReturn<ExtArgs> | null
1672
+ }
1673
+
1674
+ /**
1675
+ * CentralOffice update
1676
+ */
1677
+ export type CentralOfficeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1678
+ /**
1679
+ * Select specific fields to fetch from the CentralOffice
1680
+ */
1681
+ select?: Prisma.CentralOfficeSelect<ExtArgs> | null
1682
+ /**
1683
+ * Omit specific fields from the CentralOffice
1684
+ */
1685
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1686
+ /**
1687
+ * Choose, which related nodes to fetch as well
1688
+ */
1689
+ include?: Prisma.CentralOfficeInclude<ExtArgs> | null
1690
+ /**
1691
+ * The data needed to update a CentralOffice.
1692
+ */
1693
+ data: Prisma.XOR<Prisma.CentralOfficeUpdateInput, Prisma.CentralOfficeUncheckedUpdateInput>
1694
+ /**
1695
+ * Choose, which CentralOffice to update.
1696
+ */
1697
+ where: Prisma.CentralOfficeWhereUniqueInput
1698
+ }
1699
+
1700
+ /**
1701
+ * CentralOffice updateMany
1702
+ */
1703
+ export type CentralOfficeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1704
+ /**
1705
+ * The data used to update CentralOffices.
1706
+ */
1707
+ data: Prisma.XOR<Prisma.CentralOfficeUpdateManyMutationInput, Prisma.CentralOfficeUncheckedUpdateManyInput>
1708
+ /**
1709
+ * Filter which CentralOffices to update
1710
+ */
1711
+ where?: Prisma.CentralOfficeWhereInput
1712
+ /**
1713
+ * Limit how many CentralOffices to update.
1714
+ */
1715
+ limit?: number
1716
+ }
1717
+
1718
+ /**
1719
+ * CentralOffice updateManyAndReturn
1720
+ */
1721
+ export type CentralOfficeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1722
+ /**
1723
+ * Select specific fields to fetch from the CentralOffice
1724
+ */
1725
+ select?: Prisma.CentralOfficeSelectUpdateManyAndReturn<ExtArgs> | null
1726
+ /**
1727
+ * Omit specific fields from the CentralOffice
1728
+ */
1729
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1730
+ /**
1731
+ * The data used to update CentralOffices.
1732
+ */
1733
+ data: Prisma.XOR<Prisma.CentralOfficeUpdateManyMutationInput, Prisma.CentralOfficeUncheckedUpdateManyInput>
1734
+ /**
1735
+ * Filter which CentralOffices to update
1736
+ */
1737
+ where?: Prisma.CentralOfficeWhereInput
1738
+ /**
1739
+ * Limit how many CentralOffices to update.
1740
+ */
1741
+ limit?: number
1742
+ /**
1743
+ * Choose, which related nodes to fetch as well
1744
+ */
1745
+ include?: Prisma.CentralOfficeIncludeUpdateManyAndReturn<ExtArgs> | null
1746
+ }
1747
+
1748
+ /**
1749
+ * CentralOffice upsert
1750
+ */
1751
+ export type CentralOfficeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1752
+ /**
1753
+ * Select specific fields to fetch from the CentralOffice
1754
+ */
1755
+ select?: Prisma.CentralOfficeSelect<ExtArgs> | null
1756
+ /**
1757
+ * Omit specific fields from the CentralOffice
1758
+ */
1759
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1760
+ /**
1761
+ * Choose, which related nodes to fetch as well
1762
+ */
1763
+ include?: Prisma.CentralOfficeInclude<ExtArgs> | null
1764
+ /**
1765
+ * The filter to search for the CentralOffice to update in case it exists.
1766
+ */
1767
+ where: Prisma.CentralOfficeWhereUniqueInput
1768
+ /**
1769
+ * In case the CentralOffice found by the `where` argument doesn't exist, create a new CentralOffice with this data.
1770
+ */
1771
+ create: Prisma.XOR<Prisma.CentralOfficeCreateInput, Prisma.CentralOfficeUncheckedCreateInput>
1772
+ /**
1773
+ * In case the CentralOffice was found with the provided `where` argument, update it with this data.
1774
+ */
1775
+ update: Prisma.XOR<Prisma.CentralOfficeUpdateInput, Prisma.CentralOfficeUncheckedUpdateInput>
1776
+ }
1777
+
1778
+ /**
1779
+ * CentralOffice delete
1780
+ */
1781
+ export type CentralOfficeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1782
+ /**
1783
+ * Select specific fields to fetch from the CentralOffice
1784
+ */
1785
+ select?: Prisma.CentralOfficeSelect<ExtArgs> | null
1786
+ /**
1787
+ * Omit specific fields from the CentralOffice
1788
+ */
1789
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1790
+ /**
1791
+ * Choose, which related nodes to fetch as well
1792
+ */
1793
+ include?: Prisma.CentralOfficeInclude<ExtArgs> | null
1794
+ /**
1795
+ * Filter which CentralOffice to delete.
1796
+ */
1797
+ where: Prisma.CentralOfficeWhereUniqueInput
1798
+ }
1799
+
1800
+ /**
1801
+ * CentralOffice deleteMany
1802
+ */
1803
+ export type CentralOfficeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1804
+ /**
1805
+ * Filter which CentralOffices to delete
1806
+ */
1807
+ where?: Prisma.CentralOfficeWhereInput
1808
+ /**
1809
+ * Limit how many CentralOffices to delete.
1810
+ */
1811
+ limit?: number
1812
+ }
1813
+
1814
+ /**
1815
+ * CentralOffice.project
1816
+ */
1817
+ export type CentralOffice$projectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1818
+ /**
1819
+ * Select specific fields to fetch from the Project
1820
+ */
1821
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1822
+ /**
1823
+ * Omit specific fields from the Project
1824
+ */
1825
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1826
+ /**
1827
+ * Choose, which related nodes to fetch as well
1828
+ */
1829
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1830
+ where?: Prisma.ProjectWhereInput
1831
+ }
1832
+
1833
+ /**
1834
+ * CentralOffice.users
1835
+ */
1836
+ export type CentralOffice$usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1837
+ /**
1838
+ * Select specific fields to fetch from the User
1839
+ */
1840
+ select?: Prisma.UserSelect<ExtArgs> | null
1841
+ /**
1842
+ * Omit specific fields from the User
1843
+ */
1844
+ omit?: Prisma.UserOmit<ExtArgs> | null
1845
+ /**
1846
+ * Choose, which related nodes to fetch as well
1847
+ */
1848
+ include?: Prisma.UserInclude<ExtArgs> | null
1849
+ where?: Prisma.UserWhereInput
1850
+ orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
1851
+ cursor?: Prisma.UserWhereUniqueInput
1852
+ take?: number
1853
+ skip?: number
1854
+ distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]
1855
+ }
1856
+
1857
+ /**
1858
+ * CentralOffice.Cluster
1859
+ */
1860
+ export type CentralOffice$ClusterArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1861
+ /**
1862
+ * Select specific fields to fetch from the Cluster
1863
+ */
1864
+ select?: Prisma.ClusterSelect<ExtArgs> | null
1865
+ /**
1866
+ * Omit specific fields from the Cluster
1867
+ */
1868
+ omit?: Prisma.ClusterOmit<ExtArgs> | null
1869
+ /**
1870
+ * Choose, which related nodes to fetch as well
1871
+ */
1872
+ include?: Prisma.ClusterInclude<ExtArgs> | null
1873
+ where?: Prisma.ClusterWhereInput
1874
+ orderBy?: Prisma.ClusterOrderByWithRelationInput | Prisma.ClusterOrderByWithRelationInput[]
1875
+ cursor?: Prisma.ClusterWhereUniqueInput
1876
+ take?: number
1877
+ skip?: number
1878
+ distinct?: Prisma.ClusterScalarFieldEnum | Prisma.ClusterScalarFieldEnum[]
1879
+ }
1880
+
1881
+ /**
1882
+ * CentralOffice.CentralOfficeTeam
1883
+ */
1884
+ export type CentralOffice$CentralOfficeTeamArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1885
+ /**
1886
+ * Select specific fields to fetch from the CentralOfficeTeam
1887
+ */
1888
+ select?: Prisma.CentralOfficeTeamSelect<ExtArgs> | null
1889
+ /**
1890
+ * Omit specific fields from the CentralOfficeTeam
1891
+ */
1892
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1893
+ /**
1894
+ * Choose, which related nodes to fetch as well
1895
+ */
1896
+ include?: Prisma.CentralOfficeTeamInclude<ExtArgs> | null
1897
+ where?: Prisma.CentralOfficeTeamWhereInput
1898
+ orderBy?: Prisma.CentralOfficeTeamOrderByWithRelationInput | Prisma.CentralOfficeTeamOrderByWithRelationInput[]
1899
+ cursor?: Prisma.CentralOfficeTeamWhereUniqueInput
1900
+ take?: number
1901
+ skip?: number
1902
+ distinct?: Prisma.CentralOfficeTeamScalarFieldEnum | Prisma.CentralOfficeTeamScalarFieldEnum[]
1903
+ }
1904
+
1905
+ /**
1906
+ * CentralOffice without action
1907
+ */
1908
+ export type CentralOfficeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1909
+ /**
1910
+ * Select specific fields to fetch from the CentralOffice
1911
+ */
1912
+ select?: Prisma.CentralOfficeSelect<ExtArgs> | null
1913
+ /**
1914
+ * Omit specific fields from the CentralOffice
1915
+ */
1916
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1917
+ /**
1918
+ * Choose, which related nodes to fetch as well
1919
+ */
1920
+ include?: Prisma.CentralOfficeInclude<ExtArgs> | null
1921
+ }