@structured-world/gitlab-mcp-db 10.1.0 → 12.0.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.
- package/README.md +8 -8
- package/dist/generated/prisma/client.d.ts +2 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +178 -9
- package/dist/generated/prisma/internal/class.d.ts +6 -0
- package/dist/generated/prisma/internal/class.js +6 -6
- package/dist/generated/prisma/internal/class.js.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +209 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +56 -5
- package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -1
- package/dist/generated/prisma/models/AccountSettings.d.ts +400 -0
- package/dist/generated/prisma/models/AccountSettings.js +3 -0
- package/dist/generated/prisma/models/AccountSettings.js.map +1 -0
- package/dist/generated/prisma/models/AuthCodeFlowState.d.ts +174 -2
- package/dist/generated/prisma/models/DeviceFlowState.d.ts +214 -2
- package/dist/generated/prisma/models/OAuthClient.d.ts +577 -0
- package/dist/generated/prisma/models/OAuthClient.js +3 -0
- package/dist/generated/prisma/models/OAuthClient.js.map +1 -0
- package/dist/generated/prisma/models/OAuthSession.d.ts +555 -3
- package/dist/generated/prisma/models.d.ts +2 -0
- package/dist/src/migrate.d.ts +16 -0
- package/dist/src/migrate.js +115 -0
- package/dist/src/migrate.js.map +1 -0
- package/dist/src/postgresql.d.ts +29 -1
- package/dist/src/postgresql.js +580 -86
- package/dist/src/postgresql.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -6
- package/prisma/migrations/0_init/migration.sql +115 -0
- package/prisma/migrations/20261008000000_released_schema_columns/migration.sql +15 -0
- package/prisma/migrations/20261009000000_oauth_account_linking/migration.sql +47 -0
- package/prisma/migrations/20261010000000_account_settings/migration.sql +12 -0
- package/prisma/migrations/20261017000000_linked_accounts/migration.sql +15 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema.prisma +66 -0
- package/prisma.config.ts +19 -0
|
@@ -11,6 +11,7 @@ export type AggregateOAuthSession = {
|
|
|
11
11
|
export type OAuthSessionAvgAggregateOutputType = {
|
|
12
12
|
mcpTokenExpiry: number | null;
|
|
13
13
|
gitlabTokenExpiry: number | null;
|
|
14
|
+
gitlabRefreshLeaseUntil: number | null;
|
|
14
15
|
gitlabUserId: number | null;
|
|
15
16
|
createdAt: number | null;
|
|
16
17
|
updatedAt: number | null;
|
|
@@ -18,6 +19,7 @@ export type OAuthSessionAvgAggregateOutputType = {
|
|
|
18
19
|
export type OAuthSessionSumAggregateOutputType = {
|
|
19
20
|
mcpTokenExpiry: bigint | null;
|
|
20
21
|
gitlabTokenExpiry: bigint | null;
|
|
22
|
+
gitlabRefreshLeaseUntil: bigint | null;
|
|
21
23
|
gitlabUserId: number | null;
|
|
22
24
|
createdAt: bigint | null;
|
|
23
25
|
updatedAt: bigint | null;
|
|
@@ -30,11 +32,14 @@ export type OAuthSessionMinAggregateOutputType = {
|
|
|
30
32
|
gitlabAccessToken: string | null;
|
|
31
33
|
gitlabRefreshToken: string | null;
|
|
32
34
|
gitlabTokenExpiry: bigint | null;
|
|
35
|
+
gitlabRefreshLeaseUntil: bigint | null;
|
|
33
36
|
gitlabUserId: number | null;
|
|
34
37
|
gitlabUsername: string | null;
|
|
35
38
|
gitlabApiUrl: string | null;
|
|
36
39
|
instanceLabel: string | null;
|
|
37
40
|
clientId: string | null;
|
|
41
|
+
resource: string | null;
|
|
42
|
+
linkedToSessionId: string | null;
|
|
38
43
|
createdAt: bigint | null;
|
|
39
44
|
updatedAt: bigint | null;
|
|
40
45
|
};
|
|
@@ -46,11 +51,14 @@ export type OAuthSessionMaxAggregateOutputType = {
|
|
|
46
51
|
gitlabAccessToken: string | null;
|
|
47
52
|
gitlabRefreshToken: string | null;
|
|
48
53
|
gitlabTokenExpiry: bigint | null;
|
|
54
|
+
gitlabRefreshLeaseUntil: bigint | null;
|
|
49
55
|
gitlabUserId: number | null;
|
|
50
56
|
gitlabUsername: string | null;
|
|
51
57
|
gitlabApiUrl: string | null;
|
|
52
58
|
instanceLabel: string | null;
|
|
53
59
|
clientId: string | null;
|
|
60
|
+
resource: string | null;
|
|
61
|
+
linkedToSessionId: string | null;
|
|
54
62
|
createdAt: bigint | null;
|
|
55
63
|
updatedAt: bigint | null;
|
|
56
64
|
};
|
|
@@ -62,12 +70,16 @@ export type OAuthSessionCountAggregateOutputType = {
|
|
|
62
70
|
gitlabAccessToken: number;
|
|
63
71
|
gitlabRefreshToken: number;
|
|
64
72
|
gitlabTokenExpiry: number;
|
|
73
|
+
gitlabScopes: number;
|
|
74
|
+
gitlabRefreshLeaseUntil: number;
|
|
65
75
|
gitlabUserId: number;
|
|
66
76
|
gitlabUsername: number;
|
|
67
77
|
gitlabApiUrl: number;
|
|
68
78
|
instanceLabel: number;
|
|
69
79
|
clientId: number;
|
|
70
80
|
scopes: number;
|
|
81
|
+
resource: number;
|
|
82
|
+
linkedToSessionId: number;
|
|
71
83
|
createdAt: number;
|
|
72
84
|
updatedAt: number;
|
|
73
85
|
_all: number;
|
|
@@ -75,6 +87,7 @@ export type OAuthSessionCountAggregateOutputType = {
|
|
|
75
87
|
export type OAuthSessionAvgAggregateInputType = {
|
|
76
88
|
mcpTokenExpiry?: true;
|
|
77
89
|
gitlabTokenExpiry?: true;
|
|
90
|
+
gitlabRefreshLeaseUntil?: true;
|
|
78
91
|
gitlabUserId?: true;
|
|
79
92
|
createdAt?: true;
|
|
80
93
|
updatedAt?: true;
|
|
@@ -82,6 +95,7 @@ export type OAuthSessionAvgAggregateInputType = {
|
|
|
82
95
|
export type OAuthSessionSumAggregateInputType = {
|
|
83
96
|
mcpTokenExpiry?: true;
|
|
84
97
|
gitlabTokenExpiry?: true;
|
|
98
|
+
gitlabRefreshLeaseUntil?: true;
|
|
85
99
|
gitlabUserId?: true;
|
|
86
100
|
createdAt?: true;
|
|
87
101
|
updatedAt?: true;
|
|
@@ -94,11 +108,14 @@ export type OAuthSessionMinAggregateInputType = {
|
|
|
94
108
|
gitlabAccessToken?: true;
|
|
95
109
|
gitlabRefreshToken?: true;
|
|
96
110
|
gitlabTokenExpiry?: true;
|
|
111
|
+
gitlabRefreshLeaseUntil?: true;
|
|
97
112
|
gitlabUserId?: true;
|
|
98
113
|
gitlabUsername?: true;
|
|
99
114
|
gitlabApiUrl?: true;
|
|
100
115
|
instanceLabel?: true;
|
|
101
116
|
clientId?: true;
|
|
117
|
+
resource?: true;
|
|
118
|
+
linkedToSessionId?: true;
|
|
102
119
|
createdAt?: true;
|
|
103
120
|
updatedAt?: true;
|
|
104
121
|
};
|
|
@@ -110,11 +127,14 @@ export type OAuthSessionMaxAggregateInputType = {
|
|
|
110
127
|
gitlabAccessToken?: true;
|
|
111
128
|
gitlabRefreshToken?: true;
|
|
112
129
|
gitlabTokenExpiry?: true;
|
|
130
|
+
gitlabRefreshLeaseUntil?: true;
|
|
113
131
|
gitlabUserId?: true;
|
|
114
132
|
gitlabUsername?: true;
|
|
115
133
|
gitlabApiUrl?: true;
|
|
116
134
|
instanceLabel?: true;
|
|
117
135
|
clientId?: true;
|
|
136
|
+
resource?: true;
|
|
137
|
+
linkedToSessionId?: true;
|
|
118
138
|
createdAt?: true;
|
|
119
139
|
updatedAt?: true;
|
|
120
140
|
};
|
|
@@ -126,12 +146,16 @@ export type OAuthSessionCountAggregateInputType = {
|
|
|
126
146
|
gitlabAccessToken?: true;
|
|
127
147
|
gitlabRefreshToken?: true;
|
|
128
148
|
gitlabTokenExpiry?: true;
|
|
149
|
+
gitlabScopes?: true;
|
|
150
|
+
gitlabRefreshLeaseUntil?: true;
|
|
129
151
|
gitlabUserId?: true;
|
|
130
152
|
gitlabUsername?: true;
|
|
131
153
|
gitlabApiUrl?: true;
|
|
132
154
|
instanceLabel?: true;
|
|
133
155
|
clientId?: true;
|
|
134
156
|
scopes?: true;
|
|
157
|
+
resource?: true;
|
|
158
|
+
linkedToSessionId?: true;
|
|
135
159
|
createdAt?: true;
|
|
136
160
|
updatedAt?: true;
|
|
137
161
|
_all?: true;
|
|
@@ -172,12 +196,16 @@ export type OAuthSessionGroupByOutputType = {
|
|
|
172
196
|
gitlabAccessToken: string;
|
|
173
197
|
gitlabRefreshToken: string;
|
|
174
198
|
gitlabTokenExpiry: bigint;
|
|
199
|
+
gitlabScopes: runtime.JsonValue | null;
|
|
200
|
+
gitlabRefreshLeaseUntil: bigint | null;
|
|
175
201
|
gitlabUserId: number;
|
|
176
202
|
gitlabUsername: string;
|
|
177
203
|
gitlabApiUrl: string | null;
|
|
178
204
|
instanceLabel: string | null;
|
|
179
205
|
clientId: string;
|
|
180
206
|
scopes: string[];
|
|
207
|
+
resource: string | null;
|
|
208
|
+
linkedToSessionId: string | null;
|
|
181
209
|
createdAt: bigint;
|
|
182
210
|
updatedAt: bigint;
|
|
183
211
|
_count: OAuthSessionCountAggregateOutputType | null;
|
|
@@ -200,16 +228,22 @@ export type OAuthSessionWhereInput = {
|
|
|
200
228
|
gitlabAccessToken?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
201
229
|
gitlabRefreshToken?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
202
230
|
gitlabTokenExpiry?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
231
|
+
gitlabScopes?: Prisma.JsonNullableFilter<"OAuthSession">;
|
|
232
|
+
gitlabRefreshLeaseUntil?: Prisma.BigIntNullableFilter<"OAuthSession"> | bigint | number | null;
|
|
203
233
|
gitlabUserId?: Prisma.IntFilter<"OAuthSession"> | number;
|
|
204
234
|
gitlabUsername?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
205
235
|
gitlabApiUrl?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
206
236
|
instanceLabel?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
207
237
|
clientId?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
208
238
|
scopes?: Prisma.StringNullableListFilter<"OAuthSession">;
|
|
239
|
+
resource?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
240
|
+
linkedToSessionId?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
209
241
|
createdAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
210
242
|
updatedAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
211
243
|
authorizationCodes?: Prisma.AuthorizationCodeListRelationFilter;
|
|
212
244
|
mcpSessionMappings?: Prisma.McpSessionMappingListRelationFilter;
|
|
245
|
+
linkedTo?: Prisma.XOR<Prisma.OAuthSessionNullableScalarRelationFilter, Prisma.OAuthSessionWhereInput> | null;
|
|
246
|
+
linkedAccounts?: Prisma.OAuthSessionListRelationFilter;
|
|
213
247
|
};
|
|
214
248
|
export type OAuthSessionOrderByWithRelationInput = {
|
|
215
249
|
id?: Prisma.SortOrder;
|
|
@@ -219,16 +253,22 @@ export type OAuthSessionOrderByWithRelationInput = {
|
|
|
219
253
|
gitlabAccessToken?: Prisma.SortOrder;
|
|
220
254
|
gitlabRefreshToken?: Prisma.SortOrder;
|
|
221
255
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
256
|
+
gitlabScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
257
|
+
gitlabRefreshLeaseUntil?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
222
258
|
gitlabUserId?: Prisma.SortOrder;
|
|
223
259
|
gitlabUsername?: Prisma.SortOrder;
|
|
224
260
|
gitlabApiUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
225
261
|
instanceLabel?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
226
262
|
clientId?: Prisma.SortOrder;
|
|
227
263
|
scopes?: Prisma.SortOrder;
|
|
264
|
+
resource?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
265
|
+
linkedToSessionId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
228
266
|
createdAt?: Prisma.SortOrder;
|
|
229
267
|
updatedAt?: Prisma.SortOrder;
|
|
230
268
|
authorizationCodes?: Prisma.AuthorizationCodeOrderByRelationAggregateInput;
|
|
231
269
|
mcpSessionMappings?: Prisma.McpSessionMappingOrderByRelationAggregateInput;
|
|
270
|
+
linkedTo?: Prisma.OAuthSessionOrderByWithRelationInput;
|
|
271
|
+
linkedAccounts?: Prisma.OAuthSessionOrderByRelationAggregateInput;
|
|
232
272
|
};
|
|
233
273
|
export type OAuthSessionWhereUniqueInput = Prisma.AtLeast<{
|
|
234
274
|
id?: string;
|
|
@@ -241,16 +281,22 @@ export type OAuthSessionWhereUniqueInput = Prisma.AtLeast<{
|
|
|
241
281
|
gitlabAccessToken?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
242
282
|
gitlabRefreshToken?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
243
283
|
gitlabTokenExpiry?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
284
|
+
gitlabScopes?: Prisma.JsonNullableFilter<"OAuthSession">;
|
|
285
|
+
gitlabRefreshLeaseUntil?: Prisma.BigIntNullableFilter<"OAuthSession"> | bigint | number | null;
|
|
244
286
|
gitlabUserId?: Prisma.IntFilter<"OAuthSession"> | number;
|
|
245
287
|
gitlabUsername?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
246
288
|
gitlabApiUrl?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
247
289
|
instanceLabel?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
248
290
|
clientId?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
249
291
|
scopes?: Prisma.StringNullableListFilter<"OAuthSession">;
|
|
292
|
+
resource?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
293
|
+
linkedToSessionId?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
250
294
|
createdAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
251
295
|
updatedAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
252
296
|
authorizationCodes?: Prisma.AuthorizationCodeListRelationFilter;
|
|
253
297
|
mcpSessionMappings?: Prisma.McpSessionMappingListRelationFilter;
|
|
298
|
+
linkedTo?: Prisma.XOR<Prisma.OAuthSessionNullableScalarRelationFilter, Prisma.OAuthSessionWhereInput> | null;
|
|
299
|
+
linkedAccounts?: Prisma.OAuthSessionListRelationFilter;
|
|
254
300
|
}, "id">;
|
|
255
301
|
export type OAuthSessionOrderByWithAggregationInput = {
|
|
256
302
|
id?: Prisma.SortOrder;
|
|
@@ -260,12 +306,16 @@ export type OAuthSessionOrderByWithAggregationInput = {
|
|
|
260
306
|
gitlabAccessToken?: Prisma.SortOrder;
|
|
261
307
|
gitlabRefreshToken?: Prisma.SortOrder;
|
|
262
308
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
309
|
+
gitlabScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
310
|
+
gitlabRefreshLeaseUntil?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
263
311
|
gitlabUserId?: Prisma.SortOrder;
|
|
264
312
|
gitlabUsername?: Prisma.SortOrder;
|
|
265
313
|
gitlabApiUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
266
314
|
instanceLabel?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
267
315
|
clientId?: Prisma.SortOrder;
|
|
268
316
|
scopes?: Prisma.SortOrder;
|
|
317
|
+
resource?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
318
|
+
linkedToSessionId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
269
319
|
createdAt?: Prisma.SortOrder;
|
|
270
320
|
updatedAt?: Prisma.SortOrder;
|
|
271
321
|
_count?: Prisma.OAuthSessionCountOrderByAggregateInput;
|
|
@@ -285,12 +335,16 @@ export type OAuthSessionScalarWhereWithAggregatesInput = {
|
|
|
285
335
|
gitlabAccessToken?: Prisma.StringWithAggregatesFilter<"OAuthSession"> | string;
|
|
286
336
|
gitlabRefreshToken?: Prisma.StringWithAggregatesFilter<"OAuthSession"> | string;
|
|
287
337
|
gitlabTokenExpiry?: Prisma.BigIntWithAggregatesFilter<"OAuthSession"> | bigint | number;
|
|
338
|
+
gitlabScopes?: Prisma.JsonNullableWithAggregatesFilter<"OAuthSession">;
|
|
339
|
+
gitlabRefreshLeaseUntil?: Prisma.BigIntNullableWithAggregatesFilter<"OAuthSession"> | bigint | number | null;
|
|
288
340
|
gitlabUserId?: Prisma.IntWithAggregatesFilter<"OAuthSession"> | number;
|
|
289
341
|
gitlabUsername?: Prisma.StringWithAggregatesFilter<"OAuthSession"> | string;
|
|
290
342
|
gitlabApiUrl?: Prisma.StringNullableWithAggregatesFilter<"OAuthSession"> | string | null;
|
|
291
343
|
instanceLabel?: Prisma.StringNullableWithAggregatesFilter<"OAuthSession"> | string | null;
|
|
292
344
|
clientId?: Prisma.StringWithAggregatesFilter<"OAuthSession"> | string;
|
|
293
345
|
scopes?: Prisma.StringNullableListFilter<"OAuthSession">;
|
|
346
|
+
resource?: Prisma.StringNullableWithAggregatesFilter<"OAuthSession"> | string | null;
|
|
347
|
+
linkedToSessionId?: Prisma.StringNullableWithAggregatesFilter<"OAuthSession"> | string | null;
|
|
294
348
|
createdAt?: Prisma.BigIntWithAggregatesFilter<"OAuthSession"> | bigint | number;
|
|
295
349
|
updatedAt?: Prisma.BigIntWithAggregatesFilter<"OAuthSession"> | bigint | number;
|
|
296
350
|
};
|
|
@@ -302,16 +356,21 @@ export type OAuthSessionCreateInput = {
|
|
|
302
356
|
gitlabAccessToken: string;
|
|
303
357
|
gitlabRefreshToken: string;
|
|
304
358
|
gitlabTokenExpiry: bigint | number;
|
|
359
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
360
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
305
361
|
gitlabUserId: number;
|
|
306
362
|
gitlabUsername: string;
|
|
307
363
|
gitlabApiUrl?: string | null;
|
|
308
364
|
instanceLabel?: string | null;
|
|
309
365
|
clientId: string;
|
|
310
366
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
367
|
+
resource?: string | null;
|
|
311
368
|
createdAt: bigint | number;
|
|
312
369
|
updatedAt: bigint | number;
|
|
313
370
|
authorizationCodes?: Prisma.AuthorizationCodeCreateNestedManyWithoutSessionInput;
|
|
314
371
|
mcpSessionMappings?: Prisma.McpSessionMappingCreateNestedManyWithoutOauthSessionInput;
|
|
372
|
+
linkedTo?: Prisma.OAuthSessionCreateNestedOneWithoutLinkedAccountsInput;
|
|
373
|
+
linkedAccounts?: Prisma.OAuthSessionCreateNestedManyWithoutLinkedToInput;
|
|
315
374
|
};
|
|
316
375
|
export type OAuthSessionUncheckedCreateInput = {
|
|
317
376
|
id?: string;
|
|
@@ -321,16 +380,21 @@ export type OAuthSessionUncheckedCreateInput = {
|
|
|
321
380
|
gitlabAccessToken: string;
|
|
322
381
|
gitlabRefreshToken: string;
|
|
323
382
|
gitlabTokenExpiry: bigint | number;
|
|
383
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
384
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
324
385
|
gitlabUserId: number;
|
|
325
386
|
gitlabUsername: string;
|
|
326
387
|
gitlabApiUrl?: string | null;
|
|
327
388
|
instanceLabel?: string | null;
|
|
328
389
|
clientId: string;
|
|
329
390
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
391
|
+
resource?: string | null;
|
|
392
|
+
linkedToSessionId?: string | null;
|
|
330
393
|
createdAt: bigint | number;
|
|
331
394
|
updatedAt: bigint | number;
|
|
332
395
|
authorizationCodes?: Prisma.AuthorizationCodeUncheckedCreateNestedManyWithoutSessionInput;
|
|
333
396
|
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedCreateNestedManyWithoutOauthSessionInput;
|
|
397
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedCreateNestedManyWithoutLinkedToInput;
|
|
334
398
|
};
|
|
335
399
|
export type OAuthSessionUpdateInput = {
|
|
336
400
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -340,16 +404,21 @@ export type OAuthSessionUpdateInput = {
|
|
|
340
404
|
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
341
405
|
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
342
406
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
407
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
408
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
343
409
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
344
410
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
345
411
|
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
346
412
|
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
347
413
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
348
414
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
415
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
349
416
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
350
417
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
351
418
|
authorizationCodes?: Prisma.AuthorizationCodeUpdateManyWithoutSessionNestedInput;
|
|
352
419
|
mcpSessionMappings?: Prisma.McpSessionMappingUpdateManyWithoutOauthSessionNestedInput;
|
|
420
|
+
linkedTo?: Prisma.OAuthSessionUpdateOneWithoutLinkedAccountsNestedInput;
|
|
421
|
+
linkedAccounts?: Prisma.OAuthSessionUpdateManyWithoutLinkedToNestedInput;
|
|
353
422
|
};
|
|
354
423
|
export type OAuthSessionUncheckedUpdateInput = {
|
|
355
424
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -359,16 +428,21 @@ export type OAuthSessionUncheckedUpdateInput = {
|
|
|
359
428
|
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
360
429
|
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
361
430
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
431
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
432
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
362
433
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
363
434
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
364
435
|
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
365
436
|
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
366
437
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
367
438
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
439
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
440
|
+
linkedToSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
368
441
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
369
442
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
370
443
|
authorizationCodes?: Prisma.AuthorizationCodeUncheckedUpdateManyWithoutSessionNestedInput;
|
|
371
444
|
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedUpdateManyWithoutOauthSessionNestedInput;
|
|
445
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedUpdateManyWithoutLinkedToNestedInput;
|
|
372
446
|
};
|
|
373
447
|
export type OAuthSessionCreateManyInput = {
|
|
374
448
|
id?: string;
|
|
@@ -378,12 +452,16 @@ export type OAuthSessionCreateManyInput = {
|
|
|
378
452
|
gitlabAccessToken: string;
|
|
379
453
|
gitlabRefreshToken: string;
|
|
380
454
|
gitlabTokenExpiry: bigint | number;
|
|
455
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
456
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
381
457
|
gitlabUserId: number;
|
|
382
458
|
gitlabUsername: string;
|
|
383
459
|
gitlabApiUrl?: string | null;
|
|
384
460
|
instanceLabel?: string | null;
|
|
385
461
|
clientId: string;
|
|
386
462
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
463
|
+
resource?: string | null;
|
|
464
|
+
linkedToSessionId?: string | null;
|
|
387
465
|
createdAt: bigint | number;
|
|
388
466
|
updatedAt: bigint | number;
|
|
389
467
|
};
|
|
@@ -395,12 +473,15 @@ export type OAuthSessionUpdateManyMutationInput = {
|
|
|
395
473
|
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
396
474
|
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
397
475
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
476
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
477
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
398
478
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
399
479
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
480
|
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
401
481
|
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
402
482
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
403
483
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
484
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
404
485
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
405
486
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
406
487
|
};
|
|
@@ -412,12 +493,16 @@ export type OAuthSessionUncheckedUpdateManyInput = {
|
|
|
412
493
|
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
413
494
|
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
414
495
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
496
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
497
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
415
498
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
416
499
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
417
500
|
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
418
501
|
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
419
502
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
420
503
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
504
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
505
|
+
linkedToSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
421
506
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
422
507
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
423
508
|
};
|
|
@@ -428,6 +513,18 @@ export type StringNullableListFilter<$PrismaModel = never> = {
|
|
|
428
513
|
hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
429
514
|
isEmpty?: boolean;
|
|
430
515
|
};
|
|
516
|
+
export type OAuthSessionNullableScalarRelationFilter = {
|
|
517
|
+
is?: Prisma.OAuthSessionWhereInput | null;
|
|
518
|
+
isNot?: Prisma.OAuthSessionWhereInput | null;
|
|
519
|
+
};
|
|
520
|
+
export type OAuthSessionListRelationFilter = {
|
|
521
|
+
every?: Prisma.OAuthSessionWhereInput;
|
|
522
|
+
some?: Prisma.OAuthSessionWhereInput;
|
|
523
|
+
none?: Prisma.OAuthSessionWhereInput;
|
|
524
|
+
};
|
|
525
|
+
export type OAuthSessionOrderByRelationAggregateInput = {
|
|
526
|
+
_count?: Prisma.SortOrder;
|
|
527
|
+
};
|
|
431
528
|
export type OAuthSessionCountOrderByAggregateInput = {
|
|
432
529
|
id?: Prisma.SortOrder;
|
|
433
530
|
mcpAccessToken?: Prisma.SortOrder;
|
|
@@ -436,18 +533,23 @@ export type OAuthSessionCountOrderByAggregateInput = {
|
|
|
436
533
|
gitlabAccessToken?: Prisma.SortOrder;
|
|
437
534
|
gitlabRefreshToken?: Prisma.SortOrder;
|
|
438
535
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
536
|
+
gitlabScopes?: Prisma.SortOrder;
|
|
537
|
+
gitlabRefreshLeaseUntil?: Prisma.SortOrder;
|
|
439
538
|
gitlabUserId?: Prisma.SortOrder;
|
|
440
539
|
gitlabUsername?: Prisma.SortOrder;
|
|
441
540
|
gitlabApiUrl?: Prisma.SortOrder;
|
|
442
541
|
instanceLabel?: Prisma.SortOrder;
|
|
443
542
|
clientId?: Prisma.SortOrder;
|
|
444
543
|
scopes?: Prisma.SortOrder;
|
|
544
|
+
resource?: Prisma.SortOrder;
|
|
545
|
+
linkedToSessionId?: Prisma.SortOrder;
|
|
445
546
|
createdAt?: Prisma.SortOrder;
|
|
446
547
|
updatedAt?: Prisma.SortOrder;
|
|
447
548
|
};
|
|
448
549
|
export type OAuthSessionAvgOrderByAggregateInput = {
|
|
449
550
|
mcpTokenExpiry?: Prisma.SortOrder;
|
|
450
551
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
552
|
+
gitlabRefreshLeaseUntil?: Prisma.SortOrder;
|
|
451
553
|
gitlabUserId?: Prisma.SortOrder;
|
|
452
554
|
createdAt?: Prisma.SortOrder;
|
|
453
555
|
updatedAt?: Prisma.SortOrder;
|
|
@@ -460,11 +562,14 @@ export type OAuthSessionMaxOrderByAggregateInput = {
|
|
|
460
562
|
gitlabAccessToken?: Prisma.SortOrder;
|
|
461
563
|
gitlabRefreshToken?: Prisma.SortOrder;
|
|
462
564
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
565
|
+
gitlabRefreshLeaseUntil?: Prisma.SortOrder;
|
|
463
566
|
gitlabUserId?: Prisma.SortOrder;
|
|
464
567
|
gitlabUsername?: Prisma.SortOrder;
|
|
465
568
|
gitlabApiUrl?: Prisma.SortOrder;
|
|
466
569
|
instanceLabel?: Prisma.SortOrder;
|
|
467
570
|
clientId?: Prisma.SortOrder;
|
|
571
|
+
resource?: Prisma.SortOrder;
|
|
572
|
+
linkedToSessionId?: Prisma.SortOrder;
|
|
468
573
|
createdAt?: Prisma.SortOrder;
|
|
469
574
|
updatedAt?: Prisma.SortOrder;
|
|
470
575
|
};
|
|
@@ -476,17 +581,21 @@ export type OAuthSessionMinOrderByAggregateInput = {
|
|
|
476
581
|
gitlabAccessToken?: Prisma.SortOrder;
|
|
477
582
|
gitlabRefreshToken?: Prisma.SortOrder;
|
|
478
583
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
584
|
+
gitlabRefreshLeaseUntil?: Prisma.SortOrder;
|
|
479
585
|
gitlabUserId?: Prisma.SortOrder;
|
|
480
586
|
gitlabUsername?: Prisma.SortOrder;
|
|
481
587
|
gitlabApiUrl?: Prisma.SortOrder;
|
|
482
588
|
instanceLabel?: Prisma.SortOrder;
|
|
483
589
|
clientId?: Prisma.SortOrder;
|
|
590
|
+
resource?: Prisma.SortOrder;
|
|
591
|
+
linkedToSessionId?: Prisma.SortOrder;
|
|
484
592
|
createdAt?: Prisma.SortOrder;
|
|
485
593
|
updatedAt?: Prisma.SortOrder;
|
|
486
594
|
};
|
|
487
595
|
export type OAuthSessionSumOrderByAggregateInput = {
|
|
488
596
|
mcpTokenExpiry?: Prisma.SortOrder;
|
|
489
597
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
598
|
+
gitlabRefreshLeaseUntil?: Prisma.SortOrder;
|
|
490
599
|
gitlabUserId?: Prisma.SortOrder;
|
|
491
600
|
createdAt?: Prisma.SortOrder;
|
|
492
601
|
updatedAt?: Prisma.SortOrder;
|
|
@@ -498,6 +607,23 @@ export type OAuthSessionScalarRelationFilter = {
|
|
|
498
607
|
export type OAuthSessionCreatescopesInput = {
|
|
499
608
|
set: string[];
|
|
500
609
|
};
|
|
610
|
+
export type OAuthSessionCreateNestedOneWithoutLinkedAccountsInput = {
|
|
611
|
+
create?: Prisma.XOR<Prisma.OAuthSessionCreateWithoutLinkedAccountsInput, Prisma.OAuthSessionUncheckedCreateWithoutLinkedAccountsInput>;
|
|
612
|
+
connectOrCreate?: Prisma.OAuthSessionCreateOrConnectWithoutLinkedAccountsInput;
|
|
613
|
+
connect?: Prisma.OAuthSessionWhereUniqueInput;
|
|
614
|
+
};
|
|
615
|
+
export type OAuthSessionCreateNestedManyWithoutLinkedToInput = {
|
|
616
|
+
create?: Prisma.XOR<Prisma.OAuthSessionCreateWithoutLinkedToInput, Prisma.OAuthSessionUncheckedCreateWithoutLinkedToInput> | Prisma.OAuthSessionCreateWithoutLinkedToInput[] | Prisma.OAuthSessionUncheckedCreateWithoutLinkedToInput[];
|
|
617
|
+
connectOrCreate?: Prisma.OAuthSessionCreateOrConnectWithoutLinkedToInput | Prisma.OAuthSessionCreateOrConnectWithoutLinkedToInput[];
|
|
618
|
+
createMany?: Prisma.OAuthSessionCreateManyLinkedToInputEnvelope;
|
|
619
|
+
connect?: Prisma.OAuthSessionWhereUniqueInput | Prisma.OAuthSessionWhereUniqueInput[];
|
|
620
|
+
};
|
|
621
|
+
export type OAuthSessionUncheckedCreateNestedManyWithoutLinkedToInput = {
|
|
622
|
+
create?: Prisma.XOR<Prisma.OAuthSessionCreateWithoutLinkedToInput, Prisma.OAuthSessionUncheckedCreateWithoutLinkedToInput> | Prisma.OAuthSessionCreateWithoutLinkedToInput[] | Prisma.OAuthSessionUncheckedCreateWithoutLinkedToInput[];
|
|
623
|
+
connectOrCreate?: Prisma.OAuthSessionCreateOrConnectWithoutLinkedToInput | Prisma.OAuthSessionCreateOrConnectWithoutLinkedToInput[];
|
|
624
|
+
createMany?: Prisma.OAuthSessionCreateManyLinkedToInputEnvelope;
|
|
625
|
+
connect?: Prisma.OAuthSessionWhereUniqueInput | Prisma.OAuthSessionWhereUniqueInput[];
|
|
626
|
+
};
|
|
501
627
|
export type StringFieldUpdateOperationsInput = {
|
|
502
628
|
set?: string;
|
|
503
629
|
};
|
|
@@ -508,6 +634,13 @@ export type BigIntFieldUpdateOperationsInput = {
|
|
|
508
634
|
multiply?: bigint | number;
|
|
509
635
|
divide?: bigint | number;
|
|
510
636
|
};
|
|
637
|
+
export type NullableBigIntFieldUpdateOperationsInput = {
|
|
638
|
+
set?: bigint | number | null;
|
|
639
|
+
increment?: bigint | number;
|
|
640
|
+
decrement?: bigint | number;
|
|
641
|
+
multiply?: bigint | number;
|
|
642
|
+
divide?: bigint | number;
|
|
643
|
+
};
|
|
511
644
|
export type IntFieldUpdateOperationsInput = {
|
|
512
645
|
set?: number;
|
|
513
646
|
increment?: number;
|
|
@@ -522,6 +655,41 @@ export type OAuthSessionUpdatescopesInput = {
|
|
|
522
655
|
set?: string[];
|
|
523
656
|
push?: string | string[];
|
|
524
657
|
};
|
|
658
|
+
export type OAuthSessionUpdateOneWithoutLinkedAccountsNestedInput = {
|
|
659
|
+
create?: Prisma.XOR<Prisma.OAuthSessionCreateWithoutLinkedAccountsInput, Prisma.OAuthSessionUncheckedCreateWithoutLinkedAccountsInput>;
|
|
660
|
+
connectOrCreate?: Prisma.OAuthSessionCreateOrConnectWithoutLinkedAccountsInput;
|
|
661
|
+
upsert?: Prisma.OAuthSessionUpsertWithoutLinkedAccountsInput;
|
|
662
|
+
disconnect?: Prisma.OAuthSessionWhereInput | boolean;
|
|
663
|
+
delete?: Prisma.OAuthSessionWhereInput | boolean;
|
|
664
|
+
connect?: Prisma.OAuthSessionWhereUniqueInput;
|
|
665
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OAuthSessionUpdateToOneWithWhereWithoutLinkedAccountsInput, Prisma.OAuthSessionUpdateWithoutLinkedAccountsInput>, Prisma.OAuthSessionUncheckedUpdateWithoutLinkedAccountsInput>;
|
|
666
|
+
};
|
|
667
|
+
export type OAuthSessionUpdateManyWithoutLinkedToNestedInput = {
|
|
668
|
+
create?: Prisma.XOR<Prisma.OAuthSessionCreateWithoutLinkedToInput, Prisma.OAuthSessionUncheckedCreateWithoutLinkedToInput> | Prisma.OAuthSessionCreateWithoutLinkedToInput[] | Prisma.OAuthSessionUncheckedCreateWithoutLinkedToInput[];
|
|
669
|
+
connectOrCreate?: Prisma.OAuthSessionCreateOrConnectWithoutLinkedToInput | Prisma.OAuthSessionCreateOrConnectWithoutLinkedToInput[];
|
|
670
|
+
upsert?: Prisma.OAuthSessionUpsertWithWhereUniqueWithoutLinkedToInput | Prisma.OAuthSessionUpsertWithWhereUniqueWithoutLinkedToInput[];
|
|
671
|
+
createMany?: Prisma.OAuthSessionCreateManyLinkedToInputEnvelope;
|
|
672
|
+
set?: Prisma.OAuthSessionWhereUniqueInput | Prisma.OAuthSessionWhereUniqueInput[];
|
|
673
|
+
disconnect?: Prisma.OAuthSessionWhereUniqueInput | Prisma.OAuthSessionWhereUniqueInput[];
|
|
674
|
+
delete?: Prisma.OAuthSessionWhereUniqueInput | Prisma.OAuthSessionWhereUniqueInput[];
|
|
675
|
+
connect?: Prisma.OAuthSessionWhereUniqueInput | Prisma.OAuthSessionWhereUniqueInput[];
|
|
676
|
+
update?: Prisma.OAuthSessionUpdateWithWhereUniqueWithoutLinkedToInput | Prisma.OAuthSessionUpdateWithWhereUniqueWithoutLinkedToInput[];
|
|
677
|
+
updateMany?: Prisma.OAuthSessionUpdateManyWithWhereWithoutLinkedToInput | Prisma.OAuthSessionUpdateManyWithWhereWithoutLinkedToInput[];
|
|
678
|
+
deleteMany?: Prisma.OAuthSessionScalarWhereInput | Prisma.OAuthSessionScalarWhereInput[];
|
|
679
|
+
};
|
|
680
|
+
export type OAuthSessionUncheckedUpdateManyWithoutLinkedToNestedInput = {
|
|
681
|
+
create?: Prisma.XOR<Prisma.OAuthSessionCreateWithoutLinkedToInput, Prisma.OAuthSessionUncheckedCreateWithoutLinkedToInput> | Prisma.OAuthSessionCreateWithoutLinkedToInput[] | Prisma.OAuthSessionUncheckedCreateWithoutLinkedToInput[];
|
|
682
|
+
connectOrCreate?: Prisma.OAuthSessionCreateOrConnectWithoutLinkedToInput | Prisma.OAuthSessionCreateOrConnectWithoutLinkedToInput[];
|
|
683
|
+
upsert?: Prisma.OAuthSessionUpsertWithWhereUniqueWithoutLinkedToInput | Prisma.OAuthSessionUpsertWithWhereUniqueWithoutLinkedToInput[];
|
|
684
|
+
createMany?: Prisma.OAuthSessionCreateManyLinkedToInputEnvelope;
|
|
685
|
+
set?: Prisma.OAuthSessionWhereUniqueInput | Prisma.OAuthSessionWhereUniqueInput[];
|
|
686
|
+
disconnect?: Prisma.OAuthSessionWhereUniqueInput | Prisma.OAuthSessionWhereUniqueInput[];
|
|
687
|
+
delete?: Prisma.OAuthSessionWhereUniqueInput | Prisma.OAuthSessionWhereUniqueInput[];
|
|
688
|
+
connect?: Prisma.OAuthSessionWhereUniqueInput | Prisma.OAuthSessionWhereUniqueInput[];
|
|
689
|
+
update?: Prisma.OAuthSessionUpdateWithWhereUniqueWithoutLinkedToInput | Prisma.OAuthSessionUpdateWithWhereUniqueWithoutLinkedToInput[];
|
|
690
|
+
updateMany?: Prisma.OAuthSessionUpdateManyWithWhereWithoutLinkedToInput | Prisma.OAuthSessionUpdateManyWithWhereWithoutLinkedToInput[];
|
|
691
|
+
deleteMany?: Prisma.OAuthSessionScalarWhereInput | Prisma.OAuthSessionScalarWhereInput[];
|
|
692
|
+
};
|
|
525
693
|
export type OAuthSessionCreateNestedOneWithoutAuthorizationCodesInput = {
|
|
526
694
|
create?: Prisma.XOR<Prisma.OAuthSessionCreateWithoutAuthorizationCodesInput, Prisma.OAuthSessionUncheckedCreateWithoutAuthorizationCodesInput>;
|
|
527
695
|
connectOrCreate?: Prisma.OAuthSessionCreateOrConnectWithoutAuthorizationCodesInput;
|
|
@@ -546,6 +714,202 @@ export type OAuthSessionUpdateOneRequiredWithoutMcpSessionMappingsNestedInput =
|
|
|
546
714
|
connect?: Prisma.OAuthSessionWhereUniqueInput;
|
|
547
715
|
update?: Prisma.XOR<Prisma.XOR<Prisma.OAuthSessionUpdateToOneWithWhereWithoutMcpSessionMappingsInput, Prisma.OAuthSessionUpdateWithoutMcpSessionMappingsInput>, Prisma.OAuthSessionUncheckedUpdateWithoutMcpSessionMappingsInput>;
|
|
548
716
|
};
|
|
717
|
+
export type OAuthSessionCreateWithoutLinkedAccountsInput = {
|
|
718
|
+
id?: string;
|
|
719
|
+
mcpAccessToken: string;
|
|
720
|
+
mcpRefreshToken: string;
|
|
721
|
+
mcpTokenExpiry: bigint | number;
|
|
722
|
+
gitlabAccessToken: string;
|
|
723
|
+
gitlabRefreshToken: string;
|
|
724
|
+
gitlabTokenExpiry: bigint | number;
|
|
725
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
726
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
727
|
+
gitlabUserId: number;
|
|
728
|
+
gitlabUsername: string;
|
|
729
|
+
gitlabApiUrl?: string | null;
|
|
730
|
+
instanceLabel?: string | null;
|
|
731
|
+
clientId: string;
|
|
732
|
+
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
733
|
+
resource?: string | null;
|
|
734
|
+
createdAt: bigint | number;
|
|
735
|
+
updatedAt: bigint | number;
|
|
736
|
+
authorizationCodes?: Prisma.AuthorizationCodeCreateNestedManyWithoutSessionInput;
|
|
737
|
+
mcpSessionMappings?: Prisma.McpSessionMappingCreateNestedManyWithoutOauthSessionInput;
|
|
738
|
+
linkedTo?: Prisma.OAuthSessionCreateNestedOneWithoutLinkedAccountsInput;
|
|
739
|
+
};
|
|
740
|
+
export type OAuthSessionUncheckedCreateWithoutLinkedAccountsInput = {
|
|
741
|
+
id?: string;
|
|
742
|
+
mcpAccessToken: string;
|
|
743
|
+
mcpRefreshToken: string;
|
|
744
|
+
mcpTokenExpiry: bigint | number;
|
|
745
|
+
gitlabAccessToken: string;
|
|
746
|
+
gitlabRefreshToken: string;
|
|
747
|
+
gitlabTokenExpiry: bigint | number;
|
|
748
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
749
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
750
|
+
gitlabUserId: number;
|
|
751
|
+
gitlabUsername: string;
|
|
752
|
+
gitlabApiUrl?: string | null;
|
|
753
|
+
instanceLabel?: string | null;
|
|
754
|
+
clientId: string;
|
|
755
|
+
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
756
|
+
resource?: string | null;
|
|
757
|
+
linkedToSessionId?: string | null;
|
|
758
|
+
createdAt: bigint | number;
|
|
759
|
+
updatedAt: bigint | number;
|
|
760
|
+
authorizationCodes?: Prisma.AuthorizationCodeUncheckedCreateNestedManyWithoutSessionInput;
|
|
761
|
+
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedCreateNestedManyWithoutOauthSessionInput;
|
|
762
|
+
};
|
|
763
|
+
export type OAuthSessionCreateOrConnectWithoutLinkedAccountsInput = {
|
|
764
|
+
where: Prisma.OAuthSessionWhereUniqueInput;
|
|
765
|
+
create: Prisma.XOR<Prisma.OAuthSessionCreateWithoutLinkedAccountsInput, Prisma.OAuthSessionUncheckedCreateWithoutLinkedAccountsInput>;
|
|
766
|
+
};
|
|
767
|
+
export type OAuthSessionCreateWithoutLinkedToInput = {
|
|
768
|
+
id?: string;
|
|
769
|
+
mcpAccessToken: string;
|
|
770
|
+
mcpRefreshToken: string;
|
|
771
|
+
mcpTokenExpiry: bigint | number;
|
|
772
|
+
gitlabAccessToken: string;
|
|
773
|
+
gitlabRefreshToken: string;
|
|
774
|
+
gitlabTokenExpiry: bigint | number;
|
|
775
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
776
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
777
|
+
gitlabUserId: number;
|
|
778
|
+
gitlabUsername: string;
|
|
779
|
+
gitlabApiUrl?: string | null;
|
|
780
|
+
instanceLabel?: string | null;
|
|
781
|
+
clientId: string;
|
|
782
|
+
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
783
|
+
resource?: string | null;
|
|
784
|
+
createdAt: bigint | number;
|
|
785
|
+
updatedAt: bigint | number;
|
|
786
|
+
authorizationCodes?: Prisma.AuthorizationCodeCreateNestedManyWithoutSessionInput;
|
|
787
|
+
mcpSessionMappings?: Prisma.McpSessionMappingCreateNestedManyWithoutOauthSessionInput;
|
|
788
|
+
linkedAccounts?: Prisma.OAuthSessionCreateNestedManyWithoutLinkedToInput;
|
|
789
|
+
};
|
|
790
|
+
export type OAuthSessionUncheckedCreateWithoutLinkedToInput = {
|
|
791
|
+
id?: string;
|
|
792
|
+
mcpAccessToken: string;
|
|
793
|
+
mcpRefreshToken: string;
|
|
794
|
+
mcpTokenExpiry: bigint | number;
|
|
795
|
+
gitlabAccessToken: string;
|
|
796
|
+
gitlabRefreshToken: string;
|
|
797
|
+
gitlabTokenExpiry: bigint | number;
|
|
798
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
799
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
800
|
+
gitlabUserId: number;
|
|
801
|
+
gitlabUsername: string;
|
|
802
|
+
gitlabApiUrl?: string | null;
|
|
803
|
+
instanceLabel?: string | null;
|
|
804
|
+
clientId: string;
|
|
805
|
+
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
806
|
+
resource?: string | null;
|
|
807
|
+
createdAt: bigint | number;
|
|
808
|
+
updatedAt: bigint | number;
|
|
809
|
+
authorizationCodes?: Prisma.AuthorizationCodeUncheckedCreateNestedManyWithoutSessionInput;
|
|
810
|
+
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedCreateNestedManyWithoutOauthSessionInput;
|
|
811
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedCreateNestedManyWithoutLinkedToInput;
|
|
812
|
+
};
|
|
813
|
+
export type OAuthSessionCreateOrConnectWithoutLinkedToInput = {
|
|
814
|
+
where: Prisma.OAuthSessionWhereUniqueInput;
|
|
815
|
+
create: Prisma.XOR<Prisma.OAuthSessionCreateWithoutLinkedToInput, Prisma.OAuthSessionUncheckedCreateWithoutLinkedToInput>;
|
|
816
|
+
};
|
|
817
|
+
export type OAuthSessionCreateManyLinkedToInputEnvelope = {
|
|
818
|
+
data: Prisma.OAuthSessionCreateManyLinkedToInput | Prisma.OAuthSessionCreateManyLinkedToInput[];
|
|
819
|
+
skipDuplicates?: boolean;
|
|
820
|
+
};
|
|
821
|
+
export type OAuthSessionUpsertWithoutLinkedAccountsInput = {
|
|
822
|
+
update: Prisma.XOR<Prisma.OAuthSessionUpdateWithoutLinkedAccountsInput, Prisma.OAuthSessionUncheckedUpdateWithoutLinkedAccountsInput>;
|
|
823
|
+
create: Prisma.XOR<Prisma.OAuthSessionCreateWithoutLinkedAccountsInput, Prisma.OAuthSessionUncheckedCreateWithoutLinkedAccountsInput>;
|
|
824
|
+
where?: Prisma.OAuthSessionWhereInput;
|
|
825
|
+
};
|
|
826
|
+
export type OAuthSessionUpdateToOneWithWhereWithoutLinkedAccountsInput = {
|
|
827
|
+
where?: Prisma.OAuthSessionWhereInput;
|
|
828
|
+
data: Prisma.XOR<Prisma.OAuthSessionUpdateWithoutLinkedAccountsInput, Prisma.OAuthSessionUncheckedUpdateWithoutLinkedAccountsInput>;
|
|
829
|
+
};
|
|
830
|
+
export type OAuthSessionUpdateWithoutLinkedAccountsInput = {
|
|
831
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
832
|
+
mcpAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
833
|
+
mcpRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
834
|
+
mcpTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
835
|
+
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
836
|
+
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
837
|
+
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
838
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
839
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
840
|
+
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
841
|
+
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
842
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
843
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
844
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
845
|
+
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
846
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
847
|
+
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
848
|
+
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
849
|
+
authorizationCodes?: Prisma.AuthorizationCodeUpdateManyWithoutSessionNestedInput;
|
|
850
|
+
mcpSessionMappings?: Prisma.McpSessionMappingUpdateManyWithoutOauthSessionNestedInput;
|
|
851
|
+
linkedTo?: Prisma.OAuthSessionUpdateOneWithoutLinkedAccountsNestedInput;
|
|
852
|
+
};
|
|
853
|
+
export type OAuthSessionUncheckedUpdateWithoutLinkedAccountsInput = {
|
|
854
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
855
|
+
mcpAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
856
|
+
mcpRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
857
|
+
mcpTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
858
|
+
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
859
|
+
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
860
|
+
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
861
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
862
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
863
|
+
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
864
|
+
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
865
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
866
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
867
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
868
|
+
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
869
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
870
|
+
linkedToSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
871
|
+
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
872
|
+
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
873
|
+
authorizationCodes?: Prisma.AuthorizationCodeUncheckedUpdateManyWithoutSessionNestedInput;
|
|
874
|
+
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedUpdateManyWithoutOauthSessionNestedInput;
|
|
875
|
+
};
|
|
876
|
+
export type OAuthSessionUpsertWithWhereUniqueWithoutLinkedToInput = {
|
|
877
|
+
where: Prisma.OAuthSessionWhereUniqueInput;
|
|
878
|
+
update: Prisma.XOR<Prisma.OAuthSessionUpdateWithoutLinkedToInput, Prisma.OAuthSessionUncheckedUpdateWithoutLinkedToInput>;
|
|
879
|
+
create: Prisma.XOR<Prisma.OAuthSessionCreateWithoutLinkedToInput, Prisma.OAuthSessionUncheckedCreateWithoutLinkedToInput>;
|
|
880
|
+
};
|
|
881
|
+
export type OAuthSessionUpdateWithWhereUniqueWithoutLinkedToInput = {
|
|
882
|
+
where: Prisma.OAuthSessionWhereUniqueInput;
|
|
883
|
+
data: Prisma.XOR<Prisma.OAuthSessionUpdateWithoutLinkedToInput, Prisma.OAuthSessionUncheckedUpdateWithoutLinkedToInput>;
|
|
884
|
+
};
|
|
885
|
+
export type OAuthSessionUpdateManyWithWhereWithoutLinkedToInput = {
|
|
886
|
+
where: Prisma.OAuthSessionScalarWhereInput;
|
|
887
|
+
data: Prisma.XOR<Prisma.OAuthSessionUpdateManyMutationInput, Prisma.OAuthSessionUncheckedUpdateManyWithoutLinkedToInput>;
|
|
888
|
+
};
|
|
889
|
+
export type OAuthSessionScalarWhereInput = {
|
|
890
|
+
AND?: Prisma.OAuthSessionScalarWhereInput | Prisma.OAuthSessionScalarWhereInput[];
|
|
891
|
+
OR?: Prisma.OAuthSessionScalarWhereInput[];
|
|
892
|
+
NOT?: Prisma.OAuthSessionScalarWhereInput | Prisma.OAuthSessionScalarWhereInput[];
|
|
893
|
+
id?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
894
|
+
mcpAccessToken?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
895
|
+
mcpRefreshToken?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
896
|
+
mcpTokenExpiry?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
897
|
+
gitlabAccessToken?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
898
|
+
gitlabRefreshToken?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
899
|
+
gitlabTokenExpiry?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
900
|
+
gitlabScopes?: Prisma.JsonNullableFilter<"OAuthSession">;
|
|
901
|
+
gitlabRefreshLeaseUntil?: Prisma.BigIntNullableFilter<"OAuthSession"> | bigint | number | null;
|
|
902
|
+
gitlabUserId?: Prisma.IntFilter<"OAuthSession"> | number;
|
|
903
|
+
gitlabUsername?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
904
|
+
gitlabApiUrl?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
905
|
+
instanceLabel?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
906
|
+
clientId?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
907
|
+
scopes?: Prisma.StringNullableListFilter<"OAuthSession">;
|
|
908
|
+
resource?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
909
|
+
linkedToSessionId?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
910
|
+
createdAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
911
|
+
updatedAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
912
|
+
};
|
|
549
913
|
export type OAuthSessionCreateWithoutAuthorizationCodesInput = {
|
|
550
914
|
id?: string;
|
|
551
915
|
mcpAccessToken: string;
|
|
@@ -554,15 +918,20 @@ export type OAuthSessionCreateWithoutAuthorizationCodesInput = {
|
|
|
554
918
|
gitlabAccessToken: string;
|
|
555
919
|
gitlabRefreshToken: string;
|
|
556
920
|
gitlabTokenExpiry: bigint | number;
|
|
921
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
922
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
557
923
|
gitlabUserId: number;
|
|
558
924
|
gitlabUsername: string;
|
|
559
925
|
gitlabApiUrl?: string | null;
|
|
560
926
|
instanceLabel?: string | null;
|
|
561
927
|
clientId: string;
|
|
562
928
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
929
|
+
resource?: string | null;
|
|
563
930
|
createdAt: bigint | number;
|
|
564
931
|
updatedAt: bigint | number;
|
|
565
932
|
mcpSessionMappings?: Prisma.McpSessionMappingCreateNestedManyWithoutOauthSessionInput;
|
|
933
|
+
linkedTo?: Prisma.OAuthSessionCreateNestedOneWithoutLinkedAccountsInput;
|
|
934
|
+
linkedAccounts?: Prisma.OAuthSessionCreateNestedManyWithoutLinkedToInput;
|
|
566
935
|
};
|
|
567
936
|
export type OAuthSessionUncheckedCreateWithoutAuthorizationCodesInput = {
|
|
568
937
|
id?: string;
|
|
@@ -572,15 +941,20 @@ export type OAuthSessionUncheckedCreateWithoutAuthorizationCodesInput = {
|
|
|
572
941
|
gitlabAccessToken: string;
|
|
573
942
|
gitlabRefreshToken: string;
|
|
574
943
|
gitlabTokenExpiry: bigint | number;
|
|
944
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
945
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
575
946
|
gitlabUserId: number;
|
|
576
947
|
gitlabUsername: string;
|
|
577
948
|
gitlabApiUrl?: string | null;
|
|
578
949
|
instanceLabel?: string | null;
|
|
579
950
|
clientId: string;
|
|
580
951
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
952
|
+
resource?: string | null;
|
|
953
|
+
linkedToSessionId?: string | null;
|
|
581
954
|
createdAt: bigint | number;
|
|
582
955
|
updatedAt: bigint | number;
|
|
583
956
|
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedCreateNestedManyWithoutOauthSessionInput;
|
|
957
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedCreateNestedManyWithoutLinkedToInput;
|
|
584
958
|
};
|
|
585
959
|
export type OAuthSessionCreateOrConnectWithoutAuthorizationCodesInput = {
|
|
586
960
|
where: Prisma.OAuthSessionWhereUniqueInput;
|
|
@@ -603,15 +977,20 @@ export type OAuthSessionUpdateWithoutAuthorizationCodesInput = {
|
|
|
603
977
|
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
604
978
|
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
605
979
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
980
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
981
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
606
982
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
607
983
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
608
984
|
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
609
985
|
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
610
986
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
611
987
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
988
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
612
989
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
613
990
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
614
991
|
mcpSessionMappings?: Prisma.McpSessionMappingUpdateManyWithoutOauthSessionNestedInput;
|
|
992
|
+
linkedTo?: Prisma.OAuthSessionUpdateOneWithoutLinkedAccountsNestedInput;
|
|
993
|
+
linkedAccounts?: Prisma.OAuthSessionUpdateManyWithoutLinkedToNestedInput;
|
|
615
994
|
};
|
|
616
995
|
export type OAuthSessionUncheckedUpdateWithoutAuthorizationCodesInput = {
|
|
617
996
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -621,15 +1000,20 @@ export type OAuthSessionUncheckedUpdateWithoutAuthorizationCodesInput = {
|
|
|
621
1000
|
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
622
1001
|
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
623
1002
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1003
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1004
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
624
1005
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
625
1006
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
626
1007
|
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
627
1008
|
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
628
1009
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
629
1010
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
1011
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1012
|
+
linkedToSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
630
1013
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
631
1014
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
632
1015
|
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedUpdateManyWithoutOauthSessionNestedInput;
|
|
1016
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedUpdateManyWithoutLinkedToNestedInput;
|
|
633
1017
|
};
|
|
634
1018
|
export type OAuthSessionCreateWithoutMcpSessionMappingsInput = {
|
|
635
1019
|
id?: string;
|
|
@@ -639,15 +1023,20 @@ export type OAuthSessionCreateWithoutMcpSessionMappingsInput = {
|
|
|
639
1023
|
gitlabAccessToken: string;
|
|
640
1024
|
gitlabRefreshToken: string;
|
|
641
1025
|
gitlabTokenExpiry: bigint | number;
|
|
1026
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1027
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
642
1028
|
gitlabUserId: number;
|
|
643
1029
|
gitlabUsername: string;
|
|
644
1030
|
gitlabApiUrl?: string | null;
|
|
645
1031
|
instanceLabel?: string | null;
|
|
646
1032
|
clientId: string;
|
|
647
1033
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
1034
|
+
resource?: string | null;
|
|
648
1035
|
createdAt: bigint | number;
|
|
649
1036
|
updatedAt: bigint | number;
|
|
650
1037
|
authorizationCodes?: Prisma.AuthorizationCodeCreateNestedManyWithoutSessionInput;
|
|
1038
|
+
linkedTo?: Prisma.OAuthSessionCreateNestedOneWithoutLinkedAccountsInput;
|
|
1039
|
+
linkedAccounts?: Prisma.OAuthSessionCreateNestedManyWithoutLinkedToInput;
|
|
651
1040
|
};
|
|
652
1041
|
export type OAuthSessionUncheckedCreateWithoutMcpSessionMappingsInput = {
|
|
653
1042
|
id?: string;
|
|
@@ -657,15 +1046,20 @@ export type OAuthSessionUncheckedCreateWithoutMcpSessionMappingsInput = {
|
|
|
657
1046
|
gitlabAccessToken: string;
|
|
658
1047
|
gitlabRefreshToken: string;
|
|
659
1048
|
gitlabTokenExpiry: bigint | number;
|
|
1049
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1050
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
660
1051
|
gitlabUserId: number;
|
|
661
1052
|
gitlabUsername: string;
|
|
662
1053
|
gitlabApiUrl?: string | null;
|
|
663
1054
|
instanceLabel?: string | null;
|
|
664
1055
|
clientId: string;
|
|
665
1056
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
1057
|
+
resource?: string | null;
|
|
1058
|
+
linkedToSessionId?: string | null;
|
|
666
1059
|
createdAt: bigint | number;
|
|
667
1060
|
updatedAt: bigint | number;
|
|
668
1061
|
authorizationCodes?: Prisma.AuthorizationCodeUncheckedCreateNestedManyWithoutSessionInput;
|
|
1062
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedCreateNestedManyWithoutLinkedToInput;
|
|
669
1063
|
};
|
|
670
1064
|
export type OAuthSessionCreateOrConnectWithoutMcpSessionMappingsInput = {
|
|
671
1065
|
where: Prisma.OAuthSessionWhereUniqueInput;
|
|
@@ -688,15 +1082,20 @@ export type OAuthSessionUpdateWithoutMcpSessionMappingsInput = {
|
|
|
688
1082
|
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
689
1083
|
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
690
1084
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1085
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1086
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
691
1087
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
692
1088
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
693
1089
|
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
694
1090
|
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
695
1091
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
696
1092
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
1093
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
697
1094
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
698
1095
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
699
1096
|
authorizationCodes?: Prisma.AuthorizationCodeUpdateManyWithoutSessionNestedInput;
|
|
1097
|
+
linkedTo?: Prisma.OAuthSessionUpdateOneWithoutLinkedAccountsNestedInput;
|
|
1098
|
+
linkedAccounts?: Prisma.OAuthSessionUpdateManyWithoutLinkedToNestedInput;
|
|
700
1099
|
};
|
|
701
1100
|
export type OAuthSessionUncheckedUpdateWithoutMcpSessionMappingsInput = {
|
|
702
1101
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -706,23 +1105,116 @@ export type OAuthSessionUncheckedUpdateWithoutMcpSessionMappingsInput = {
|
|
|
706
1105
|
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
707
1106
|
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
708
1107
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1108
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1109
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
1110
|
+
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1111
|
+
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1112
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1113
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1114
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1115
|
+
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
1116
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1117
|
+
linkedToSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1118
|
+
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1119
|
+
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1120
|
+
authorizationCodes?: Prisma.AuthorizationCodeUncheckedUpdateManyWithoutSessionNestedInput;
|
|
1121
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedUpdateManyWithoutLinkedToNestedInput;
|
|
1122
|
+
};
|
|
1123
|
+
export type OAuthSessionCreateManyLinkedToInput = {
|
|
1124
|
+
id?: string;
|
|
1125
|
+
mcpAccessToken: string;
|
|
1126
|
+
mcpRefreshToken: string;
|
|
1127
|
+
mcpTokenExpiry: bigint | number;
|
|
1128
|
+
gitlabAccessToken: string;
|
|
1129
|
+
gitlabRefreshToken: string;
|
|
1130
|
+
gitlabTokenExpiry: bigint | number;
|
|
1131
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1132
|
+
gitlabRefreshLeaseUntil?: bigint | number | null;
|
|
1133
|
+
gitlabUserId: number;
|
|
1134
|
+
gitlabUsername: string;
|
|
1135
|
+
gitlabApiUrl?: string | null;
|
|
1136
|
+
instanceLabel?: string | null;
|
|
1137
|
+
clientId: string;
|
|
1138
|
+
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
1139
|
+
resource?: string | null;
|
|
1140
|
+
createdAt: bigint | number;
|
|
1141
|
+
updatedAt: bigint | number;
|
|
1142
|
+
};
|
|
1143
|
+
export type OAuthSessionUpdateWithoutLinkedToInput = {
|
|
1144
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1145
|
+
mcpAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1146
|
+
mcpRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1147
|
+
mcpTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1148
|
+
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1149
|
+
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1150
|
+
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1151
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1152
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
1153
|
+
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1154
|
+
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1155
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1156
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1157
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1158
|
+
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
1159
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1160
|
+
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1161
|
+
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1162
|
+
authorizationCodes?: Prisma.AuthorizationCodeUpdateManyWithoutSessionNestedInput;
|
|
1163
|
+
mcpSessionMappings?: Prisma.McpSessionMappingUpdateManyWithoutOauthSessionNestedInput;
|
|
1164
|
+
linkedAccounts?: Prisma.OAuthSessionUpdateManyWithoutLinkedToNestedInput;
|
|
1165
|
+
};
|
|
1166
|
+
export type OAuthSessionUncheckedUpdateWithoutLinkedToInput = {
|
|
1167
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1168
|
+
mcpAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1169
|
+
mcpRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1170
|
+
mcpTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1171
|
+
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1172
|
+
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1173
|
+
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1174
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1175
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
709
1176
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
710
1177
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
711
1178
|
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
712
1179
|
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
713
1180
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
714
1181
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
1182
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
715
1183
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
716
1184
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
717
1185
|
authorizationCodes?: Prisma.AuthorizationCodeUncheckedUpdateManyWithoutSessionNestedInput;
|
|
1186
|
+
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedUpdateManyWithoutOauthSessionNestedInput;
|
|
1187
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedUpdateManyWithoutLinkedToNestedInput;
|
|
1188
|
+
};
|
|
1189
|
+
export type OAuthSessionUncheckedUpdateManyWithoutLinkedToInput = {
|
|
1190
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1191
|
+
mcpAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1192
|
+
mcpRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1193
|
+
mcpTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1194
|
+
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1195
|
+
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1196
|
+
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1197
|
+
gitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1198
|
+
gitlabRefreshLeaseUntil?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
1199
|
+
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1200
|
+
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1201
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1202
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1203
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1204
|
+
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
1205
|
+
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1206
|
+
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1207
|
+
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
718
1208
|
};
|
|
719
1209
|
export type OAuthSessionCountOutputType = {
|
|
720
1210
|
authorizationCodes: number;
|
|
721
1211
|
mcpSessionMappings: number;
|
|
1212
|
+
linkedAccounts: number;
|
|
722
1213
|
};
|
|
723
1214
|
export type OAuthSessionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
724
1215
|
authorizationCodes?: boolean | OAuthSessionCountOutputTypeCountAuthorizationCodesArgs;
|
|
725
1216
|
mcpSessionMappings?: boolean | OAuthSessionCountOutputTypeCountMcpSessionMappingsArgs;
|
|
1217
|
+
linkedAccounts?: boolean | OAuthSessionCountOutputTypeCountLinkedAccountsArgs;
|
|
726
1218
|
};
|
|
727
1219
|
export type OAuthSessionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
728
1220
|
select?: Prisma.OAuthSessionCountOutputTypeSelect<ExtArgs> | null;
|
|
@@ -733,6 +1225,9 @@ export type OAuthSessionCountOutputTypeCountAuthorizationCodesArgs<ExtArgs exten
|
|
|
733
1225
|
export type OAuthSessionCountOutputTypeCountMcpSessionMappingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
734
1226
|
where?: Prisma.McpSessionMappingWhereInput;
|
|
735
1227
|
};
|
|
1228
|
+
export type OAuthSessionCountOutputTypeCountLinkedAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1229
|
+
where?: Prisma.OAuthSessionWhereInput;
|
|
1230
|
+
};
|
|
736
1231
|
export type OAuthSessionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
737
1232
|
id?: boolean;
|
|
738
1233
|
mcpAccessToken?: boolean;
|
|
@@ -741,16 +1236,22 @@ export type OAuthSessionSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
741
1236
|
gitlabAccessToken?: boolean;
|
|
742
1237
|
gitlabRefreshToken?: boolean;
|
|
743
1238
|
gitlabTokenExpiry?: boolean;
|
|
1239
|
+
gitlabScopes?: boolean;
|
|
1240
|
+
gitlabRefreshLeaseUntil?: boolean;
|
|
744
1241
|
gitlabUserId?: boolean;
|
|
745
1242
|
gitlabUsername?: boolean;
|
|
746
1243
|
gitlabApiUrl?: boolean;
|
|
747
1244
|
instanceLabel?: boolean;
|
|
748
1245
|
clientId?: boolean;
|
|
749
1246
|
scopes?: boolean;
|
|
1247
|
+
resource?: boolean;
|
|
1248
|
+
linkedToSessionId?: boolean;
|
|
750
1249
|
createdAt?: boolean;
|
|
751
1250
|
updatedAt?: boolean;
|
|
752
1251
|
authorizationCodes?: boolean | Prisma.OAuthSession$authorizationCodesArgs<ExtArgs>;
|
|
753
1252
|
mcpSessionMappings?: boolean | Prisma.OAuthSession$mcpSessionMappingsArgs<ExtArgs>;
|
|
1253
|
+
linkedTo?: boolean | Prisma.OAuthSession$linkedToArgs<ExtArgs>;
|
|
1254
|
+
linkedAccounts?: boolean | Prisma.OAuthSession$linkedAccountsArgs<ExtArgs>;
|
|
754
1255
|
_count?: boolean | Prisma.OAuthSessionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
755
1256
|
}, ExtArgs["result"]["oAuthSession"]>;
|
|
756
1257
|
export type OAuthSessionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -761,14 +1262,19 @@ export type OAuthSessionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
761
1262
|
gitlabAccessToken?: boolean;
|
|
762
1263
|
gitlabRefreshToken?: boolean;
|
|
763
1264
|
gitlabTokenExpiry?: boolean;
|
|
1265
|
+
gitlabScopes?: boolean;
|
|
1266
|
+
gitlabRefreshLeaseUntil?: boolean;
|
|
764
1267
|
gitlabUserId?: boolean;
|
|
765
1268
|
gitlabUsername?: boolean;
|
|
766
1269
|
gitlabApiUrl?: boolean;
|
|
767
1270
|
instanceLabel?: boolean;
|
|
768
1271
|
clientId?: boolean;
|
|
769
1272
|
scopes?: boolean;
|
|
1273
|
+
resource?: boolean;
|
|
1274
|
+
linkedToSessionId?: boolean;
|
|
770
1275
|
createdAt?: boolean;
|
|
771
1276
|
updatedAt?: boolean;
|
|
1277
|
+
linkedTo?: boolean | Prisma.OAuthSession$linkedToArgs<ExtArgs>;
|
|
772
1278
|
}, ExtArgs["result"]["oAuthSession"]>;
|
|
773
1279
|
export type OAuthSessionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
774
1280
|
id?: boolean;
|
|
@@ -778,14 +1284,19 @@ export type OAuthSessionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
778
1284
|
gitlabAccessToken?: boolean;
|
|
779
1285
|
gitlabRefreshToken?: boolean;
|
|
780
1286
|
gitlabTokenExpiry?: boolean;
|
|
1287
|
+
gitlabScopes?: boolean;
|
|
1288
|
+
gitlabRefreshLeaseUntil?: boolean;
|
|
781
1289
|
gitlabUserId?: boolean;
|
|
782
1290
|
gitlabUsername?: boolean;
|
|
783
1291
|
gitlabApiUrl?: boolean;
|
|
784
1292
|
instanceLabel?: boolean;
|
|
785
1293
|
clientId?: boolean;
|
|
786
1294
|
scopes?: boolean;
|
|
1295
|
+
resource?: boolean;
|
|
1296
|
+
linkedToSessionId?: boolean;
|
|
787
1297
|
createdAt?: boolean;
|
|
788
1298
|
updatedAt?: boolean;
|
|
1299
|
+
linkedTo?: boolean | Prisma.OAuthSession$linkedToArgs<ExtArgs>;
|
|
789
1300
|
}, ExtArgs["result"]["oAuthSession"]>;
|
|
790
1301
|
export type OAuthSessionSelectScalar = {
|
|
791
1302
|
id?: boolean;
|
|
@@ -795,28 +1306,40 @@ export type OAuthSessionSelectScalar = {
|
|
|
795
1306
|
gitlabAccessToken?: boolean;
|
|
796
1307
|
gitlabRefreshToken?: boolean;
|
|
797
1308
|
gitlabTokenExpiry?: boolean;
|
|
1309
|
+
gitlabScopes?: boolean;
|
|
1310
|
+
gitlabRefreshLeaseUntil?: boolean;
|
|
798
1311
|
gitlabUserId?: boolean;
|
|
799
1312
|
gitlabUsername?: boolean;
|
|
800
1313
|
gitlabApiUrl?: boolean;
|
|
801
1314
|
instanceLabel?: boolean;
|
|
802
1315
|
clientId?: boolean;
|
|
803
1316
|
scopes?: boolean;
|
|
1317
|
+
resource?: boolean;
|
|
1318
|
+
linkedToSessionId?: boolean;
|
|
804
1319
|
createdAt?: boolean;
|
|
805
1320
|
updatedAt?: boolean;
|
|
806
1321
|
};
|
|
807
|
-
export type OAuthSessionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "mcpAccessToken" | "mcpRefreshToken" | "mcpTokenExpiry" | "gitlabAccessToken" | "gitlabRefreshToken" | "gitlabTokenExpiry" | "gitlabUserId" | "gitlabUsername" | "gitlabApiUrl" | "instanceLabel" | "clientId" | "scopes" | "createdAt" | "updatedAt", ExtArgs["result"]["oAuthSession"]>;
|
|
1322
|
+
export type OAuthSessionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "mcpAccessToken" | "mcpRefreshToken" | "mcpTokenExpiry" | "gitlabAccessToken" | "gitlabRefreshToken" | "gitlabTokenExpiry" | "gitlabScopes" | "gitlabRefreshLeaseUntil" | "gitlabUserId" | "gitlabUsername" | "gitlabApiUrl" | "instanceLabel" | "clientId" | "scopes" | "resource" | "linkedToSessionId" | "createdAt" | "updatedAt", ExtArgs["result"]["oAuthSession"]>;
|
|
808
1323
|
export type OAuthSessionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
809
1324
|
authorizationCodes?: boolean | Prisma.OAuthSession$authorizationCodesArgs<ExtArgs>;
|
|
810
1325
|
mcpSessionMappings?: boolean | Prisma.OAuthSession$mcpSessionMappingsArgs<ExtArgs>;
|
|
1326
|
+
linkedTo?: boolean | Prisma.OAuthSession$linkedToArgs<ExtArgs>;
|
|
1327
|
+
linkedAccounts?: boolean | Prisma.OAuthSession$linkedAccountsArgs<ExtArgs>;
|
|
811
1328
|
_count?: boolean | Prisma.OAuthSessionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
812
1329
|
};
|
|
813
|
-
export type OAuthSessionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
814
|
-
|
|
1330
|
+
export type OAuthSessionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1331
|
+
linkedTo?: boolean | Prisma.OAuthSession$linkedToArgs<ExtArgs>;
|
|
1332
|
+
};
|
|
1333
|
+
export type OAuthSessionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1334
|
+
linkedTo?: boolean | Prisma.OAuthSession$linkedToArgs<ExtArgs>;
|
|
1335
|
+
};
|
|
815
1336
|
export type $OAuthSessionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
816
1337
|
name: "OAuthSession";
|
|
817
1338
|
objects: {
|
|
818
1339
|
authorizationCodes: Prisma.$AuthorizationCodePayload<ExtArgs>[];
|
|
819
1340
|
mcpSessionMappings: Prisma.$McpSessionMappingPayload<ExtArgs>[];
|
|
1341
|
+
linkedTo: Prisma.$OAuthSessionPayload<ExtArgs> | null;
|
|
1342
|
+
linkedAccounts: Prisma.$OAuthSessionPayload<ExtArgs>[];
|
|
820
1343
|
};
|
|
821
1344
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
822
1345
|
id: string;
|
|
@@ -826,12 +1349,16 @@ export type $OAuthSessionPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
826
1349
|
gitlabAccessToken: string;
|
|
827
1350
|
gitlabRefreshToken: string;
|
|
828
1351
|
gitlabTokenExpiry: bigint;
|
|
1352
|
+
gitlabScopes: runtime.JsonValue | null;
|
|
1353
|
+
gitlabRefreshLeaseUntil: bigint | null;
|
|
829
1354
|
gitlabUserId: number;
|
|
830
1355
|
gitlabUsername: string;
|
|
831
1356
|
gitlabApiUrl: string | null;
|
|
832
1357
|
instanceLabel: string | null;
|
|
833
1358
|
clientId: string;
|
|
834
1359
|
scopes: string[];
|
|
1360
|
+
resource: string | null;
|
|
1361
|
+
linkedToSessionId: string | null;
|
|
835
1362
|
createdAt: bigint;
|
|
836
1363
|
updatedAt: bigint;
|
|
837
1364
|
}, ExtArgs["result"]["oAuthSession"]>;
|
|
@@ -888,6 +1415,8 @@ export interface Prisma__OAuthSessionClient<T, Null = never, ExtArgs extends run
|
|
|
888
1415
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
889
1416
|
authorizationCodes<T extends Prisma.OAuthSession$authorizationCodesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OAuthSession$authorizationCodesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthorizationCodePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
890
1417
|
mcpSessionMappings<T extends Prisma.OAuthSession$mcpSessionMappingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OAuthSession$mcpSessionMappingsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpSessionMappingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1418
|
+
linkedTo<T extends Prisma.OAuthSession$linkedToArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OAuthSession$linkedToArgs<ExtArgs>>): Prisma.Prisma__OAuthSessionClient<runtime.Types.Result.GetResult<Prisma.$OAuthSessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1419
|
+
linkedAccounts<T extends Prisma.OAuthSession$linkedAccountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OAuthSession$linkedAccountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
891
1420
|
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>;
|
|
892
1421
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
893
1422
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
@@ -900,12 +1429,16 @@ export interface OAuthSessionFieldRefs {
|
|
|
900
1429
|
readonly gitlabAccessToken: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
901
1430
|
readonly gitlabRefreshToken: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
902
1431
|
readonly gitlabTokenExpiry: Prisma.FieldRef<"OAuthSession", 'BigInt'>;
|
|
1432
|
+
readonly gitlabScopes: Prisma.FieldRef<"OAuthSession", 'Json'>;
|
|
1433
|
+
readonly gitlabRefreshLeaseUntil: Prisma.FieldRef<"OAuthSession", 'BigInt'>;
|
|
903
1434
|
readonly gitlabUserId: Prisma.FieldRef<"OAuthSession", 'Int'>;
|
|
904
1435
|
readonly gitlabUsername: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
905
1436
|
readonly gitlabApiUrl: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
906
1437
|
readonly instanceLabel: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
907
1438
|
readonly clientId: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
908
1439
|
readonly scopes: Prisma.FieldRef<"OAuthSession", 'String[]'>;
|
|
1440
|
+
readonly resource: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
1441
|
+
readonly linkedToSessionId: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
909
1442
|
readonly createdAt: Prisma.FieldRef<"OAuthSession", 'BigInt'>;
|
|
910
1443
|
readonly updatedAt: Prisma.FieldRef<"OAuthSession", 'BigInt'>;
|
|
911
1444
|
}
|
|
@@ -969,6 +1502,7 @@ export type OAuthSessionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Ex
|
|
|
969
1502
|
omit?: Prisma.OAuthSessionOmit<ExtArgs> | null;
|
|
970
1503
|
data: Prisma.OAuthSessionCreateManyInput | Prisma.OAuthSessionCreateManyInput[];
|
|
971
1504
|
skipDuplicates?: boolean;
|
|
1505
|
+
include?: Prisma.OAuthSessionIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
972
1506
|
};
|
|
973
1507
|
export type OAuthSessionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
974
1508
|
select?: Prisma.OAuthSessionSelect<ExtArgs> | null;
|
|
@@ -988,6 +1522,7 @@ export type OAuthSessionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Ex
|
|
|
988
1522
|
data: Prisma.XOR<Prisma.OAuthSessionUpdateManyMutationInput, Prisma.OAuthSessionUncheckedUpdateManyInput>;
|
|
989
1523
|
where?: Prisma.OAuthSessionWhereInput;
|
|
990
1524
|
limit?: number;
|
|
1525
|
+
include?: Prisma.OAuthSessionIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
991
1526
|
};
|
|
992
1527
|
export type OAuthSessionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
993
1528
|
select?: Prisma.OAuthSessionSelect<ExtArgs> | null;
|
|
@@ -1029,6 +1564,23 @@ export type OAuthSession$mcpSessionMappingsArgs<ExtArgs extends runtime.Types.Ex
|
|
|
1029
1564
|
skip?: number;
|
|
1030
1565
|
distinct?: Prisma.McpSessionMappingScalarFieldEnum | Prisma.McpSessionMappingScalarFieldEnum[];
|
|
1031
1566
|
};
|
|
1567
|
+
export type OAuthSession$linkedToArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1568
|
+
select?: Prisma.OAuthSessionSelect<ExtArgs> | null;
|
|
1569
|
+
omit?: Prisma.OAuthSessionOmit<ExtArgs> | null;
|
|
1570
|
+
include?: Prisma.OAuthSessionInclude<ExtArgs> | null;
|
|
1571
|
+
where?: Prisma.OAuthSessionWhereInput;
|
|
1572
|
+
};
|
|
1573
|
+
export type OAuthSession$linkedAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1574
|
+
select?: Prisma.OAuthSessionSelect<ExtArgs> | null;
|
|
1575
|
+
omit?: Prisma.OAuthSessionOmit<ExtArgs> | null;
|
|
1576
|
+
include?: Prisma.OAuthSessionInclude<ExtArgs> | null;
|
|
1577
|
+
where?: Prisma.OAuthSessionWhereInput;
|
|
1578
|
+
orderBy?: Prisma.OAuthSessionOrderByWithRelationInput | Prisma.OAuthSessionOrderByWithRelationInput[];
|
|
1579
|
+
cursor?: Prisma.OAuthSessionWhereUniqueInput;
|
|
1580
|
+
take?: number;
|
|
1581
|
+
skip?: number;
|
|
1582
|
+
distinct?: Prisma.OAuthSessionScalarFieldEnum | Prisma.OAuthSessionScalarFieldEnum[];
|
|
1583
|
+
};
|
|
1032
1584
|
export type OAuthSessionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1033
1585
|
select?: Prisma.OAuthSessionSelect<ExtArgs> | null;
|
|
1034
1586
|
omit?: Prisma.OAuthSessionOmit<ExtArgs> | null;
|