@allbluecn/database 0.4.0 → 0.4.2

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,1377 @@
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
+ }
408
+
409
+ export type PasswordResetTokenUpsertWithWhereUniqueWithoutUserInput = {
410
+ where: Prisma.PasswordResetTokenWhereUniqueInput
411
+ update: Prisma.XOR<Prisma.PasswordResetTokenUpdateWithoutUserInput, Prisma.PasswordResetTokenUncheckedUpdateWithoutUserInput>
412
+ create: Prisma.XOR<Prisma.PasswordResetTokenCreateWithoutUserInput, Prisma.PasswordResetTokenUncheckedCreateWithoutUserInput>
413
+ }
414
+
415
+ export type PasswordResetTokenUpdateWithWhereUniqueWithoutUserInput = {
416
+ where: Prisma.PasswordResetTokenWhereUniqueInput
417
+ data: Prisma.XOR<Prisma.PasswordResetTokenUpdateWithoutUserInput, Prisma.PasswordResetTokenUncheckedUpdateWithoutUserInput>
418
+ }
419
+
420
+ export type PasswordResetTokenUpdateManyWithWhereWithoutUserInput = {
421
+ where: Prisma.PasswordResetTokenScalarWhereInput
422
+ data: Prisma.XOR<Prisma.PasswordResetTokenUpdateManyMutationInput, Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserInput>
423
+ }
424
+
425
+ export type PasswordResetTokenScalarWhereInput = {
426
+ AND?: Prisma.PasswordResetTokenScalarWhereInput | Prisma.PasswordResetTokenScalarWhereInput[]
427
+ OR?: Prisma.PasswordResetTokenScalarWhereInput[]
428
+ NOT?: Prisma.PasswordResetTokenScalarWhereInput | Prisma.PasswordResetTokenScalarWhereInput[]
429
+ id?: Prisma.StringFilter<"PasswordResetToken"> | string
430
+ token?: Prisma.StringFilter<"PasswordResetToken"> | string
431
+ userId?: Prisma.StringFilter<"PasswordResetToken"> | string
432
+ expiresAt?: Prisma.DateTimeFilter<"PasswordResetToken"> | Date | string
433
+ usedAt?: Prisma.DateTimeNullableFilter<"PasswordResetToken"> | Date | string | null
434
+ createdAt?: Prisma.DateTimeFilter<"PasswordResetToken"> | Date | string
435
+ }
436
+
437
+ export type PasswordResetTokenCreateManyUserInput = {
438
+ id?: string
439
+ token: string
440
+ expiresAt: Date | string
441
+ usedAt?: Date | string | null
442
+ createdAt?: Date | string
443
+ }
444
+
445
+ export type PasswordResetTokenUpdateWithoutUserInput = {
446
+ id?: Prisma.StringFieldUpdateOperationsInput | string
447
+ token?: Prisma.StringFieldUpdateOperationsInput | string
448
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
449
+ usedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
450
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
451
+ }
452
+
453
+ export type PasswordResetTokenUncheckedUpdateWithoutUserInput = {
454
+ id?: Prisma.StringFieldUpdateOperationsInput | string
455
+ token?: 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 PasswordResetTokenUncheckedUpdateManyWithoutUserInput = {
462
+ id?: Prisma.StringFieldUpdateOperationsInput | string
463
+ token?: 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
+
470
+
471
+ export type PasswordResetTokenSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
472
+ id?: boolean
473
+ token?: boolean
474
+ userId?: boolean
475
+ expiresAt?: boolean
476
+ usedAt?: boolean
477
+ createdAt?: boolean
478
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
479
+ }, ExtArgs["result"]["passwordResetToken"]>
480
+
481
+ export type PasswordResetTokenSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
482
+ id?: boolean
483
+ token?: boolean
484
+ userId?: boolean
485
+ expiresAt?: boolean
486
+ usedAt?: boolean
487
+ createdAt?: boolean
488
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
489
+ }, ExtArgs["result"]["passwordResetToken"]>
490
+
491
+ export type PasswordResetTokenSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
492
+ id?: boolean
493
+ token?: boolean
494
+ userId?: boolean
495
+ expiresAt?: boolean
496
+ usedAt?: boolean
497
+ createdAt?: boolean
498
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
499
+ }, ExtArgs["result"]["passwordResetToken"]>
500
+
501
+ export type PasswordResetTokenSelectScalar = {
502
+ id?: boolean
503
+ token?: boolean
504
+ userId?: boolean
505
+ expiresAt?: boolean
506
+ usedAt?: boolean
507
+ createdAt?: boolean
508
+ }
509
+
510
+ 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"]>
511
+ export type PasswordResetTokenInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
512
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
513
+ }
514
+ export type PasswordResetTokenIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
515
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
516
+ }
517
+ export type PasswordResetTokenIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
518
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
519
+ }
520
+
521
+ export type $PasswordResetTokenPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
522
+ name: "PasswordResetToken"
523
+ objects: {
524
+ user: Prisma.$UserPayload<ExtArgs>
525
+ }
526
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
527
+ id: string
528
+ token: string
529
+ userId: string
530
+ expiresAt: Date
531
+ usedAt: Date | null
532
+ createdAt: Date
533
+ }, ExtArgs["result"]["passwordResetToken"]>
534
+ composites: {}
535
+ }
536
+
537
+ export type PasswordResetTokenGetPayload<S extends boolean | null | undefined | PasswordResetTokenDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PasswordResetTokenPayload, S>
538
+
539
+ export type PasswordResetTokenCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
540
+ Omit<PasswordResetTokenFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
541
+ select?: PasswordResetTokenCountAggregateInputType | true
542
+ }
543
+
544
+ export interface PasswordResetTokenDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
545
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PasswordResetToken'], meta: { name: 'PasswordResetToken' } }
546
+ /**
547
+ * Find zero or one PasswordResetToken that matches the filter.
548
+ * @param {PasswordResetTokenFindUniqueArgs} args - Arguments to find a PasswordResetToken
549
+ * @example
550
+ * // Get one PasswordResetToken
551
+ * const passwordResetToken = await prisma.passwordResetToken.findUnique({
552
+ * where: {
553
+ * // ... provide filter here
554
+ * }
555
+ * })
556
+ */
557
+ 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>
558
+
559
+ /**
560
+ * Find one PasswordResetToken that matches the filter or throw an error with `error.code='P2025'`
561
+ * if no matches were found.
562
+ * @param {PasswordResetTokenFindUniqueOrThrowArgs} args - Arguments to find a PasswordResetToken
563
+ * @example
564
+ * // Get one PasswordResetToken
565
+ * const passwordResetToken = await prisma.passwordResetToken.findUniqueOrThrow({
566
+ * where: {
567
+ * // ... provide filter here
568
+ * }
569
+ * })
570
+ */
571
+ 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>
572
+
573
+ /**
574
+ * Find the first PasswordResetToken that matches the filter.
575
+ * Note, that providing `undefined` is treated as the value not being there.
576
+ * Read more here: https://pris.ly/d/null-undefined
577
+ * @param {PasswordResetTokenFindFirstArgs} args - Arguments to find a PasswordResetToken
578
+ * @example
579
+ * // Get one PasswordResetToken
580
+ * const passwordResetToken = await prisma.passwordResetToken.findFirst({
581
+ * where: {
582
+ * // ... provide filter here
583
+ * }
584
+ * })
585
+ */
586
+ 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>
587
+
588
+ /**
589
+ * Find the first PasswordResetToken that matches the filter or
590
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
591
+ * Note, that providing `undefined` is treated as the value not being there.
592
+ * Read more here: https://pris.ly/d/null-undefined
593
+ * @param {PasswordResetTokenFindFirstOrThrowArgs} args - Arguments to find a PasswordResetToken
594
+ * @example
595
+ * // Get one PasswordResetToken
596
+ * const passwordResetToken = await prisma.passwordResetToken.findFirstOrThrow({
597
+ * where: {
598
+ * // ... provide filter here
599
+ * }
600
+ * })
601
+ */
602
+ 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>
603
+
604
+ /**
605
+ * Find zero or more PasswordResetTokens that matches the filter.
606
+ * Note, that providing `undefined` is treated as the value not being there.
607
+ * Read more here: https://pris.ly/d/null-undefined
608
+ * @param {PasswordResetTokenFindManyArgs} args - Arguments to filter and select certain fields only.
609
+ * @example
610
+ * // Get all PasswordResetTokens
611
+ * const passwordResetTokens = await prisma.passwordResetToken.findMany()
612
+ *
613
+ * // Get first 10 PasswordResetTokens
614
+ * const passwordResetTokens = await prisma.passwordResetToken.findMany({ take: 10 })
615
+ *
616
+ * // Only select the `id`
617
+ * const passwordResetTokenWithIdOnly = await prisma.passwordResetToken.findMany({ select: { id: true } })
618
+ *
619
+ */
620
+ findMany<T extends PasswordResetTokenFindManyArgs>(args?: Prisma.SelectSubset<T, PasswordResetTokenFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PasswordResetTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
621
+
622
+ /**
623
+ * Create a PasswordResetToken.
624
+ * @param {PasswordResetTokenCreateArgs} args - Arguments to create a PasswordResetToken.
625
+ * @example
626
+ * // Create one PasswordResetToken
627
+ * const PasswordResetToken = await prisma.passwordResetToken.create({
628
+ * data: {
629
+ * // ... data to create a PasswordResetToken
630
+ * }
631
+ * })
632
+ *
633
+ */
634
+ 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>
635
+
636
+ /**
637
+ * Create many PasswordResetTokens.
638
+ * @param {PasswordResetTokenCreateManyArgs} args - Arguments to create many PasswordResetTokens.
639
+ * @example
640
+ * // Create many PasswordResetTokens
641
+ * const passwordResetToken = await prisma.passwordResetToken.createMany({
642
+ * data: [
643
+ * // ... provide data here
644
+ * ]
645
+ * })
646
+ *
647
+ */
648
+ createMany<T extends PasswordResetTokenCreateManyArgs>(args?: Prisma.SelectSubset<T, PasswordResetTokenCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
649
+
650
+ /**
651
+ * Create many PasswordResetTokens and returns the data saved in the database.
652
+ * @param {PasswordResetTokenCreateManyAndReturnArgs} args - Arguments to create many PasswordResetTokens.
653
+ * @example
654
+ * // Create many PasswordResetTokens
655
+ * const passwordResetToken = await prisma.passwordResetToken.createManyAndReturn({
656
+ * data: [
657
+ * // ... provide data here
658
+ * ]
659
+ * })
660
+ *
661
+ * // Create many PasswordResetTokens and only return the `id`
662
+ * const passwordResetTokenWithIdOnly = await prisma.passwordResetToken.createManyAndReturn({
663
+ * select: { id: true },
664
+ * data: [
665
+ * // ... provide data here
666
+ * ]
667
+ * })
668
+ * Note, that providing `undefined` is treated as the value not being there.
669
+ * Read more here: https://pris.ly/d/null-undefined
670
+ *
671
+ */
672
+ createManyAndReturn<T extends PasswordResetTokenCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PasswordResetTokenCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PasswordResetTokenPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
673
+
674
+ /**
675
+ * Delete a PasswordResetToken.
676
+ * @param {PasswordResetTokenDeleteArgs} args - Arguments to delete one PasswordResetToken.
677
+ * @example
678
+ * // Delete one PasswordResetToken
679
+ * const PasswordResetToken = await prisma.passwordResetToken.delete({
680
+ * where: {
681
+ * // ... filter to delete one PasswordResetToken
682
+ * }
683
+ * })
684
+ *
685
+ */
686
+ 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>
687
+
688
+ /**
689
+ * Update one PasswordResetToken.
690
+ * @param {PasswordResetTokenUpdateArgs} args - Arguments to update one PasswordResetToken.
691
+ * @example
692
+ * // Update one PasswordResetToken
693
+ * const passwordResetToken = await prisma.passwordResetToken.update({
694
+ * where: {
695
+ * // ... provide filter here
696
+ * },
697
+ * data: {
698
+ * // ... provide data here
699
+ * }
700
+ * })
701
+ *
702
+ */
703
+ 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>
704
+
705
+ /**
706
+ * Delete zero or more PasswordResetTokens.
707
+ * @param {PasswordResetTokenDeleteManyArgs} args - Arguments to filter PasswordResetTokens to delete.
708
+ * @example
709
+ * // Delete a few PasswordResetTokens
710
+ * const { count } = await prisma.passwordResetToken.deleteMany({
711
+ * where: {
712
+ * // ... provide filter here
713
+ * }
714
+ * })
715
+ *
716
+ */
717
+ deleteMany<T extends PasswordResetTokenDeleteManyArgs>(args?: Prisma.SelectSubset<T, PasswordResetTokenDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
718
+
719
+ /**
720
+ * Update zero or more PasswordResetTokens.
721
+ * Note, that providing `undefined` is treated as the value not being there.
722
+ * Read more here: https://pris.ly/d/null-undefined
723
+ * @param {PasswordResetTokenUpdateManyArgs} args - Arguments to update one or more rows.
724
+ * @example
725
+ * // Update many PasswordResetTokens
726
+ * const passwordResetToken = await prisma.passwordResetToken.updateMany({
727
+ * where: {
728
+ * // ... provide filter here
729
+ * },
730
+ * data: {
731
+ * // ... provide data here
732
+ * }
733
+ * })
734
+ *
735
+ */
736
+ updateMany<T extends PasswordResetTokenUpdateManyArgs>(args: Prisma.SelectSubset<T, PasswordResetTokenUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
737
+
738
+ /**
739
+ * Update zero or more PasswordResetTokens and returns the data updated in the database.
740
+ * @param {PasswordResetTokenUpdateManyAndReturnArgs} args - Arguments to update many PasswordResetTokens.
741
+ * @example
742
+ * // Update many PasswordResetTokens
743
+ * const passwordResetToken = await prisma.passwordResetToken.updateManyAndReturn({
744
+ * where: {
745
+ * // ... provide filter here
746
+ * },
747
+ * data: [
748
+ * // ... provide data here
749
+ * ]
750
+ * })
751
+ *
752
+ * // Update zero or more PasswordResetTokens and only return the `id`
753
+ * const passwordResetTokenWithIdOnly = await prisma.passwordResetToken.updateManyAndReturn({
754
+ * select: { id: true },
755
+ * where: {
756
+ * // ... provide filter here
757
+ * },
758
+ * data: [
759
+ * // ... provide data here
760
+ * ]
761
+ * })
762
+ * Note, that providing `undefined` is treated as the value not being there.
763
+ * Read more here: https://pris.ly/d/null-undefined
764
+ *
765
+ */
766
+ updateManyAndReturn<T extends PasswordResetTokenUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PasswordResetTokenUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PasswordResetTokenPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
767
+
768
+ /**
769
+ * Create or update one PasswordResetToken.
770
+ * @param {PasswordResetTokenUpsertArgs} args - Arguments to update or create a PasswordResetToken.
771
+ * @example
772
+ * // Update or create a PasswordResetToken
773
+ * const passwordResetToken = await prisma.passwordResetToken.upsert({
774
+ * create: {
775
+ * // ... data to create a PasswordResetToken
776
+ * },
777
+ * update: {
778
+ * // ... in case it already exists, update
779
+ * },
780
+ * where: {
781
+ * // ... the filter for the PasswordResetToken we want to update
782
+ * }
783
+ * })
784
+ */
785
+ 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>
786
+
787
+
788
+ /**
789
+ * Count the number of PasswordResetTokens.
790
+ * Note, that providing `undefined` is treated as the value not being there.
791
+ * Read more here: https://pris.ly/d/null-undefined
792
+ * @param {PasswordResetTokenCountArgs} args - Arguments to filter PasswordResetTokens to count.
793
+ * @example
794
+ * // Count the number of PasswordResetTokens
795
+ * const count = await prisma.passwordResetToken.count({
796
+ * where: {
797
+ * // ... the filter for the PasswordResetTokens we want to count
798
+ * }
799
+ * })
800
+ **/
801
+ count<T extends PasswordResetTokenCountArgs>(
802
+ args?: Prisma.Subset<T, PasswordResetTokenCountArgs>,
803
+ ): Prisma.PrismaPromise<
804
+ T extends runtime.Types.Utils.Record<'select', any>
805
+ ? T['select'] extends true
806
+ ? number
807
+ : Prisma.GetScalarType<T['select'], PasswordResetTokenCountAggregateOutputType>
808
+ : number
809
+ >
810
+
811
+ /**
812
+ * Allows you to perform aggregations operations on a PasswordResetToken.
813
+ * Note, that providing `undefined` is treated as the value not being there.
814
+ * Read more here: https://pris.ly/d/null-undefined
815
+ * @param {PasswordResetTokenAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
816
+ * @example
817
+ * // Ordered by age ascending
818
+ * // Where email contains prisma.io
819
+ * // Limited to the 10 users
820
+ * const aggregations = await prisma.user.aggregate({
821
+ * _avg: {
822
+ * age: true,
823
+ * },
824
+ * where: {
825
+ * email: {
826
+ * contains: "prisma.io",
827
+ * },
828
+ * },
829
+ * orderBy: {
830
+ * age: "asc",
831
+ * },
832
+ * take: 10,
833
+ * })
834
+ **/
835
+ aggregate<T extends PasswordResetTokenAggregateArgs>(args: Prisma.Subset<T, PasswordResetTokenAggregateArgs>): Prisma.PrismaPromise<GetPasswordResetTokenAggregateType<T>>
836
+
837
+ /**
838
+ * Group by PasswordResetToken.
839
+ * Note, that providing `undefined` is treated as the value not being there.
840
+ * Read more here: https://pris.ly/d/null-undefined
841
+ * @param {PasswordResetTokenGroupByArgs} args - Group by arguments.
842
+ * @example
843
+ * // Group by city, order by createdAt, get count
844
+ * const result = await prisma.user.groupBy({
845
+ * by: ['city', 'createdAt'],
846
+ * orderBy: {
847
+ * createdAt: true
848
+ * },
849
+ * _count: {
850
+ * _all: true
851
+ * },
852
+ * })
853
+ *
854
+ **/
855
+ groupBy<
856
+ T extends PasswordResetTokenGroupByArgs,
857
+ HasSelectOrTake extends Prisma.Or<
858
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
859
+ Prisma.Extends<'take', Prisma.Keys<T>>
860
+ >,
861
+ OrderByArg extends Prisma.True extends HasSelectOrTake
862
+ ? { orderBy: PasswordResetTokenGroupByArgs['orderBy'] }
863
+ : { orderBy?: PasswordResetTokenGroupByArgs['orderBy'] },
864
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
865
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
866
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
867
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
868
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
869
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
870
+ InputErrors extends ByEmpty extends Prisma.True
871
+ ? `Error: "by" must not be empty.`
872
+ : HavingValid extends Prisma.False
873
+ ? {
874
+ [P in HavingFields]: P extends ByFields
875
+ ? never
876
+ : P extends string
877
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
878
+ : [
879
+ Error,
880
+ 'Field ',
881
+ P,
882
+ ` in "having" needs to be provided in "by"`,
883
+ ]
884
+ }[HavingFields]
885
+ : 'take' extends Prisma.Keys<T>
886
+ ? 'orderBy' extends Prisma.Keys<T>
887
+ ? ByValid extends Prisma.True
888
+ ? {}
889
+ : {
890
+ [P in OrderFields]: P extends ByFields
891
+ ? never
892
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
893
+ }[OrderFields]
894
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
895
+ : 'skip' extends Prisma.Keys<T>
896
+ ? 'orderBy' extends Prisma.Keys<T>
897
+ ? ByValid extends Prisma.True
898
+ ? {}
899
+ : {
900
+ [P in OrderFields]: P extends ByFields
901
+ ? never
902
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
903
+ }[OrderFields]
904
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
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
+ >(args: Prisma.SubsetIntersection<T, PasswordResetTokenGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPasswordResetTokenGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
913
+ /**
914
+ * Fields of the PasswordResetToken model
915
+ */
916
+ readonly fields: PasswordResetTokenFieldRefs;
917
+ }
918
+
919
+ /**
920
+ * The delegate class that acts as a "Promise-like" for PasswordResetToken.
921
+ * Why is this prefixed with `Prisma__`?
922
+ * Because we want to prevent naming conflicts as mentioned in
923
+ * https://github.com/prisma/prisma-client-js/issues/707
924
+ */
925
+ export interface Prisma__PasswordResetTokenClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
926
+ readonly [Symbol.toStringTag]: "PrismaPromise"
927
+ 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>
928
+ /**
929
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
930
+ * @param onfulfilled The callback to execute when the Promise is resolved.
931
+ * @param onrejected The callback to execute when the Promise is rejected.
932
+ * @returns A Promise for the completion of which ever callback is executed.
933
+ */
934
+ 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>
935
+ /**
936
+ * Attaches a callback for only the rejection of the Promise.
937
+ * @param onrejected The callback to execute when the Promise is rejected.
938
+ * @returns A Promise for the completion of the callback.
939
+ */
940
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
941
+ /**
942
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
943
+ * resolved value cannot be modified from the callback.
944
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
945
+ * @returns A Promise for the completion of the callback.
946
+ */
947
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
948
+ }
949
+
950
+
951
+
952
+
953
+ /**
954
+ * Fields of the PasswordResetToken model
955
+ */
956
+ export interface PasswordResetTokenFieldRefs {
957
+ readonly id: Prisma.FieldRef<"PasswordResetToken", 'String'>
958
+ readonly token: Prisma.FieldRef<"PasswordResetToken", 'String'>
959
+ readonly userId: Prisma.FieldRef<"PasswordResetToken", 'String'>
960
+ readonly expiresAt: Prisma.FieldRef<"PasswordResetToken", 'DateTime'>
961
+ readonly usedAt: Prisma.FieldRef<"PasswordResetToken", 'DateTime'>
962
+ readonly createdAt: Prisma.FieldRef<"PasswordResetToken", 'DateTime'>
963
+ }
964
+
965
+
966
+ // Custom InputTypes
967
+ /**
968
+ * PasswordResetToken findUnique
969
+ */
970
+ export type PasswordResetTokenFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
971
+ /**
972
+ * Select specific fields to fetch from the PasswordResetToken
973
+ */
974
+ select?: Prisma.PasswordResetTokenSelect<ExtArgs> | null
975
+ /**
976
+ * Omit specific fields from the PasswordResetToken
977
+ */
978
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
979
+ /**
980
+ * Choose, which related nodes to fetch as well
981
+ */
982
+ include?: Prisma.PasswordResetTokenInclude<ExtArgs> | null
983
+ /**
984
+ * Filter, which PasswordResetToken to fetch.
985
+ */
986
+ where: Prisma.PasswordResetTokenWhereUniqueInput
987
+ }
988
+
989
+ /**
990
+ * PasswordResetToken findUniqueOrThrow
991
+ */
992
+ export type PasswordResetTokenFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
993
+ /**
994
+ * Select specific fields to fetch from the PasswordResetToken
995
+ */
996
+ select?: Prisma.PasswordResetTokenSelect<ExtArgs> | null
997
+ /**
998
+ * Omit specific fields from the PasswordResetToken
999
+ */
1000
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
1001
+ /**
1002
+ * Choose, which related nodes to fetch as well
1003
+ */
1004
+ include?: Prisma.PasswordResetTokenInclude<ExtArgs> | null
1005
+ /**
1006
+ * Filter, which PasswordResetToken to fetch.
1007
+ */
1008
+ where: Prisma.PasswordResetTokenWhereUniqueInput
1009
+ }
1010
+
1011
+ /**
1012
+ * PasswordResetToken findFirst
1013
+ */
1014
+ export type PasswordResetTokenFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1015
+ /**
1016
+ * Select specific fields to fetch from the PasswordResetToken
1017
+ */
1018
+ select?: Prisma.PasswordResetTokenSelect<ExtArgs> | null
1019
+ /**
1020
+ * Omit specific fields from the PasswordResetToken
1021
+ */
1022
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
1023
+ /**
1024
+ * Choose, which related nodes to fetch as well
1025
+ */
1026
+ include?: Prisma.PasswordResetTokenInclude<ExtArgs> | null
1027
+ /**
1028
+ * Filter, which PasswordResetToken to fetch.
1029
+ */
1030
+ where?: Prisma.PasswordResetTokenWhereInput
1031
+ /**
1032
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1033
+ *
1034
+ * Determine the order of PasswordResetTokens to fetch.
1035
+ */
1036
+ orderBy?: Prisma.PasswordResetTokenOrderByWithRelationInput | Prisma.PasswordResetTokenOrderByWithRelationInput[]
1037
+ /**
1038
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1039
+ *
1040
+ * Sets the position for searching for PasswordResetTokens.
1041
+ */
1042
+ cursor?: Prisma.PasswordResetTokenWhereUniqueInput
1043
+ /**
1044
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1045
+ *
1046
+ * Take `±n` PasswordResetTokens from the position of the cursor.
1047
+ */
1048
+ take?: number
1049
+ /**
1050
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1051
+ *
1052
+ * Skip the first `n` PasswordResetTokens.
1053
+ */
1054
+ skip?: number
1055
+ /**
1056
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1057
+ *
1058
+ * Filter by unique combinations of PasswordResetTokens.
1059
+ */
1060
+ distinct?: Prisma.PasswordResetTokenScalarFieldEnum | Prisma.PasswordResetTokenScalarFieldEnum[]
1061
+ }
1062
+
1063
+ /**
1064
+ * PasswordResetToken findFirstOrThrow
1065
+ */
1066
+ export type PasswordResetTokenFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1067
+ /**
1068
+ * Select specific fields to fetch from the PasswordResetToken
1069
+ */
1070
+ select?: Prisma.PasswordResetTokenSelect<ExtArgs> | null
1071
+ /**
1072
+ * Omit specific fields from the PasswordResetToken
1073
+ */
1074
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
1075
+ /**
1076
+ * Choose, which related nodes to fetch as well
1077
+ */
1078
+ include?: Prisma.PasswordResetTokenInclude<ExtArgs> | null
1079
+ /**
1080
+ * Filter, which PasswordResetToken to fetch.
1081
+ */
1082
+ where?: Prisma.PasswordResetTokenWhereInput
1083
+ /**
1084
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1085
+ *
1086
+ * Determine the order of PasswordResetTokens to fetch.
1087
+ */
1088
+ orderBy?: Prisma.PasswordResetTokenOrderByWithRelationInput | Prisma.PasswordResetTokenOrderByWithRelationInput[]
1089
+ /**
1090
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1091
+ *
1092
+ * Sets the position for searching for PasswordResetTokens.
1093
+ */
1094
+ cursor?: Prisma.PasswordResetTokenWhereUniqueInput
1095
+ /**
1096
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1097
+ *
1098
+ * Take `±n` PasswordResetTokens from the position of the cursor.
1099
+ */
1100
+ take?: number
1101
+ /**
1102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1103
+ *
1104
+ * Skip the first `n` PasswordResetTokens.
1105
+ */
1106
+ skip?: number
1107
+ /**
1108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1109
+ *
1110
+ * Filter by unique combinations of PasswordResetTokens.
1111
+ */
1112
+ distinct?: Prisma.PasswordResetTokenScalarFieldEnum | Prisma.PasswordResetTokenScalarFieldEnum[]
1113
+ }
1114
+
1115
+ /**
1116
+ * PasswordResetToken findMany
1117
+ */
1118
+ export type PasswordResetTokenFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1119
+ /**
1120
+ * Select specific fields to fetch from the PasswordResetToken
1121
+ */
1122
+ select?: Prisma.PasswordResetTokenSelect<ExtArgs> | null
1123
+ /**
1124
+ * Omit specific fields from the PasswordResetToken
1125
+ */
1126
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
1127
+ /**
1128
+ * Choose, which related nodes to fetch as well
1129
+ */
1130
+ include?: Prisma.PasswordResetTokenInclude<ExtArgs> | null
1131
+ /**
1132
+ * Filter, which PasswordResetTokens to fetch.
1133
+ */
1134
+ where?: Prisma.PasswordResetTokenWhereInput
1135
+ /**
1136
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1137
+ *
1138
+ * Determine the order of PasswordResetTokens to fetch.
1139
+ */
1140
+ orderBy?: Prisma.PasswordResetTokenOrderByWithRelationInput | Prisma.PasswordResetTokenOrderByWithRelationInput[]
1141
+ /**
1142
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1143
+ *
1144
+ * Sets the position for listing PasswordResetTokens.
1145
+ */
1146
+ cursor?: Prisma.PasswordResetTokenWhereUniqueInput
1147
+ /**
1148
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1149
+ *
1150
+ * Take `±n` PasswordResetTokens from the position of the cursor.
1151
+ */
1152
+ take?: number
1153
+ /**
1154
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1155
+ *
1156
+ * Skip the first `n` PasswordResetTokens.
1157
+ */
1158
+ skip?: number
1159
+ /**
1160
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1161
+ *
1162
+ * Filter by unique combinations of PasswordResetTokens.
1163
+ */
1164
+ distinct?: Prisma.PasswordResetTokenScalarFieldEnum | Prisma.PasswordResetTokenScalarFieldEnum[]
1165
+ }
1166
+
1167
+ /**
1168
+ * PasswordResetToken create
1169
+ */
1170
+ export type PasswordResetTokenCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1171
+ /**
1172
+ * Select specific fields to fetch from the PasswordResetToken
1173
+ */
1174
+ select?: Prisma.PasswordResetTokenSelect<ExtArgs> | null
1175
+ /**
1176
+ * Omit specific fields from the PasswordResetToken
1177
+ */
1178
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
1179
+ /**
1180
+ * Choose, which related nodes to fetch as well
1181
+ */
1182
+ include?: Prisma.PasswordResetTokenInclude<ExtArgs> | null
1183
+ /**
1184
+ * The data needed to create a PasswordResetToken.
1185
+ */
1186
+ data: Prisma.XOR<Prisma.PasswordResetTokenCreateInput, Prisma.PasswordResetTokenUncheckedCreateInput>
1187
+ }
1188
+
1189
+ /**
1190
+ * PasswordResetToken createMany
1191
+ */
1192
+ export type PasswordResetTokenCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1193
+ /**
1194
+ * The data used to create many PasswordResetTokens.
1195
+ */
1196
+ data: Prisma.PasswordResetTokenCreateManyInput | Prisma.PasswordResetTokenCreateManyInput[]
1197
+ }
1198
+
1199
+ /**
1200
+ * PasswordResetToken createManyAndReturn
1201
+ */
1202
+ export type PasswordResetTokenCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1203
+ /**
1204
+ * Select specific fields to fetch from the PasswordResetToken
1205
+ */
1206
+ select?: Prisma.PasswordResetTokenSelectCreateManyAndReturn<ExtArgs> | null
1207
+ /**
1208
+ * Omit specific fields from the PasswordResetToken
1209
+ */
1210
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
1211
+ /**
1212
+ * The data used to create many PasswordResetTokens.
1213
+ */
1214
+ data: Prisma.PasswordResetTokenCreateManyInput | Prisma.PasswordResetTokenCreateManyInput[]
1215
+ /**
1216
+ * Choose, which related nodes to fetch as well
1217
+ */
1218
+ include?: Prisma.PasswordResetTokenIncludeCreateManyAndReturn<ExtArgs> | null
1219
+ }
1220
+
1221
+ /**
1222
+ * PasswordResetToken update
1223
+ */
1224
+ export type PasswordResetTokenUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1225
+ /**
1226
+ * Select specific fields to fetch from the PasswordResetToken
1227
+ */
1228
+ select?: Prisma.PasswordResetTokenSelect<ExtArgs> | null
1229
+ /**
1230
+ * Omit specific fields from the PasswordResetToken
1231
+ */
1232
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
1233
+ /**
1234
+ * Choose, which related nodes to fetch as well
1235
+ */
1236
+ include?: Prisma.PasswordResetTokenInclude<ExtArgs> | null
1237
+ /**
1238
+ * The data needed to update a PasswordResetToken.
1239
+ */
1240
+ data: Prisma.XOR<Prisma.PasswordResetTokenUpdateInput, Prisma.PasswordResetTokenUncheckedUpdateInput>
1241
+ /**
1242
+ * Choose, which PasswordResetToken to update.
1243
+ */
1244
+ where: Prisma.PasswordResetTokenWhereUniqueInput
1245
+ }
1246
+
1247
+ /**
1248
+ * PasswordResetToken updateMany
1249
+ */
1250
+ export type PasswordResetTokenUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1251
+ /**
1252
+ * The data used to update PasswordResetTokens.
1253
+ */
1254
+ data: Prisma.XOR<Prisma.PasswordResetTokenUpdateManyMutationInput, Prisma.PasswordResetTokenUncheckedUpdateManyInput>
1255
+ /**
1256
+ * Filter which PasswordResetTokens to update
1257
+ */
1258
+ where?: Prisma.PasswordResetTokenWhereInput
1259
+ /**
1260
+ * Limit how many PasswordResetTokens to update.
1261
+ */
1262
+ limit?: number
1263
+ }
1264
+
1265
+ /**
1266
+ * PasswordResetToken updateManyAndReturn
1267
+ */
1268
+ export type PasswordResetTokenUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1269
+ /**
1270
+ * Select specific fields to fetch from the PasswordResetToken
1271
+ */
1272
+ select?: Prisma.PasswordResetTokenSelectUpdateManyAndReturn<ExtArgs> | null
1273
+ /**
1274
+ * Omit specific fields from the PasswordResetToken
1275
+ */
1276
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
1277
+ /**
1278
+ * The data used to update PasswordResetTokens.
1279
+ */
1280
+ data: Prisma.XOR<Prisma.PasswordResetTokenUpdateManyMutationInput, Prisma.PasswordResetTokenUncheckedUpdateManyInput>
1281
+ /**
1282
+ * Filter which PasswordResetTokens to update
1283
+ */
1284
+ where?: Prisma.PasswordResetTokenWhereInput
1285
+ /**
1286
+ * Limit how many PasswordResetTokens to update.
1287
+ */
1288
+ limit?: number
1289
+ /**
1290
+ * Choose, which related nodes to fetch as well
1291
+ */
1292
+ include?: Prisma.PasswordResetTokenIncludeUpdateManyAndReturn<ExtArgs> | null
1293
+ }
1294
+
1295
+ /**
1296
+ * PasswordResetToken upsert
1297
+ */
1298
+ export type PasswordResetTokenUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1299
+ /**
1300
+ * Select specific fields to fetch from the PasswordResetToken
1301
+ */
1302
+ select?: Prisma.PasswordResetTokenSelect<ExtArgs> | null
1303
+ /**
1304
+ * Omit specific fields from the PasswordResetToken
1305
+ */
1306
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
1307
+ /**
1308
+ * Choose, which related nodes to fetch as well
1309
+ */
1310
+ include?: Prisma.PasswordResetTokenInclude<ExtArgs> | null
1311
+ /**
1312
+ * The filter to search for the PasswordResetToken to update in case it exists.
1313
+ */
1314
+ where: Prisma.PasswordResetTokenWhereUniqueInput
1315
+ /**
1316
+ * In case the PasswordResetToken found by the `where` argument doesn't exist, create a new PasswordResetToken with this data.
1317
+ */
1318
+ create: Prisma.XOR<Prisma.PasswordResetTokenCreateInput, Prisma.PasswordResetTokenUncheckedCreateInput>
1319
+ /**
1320
+ * In case the PasswordResetToken was found with the provided `where` argument, update it with this data.
1321
+ */
1322
+ update: Prisma.XOR<Prisma.PasswordResetTokenUpdateInput, Prisma.PasswordResetTokenUncheckedUpdateInput>
1323
+ }
1324
+
1325
+ /**
1326
+ * PasswordResetToken delete
1327
+ */
1328
+ export type PasswordResetTokenDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1329
+ /**
1330
+ * Select specific fields to fetch from the PasswordResetToken
1331
+ */
1332
+ select?: Prisma.PasswordResetTokenSelect<ExtArgs> | null
1333
+ /**
1334
+ * Omit specific fields from the PasswordResetToken
1335
+ */
1336
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
1337
+ /**
1338
+ * Choose, which related nodes to fetch as well
1339
+ */
1340
+ include?: Prisma.PasswordResetTokenInclude<ExtArgs> | null
1341
+ /**
1342
+ * Filter which PasswordResetToken to delete.
1343
+ */
1344
+ where: Prisma.PasswordResetTokenWhereUniqueInput
1345
+ }
1346
+
1347
+ /**
1348
+ * PasswordResetToken deleteMany
1349
+ */
1350
+ export type PasswordResetTokenDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1351
+ /**
1352
+ * Filter which PasswordResetTokens to delete
1353
+ */
1354
+ where?: Prisma.PasswordResetTokenWhereInput
1355
+ /**
1356
+ * Limit how many PasswordResetTokens to delete.
1357
+ */
1358
+ limit?: number
1359
+ }
1360
+
1361
+ /**
1362
+ * PasswordResetToken without action
1363
+ */
1364
+ export type PasswordResetTokenDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1365
+ /**
1366
+ * Select specific fields to fetch from the PasswordResetToken
1367
+ */
1368
+ select?: Prisma.PasswordResetTokenSelect<ExtArgs> | null
1369
+ /**
1370
+ * Omit specific fields from the PasswordResetToken
1371
+ */
1372
+ omit?: Prisma.PasswordResetTokenOmit<ExtArgs> | null
1373
+ /**
1374
+ * Choose, which related nodes to fetch as well
1375
+ */
1376
+ include?: Prisma.PasswordResetTokenInclude<ExtArgs> | null
1377
+ }