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