@prenta/core 8.6.1 → 8.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/api/handlers.d.ts.map +1 -1
  3. package/dist/api/handlers.js +4 -0
  4. package/dist/api/handlers.js.map +1 -1
  5. package/dist/api/index.d.ts +2 -0
  6. package/dist/api/index.d.ts.map +1 -1
  7. package/dist/api/index.js +2 -0
  8. package/dist/api/index.js.map +1 -1
  9. package/dist/api/route-helpers/auth.d.ts +24 -2
  10. package/dist/api/route-helpers/auth.d.ts.map +1 -1
  11. package/dist/api/route-helpers/auth.js +93 -1
  12. package/dist/api/route-helpers/auth.js.map +1 -1
  13. package/dist/api/route-helpers.d.ts +1 -1
  14. package/dist/api/route-helpers.d.ts.map +1 -1
  15. package/dist/api/route-helpers.js +1 -1
  16. package/dist/api/route-helpers.js.map +1 -1
  17. package/dist/api/routes/ai-authoring.d.ts.map +1 -1
  18. package/dist/api/routes/ai-authoring.js +8 -3
  19. package/dist/api/routes/ai-authoring.js.map +1 -1
  20. package/dist/api/routes/forms.d.ts.map +1 -1
  21. package/dist/api/routes/forms.js +50 -34
  22. package/dist/api/routes/forms.js.map +1 -1
  23. package/dist/api/routes/globals.d.ts.map +1 -1
  24. package/dist/api/routes/globals.js +42 -3
  25. package/dist/api/routes/globals.js.map +1 -1
  26. package/dist/api/routes/mcp-oauth.d.ts +3 -0
  27. package/dist/api/routes/mcp-oauth.d.ts.map +1 -0
  28. package/dist/api/routes/mcp-oauth.js +143 -0
  29. package/dist/api/routes/mcp-oauth.js.map +1 -0
  30. package/dist/api/routes/preview.d.ts.map +1 -1
  31. package/dist/api/routes/preview.js +43 -2
  32. package/dist/api/routes/preview.js.map +1 -1
  33. package/dist/api/routes/privacy.d.ts +3 -0
  34. package/dist/api/routes/privacy.d.ts.map +1 -0
  35. package/dist/api/routes/privacy.js +44 -0
  36. package/dist/api/routes/privacy.js.map +1 -0
  37. package/dist/api/routes/scheduling.d.ts.map +1 -1
  38. package/dist/api/routes/scheduling.js +4 -1
  39. package/dist/api/routes/scheduling.js.map +1 -1
  40. package/dist/api/routes/seo/handlers/audits.d.ts.map +1 -1
  41. package/dist/api/routes/seo/handlers/audits.js +3 -3
  42. package/dist/api/routes/seo/handlers/audits.js.map +1 -1
  43. package/dist/api/routes/seo/handlers/content.d.ts.map +1 -1
  44. package/dist/api/routes/seo/handlers/content.js +2 -2
  45. package/dist/api/routes/seo/handlers/content.js.map +1 -1
  46. package/dist/api/routes/seo/handlers/issue-helpers.d.ts.map +1 -1
  47. package/dist/api/routes/seo/handlers/issue-helpers.js +2 -2
  48. package/dist/api/routes/seo/handlers/issue-helpers.js.map +1 -1
  49. package/dist/api/routes/seo/handlers/issues-fixes.js +3 -3
  50. package/dist/api/routes/seo/handlers/issues-fixes.js.map +1 -1
  51. package/dist/api/routes/seo/handlers/links.d.ts.map +1 -1
  52. package/dist/api/routes/seo/handlers/links.js +6 -6
  53. package/dist/api/routes/seo/handlers/links.js.map +1 -1
  54. package/dist/api/routes/seo/handlers/proposals.js +2 -2
  55. package/dist/api/routes/seo/handlers/proposals.js.map +1 -1
  56. package/dist/api/routes/seo-public.d.ts.map +1 -1
  57. package/dist/api/routes/seo-public.js +9 -0
  58. package/dist/api/routes/seo-public.js.map +1 -1
  59. package/dist/appearance/index.d.ts +2 -0
  60. package/dist/appearance/index.d.ts.map +1 -1
  61. package/dist/appearance/index.js +1 -0
  62. package/dist/appearance/index.js.map +1 -1
  63. package/dist/appearance/public-theme.d.ts +24 -0
  64. package/dist/appearance/public-theme.d.ts.map +1 -0
  65. package/dist/appearance/public-theme.js +87 -0
  66. package/dist/appearance/public-theme.js.map +1 -0
  67. package/dist/appearance/resolve.d.ts.map +1 -1
  68. package/dist/appearance/resolve.js +3 -0
  69. package/dist/appearance/resolve.js.map +1 -1
  70. package/dist/appearance/types.d.ts +3 -0
  71. package/dist/appearance/types.d.ts.map +1 -1
  72. package/dist/appearance/types.js +0 -14
  73. package/dist/appearance/types.js.map +1 -1
  74. package/dist/db/model-types.d.ts +40 -0
  75. package/dist/db/model-types.d.ts.map +1 -1
  76. package/dist/forms/delivery.d.ts.map +1 -1
  77. package/dist/forms/delivery.js +16 -10
  78. package/dist/forms/delivery.js.map +1 -1
  79. package/dist/forms/encryption.d.ts +4 -2
  80. package/dist/forms/encryption.d.ts.map +1 -1
  81. package/dist/forms/encryption.js +6 -4
  82. package/dist/forms/encryption.js.map +1 -1
  83. package/dist/forms/submission.d.ts.map +1 -1
  84. package/dist/forms/submission.js +17 -10
  85. package/dist/forms/submission.js.map +1 -1
  86. package/dist/generated/browser.d.ts +19 -0
  87. package/dist/generated/client.d.ts +19 -0
  88. package/dist/generated/internal/class.d.ts +33 -0
  89. package/dist/generated/internal/class.js +4 -4
  90. package/dist/generated/internal/prismaNamespace.d.ts +296 -1
  91. package/dist/generated/internal/prismaNamespace.js +65 -1
  92. package/dist/generated/internal/prismaNamespaceBrowser.d.ts +70 -0
  93. package/dist/generated/internal/prismaNamespaceBrowser.js +65 -1
  94. package/dist/generated/models/McpOauthGrant.d.ts +1577 -0
  95. package/dist/generated/models/McpOauthGrant.js +1 -0
  96. package/dist/generated/models/McpOauthRefreshReplay.d.ts +957 -0
  97. package/dist/generated/models/McpOauthRefreshReplay.js +1 -0
  98. package/dist/generated/models/McpOauthTransaction.d.ts +1153 -0
  99. package/dist/generated/models/McpOauthTransaction.js +1 -0
  100. package/dist/generated/models/User.d.ts +279 -0
  101. package/dist/generated/models.d.ts +3 -0
  102. package/dist/index.d.ts +2 -2
  103. package/dist/index.d.ts.map +1 -1
  104. package/dist/index.js +1 -1
  105. package/dist/index.js.map +1 -1
  106. package/dist/mcp/cimd.d.ts +12 -0
  107. package/dist/mcp/cimd.d.ts.map +1 -0
  108. package/dist/mcp/cimd.js +67 -0
  109. package/dist/mcp/cimd.js.map +1 -0
  110. package/dist/mcp/gate.d.ts +11 -0
  111. package/dist/mcp/gate.d.ts.map +1 -0
  112. package/dist/mcp/gate.js +75 -0
  113. package/dist/mcp/gate.js.map +1 -0
  114. package/dist/mcp/memory-grant-store.d.ts +5 -0
  115. package/dist/mcp/memory-grant-store.d.ts.map +1 -0
  116. package/dist/mcp/memory-grant-store.js +44 -0
  117. package/dist/mcp/memory-grant-store.js.map +1 -0
  118. package/dist/mcp/oauth-grants.d.ts +83 -0
  119. package/dist/mcp/oauth-grants.d.ts.map +1 -0
  120. package/dist/mcp/oauth-grants.js +129 -0
  121. package/dist/mcp/oauth-grants.js.map +1 -0
  122. package/dist/mcp/oauth-http.d.ts +43 -0
  123. package/dist/mcp/oauth-http.d.ts.map +1 -0
  124. package/dist/mcp/oauth-http.js +243 -0
  125. package/dist/mcp/oauth-http.js.map +1 -0
  126. package/dist/mcp/oauth-token.d.ts +43 -0
  127. package/dist/mcp/oauth-token.d.ts.map +1 -0
  128. package/dist/mcp/oauth-token.js +78 -0
  129. package/dist/mcp/oauth-token.js.map +1 -0
  130. package/dist/mcp/prisma-store.d.ts +5 -0
  131. package/dist/mcp/prisma-store.d.ts.map +1 -0
  132. package/dist/mcp/prisma-store.js +69 -0
  133. package/dist/mcp/prisma-store.js.map +1 -0
  134. package/dist/mcp/public.d.ts +5 -0
  135. package/dist/mcp/public.d.ts.map +1 -0
  136. package/dist/mcp/public.js +30 -0
  137. package/dist/mcp/public.js.map +1 -0
  138. package/dist/mcp/runtime.d.ts +4 -0
  139. package/dist/mcp/runtime.d.ts.map +1 -0
  140. package/dist/mcp/runtime.js +46 -0
  141. package/dist/mcp/runtime.js.map +1 -0
  142. package/dist/mcp/transactions.d.ts +18 -0
  143. package/dist/mcp/transactions.d.ts.map +1 -0
  144. package/dist/mcp/transactions.js +15 -0
  145. package/dist/mcp/transactions.js.map +1 -0
  146. package/dist/privacy/phi.d.ts +5 -0
  147. package/dist/privacy/phi.d.ts.map +1 -0
  148. package/dist/privacy/phi.js +69 -0
  149. package/dist/privacy/phi.js.map +1 -0
  150. package/dist/seo/document-path.d.ts +13 -0
  151. package/dist/seo/document-path.d.ts.map +1 -1
  152. package/dist/seo/document-path.js +10 -0
  153. package/dist/seo/document-path.js.map +1 -1
  154. package/package.json +3 -3
  155. package/prisma/migrations/0023_mcp_oauth/migration.sql +40 -0
  156. package/prisma/migrations/0024_mcp_oauth_transactions/migration.sql +16 -0
  157. package/prisma/schema.prisma +58 -0
