@structured-world/gitlab-mcp-db 11.0.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 +4 -4
- 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 +2 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +5 -3
- package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -1
- package/dist/generated/prisma/models/AuthCodeFlowState.d.ts +23 -1
- package/dist/generated/prisma/models/OAuthSession.d.ts +440 -3
- package/dist/src/postgresql.d.ts +13 -1
- package/dist/src/postgresql.js +274 -6
- package/dist/src/postgresql.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -7
- package/prisma/migrations/20261017000000_linked_accounts/migration.sql +15 -0
- package/prisma/schema.prisma +7 -0
|
@@ -39,6 +39,7 @@ export type OAuthSessionMinAggregateOutputType = {
|
|
|
39
39
|
instanceLabel: string | null;
|
|
40
40
|
clientId: string | null;
|
|
41
41
|
resource: string | null;
|
|
42
|
+
linkedToSessionId: string | null;
|
|
42
43
|
createdAt: bigint | null;
|
|
43
44
|
updatedAt: bigint | null;
|
|
44
45
|
};
|
|
@@ -57,6 +58,7 @@ export type OAuthSessionMaxAggregateOutputType = {
|
|
|
57
58
|
instanceLabel: string | null;
|
|
58
59
|
clientId: string | null;
|
|
59
60
|
resource: string | null;
|
|
61
|
+
linkedToSessionId: string | null;
|
|
60
62
|
createdAt: bigint | null;
|
|
61
63
|
updatedAt: bigint | null;
|
|
62
64
|
};
|
|
@@ -77,6 +79,7 @@ export type OAuthSessionCountAggregateOutputType = {
|
|
|
77
79
|
clientId: number;
|
|
78
80
|
scopes: number;
|
|
79
81
|
resource: number;
|
|
82
|
+
linkedToSessionId: number;
|
|
80
83
|
createdAt: number;
|
|
81
84
|
updatedAt: number;
|
|
82
85
|
_all: number;
|
|
@@ -112,6 +115,7 @@ export type OAuthSessionMinAggregateInputType = {
|
|
|
112
115
|
instanceLabel?: true;
|
|
113
116
|
clientId?: true;
|
|
114
117
|
resource?: true;
|
|
118
|
+
linkedToSessionId?: true;
|
|
115
119
|
createdAt?: true;
|
|
116
120
|
updatedAt?: true;
|
|
117
121
|
};
|
|
@@ -130,6 +134,7 @@ export type OAuthSessionMaxAggregateInputType = {
|
|
|
130
134
|
instanceLabel?: true;
|
|
131
135
|
clientId?: true;
|
|
132
136
|
resource?: true;
|
|
137
|
+
linkedToSessionId?: true;
|
|
133
138
|
createdAt?: true;
|
|
134
139
|
updatedAt?: true;
|
|
135
140
|
};
|
|
@@ -150,6 +155,7 @@ export type OAuthSessionCountAggregateInputType = {
|
|
|
150
155
|
clientId?: true;
|
|
151
156
|
scopes?: true;
|
|
152
157
|
resource?: true;
|
|
158
|
+
linkedToSessionId?: true;
|
|
153
159
|
createdAt?: true;
|
|
154
160
|
updatedAt?: true;
|
|
155
161
|
_all?: true;
|
|
@@ -199,6 +205,7 @@ export type OAuthSessionGroupByOutputType = {
|
|
|
199
205
|
clientId: string;
|
|
200
206
|
scopes: string[];
|
|
201
207
|
resource: string | null;
|
|
208
|
+
linkedToSessionId: string | null;
|
|
202
209
|
createdAt: bigint;
|
|
203
210
|
updatedAt: bigint;
|
|
204
211
|
_count: OAuthSessionCountAggregateOutputType | null;
|
|
@@ -230,10 +237,13 @@ export type OAuthSessionWhereInput = {
|
|
|
230
237
|
clientId?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
231
238
|
scopes?: Prisma.StringNullableListFilter<"OAuthSession">;
|
|
232
239
|
resource?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
240
|
+
linkedToSessionId?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
233
241
|
createdAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
234
242
|
updatedAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
235
243
|
authorizationCodes?: Prisma.AuthorizationCodeListRelationFilter;
|
|
236
244
|
mcpSessionMappings?: Prisma.McpSessionMappingListRelationFilter;
|
|
245
|
+
linkedTo?: Prisma.XOR<Prisma.OAuthSessionNullableScalarRelationFilter, Prisma.OAuthSessionWhereInput> | null;
|
|
246
|
+
linkedAccounts?: Prisma.OAuthSessionListRelationFilter;
|
|
237
247
|
};
|
|
238
248
|
export type OAuthSessionOrderByWithRelationInput = {
|
|
239
249
|
id?: Prisma.SortOrder;
|
|
@@ -252,10 +262,13 @@ export type OAuthSessionOrderByWithRelationInput = {
|
|
|
252
262
|
clientId?: Prisma.SortOrder;
|
|
253
263
|
scopes?: Prisma.SortOrder;
|
|
254
264
|
resource?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
265
|
+
linkedToSessionId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
255
266
|
createdAt?: Prisma.SortOrder;
|
|
256
267
|
updatedAt?: Prisma.SortOrder;
|
|
257
268
|
authorizationCodes?: Prisma.AuthorizationCodeOrderByRelationAggregateInput;
|
|
258
269
|
mcpSessionMappings?: Prisma.McpSessionMappingOrderByRelationAggregateInput;
|
|
270
|
+
linkedTo?: Prisma.OAuthSessionOrderByWithRelationInput;
|
|
271
|
+
linkedAccounts?: Prisma.OAuthSessionOrderByRelationAggregateInput;
|
|
259
272
|
};
|
|
260
273
|
export type OAuthSessionWhereUniqueInput = Prisma.AtLeast<{
|
|
261
274
|
id?: string;
|
|
@@ -277,10 +290,13 @@ export type OAuthSessionWhereUniqueInput = Prisma.AtLeast<{
|
|
|
277
290
|
clientId?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
278
291
|
scopes?: Prisma.StringNullableListFilter<"OAuthSession">;
|
|
279
292
|
resource?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
293
|
+
linkedToSessionId?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
280
294
|
createdAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
281
295
|
updatedAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
282
296
|
authorizationCodes?: Prisma.AuthorizationCodeListRelationFilter;
|
|
283
297
|
mcpSessionMappings?: Prisma.McpSessionMappingListRelationFilter;
|
|
298
|
+
linkedTo?: Prisma.XOR<Prisma.OAuthSessionNullableScalarRelationFilter, Prisma.OAuthSessionWhereInput> | null;
|
|
299
|
+
linkedAccounts?: Prisma.OAuthSessionListRelationFilter;
|
|
284
300
|
}, "id">;
|
|
285
301
|
export type OAuthSessionOrderByWithAggregationInput = {
|
|
286
302
|
id?: Prisma.SortOrder;
|
|
@@ -299,6 +315,7 @@ export type OAuthSessionOrderByWithAggregationInput = {
|
|
|
299
315
|
clientId?: Prisma.SortOrder;
|
|
300
316
|
scopes?: Prisma.SortOrder;
|
|
301
317
|
resource?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
318
|
+
linkedToSessionId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
302
319
|
createdAt?: Prisma.SortOrder;
|
|
303
320
|
updatedAt?: Prisma.SortOrder;
|
|
304
321
|
_count?: Prisma.OAuthSessionCountOrderByAggregateInput;
|
|
@@ -327,6 +344,7 @@ export type OAuthSessionScalarWhereWithAggregatesInput = {
|
|
|
327
344
|
clientId?: Prisma.StringWithAggregatesFilter<"OAuthSession"> | string;
|
|
328
345
|
scopes?: Prisma.StringNullableListFilter<"OAuthSession">;
|
|
329
346
|
resource?: Prisma.StringNullableWithAggregatesFilter<"OAuthSession"> | string | null;
|
|
347
|
+
linkedToSessionId?: Prisma.StringNullableWithAggregatesFilter<"OAuthSession"> | string | null;
|
|
330
348
|
createdAt?: Prisma.BigIntWithAggregatesFilter<"OAuthSession"> | bigint | number;
|
|
331
349
|
updatedAt?: Prisma.BigIntWithAggregatesFilter<"OAuthSession"> | bigint | number;
|
|
332
350
|
};
|
|
@@ -351,6 +369,8 @@ export type OAuthSessionCreateInput = {
|
|
|
351
369
|
updatedAt: bigint | number;
|
|
352
370
|
authorizationCodes?: Prisma.AuthorizationCodeCreateNestedManyWithoutSessionInput;
|
|
353
371
|
mcpSessionMappings?: Prisma.McpSessionMappingCreateNestedManyWithoutOauthSessionInput;
|
|
372
|
+
linkedTo?: Prisma.OAuthSessionCreateNestedOneWithoutLinkedAccountsInput;
|
|
373
|
+
linkedAccounts?: Prisma.OAuthSessionCreateNestedManyWithoutLinkedToInput;
|
|
354
374
|
};
|
|
355
375
|
export type OAuthSessionUncheckedCreateInput = {
|
|
356
376
|
id?: string;
|
|
@@ -369,10 +389,12 @@ export type OAuthSessionUncheckedCreateInput = {
|
|
|
369
389
|
clientId: string;
|
|
370
390
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
371
391
|
resource?: string | null;
|
|
392
|
+
linkedToSessionId?: string | null;
|
|
372
393
|
createdAt: bigint | number;
|
|
373
394
|
updatedAt: bigint | number;
|
|
374
395
|
authorizationCodes?: Prisma.AuthorizationCodeUncheckedCreateNestedManyWithoutSessionInput;
|
|
375
396
|
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedCreateNestedManyWithoutOauthSessionInput;
|
|
397
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedCreateNestedManyWithoutLinkedToInput;
|
|
376
398
|
};
|
|
377
399
|
export type OAuthSessionUpdateInput = {
|
|
378
400
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -395,6 +417,8 @@ export type OAuthSessionUpdateInput = {
|
|
|
395
417
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
396
418
|
authorizationCodes?: Prisma.AuthorizationCodeUpdateManyWithoutSessionNestedInput;
|
|
397
419
|
mcpSessionMappings?: Prisma.McpSessionMappingUpdateManyWithoutOauthSessionNestedInput;
|
|
420
|
+
linkedTo?: Prisma.OAuthSessionUpdateOneWithoutLinkedAccountsNestedInput;
|
|
421
|
+
linkedAccounts?: Prisma.OAuthSessionUpdateManyWithoutLinkedToNestedInput;
|
|
398
422
|
};
|
|
399
423
|
export type OAuthSessionUncheckedUpdateInput = {
|
|
400
424
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -413,10 +437,12 @@ export type OAuthSessionUncheckedUpdateInput = {
|
|
|
413
437
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
414
438
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
415
439
|
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
440
|
+
linkedToSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
416
441
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
417
442
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
418
443
|
authorizationCodes?: Prisma.AuthorizationCodeUncheckedUpdateManyWithoutSessionNestedInput;
|
|
419
444
|
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedUpdateManyWithoutOauthSessionNestedInput;
|
|
445
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedUpdateManyWithoutLinkedToNestedInput;
|
|
420
446
|
};
|
|
421
447
|
export type OAuthSessionCreateManyInput = {
|
|
422
448
|
id?: string;
|
|
@@ -435,6 +461,7 @@ export type OAuthSessionCreateManyInput = {
|
|
|
435
461
|
clientId: string;
|
|
436
462
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
437
463
|
resource?: string | null;
|
|
464
|
+
linkedToSessionId?: string | null;
|
|
438
465
|
createdAt: bigint | number;
|
|
439
466
|
updatedAt: bigint | number;
|
|
440
467
|
};
|
|
@@ -475,6 +502,7 @@ export type OAuthSessionUncheckedUpdateManyInput = {
|
|
|
475
502
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
476
503
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
477
504
|
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
505
|
+
linkedToSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
478
506
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
479
507
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
480
508
|
};
|
|
@@ -485,6 +513,18 @@ export type StringNullableListFilter<$PrismaModel = never> = {
|
|
|
485
513
|
hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
486
514
|
isEmpty?: boolean;
|
|
487
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
|
+
};
|
|
488
528
|
export type OAuthSessionCountOrderByAggregateInput = {
|
|
489
529
|
id?: Prisma.SortOrder;
|
|
490
530
|
mcpAccessToken?: Prisma.SortOrder;
|
|
@@ -502,6 +542,7 @@ export type OAuthSessionCountOrderByAggregateInput = {
|
|
|
502
542
|
clientId?: Prisma.SortOrder;
|
|
503
543
|
scopes?: Prisma.SortOrder;
|
|
504
544
|
resource?: Prisma.SortOrder;
|
|
545
|
+
linkedToSessionId?: Prisma.SortOrder;
|
|
505
546
|
createdAt?: Prisma.SortOrder;
|
|
506
547
|
updatedAt?: Prisma.SortOrder;
|
|
507
548
|
};
|
|
@@ -528,6 +569,7 @@ export type OAuthSessionMaxOrderByAggregateInput = {
|
|
|
528
569
|
instanceLabel?: Prisma.SortOrder;
|
|
529
570
|
clientId?: Prisma.SortOrder;
|
|
530
571
|
resource?: Prisma.SortOrder;
|
|
572
|
+
linkedToSessionId?: Prisma.SortOrder;
|
|
531
573
|
createdAt?: Prisma.SortOrder;
|
|
532
574
|
updatedAt?: Prisma.SortOrder;
|
|
533
575
|
};
|
|
@@ -546,6 +588,7 @@ export type OAuthSessionMinOrderByAggregateInput = {
|
|
|
546
588
|
instanceLabel?: Prisma.SortOrder;
|
|
547
589
|
clientId?: Prisma.SortOrder;
|
|
548
590
|
resource?: Prisma.SortOrder;
|
|
591
|
+
linkedToSessionId?: Prisma.SortOrder;
|
|
549
592
|
createdAt?: Prisma.SortOrder;
|
|
550
593
|
updatedAt?: Prisma.SortOrder;
|
|
551
594
|
};
|
|
@@ -564,6 +607,23 @@ export type OAuthSessionScalarRelationFilter = {
|
|
|
564
607
|
export type OAuthSessionCreatescopesInput = {
|
|
565
608
|
set: string[];
|
|
566
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
|
+
};
|
|
567
627
|
export type StringFieldUpdateOperationsInput = {
|
|
568
628
|
set?: string;
|
|
569
629
|
};
|
|
@@ -595,6 +655,41 @@ export type OAuthSessionUpdatescopesInput = {
|
|
|
595
655
|
set?: string[];
|
|
596
656
|
push?: string | string[];
|
|
597
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
|
+
};
|
|
598
693
|
export type OAuthSessionCreateNestedOneWithoutAuthorizationCodesInput = {
|
|
599
694
|
create?: Prisma.XOR<Prisma.OAuthSessionCreateWithoutAuthorizationCodesInput, Prisma.OAuthSessionUncheckedCreateWithoutAuthorizationCodesInput>;
|
|
600
695
|
connectOrCreate?: Prisma.OAuthSessionCreateOrConnectWithoutAuthorizationCodesInput;
|
|
@@ -619,6 +714,202 @@ export type OAuthSessionUpdateOneRequiredWithoutMcpSessionMappingsNestedInput =
|
|
|
619
714
|
connect?: Prisma.OAuthSessionWhereUniqueInput;
|
|
620
715
|
update?: Prisma.XOR<Prisma.XOR<Prisma.OAuthSessionUpdateToOneWithWhereWithoutMcpSessionMappingsInput, Prisma.OAuthSessionUpdateWithoutMcpSessionMappingsInput>, Prisma.OAuthSessionUncheckedUpdateWithoutMcpSessionMappingsInput>;
|
|
621
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
|
+
};
|
|
622
913
|
export type OAuthSessionCreateWithoutAuthorizationCodesInput = {
|
|
623
914
|
id?: string;
|
|
624
915
|
mcpAccessToken: string;
|
|
@@ -639,6 +930,8 @@ export type OAuthSessionCreateWithoutAuthorizationCodesInput = {
|
|
|
639
930
|
createdAt: bigint | number;
|
|
640
931
|
updatedAt: bigint | number;
|
|
641
932
|
mcpSessionMappings?: Prisma.McpSessionMappingCreateNestedManyWithoutOauthSessionInput;
|
|
933
|
+
linkedTo?: Prisma.OAuthSessionCreateNestedOneWithoutLinkedAccountsInput;
|
|
934
|
+
linkedAccounts?: Prisma.OAuthSessionCreateNestedManyWithoutLinkedToInput;
|
|
642
935
|
};
|
|
643
936
|
export type OAuthSessionUncheckedCreateWithoutAuthorizationCodesInput = {
|
|
644
937
|
id?: string;
|
|
@@ -657,9 +950,11 @@ export type OAuthSessionUncheckedCreateWithoutAuthorizationCodesInput = {
|
|
|
657
950
|
clientId: string;
|
|
658
951
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
659
952
|
resource?: string | null;
|
|
953
|
+
linkedToSessionId?: string | null;
|
|
660
954
|
createdAt: bigint | number;
|
|
661
955
|
updatedAt: bigint | number;
|
|
662
956
|
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedCreateNestedManyWithoutOauthSessionInput;
|
|
957
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedCreateNestedManyWithoutLinkedToInput;
|
|
663
958
|
};
|
|
664
959
|
export type OAuthSessionCreateOrConnectWithoutAuthorizationCodesInput = {
|
|
665
960
|
where: Prisma.OAuthSessionWhereUniqueInput;
|
|
@@ -694,6 +989,8 @@ export type OAuthSessionUpdateWithoutAuthorizationCodesInput = {
|
|
|
694
989
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
695
990
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
696
991
|
mcpSessionMappings?: Prisma.McpSessionMappingUpdateManyWithoutOauthSessionNestedInput;
|
|
992
|
+
linkedTo?: Prisma.OAuthSessionUpdateOneWithoutLinkedAccountsNestedInput;
|
|
993
|
+
linkedAccounts?: Prisma.OAuthSessionUpdateManyWithoutLinkedToNestedInput;
|
|
697
994
|
};
|
|
698
995
|
export type OAuthSessionUncheckedUpdateWithoutAuthorizationCodesInput = {
|
|
699
996
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -712,9 +1009,11 @@ export type OAuthSessionUncheckedUpdateWithoutAuthorizationCodesInput = {
|
|
|
712
1009
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
713
1010
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
714
1011
|
resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1012
|
+
linkedToSessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
715
1013
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
716
1014
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
717
1015
|
mcpSessionMappings?: Prisma.McpSessionMappingUncheckedUpdateManyWithoutOauthSessionNestedInput;
|
|
1016
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedUpdateManyWithoutLinkedToNestedInput;
|
|
718
1017
|
};
|
|
719
1018
|
export type OAuthSessionCreateWithoutMcpSessionMappingsInput = {
|
|
720
1019
|
id?: string;
|
|
@@ -736,6 +1035,8 @@ export type OAuthSessionCreateWithoutMcpSessionMappingsInput = {
|
|
|
736
1035
|
createdAt: bigint | number;
|
|
737
1036
|
updatedAt: bigint | number;
|
|
738
1037
|
authorizationCodes?: Prisma.AuthorizationCodeCreateNestedManyWithoutSessionInput;
|
|
1038
|
+
linkedTo?: Prisma.OAuthSessionCreateNestedOneWithoutLinkedAccountsInput;
|
|
1039
|
+
linkedAccounts?: Prisma.OAuthSessionCreateNestedManyWithoutLinkedToInput;
|
|
739
1040
|
};
|
|
740
1041
|
export type OAuthSessionUncheckedCreateWithoutMcpSessionMappingsInput = {
|
|
741
1042
|
id?: string;
|
|
@@ -754,9 +1055,11 @@ export type OAuthSessionUncheckedCreateWithoutMcpSessionMappingsInput = {
|
|
|
754
1055
|
clientId: string;
|
|
755
1056
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
756
1057
|
resource?: string | null;
|
|
1058
|
+
linkedToSessionId?: string | null;
|
|
757
1059
|
createdAt: bigint | number;
|
|
758
1060
|
updatedAt: bigint | number;
|
|
759
1061
|
authorizationCodes?: Prisma.AuthorizationCodeUncheckedCreateNestedManyWithoutSessionInput;
|
|
1062
|
+
linkedAccounts?: Prisma.OAuthSessionUncheckedCreateNestedManyWithoutLinkedToInput;
|
|
760
1063
|
};
|
|
761
1064
|
export type OAuthSessionCreateOrConnectWithoutMcpSessionMappingsInput = {
|
|
762
1065
|
where: Prisma.OAuthSessionWhereUniqueInput;
|
|
@@ -791,8 +1094,76 @@ export type OAuthSessionUpdateWithoutMcpSessionMappingsInput = {
|
|
|
791
1094
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
792
1095
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
793
1096
|
authorizationCodes?: Prisma.AuthorizationCodeUpdateManyWithoutSessionNestedInput;
|
|
1097
|
+
linkedTo?: Prisma.OAuthSessionUpdateOneWithoutLinkedAccountsNestedInput;
|
|
1098
|
+
linkedAccounts?: Prisma.OAuthSessionUpdateManyWithoutLinkedToNestedInput;
|
|
794
1099
|
};
|
|
795
1100
|
export type OAuthSessionUncheckedUpdateWithoutMcpSessionMappingsInput = {
|
|
1101
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1102
|
+
mcpAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1103
|
+
mcpRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1104
|
+
mcpTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1105
|
+
gitlabAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1106
|
+
gitlabRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
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 = {
|
|
796
1167
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
797
1168
|
mcpAccessToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
798
1169
|
mcpRefreshToken?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -812,14 +1183,38 @@ export type OAuthSessionUncheckedUpdateWithoutMcpSessionMappingsInput = {
|
|
|
812
1183
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
813
1184
|
updatedAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
814
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;
|
|
815
1208
|
};
|
|
816
1209
|
export type OAuthSessionCountOutputType = {
|
|
817
1210
|
authorizationCodes: number;
|
|
818
1211
|
mcpSessionMappings: number;
|
|
1212
|
+
linkedAccounts: number;
|
|
819
1213
|
};
|
|
820
1214
|
export type OAuthSessionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
821
1215
|
authorizationCodes?: boolean | OAuthSessionCountOutputTypeCountAuthorizationCodesArgs;
|
|
822
1216
|
mcpSessionMappings?: boolean | OAuthSessionCountOutputTypeCountMcpSessionMappingsArgs;
|
|
1217
|
+
linkedAccounts?: boolean | OAuthSessionCountOutputTypeCountLinkedAccountsArgs;
|
|
823
1218
|
};
|
|
824
1219
|
export type OAuthSessionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
825
1220
|
select?: Prisma.OAuthSessionCountOutputTypeSelect<ExtArgs> | null;
|
|
@@ -830,6 +1225,9 @@ export type OAuthSessionCountOutputTypeCountAuthorizationCodesArgs<ExtArgs exten
|
|
|
830
1225
|
export type OAuthSessionCountOutputTypeCountMcpSessionMappingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
831
1226
|
where?: Prisma.McpSessionMappingWhereInput;
|
|
832
1227
|
};
|
|
1228
|
+
export type OAuthSessionCountOutputTypeCountLinkedAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1229
|
+
where?: Prisma.OAuthSessionWhereInput;
|
|
1230
|
+
};
|
|
833
1231
|
export type OAuthSessionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
834
1232
|
id?: boolean;
|
|
835
1233
|
mcpAccessToken?: boolean;
|
|
@@ -847,10 +1245,13 @@ export type OAuthSessionSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
847
1245
|
clientId?: boolean;
|
|
848
1246
|
scopes?: boolean;
|
|
849
1247
|
resource?: boolean;
|
|
1248
|
+
linkedToSessionId?: boolean;
|
|
850
1249
|
createdAt?: boolean;
|
|
851
1250
|
updatedAt?: boolean;
|
|
852
1251
|
authorizationCodes?: boolean | Prisma.OAuthSession$authorizationCodesArgs<ExtArgs>;
|
|
853
1252
|
mcpSessionMappings?: boolean | Prisma.OAuthSession$mcpSessionMappingsArgs<ExtArgs>;
|
|
1253
|
+
linkedTo?: boolean | Prisma.OAuthSession$linkedToArgs<ExtArgs>;
|
|
1254
|
+
linkedAccounts?: boolean | Prisma.OAuthSession$linkedAccountsArgs<ExtArgs>;
|
|
854
1255
|
_count?: boolean | Prisma.OAuthSessionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
855
1256
|
}, ExtArgs["result"]["oAuthSession"]>;
|
|
856
1257
|
export type OAuthSessionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -870,8 +1271,10 @@ export type OAuthSessionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
870
1271
|
clientId?: boolean;
|
|
871
1272
|
scopes?: boolean;
|
|
872
1273
|
resource?: boolean;
|
|
1274
|
+
linkedToSessionId?: boolean;
|
|
873
1275
|
createdAt?: boolean;
|
|
874
1276
|
updatedAt?: boolean;
|
|
1277
|
+
linkedTo?: boolean | Prisma.OAuthSession$linkedToArgs<ExtArgs>;
|
|
875
1278
|
}, ExtArgs["result"]["oAuthSession"]>;
|
|
876
1279
|
export type OAuthSessionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
877
1280
|
id?: boolean;
|
|
@@ -890,8 +1293,10 @@ export type OAuthSessionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
890
1293
|
clientId?: boolean;
|
|
891
1294
|
scopes?: boolean;
|
|
892
1295
|
resource?: boolean;
|
|
1296
|
+
linkedToSessionId?: boolean;
|
|
893
1297
|
createdAt?: boolean;
|
|
894
1298
|
updatedAt?: boolean;
|
|
1299
|
+
linkedTo?: boolean | Prisma.OAuthSession$linkedToArgs<ExtArgs>;
|
|
895
1300
|
}, ExtArgs["result"]["oAuthSession"]>;
|
|
896
1301
|
export type OAuthSessionSelectScalar = {
|
|
897
1302
|
id?: boolean;
|
|
@@ -910,22 +1315,31 @@ export type OAuthSessionSelectScalar = {
|
|
|
910
1315
|
clientId?: boolean;
|
|
911
1316
|
scopes?: boolean;
|
|
912
1317
|
resource?: boolean;
|
|
1318
|
+
linkedToSessionId?: boolean;
|
|
913
1319
|
createdAt?: boolean;
|
|
914
1320
|
updatedAt?: boolean;
|
|
915
1321
|
};
|
|
916
|
-
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" | "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"]>;
|
|
917
1323
|
export type OAuthSessionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
918
1324
|
authorizationCodes?: boolean | Prisma.OAuthSession$authorizationCodesArgs<ExtArgs>;
|
|
919
1325
|
mcpSessionMappings?: boolean | Prisma.OAuthSession$mcpSessionMappingsArgs<ExtArgs>;
|
|
1326
|
+
linkedTo?: boolean | Prisma.OAuthSession$linkedToArgs<ExtArgs>;
|
|
1327
|
+
linkedAccounts?: boolean | Prisma.OAuthSession$linkedAccountsArgs<ExtArgs>;
|
|
920
1328
|
_count?: boolean | Prisma.OAuthSessionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
921
1329
|
};
|
|
922
|
-
export type OAuthSessionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
923
|
-
|
|
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
|
+
};
|
|
924
1336
|
export type $OAuthSessionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
925
1337
|
name: "OAuthSession";
|
|
926
1338
|
objects: {
|
|
927
1339
|
authorizationCodes: Prisma.$AuthorizationCodePayload<ExtArgs>[];
|
|
928
1340
|
mcpSessionMappings: Prisma.$McpSessionMappingPayload<ExtArgs>[];
|
|
1341
|
+
linkedTo: Prisma.$OAuthSessionPayload<ExtArgs> | null;
|
|
1342
|
+
linkedAccounts: Prisma.$OAuthSessionPayload<ExtArgs>[];
|
|
929
1343
|
};
|
|
930
1344
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
931
1345
|
id: string;
|
|
@@ -944,6 +1358,7 @@ export type $OAuthSessionPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
944
1358
|
clientId: string;
|
|
945
1359
|
scopes: string[];
|
|
946
1360
|
resource: string | null;
|
|
1361
|
+
linkedToSessionId: string | null;
|
|
947
1362
|
createdAt: bigint;
|
|
948
1363
|
updatedAt: bigint;
|
|
949
1364
|
}, ExtArgs["result"]["oAuthSession"]>;
|
|
@@ -1000,6 +1415,8 @@ export interface Prisma__OAuthSessionClient<T, Null = never, ExtArgs extends run
|
|
|
1000
1415
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1001
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>;
|
|
1002
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>;
|
|
1003
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>;
|
|
1004
1421
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1005
1422
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
@@ -1021,6 +1438,7 @@ export interface OAuthSessionFieldRefs {
|
|
|
1021
1438
|
readonly clientId: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
1022
1439
|
readonly scopes: Prisma.FieldRef<"OAuthSession", 'String[]'>;
|
|
1023
1440
|
readonly resource: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
1441
|
+
readonly linkedToSessionId: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
1024
1442
|
readonly createdAt: Prisma.FieldRef<"OAuthSession", 'BigInt'>;
|
|
1025
1443
|
readonly updatedAt: Prisma.FieldRef<"OAuthSession", 'BigInt'>;
|
|
1026
1444
|
}
|
|
@@ -1084,6 +1502,7 @@ export type OAuthSessionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Ex
|
|
|
1084
1502
|
omit?: Prisma.OAuthSessionOmit<ExtArgs> | null;
|
|
1085
1503
|
data: Prisma.OAuthSessionCreateManyInput | Prisma.OAuthSessionCreateManyInput[];
|
|
1086
1504
|
skipDuplicates?: boolean;
|
|
1505
|
+
include?: Prisma.OAuthSessionIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1087
1506
|
};
|
|
1088
1507
|
export type OAuthSessionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1089
1508
|
select?: Prisma.OAuthSessionSelect<ExtArgs> | null;
|
|
@@ -1103,6 +1522,7 @@ export type OAuthSessionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Ex
|
|
|
1103
1522
|
data: Prisma.XOR<Prisma.OAuthSessionUpdateManyMutationInput, Prisma.OAuthSessionUncheckedUpdateManyInput>;
|
|
1104
1523
|
where?: Prisma.OAuthSessionWhereInput;
|
|
1105
1524
|
limit?: number;
|
|
1525
|
+
include?: Prisma.OAuthSessionIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1106
1526
|
};
|
|
1107
1527
|
export type OAuthSessionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1108
1528
|
select?: Prisma.OAuthSessionSelect<ExtArgs> | null;
|
|
@@ -1144,6 +1564,23 @@ export type OAuthSession$mcpSessionMappingsArgs<ExtArgs extends runtime.Types.Ex
|
|
|
1144
1564
|
skip?: number;
|
|
1145
1565
|
distinct?: Prisma.McpSessionMappingScalarFieldEnum | Prisma.McpSessionMappingScalarFieldEnum[];
|
|
1146
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
|
+
};
|
|
1147
1584
|
export type OAuthSessionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1148
1585
|
select?: Prisma.OAuthSessionSelect<ExtArgs> | null;
|
|
1149
1586
|
omit?: Prisma.OAuthSessionOmit<ExtArgs> | null;
|