efiber-prisma-schema 1.16.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/index.d.ts +6 -1
  2. package/index.js +10 -1
  3. package/package.json +13 -5
  4. package/prisma/generated/browser.ts +559 -0
  5. package/prisma/generated/client.ts +581 -0
  6. package/prisma/generated/commonInputTypes.ts +1246 -0
  7. package/prisma/generated/enums.ts +188 -0
  8. package/prisma/generated/internal/class.ts +1260 -0
  9. package/prisma/generated/internal/prismaNamespace.ts +11532 -0
  10. package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
  11. package/prisma/generated/models/AttributeDefinition.ts +1498 -0
  12. package/prisma/generated/models/AttributeValue.ts +1419 -0
  13. package/prisma/generated/models/Audit.ts +1725 -0
  14. package/prisma/generated/models/BillOfMaterial.ts +1934 -0
  15. package/prisma/generated/models/Building.ts +6130 -0
  16. package/prisma/generated/models/BuildingTemplate.ts +2912 -0
  17. package/prisma/generated/models/Cable.ts +10501 -0
  18. package/prisma/generated/models/CableAttachment.ts +1530 -0
  19. package/prisma/generated/models/CableAttributes.ts +2244 -0
  20. package/prisma/generated/models/CableTemplate.ts +3170 -0
  21. package/prisma/generated/models/CamusatClient.ts +2001 -0
  22. package/prisma/generated/models/CamusatCountry.ts +2425 -0
  23. package/prisma/generated/models/CentralOffice.ts +1921 -0
  24. package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
  25. package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
  26. package/prisma/generated/models/Cluster.ts +10984 -0
  27. package/prisma/generated/models/ClusterComments.ts +1668 -0
  28. package/prisma/generated/models/ClusterNotes.ts +1703 -0
  29. package/prisma/generated/models/Conduit.ts +5119 -0
  30. package/prisma/generated/models/ConduitTemplate.ts +2940 -0
  31. package/prisma/generated/models/Country.ts +1795 -0
  32. package/prisma/generated/models/DispatchMaterial.ts +3070 -0
  33. package/prisma/generated/models/DispatchProject.ts +4179 -0
  34. package/prisma/generated/models/DispatchTeam.ts +3053 -0
  35. package/prisma/generated/models/Duct.ts +1813 -0
  36. package/prisma/generated/models/ElementNode.ts +4413 -0
  37. package/prisma/generated/models/ElementRelation.ts +1644 -0
  38. package/prisma/generated/models/EmailConfigurations.ts +3736 -0
  39. package/prisma/generated/models/EmailTemplates.ts +1739 -0
  40. package/prisma/generated/models/EmailsIncoming.ts +2010 -0
  41. package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
  42. package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
  43. package/prisma/generated/models/FDTSRO.ts +6180 -0
  44. package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
  45. package/prisma/generated/models/Feature.ts +1867 -0
  46. package/prisma/generated/models/FeatureType.ts +1430 -0
  47. package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
  48. package/prisma/generated/models/Loop.ts +5271 -0
  49. package/prisma/generated/models/LoopTemplate.ts +2912 -0
  50. package/prisma/generated/models/MainProject.ts +1664 -0
  51. package/prisma/generated/models/Manhole.ts +5090 -0
  52. package/prisma/generated/models/ManholeTemplate.ts +2912 -0
  53. package/prisma/generated/models/MapElement.ts +3450 -0
  54. package/prisma/generated/models/MapElementTemplate.ts +2742 -0
  55. package/prisma/generated/models/Material.ts +1963 -0
  56. package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
  57. package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
  58. package/prisma/generated/models/NetworkElement.ts +6891 -0
  59. package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
  60. package/prisma/generated/models/Notifications.ts +1563 -0
  61. package/prisma/generated/models/OptionSource.ts +1132 -0
  62. package/prisma/generated/models/PboFat.ts +8248 -0
  63. package/prisma/generated/models/PboFatAttributes.ts +2672 -0
  64. package/prisma/generated/models/PboFatTemplate.ts +3112 -0
  65. package/prisma/generated/models/Platform.ts +1759 -0
  66. package/prisma/generated/models/Pole.ts +5266 -0
  67. package/prisma/generated/models/PoleTemplate.ts +2912 -0
  68. package/prisma/generated/models/Position.ts +1490 -0
  69. package/prisma/generated/models/PreviousEquipment.ts +1881 -0
  70. package/prisma/generated/models/Project.ts +14893 -0
  71. package/prisma/generated/models/ProjectType.ts +1351 -0
  72. package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
  73. package/prisma/generated/models/ReportFormats.ts +1768 -0
  74. package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
  75. package/prisma/generated/models/ReportMetric.ts +1737 -0
  76. package/prisma/generated/models/ReportTable.ts +1498 -0
  77. package/prisma/generated/models/ReportVisualization.ts +1446 -0
  78. package/prisma/generated/models/Revision.ts +4653 -0
  79. package/prisma/generated/models/Role.ts +2960 -0
  80. package/prisma/generated/models/SFU.ts +5977 -0
  81. package/prisma/generated/models/SFUTemplate.ts +2912 -0
  82. package/prisma/generated/models/SpliceClosure.ts +6405 -0
  83. package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
  84. package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
  85. package/prisma/generated/models/Splitter.ts +1459 -0
  86. package/prisma/generated/models/StockMovement.ts +1589 -0
  87. package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
  88. package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
  89. package/prisma/generated/models/Team.ts +2044 -0
  90. package/prisma/generated/models/TeamMaterial.ts +2193 -0
  91. package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
  92. package/prisma/generated/models/TeamPlatform.ts +1874 -0
  93. package/prisma/generated/models/TeamType.ts +1655 -0
  94. package/prisma/generated/models/Template.ts +1691 -0
  95. package/prisma/generated/models/TemplateComponent.ts +1995 -0
  96. package/prisma/generated/models/User.ts +25676 -0
  97. package/prisma/generated/models/WorkOrder.ts +5901 -0
  98. package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
  99. package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
  100. package/prisma/generated/models/WorkOrderComments.ts +1687 -0
  101. package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
  102. package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
  103. package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
  104. package/prisma/generated/models/WorkOrderTask.ts +2220 -0
  105. package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
  106. package/prisma/generated/models/ZoneNro.ts +3926 -0
  107. package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
  108. package/prisma/generated/models/clientMaterial.ts +2193 -0
  109. package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
  110. package/prisma/generated/models/ductTemplate.ts +1606 -0
  111. package/prisma/generated/models/installationSequence.ts +1708 -0
  112. package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
  113. package/prisma/generated/models/integrationUserLocation.ts +1681 -0
  114. package/prisma/generated/models/problemCategorization.ts +1543 -0
  115. package/prisma/generated/models/projectPhaseLog.ts +1728 -0
  116. package/prisma/generated/models/qrCodeTag.ts +4978 -0
  117. package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
  118. package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
  119. package/prisma/generated/models.ts +119 -0
  120. package/prisma/migrations/20251106101538_max_capacity_string/migration.sql +2 -0
  121. package/prisma/schema.prisma +3 -3
  122. package/prisma/seed.ts +33 -0
  123. package/prisma.config.ts +13 -0
  124. package/tsconfig.json +13 -0