@@ -0,0 +1,1153 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model McpOauthTransaction
5
+ * Pending authorize request, before the person allows or denies it.
6
+ * Short-lived. The id is the browser transaction, not a credential.
7
+ */
8
+ export type McpOauthTransactionModel = runtime.Types.Result.DefaultSelection<Prisma.$McpOauthTransactionPayload>;
9
+ export type AggregateMcpOauthTransaction = {
10
+ _count: McpOauthTransactionCountAggregateOutputType | null;
11
+ _min: McpOauthTransactionMinAggregateOutputType | null;
12
+ _max: McpOauthTransactionMaxAggregateOutputType | null;
13
+ };
14
+ export type McpOauthTransactionMinAggregateOutputType = {
15
+ id: string | null;
16
+ clientId: string | null;
17
+ clientName: string | null;
18
+ redirectUri: string | null;
19
+ resource: string | null;
20
+ scope: string | null;
21
+ codeChallenge: string | null;
22
+ state: string | null;
23
+ expiresAt: Date | null;
24
+ createdAt: Date | null;
25
+ };
26
+ export type McpOauthTransactionMaxAggregateOutputType = {
27
+ id: string | null;
28
+ clientId: string | null;
29
+ clientName: string | null;
30
+ redirectUri: string | null;
31
+ resource: string | null;
32
+ scope: string | null;
33
+ codeChallenge: string | null;
34
+ state: string | null;
35
+ expiresAt: Date | null;
36
+ createdAt: Date | null;
37
+ };
38
+ export type McpOauthTransactionCountAggregateOutputType = {
39
+ id: number;
40
+ clientId: number;
41
+ clientName: number;
42
+ redirectUri: number;
43
+ resource: number;
44
+ scope: number;
45
+ codeChallenge: number;
46
+ state: number;
47
+ expiresAt: number;
48
+ createdAt: number;
49
+ _all: number;
50
+ };
51
+ export type McpOauthTransactionMinAggregateInputType = {
52
+ id?: true;
53
+ clientId?: true;
54
+ clientName?: true;
55
+ redirectUri?: true;
56
+ resource?: true;
57
+ scope?: true;
58
+ codeChallenge?: true;
59
+ state?: true;
60
+ expiresAt?: true;
61
+ createdAt?: true;
62
+ };
63
+ export type McpOauthTransactionMaxAggregateInputType = {
64
+ id?: true;
65
+ clientId?: true;
66
+ clientName?: true;
67
+ redirectUri?: true;
68
+ resource?: true;
69
+ scope?: true;
70
+ codeChallenge?: true;
71
+ state?: true;
72
+ expiresAt?: true;
73
+ createdAt?: true;
74
+ };
75
+ export type McpOauthTransactionCountAggregateInputType = {
76
+ id?: true;
77
+ clientId?: true;
78
+ clientName?: true;
79
+ redirectUri?: true;
80
+ resource?: true;
81
+ scope?: true;
82
+ codeChallenge?: true;
83
+ state?: true;
84
+ expiresAt?: true;
85
+ createdAt?: true;
86
+ _all?: true;
87
+ };
88
+ export type McpOauthTransactionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
89
+ /**
90
+ * Filter which McpOauthTransaction to aggregate.
91
+ */
92
+ where?: Prisma.McpOauthTransactionWhereInput;
93
+ /**
94
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
95
+ *
96
+ * Determine the order of McpOauthTransactions to fetch.
97
+ */
98
+ orderBy?: Prisma.McpOauthTransactionOrderByWithRelationInput | Prisma.McpOauthTransactionOrderByWithRelationInput[];
99
+ /**
100
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
101
+ *
102
+ * Sets the start position
103
+ */
104
+ cursor?: Prisma.McpOauthTransactionWhereUniqueInput;
105
+ /**
106
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
107
+ *
108
+ * Take `±n` McpOauthTransactions from the position of the cursor.
109
+ */
110
+ take?: number;
111
+ /**
112
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
113
+ *
114
+ * Skip the first `n` McpOauthTransactions.
115
+ */
116
+ skip?: number;
117
+ /**
118
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
119
+ *
120
+ * Count returned McpOauthTransactions
121
+ **/
122
+ _count?: true | McpOauthTransactionCountAggregateInputType;
123
+ /**
124
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
125
+ *
126
+ * Select which fields to find the minimum value
127
+ **/
128
+ _min?: McpOauthTransactionMinAggregateInputType;
129
+ /**
130
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
131
+ *
132
+ * Select which fields to find the maximum value
133
+ **/
134
+ _max?: McpOauthTransactionMaxAggregateInputType;
135
+ };
136
+ export type GetMcpOauthTransactionAggregateType<T extends McpOauthTransactionAggregateArgs> = {
137
+ [P in keyof T & keyof AggregateMcpOauthTransaction]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMcpOauthTransaction[P]> : Prisma.GetScalarType<T[P], AggregateMcpOauthTransaction[P]>;
138
+ };
139
+ export type McpOauthTransactionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
140
+ where?: Prisma.McpOauthTransactionWhereInput;
141
+ orderBy?: Prisma.McpOauthTransactionOrderByWithAggregationInput | Prisma.McpOauthTransactionOrderByWithAggregationInput[];
142
+ by: Prisma.McpOauthTransactionScalarFieldEnum[] | Prisma.McpOauthTransactionScalarFieldEnum;
143
+ having?: Prisma.McpOauthTransactionScalarWhereWithAggregatesInput;
144
+ take?: number;
145
+ skip?: number;
146
+ _count?: McpOauthTransactionCountAggregateInputType | true;
147
+ _min?: McpOauthTransactionMinAggregateInputType;
148
+ _max?: McpOauthTransactionMaxAggregateInputType;
149
+ };
150
+ export type McpOauthTransactionGroupByOutputType = {
151
+ id: string;
152
+ clientId: string;
153
+ clientName: string;
154
+ redirectUri: string;
155
+ resource: string;
156
+ scope: string;
157
+ codeChallenge: string;
158
+ state: string | null;
159
+ expiresAt: Date;
160
+ createdAt: Date;
161
+ _count: McpOauthTransactionCountAggregateOutputType | null;
162
+ _min: McpOauthTransactionMinAggregateOutputType | null;
163
+ _max: McpOauthTransactionMaxAggregateOutputType | null;
164
+ };
165
+ export type GetMcpOauthTransactionGroupByPayload<T extends McpOauthTransactionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<McpOauthTransactionGroupByOutputType, T['by']> & {
166
+ [P in ((keyof T) & (keyof McpOauthTransactionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], McpOauthTransactionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], McpOauthTransactionGroupByOutputType[P]>;
167
+ }>>;
168
+ export type McpOauthTransactionWhereInput = {
169
+ AND?: Prisma.McpOauthTransactionWhereInput | Prisma.McpOauthTransactionWhereInput[];
170
+ OR?: Prisma.McpOauthTransactionWhereInput[];
171
+ NOT?: Prisma.McpOauthTransactionWhereInput | Prisma.McpOauthTransactionWhereInput[];
172
+ id?: Prisma.StringFilter<"McpOauthTransaction"> | string;
173
+ clientId?: Prisma.StringFilter<"McpOauthTransaction"> | string;
174
+ clientName?: Prisma.StringFilter<"McpOauthTransaction"> | string;
175
+ redirectUri?: Prisma.StringFilter<"McpOauthTransaction"> | string;
176
+ resource?: Prisma.StringFilter<"McpOauthTransaction"> | string;
177
+ scope?: Prisma.StringFilter<"McpOauthTransaction"> | string;
178
+ codeChallenge?: Prisma.StringFilter<"McpOauthTransaction"> | string;
179
+ state?: Prisma.StringNullableFilter<"McpOauthTransaction"> | string | null;
180
+ expiresAt?: Prisma.DateTimeFilter<"McpOauthTransaction"> | Date | string;
181
+ createdAt?: Prisma.DateTimeFilter<"McpOauthTransaction"> | Date | string;
182
+ };
183
+ export type McpOauthTransactionOrderByWithRelationInput = {
184
+ id?: Prisma.SortOrder;
185
+ clientId?: Prisma.SortOrder;
186
+ clientName?: Prisma.SortOrder;
187
+ redirectUri?: Prisma.SortOrder;
188
+ resource?: Prisma.SortOrder;
189
+ scope?: Prisma.SortOrder;
190
+ codeChallenge?: Prisma.SortOrder;
191
+ state?: Prisma.SortOrderInput | Prisma.SortOrder;
192
+ expiresAt?: Prisma.SortOrder;
193
+ createdAt?: Prisma.SortOrder;
194
+ _relevance?: Prisma.McpOauthTransactionOrderByRelevanceInput;
195
+ };
196
+ export type McpOauthTransactionWhereUniqueInput = Prisma.AtLeast<{
197
+ id?: string;
198
+ AND?: Prisma.McpOauthTransactionWhereInput | Prisma.McpOauthTransactionWhereInput[];
199
+ OR?: Prisma.McpOauthTransactionWhereInput[];
200
+ NOT?: Prisma.McpOauthTransactionWhereInput | Prisma.McpOauthTransactionWhereInput[];
201
+ clientId?: Prisma.StringFilter<"McpOauthTransaction"> | string;
202
+ clientName?: Prisma.StringFilter<"McpOauthTransaction"> | string;
203
+ redirectUri?: Prisma.StringFilter<"McpOauthTransaction"> | string;
204
+ resource?: Prisma.StringFilter<"McpOauthTransaction"> | string;
205
+ scope?: Prisma.StringFilter<"McpOauthTransaction"> | string;
206
+ codeChallenge?: Prisma.StringFilter<"McpOauthTransaction"> | string;
207
+ state?: Prisma.StringNullableFilter<"McpOauthTransaction"> | string | null;
208
+ expiresAt?: Prisma.DateTimeFilter<"McpOauthTransaction"> | Date | string;
209
+ createdAt?: Prisma.DateTimeFilter<"McpOauthTransaction"> | Date | string;
210
+ }, "id">;
211
+ export type McpOauthTransactionOrderByWithAggregationInput = {
212
+ id?: Prisma.SortOrder;
213
+ clientId?: Prisma.SortOrder;
214
+ clientName?: Prisma.SortOrder;
215
+ redirectUri?: Prisma.SortOrder;
216
+ resource?: Prisma.SortOrder;
217
+ scope?: Prisma.SortOrder;
218
+ codeChallenge?: Prisma.SortOrder;
219
+ state?: Prisma.SortOrderInput | Prisma.SortOrder;
220
+ expiresAt?: Prisma.SortOrder;
221
+ createdAt?: Prisma.SortOrder;
222
+ _count?: Prisma.McpOauthTransactionCountOrderByAggregateInput;
223
+ _max?: Prisma.McpOauthTransactionMaxOrderByAggregateInput;
224
+ _min?: Prisma.McpOauthTransactionMinOrderByAggregateInput;
225
+ };
226
+ export type McpOauthTransactionScalarWhereWithAggregatesInput = {
227
+ AND?: Prisma.McpOauthTransactionScalarWhereWithAggregatesInput | Prisma.McpOauthTransactionScalarWhereWithAggregatesInput[];
228
+ OR?: Prisma.McpOauthTransactionScalarWhereWithAggregatesInput[];
229
+ NOT?: Prisma.McpOauthTransactionScalarWhereWithAggregatesInput | Prisma.McpOauthTransactionScalarWhereWithAggregatesInput[];
230
+ id?: Prisma.StringWithAggregatesFilter<"McpOauthTransaction"> | string;
231
+ clientId?: Prisma.StringWithAggregatesFilter<"McpOauthTransaction"> | string;
232
+ clientName?: Prisma.StringWithAggregatesFilter<"McpOauthTransaction"> | string;
233
+ redirectUri?: Prisma.StringWithAggregatesFilter<"McpOauthTransaction"> | string;
234
+ resource?: Prisma.StringWithAggregatesFilter<"McpOauthTransaction"> | string;
235
+ scope?: Prisma.StringWithAggregatesFilter<"McpOauthTransaction"> | string;
236
+ codeChallenge?: Prisma.StringWithAggregatesFilter<"McpOauthTransaction"> | string;
237
+ state?: Prisma.StringNullableWithAggregatesFilter<"McpOauthTransaction"> | string | null;
238
+ expiresAt?: Prisma.DateTimeWithAggregatesFilter<"McpOauthTransaction"> | Date | string;
239
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"McpOauthTransaction"> | Date | string;
240
+ };
241
+ export type McpOauthTransactionCreateInput = {
242
+ id: string;
243
+ clientId: string;
244
+ clientName: string;
245
+ redirectUri: string;
246
+ resource: string;
247
+ scope: string;
248
+ codeChallenge: string;
249
+ state?: string | null;
250
+ expiresAt: Date | string;
251
+ createdAt?: Date | string;
252
+ };
253
+ export type McpOauthTransactionUncheckedCreateInput = {
254
+ id: string;
255
+ clientId: string;
256
+ clientName: string;
257
+ redirectUri: string;
258
+ resource: string;
259
+ scope: string;
260
+ codeChallenge: string;
261
+ state?: string | null;
262
+ expiresAt: Date | string;
263
+ createdAt?: Date | string;
264
+ };
265
+ export type McpOauthTransactionUpdateInput = {
266
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
267
+ clientId?: Prisma.StringFieldUpdateOperationsInput | string;
268
+ clientName?: Prisma.StringFieldUpdateOperationsInput | string;
269
+ redirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
270
+ resource?: Prisma.StringFieldUpdateOperationsInput | string;
271
+ scope?: Prisma.StringFieldUpdateOperationsInput | string;
272
+ codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string;
273
+ state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
274
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
275
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
276
+ };
277
+ export type McpOauthTransactionUncheckedUpdateInput = {
278
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
279
+ clientId?: Prisma.StringFieldUpdateOperationsInput | string;
280
+ clientName?: Prisma.StringFieldUpdateOperationsInput | string;
281
+ redirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
282
+ resource?: Prisma.StringFieldUpdateOperationsInput | string;
283
+ scope?: Prisma.StringFieldUpdateOperationsInput | string;
284
+ codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string;
285
+ state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
286
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
287
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
288
+ };
289
+ export type McpOauthTransactionCreateManyInput = {
290
+ id: string;
291
+ clientId: string;
292
+ clientName: string;
293
+ redirectUri: string;
294
+ resource: string;
295
+ scope: string;
296
+ codeChallenge: string;
297
+ state?: string | null;
298
+ expiresAt: Date | string;
299
+ createdAt?: Date | string;
300
+ };
301
+ export type McpOauthTransactionUpdateManyMutationInput = {
302
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
303
+ clientId?: Prisma.StringFieldUpdateOperationsInput | string;
304
+ clientName?: Prisma.StringFieldUpdateOperationsInput | string;
305
+ redirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
306
+ resource?: Prisma.StringFieldUpdateOperationsInput | string;
307
+ scope?: Prisma.StringFieldUpdateOperationsInput | string;
308
+ codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string;
309
+ state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
310
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
311
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
312
+ };
313
+ export type McpOauthTransactionUncheckedUpdateManyInput = {
314
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
315
+ clientId?: Prisma.StringFieldUpdateOperationsInput | string;
316
+ clientName?: Prisma.StringFieldUpdateOperationsInput | string;
317
+ redirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
318
+ resource?: Prisma.StringFieldUpdateOperationsInput | string;
319
+ scope?: Prisma.StringFieldUpdateOperationsInput | string;
320
+ codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string;
321
+ state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
322
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
323
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
324
+ };
325
+ export type McpOauthTransactionOrderByRelevanceInput = {
326
+ fields: Prisma.McpOauthTransactionOrderByRelevanceFieldEnum | Prisma.McpOauthTransactionOrderByRelevanceFieldEnum[];
327
+ sort: Prisma.SortOrder;
328
+ search: string;
329
+ };
330
+ export type McpOauthTransactionCountOrderByAggregateInput = {
331
+ id?: Prisma.SortOrder;
332
+ clientId?: Prisma.SortOrder;
333
+ clientName?: Prisma.SortOrder;
334
+ redirectUri?: Prisma.SortOrder;
335
+ resource?: Prisma.SortOrder;
336
+ scope?: Prisma.SortOrder;
337
+ codeChallenge?: Prisma.SortOrder;
338
+ state?: Prisma.SortOrder;
339
+ expiresAt?: Prisma.SortOrder;
340
+ createdAt?: Prisma.SortOrder;
341
+ };
342
+ export type McpOauthTransactionMaxOrderByAggregateInput = {
343
+ id?: Prisma.SortOrder;
344
+ clientId?: Prisma.SortOrder;
345
+ clientName?: Prisma.SortOrder;
346
+ redirectUri?: Prisma.SortOrder;
347
+ resource?: Prisma.SortOrder;
348
+ scope?: Prisma.SortOrder;
349
+ codeChallenge?: Prisma.SortOrder;
350
+ state?: Prisma.SortOrder;
351
+ expiresAt?: Prisma.SortOrder;
352
+ createdAt?: Prisma.SortOrder;
353
+ };
354
+ export type McpOauthTransactionMinOrderByAggregateInput = {
355
+ id?: Prisma.SortOrder;
356
+ clientId?: Prisma.SortOrder;
357
+ clientName?: Prisma.SortOrder;
358
+ redirectUri?: Prisma.SortOrder;
359
+ resource?: Prisma.SortOrder;
360
+ scope?: Prisma.SortOrder;
361
+ codeChallenge?: Prisma.SortOrder;
362
+ state?: Prisma.SortOrder;
363
+ expiresAt?: Prisma.SortOrder;
364
+ createdAt?: Prisma.SortOrder;
365
+ };
366
+ export type McpOauthTransactionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
367
+ id?: boolean;
368
+ clientId?: boolean;
369
+ clientName?: boolean;
370
+ redirectUri?: boolean;
371
+ resource?: boolean;
372
+ scope?: boolean;
373
+ codeChallenge?: boolean;
374
+ state?: boolean;
375
+ expiresAt?: boolean;
376
+ createdAt?: boolean;
377
+ }, ExtArgs["result"]["mcpOauthTransaction"]>;
378
+ export type McpOauthTransactionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
379
+ id?: boolean;
380
+ clientId?: boolean;
381
+ clientName?: boolean;
382
+ redirectUri?: boolean;
383
+ resource?: boolean;
384
+ scope?: boolean;
385
+ codeChallenge?: boolean;
386
+ state?: boolean;
387
+ expiresAt?: boolean;
388
+ createdAt?: boolean;
389
+ }, ExtArgs["result"]["mcpOauthTransaction"]>;
390
+ export type McpOauthTransactionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
391
+ id?: boolean;
392
+ clientId?: boolean;
393
+ clientName?: boolean;
394
+ redirectUri?: boolean;
395
+ resource?: boolean;
396
+ scope?: boolean;
397
+ codeChallenge?: boolean;
398
+ state?: boolean;
399
+ expiresAt?: boolean;
400
+ createdAt?: boolean;
401
+ }, ExtArgs["result"]["mcpOauthTransaction"]>;
402
+ export type McpOauthTransactionSelectScalar = {
403
+ id?: boolean;
404
+ clientId?: boolean;
405
+ clientName?: boolean;
406
+ redirectUri?: boolean;
407
+ resource?: boolean;
408
+ scope?: boolean;
409
+ codeChallenge?: boolean;
410
+ state?: boolean;
411
+ expiresAt?: boolean;
412
+ createdAt?: boolean;
413
+ };
414
+ export type McpOauthTransactionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "clientId" | "clientName" | "redirectUri" | "resource" | "scope" | "codeChallenge" | "state" | "expiresAt" | "createdAt", ExtArgs["result"]["mcpOauthTransaction"]>;
415
+ export type $McpOauthTransactionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
416
+ name: "McpOauthTransaction";
417
+ objects: {};
418
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
419
+ id: string;
420
+ clientId: string;
421
+ clientName: string;
422
+ redirectUri: string;
423
+ resource: string;
424
+ scope: string;
425
+ codeChallenge: string;
426
+ state: string | null;
427
+ expiresAt: Date;
428
+ createdAt: Date;
429
+ }, ExtArgs["result"]["mcpOauthTransaction"]>;
430
+ composites: {};
431
+ };
432
+ export type McpOauthTransactionGetPayload<S extends boolean | null | undefined | McpOauthTransactionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload, S>;
433
+ export type McpOauthTransactionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<McpOauthTransactionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
434
+ select?: McpOauthTransactionCountAggregateInputType | true;
435
+ };
436
+ export interface McpOauthTransactionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
437
+ [K: symbol]: {
438
+ types: Prisma.TypeMap<ExtArgs>['model']['McpOauthTransaction'];
439
+ meta: {
440
+ name: 'McpOauthTransaction';
441
+ };
442
+ };
443
+ /**
444
+ * Find zero or one McpOauthTransaction that matches the filter.
445
+ * @param {McpOauthTransactionFindUniqueArgs} args - Arguments to find a McpOauthTransaction
446
+ * @example
447
+ * // Get one McpOauthTransaction
448
+ * const mcpOauthTransaction = await prisma.mcpOauthTransaction.findUnique({
449
+ * where: {
450
+ * // ... provide filter here
451
+ * }
452
+ * })
453
+ */
454
+ findUnique<T extends McpOauthTransactionFindUniqueArgs>(args: Prisma.SelectSubset<T, McpOauthTransactionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__McpOauthTransactionClient<runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
455
+ /**
456
+ * Find one McpOauthTransaction that matches the filter or throw an error with `error.code='P2025'`
457
+ * if no matches were found.
458
+ * @param {McpOauthTransactionFindUniqueOrThrowArgs} args - Arguments to find a McpOauthTransaction
459
+ * @example
460
+ * // Get one McpOauthTransaction
461
+ * const mcpOauthTransaction = await prisma.mcpOauthTransaction.findUniqueOrThrow({
462
+ * where: {
463
+ * // ... provide filter here
464
+ * }
465
+ * })
466
+ */
467
+ findUniqueOrThrow<T extends McpOauthTransactionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, McpOauthTransactionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpOauthTransactionClient<runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
468
+ /**
469
+ * Find the first McpOauthTransaction that matches the filter.
470
+ * Note, that providing `undefined` is treated as the value not being there.
471
+ * Read more here: https://pris.ly/d/null-undefined
472
+ * @param {McpOauthTransactionFindFirstArgs} args - Arguments to find a McpOauthTransaction
473
+ * @example
474
+ * // Get one McpOauthTransaction
475
+ * const mcpOauthTransaction = await prisma.mcpOauthTransaction.findFirst({
476
+ * where: {
477
+ * // ... provide filter here
478
+ * }
479
+ * })
480
+ */
481
+ findFirst<T extends McpOauthTransactionFindFirstArgs>(args?: Prisma.SelectSubset<T, McpOauthTransactionFindFirstArgs<ExtArgs>>): Prisma.Prisma__McpOauthTransactionClient<runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
482
+ /**
483
+ * Find the first McpOauthTransaction that matches the filter or
484
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
485
+ * Note, that providing `undefined` is treated as the value not being there.
486
+ * Read more here: https://pris.ly/d/null-undefined
487
+ * @param {McpOauthTransactionFindFirstOrThrowArgs} args - Arguments to find a McpOauthTransaction
488
+ * @example
489
+ * // Get one McpOauthTransaction
490
+ * const mcpOauthTransaction = await prisma.mcpOauthTransaction.findFirstOrThrow({
491
+ * where: {
492
+ * // ... provide filter here
493
+ * }
494
+ * })
495
+ */
496
+ findFirstOrThrow<T extends McpOauthTransactionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, McpOauthTransactionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpOauthTransactionClient<runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
497
+ /**
498
+ * Find zero or more McpOauthTransactions that matches the filter.
499
+ * Note, that providing `undefined` is treated as the value not being there.
500
+ * Read more here: https://pris.ly/d/null-undefined
501
+ * @param {McpOauthTransactionFindManyArgs} args - Arguments to filter and select certain fields only.
502
+ * @example
503
+ * // Get all McpOauthTransactions
504
+ * const mcpOauthTransactions = await prisma.mcpOauthTransaction.findMany()
505
+ *
506
+ * // Get first 10 McpOauthTransactions
507
+ * const mcpOauthTransactions = await prisma.mcpOauthTransaction.findMany({ take: 10 })
508
+ *
509
+ * // Only select the `id`
510
+ * const mcpOauthTransactionWithIdOnly = await prisma.mcpOauthTransaction.findMany({ select: { id: true } })
511
+ *
512
+ */
513
+ findMany<T extends McpOauthTransactionFindManyArgs>(args?: Prisma.SelectSubset<T, McpOauthTransactionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
514
+ /**
515
+ * Create a McpOauthTransaction.
516
+ * @param {McpOauthTransactionCreateArgs} args - Arguments to create a McpOauthTransaction.
517
+ * @example
518
+ * // Create one McpOauthTransaction
519
+ * const McpOauthTransaction = await prisma.mcpOauthTransaction.create({
520
+ * data: {
521
+ * // ... data to create a McpOauthTransaction
522
+ * }
523
+ * })
524
+ *
525
+ */
526
+ create<T extends McpOauthTransactionCreateArgs>(args: Prisma.SelectSubset<T, McpOauthTransactionCreateArgs<ExtArgs>>): Prisma.Prisma__McpOauthTransactionClient<runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
527
+ /**
528
+ * Create many McpOauthTransactions.
529
+ * @param {McpOauthTransactionCreateManyArgs} args - Arguments to create many McpOauthTransactions.
530
+ * @example
531
+ * // Create many McpOauthTransactions
532
+ * const mcpOauthTransaction = await prisma.mcpOauthTransaction.createMany({
533
+ * data: [
534
+ * // ... provide data here
535
+ * ]
536
+ * })
537
+ *
538
+ */
539
+ createMany<T extends McpOauthTransactionCreateManyArgs>(args?: Prisma.SelectSubset<T, McpOauthTransactionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
540
+ /**
541
+ * Create many McpOauthTransactions and returns the data saved in the database.
542
+ * @param {McpOauthTransactionCreateManyAndReturnArgs} args - Arguments to create many McpOauthTransactions.
543
+ * @example
544
+ * // Create many McpOauthTransactions
545
+ * const mcpOauthTransaction = await prisma.mcpOauthTransaction.createManyAndReturn({
546
+ * data: [
547
+ * // ... provide data here
548
+ * ]
549
+ * })
550
+ *
551
+ * // Create many McpOauthTransactions and only return the `id`
552
+ * const mcpOauthTransactionWithIdOnly = await prisma.mcpOauthTransaction.createManyAndReturn({
553
+ * select: { id: true },
554
+ * data: [
555
+ * // ... provide data here
556
+ * ]
557
+ * })
558
+ * Note, that providing `undefined` is treated as the value not being there.
559
+ * Read more here: https://pris.ly/d/null-undefined
560
+ *
561
+ */
562
+ createManyAndReturn<T extends McpOauthTransactionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, McpOauthTransactionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
563
+ /**
564
+ * Delete a McpOauthTransaction.
565
+ * @param {McpOauthTransactionDeleteArgs} args - Arguments to delete one McpOauthTransaction.
566
+ * @example
567
+ * // Delete one McpOauthTransaction
568
+ * const McpOauthTransaction = await prisma.mcpOauthTransaction.delete({
569
+ * where: {
570
+ * // ... filter to delete one McpOauthTransaction
571
+ * }
572
+ * })
573
+ *
574
+ */
575
+ delete<T extends McpOauthTransactionDeleteArgs>(args: Prisma.SelectSubset<T, McpOauthTransactionDeleteArgs<ExtArgs>>): Prisma.Prisma__McpOauthTransactionClient<runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
576
+ /**
577
+ * Update one McpOauthTransaction.
578
+ * @param {McpOauthTransactionUpdateArgs} args - Arguments to update one McpOauthTransaction.
579
+ * @example
580
+ * // Update one McpOauthTransaction
581
+ * const mcpOauthTransaction = await prisma.mcpOauthTransaction.update({
582
+ * where: {
583
+ * // ... provide filter here
584
+ * },
585
+ * data: {
586
+ * // ... provide data here
587
+ * }
588
+ * })
589
+ *
590
+ */
591
+ update<T extends McpOauthTransactionUpdateArgs>(args: Prisma.SelectSubset<T, McpOauthTransactionUpdateArgs<ExtArgs>>): Prisma.Prisma__McpOauthTransactionClient<runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
592
+ /**
593
+ * Delete zero or more McpOauthTransactions.
594
+ * @param {McpOauthTransactionDeleteManyArgs} args - Arguments to filter McpOauthTransactions to delete.
595
+ * @example
596
+ * // Delete a few McpOauthTransactions
597
+ * const { count } = await prisma.mcpOauthTransaction.deleteMany({
598
+ * where: {
599
+ * // ... provide filter here
600
+ * }
601
+ * })
602
+ *
603
+ */
604
+ deleteMany<T extends McpOauthTransactionDeleteManyArgs>(args?: Prisma.SelectSubset<T, McpOauthTransactionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
605
+ /**
606
+ * Update zero or more McpOauthTransactions.
607
+ * Note, that providing `undefined` is treated as the value not being there.
608
+ * Read more here: https://pris.ly/d/null-undefined
609
+ * @param {McpOauthTransactionUpdateManyArgs} args - Arguments to update one or more rows.
610
+ * @example
611
+ * // Update many McpOauthTransactions
612
+ * const mcpOauthTransaction = await prisma.mcpOauthTransaction.updateMany({
613
+ * where: {
614
+ * // ... provide filter here
615
+ * },
616
+ * data: {
617
+ * // ... provide data here
618
+ * }
619
+ * })
620
+ *
621
+ */
622
+ updateMany<T extends McpOauthTransactionUpdateManyArgs>(args: Prisma.SelectSubset<T, McpOauthTransactionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
623
+ /**
624
+ * Update zero or more McpOauthTransactions and returns the data updated in the database.
625
+ * @param {McpOauthTransactionUpdateManyAndReturnArgs} args - Arguments to update many McpOauthTransactions.
626
+ * @example
627
+ * // Update many McpOauthTransactions
628
+ * const mcpOauthTransaction = await prisma.mcpOauthTransaction.updateManyAndReturn({
629
+ * where: {
630
+ * // ... provide filter here
631
+ * },
632
+ * data: [
633
+ * // ... provide data here
634
+ * ]
635
+ * })
636
+ *
637
+ * // Update zero or more McpOauthTransactions and only return the `id`
638
+ * const mcpOauthTransactionWithIdOnly = await prisma.mcpOauthTransaction.updateManyAndReturn({
639
+ * select: { id: true },
640
+ * where: {
641
+ * // ... provide filter here
642
+ * },
643
+ * data: [
644
+ * // ... provide data here
645
+ * ]
646
+ * })
647
+ * Note, that providing `undefined` is treated as the value not being there.
648
+ * Read more here: https://pris.ly/d/null-undefined
649
+ *
650
+ */
651
+ updateManyAndReturn<T extends McpOauthTransactionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, McpOauthTransactionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
652
+ /**
653
+ * Create or update one McpOauthTransaction.
654
+ * @param {McpOauthTransactionUpsertArgs} args - Arguments to update or create a McpOauthTransaction.
655
+ * @example
656
+ * // Update or create a McpOauthTransaction
657
+ * const mcpOauthTransaction = await prisma.mcpOauthTransaction.upsert({
658
+ * create: {
659
+ * // ... data to create a McpOauthTransaction
660
+ * },
661
+ * update: {
662
+ * // ... in case it already exists, update
663
+ * },
664
+ * where: {
665
+ * // ... the filter for the McpOauthTransaction we want to update
666
+ * }
667
+ * })
668
+ */
669
+ upsert<T extends McpOauthTransactionUpsertArgs>(args: Prisma.SelectSubset<T, McpOauthTransactionUpsertArgs<ExtArgs>>): Prisma.Prisma__McpOauthTransactionClient<runtime.Types.Result.GetResult<Prisma.$McpOauthTransactionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
670
+ /**
671
+ * Count the number of McpOauthTransactions.
672
+ * Note, that providing `undefined` is treated as the value not being there.
673
+ * Read more here: https://pris.ly/d/null-undefined
674
+ * @param {McpOauthTransactionCountArgs} args - Arguments to filter McpOauthTransactions to count.
675
+ * @example
676
+ * // Count the number of McpOauthTransactions
677
+ * const count = await prisma.mcpOauthTransaction.count({
678
+ * where: {
679
+ * // ... the filter for the McpOauthTransactions we want to count
680
+ * }
681
+ * })
682
+ **/
683
+ count<T extends McpOauthTransactionCountArgs>(args?: Prisma.Subset<T, McpOauthTransactionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], McpOauthTransactionCountAggregateOutputType> : number>;
684
+ /**
685
+ * Allows you to perform aggregations operations on a McpOauthTransaction.
686
+ * Note, that providing `undefined` is treated as the value not being there.
687
+ * Read more here: https://pris.ly/d/null-undefined
688
+ * @param {McpOauthTransactionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
689
+ * @example
690
+ * // Ordered by age ascending
691
+ * // Where email contains prisma.io
692
+ * // Limited to the 10 users
693
+ * const aggregations = await prisma.user.aggregate({
694
+ * _avg: {
695
+ * age: true,
696
+ * },
697
+ * where: {
698
+ * email: {
699
+ * contains: "prisma.io",
700
+ * },
701
+ * },
702
+ * orderBy: {
703
+ * age: "asc",
704
+ * },
705
+ * take: 10,
706
+ * })
707
+ **/
708
+ aggregate<T extends McpOauthTransactionAggregateArgs>(args: Prisma.Subset<T, McpOauthTransactionAggregateArgs>): Prisma.PrismaPromise<GetMcpOauthTransactionAggregateType<T>>;
709
+ /**
710
+ * Group by McpOauthTransaction.
711
+ * Note, that providing `undefined` is treated as the value not being there.
712
+ * Read more here: https://pris.ly/d/null-undefined
713
+ * @param {McpOauthTransactionGroupByArgs} args - Group by arguments.
714
+ * @example
715
+ * // Group by city, order by createdAt, get count
716
+ * const result = await prisma.user.groupBy({
717
+ * by: ['city', 'createdAt'],
718
+ * orderBy: {
719
+ * createdAt: true
720
+ * },
721
+ * _count: {
722
+ * _all: true
723
+ * },
724
+ * })
725
+ *
726
+ **/
727
+ groupBy<T extends McpOauthTransactionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
728
+ orderBy: McpOauthTransactionGroupByArgs['orderBy'];
729
+ } : {
730
+ orderBy?: McpOauthTransactionGroupByArgs['orderBy'];
731
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
732
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
733
+ Error,
734
+ 'Field ',
735
+ P,
736
+ ` in "having" needs to be provided in "by"`
737
+ ];
738
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
739
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
740
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
741
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
742
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
743
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
744
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, McpOauthTransactionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMcpOauthTransactionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
745
+ /**
746
+ * Fields of the McpOauthTransaction model
747
+ */
748
+ readonly fields: McpOauthTransactionFieldRefs;
749
+ }
750
+ /**
751
+ * The delegate class that acts as a "Promise-like" for McpOauthTransaction.
752
+ * Why is this prefixed with `Prisma__`?
753
+ * Because we want to prevent naming conflicts as mentioned in
754
+ * https://github.com/prisma/prisma-client-js/issues/707
755
+ */
756
+ export interface Prisma__McpOauthTransactionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
757
+ readonly [Symbol.toStringTag]: "PrismaPromise";
758
+ /**
759
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
760
+ * @param onfulfilled The callback to execute when the Promise is resolved.
761
+ * @param onrejected The callback to execute when the Promise is rejected.
762
+ * @returns A Promise for the completion of which ever callback is executed.
763
+ */
764
+ 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>;
765
+ /**
766
+ * Attaches a callback for only the rejection of the Promise.
767
+ * @param onrejected The callback to execute when the Promise is rejected.
768
+ * @returns A Promise for the completion of the callback.
769
+ */
770
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
771
+ /**
772
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
773
+ * resolved value cannot be modified from the callback.
774
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
775
+ * @returns A Promise for the completion of the callback.
776
+ */
777
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
778
+ }
779
+ /**
780
+ * Fields of the McpOauthTransaction model
781
+ */
782
+ export interface McpOauthTransactionFieldRefs {
783
+ readonly id: Prisma.FieldRef<"McpOauthTransaction", 'String'>;
784
+ readonly clientId: Prisma.FieldRef<"McpOauthTransaction", 'String'>;
785
+ readonly clientName: Prisma.FieldRef<"McpOauthTransaction", 'String'>;
786
+ readonly redirectUri: Prisma.FieldRef<"McpOauthTransaction", 'String'>;
787
+ readonly resource: Prisma.FieldRef<"McpOauthTransaction", 'String'>;
788
+ readonly scope: Prisma.FieldRef<"McpOauthTransaction", 'String'>;
789
+ readonly codeChallenge: Prisma.FieldRef<"McpOauthTransaction", 'String'>;
790
+ readonly state: Prisma.FieldRef<"McpOauthTransaction", 'String'>;
791
+ readonly expiresAt: Prisma.FieldRef<"McpOauthTransaction", 'DateTime'>;
792
+ readonly createdAt: Prisma.FieldRef<"McpOauthTransaction", 'DateTime'>;
793
+ }
794
+ /**
795
+ * McpOauthTransaction findUnique
796
+ */
797
+ export type McpOauthTransactionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
798
+ /**
799
+ * Select specific fields to fetch from the McpOauthTransaction
800
+ */
801
+ select?: Prisma.McpOauthTransactionSelect<ExtArgs> | null;
802
+ /**
803
+ * Omit specific fields from the McpOauthTransaction
804
+ */
805
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
806
+ /**
807
+ * Filter, which McpOauthTransaction to fetch.
808
+ */
809
+ where: Prisma.McpOauthTransactionWhereUniqueInput;
810
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
811
+ };
812
+ /**
813
+ * McpOauthTransaction findUniqueOrThrow
814
+ */
815
+ export type McpOauthTransactionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
816
+ /**
817
+ * Select specific fields to fetch from the McpOauthTransaction
818
+ */
819
+ select?: Prisma.McpOauthTransactionSelect<ExtArgs> | null;
820
+ /**
821
+ * Omit specific fields from the McpOauthTransaction
822
+ */
823
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
824
+ /**
825
+ * Filter, which McpOauthTransaction to fetch.
826
+ */
827
+ where: Prisma.McpOauthTransactionWhereUniqueInput;
828
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
829
+ };
830
+ /**
831
+ * McpOauthTransaction findFirst
832
+ */
833
+ export type McpOauthTransactionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
834
+ /**
835
+ * Select specific fields to fetch from the McpOauthTransaction
836
+ */
837
+ select?: Prisma.McpOauthTransactionSelect<ExtArgs> | null;
838
+ /**
839
+ * Omit specific fields from the McpOauthTransaction
840
+ */
841
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
842
+ /**
843
+ * Filter, which McpOauthTransaction to fetch.
844
+ */
845
+ where?: Prisma.McpOauthTransactionWhereInput;
846
+ /**
847
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
848
+ *
849
+ * Determine the order of McpOauthTransactions to fetch.
850
+ */
851
+ orderBy?: Prisma.McpOauthTransactionOrderByWithRelationInput | Prisma.McpOauthTransactionOrderByWithRelationInput[];
852
+ /**
853
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
854
+ *
855
+ * Sets the position for searching for McpOauthTransactions.
856
+ */
857
+ cursor?: Prisma.McpOauthTransactionWhereUniqueInput;
858
+ /**
859
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
860
+ *
861
+ * Take `±n` McpOauthTransactions from the position of the cursor.
862
+ */
863
+ take?: number;
864
+ /**
865
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
866
+ *
867
+ * Skip the first `n` McpOauthTransactions.
868
+ */
869
+ skip?: number;
870
+ /**
871
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
872
+ *
873
+ * Filter by unique combinations of McpOauthTransactions.
874
+ */
875
+ distinct?: Prisma.McpOauthTransactionScalarFieldEnum | Prisma.McpOauthTransactionScalarFieldEnum[];
876
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
877
+ };
878
+ /**
879
+ * McpOauthTransaction findFirstOrThrow
880
+ */
881
+ export type McpOauthTransactionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
882
+ /**
883
+ * Select specific fields to fetch from the McpOauthTransaction
884
+ */
885
+ select?: Prisma.McpOauthTransactionSelect<ExtArgs> | null;
886
+ /**
887
+ * Omit specific fields from the McpOauthTransaction
888
+ */
889
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
890
+ /**
891
+ * Filter, which McpOauthTransaction to fetch.
892
+ */
893
+ where?: Prisma.McpOauthTransactionWhereInput;
894
+ /**
895
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
896
+ *
897
+ * Determine the order of McpOauthTransactions to fetch.
898
+ */
899
+ orderBy?: Prisma.McpOauthTransactionOrderByWithRelationInput | Prisma.McpOauthTransactionOrderByWithRelationInput[];
900
+ /**
901
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
902
+ *
903
+ * Sets the position for searching for McpOauthTransactions.
904
+ */
905
+ cursor?: Prisma.McpOauthTransactionWhereUniqueInput;
906
+ /**
907
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
908
+ *
909
+ * Take `±n` McpOauthTransactions from the position of the cursor.
910
+ */
911
+ take?: number;
912
+ /**
913
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
914
+ *
915
+ * Skip the first `n` McpOauthTransactions.
916
+ */
917
+ skip?: number;
918
+ /**
919
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
920
+ *
921
+ * Filter by unique combinations of McpOauthTransactions.
922
+ */
923
+ distinct?: Prisma.McpOauthTransactionScalarFieldEnum | Prisma.McpOauthTransactionScalarFieldEnum[];
924
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
925
+ };
926
+ /**
927
+ * McpOauthTransaction findMany
928
+ */
929
+ export type McpOauthTransactionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
930
+ /**
931
+ * Select specific fields to fetch from the McpOauthTransaction
932
+ */
933
+ select?: Prisma.McpOauthTransactionSelect<ExtArgs> | null;
934
+ /**
935
+ * Omit specific fields from the McpOauthTransaction
936
+ */
937
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
938
+ /**
939
+ * Filter, which McpOauthTransactions to fetch.
940
+ */
941
+ where?: Prisma.McpOauthTransactionWhereInput;
942
+ /**
943
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
944
+ *
945
+ * Determine the order of McpOauthTransactions to fetch.
946
+ */
947
+ orderBy?: Prisma.McpOauthTransactionOrderByWithRelationInput | Prisma.McpOauthTransactionOrderByWithRelationInput[];
948
+ /**
949
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
950
+ *
951
+ * Sets the position for listing McpOauthTransactions.
952
+ */
953
+ cursor?: Prisma.McpOauthTransactionWhereUniqueInput;
954
+ /**
955
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
956
+ *
957
+ * Take `±n` McpOauthTransactions from the position of the cursor.
958
+ */
959
+ take?: number;
960
+ /**
961
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
962
+ *
963
+ * Skip the first `n` McpOauthTransactions.
964
+ */
965
+ skip?: number;
966
+ /**
967
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
968
+ *
969
+ * Filter by unique combinations of McpOauthTransactions.
970
+ */
971
+ distinct?: Prisma.McpOauthTransactionScalarFieldEnum | Prisma.McpOauthTransactionScalarFieldEnum[];
972
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
973
+ };
974
+ /**
975
+ * McpOauthTransaction create
976
+ */
977
+ export type McpOauthTransactionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
978
+ /**
979
+ * Select specific fields to fetch from the McpOauthTransaction
980
+ */
981
+ select?: Prisma.McpOauthTransactionSelect<ExtArgs> | null;
982
+ /**
983
+ * Omit specific fields from the McpOauthTransaction
984
+ */
985
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
986
+ /**
987
+ * The data needed to create a McpOauthTransaction.
988
+ */
989
+ data: Prisma.XOR<Prisma.McpOauthTransactionCreateInput, Prisma.McpOauthTransactionUncheckedCreateInput>;
990
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
991
+ };
992
+ /**
993
+ * McpOauthTransaction createMany
994
+ */
995
+ export type McpOauthTransactionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
996
+ /**
997
+ * The data used to create many McpOauthTransactions.
998
+ */
999
+ data: Prisma.McpOauthTransactionCreateManyInput | Prisma.McpOauthTransactionCreateManyInput[];
1000
+ skipDuplicates?: boolean;
1001
+ };
1002
+ /**
1003
+ * McpOauthTransaction createManyAndReturn
1004
+ */
1005
+ export type McpOauthTransactionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1006
+ /**
1007
+ * Select specific fields to fetch from the McpOauthTransaction
1008
+ */
1009
+ select?: Prisma.McpOauthTransactionSelectCreateManyAndReturn<ExtArgs> | null;
1010
+ /**
1011
+ * Omit specific fields from the McpOauthTransaction
1012
+ */
1013
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
1014
+ /**
1015
+ * The data used to create many McpOauthTransactions.
1016
+ */
1017
+ data: Prisma.McpOauthTransactionCreateManyInput | Prisma.McpOauthTransactionCreateManyInput[];
1018
+ skipDuplicates?: boolean;
1019
+ };
1020
+ /**
1021
+ * McpOauthTransaction update
1022
+ */
1023
+ export type McpOauthTransactionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1024
+ /**
1025
+ * Select specific fields to fetch from the McpOauthTransaction
1026
+ */
1027
+ select?: Prisma.McpOauthTransactionSelect<ExtArgs> | null;
1028
+ /**
1029
+ * Omit specific fields from the McpOauthTransaction
1030
+ */
1031
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
1032
+ /**
1033
+ * The data needed to update a McpOauthTransaction.
1034
+ */
1035
+ data: Prisma.XOR<Prisma.McpOauthTransactionUpdateInput, Prisma.McpOauthTransactionUncheckedUpdateInput>;
1036
+ /**
1037
+ * Choose, which McpOauthTransaction to update.
1038
+ */
1039
+ where: Prisma.McpOauthTransactionWhereUniqueInput;
1040
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1041
+ };
1042
+ /**
1043
+ * McpOauthTransaction updateMany
1044
+ */
1045
+ export type McpOauthTransactionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1046
+ /**
1047
+ * The data used to update McpOauthTransactions.
1048
+ */
1049
+ data: Prisma.XOR<Prisma.McpOauthTransactionUpdateManyMutationInput, Prisma.McpOauthTransactionUncheckedUpdateManyInput>;
1050
+ /**
1051
+ * Filter which McpOauthTransactions to update
1052
+ */
1053
+ where?: Prisma.McpOauthTransactionWhereInput;
1054
+ /**
1055
+ * Limit how many McpOauthTransactions to update.
1056
+ */
1057
+ limit?: number;
1058
+ };
1059
+ /**
1060
+ * McpOauthTransaction updateManyAndReturn
1061
+ */
1062
+ export type McpOauthTransactionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1063
+ /**
1064
+ * Select specific fields to fetch from the McpOauthTransaction
1065
+ */
1066
+ select?: Prisma.McpOauthTransactionSelectUpdateManyAndReturn<ExtArgs> | null;
1067
+ /**
1068
+ * Omit specific fields from the McpOauthTransaction
1069
+ */
1070
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
1071
+ /**
1072
+ * The data used to update McpOauthTransactions.
1073
+ */
1074
+ data: Prisma.XOR<Prisma.McpOauthTransactionUpdateManyMutationInput, Prisma.McpOauthTransactionUncheckedUpdateManyInput>;
1075
+ /**
1076
+ * Filter which McpOauthTransactions to update
1077
+ */
1078
+ where?: Prisma.McpOauthTransactionWhereInput;
1079
+ /**
1080
+ * Limit how many McpOauthTransactions to update.
1081
+ */
1082
+ limit?: number;
1083
+ };
1084
+ /**
1085
+ * McpOauthTransaction upsert
1086
+ */
1087
+ export type McpOauthTransactionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1088
+ /**
1089
+ * Select specific fields to fetch from the McpOauthTransaction
1090
+ */
1091
+ select?: Prisma.McpOauthTransactionSelect<ExtArgs> | null;
1092
+ /**
1093
+ * Omit specific fields from the McpOauthTransaction
1094
+ */
1095
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
1096
+ /**
1097
+ * The filter to search for the McpOauthTransaction to update in case it exists.
1098
+ */
1099
+ where: Prisma.McpOauthTransactionWhereUniqueInput;
1100
+ /**
1101
+ * In case the McpOauthTransaction found by the `where` argument doesn't exist, create a new McpOauthTransaction with this data.
1102
+ */
1103
+ create: Prisma.XOR<Prisma.McpOauthTransactionCreateInput, Prisma.McpOauthTransactionUncheckedCreateInput>;
1104
+ /**
1105
+ * In case the McpOauthTransaction was found with the provided `where` argument, update it with this data.
1106
+ */
1107
+ update: Prisma.XOR<Prisma.McpOauthTransactionUpdateInput, Prisma.McpOauthTransactionUncheckedUpdateInput>;
1108
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1109
+ };
1110
+ /**
1111
+ * McpOauthTransaction delete
1112
+ */
1113
+ export type McpOauthTransactionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1114
+ /**
1115
+ * Select specific fields to fetch from the McpOauthTransaction
1116
+ */
1117
+ select?: Prisma.McpOauthTransactionSelect<ExtArgs> | null;
1118
+ /**
1119
+ * Omit specific fields from the McpOauthTransaction
1120
+ */
1121
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
1122
+ /**
1123
+ * Filter which McpOauthTransaction to delete.
1124
+ */
1125
+ where: Prisma.McpOauthTransactionWhereUniqueInput;
1126
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1127
+ };
1128
+ /**
1129
+ * McpOauthTransaction deleteMany
1130
+ */
1131
+ export type McpOauthTransactionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1132
+ /**
1133
+ * Filter which McpOauthTransactions to delete
1134
+ */
1135
+ where?: Prisma.McpOauthTransactionWhereInput;
1136
+ /**
1137
+ * Limit how many McpOauthTransactions to delete.
1138
+ */
1139
+ limit?: number;
1140
+ };
1141
+ /**
1142
+ * McpOauthTransaction without action
1143
+ */
1144
+ export type McpOauthTransactionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1145
+ /**
1146
+ * Select specific fields to fetch from the McpOauthTransaction
1147
+ */
1148
+ select?: Prisma.McpOauthTransactionSelect<ExtArgs> | null;
1149
+ /**
1150
+ * Omit specific fields from the McpOauthTransaction
1151
+ */
1152
+ omit?: Prisma.McpOauthTransactionOmit<ExtArgs> | null;
1153
+ };