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