@@ -0,0 +1,1620 @@
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 `CentralOfficeTeam` 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 CentralOfficeTeam
17
+ *
18
+ */
19
+ export type CentralOfficeTeamModel = runtime.Types.Result.DefaultSelection<Prisma.$CentralOfficeTeamPayload>
20
+
21
+ export type AggregateCentralOfficeTeam = {
22
+ _count: CentralOfficeTeamCountAggregateOutputType | null
23
+ _avg: CentralOfficeTeamAvgAggregateOutputType | null
24
+ _sum: CentralOfficeTeamSumAggregateOutputType | null
25
+ _min: CentralOfficeTeamMinAggregateOutputType | null
26
+ _max: CentralOfficeTeamMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type CentralOfficeTeamAvgAggregateOutputType = {
30
+ no: number | null
31
+ }
32
+
33
+ export type CentralOfficeTeamSumAggregateOutputType = {
34
+ no: number | null
35
+ }
36
+
37
+ export type CentralOfficeTeamMinAggregateOutputType = {
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
+ centralOfficeId: string | null
45
+ }
46
+
47
+ export type CentralOfficeTeamMaxAggregateOutputType = {
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
+ centralOfficeId: string | null
55
+ }
56
+
57
+ export type CentralOfficeTeamCountAggregateOutputType = {
58
+ id: number
59
+ no: number
60
+ name: number
61
+ createdAt: number
62
+ updatedAt: number
63
+ deletedAt: number
64
+ centralOfficeId: number
65
+ _all: number
66
+ }
67
+
68
+
69
+ export type CentralOfficeTeamAvgAggregateInputType = {
70
+ no?: true
71
+ }
72
+
73
+ export type CentralOfficeTeamSumAggregateInputType = {
74
+ no?: true
75
+ }
76
+
77
+ export type CentralOfficeTeamMinAggregateInputType = {
78
+ id?: true
79
+ no?: true
80
+ name?: true
81
+ createdAt?: true
82
+ updatedAt?: true
83
+ deletedAt?: true
84
+ centralOfficeId?: true
85
+ }
86
+
87
+ export type CentralOfficeTeamMaxAggregateInputType = {
88
+ id?: true
89
+ no?: true
90
+ name?: true
91
+ createdAt?: true
92
+ updatedAt?: true
93
+ deletedAt?: true
94
+ centralOfficeId?: true
95
+ }
96
+
97
+ export type CentralOfficeTeamCountAggregateInputType = {
98
+ id?: true
99
+ no?: true
100
+ name?: true
101
+ createdAt?: true
102
+ updatedAt?: true
103
+ deletedAt?: true
104
+ centralOfficeId?: true
105
+ _all?: true
106
+ }
107
+
108
+ export type CentralOfficeTeamAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
109
+ /**
110
+ * Filter which CentralOfficeTeam to aggregate.
111
+ */
112
+ where?: Prisma.CentralOfficeTeamWhereInput
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
115
+ *
116
+ * Determine the order of CentralOfficeTeams to fetch.
117
+ */
118
+ orderBy?: Prisma.CentralOfficeTeamOrderByWithRelationInput | Prisma.CentralOfficeTeamOrderByWithRelationInput[]
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.CentralOfficeTeamWhereUniqueInput
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
127
+ *
128
+ * Take `±n` CentralOfficeTeams 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` CentralOfficeTeams.
135
+ */
136
+ skip?: number
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
139
+ *
140
+ * Count returned CentralOfficeTeams
141
+ **/
142
+ _count?: true | CentralOfficeTeamCountAggregateInputType
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?: CentralOfficeTeamAvgAggregateInputType
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?: CentralOfficeTeamSumAggregateInputType
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?: CentralOfficeTeamMinAggregateInputType
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?: CentralOfficeTeamMaxAggregateInputType
167
+ }
168
+
169
+ export type GetCentralOfficeTeamAggregateType<T extends CentralOfficeTeamAggregateArgs> = {
170
+ [P in keyof T & keyof AggregateCentralOfficeTeam]: P extends '_count' | 'count'
171
+ ? T[P] extends true
172
+ ? number
173
+ : Prisma.GetScalarType<T[P], AggregateCentralOfficeTeam[P]>
174
+ : Prisma.GetScalarType<T[P], AggregateCentralOfficeTeam[P]>
175
+ }
176
+
177
+
178
+
179
+
180
+ export type CentralOfficeTeamGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
181
+ where?: Prisma.CentralOfficeTeamWhereInput
182
+ orderBy?: Prisma.CentralOfficeTeamOrderByWithAggregationInput | Prisma.CentralOfficeTeamOrderByWithAggregationInput[]
183
+ by: Prisma.CentralOfficeTeamScalarFieldEnum[] | Prisma.CentralOfficeTeamScalarFieldEnum
184
+ having?: Prisma.CentralOfficeTeamScalarWhereWithAggregatesInput
185
+ take?: number
186
+ skip?: number
187
+ _count?: CentralOfficeTeamCountAggregateInputType | true
188
+ _avg?: CentralOfficeTeamAvgAggregateInputType
189
+ _sum?: CentralOfficeTeamSumAggregateInputType
190
+ _min?: CentralOfficeTeamMinAggregateInputType
191
+ _max?: CentralOfficeTeamMaxAggregateInputType
192
+ }
193
+
194
+ export type CentralOfficeTeamGroupByOutputType = {
195
+ id: string
196
+ no: number
197
+ name: string
198
+ createdAt: Date
199
+ updatedAt: Date
200
+ deletedAt: Date | null
201
+ centralOfficeId: string | null
202
+ _count: CentralOfficeTeamCountAggregateOutputType | null
203
+ _avg: CentralOfficeTeamAvgAggregateOutputType | null
204
+ _sum: CentralOfficeTeamSumAggregateOutputType | null
205
+ _min: CentralOfficeTeamMinAggregateOutputType | null
206
+ _max: CentralOfficeTeamMaxAggregateOutputType | null
207
+ }
208
+
209
+ type GetCentralOfficeTeamGroupByPayload<T extends CentralOfficeTeamGroupByArgs> = Prisma.PrismaPromise<
210
+ Array<
211
+ Prisma.PickEnumerable<CentralOfficeTeamGroupByOutputType, T['by']> &
212
+ {
213
+ [P in ((keyof T) & (keyof CentralOfficeTeamGroupByOutputType))]: P extends '_count'
214
+ ? T[P] extends boolean
215
+ ? number
216
+ : Prisma.GetScalarType<T[P], CentralOfficeTeamGroupByOutputType[P]>
217
+ : Prisma.GetScalarType<T[P], CentralOfficeTeamGroupByOutputType[P]>
218
+ }
219
+ >
220
+ >
221
+
222
+
223
+
224
+ export type CentralOfficeTeamWhereInput = {
225
+ AND?: Prisma.CentralOfficeTeamWhereInput | Prisma.CentralOfficeTeamWhereInput[]
226
+ OR?: Prisma.CentralOfficeTeamWhereInput[]
227
+ NOT?: Prisma.CentralOfficeTeamWhereInput | Prisma.CentralOfficeTeamWhereInput[]
228
+ id?: Prisma.StringFilter<"CentralOfficeTeam"> | string
229
+ no?: Prisma.IntFilter<"CentralOfficeTeam"> | number
230
+ name?: Prisma.StringFilter<"CentralOfficeTeam"> | string
231
+ createdAt?: Prisma.DateTimeFilter<"CentralOfficeTeam"> | Date | string
232
+ updatedAt?: Prisma.DateTimeFilter<"CentralOfficeTeam"> | Date | string
233
+ deletedAt?: Prisma.DateTimeNullableFilter<"CentralOfficeTeam"> | Date | string | null
234
+ centralOfficeId?: Prisma.StringNullableFilter<"CentralOfficeTeam"> | string | null
235
+ centralOffice?: Prisma.XOR<Prisma.CentralOfficeNullableScalarRelationFilter, Prisma.CentralOfficeWhereInput> | null
236
+ users?: Prisma.CentralOfficeUserListRelationFilter
237
+ }
238
+
239
+ export type CentralOfficeTeamOrderByWithRelationInput = {
240
+ id?: Prisma.SortOrder
241
+ no?: Prisma.SortOrder
242
+ name?: Prisma.SortOrder
243
+ createdAt?: Prisma.SortOrder
244
+ updatedAt?: Prisma.SortOrder
245
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
246
+ centralOfficeId?: Prisma.SortOrderInput | Prisma.SortOrder
247
+ centralOffice?: Prisma.CentralOfficeOrderByWithRelationInput
248
+ users?: Prisma.CentralOfficeUserOrderByRelationAggregateInput
249
+ }
250
+
251
+ export type CentralOfficeTeamWhereUniqueInput = Prisma.AtLeast<{
252
+ id?: string
253
+ AND?: Prisma.CentralOfficeTeamWhereInput | Prisma.CentralOfficeTeamWhereInput[]
254
+ OR?: Prisma.CentralOfficeTeamWhereInput[]
255
+ NOT?: Prisma.CentralOfficeTeamWhereInput | Prisma.CentralOfficeTeamWhereInput[]
256
+ no?: Prisma.IntFilter<"CentralOfficeTeam"> | number
257
+ name?: Prisma.StringFilter<"CentralOfficeTeam"> | string
258
+ createdAt?: Prisma.DateTimeFilter<"CentralOfficeTeam"> | Date | string
259
+ updatedAt?: Prisma.DateTimeFilter<"CentralOfficeTeam"> | Date | string
260
+ deletedAt?: Prisma.DateTimeNullableFilter<"CentralOfficeTeam"> | Date | string | null
261
+ centralOfficeId?: Prisma.StringNullableFilter<"CentralOfficeTeam"> | string | null
262
+ centralOffice?: Prisma.XOR<Prisma.CentralOfficeNullableScalarRelationFilter, Prisma.CentralOfficeWhereInput> | null
263
+ users?: Prisma.CentralOfficeUserListRelationFilter
264
+ }, "id" | "id">
265
+
266
+ export type CentralOfficeTeamOrderByWithAggregationInput = {
267
+ id?: Prisma.SortOrder
268
+ no?: Prisma.SortOrder
269
+ name?: Prisma.SortOrder
270
+ createdAt?: Prisma.SortOrder
271
+ updatedAt?: Prisma.SortOrder
272
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
273
+ centralOfficeId?: Prisma.SortOrderInput | Prisma.SortOrder
274
+ _count?: Prisma.CentralOfficeTeamCountOrderByAggregateInput
275
+ _avg?: Prisma.CentralOfficeTeamAvgOrderByAggregateInput
276
+ _max?: Prisma.CentralOfficeTeamMaxOrderByAggregateInput
277
+ _min?: Prisma.CentralOfficeTeamMinOrderByAggregateInput
278
+ _sum?: Prisma.CentralOfficeTeamSumOrderByAggregateInput
279
+ }
280
+
281
+ export type CentralOfficeTeamScalarWhereWithAggregatesInput = {
282
+ AND?: Prisma.CentralOfficeTeamScalarWhereWithAggregatesInput | Prisma.CentralOfficeTeamScalarWhereWithAggregatesInput[]
283
+ OR?: Prisma.CentralOfficeTeamScalarWhereWithAggregatesInput[]
284
+ NOT?: Prisma.CentralOfficeTeamScalarWhereWithAggregatesInput | Prisma.CentralOfficeTeamScalarWhereWithAggregatesInput[]
285
+ id?: Prisma.StringWithAggregatesFilter<"CentralOfficeTeam"> | string
286
+ no?: Prisma.IntWithAggregatesFilter<"CentralOfficeTeam"> | number
287
+ name?: Prisma.StringWithAggregatesFilter<"CentralOfficeTeam"> | string
288
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"CentralOfficeTeam"> | Date | string
289
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"CentralOfficeTeam"> | Date | string
290
+ deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"CentralOfficeTeam"> | Date | string | null
291
+ centralOfficeId?: Prisma.StringNullableWithAggregatesFilter<"CentralOfficeTeam"> | string | null
292
+ }
293
+
294
+ export type CentralOfficeTeamCreateInput = {
295
+ id?: string
296
+ no?: number
297
+ name: string
298
+ createdAt?: Date | string
299
+ updatedAt?: Date | string
300
+ deletedAt?: Date | string | null
301
+ centralOffice?: Prisma.CentralOfficeCreateNestedOneWithoutCentralOfficeTeamInput
302
+ users?: Prisma.CentralOfficeUserCreateNestedManyWithoutCentralOfficeTeamInput
303
+ }
304
+
305
+ export type CentralOfficeTeamUncheckedCreateInput = {
306
+ id?: string
307
+ no?: number
308
+ name: string
309
+ createdAt?: Date | string
310
+ updatedAt?: Date | string
311
+ deletedAt?: Date | string | null
312
+ centralOfficeId?: string | null
313
+ users?: Prisma.CentralOfficeUserUncheckedCreateNestedManyWithoutCentralOfficeTeamInput
314
+ }
315
+
316
+ export type CentralOfficeTeamUpdateInput = {
317
+ id?: Prisma.StringFieldUpdateOperationsInput | string
318
+ no?: Prisma.IntFieldUpdateOperationsInput | number
319
+ name?: Prisma.StringFieldUpdateOperationsInput | string
320
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
321
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
322
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
323
+ centralOffice?: Prisma.CentralOfficeUpdateOneWithoutCentralOfficeTeamNestedInput
324
+ users?: Prisma.CentralOfficeUserUpdateManyWithoutCentralOfficeTeamNestedInput
325
+ }
326
+
327
+ export type CentralOfficeTeamUncheckedUpdateInput = {
328
+ id?: Prisma.StringFieldUpdateOperationsInput | string
329
+ no?: Prisma.IntFieldUpdateOperationsInput | number
330
+ name?: Prisma.StringFieldUpdateOperationsInput | string
331
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
332
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
333
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
334
+ centralOfficeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
335
+ users?: Prisma.CentralOfficeUserUncheckedUpdateManyWithoutCentralOfficeTeamNestedInput
336
+ }
337
+
338
+ export type CentralOfficeTeamCreateManyInput = {
339
+ id?: string
340
+ no?: number
341
+ name: string
342
+ createdAt?: Date | string
343
+ updatedAt?: Date | string
344
+ deletedAt?: Date | string | null
345
+ centralOfficeId?: string | null
346
+ }
347
+
348
+ export type CentralOfficeTeamUpdateManyMutationInput = {
349
+ id?: Prisma.StringFieldUpdateOperationsInput | string
350
+ no?: Prisma.IntFieldUpdateOperationsInput | number
351
+ name?: Prisma.StringFieldUpdateOperationsInput | string
352
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
353
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
354
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
355
+ }
356
+
357
+ export type CentralOfficeTeamUncheckedUpdateManyInput = {
358
+ id?: Prisma.StringFieldUpdateOperationsInput | string
359
+ no?: Prisma.IntFieldUpdateOperationsInput | number
360
+ name?: Prisma.StringFieldUpdateOperationsInput | string
361
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
362
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
363
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
364
+ centralOfficeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
365
+ }
366
+
367
+ export type CentralOfficeTeamListRelationFilter = {
368
+ every?: Prisma.CentralOfficeTeamWhereInput
369
+ some?: Prisma.CentralOfficeTeamWhereInput
370
+ none?: Prisma.CentralOfficeTeamWhereInput
371
+ }
372
+
373
+ export type CentralOfficeTeamOrderByRelationAggregateInput = {
374
+ _count?: Prisma.SortOrder
375
+ }
376
+
377
+ export type CentralOfficeTeamCountOrderByAggregateInput = {
378
+ id?: Prisma.SortOrder
379
+ no?: Prisma.SortOrder
380
+ name?: Prisma.SortOrder
381
+ createdAt?: Prisma.SortOrder
382
+ updatedAt?: Prisma.SortOrder
383
+ deletedAt?: Prisma.SortOrder
384
+ centralOfficeId?: Prisma.SortOrder
385
+ }
386
+
387
+ export type CentralOfficeTeamAvgOrderByAggregateInput = {
388
+ no?: Prisma.SortOrder
389
+ }
390
+
391
+ export type CentralOfficeTeamMaxOrderByAggregateInput = {
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
+ centralOfficeId?: Prisma.SortOrder
399
+ }
400
+
401
+ export type CentralOfficeTeamMinOrderByAggregateInput = {
402
+ id?: Prisma.SortOrder
403
+ no?: Prisma.SortOrder
404
+ name?: Prisma.SortOrder
405
+ createdAt?: Prisma.SortOrder
406
+ updatedAt?: Prisma.SortOrder
407
+ deletedAt?: Prisma.SortOrder
408
+ centralOfficeId?: Prisma.SortOrder
409
+ }
410
+
411
+ export type CentralOfficeTeamSumOrderByAggregateInput = {
412
+ no?: Prisma.SortOrder
413
+ }
414
+
415
+ export type CentralOfficeTeamNullableScalarRelationFilter = {
416
+ is?: Prisma.CentralOfficeTeamWhereInput | null
417
+ isNot?: Prisma.CentralOfficeTeamWhereInput | null
418
+ }
419
+
420
+ export type CentralOfficeTeamCreateNestedManyWithoutCentralOfficeInput = {
421
+ create?: Prisma.XOR<Prisma.CentralOfficeTeamCreateWithoutCentralOfficeInput, Prisma.CentralOfficeTeamUncheckedCreateWithoutCentralOfficeInput> | Prisma.CentralOfficeTeamCreateWithoutCentralOfficeInput[] | Prisma.CentralOfficeTeamUncheckedCreateWithoutCentralOfficeInput[]
422
+ connectOrCreate?: Prisma.CentralOfficeTeamCreateOrConnectWithoutCentralOfficeInput | Prisma.CentralOfficeTeamCreateOrConnectWithoutCentralOfficeInput[]
423
+ createMany?: Prisma.CentralOfficeTeamCreateManyCentralOfficeInputEnvelope
424
+ connect?: Prisma.CentralOfficeTeamWhereUniqueInput | Prisma.CentralOfficeTeamWhereUniqueInput[]
425
+ }
426
+
427
+ export type CentralOfficeTeamUncheckedCreateNestedManyWithoutCentralOfficeInput = {
428
+ create?: Prisma.XOR<Prisma.CentralOfficeTeamCreateWithoutCentralOfficeInput, Prisma.CentralOfficeTeamUncheckedCreateWithoutCentralOfficeInput> | Prisma.CentralOfficeTeamCreateWithoutCentralOfficeInput[] | Prisma.CentralOfficeTeamUncheckedCreateWithoutCentralOfficeInput[]
429
+ connectOrCreate?: Prisma.CentralOfficeTeamCreateOrConnectWithoutCentralOfficeInput | Prisma.CentralOfficeTeamCreateOrConnectWithoutCentralOfficeInput[]
430
+ createMany?: Prisma.CentralOfficeTeamCreateManyCentralOfficeInputEnvelope
431
+ connect?: Prisma.CentralOfficeTeamWhereUniqueInput | Prisma.CentralOfficeTeamWhereUniqueInput[]
432
+ }
433
+
434
+ export type CentralOfficeTeamUpdateManyWithoutCentralOfficeNestedInput = {
435
+ create?: Prisma.XOR<Prisma.CentralOfficeTeamCreateWithoutCentralOfficeInput, Prisma.CentralOfficeTeamUncheckedCreateWithoutCentralOfficeInput> | Prisma.CentralOfficeTeamCreateWithoutCentralOfficeInput[] | Prisma.CentralOfficeTeamUncheckedCreateWithoutCentralOfficeInput[]
436
+ connectOrCreate?: Prisma.CentralOfficeTeamCreateOrConnectWithoutCentralOfficeInput | Prisma.CentralOfficeTeamCreateOrConnectWithoutCentralOfficeInput[]
437
+ upsert?: Prisma.CentralOfficeTeamUpsertWithWhereUniqueWithoutCentralOfficeInput | Prisma.CentralOfficeTeamUpsertWithWhereUniqueWithoutCentralOfficeInput[]
438
+ createMany?: Prisma.CentralOfficeTeamCreateManyCentralOfficeInputEnvelope
439
+ set?: Prisma.CentralOfficeTeamWhereUniqueInput | Prisma.CentralOfficeTeamWhereUniqueInput[]
440
+ disconnect?: Prisma.CentralOfficeTeamWhereUniqueInput | Prisma.CentralOfficeTeamWhereUniqueInput[]
441
+ delete?: Prisma.CentralOfficeTeamWhereUniqueInput | Prisma.CentralOfficeTeamWhereUniqueInput[]
442
+ connect?: Prisma.CentralOfficeTeamWhereUniqueInput | Prisma.CentralOfficeTeamWhereUniqueInput[]
443
+ update?: Prisma.CentralOfficeTeamUpdateWithWhereUniqueWithoutCentralOfficeInput | Prisma.CentralOfficeTeamUpdateWithWhereUniqueWithoutCentralOfficeInput[]
444
+ updateMany?: Prisma.CentralOfficeTeamUpdateManyWithWhereWithoutCentralOfficeInput | Prisma.CentralOfficeTeamUpdateManyWithWhereWithoutCentralOfficeInput[]
445
+ deleteMany?: Prisma.CentralOfficeTeamScalarWhereInput | Prisma.CentralOfficeTeamScalarWhereInput[]
446
+ }
447
+
448
+ export type CentralOfficeTeamUncheckedUpdateManyWithoutCentralOfficeNestedInput = {
449
+ create?: Prisma.XOR<Prisma.CentralOfficeTeamCreateWithoutCentralOfficeInput, Prisma.CentralOfficeTeamUncheckedCreateWithoutCentralOfficeInput> | Prisma.CentralOfficeTeamCreateWithoutCentralOfficeInput[] | Prisma.CentralOfficeTeamUncheckedCreateWithoutCentralOfficeInput[]
450
+ connectOrCreate?: Prisma.CentralOfficeTeamCreateOrConnectWithoutCentralOfficeInput | Prisma.CentralOfficeTeamCreateOrConnectWithoutCentralOfficeInput[]
451
+ upsert?: Prisma.CentralOfficeTeamUpsertWithWhereUniqueWithoutCentralOfficeInput | Prisma.CentralOfficeTeamUpsertWithWhereUniqueWithoutCentralOfficeInput[]
452
+ createMany?: Prisma.CentralOfficeTeamCreateManyCentralOfficeInputEnvelope
453
+ set?: Prisma.CentralOfficeTeamWhereUniqueInput | Prisma.CentralOfficeTeamWhereUniqueInput[]
454
+ disconnect?: Prisma.CentralOfficeTeamWhereUniqueInput | Prisma.CentralOfficeTeamWhereUniqueInput[]
455
+ delete?: Prisma.CentralOfficeTeamWhereUniqueInput | Prisma.CentralOfficeTeamWhereUniqueInput[]
456
+ connect?: Prisma.CentralOfficeTeamWhereUniqueInput | Prisma.CentralOfficeTeamWhereUniqueInput[]
457
+ update?: Prisma.CentralOfficeTeamUpdateWithWhereUniqueWithoutCentralOfficeInput | Prisma.CentralOfficeTeamUpdateWithWhereUniqueWithoutCentralOfficeInput[]
458
+ updateMany?: Prisma.CentralOfficeTeamUpdateManyWithWhereWithoutCentralOfficeInput | Prisma.CentralOfficeTeamUpdateManyWithWhereWithoutCentralOfficeInput[]
459
+ deleteMany?: Prisma.CentralOfficeTeamScalarWhereInput | Prisma.CentralOfficeTeamScalarWhereInput[]
460
+ }
461
+
462
+ export type CentralOfficeTeamCreateNestedOneWithoutUsersInput = {
463
+ create?: Prisma.XOR<Prisma.CentralOfficeTeamCreateWithoutUsersInput, Prisma.CentralOfficeTeamUncheckedCreateWithoutUsersInput>
464
+ connectOrCreate?: Prisma.CentralOfficeTeamCreateOrConnectWithoutUsersInput
465
+ connect?: Prisma.CentralOfficeTeamWhereUniqueInput
466
+ }
467
+
468
+ export type CentralOfficeTeamUpdateOneWithoutUsersNestedInput = {
469
+ create?: Prisma.XOR<Prisma.CentralOfficeTeamCreateWithoutUsersInput, Prisma.CentralOfficeTeamUncheckedCreateWithoutUsersInput>
470
+ connectOrCreate?: Prisma.CentralOfficeTeamCreateOrConnectWithoutUsersInput
471
+ upsert?: Prisma.CentralOfficeTeamUpsertWithoutUsersInput
472
+ disconnect?: Prisma.CentralOfficeTeamWhereInput | boolean
473
+ delete?: Prisma.CentralOfficeTeamWhereInput | boolean
474
+ connect?: Prisma.CentralOfficeTeamWhereUniqueInput
475
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CentralOfficeTeamUpdateToOneWithWhereWithoutUsersInput, Prisma.CentralOfficeTeamUpdateWithoutUsersInput>, Prisma.CentralOfficeTeamUncheckedUpdateWithoutUsersInput>
476
+ }
477
+
478
+ export type CentralOfficeTeamCreateWithoutCentralOfficeInput = {
479
+ id?: string
480
+ no?: number
481
+ name: string
482
+ createdAt?: Date | string
483
+ updatedAt?: Date | string
484
+ deletedAt?: Date | string | null
485
+ users?: Prisma.CentralOfficeUserCreateNestedManyWithoutCentralOfficeTeamInput
486
+ }
487
+
488
+ export type CentralOfficeTeamUncheckedCreateWithoutCentralOfficeInput = {
489
+ id?: string
490
+ no?: number
491
+ name: string
492
+ createdAt?: Date | string
493
+ updatedAt?: Date | string
494
+ deletedAt?: Date | string | null
495
+ users?: Prisma.CentralOfficeUserUncheckedCreateNestedManyWithoutCentralOfficeTeamInput
496
+ }
497
+
498
+ export type CentralOfficeTeamCreateOrConnectWithoutCentralOfficeInput = {
499
+ where: Prisma.CentralOfficeTeamWhereUniqueInput
500
+ create: Prisma.XOR<Prisma.CentralOfficeTeamCreateWithoutCentralOfficeInput, Prisma.CentralOfficeTeamUncheckedCreateWithoutCentralOfficeInput>
501
+ }
502
+
503
+ export type CentralOfficeTeamCreateManyCentralOfficeInputEnvelope = {
504
+ data: Prisma.CentralOfficeTeamCreateManyCentralOfficeInput | Prisma.CentralOfficeTeamCreateManyCentralOfficeInput[]
505
+ skipDuplicates?: boolean
506
+ }
507
+
508
+ export type CentralOfficeTeamUpsertWithWhereUniqueWithoutCentralOfficeInput = {
509
+ where: Prisma.CentralOfficeTeamWhereUniqueInput
510
+ update: Prisma.XOR<Prisma.CentralOfficeTeamUpdateWithoutCentralOfficeInput, Prisma.CentralOfficeTeamUncheckedUpdateWithoutCentralOfficeInput>
511
+ create: Prisma.XOR<Prisma.CentralOfficeTeamCreateWithoutCentralOfficeInput, Prisma.CentralOfficeTeamUncheckedCreateWithoutCentralOfficeInput>
512
+ }
513
+
514
+ export type CentralOfficeTeamUpdateWithWhereUniqueWithoutCentralOfficeInput = {
515
+ where: Prisma.CentralOfficeTeamWhereUniqueInput
516
+ data: Prisma.XOR<Prisma.CentralOfficeTeamUpdateWithoutCentralOfficeInput, Prisma.CentralOfficeTeamUncheckedUpdateWithoutCentralOfficeInput>
517
+ }
518
+
519
+ export type CentralOfficeTeamUpdateManyWithWhereWithoutCentralOfficeInput = {
520
+ where: Prisma.CentralOfficeTeamScalarWhereInput
521
+ data: Prisma.XOR<Prisma.CentralOfficeTeamUpdateManyMutationInput, Prisma.CentralOfficeTeamUncheckedUpdateManyWithoutCentralOfficeInput>
522
+ }
523
+
524
+ export type CentralOfficeTeamScalarWhereInput = {
525
+ AND?: Prisma.CentralOfficeTeamScalarWhereInput | Prisma.CentralOfficeTeamScalarWhereInput[]
526
+ OR?: Prisma.CentralOfficeTeamScalarWhereInput[]
527
+ NOT?: Prisma.CentralOfficeTeamScalarWhereInput | Prisma.CentralOfficeTeamScalarWhereInput[]
528
+ id?: Prisma.StringFilter<"CentralOfficeTeam"> | string
529
+ no?: Prisma.IntFilter<"CentralOfficeTeam"> | number
530
+ name?: Prisma.StringFilter<"CentralOfficeTeam"> | string
531
+ createdAt?: Prisma.DateTimeFilter<"CentralOfficeTeam"> | Date | string
532
+ updatedAt?: Prisma.DateTimeFilter<"CentralOfficeTeam"> | Date | string
533
+ deletedAt?: Prisma.DateTimeNullableFilter<"CentralOfficeTeam"> | Date | string | null
534
+ centralOfficeId?: Prisma.StringNullableFilter<"CentralOfficeTeam"> | string | null
535
+ }
536
+
537
+ export type CentralOfficeTeamCreateWithoutUsersInput = {
538
+ id?: string
539
+ no?: number
540
+ name: string
541
+ createdAt?: Date | string
542
+ updatedAt?: Date | string
543
+ deletedAt?: Date | string | null
544
+ centralOffice?: Prisma.CentralOfficeCreateNestedOneWithoutCentralOfficeTeamInput
545
+ }
546
+
547
+ export type CentralOfficeTeamUncheckedCreateWithoutUsersInput = {
548
+ id?: string
549
+ no?: number
550
+ name: string
551
+ createdAt?: Date | string
552
+ updatedAt?: Date | string
553
+ deletedAt?: Date | string | null
554
+ centralOfficeId?: string | null
555
+ }
556
+
557
+ export type CentralOfficeTeamCreateOrConnectWithoutUsersInput = {
558
+ where: Prisma.CentralOfficeTeamWhereUniqueInput
559
+ create: Prisma.XOR<Prisma.CentralOfficeTeamCreateWithoutUsersInput, Prisma.CentralOfficeTeamUncheckedCreateWithoutUsersInput>
560
+ }
561
+
562
+ export type CentralOfficeTeamUpsertWithoutUsersInput = {
563
+ update: Prisma.XOR<Prisma.CentralOfficeTeamUpdateWithoutUsersInput, Prisma.CentralOfficeTeamUncheckedUpdateWithoutUsersInput>
564
+ create: Prisma.XOR<Prisma.CentralOfficeTeamCreateWithoutUsersInput, Prisma.CentralOfficeTeamUncheckedCreateWithoutUsersInput>
565
+ where?: Prisma.CentralOfficeTeamWhereInput
566
+ }
567
+
568
+ export type CentralOfficeTeamUpdateToOneWithWhereWithoutUsersInput = {
569
+ where?: Prisma.CentralOfficeTeamWhereInput
570
+ data: Prisma.XOR<Prisma.CentralOfficeTeamUpdateWithoutUsersInput, Prisma.CentralOfficeTeamUncheckedUpdateWithoutUsersInput>
571
+ }
572
+
573
+ export type CentralOfficeTeamUpdateWithoutUsersInput = {
574
+ id?: Prisma.StringFieldUpdateOperationsInput | string
575
+ no?: Prisma.IntFieldUpdateOperationsInput | number
576
+ name?: Prisma.StringFieldUpdateOperationsInput | string
577
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
578
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
579
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
580
+ centralOffice?: Prisma.CentralOfficeUpdateOneWithoutCentralOfficeTeamNestedInput
581
+ }
582
+
583
+ export type CentralOfficeTeamUncheckedUpdateWithoutUsersInput = {
584
+ id?: Prisma.StringFieldUpdateOperationsInput | string
585
+ no?: Prisma.IntFieldUpdateOperationsInput | number
586
+ name?: Prisma.StringFieldUpdateOperationsInput | string
587
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
588
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
589
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
590
+ centralOfficeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
591
+ }
592
+
593
+ export type CentralOfficeTeamCreateManyCentralOfficeInput = {
594
+ id?: string
595
+ no?: number
596
+ name: string
597
+ createdAt?: Date | string
598
+ updatedAt?: Date | string
599
+ deletedAt?: Date | string | null
600
+ }
601
+
602
+ export type CentralOfficeTeamUpdateWithoutCentralOfficeInput = {
603
+ id?: Prisma.StringFieldUpdateOperationsInput | string
604
+ no?: Prisma.IntFieldUpdateOperationsInput | number
605
+ name?: Prisma.StringFieldUpdateOperationsInput | string
606
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
607
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
608
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
609
+ users?: Prisma.CentralOfficeUserUpdateManyWithoutCentralOfficeTeamNestedInput
610
+ }
611
+
612
+ export type CentralOfficeTeamUncheckedUpdateWithoutCentralOfficeInput = {
613
+ id?: Prisma.StringFieldUpdateOperationsInput | string
614
+ no?: Prisma.IntFieldUpdateOperationsInput | number
615
+ name?: Prisma.StringFieldUpdateOperationsInput | string
616
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
617
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
618
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
619
+ users?: Prisma.CentralOfficeUserUncheckedUpdateManyWithoutCentralOfficeTeamNestedInput
620
+ }
621
+
622
+ export type CentralOfficeTeamUncheckedUpdateManyWithoutCentralOfficeInput = {
623
+ id?: Prisma.StringFieldUpdateOperationsInput | string
624
+ no?: Prisma.IntFieldUpdateOperationsInput | number
625
+ name?: Prisma.StringFieldUpdateOperationsInput | string
626
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
627
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
628
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
629
+ }
630
+
631
+
632
+ /**
633
+ * Count Type CentralOfficeTeamCountOutputType
634
+ */
635
+
636
+ export type CentralOfficeTeamCountOutputType = {
637
+ users: number
638
+ }
639
+
640
+ export type CentralOfficeTeamCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
641
+ users?: boolean | CentralOfficeTeamCountOutputTypeCountUsersArgs
642
+ }
643
+
644
+ /**
645
+ * CentralOfficeTeamCountOutputType without action
646
+ */
647
+ export type CentralOfficeTeamCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
648
+ /**
649
+ * Select specific fields to fetch from the CentralOfficeTeamCountOutputType
650
+ */
651
+ select?: Prisma.CentralOfficeTeamCountOutputTypeSelect<ExtArgs> | null
652
+ }
653
+
654
+ /**
655
+ * CentralOfficeTeamCountOutputType without action
656
+ */
657
+ export type CentralOfficeTeamCountOutputTypeCountUsersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
658
+ where?: Prisma.CentralOfficeUserWhereInput
659
+ }
660
+
661
+
662
+ export type CentralOfficeTeamSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
663
+ id?: boolean
664
+ no?: boolean
665
+ name?: boolean
666
+ createdAt?: boolean
667
+ updatedAt?: boolean
668
+ deletedAt?: boolean
669
+ centralOfficeId?: boolean
670
+ centralOffice?: boolean | Prisma.CentralOfficeTeam$centralOfficeArgs<ExtArgs>
671
+ users?: boolean | Prisma.CentralOfficeTeam$usersArgs<ExtArgs>
672
+ _count?: boolean | Prisma.CentralOfficeTeamCountOutputTypeDefaultArgs<ExtArgs>
673
+ }, ExtArgs["result"]["centralOfficeTeam"]>
674
+
675
+ export type CentralOfficeTeamSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
676
+ id?: boolean
677
+ no?: boolean
678
+ name?: boolean
679
+ createdAt?: boolean
680
+ updatedAt?: boolean
681
+ deletedAt?: boolean
682
+ centralOfficeId?: boolean
683
+ centralOffice?: boolean | Prisma.CentralOfficeTeam$centralOfficeArgs<ExtArgs>
684
+ }, ExtArgs["result"]["centralOfficeTeam"]>
685
+
686
+ export type CentralOfficeTeamSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
687
+ id?: boolean
688
+ no?: boolean
689
+ name?: boolean
690
+ createdAt?: boolean
691
+ updatedAt?: boolean
692
+ deletedAt?: boolean
693
+ centralOfficeId?: boolean
694
+ centralOffice?: boolean | Prisma.CentralOfficeTeam$centralOfficeArgs<ExtArgs>
695
+ }, ExtArgs["result"]["centralOfficeTeam"]>
696
+
697
+ export type CentralOfficeTeamSelectScalar = {
698
+ id?: boolean
699
+ no?: boolean
700
+ name?: boolean
701
+ createdAt?: boolean
702
+ updatedAt?: boolean
703
+ deletedAt?: boolean
704
+ centralOfficeId?: boolean
705
+ }
706
+
707
+ export type CentralOfficeTeamOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "name" | "createdAt" | "updatedAt" | "deletedAt" | "centralOfficeId", ExtArgs["result"]["centralOfficeTeam"]>
708
+ export type CentralOfficeTeamInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
709
+ centralOffice?: boolean | Prisma.CentralOfficeTeam$centralOfficeArgs<ExtArgs>
710
+ users?: boolean | Prisma.CentralOfficeTeam$usersArgs<ExtArgs>
711
+ _count?: boolean | Prisma.CentralOfficeTeamCountOutputTypeDefaultArgs<ExtArgs>
712
+ }
713
+ export type CentralOfficeTeamIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
714
+ centralOffice?: boolean | Prisma.CentralOfficeTeam$centralOfficeArgs<ExtArgs>
715
+ }
716
+ export type CentralOfficeTeamIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
717
+ centralOffice?: boolean | Prisma.CentralOfficeTeam$centralOfficeArgs<ExtArgs>
718
+ }
719
+
720
+ export type $CentralOfficeTeamPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
721
+ name: "CentralOfficeTeam"
722
+ objects: {
723
+ centralOffice: Prisma.$CentralOfficePayload<ExtArgs> | null
724
+ users: Prisma.$CentralOfficeUserPayload<ExtArgs>[]
725
+ }
726
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
727
+ id: string
728
+ no: number
729
+ name: string
730
+ createdAt: Date
731
+ updatedAt: Date
732
+ deletedAt: Date | null
733
+ centralOfficeId: string | null
734
+ }, ExtArgs["result"]["centralOfficeTeam"]>
735
+ composites: {}
736
+ }
737
+
738
+ export type CentralOfficeTeamGetPayload<S extends boolean | null | undefined | CentralOfficeTeamDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload, S>
739
+
740
+ export type CentralOfficeTeamCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
741
+ Omit<CentralOfficeTeamFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
742
+ select?: CentralOfficeTeamCountAggregateInputType | true
743
+ }
744
+
745
+ export interface CentralOfficeTeamDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
746
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CentralOfficeTeam'], meta: { name: 'CentralOfficeTeam' } }
747
+ /**
748
+ * Find zero or one CentralOfficeTeam that matches the filter.
749
+ * @param {CentralOfficeTeamFindUniqueArgs} args - Arguments to find a CentralOfficeTeam
750
+ * @example
751
+ * // Get one CentralOfficeTeam
752
+ * const centralOfficeTeam = await prisma.centralOfficeTeam.findUnique({
753
+ * where: {
754
+ * // ... provide filter here
755
+ * }
756
+ * })
757
+ */
758
+ findUnique<T extends CentralOfficeTeamFindUniqueArgs>(args: Prisma.SelectSubset<T, CentralOfficeTeamFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeTeamClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
759
+
760
+ /**
761
+ * Find one CentralOfficeTeam that matches the filter or throw an error with `error.code='P2025'`
762
+ * if no matches were found.
763
+ * @param {CentralOfficeTeamFindUniqueOrThrowArgs} args - Arguments to find a CentralOfficeTeam
764
+ * @example
765
+ * // Get one CentralOfficeTeam
766
+ * const centralOfficeTeam = await prisma.centralOfficeTeam.findUniqueOrThrow({
767
+ * where: {
768
+ * // ... provide filter here
769
+ * }
770
+ * })
771
+ */
772
+ findUniqueOrThrow<T extends CentralOfficeTeamFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CentralOfficeTeamFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeTeamClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
773
+
774
+ /**
775
+ * Find the first CentralOfficeTeam that matches the filter.
776
+ * Note, that providing `undefined` is treated as the value not being there.
777
+ * Read more here: https://pris.ly/d/null-undefined
778
+ * @param {CentralOfficeTeamFindFirstArgs} args - Arguments to find a CentralOfficeTeam
779
+ * @example
780
+ * // Get one CentralOfficeTeam
781
+ * const centralOfficeTeam = await prisma.centralOfficeTeam.findFirst({
782
+ * where: {
783
+ * // ... provide filter here
784
+ * }
785
+ * })
786
+ */
787
+ findFirst<T extends CentralOfficeTeamFindFirstArgs>(args?: Prisma.SelectSubset<T, CentralOfficeTeamFindFirstArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeTeamClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
788
+
789
+ /**
790
+ * Find the first CentralOfficeTeam that matches the filter or
791
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
792
+ * Note, that providing `undefined` is treated as the value not being there.
793
+ * Read more here: https://pris.ly/d/null-undefined
794
+ * @param {CentralOfficeTeamFindFirstOrThrowArgs} args - Arguments to find a CentralOfficeTeam
795
+ * @example
796
+ * // Get one CentralOfficeTeam
797
+ * const centralOfficeTeam = await prisma.centralOfficeTeam.findFirstOrThrow({
798
+ * where: {
799
+ * // ... provide filter here
800
+ * }
801
+ * })
802
+ */
803
+ findFirstOrThrow<T extends CentralOfficeTeamFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CentralOfficeTeamFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeTeamClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
804
+
805
+ /**
806
+ * Find zero or more CentralOfficeTeams that matches the filter.
807
+ * Note, that providing `undefined` is treated as the value not being there.
808
+ * Read more here: https://pris.ly/d/null-undefined
809
+ * @param {CentralOfficeTeamFindManyArgs} args - Arguments to filter and select certain fields only.
810
+ * @example
811
+ * // Get all CentralOfficeTeams
812
+ * const centralOfficeTeams = await prisma.centralOfficeTeam.findMany()
813
+ *
814
+ * // Get first 10 CentralOfficeTeams
815
+ * const centralOfficeTeams = await prisma.centralOfficeTeam.findMany({ take: 10 })
816
+ *
817
+ * // Only select the `id`
818
+ * const centralOfficeTeamWithIdOnly = await prisma.centralOfficeTeam.findMany({ select: { id: true } })
819
+ *
820
+ */
821
+ findMany<T extends CentralOfficeTeamFindManyArgs>(args?: Prisma.SelectSubset<T, CentralOfficeTeamFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
822
+
823
+ /**
824
+ * Create a CentralOfficeTeam.
825
+ * @param {CentralOfficeTeamCreateArgs} args - Arguments to create a CentralOfficeTeam.
826
+ * @example
827
+ * // Create one CentralOfficeTeam
828
+ * const CentralOfficeTeam = await prisma.centralOfficeTeam.create({
829
+ * data: {
830
+ * // ... data to create a CentralOfficeTeam
831
+ * }
832
+ * })
833
+ *
834
+ */
835
+ create<T extends CentralOfficeTeamCreateArgs>(args: Prisma.SelectSubset<T, CentralOfficeTeamCreateArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeTeamClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
836
+
837
+ /**
838
+ * Create many CentralOfficeTeams.
839
+ * @param {CentralOfficeTeamCreateManyArgs} args - Arguments to create many CentralOfficeTeams.
840
+ * @example
841
+ * // Create many CentralOfficeTeams
842
+ * const centralOfficeTeam = await prisma.centralOfficeTeam.createMany({
843
+ * data: [
844
+ * // ... provide data here
845
+ * ]
846
+ * })
847
+ *
848
+ */
849
+ createMany<T extends CentralOfficeTeamCreateManyArgs>(args?: Prisma.SelectSubset<T, CentralOfficeTeamCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
850
+
851
+ /**
852
+ * Create many CentralOfficeTeams and returns the data saved in the database.
853
+ * @param {CentralOfficeTeamCreateManyAndReturnArgs} args - Arguments to create many CentralOfficeTeams.
854
+ * @example
855
+ * // Create many CentralOfficeTeams
856
+ * const centralOfficeTeam = await prisma.centralOfficeTeam.createManyAndReturn({
857
+ * data: [
858
+ * // ... provide data here
859
+ * ]
860
+ * })
861
+ *
862
+ * // Create many CentralOfficeTeams and only return the `id`
863
+ * const centralOfficeTeamWithIdOnly = await prisma.centralOfficeTeam.createManyAndReturn({
864
+ * select: { id: true },
865
+ * data: [
866
+ * // ... provide data here
867
+ * ]
868
+ * })
869
+ * Note, that providing `undefined` is treated as the value not being there.
870
+ * Read more here: https://pris.ly/d/null-undefined
871
+ *
872
+ */
873
+ createManyAndReturn<T extends CentralOfficeTeamCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CentralOfficeTeamCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
874
+
875
+ /**
876
+ * Delete a CentralOfficeTeam.
877
+ * @param {CentralOfficeTeamDeleteArgs} args - Arguments to delete one CentralOfficeTeam.
878
+ * @example
879
+ * // Delete one CentralOfficeTeam
880
+ * const CentralOfficeTeam = await prisma.centralOfficeTeam.delete({
881
+ * where: {
882
+ * // ... filter to delete one CentralOfficeTeam
883
+ * }
884
+ * })
885
+ *
886
+ */
887
+ delete<T extends CentralOfficeTeamDeleteArgs>(args: Prisma.SelectSubset<T, CentralOfficeTeamDeleteArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeTeamClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
888
+
889
+ /**
890
+ * Update one CentralOfficeTeam.
891
+ * @param {CentralOfficeTeamUpdateArgs} args - Arguments to update one CentralOfficeTeam.
892
+ * @example
893
+ * // Update one CentralOfficeTeam
894
+ * const centralOfficeTeam = await prisma.centralOfficeTeam.update({
895
+ * where: {
896
+ * // ... provide filter here
897
+ * },
898
+ * data: {
899
+ * // ... provide data here
900
+ * }
901
+ * })
902
+ *
903
+ */
904
+ update<T extends CentralOfficeTeamUpdateArgs>(args: Prisma.SelectSubset<T, CentralOfficeTeamUpdateArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeTeamClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
905
+
906
+ /**
907
+ * Delete zero or more CentralOfficeTeams.
908
+ * @param {CentralOfficeTeamDeleteManyArgs} args - Arguments to filter CentralOfficeTeams to delete.
909
+ * @example
910
+ * // Delete a few CentralOfficeTeams
911
+ * const { count } = await prisma.centralOfficeTeam.deleteMany({
912
+ * where: {
913
+ * // ... provide filter here
914
+ * }
915
+ * })
916
+ *
917
+ */
918
+ deleteMany<T extends CentralOfficeTeamDeleteManyArgs>(args?: Prisma.SelectSubset<T, CentralOfficeTeamDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
919
+
920
+ /**
921
+ * Update zero or more CentralOfficeTeams.
922
+ * Note, that providing `undefined` is treated as the value not being there.
923
+ * Read more here: https://pris.ly/d/null-undefined
924
+ * @param {CentralOfficeTeamUpdateManyArgs} args - Arguments to update one or more rows.
925
+ * @example
926
+ * // Update many CentralOfficeTeams
927
+ * const centralOfficeTeam = await prisma.centralOfficeTeam.updateMany({
928
+ * where: {
929
+ * // ... provide filter here
930
+ * },
931
+ * data: {
932
+ * // ... provide data here
933
+ * }
934
+ * })
935
+ *
936
+ */
937
+ updateMany<T extends CentralOfficeTeamUpdateManyArgs>(args: Prisma.SelectSubset<T, CentralOfficeTeamUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
938
+
939
+ /**
940
+ * Update zero or more CentralOfficeTeams and returns the data updated in the database.
941
+ * @param {CentralOfficeTeamUpdateManyAndReturnArgs} args - Arguments to update many CentralOfficeTeams.
942
+ * @example
943
+ * // Update many CentralOfficeTeams
944
+ * const centralOfficeTeam = await prisma.centralOfficeTeam.updateManyAndReturn({
945
+ * where: {
946
+ * // ... provide filter here
947
+ * },
948
+ * data: [
949
+ * // ... provide data here
950
+ * ]
951
+ * })
952
+ *
953
+ * // Update zero or more CentralOfficeTeams and only return the `id`
954
+ * const centralOfficeTeamWithIdOnly = await prisma.centralOfficeTeam.updateManyAndReturn({
955
+ * select: { id: true },
956
+ * where: {
957
+ * // ... provide filter here
958
+ * },
959
+ * data: [
960
+ * // ... provide data here
961
+ * ]
962
+ * })
963
+ * Note, that providing `undefined` is treated as the value not being there.
964
+ * Read more here: https://pris.ly/d/null-undefined
965
+ *
966
+ */
967
+ updateManyAndReturn<T extends CentralOfficeTeamUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CentralOfficeTeamUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
968
+
969
+ /**
970
+ * Create or update one CentralOfficeTeam.
971
+ * @param {CentralOfficeTeamUpsertArgs} args - Arguments to update or create a CentralOfficeTeam.
972
+ * @example
973
+ * // Update or create a CentralOfficeTeam
974
+ * const centralOfficeTeam = await prisma.centralOfficeTeam.upsert({
975
+ * create: {
976
+ * // ... data to create a CentralOfficeTeam
977
+ * },
978
+ * update: {
979
+ * // ... in case it already exists, update
980
+ * },
981
+ * where: {
982
+ * // ... the filter for the CentralOfficeTeam we want to update
983
+ * }
984
+ * })
985
+ */
986
+ upsert<T extends CentralOfficeTeamUpsertArgs>(args: Prisma.SelectSubset<T, CentralOfficeTeamUpsertArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeTeamClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficeTeamPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
987
+
988
+
989
+ /**
990
+ * Count the number of CentralOfficeTeams.
991
+ * Note, that providing `undefined` is treated as the value not being there.
992
+ * Read more here: https://pris.ly/d/null-undefined
993
+ * @param {CentralOfficeTeamCountArgs} args - Arguments to filter CentralOfficeTeams to count.
994
+ * @example
995
+ * // Count the number of CentralOfficeTeams
996
+ * const count = await prisma.centralOfficeTeam.count({
997
+ * where: {
998
+ * // ... the filter for the CentralOfficeTeams we want to count
999
+ * }
1000
+ * })
1001
+ **/
1002
+ count<T extends CentralOfficeTeamCountArgs>(
1003
+ args?: Prisma.Subset<T, CentralOfficeTeamCountArgs>,
1004
+ ): Prisma.PrismaPromise<
1005
+ T extends runtime.Types.Utils.Record<'select', any>
1006
+ ? T['select'] extends true
1007
+ ? number
1008
+ : Prisma.GetScalarType<T['select'], CentralOfficeTeamCountAggregateOutputType>
1009
+ : number
1010
+ >
1011
+
1012
+ /**
1013
+ * Allows you to perform aggregations operations on a CentralOfficeTeam.
1014
+ * Note, that providing `undefined` is treated as the value not being there.
1015
+ * Read more here: https://pris.ly/d/null-undefined
1016
+ * @param {CentralOfficeTeamAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1017
+ * @example
1018
+ * // Ordered by age ascending
1019
+ * // Where email contains prisma.io
1020
+ * // Limited to the 10 users
1021
+ * const aggregations = await prisma.user.aggregate({
1022
+ * _avg: {
1023
+ * age: true,
1024
+ * },
1025
+ * where: {
1026
+ * email: {
1027
+ * contains: "prisma.io",
1028
+ * },
1029
+ * },
1030
+ * orderBy: {
1031
+ * age: "asc",
1032
+ * },
1033
+ * take: 10,
1034
+ * })
1035
+ **/
1036
+ aggregate<T extends CentralOfficeTeamAggregateArgs>(args: Prisma.Subset<T, CentralOfficeTeamAggregateArgs>): Prisma.PrismaPromise<GetCentralOfficeTeamAggregateType<T>>
1037
+
1038
+ /**
1039
+ * Group by CentralOfficeTeam.
1040
+ * Note, that providing `undefined` is treated as the value not being there.
1041
+ * Read more here: https://pris.ly/d/null-undefined
1042
+ * @param {CentralOfficeTeamGroupByArgs} args - Group by arguments.
1043
+ * @example
1044
+ * // Group by city, order by createdAt, get count
1045
+ * const result = await prisma.user.groupBy({
1046
+ * by: ['city', 'createdAt'],
1047
+ * orderBy: {
1048
+ * createdAt: true
1049
+ * },
1050
+ * _count: {
1051
+ * _all: true
1052
+ * },
1053
+ * })
1054
+ *
1055
+ **/
1056
+ groupBy<
1057
+ T extends CentralOfficeTeamGroupByArgs,
1058
+ HasSelectOrTake extends Prisma.Or<
1059
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1060
+ Prisma.Extends<'take', Prisma.Keys<T>>
1061
+ >,
1062
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1063
+ ? { orderBy: CentralOfficeTeamGroupByArgs['orderBy'] }
1064
+ : { orderBy?: CentralOfficeTeamGroupByArgs['orderBy'] },
1065
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1066
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1067
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1068
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1069
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1070
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1071
+ InputErrors extends ByEmpty extends Prisma.True
1072
+ ? `Error: "by" must not be empty.`
1073
+ : HavingValid extends Prisma.False
1074
+ ? {
1075
+ [P in HavingFields]: P extends ByFields
1076
+ ? never
1077
+ : P extends string
1078
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1079
+ : [
1080
+ Error,
1081
+ 'Field ',
1082
+ P,
1083
+ ` in "having" needs to be provided in "by"`,
1084
+ ]
1085
+ }[HavingFields]
1086
+ : 'take' extends Prisma.Keys<T>
1087
+ ? 'orderBy' extends Prisma.Keys<T>
1088
+ ? ByValid extends Prisma.True
1089
+ ? {}
1090
+ : {
1091
+ [P in OrderFields]: P extends ByFields
1092
+ ? never
1093
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1094
+ }[OrderFields]
1095
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1096
+ : 'skip' extends Prisma.Keys<T>
1097
+ ? 'orderBy' extends Prisma.Keys<T>
1098
+ ? ByValid extends Prisma.True
1099
+ ? {}
1100
+ : {
1101
+ [P in OrderFields]: P extends ByFields
1102
+ ? never
1103
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1104
+ }[OrderFields]
1105
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1106
+ : ByValid extends Prisma.True
1107
+ ? {}
1108
+ : {
1109
+ [P in OrderFields]: P extends ByFields
1110
+ ? never
1111
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1112
+ }[OrderFields]
1113
+ >(args: Prisma.SubsetIntersection<T, CentralOfficeTeamGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCentralOfficeTeamGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1114
+ /**
1115
+ * Fields of the CentralOfficeTeam model
1116
+ */
1117
+ readonly fields: CentralOfficeTeamFieldRefs;
1118
+ }
1119
+
1120
+ /**
1121
+ * The delegate class that acts as a "Promise-like" for CentralOfficeTeam.
1122
+ * Why is this prefixed with `Prisma__`?
1123
+ * Because we want to prevent naming conflicts as mentioned in
1124
+ * https://github.com/prisma/prisma-client-js/issues/707
1125
+ */
1126
+ export interface Prisma__CentralOfficeTeamClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1127
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1128
+ centralOffice<T extends Prisma.CentralOfficeTeam$centralOfficeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CentralOfficeTeam$centralOfficeArgs<ExtArgs>>): Prisma.Prisma__CentralOfficeClient<runtime.Types.Result.GetResult<Prisma.$CentralOfficePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1129
+ users<T extends Prisma.CentralOfficeTeam$usersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CentralOfficeTeam$usersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CentralOfficeUserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1130
+ /**
1131
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1132
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1133
+ * @param onrejected The callback to execute when the Promise is rejected.
1134
+ * @returns A Promise for the completion of which ever callback is executed.
1135
+ */
1136
+ 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>
1137
+ /**
1138
+ * Attaches a callback for only the rejection of the Promise.
1139
+ * @param onrejected The callback to execute when the Promise is rejected.
1140
+ * @returns A Promise for the completion of the callback.
1141
+ */
1142
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1143
+ /**
1144
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1145
+ * resolved value cannot be modified from the callback.
1146
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1147
+ * @returns A Promise for the completion of the callback.
1148
+ */
1149
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1150
+ }
1151
+
1152
+
1153
+
1154
+
1155
+ /**
1156
+ * Fields of the CentralOfficeTeam model
1157
+ */
1158
+ export interface CentralOfficeTeamFieldRefs {
1159
+ readonly id: Prisma.FieldRef<"CentralOfficeTeam", 'String'>
1160
+ readonly no: Prisma.FieldRef<"CentralOfficeTeam", 'Int'>
1161
+ readonly name: Prisma.FieldRef<"CentralOfficeTeam", 'String'>
1162
+ readonly createdAt: Prisma.FieldRef<"CentralOfficeTeam", 'DateTime'>
1163
+ readonly updatedAt: Prisma.FieldRef<"CentralOfficeTeam", 'DateTime'>
1164
+ readonly deletedAt: Prisma.FieldRef<"CentralOfficeTeam", 'DateTime'>
1165
+ readonly centralOfficeId: Prisma.FieldRef<"CentralOfficeTeam", 'String'>
1166
+ }
1167
+
1168
+
1169
+ // Custom InputTypes
1170
+ /**
1171
+ * CentralOfficeTeam findUnique
1172
+ */
1173
+ export type CentralOfficeTeamFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1174
+ /**
1175
+ * Select specific fields to fetch from the CentralOfficeTeam
1176
+ */
1177
+ select?: Prisma.CentralOfficeTeamSelect<ExtArgs> | null
1178
+ /**
1179
+ * Omit specific fields from the CentralOfficeTeam
1180
+ */
1181
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1182
+ /**
1183
+ * Choose, which related nodes to fetch as well
1184
+ */
1185
+ include?: Prisma.CentralOfficeTeamInclude<ExtArgs> | null
1186
+ /**
1187
+ * Filter, which CentralOfficeTeam to fetch.
1188
+ */
1189
+ where: Prisma.CentralOfficeTeamWhereUniqueInput
1190
+ }
1191
+
1192
+ /**
1193
+ * CentralOfficeTeam findUniqueOrThrow
1194
+ */
1195
+ export type CentralOfficeTeamFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1196
+ /**
1197
+ * Select specific fields to fetch from the CentralOfficeTeam
1198
+ */
1199
+ select?: Prisma.CentralOfficeTeamSelect<ExtArgs> | null
1200
+ /**
1201
+ * Omit specific fields from the CentralOfficeTeam
1202
+ */
1203
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1204
+ /**
1205
+ * Choose, which related nodes to fetch as well
1206
+ */
1207
+ include?: Prisma.CentralOfficeTeamInclude<ExtArgs> | null
1208
+ /**
1209
+ * Filter, which CentralOfficeTeam to fetch.
1210
+ */
1211
+ where: Prisma.CentralOfficeTeamWhereUniqueInput
1212
+ }
1213
+
1214
+ /**
1215
+ * CentralOfficeTeam findFirst
1216
+ */
1217
+ export type CentralOfficeTeamFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1218
+ /**
1219
+ * Select specific fields to fetch from the CentralOfficeTeam
1220
+ */
1221
+ select?: Prisma.CentralOfficeTeamSelect<ExtArgs> | null
1222
+ /**
1223
+ * Omit specific fields from the CentralOfficeTeam
1224
+ */
1225
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1226
+ /**
1227
+ * Choose, which related nodes to fetch as well
1228
+ */
1229
+ include?: Prisma.CentralOfficeTeamInclude<ExtArgs> | null
1230
+ /**
1231
+ * Filter, which CentralOfficeTeam to fetch.
1232
+ */
1233
+ where?: Prisma.CentralOfficeTeamWhereInput
1234
+ /**
1235
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1236
+ *
1237
+ * Determine the order of CentralOfficeTeams to fetch.
1238
+ */
1239
+ orderBy?: Prisma.CentralOfficeTeamOrderByWithRelationInput | Prisma.CentralOfficeTeamOrderByWithRelationInput[]
1240
+ /**
1241
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1242
+ *
1243
+ * Sets the position for searching for CentralOfficeTeams.
1244
+ */
1245
+ cursor?: Prisma.CentralOfficeTeamWhereUniqueInput
1246
+ /**
1247
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1248
+ *
1249
+ * Take `±n` CentralOfficeTeams from the position of the cursor.
1250
+ */
1251
+ take?: number
1252
+ /**
1253
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1254
+ *
1255
+ * Skip the first `n` CentralOfficeTeams.
1256
+ */
1257
+ skip?: number
1258
+ /**
1259
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1260
+ *
1261
+ * Filter by unique combinations of CentralOfficeTeams.
1262
+ */
1263
+ distinct?: Prisma.CentralOfficeTeamScalarFieldEnum | Prisma.CentralOfficeTeamScalarFieldEnum[]
1264
+ }
1265
+
1266
+ /**
1267
+ * CentralOfficeTeam findFirstOrThrow
1268
+ */
1269
+ export type CentralOfficeTeamFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1270
+ /**
1271
+ * Select specific fields to fetch from the CentralOfficeTeam
1272
+ */
1273
+ select?: Prisma.CentralOfficeTeamSelect<ExtArgs> | null
1274
+ /**
1275
+ * Omit specific fields from the CentralOfficeTeam
1276
+ */
1277
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1278
+ /**
1279
+ * Choose, which related nodes to fetch as well
1280
+ */
1281
+ include?: Prisma.CentralOfficeTeamInclude<ExtArgs> | null
1282
+ /**
1283
+ * Filter, which CentralOfficeTeam to fetch.
1284
+ */
1285
+ where?: Prisma.CentralOfficeTeamWhereInput
1286
+ /**
1287
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1288
+ *
1289
+ * Determine the order of CentralOfficeTeams to fetch.
1290
+ */
1291
+ orderBy?: Prisma.CentralOfficeTeamOrderByWithRelationInput | Prisma.CentralOfficeTeamOrderByWithRelationInput[]
1292
+ /**
1293
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1294
+ *
1295
+ * Sets the position for searching for CentralOfficeTeams.
1296
+ */
1297
+ cursor?: Prisma.CentralOfficeTeamWhereUniqueInput
1298
+ /**
1299
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1300
+ *
1301
+ * Take `±n` CentralOfficeTeams from the position of the cursor.
1302
+ */
1303
+ take?: number
1304
+ /**
1305
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1306
+ *
1307
+ * Skip the first `n` CentralOfficeTeams.
1308
+ */
1309
+ skip?: number
1310
+ /**
1311
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1312
+ *
1313
+ * Filter by unique combinations of CentralOfficeTeams.
1314
+ */
1315
+ distinct?: Prisma.CentralOfficeTeamScalarFieldEnum | Prisma.CentralOfficeTeamScalarFieldEnum[]
1316
+ }
1317
+
1318
+ /**
1319
+ * CentralOfficeTeam findMany
1320
+ */
1321
+ export type CentralOfficeTeamFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1322
+ /**
1323
+ * Select specific fields to fetch from the CentralOfficeTeam
1324
+ */
1325
+ select?: Prisma.CentralOfficeTeamSelect<ExtArgs> | null
1326
+ /**
1327
+ * Omit specific fields from the CentralOfficeTeam
1328
+ */
1329
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1330
+ /**
1331
+ * Choose, which related nodes to fetch as well
1332
+ */
1333
+ include?: Prisma.CentralOfficeTeamInclude<ExtArgs> | null
1334
+ /**
1335
+ * Filter, which CentralOfficeTeams to fetch.
1336
+ */
1337
+ where?: Prisma.CentralOfficeTeamWhereInput
1338
+ /**
1339
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1340
+ *
1341
+ * Determine the order of CentralOfficeTeams to fetch.
1342
+ */
1343
+ orderBy?: Prisma.CentralOfficeTeamOrderByWithRelationInput | Prisma.CentralOfficeTeamOrderByWithRelationInput[]
1344
+ /**
1345
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1346
+ *
1347
+ * Sets the position for listing CentralOfficeTeams.
1348
+ */
1349
+ cursor?: Prisma.CentralOfficeTeamWhereUniqueInput
1350
+ /**
1351
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1352
+ *
1353
+ * Take `±n` CentralOfficeTeams from the position of the cursor.
1354
+ */
1355
+ take?: number
1356
+ /**
1357
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1358
+ *
1359
+ * Skip the first `n` CentralOfficeTeams.
1360
+ */
1361
+ skip?: number
1362
+ distinct?: Prisma.CentralOfficeTeamScalarFieldEnum | Prisma.CentralOfficeTeamScalarFieldEnum[]
1363
+ }
1364
+
1365
+ /**
1366
+ * CentralOfficeTeam create
1367
+ */
1368
+ export type CentralOfficeTeamCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1369
+ /**
1370
+ * Select specific fields to fetch from the CentralOfficeTeam
1371
+ */
1372
+ select?: Prisma.CentralOfficeTeamSelect<ExtArgs> | null
1373
+ /**
1374
+ * Omit specific fields from the CentralOfficeTeam
1375
+ */
1376
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1377
+ /**
1378
+ * Choose, which related nodes to fetch as well
1379
+ */
1380
+ include?: Prisma.CentralOfficeTeamInclude<ExtArgs> | null
1381
+ /**
1382
+ * The data needed to create a CentralOfficeTeam.
1383
+ */
1384
+ data: Prisma.XOR<Prisma.CentralOfficeTeamCreateInput, Prisma.CentralOfficeTeamUncheckedCreateInput>
1385
+ }
1386
+
1387
+ /**
1388
+ * CentralOfficeTeam createMany
1389
+ */
1390
+ export type CentralOfficeTeamCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1391
+ /**
1392
+ * The data used to create many CentralOfficeTeams.
1393
+ */
1394
+ data: Prisma.CentralOfficeTeamCreateManyInput | Prisma.CentralOfficeTeamCreateManyInput[]
1395
+ skipDuplicates?: boolean
1396
+ }
1397
+
1398
+ /**
1399
+ * CentralOfficeTeam createManyAndReturn
1400
+ */
1401
+ export type CentralOfficeTeamCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1402
+ /**
1403
+ * Select specific fields to fetch from the CentralOfficeTeam
1404
+ */
1405
+ select?: Prisma.CentralOfficeTeamSelectCreateManyAndReturn<ExtArgs> | null
1406
+ /**
1407
+ * Omit specific fields from the CentralOfficeTeam
1408
+ */
1409
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1410
+ /**
1411
+ * The data used to create many CentralOfficeTeams.
1412
+ */
1413
+ data: Prisma.CentralOfficeTeamCreateManyInput | Prisma.CentralOfficeTeamCreateManyInput[]
1414
+ skipDuplicates?: boolean
1415
+ /**
1416
+ * Choose, which related nodes to fetch as well
1417
+ */
1418
+ include?: Prisma.CentralOfficeTeamIncludeCreateManyAndReturn<ExtArgs> | null
1419
+ }
1420
+
1421
+ /**
1422
+ * CentralOfficeTeam update
1423
+ */
1424
+ export type CentralOfficeTeamUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1425
+ /**
1426
+ * Select specific fields to fetch from the CentralOfficeTeam
1427
+ */
1428
+ select?: Prisma.CentralOfficeTeamSelect<ExtArgs> | null
1429
+ /**
1430
+ * Omit specific fields from the CentralOfficeTeam
1431
+ */
1432
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1433
+ /**
1434
+ * Choose, which related nodes to fetch as well
1435
+ */
1436
+ include?: Prisma.CentralOfficeTeamInclude<ExtArgs> | null
1437
+ /**
1438
+ * The data needed to update a CentralOfficeTeam.
1439
+ */
1440
+ data: Prisma.XOR<Prisma.CentralOfficeTeamUpdateInput, Prisma.CentralOfficeTeamUncheckedUpdateInput>
1441
+ /**
1442
+ * Choose, which CentralOfficeTeam to update.
1443
+ */
1444
+ where: Prisma.CentralOfficeTeamWhereUniqueInput
1445
+ }
1446
+
1447
+ /**
1448
+ * CentralOfficeTeam updateMany
1449
+ */
1450
+ export type CentralOfficeTeamUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1451
+ /**
1452
+ * The data used to update CentralOfficeTeams.
1453
+ */
1454
+ data: Prisma.XOR<Prisma.CentralOfficeTeamUpdateManyMutationInput, Prisma.CentralOfficeTeamUncheckedUpdateManyInput>
1455
+ /**
1456
+ * Filter which CentralOfficeTeams to update
1457
+ */
1458
+ where?: Prisma.CentralOfficeTeamWhereInput
1459
+ /**
1460
+ * Limit how many CentralOfficeTeams to update.
1461
+ */
1462
+ limit?: number
1463
+ }
1464
+
1465
+ /**
1466
+ * CentralOfficeTeam updateManyAndReturn
1467
+ */
1468
+ export type CentralOfficeTeamUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1469
+ /**
1470
+ * Select specific fields to fetch from the CentralOfficeTeam
1471
+ */
1472
+ select?: Prisma.CentralOfficeTeamSelectUpdateManyAndReturn<ExtArgs> | null
1473
+ /**
1474
+ * Omit specific fields from the CentralOfficeTeam
1475
+ */
1476
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1477
+ /**
1478
+ * The data used to update CentralOfficeTeams.
1479
+ */
1480
+ data: Prisma.XOR<Prisma.CentralOfficeTeamUpdateManyMutationInput, Prisma.CentralOfficeTeamUncheckedUpdateManyInput>
1481
+ /**
1482
+ * Filter which CentralOfficeTeams to update
1483
+ */
1484
+ where?: Prisma.CentralOfficeTeamWhereInput
1485
+ /**
1486
+ * Limit how many CentralOfficeTeams to update.
1487
+ */
1488
+ limit?: number
1489
+ /**
1490
+ * Choose, which related nodes to fetch as well
1491
+ */
1492
+ include?: Prisma.CentralOfficeTeamIncludeUpdateManyAndReturn<ExtArgs> | null
1493
+ }
1494
+
1495
+ /**
1496
+ * CentralOfficeTeam upsert
1497
+ */
1498
+ export type CentralOfficeTeamUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1499
+ /**
1500
+ * Select specific fields to fetch from the CentralOfficeTeam
1501
+ */
1502
+ select?: Prisma.CentralOfficeTeamSelect<ExtArgs> | null
1503
+ /**
1504
+ * Omit specific fields from the CentralOfficeTeam
1505
+ */
1506
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1507
+ /**
1508
+ * Choose, which related nodes to fetch as well
1509
+ */
1510
+ include?: Prisma.CentralOfficeTeamInclude<ExtArgs> | null
1511
+ /**
1512
+ * The filter to search for the CentralOfficeTeam to update in case it exists.
1513
+ */
1514
+ where: Prisma.CentralOfficeTeamWhereUniqueInput
1515
+ /**
1516
+ * In case the CentralOfficeTeam found by the `where` argument doesn't exist, create a new CentralOfficeTeam with this data.
1517
+ */
1518
+ create: Prisma.XOR<Prisma.CentralOfficeTeamCreateInput, Prisma.CentralOfficeTeamUncheckedCreateInput>
1519
+ /**
1520
+ * In case the CentralOfficeTeam was found with the provided `where` argument, update it with this data.
1521
+ */
1522
+ update: Prisma.XOR<Prisma.CentralOfficeTeamUpdateInput, Prisma.CentralOfficeTeamUncheckedUpdateInput>
1523
+ }
1524
+
1525
+ /**
1526
+ * CentralOfficeTeam delete
1527
+ */
1528
+ export type CentralOfficeTeamDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1529
+ /**
1530
+ * Select specific fields to fetch from the CentralOfficeTeam
1531
+ */
1532
+ select?: Prisma.CentralOfficeTeamSelect<ExtArgs> | null
1533
+ /**
1534
+ * Omit specific fields from the CentralOfficeTeam
1535
+ */
1536
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1537
+ /**
1538
+ * Choose, which related nodes to fetch as well
1539
+ */
1540
+ include?: Prisma.CentralOfficeTeamInclude<ExtArgs> | null
1541
+ /**
1542
+ * Filter which CentralOfficeTeam to delete.
1543
+ */
1544
+ where: Prisma.CentralOfficeTeamWhereUniqueInput
1545
+ }
1546
+
1547
+ /**
1548
+ * CentralOfficeTeam deleteMany
1549
+ */
1550
+ export type CentralOfficeTeamDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1551
+ /**
1552
+ * Filter which CentralOfficeTeams to delete
1553
+ */
1554
+ where?: Prisma.CentralOfficeTeamWhereInput
1555
+ /**
1556
+ * Limit how many CentralOfficeTeams to delete.
1557
+ */
1558
+ limit?: number
1559
+ }
1560
+
1561
+ /**
1562
+ * CentralOfficeTeam.centralOffice
1563
+ */
1564
+ export type CentralOfficeTeam$centralOfficeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1565
+ /**
1566
+ * Select specific fields to fetch from the CentralOffice
1567
+ */
1568
+ select?: Prisma.CentralOfficeSelect<ExtArgs> | null
1569
+ /**
1570
+ * Omit specific fields from the CentralOffice
1571
+ */
1572
+ omit?: Prisma.CentralOfficeOmit<ExtArgs> | null
1573
+ /**
1574
+ * Choose, which related nodes to fetch as well
1575
+ */
1576
+ include?: Prisma.CentralOfficeInclude<ExtArgs> | null
1577
+ where?: Prisma.CentralOfficeWhereInput
1578
+ }
1579
+
1580
+ /**
1581
+ * CentralOfficeTeam.users
1582
+ */
1583
+ export type CentralOfficeTeam$usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1584
+ /**
1585
+ * Select specific fields to fetch from the CentralOfficeUser
1586
+ */
1587
+ select?: Prisma.CentralOfficeUserSelect<ExtArgs> | null
1588
+ /**
1589
+ * Omit specific fields from the CentralOfficeUser
1590
+ */
1591
+ omit?: Prisma.CentralOfficeUserOmit<ExtArgs> | null
1592
+ /**
1593
+ * Choose, which related nodes to fetch as well
1594
+ */
1595
+ include?: Prisma.CentralOfficeUserInclude<ExtArgs> | null
1596
+ where?: Prisma.CentralOfficeUserWhereInput
1597
+ orderBy?: Prisma.CentralOfficeUserOrderByWithRelationInput | Prisma.CentralOfficeUserOrderByWithRelationInput[]
1598
+ cursor?: Prisma.CentralOfficeUserWhereUniqueInput
1599
+ take?: number
1600
+ skip?: number
1601
+ distinct?: Prisma.CentralOfficeUserScalarFieldEnum | Prisma.CentralOfficeUserScalarFieldEnum[]
1602
+ }
1603
+
1604
+ /**
1605
+ * CentralOfficeTeam without action
1606
+ */
1607
+ export type CentralOfficeTeamDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1608
+ /**
1609
+ * Select specific fields to fetch from the CentralOfficeTeam
1610
+ */
1611
+ select?: Prisma.CentralOfficeTeamSelect<ExtArgs> | null
1612
+ /**
1613
+ * Omit specific fields from the CentralOfficeTeam
1614
+ */
1615
+ omit?: Prisma.CentralOfficeTeamOmit<ExtArgs> | null
1616
+ /**
1617
+ * Choose, which related nodes to fetch as well
1618
+ */
1619
+ include?: Prisma.CentralOfficeTeamInclude<ExtArgs> | null
1620
+ }