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