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