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