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