@allbluecn/database 0.4.0 → 0.4.1

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