@scarn/sdk 0.8.20 → 0.8.22
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/dist/auth/api-token-cache.d.ts +24 -0
- package/dist/auth/api-token-source.d.ts +39 -0
- package/dist/auth/authenticated-fetch.d.ts +10 -0
- package/dist/auth/index.d.ts +3 -0
- package/dist/auth/index.js +19 -0
- package/dist/automations/index.js +14 -17
- package/dist/{chunk-habmdf89.js → chunk-0bwsjn0b.js} +29 -29
- package/dist/{chunk-mzj1j0p5.js → chunk-0w13kxkr.js} +34 -31
- package/dist/{chunk-qgkx89eg.js → chunk-3j5wf2t5.js} +44 -43
- package/dist/{chunk-0y2fy5en.js → chunk-4361gxk0.js} +7 -7
- package/dist/{chunk-n3ywwx7n.js → chunk-52520csz.js} +15 -14
- package/dist/chunk-5dnfgyx8.js +159 -0
- package/dist/{chunk-tr3v83cn.js → chunk-5fa4arn1.js} +18 -11
- package/dist/{chunk-ngy1fdcx.js → chunk-631ffb6r.js} +10 -10
- package/dist/{chunk-01nfqm18.js → chunk-7anj08zc.js} +11 -9
- package/dist/{chunk-yq0sf8sb.js → chunk-7dr4kybf.js} +483 -451
- package/dist/chunk-7mhr5aex.js +171 -0
- package/dist/chunk-7rywbqzz.js +27 -0
- package/dist/{chunk-yf15kdte.js → chunk-9ct3xypr.js} +2636 -3864
- package/dist/chunk-9geh4c3v.js +1034 -0
- package/dist/{chunk-19brnwkp.js → chunk-9qf0eg7m.js} +19 -19
- package/dist/{chunk-y11p1q7r.js → chunk-aqqywy8g.js} +4 -4
- package/dist/chunk-bcvx11fn.js +174 -0
- package/dist/{chunk-z4smq8qd.js → chunk-cyfeaz43.js} +86 -86
- package/dist/chunk-czq37rrt.js +286 -0
- package/dist/chunk-ec5z8bbq.js +126 -0
- package/dist/{chunk-rt9tq4j6.js → chunk-h9yxx0hd.js} +7 -7
- package/dist/{chunk-t1dq2c2s.js → chunk-hma87efq.js} +40 -40
- package/dist/{chunk-5dny5jg1.js → chunk-hpv234hf.js} +11 -11
- package/dist/{chunk-rq5k7m33.js → chunk-k7xnsmp5.js} +182 -97
- package/dist/{chunk-91f5gm5z.js → chunk-kbpkpxcn.js} +22 -21
- package/dist/{chunk-6tra3gw8.js → chunk-kjn1knb9.js} +7 -7
- package/dist/{chunk-g4j5cfpc.js → chunk-p3s7cjfc.js} +17 -16
- package/dist/chunk-pq6hrtnb.js +49 -0
- package/dist/{chunk-mp2rqtcj.js → chunk-ptpy7nnm.js} +8 -8
- package/dist/{chunk-xqfj56m9.js → chunk-vn1rfxma.js} +8 -8
- package/dist/chunk-vyv8kvkv.js +113 -0
- package/dist/{chunk-0c60x3v8.js → chunk-xe2zgyz7.js} +35 -35
- package/dist/chunk-y4dwmhn2.js +14 -0
- package/dist/{chunk-098740f7.js → chunk-yypj3zn0.js} +8 -8
- package/dist/chunk-yzj1mfpr.js +1515 -0
- package/dist/client.d.ts +5 -1
- package/dist/client.js +62 -61
- package/dist/connectors/index.js +36 -37
- package/dist/contracts/artifact-markers.js +11 -12
- package/dist/contracts/artifacts.js +21 -23
- package/dist/contracts/automation-document/index.js +28 -30
- package/dist/contracts/pipeline-document/built-ins.d.ts +1 -1
- package/dist/contracts/pipeline-document/index.js +95 -97
- package/dist/contracts/step-artifact-submissions.js +20 -17
- package/dist/contracts/work-item-changes.js +8 -6
- package/dist/create-api-client.d.ts +11 -0
- package/dist/defaults/index.js +44 -884
- package/dist/defaults/load-push-defaults.d.ts +11 -4
- package/dist/defaults/project-ref.d.ts +2 -4
- package/dist/definitions/automations/automations-client.d.ts +2 -1
- package/dist/definitions/automations/index.js +6 -8
- package/dist/definitions/environments/environments-client.d.ts +2 -1
- package/dist/definitions/environments/index.js +37 -38
- package/dist/definitions/pipelines/index.js +12 -14
- package/dist/definitions/pipelines/pipeline-definitions-client.d.ts +2 -1
- package/dist/definitions/steps/define-mcp.d.ts +2 -2
- package/dist/definitions/steps/index.js +93 -95
- package/dist/definitions/steps/mcp-server-config.d.ts +13 -3
- package/dist/definitions/steps/step-definitions-client.d.ts +20 -1
- package/dist/definitions/validation/index.js +17 -18
- package/dist/devcontainer-config-path.js +9 -11
- package/dist/env-vars.js +37 -39
- package/dist/environment.js +41 -42
- package/dist/eslint.js +0 -2
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +41 -1
- package/dist/generated/types.gen.d.ts +1801 -0
- package/dist/git-url/git-repo-identity.js +0 -2
- package/dist/health-checks.js +15 -17
- package/dist/index.js +364 -358
- package/dist/jsonc.js +7 -8
- package/dist/managed-connections.d.ts +16 -0
- package/dist/managed-connections.js +9 -0
- package/dist/managed-runtimes.js +9 -11
- package/dist/opencode-mcp.d.ts +55 -1
- package/dist/opencode-mcp.js +33 -28
- package/dist/pipelines/index.js +78 -81
- package/dist/push/code-step-lookup.js +9 -10
- package/dist/push/index.d.ts +1 -0
- package/dist/push/index.js +109 -79
- package/dist/push/push-from-directory.d.ts +9 -1
- package/dist/push/pushed-mcp-servers.d.ts +28 -0
- package/dist/repo-config.js +41 -43
- package/dist/resolve-environment.js +14 -15
- package/dist/scarn-config-parser.js +5 -6
- package/dist/task-plane-client.d.ts +143 -1
- package/package.json +11 -3
- package/dist/chunk-46wmsgv7.js +0 -14
- package/dist/chunk-a56zc4s5.js +0 -119
- package/dist/chunk-aemxz9r7.js +0 -107
- package/dist/chunk-b9ja6ss5.js +0 -275
- package/dist/chunk-e0pt5x0e.js +0 -167
- package/dist/chunk-pqtd0hr7.js +0 -96
- package/dist/chunk-rphfy0fj.js +0 -167
- package/dist/chunk-y34zsgsw.js +0 -39
- package/dist/chunk-y64skrwp.js +0 -17
|
@@ -1632,6 +1632,9 @@ export type GetApiStepDefinitionsResponses = {
|
|
|
1632
1632
|
mcp?: string;
|
|
1633
1633
|
applies: 'agent';
|
|
1634
1634
|
}>;
|
|
1635
|
+
auth?: {
|
|
1636
|
+
connection: string;
|
|
1637
|
+
};
|
|
1635
1638
|
} | {
|
|
1636
1639
|
type: 'ref';
|
|
1637
1640
|
name?: string;
|
|
@@ -1645,6 +1648,9 @@ export type GetApiStepDefinitionsResponses = {
|
|
|
1645
1648
|
mcp?: string;
|
|
1646
1649
|
applies: 'agent';
|
|
1647
1650
|
}>;
|
|
1651
|
+
auth?: {
|
|
1652
|
+
connection: string;
|
|
1653
|
+
};
|
|
1648
1654
|
disabled?: boolean;
|
|
1649
1655
|
codemode?: boolean;
|
|
1650
1656
|
timeout?: {
|
|
@@ -1851,6 +1857,9 @@ export type PostApiStepDefinitionsData = {
|
|
|
1851
1857
|
mcp?: string;
|
|
1852
1858
|
applies: 'agent';
|
|
1853
1859
|
}>;
|
|
1860
|
+
auth?: {
|
|
1861
|
+
connection: string;
|
|
1862
|
+
};
|
|
1854
1863
|
} | {
|
|
1855
1864
|
type: 'ref';
|
|
1856
1865
|
name?: string;
|
|
@@ -1864,6 +1873,9 @@ export type PostApiStepDefinitionsData = {
|
|
|
1864
1873
|
mcp?: string;
|
|
1865
1874
|
applies: 'agent';
|
|
1866
1875
|
}>;
|
|
1876
|
+
auth?: {
|
|
1877
|
+
connection: string;
|
|
1878
|
+
};
|
|
1867
1879
|
disabled?: boolean;
|
|
1868
1880
|
codemode?: boolean;
|
|
1869
1881
|
timeout?: {
|
|
@@ -2210,6 +2222,9 @@ export type PostApiStepDefinitionsResponses = {
|
|
|
2210
2222
|
mcp?: string;
|
|
2211
2223
|
applies: 'agent';
|
|
2212
2224
|
}>;
|
|
2225
|
+
auth?: {
|
|
2226
|
+
connection: string;
|
|
2227
|
+
};
|
|
2213
2228
|
} | {
|
|
2214
2229
|
type: 'ref';
|
|
2215
2230
|
name?: string;
|
|
@@ -2223,6 +2238,9 @@ export type PostApiStepDefinitionsResponses = {
|
|
|
2223
2238
|
mcp?: string;
|
|
2224
2239
|
applies: 'agent';
|
|
2225
2240
|
}>;
|
|
2241
|
+
auth?: {
|
|
2242
|
+
connection: string;
|
|
2243
|
+
};
|
|
2226
2244
|
disabled?: boolean;
|
|
2227
2245
|
codemode?: boolean;
|
|
2228
2246
|
timeout?: {
|
|
@@ -2429,6 +2447,9 @@ export type PutApiStepDefinitionsData = {
|
|
|
2429
2447
|
mcp?: string;
|
|
2430
2448
|
applies: 'agent';
|
|
2431
2449
|
}>;
|
|
2450
|
+
auth?: {
|
|
2451
|
+
connection: string;
|
|
2452
|
+
};
|
|
2432
2453
|
} | {
|
|
2433
2454
|
type: 'ref';
|
|
2434
2455
|
name?: string;
|
|
@@ -2442,6 +2463,9 @@ export type PutApiStepDefinitionsData = {
|
|
|
2442
2463
|
mcp?: string;
|
|
2443
2464
|
applies: 'agent';
|
|
2444
2465
|
}>;
|
|
2466
|
+
auth?: {
|
|
2467
|
+
connection: string;
|
|
2468
|
+
};
|
|
2445
2469
|
disabled?: boolean;
|
|
2446
2470
|
codemode?: boolean;
|
|
2447
2471
|
timeout?: {
|
|
@@ -2750,6 +2774,9 @@ export type PutApiStepDefinitionsResponses = {
|
|
|
2750
2774
|
mcp?: string;
|
|
2751
2775
|
applies: 'agent';
|
|
2752
2776
|
}>;
|
|
2777
|
+
auth?: {
|
|
2778
|
+
connection: string;
|
|
2779
|
+
};
|
|
2753
2780
|
} | {
|
|
2754
2781
|
type: 'ref';
|
|
2755
2782
|
name?: string;
|
|
@@ -2763,6 +2790,9 @@ export type PutApiStepDefinitionsResponses = {
|
|
|
2763
2790
|
mcp?: string;
|
|
2764
2791
|
applies: 'agent';
|
|
2765
2792
|
}>;
|
|
2793
|
+
auth?: {
|
|
2794
|
+
connection: string;
|
|
2795
|
+
};
|
|
2766
2796
|
disabled?: boolean;
|
|
2767
2797
|
codemode?: boolean;
|
|
2768
2798
|
timeout?: {
|
|
@@ -3079,6 +3109,9 @@ export type GetApiStepDefinitionsByStepDefinitionIdResponses = {
|
|
|
3079
3109
|
mcp?: string;
|
|
3080
3110
|
applies: 'agent';
|
|
3081
3111
|
}>;
|
|
3112
|
+
auth?: {
|
|
3113
|
+
connection: string;
|
|
3114
|
+
};
|
|
3082
3115
|
} | {
|
|
3083
3116
|
type: 'ref';
|
|
3084
3117
|
name?: string;
|
|
@@ -3092,6 +3125,9 @@ export type GetApiStepDefinitionsByStepDefinitionIdResponses = {
|
|
|
3092
3125
|
mcp?: string;
|
|
3093
3126
|
applies: 'agent';
|
|
3094
3127
|
}>;
|
|
3128
|
+
auth?: {
|
|
3129
|
+
connection: string;
|
|
3130
|
+
};
|
|
3095
3131
|
disabled?: boolean;
|
|
3096
3132
|
codemode?: boolean;
|
|
3097
3133
|
timeout?: {
|
|
@@ -3408,6 +3444,9 @@ export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponses = {
|
|
|
3408
3444
|
mcp?: string;
|
|
3409
3445
|
applies: 'agent';
|
|
3410
3446
|
}>;
|
|
3447
|
+
auth?: {
|
|
3448
|
+
connection: string;
|
|
3449
|
+
};
|
|
3411
3450
|
} | {
|
|
3412
3451
|
type: 'ref';
|
|
3413
3452
|
name?: string;
|
|
@@ -3421,6 +3460,9 @@ export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponses = {
|
|
|
3421
3460
|
mcp?: string;
|
|
3422
3461
|
applies: 'agent';
|
|
3423
3462
|
}>;
|
|
3463
|
+
auth?: {
|
|
3464
|
+
connection: string;
|
|
3465
|
+
};
|
|
3424
3466
|
disabled?: boolean;
|
|
3425
3467
|
codemode?: boolean;
|
|
3426
3468
|
timeout?: {
|
|
@@ -4873,6 +4915,9 @@ export type PutApiTaskRunsByTaskRunIdHeartbeatResponses = {
|
|
|
4873
4915
|
sessionRestored: boolean | null;
|
|
4874
4916
|
createdAt: string;
|
|
4875
4917
|
updatedAt: string;
|
|
4918
|
+
managedAuthority: 'ok' | {
|
|
4919
|
+
lost: 'disconnected' | 'replaced' | 'reconnect_required' | 'operation_unknown';
|
|
4920
|
+
};
|
|
4876
4921
|
};
|
|
4877
4922
|
};
|
|
4878
4923
|
export type PutApiTaskRunsByTaskRunIdHeartbeatResponse = PutApiTaskRunsByTaskRunIdHeartbeatResponses[keyof PutApiTaskRunsByTaskRunIdHeartbeatResponses];
|
|
@@ -5413,6 +5458,9 @@ export type PostApiTaskRunsByTaskRunIdWorkerContextResponses = {
|
|
|
5413
5458
|
mcp?: string;
|
|
5414
5459
|
applies: 'agent';
|
|
5415
5460
|
}>;
|
|
5461
|
+
auth?: {
|
|
5462
|
+
connection: string;
|
|
5463
|
+
};
|
|
5416
5464
|
} | {
|
|
5417
5465
|
type: 'ref';
|
|
5418
5466
|
name?: string;
|
|
@@ -5426,6 +5474,9 @@ export type PostApiTaskRunsByTaskRunIdWorkerContextResponses = {
|
|
|
5426
5474
|
mcp?: string;
|
|
5427
5475
|
applies: 'agent';
|
|
5428
5476
|
}>;
|
|
5477
|
+
auth?: {
|
|
5478
|
+
connection: string;
|
|
5479
|
+
};
|
|
5429
5480
|
disabled?: boolean;
|
|
5430
5481
|
codemode?: boolean;
|
|
5431
5482
|
timeout?: {
|
|
@@ -26067,6 +26118,176 @@ export type PostApiTaskRunsByTaskRunIdEnvironmentResponses = {
|
|
|
26067
26118
|
};
|
|
26068
26119
|
};
|
|
26069
26120
|
export type PostApiTaskRunsByTaskRunIdEnvironmentResponse = PostApiTaskRunsByTaskRunIdEnvironmentResponses[keyof PostApiTaskRunsByTaskRunIdEnvironmentResponses];
|
|
26121
|
+
export type PostApiTaskRunsByTaskRunIdManagedLaunchData = {
|
|
26122
|
+
body: {
|
|
26123
|
+
claimToken: string;
|
|
26124
|
+
entries: {
|
|
26125
|
+
[key: string]: {
|
|
26126
|
+
url: string;
|
|
26127
|
+
};
|
|
26128
|
+
};
|
|
26129
|
+
remotesWithoutAuth: {
|
|
26130
|
+
[key: string]: {
|
|
26131
|
+
url: string;
|
|
26132
|
+
};
|
|
26133
|
+
};
|
|
26134
|
+
};
|
|
26135
|
+
path: {
|
|
26136
|
+
taskRunId: string;
|
|
26137
|
+
};
|
|
26138
|
+
query?: never;
|
|
26139
|
+
url: '/api/task-runs/{taskRunId}/managed-launch';
|
|
26140
|
+
};
|
|
26141
|
+
export type PostApiTaskRunsByTaskRunIdManagedLaunchErrors = {
|
|
26142
|
+
/**
|
|
26143
|
+
* Response for status 400
|
|
26144
|
+
*/
|
|
26145
|
+
400: {
|
|
26146
|
+
type: string;
|
|
26147
|
+
title: string;
|
|
26148
|
+
status: number;
|
|
26149
|
+
detail?: string;
|
|
26150
|
+
instance?: string;
|
|
26151
|
+
code?: string;
|
|
26152
|
+
errors?: Array<{
|
|
26153
|
+
path: string;
|
|
26154
|
+
message: string;
|
|
26155
|
+
summary?: string;
|
|
26156
|
+
}>;
|
|
26157
|
+
meta?: {
|
|
26158
|
+
[key: string]: unknown;
|
|
26159
|
+
};
|
|
26160
|
+
};
|
|
26161
|
+
/**
|
|
26162
|
+
* Response for status 401
|
|
26163
|
+
*/
|
|
26164
|
+
401: {
|
|
26165
|
+
type: string;
|
|
26166
|
+
title: string;
|
|
26167
|
+
status: number;
|
|
26168
|
+
detail?: string;
|
|
26169
|
+
instance?: string;
|
|
26170
|
+
code?: string;
|
|
26171
|
+
errors?: Array<{
|
|
26172
|
+
path: string;
|
|
26173
|
+
message: string;
|
|
26174
|
+
summary?: string;
|
|
26175
|
+
}>;
|
|
26176
|
+
meta?: {
|
|
26177
|
+
[key: string]: unknown;
|
|
26178
|
+
};
|
|
26179
|
+
};
|
|
26180
|
+
/**
|
|
26181
|
+
* Response for status 403
|
|
26182
|
+
*/
|
|
26183
|
+
403: {
|
|
26184
|
+
type: string;
|
|
26185
|
+
title: string;
|
|
26186
|
+
status: number;
|
|
26187
|
+
detail?: string;
|
|
26188
|
+
instance?: string;
|
|
26189
|
+
code?: string;
|
|
26190
|
+
errors?: Array<{
|
|
26191
|
+
path: string;
|
|
26192
|
+
message: string;
|
|
26193
|
+
summary?: string;
|
|
26194
|
+
}>;
|
|
26195
|
+
meta?: {
|
|
26196
|
+
[key: string]: unknown;
|
|
26197
|
+
};
|
|
26198
|
+
};
|
|
26199
|
+
/**
|
|
26200
|
+
* Response for status 404
|
|
26201
|
+
*/
|
|
26202
|
+
404: {
|
|
26203
|
+
type: string;
|
|
26204
|
+
title: string;
|
|
26205
|
+
status: number;
|
|
26206
|
+
detail?: string;
|
|
26207
|
+
instance?: string;
|
|
26208
|
+
code?: string;
|
|
26209
|
+
errors?: Array<{
|
|
26210
|
+
path: string;
|
|
26211
|
+
message: string;
|
|
26212
|
+
summary?: string;
|
|
26213
|
+
}>;
|
|
26214
|
+
meta?: {
|
|
26215
|
+
[key: string]: unknown;
|
|
26216
|
+
};
|
|
26217
|
+
};
|
|
26218
|
+
/**
|
|
26219
|
+
* Response for status 409
|
|
26220
|
+
*/
|
|
26221
|
+
409: {
|
|
26222
|
+
type: string;
|
|
26223
|
+
title: string;
|
|
26224
|
+
status: number;
|
|
26225
|
+
detail?: string;
|
|
26226
|
+
instance?: string;
|
|
26227
|
+
code?: string;
|
|
26228
|
+
errors?: Array<{
|
|
26229
|
+
path: string;
|
|
26230
|
+
message: string;
|
|
26231
|
+
summary?: string;
|
|
26232
|
+
}>;
|
|
26233
|
+
meta?: {
|
|
26234
|
+
[key: string]: unknown;
|
|
26235
|
+
};
|
|
26236
|
+
};
|
|
26237
|
+
/**
|
|
26238
|
+
* Response for status 422
|
|
26239
|
+
*/
|
|
26240
|
+
422: {
|
|
26241
|
+
type: string;
|
|
26242
|
+
title: string;
|
|
26243
|
+
status: number;
|
|
26244
|
+
detail?: string;
|
|
26245
|
+
instance?: string;
|
|
26246
|
+
code?: string;
|
|
26247
|
+
errors?: Array<{
|
|
26248
|
+
path: string;
|
|
26249
|
+
message: string;
|
|
26250
|
+
summary?: string;
|
|
26251
|
+
}>;
|
|
26252
|
+
meta?: {
|
|
26253
|
+
[key: string]: unknown;
|
|
26254
|
+
};
|
|
26255
|
+
};
|
|
26256
|
+
/**
|
|
26257
|
+
* Response for status 500
|
|
26258
|
+
*/
|
|
26259
|
+
500: {
|
|
26260
|
+
type: string;
|
|
26261
|
+
title: string;
|
|
26262
|
+
status: number;
|
|
26263
|
+
detail?: string;
|
|
26264
|
+
instance?: string;
|
|
26265
|
+
code?: string;
|
|
26266
|
+
errors?: Array<{
|
|
26267
|
+
path: string;
|
|
26268
|
+
message: string;
|
|
26269
|
+
summary?: string;
|
|
26270
|
+
}>;
|
|
26271
|
+
meta?: {
|
|
26272
|
+
[key: string]: unknown;
|
|
26273
|
+
};
|
|
26274
|
+
};
|
|
26275
|
+
};
|
|
26276
|
+
export type PostApiTaskRunsByTaskRunIdManagedLaunchError = PostApiTaskRunsByTaskRunIdManagedLaunchErrors[keyof PostApiTaskRunsByTaskRunIdManagedLaunchErrors];
|
|
26277
|
+
export type PostApiTaskRunsByTaskRunIdManagedLaunchResponses = {
|
|
26278
|
+
/**
|
|
26279
|
+
* Response for status 200
|
|
26280
|
+
*/
|
|
26281
|
+
200: {
|
|
26282
|
+
entries: {
|
|
26283
|
+
[key: string]: {
|
|
26284
|
+
relayUrl: string;
|
|
26285
|
+
capability: string;
|
|
26286
|
+
};
|
|
26287
|
+
};
|
|
26288
|
+
};
|
|
26289
|
+
};
|
|
26290
|
+
export type PostApiTaskRunsByTaskRunIdManagedLaunchResponse = PostApiTaskRunsByTaskRunIdManagedLaunchResponses[keyof PostApiTaskRunsByTaskRunIdManagedLaunchResponses];
|
|
26070
26291
|
export type GetApiConnectorsData = {
|
|
26071
26292
|
body?: never;
|
|
26072
26293
|
path?: never;
|
|
@@ -26168,3 +26389,1583 @@ export type GetApiConnectorsResponses = {
|
|
|
26168
26389
|
}>;
|
|
26169
26390
|
};
|
|
26170
26391
|
export type GetApiConnectorsResponse = GetApiConnectorsResponses[keyof GetApiConnectorsResponses];
|
|
26392
|
+
export type GetApiOauthMcpCallbackData = {
|
|
26393
|
+
body?: never;
|
|
26394
|
+
path?: never;
|
|
26395
|
+
query?: never;
|
|
26396
|
+
url: '/api/oauth/mcp/callback';
|
|
26397
|
+
};
|
|
26398
|
+
export type GetApiProjectsByProjectIdMcpConnectionsData = {
|
|
26399
|
+
body?: never;
|
|
26400
|
+
path: {
|
|
26401
|
+
projectId: string;
|
|
26402
|
+
};
|
|
26403
|
+
query?: never;
|
|
26404
|
+
url: '/api/projects/{projectId}/mcp-connections';
|
|
26405
|
+
};
|
|
26406
|
+
export type GetApiProjectsByProjectIdMcpConnectionsErrors = {
|
|
26407
|
+
/**
|
|
26408
|
+
* Response for status 401
|
|
26409
|
+
*/
|
|
26410
|
+
401: {
|
|
26411
|
+
type: string;
|
|
26412
|
+
title: string;
|
|
26413
|
+
status: number;
|
|
26414
|
+
detail?: string;
|
|
26415
|
+
instance?: string;
|
|
26416
|
+
code?: string;
|
|
26417
|
+
errors?: Array<{
|
|
26418
|
+
path: string;
|
|
26419
|
+
message: string;
|
|
26420
|
+
summary?: string;
|
|
26421
|
+
}>;
|
|
26422
|
+
meta?: {
|
|
26423
|
+
[key: string]: unknown;
|
|
26424
|
+
};
|
|
26425
|
+
};
|
|
26426
|
+
/**
|
|
26427
|
+
* Response for status 403
|
|
26428
|
+
*/
|
|
26429
|
+
403: {
|
|
26430
|
+
type: string;
|
|
26431
|
+
title: string;
|
|
26432
|
+
status: number;
|
|
26433
|
+
detail?: string;
|
|
26434
|
+
instance?: string;
|
|
26435
|
+
code?: string;
|
|
26436
|
+
errors?: Array<{
|
|
26437
|
+
path: string;
|
|
26438
|
+
message: string;
|
|
26439
|
+
summary?: string;
|
|
26440
|
+
}>;
|
|
26441
|
+
meta?: {
|
|
26442
|
+
[key: string]: unknown;
|
|
26443
|
+
};
|
|
26444
|
+
};
|
|
26445
|
+
/**
|
|
26446
|
+
* Response for status 404
|
|
26447
|
+
*/
|
|
26448
|
+
404: {
|
|
26449
|
+
type: string;
|
|
26450
|
+
title: string;
|
|
26451
|
+
status: number;
|
|
26452
|
+
detail?: string;
|
|
26453
|
+
instance?: string;
|
|
26454
|
+
code?: string;
|
|
26455
|
+
errors?: Array<{
|
|
26456
|
+
path: string;
|
|
26457
|
+
message: string;
|
|
26458
|
+
summary?: string;
|
|
26459
|
+
}>;
|
|
26460
|
+
meta?: {
|
|
26461
|
+
[key: string]: unknown;
|
|
26462
|
+
};
|
|
26463
|
+
};
|
|
26464
|
+
/**
|
|
26465
|
+
* Response for status 422
|
|
26466
|
+
*/
|
|
26467
|
+
422: {
|
|
26468
|
+
type: string;
|
|
26469
|
+
title: string;
|
|
26470
|
+
status: number;
|
|
26471
|
+
detail?: string;
|
|
26472
|
+
instance?: string;
|
|
26473
|
+
code?: string;
|
|
26474
|
+
errors?: Array<{
|
|
26475
|
+
path: string;
|
|
26476
|
+
message: string;
|
|
26477
|
+
summary?: string;
|
|
26478
|
+
}>;
|
|
26479
|
+
meta?: {
|
|
26480
|
+
[key: string]: unknown;
|
|
26481
|
+
};
|
|
26482
|
+
};
|
|
26483
|
+
/**
|
|
26484
|
+
* Response for status 500
|
|
26485
|
+
*/
|
|
26486
|
+
500: {
|
|
26487
|
+
type: string;
|
|
26488
|
+
title: string;
|
|
26489
|
+
status: number;
|
|
26490
|
+
detail?: string;
|
|
26491
|
+
instance?: string;
|
|
26492
|
+
code?: string;
|
|
26493
|
+
errors?: Array<{
|
|
26494
|
+
path: string;
|
|
26495
|
+
message: string;
|
|
26496
|
+
summary?: string;
|
|
26497
|
+
}>;
|
|
26498
|
+
meta?: {
|
|
26499
|
+
[key: string]: unknown;
|
|
26500
|
+
};
|
|
26501
|
+
};
|
|
26502
|
+
};
|
|
26503
|
+
export type GetApiProjectsByProjectIdMcpConnectionsError = GetApiProjectsByProjectIdMcpConnectionsErrors[keyof GetApiProjectsByProjectIdMcpConnectionsErrors];
|
|
26504
|
+
export type GetApiProjectsByProjectIdMcpConnectionsResponses = {
|
|
26505
|
+
/**
|
|
26506
|
+
* Response for status 200
|
|
26507
|
+
*/
|
|
26508
|
+
200: Array<{
|
|
26509
|
+
id: string;
|
|
26510
|
+
projectId: string;
|
|
26511
|
+
name: string;
|
|
26512
|
+
label: string;
|
|
26513
|
+
preset: string | null;
|
|
26514
|
+
resource: string;
|
|
26515
|
+
state: 'disconnected' | 'connecting' | 'awaiting_confirmation' | 'ready' | 'ready_with_pending_reconnect' | 'reconnect_required';
|
|
26516
|
+
reasonCode: 'attempt_expired' | 'candidate_expired' | 'candidate_cancelled' | 'refresh_failed' | 'grant_expired' | 'client_configuration' | null;
|
|
26517
|
+
generation: number;
|
|
26518
|
+
version: number;
|
|
26519
|
+
connectedBy: {
|
|
26520
|
+
userId: string;
|
|
26521
|
+
username: string | null;
|
|
26522
|
+
} | null;
|
|
26523
|
+
account: {
|
|
26524
|
+
userName: string | null;
|
|
26525
|
+
workspaceName: string | null;
|
|
26526
|
+
identityVerified: boolean;
|
|
26527
|
+
} | null;
|
|
26528
|
+
grantedScopes: Array<string>;
|
|
26529
|
+
reconnectBy: string | null;
|
|
26530
|
+
candidate: {
|
|
26531
|
+
id: string;
|
|
26532
|
+
account: {
|
|
26533
|
+
userName: string | null;
|
|
26534
|
+
workspaceName: string | null;
|
|
26535
|
+
identityVerified: boolean;
|
|
26536
|
+
};
|
|
26537
|
+
grantedScopes: Array<string>;
|
|
26538
|
+
fingerprint: string;
|
|
26539
|
+
expiresAt: string;
|
|
26540
|
+
sameIdentityAsActive: boolean | 'unknown';
|
|
26541
|
+
} | null;
|
|
26542
|
+
lastRevocation: {
|
|
26543
|
+
outcome: 'accepted' | 'failed' | 'unconfirmed';
|
|
26544
|
+
at: string;
|
|
26545
|
+
} | null;
|
|
26546
|
+
createdAt: string;
|
|
26547
|
+
updatedAt: string;
|
|
26548
|
+
}>;
|
|
26549
|
+
};
|
|
26550
|
+
export type GetApiProjectsByProjectIdMcpConnectionsResponse = GetApiProjectsByProjectIdMcpConnectionsResponses[keyof GetApiProjectsByProjectIdMcpConnectionsResponses];
|
|
26551
|
+
export type PostApiProjectsByProjectIdMcpConnectionsData = {
|
|
26552
|
+
body: {
|
|
26553
|
+
preset: string;
|
|
26554
|
+
name?: string;
|
|
26555
|
+
};
|
|
26556
|
+
path: {
|
|
26557
|
+
projectId: string;
|
|
26558
|
+
};
|
|
26559
|
+
query?: never;
|
|
26560
|
+
url: '/api/projects/{projectId}/mcp-connections';
|
|
26561
|
+
};
|
|
26562
|
+
export type PostApiProjectsByProjectIdMcpConnectionsErrors = {
|
|
26563
|
+
/**
|
|
26564
|
+
* Response for status 401
|
|
26565
|
+
*/
|
|
26566
|
+
401: {
|
|
26567
|
+
type: string;
|
|
26568
|
+
title: string;
|
|
26569
|
+
status: number;
|
|
26570
|
+
detail?: string;
|
|
26571
|
+
instance?: string;
|
|
26572
|
+
code?: string;
|
|
26573
|
+
errors?: Array<{
|
|
26574
|
+
path: string;
|
|
26575
|
+
message: string;
|
|
26576
|
+
summary?: string;
|
|
26577
|
+
}>;
|
|
26578
|
+
meta?: {
|
|
26579
|
+
[key: string]: unknown;
|
|
26580
|
+
};
|
|
26581
|
+
};
|
|
26582
|
+
/**
|
|
26583
|
+
* Response for status 403
|
|
26584
|
+
*/
|
|
26585
|
+
403: {
|
|
26586
|
+
type: string;
|
|
26587
|
+
title: string;
|
|
26588
|
+
status: number;
|
|
26589
|
+
detail?: string;
|
|
26590
|
+
instance?: string;
|
|
26591
|
+
code?: string;
|
|
26592
|
+
errors?: Array<{
|
|
26593
|
+
path: string;
|
|
26594
|
+
message: string;
|
|
26595
|
+
summary?: string;
|
|
26596
|
+
}>;
|
|
26597
|
+
meta?: {
|
|
26598
|
+
[key: string]: unknown;
|
|
26599
|
+
};
|
|
26600
|
+
};
|
|
26601
|
+
/**
|
|
26602
|
+
* Response for status 404
|
|
26603
|
+
*/
|
|
26604
|
+
404: {
|
|
26605
|
+
type: string;
|
|
26606
|
+
title: string;
|
|
26607
|
+
status: number;
|
|
26608
|
+
detail?: string;
|
|
26609
|
+
instance?: string;
|
|
26610
|
+
code?: string;
|
|
26611
|
+
errors?: Array<{
|
|
26612
|
+
path: string;
|
|
26613
|
+
message: string;
|
|
26614
|
+
summary?: string;
|
|
26615
|
+
}>;
|
|
26616
|
+
meta?: {
|
|
26617
|
+
[key: string]: unknown;
|
|
26618
|
+
};
|
|
26619
|
+
};
|
|
26620
|
+
/**
|
|
26621
|
+
* Response for status 409
|
|
26622
|
+
*/
|
|
26623
|
+
409: {
|
|
26624
|
+
type: string;
|
|
26625
|
+
title: string;
|
|
26626
|
+
status: number;
|
|
26627
|
+
detail?: string;
|
|
26628
|
+
instance?: string;
|
|
26629
|
+
code?: string;
|
|
26630
|
+
errors?: Array<{
|
|
26631
|
+
path: string;
|
|
26632
|
+
message: string;
|
|
26633
|
+
summary?: string;
|
|
26634
|
+
}>;
|
|
26635
|
+
meta?: {
|
|
26636
|
+
[key: string]: unknown;
|
|
26637
|
+
};
|
|
26638
|
+
};
|
|
26639
|
+
/**
|
|
26640
|
+
* Response for status 422
|
|
26641
|
+
*/
|
|
26642
|
+
422: {
|
|
26643
|
+
type: string;
|
|
26644
|
+
title: string;
|
|
26645
|
+
status: number;
|
|
26646
|
+
detail?: string;
|
|
26647
|
+
instance?: string;
|
|
26648
|
+
code?: string;
|
|
26649
|
+
errors?: Array<{
|
|
26650
|
+
path: string;
|
|
26651
|
+
message: string;
|
|
26652
|
+
summary?: string;
|
|
26653
|
+
}>;
|
|
26654
|
+
meta?: {
|
|
26655
|
+
[key: string]: unknown;
|
|
26656
|
+
};
|
|
26657
|
+
};
|
|
26658
|
+
/**
|
|
26659
|
+
* Response for status 500
|
|
26660
|
+
*/
|
|
26661
|
+
500: {
|
|
26662
|
+
type: string;
|
|
26663
|
+
title: string;
|
|
26664
|
+
status: number;
|
|
26665
|
+
detail?: string;
|
|
26666
|
+
instance?: string;
|
|
26667
|
+
code?: string;
|
|
26668
|
+
errors?: Array<{
|
|
26669
|
+
path: string;
|
|
26670
|
+
message: string;
|
|
26671
|
+
summary?: string;
|
|
26672
|
+
}>;
|
|
26673
|
+
meta?: {
|
|
26674
|
+
[key: string]: unknown;
|
|
26675
|
+
};
|
|
26676
|
+
};
|
|
26677
|
+
/**
|
|
26678
|
+
* Response for status 502
|
|
26679
|
+
*/
|
|
26680
|
+
502: {
|
|
26681
|
+
type: string;
|
|
26682
|
+
title: string;
|
|
26683
|
+
status: number;
|
|
26684
|
+
detail?: string;
|
|
26685
|
+
instance?: string;
|
|
26686
|
+
code?: string;
|
|
26687
|
+
errors?: Array<{
|
|
26688
|
+
path: string;
|
|
26689
|
+
message: string;
|
|
26690
|
+
summary?: string;
|
|
26691
|
+
}>;
|
|
26692
|
+
meta?: {
|
|
26693
|
+
[key: string]: unknown;
|
|
26694
|
+
};
|
|
26695
|
+
};
|
|
26696
|
+
};
|
|
26697
|
+
export type PostApiProjectsByProjectIdMcpConnectionsError = PostApiProjectsByProjectIdMcpConnectionsErrors[keyof PostApiProjectsByProjectIdMcpConnectionsErrors];
|
|
26698
|
+
export type PostApiProjectsByProjectIdMcpConnectionsResponses = {
|
|
26699
|
+
/**
|
|
26700
|
+
* Response for status 201
|
|
26701
|
+
*/
|
|
26702
|
+
201: {
|
|
26703
|
+
connectionId: string;
|
|
26704
|
+
authorizationUrl: string;
|
|
26705
|
+
};
|
|
26706
|
+
};
|
|
26707
|
+
export type PostApiProjectsByProjectIdMcpConnectionsResponse = PostApiProjectsByProjectIdMcpConnectionsResponses[keyof PostApiProjectsByProjectIdMcpConnectionsResponses];
|
|
26708
|
+
export type GetApiProjectsByProjectIdMcpConnectionPresetsData = {
|
|
26709
|
+
body?: never;
|
|
26710
|
+
path: {
|
|
26711
|
+
projectId: string;
|
|
26712
|
+
};
|
|
26713
|
+
query?: never;
|
|
26714
|
+
url: '/api/projects/{projectId}/mcp-connection-presets';
|
|
26715
|
+
};
|
|
26716
|
+
export type GetApiProjectsByProjectIdMcpConnectionPresetsErrors = {
|
|
26717
|
+
/**
|
|
26718
|
+
* Response for status 401
|
|
26719
|
+
*/
|
|
26720
|
+
401: {
|
|
26721
|
+
type: string;
|
|
26722
|
+
title: string;
|
|
26723
|
+
status: number;
|
|
26724
|
+
detail?: string;
|
|
26725
|
+
instance?: string;
|
|
26726
|
+
code?: string;
|
|
26727
|
+
errors?: Array<{
|
|
26728
|
+
path: string;
|
|
26729
|
+
message: string;
|
|
26730
|
+
summary?: string;
|
|
26731
|
+
}>;
|
|
26732
|
+
meta?: {
|
|
26733
|
+
[key: string]: unknown;
|
|
26734
|
+
};
|
|
26735
|
+
};
|
|
26736
|
+
/**
|
|
26737
|
+
* Response for status 403
|
|
26738
|
+
*/
|
|
26739
|
+
403: {
|
|
26740
|
+
type: string;
|
|
26741
|
+
title: string;
|
|
26742
|
+
status: number;
|
|
26743
|
+
detail?: string;
|
|
26744
|
+
instance?: string;
|
|
26745
|
+
code?: string;
|
|
26746
|
+
errors?: Array<{
|
|
26747
|
+
path: string;
|
|
26748
|
+
message: string;
|
|
26749
|
+
summary?: string;
|
|
26750
|
+
}>;
|
|
26751
|
+
meta?: {
|
|
26752
|
+
[key: string]: unknown;
|
|
26753
|
+
};
|
|
26754
|
+
};
|
|
26755
|
+
/**
|
|
26756
|
+
* Response for status 404
|
|
26757
|
+
*/
|
|
26758
|
+
404: {
|
|
26759
|
+
type: string;
|
|
26760
|
+
title: string;
|
|
26761
|
+
status: number;
|
|
26762
|
+
detail?: string;
|
|
26763
|
+
instance?: string;
|
|
26764
|
+
code?: string;
|
|
26765
|
+
errors?: Array<{
|
|
26766
|
+
path: string;
|
|
26767
|
+
message: string;
|
|
26768
|
+
summary?: string;
|
|
26769
|
+
}>;
|
|
26770
|
+
meta?: {
|
|
26771
|
+
[key: string]: unknown;
|
|
26772
|
+
};
|
|
26773
|
+
};
|
|
26774
|
+
/**
|
|
26775
|
+
* Response for status 422
|
|
26776
|
+
*/
|
|
26777
|
+
422: {
|
|
26778
|
+
type: string;
|
|
26779
|
+
title: string;
|
|
26780
|
+
status: number;
|
|
26781
|
+
detail?: string;
|
|
26782
|
+
instance?: string;
|
|
26783
|
+
code?: string;
|
|
26784
|
+
errors?: Array<{
|
|
26785
|
+
path: string;
|
|
26786
|
+
message: string;
|
|
26787
|
+
summary?: string;
|
|
26788
|
+
}>;
|
|
26789
|
+
meta?: {
|
|
26790
|
+
[key: string]: unknown;
|
|
26791
|
+
};
|
|
26792
|
+
};
|
|
26793
|
+
/**
|
|
26794
|
+
* Response for status 500
|
|
26795
|
+
*/
|
|
26796
|
+
500: {
|
|
26797
|
+
type: string;
|
|
26798
|
+
title: string;
|
|
26799
|
+
status: number;
|
|
26800
|
+
detail?: string;
|
|
26801
|
+
instance?: string;
|
|
26802
|
+
code?: string;
|
|
26803
|
+
errors?: Array<{
|
|
26804
|
+
path: string;
|
|
26805
|
+
message: string;
|
|
26806
|
+
summary?: string;
|
|
26807
|
+
}>;
|
|
26808
|
+
meta?: {
|
|
26809
|
+
[key: string]: unknown;
|
|
26810
|
+
};
|
|
26811
|
+
};
|
|
26812
|
+
};
|
|
26813
|
+
export type GetApiProjectsByProjectIdMcpConnectionPresetsError = GetApiProjectsByProjectIdMcpConnectionPresetsErrors[keyof GetApiProjectsByProjectIdMcpConnectionPresetsErrors];
|
|
26814
|
+
export type GetApiProjectsByProjectIdMcpConnectionPresetsResponses = {
|
|
26815
|
+
/**
|
|
26816
|
+
* Response for status 200
|
|
26817
|
+
*/
|
|
26818
|
+
200: Array<{
|
|
26819
|
+
key: string;
|
|
26820
|
+
label: string;
|
|
26821
|
+
resource: string;
|
|
26822
|
+
removalUrl: string | null;
|
|
26823
|
+
}>;
|
|
26824
|
+
};
|
|
26825
|
+
export type GetApiProjectsByProjectIdMcpConnectionPresetsResponse = GetApiProjectsByProjectIdMcpConnectionPresetsResponses[keyof GetApiProjectsByProjectIdMcpConnectionPresetsResponses];
|
|
26826
|
+
export type DeleteApiProjectsByProjectIdMcpConnectionsByConnectionIdData = {
|
|
26827
|
+
body?: never;
|
|
26828
|
+
path: {
|
|
26829
|
+
projectId: string;
|
|
26830
|
+
connectionId: string;
|
|
26831
|
+
};
|
|
26832
|
+
query?: never;
|
|
26833
|
+
url: '/api/projects/{projectId}/mcp-connections/{connectionId}';
|
|
26834
|
+
};
|
|
26835
|
+
export type DeleteApiProjectsByProjectIdMcpConnectionsByConnectionIdErrors = {
|
|
26836
|
+
/**
|
|
26837
|
+
* Response for status 401
|
|
26838
|
+
*/
|
|
26839
|
+
401: {
|
|
26840
|
+
type: string;
|
|
26841
|
+
title: string;
|
|
26842
|
+
status: number;
|
|
26843
|
+
detail?: string;
|
|
26844
|
+
instance?: string;
|
|
26845
|
+
code?: string;
|
|
26846
|
+
errors?: Array<{
|
|
26847
|
+
path: string;
|
|
26848
|
+
message: string;
|
|
26849
|
+
summary?: string;
|
|
26850
|
+
}>;
|
|
26851
|
+
meta?: {
|
|
26852
|
+
[key: string]: unknown;
|
|
26853
|
+
};
|
|
26854
|
+
};
|
|
26855
|
+
/**
|
|
26856
|
+
* Response for status 403
|
|
26857
|
+
*/
|
|
26858
|
+
403: {
|
|
26859
|
+
type: string;
|
|
26860
|
+
title: string;
|
|
26861
|
+
status: number;
|
|
26862
|
+
detail?: string;
|
|
26863
|
+
instance?: string;
|
|
26864
|
+
code?: string;
|
|
26865
|
+
errors?: Array<{
|
|
26866
|
+
path: string;
|
|
26867
|
+
message: string;
|
|
26868
|
+
summary?: string;
|
|
26869
|
+
}>;
|
|
26870
|
+
meta?: {
|
|
26871
|
+
[key: string]: unknown;
|
|
26872
|
+
};
|
|
26873
|
+
};
|
|
26874
|
+
/**
|
|
26875
|
+
* Response for status 404
|
|
26876
|
+
*/
|
|
26877
|
+
404: {
|
|
26878
|
+
type: string;
|
|
26879
|
+
title: string;
|
|
26880
|
+
status: number;
|
|
26881
|
+
detail?: string;
|
|
26882
|
+
instance?: string;
|
|
26883
|
+
code?: string;
|
|
26884
|
+
errors?: Array<{
|
|
26885
|
+
path: string;
|
|
26886
|
+
message: string;
|
|
26887
|
+
summary?: string;
|
|
26888
|
+
}>;
|
|
26889
|
+
meta?: {
|
|
26890
|
+
[key: string]: unknown;
|
|
26891
|
+
};
|
|
26892
|
+
};
|
|
26893
|
+
/**
|
|
26894
|
+
* Response for status 409
|
|
26895
|
+
*/
|
|
26896
|
+
409: {
|
|
26897
|
+
type: string;
|
|
26898
|
+
title: string;
|
|
26899
|
+
status: number;
|
|
26900
|
+
detail?: string;
|
|
26901
|
+
instance?: string;
|
|
26902
|
+
code?: string;
|
|
26903
|
+
errors?: Array<{
|
|
26904
|
+
path: string;
|
|
26905
|
+
message: string;
|
|
26906
|
+
summary?: string;
|
|
26907
|
+
}>;
|
|
26908
|
+
meta?: {
|
|
26909
|
+
[key: string]: unknown;
|
|
26910
|
+
};
|
|
26911
|
+
};
|
|
26912
|
+
/**
|
|
26913
|
+
* Response for status 422
|
|
26914
|
+
*/
|
|
26915
|
+
422: {
|
|
26916
|
+
type: string;
|
|
26917
|
+
title: string;
|
|
26918
|
+
status: number;
|
|
26919
|
+
detail?: string;
|
|
26920
|
+
instance?: string;
|
|
26921
|
+
code?: string;
|
|
26922
|
+
errors?: Array<{
|
|
26923
|
+
path: string;
|
|
26924
|
+
message: string;
|
|
26925
|
+
summary?: string;
|
|
26926
|
+
}>;
|
|
26927
|
+
meta?: {
|
|
26928
|
+
[key: string]: unknown;
|
|
26929
|
+
};
|
|
26930
|
+
};
|
|
26931
|
+
/**
|
|
26932
|
+
* Response for status 500
|
|
26933
|
+
*/
|
|
26934
|
+
500: {
|
|
26935
|
+
type: string;
|
|
26936
|
+
title: string;
|
|
26937
|
+
status: number;
|
|
26938
|
+
detail?: string;
|
|
26939
|
+
instance?: string;
|
|
26940
|
+
code?: string;
|
|
26941
|
+
errors?: Array<{
|
|
26942
|
+
path: string;
|
|
26943
|
+
message: string;
|
|
26944
|
+
summary?: string;
|
|
26945
|
+
}>;
|
|
26946
|
+
meta?: {
|
|
26947
|
+
[key: string]: unknown;
|
|
26948
|
+
};
|
|
26949
|
+
};
|
|
26950
|
+
};
|
|
26951
|
+
export type DeleteApiProjectsByProjectIdMcpConnectionsByConnectionIdError = DeleteApiProjectsByProjectIdMcpConnectionsByConnectionIdErrors[keyof DeleteApiProjectsByProjectIdMcpConnectionsByConnectionIdErrors];
|
|
26952
|
+
export type DeleteApiProjectsByProjectIdMcpConnectionsByConnectionIdResponses = {
|
|
26953
|
+
/**
|
|
26954
|
+
* Response for status 200
|
|
26955
|
+
*/
|
|
26956
|
+
200: {
|
|
26957
|
+
connection: {
|
|
26958
|
+
id: string;
|
|
26959
|
+
projectId: string;
|
|
26960
|
+
name: string;
|
|
26961
|
+
label: string;
|
|
26962
|
+
preset: string | null;
|
|
26963
|
+
resource: string;
|
|
26964
|
+
state: 'disconnected' | 'connecting' | 'awaiting_confirmation' | 'ready' | 'ready_with_pending_reconnect' | 'reconnect_required';
|
|
26965
|
+
reasonCode: 'attempt_expired' | 'candidate_expired' | 'candidate_cancelled' | 'refresh_failed' | 'grant_expired' | 'client_configuration' | null;
|
|
26966
|
+
generation: number;
|
|
26967
|
+
version: number;
|
|
26968
|
+
connectedBy: {
|
|
26969
|
+
userId: string;
|
|
26970
|
+
username: string | null;
|
|
26971
|
+
} | null;
|
|
26972
|
+
account: {
|
|
26973
|
+
userName: string | null;
|
|
26974
|
+
workspaceName: string | null;
|
|
26975
|
+
identityVerified: boolean;
|
|
26976
|
+
} | null;
|
|
26977
|
+
grantedScopes: Array<string>;
|
|
26978
|
+
reconnectBy: string | null;
|
|
26979
|
+
candidate: {
|
|
26980
|
+
id: string;
|
|
26981
|
+
account: {
|
|
26982
|
+
userName: string | null;
|
|
26983
|
+
workspaceName: string | null;
|
|
26984
|
+
identityVerified: boolean;
|
|
26985
|
+
};
|
|
26986
|
+
grantedScopes: Array<string>;
|
|
26987
|
+
fingerprint: string;
|
|
26988
|
+
expiresAt: string;
|
|
26989
|
+
sameIdentityAsActive: boolean | 'unknown';
|
|
26990
|
+
} | null;
|
|
26991
|
+
lastRevocation: {
|
|
26992
|
+
outcome: 'accepted' | 'failed' | 'unconfirmed';
|
|
26993
|
+
at: string;
|
|
26994
|
+
} | null;
|
|
26995
|
+
createdAt: string;
|
|
26996
|
+
updatedAt: string;
|
|
26997
|
+
};
|
|
26998
|
+
revocation: 'accepted' | 'failed' | 'unconfirmed' | null;
|
|
26999
|
+
providerRemovalUrl: string | null;
|
|
27000
|
+
};
|
|
27001
|
+
};
|
|
27002
|
+
export type DeleteApiProjectsByProjectIdMcpConnectionsByConnectionIdResponse = DeleteApiProjectsByProjectIdMcpConnectionsByConnectionIdResponses[keyof DeleteApiProjectsByProjectIdMcpConnectionsByConnectionIdResponses];
|
|
27003
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdData = {
|
|
27004
|
+
body?: never;
|
|
27005
|
+
path: {
|
|
27006
|
+
projectId: string;
|
|
27007
|
+
connectionId: string;
|
|
27008
|
+
};
|
|
27009
|
+
query?: never;
|
|
27010
|
+
url: '/api/projects/{projectId}/mcp-connections/{connectionId}';
|
|
27011
|
+
};
|
|
27012
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdErrors = {
|
|
27013
|
+
/**
|
|
27014
|
+
* Response for status 401
|
|
27015
|
+
*/
|
|
27016
|
+
401: {
|
|
27017
|
+
type: string;
|
|
27018
|
+
title: string;
|
|
27019
|
+
status: number;
|
|
27020
|
+
detail?: string;
|
|
27021
|
+
instance?: string;
|
|
27022
|
+
code?: string;
|
|
27023
|
+
errors?: Array<{
|
|
27024
|
+
path: string;
|
|
27025
|
+
message: string;
|
|
27026
|
+
summary?: string;
|
|
27027
|
+
}>;
|
|
27028
|
+
meta?: {
|
|
27029
|
+
[key: string]: unknown;
|
|
27030
|
+
};
|
|
27031
|
+
};
|
|
27032
|
+
/**
|
|
27033
|
+
* Response for status 403
|
|
27034
|
+
*/
|
|
27035
|
+
403: {
|
|
27036
|
+
type: string;
|
|
27037
|
+
title: string;
|
|
27038
|
+
status: number;
|
|
27039
|
+
detail?: string;
|
|
27040
|
+
instance?: string;
|
|
27041
|
+
code?: string;
|
|
27042
|
+
errors?: Array<{
|
|
27043
|
+
path: string;
|
|
27044
|
+
message: string;
|
|
27045
|
+
summary?: string;
|
|
27046
|
+
}>;
|
|
27047
|
+
meta?: {
|
|
27048
|
+
[key: string]: unknown;
|
|
27049
|
+
};
|
|
27050
|
+
};
|
|
27051
|
+
/**
|
|
27052
|
+
* Response for status 404
|
|
27053
|
+
*/
|
|
27054
|
+
404: {
|
|
27055
|
+
type: string;
|
|
27056
|
+
title: string;
|
|
27057
|
+
status: number;
|
|
27058
|
+
detail?: string;
|
|
27059
|
+
instance?: string;
|
|
27060
|
+
code?: string;
|
|
27061
|
+
errors?: Array<{
|
|
27062
|
+
path: string;
|
|
27063
|
+
message: string;
|
|
27064
|
+
summary?: string;
|
|
27065
|
+
}>;
|
|
27066
|
+
meta?: {
|
|
27067
|
+
[key: string]: unknown;
|
|
27068
|
+
};
|
|
27069
|
+
};
|
|
27070
|
+
/**
|
|
27071
|
+
* Response for status 422
|
|
27072
|
+
*/
|
|
27073
|
+
422: {
|
|
27074
|
+
type: string;
|
|
27075
|
+
title: string;
|
|
27076
|
+
status: number;
|
|
27077
|
+
detail?: string;
|
|
27078
|
+
instance?: string;
|
|
27079
|
+
code?: string;
|
|
27080
|
+
errors?: Array<{
|
|
27081
|
+
path: string;
|
|
27082
|
+
message: string;
|
|
27083
|
+
summary?: string;
|
|
27084
|
+
}>;
|
|
27085
|
+
meta?: {
|
|
27086
|
+
[key: string]: unknown;
|
|
27087
|
+
};
|
|
27088
|
+
};
|
|
27089
|
+
/**
|
|
27090
|
+
* Response for status 500
|
|
27091
|
+
*/
|
|
27092
|
+
500: {
|
|
27093
|
+
type: string;
|
|
27094
|
+
title: string;
|
|
27095
|
+
status: number;
|
|
27096
|
+
detail?: string;
|
|
27097
|
+
instance?: string;
|
|
27098
|
+
code?: string;
|
|
27099
|
+
errors?: Array<{
|
|
27100
|
+
path: string;
|
|
27101
|
+
message: string;
|
|
27102
|
+
summary?: string;
|
|
27103
|
+
}>;
|
|
27104
|
+
meta?: {
|
|
27105
|
+
[key: string]: unknown;
|
|
27106
|
+
};
|
|
27107
|
+
};
|
|
27108
|
+
};
|
|
27109
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdError = GetApiProjectsByProjectIdMcpConnectionsByConnectionIdErrors[keyof GetApiProjectsByProjectIdMcpConnectionsByConnectionIdErrors];
|
|
27110
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdResponses = {
|
|
27111
|
+
/**
|
|
27112
|
+
* Response for status 200
|
|
27113
|
+
*/
|
|
27114
|
+
200: {
|
|
27115
|
+
id: string;
|
|
27116
|
+
projectId: string;
|
|
27117
|
+
name: string;
|
|
27118
|
+
label: string;
|
|
27119
|
+
preset: string | null;
|
|
27120
|
+
resource: string;
|
|
27121
|
+
state: 'disconnected' | 'connecting' | 'awaiting_confirmation' | 'ready' | 'ready_with_pending_reconnect' | 'reconnect_required';
|
|
27122
|
+
reasonCode: 'attempt_expired' | 'candidate_expired' | 'candidate_cancelled' | 'refresh_failed' | 'grant_expired' | 'client_configuration' | null;
|
|
27123
|
+
generation: number;
|
|
27124
|
+
version: number;
|
|
27125
|
+
connectedBy: {
|
|
27126
|
+
userId: string;
|
|
27127
|
+
username: string | null;
|
|
27128
|
+
} | null;
|
|
27129
|
+
account: {
|
|
27130
|
+
userName: string | null;
|
|
27131
|
+
workspaceName: string | null;
|
|
27132
|
+
identityVerified: boolean;
|
|
27133
|
+
} | null;
|
|
27134
|
+
grantedScopes: Array<string>;
|
|
27135
|
+
reconnectBy: string | null;
|
|
27136
|
+
candidate: {
|
|
27137
|
+
id: string;
|
|
27138
|
+
account: {
|
|
27139
|
+
userName: string | null;
|
|
27140
|
+
workspaceName: string | null;
|
|
27141
|
+
identityVerified: boolean;
|
|
27142
|
+
};
|
|
27143
|
+
grantedScopes: Array<string>;
|
|
27144
|
+
fingerprint: string;
|
|
27145
|
+
expiresAt: string;
|
|
27146
|
+
sameIdentityAsActive: boolean | 'unknown';
|
|
27147
|
+
} | null;
|
|
27148
|
+
lastRevocation: {
|
|
27149
|
+
outcome: 'accepted' | 'failed' | 'unconfirmed';
|
|
27150
|
+
at: string;
|
|
27151
|
+
} | null;
|
|
27152
|
+
createdAt: string;
|
|
27153
|
+
updatedAt: string;
|
|
27154
|
+
};
|
|
27155
|
+
};
|
|
27156
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdResponse = GetApiProjectsByProjectIdMcpConnectionsByConnectionIdResponses[keyof GetApiProjectsByProjectIdMcpConnectionsByConnectionIdResponses];
|
|
27157
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdUsageData = {
|
|
27158
|
+
body?: never;
|
|
27159
|
+
path: {
|
|
27160
|
+
projectId: string;
|
|
27161
|
+
connectionId: string;
|
|
27162
|
+
};
|
|
27163
|
+
query?: never;
|
|
27164
|
+
url: '/api/projects/{projectId}/mcp-connections/{connectionId}/usage';
|
|
27165
|
+
};
|
|
27166
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdUsageErrors = {
|
|
27167
|
+
/**
|
|
27168
|
+
* Response for status 401
|
|
27169
|
+
*/
|
|
27170
|
+
401: {
|
|
27171
|
+
type: string;
|
|
27172
|
+
title: string;
|
|
27173
|
+
status: number;
|
|
27174
|
+
detail?: string;
|
|
27175
|
+
instance?: string;
|
|
27176
|
+
code?: string;
|
|
27177
|
+
errors?: Array<{
|
|
27178
|
+
path: string;
|
|
27179
|
+
message: string;
|
|
27180
|
+
summary?: string;
|
|
27181
|
+
}>;
|
|
27182
|
+
meta?: {
|
|
27183
|
+
[key: string]: unknown;
|
|
27184
|
+
};
|
|
27185
|
+
};
|
|
27186
|
+
/**
|
|
27187
|
+
* Response for status 403
|
|
27188
|
+
*/
|
|
27189
|
+
403: {
|
|
27190
|
+
type: string;
|
|
27191
|
+
title: string;
|
|
27192
|
+
status: number;
|
|
27193
|
+
detail?: string;
|
|
27194
|
+
instance?: string;
|
|
27195
|
+
code?: string;
|
|
27196
|
+
errors?: Array<{
|
|
27197
|
+
path: string;
|
|
27198
|
+
message: string;
|
|
27199
|
+
summary?: string;
|
|
27200
|
+
}>;
|
|
27201
|
+
meta?: {
|
|
27202
|
+
[key: string]: unknown;
|
|
27203
|
+
};
|
|
27204
|
+
};
|
|
27205
|
+
/**
|
|
27206
|
+
* Response for status 404
|
|
27207
|
+
*/
|
|
27208
|
+
404: {
|
|
27209
|
+
type: string;
|
|
27210
|
+
title: string;
|
|
27211
|
+
status: number;
|
|
27212
|
+
detail?: string;
|
|
27213
|
+
instance?: string;
|
|
27214
|
+
code?: string;
|
|
27215
|
+
errors?: Array<{
|
|
27216
|
+
path: string;
|
|
27217
|
+
message: string;
|
|
27218
|
+
summary?: string;
|
|
27219
|
+
}>;
|
|
27220
|
+
meta?: {
|
|
27221
|
+
[key: string]: unknown;
|
|
27222
|
+
};
|
|
27223
|
+
};
|
|
27224
|
+
/**
|
|
27225
|
+
* Response for status 422
|
|
27226
|
+
*/
|
|
27227
|
+
422: {
|
|
27228
|
+
type: string;
|
|
27229
|
+
title: string;
|
|
27230
|
+
status: number;
|
|
27231
|
+
detail?: string;
|
|
27232
|
+
instance?: string;
|
|
27233
|
+
code?: string;
|
|
27234
|
+
errors?: Array<{
|
|
27235
|
+
path: string;
|
|
27236
|
+
message: string;
|
|
27237
|
+
summary?: string;
|
|
27238
|
+
}>;
|
|
27239
|
+
meta?: {
|
|
27240
|
+
[key: string]: unknown;
|
|
27241
|
+
};
|
|
27242
|
+
};
|
|
27243
|
+
/**
|
|
27244
|
+
* Response for status 500
|
|
27245
|
+
*/
|
|
27246
|
+
500: {
|
|
27247
|
+
type: string;
|
|
27248
|
+
title: string;
|
|
27249
|
+
status: number;
|
|
27250
|
+
detail?: string;
|
|
27251
|
+
instance?: string;
|
|
27252
|
+
code?: string;
|
|
27253
|
+
errors?: Array<{
|
|
27254
|
+
path: string;
|
|
27255
|
+
message: string;
|
|
27256
|
+
summary?: string;
|
|
27257
|
+
}>;
|
|
27258
|
+
meta?: {
|
|
27259
|
+
[key: string]: unknown;
|
|
27260
|
+
};
|
|
27261
|
+
};
|
|
27262
|
+
};
|
|
27263
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdUsageError = GetApiProjectsByProjectIdMcpConnectionsByConnectionIdUsageErrors[keyof GetApiProjectsByProjectIdMcpConnectionsByConnectionIdUsageErrors];
|
|
27264
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdUsageResponses = {
|
|
27265
|
+
/**
|
|
27266
|
+
* Response for status 200
|
|
27267
|
+
*/
|
|
27268
|
+
200: {
|
|
27269
|
+
steps: Array<{
|
|
27270
|
+
id: string;
|
|
27271
|
+
key: string;
|
|
27272
|
+
name: string;
|
|
27273
|
+
pipelines: Array<{
|
|
27274
|
+
id: string;
|
|
27275
|
+
key: string;
|
|
27276
|
+
name: string;
|
|
27277
|
+
}>;
|
|
27278
|
+
}>;
|
|
27279
|
+
liveRuns: number;
|
|
27280
|
+
};
|
|
27281
|
+
};
|
|
27282
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdUsageResponse = GetApiProjectsByProjectIdMcpConnectionsByConnectionIdUsageResponses[keyof GetApiProjectsByProjectIdMcpConnectionsByConnectionIdUsageResponses];
|
|
27283
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdToolsData = {
|
|
27284
|
+
body?: never;
|
|
27285
|
+
path: {
|
|
27286
|
+
projectId: string;
|
|
27287
|
+
connectionId: string;
|
|
27288
|
+
};
|
|
27289
|
+
query?: never;
|
|
27290
|
+
url: '/api/projects/{projectId}/mcp-connections/{connectionId}/tools';
|
|
27291
|
+
};
|
|
27292
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdToolsErrors = {
|
|
27293
|
+
/**
|
|
27294
|
+
* Response for status 401
|
|
27295
|
+
*/
|
|
27296
|
+
401: {
|
|
27297
|
+
type: string;
|
|
27298
|
+
title: string;
|
|
27299
|
+
status: number;
|
|
27300
|
+
detail?: string;
|
|
27301
|
+
instance?: string;
|
|
27302
|
+
code?: string;
|
|
27303
|
+
errors?: Array<{
|
|
27304
|
+
path: string;
|
|
27305
|
+
message: string;
|
|
27306
|
+
summary?: string;
|
|
27307
|
+
}>;
|
|
27308
|
+
meta?: {
|
|
27309
|
+
[key: string]: unknown;
|
|
27310
|
+
};
|
|
27311
|
+
};
|
|
27312
|
+
/**
|
|
27313
|
+
* Response for status 403
|
|
27314
|
+
*/
|
|
27315
|
+
403: {
|
|
27316
|
+
type: string;
|
|
27317
|
+
title: string;
|
|
27318
|
+
status: number;
|
|
27319
|
+
detail?: string;
|
|
27320
|
+
instance?: string;
|
|
27321
|
+
code?: string;
|
|
27322
|
+
errors?: Array<{
|
|
27323
|
+
path: string;
|
|
27324
|
+
message: string;
|
|
27325
|
+
summary?: string;
|
|
27326
|
+
}>;
|
|
27327
|
+
meta?: {
|
|
27328
|
+
[key: string]: unknown;
|
|
27329
|
+
};
|
|
27330
|
+
};
|
|
27331
|
+
/**
|
|
27332
|
+
* Response for status 404
|
|
27333
|
+
*/
|
|
27334
|
+
404: {
|
|
27335
|
+
type: string;
|
|
27336
|
+
title: string;
|
|
27337
|
+
status: number;
|
|
27338
|
+
detail?: string;
|
|
27339
|
+
instance?: string;
|
|
27340
|
+
code?: string;
|
|
27341
|
+
errors?: Array<{
|
|
27342
|
+
path: string;
|
|
27343
|
+
message: string;
|
|
27344
|
+
summary?: string;
|
|
27345
|
+
}>;
|
|
27346
|
+
meta?: {
|
|
27347
|
+
[key: string]: unknown;
|
|
27348
|
+
};
|
|
27349
|
+
};
|
|
27350
|
+
/**
|
|
27351
|
+
* Response for status 409
|
|
27352
|
+
*/
|
|
27353
|
+
409: {
|
|
27354
|
+
type: string;
|
|
27355
|
+
title: string;
|
|
27356
|
+
status: number;
|
|
27357
|
+
detail?: string;
|
|
27358
|
+
instance?: string;
|
|
27359
|
+
code?: string;
|
|
27360
|
+
errors?: Array<{
|
|
27361
|
+
path: string;
|
|
27362
|
+
message: string;
|
|
27363
|
+
summary?: string;
|
|
27364
|
+
}>;
|
|
27365
|
+
meta?: {
|
|
27366
|
+
[key: string]: unknown;
|
|
27367
|
+
};
|
|
27368
|
+
};
|
|
27369
|
+
/**
|
|
27370
|
+
* Response for status 422
|
|
27371
|
+
*/
|
|
27372
|
+
422: {
|
|
27373
|
+
type: string;
|
|
27374
|
+
title: string;
|
|
27375
|
+
status: number;
|
|
27376
|
+
detail?: string;
|
|
27377
|
+
instance?: string;
|
|
27378
|
+
code?: string;
|
|
27379
|
+
errors?: Array<{
|
|
27380
|
+
path: string;
|
|
27381
|
+
message: string;
|
|
27382
|
+
summary?: string;
|
|
27383
|
+
}>;
|
|
27384
|
+
meta?: {
|
|
27385
|
+
[key: string]: unknown;
|
|
27386
|
+
};
|
|
27387
|
+
};
|
|
27388
|
+
/**
|
|
27389
|
+
* Response for status 500
|
|
27390
|
+
*/
|
|
27391
|
+
500: {
|
|
27392
|
+
type: string;
|
|
27393
|
+
title: string;
|
|
27394
|
+
status: number;
|
|
27395
|
+
detail?: string;
|
|
27396
|
+
instance?: string;
|
|
27397
|
+
code?: string;
|
|
27398
|
+
errors?: Array<{
|
|
27399
|
+
path: string;
|
|
27400
|
+
message: string;
|
|
27401
|
+
summary?: string;
|
|
27402
|
+
}>;
|
|
27403
|
+
meta?: {
|
|
27404
|
+
[key: string]: unknown;
|
|
27405
|
+
};
|
|
27406
|
+
};
|
|
27407
|
+
/**
|
|
27408
|
+
* Response for status 502
|
|
27409
|
+
*/
|
|
27410
|
+
502: {
|
|
27411
|
+
type: string;
|
|
27412
|
+
title: string;
|
|
27413
|
+
status: number;
|
|
27414
|
+
detail?: string;
|
|
27415
|
+
instance?: string;
|
|
27416
|
+
code?: string;
|
|
27417
|
+
errors?: Array<{
|
|
27418
|
+
path: string;
|
|
27419
|
+
message: string;
|
|
27420
|
+
summary?: string;
|
|
27421
|
+
}>;
|
|
27422
|
+
meta?: {
|
|
27423
|
+
[key: string]: unknown;
|
|
27424
|
+
};
|
|
27425
|
+
};
|
|
27426
|
+
/**
|
|
27427
|
+
* Response for status 503
|
|
27428
|
+
*/
|
|
27429
|
+
503: {
|
|
27430
|
+
type: string;
|
|
27431
|
+
title: string;
|
|
27432
|
+
status: number;
|
|
27433
|
+
detail?: string;
|
|
27434
|
+
instance?: string;
|
|
27435
|
+
code?: string;
|
|
27436
|
+
errors?: Array<{
|
|
27437
|
+
path: string;
|
|
27438
|
+
message: string;
|
|
27439
|
+
summary?: string;
|
|
27440
|
+
}>;
|
|
27441
|
+
meta?: {
|
|
27442
|
+
[key: string]: unknown;
|
|
27443
|
+
};
|
|
27444
|
+
};
|
|
27445
|
+
};
|
|
27446
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdToolsError = GetApiProjectsByProjectIdMcpConnectionsByConnectionIdToolsErrors[keyof GetApiProjectsByProjectIdMcpConnectionsByConnectionIdToolsErrors];
|
|
27447
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdToolsResponses = {
|
|
27448
|
+
/**
|
|
27449
|
+
* Response for status 200
|
|
27450
|
+
*/
|
|
27451
|
+
200: {
|
|
27452
|
+
tools: Array<{
|
|
27453
|
+
name: string;
|
|
27454
|
+
description?: string;
|
|
27455
|
+
inputSchema: {
|
|
27456
|
+
[key: string]: unknown;
|
|
27457
|
+
};
|
|
27458
|
+
readOnlyHint?: boolean;
|
|
27459
|
+
}>;
|
|
27460
|
+
listedAt: string;
|
|
27461
|
+
cached: boolean;
|
|
27462
|
+
};
|
|
27463
|
+
};
|
|
27464
|
+
export type GetApiProjectsByProjectIdMcpConnectionsByConnectionIdToolsResponse = GetApiProjectsByProjectIdMcpConnectionsByConnectionIdToolsResponses[keyof GetApiProjectsByProjectIdMcpConnectionsByConnectionIdToolsResponses];
|
|
27465
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdReconnectData = {
|
|
27466
|
+
body?: never;
|
|
27467
|
+
path: {
|
|
27468
|
+
projectId: string;
|
|
27469
|
+
connectionId: string;
|
|
27470
|
+
};
|
|
27471
|
+
query?: never;
|
|
27472
|
+
url: '/api/projects/{projectId}/mcp-connections/{connectionId}/reconnect';
|
|
27473
|
+
};
|
|
27474
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdReconnectErrors = {
|
|
27475
|
+
/**
|
|
27476
|
+
* Response for status 401
|
|
27477
|
+
*/
|
|
27478
|
+
401: {
|
|
27479
|
+
type: string;
|
|
27480
|
+
title: string;
|
|
27481
|
+
status: number;
|
|
27482
|
+
detail?: string;
|
|
27483
|
+
instance?: string;
|
|
27484
|
+
code?: string;
|
|
27485
|
+
errors?: Array<{
|
|
27486
|
+
path: string;
|
|
27487
|
+
message: string;
|
|
27488
|
+
summary?: string;
|
|
27489
|
+
}>;
|
|
27490
|
+
meta?: {
|
|
27491
|
+
[key: string]: unknown;
|
|
27492
|
+
};
|
|
27493
|
+
};
|
|
27494
|
+
/**
|
|
27495
|
+
* Response for status 403
|
|
27496
|
+
*/
|
|
27497
|
+
403: {
|
|
27498
|
+
type: string;
|
|
27499
|
+
title: string;
|
|
27500
|
+
status: number;
|
|
27501
|
+
detail?: string;
|
|
27502
|
+
instance?: string;
|
|
27503
|
+
code?: string;
|
|
27504
|
+
errors?: Array<{
|
|
27505
|
+
path: string;
|
|
27506
|
+
message: string;
|
|
27507
|
+
summary?: string;
|
|
27508
|
+
}>;
|
|
27509
|
+
meta?: {
|
|
27510
|
+
[key: string]: unknown;
|
|
27511
|
+
};
|
|
27512
|
+
};
|
|
27513
|
+
/**
|
|
27514
|
+
* Response for status 404
|
|
27515
|
+
*/
|
|
27516
|
+
404: {
|
|
27517
|
+
type: string;
|
|
27518
|
+
title: string;
|
|
27519
|
+
status: number;
|
|
27520
|
+
detail?: string;
|
|
27521
|
+
instance?: string;
|
|
27522
|
+
code?: string;
|
|
27523
|
+
errors?: Array<{
|
|
27524
|
+
path: string;
|
|
27525
|
+
message: string;
|
|
27526
|
+
summary?: string;
|
|
27527
|
+
}>;
|
|
27528
|
+
meta?: {
|
|
27529
|
+
[key: string]: unknown;
|
|
27530
|
+
};
|
|
27531
|
+
};
|
|
27532
|
+
/**
|
|
27533
|
+
* Response for status 409
|
|
27534
|
+
*/
|
|
27535
|
+
409: {
|
|
27536
|
+
type: string;
|
|
27537
|
+
title: string;
|
|
27538
|
+
status: number;
|
|
27539
|
+
detail?: string;
|
|
27540
|
+
instance?: string;
|
|
27541
|
+
code?: string;
|
|
27542
|
+
errors?: Array<{
|
|
27543
|
+
path: string;
|
|
27544
|
+
message: string;
|
|
27545
|
+
summary?: string;
|
|
27546
|
+
}>;
|
|
27547
|
+
meta?: {
|
|
27548
|
+
[key: string]: unknown;
|
|
27549
|
+
};
|
|
27550
|
+
};
|
|
27551
|
+
/**
|
|
27552
|
+
* Response for status 422
|
|
27553
|
+
*/
|
|
27554
|
+
422: {
|
|
27555
|
+
type: string;
|
|
27556
|
+
title: string;
|
|
27557
|
+
status: number;
|
|
27558
|
+
detail?: string;
|
|
27559
|
+
instance?: string;
|
|
27560
|
+
code?: string;
|
|
27561
|
+
errors?: Array<{
|
|
27562
|
+
path: string;
|
|
27563
|
+
message: string;
|
|
27564
|
+
summary?: string;
|
|
27565
|
+
}>;
|
|
27566
|
+
meta?: {
|
|
27567
|
+
[key: string]: unknown;
|
|
27568
|
+
};
|
|
27569
|
+
};
|
|
27570
|
+
/**
|
|
27571
|
+
* Response for status 500
|
|
27572
|
+
*/
|
|
27573
|
+
500: {
|
|
27574
|
+
type: string;
|
|
27575
|
+
title: string;
|
|
27576
|
+
status: number;
|
|
27577
|
+
detail?: string;
|
|
27578
|
+
instance?: string;
|
|
27579
|
+
code?: string;
|
|
27580
|
+
errors?: Array<{
|
|
27581
|
+
path: string;
|
|
27582
|
+
message: string;
|
|
27583
|
+
summary?: string;
|
|
27584
|
+
}>;
|
|
27585
|
+
meta?: {
|
|
27586
|
+
[key: string]: unknown;
|
|
27587
|
+
};
|
|
27588
|
+
};
|
|
27589
|
+
/**
|
|
27590
|
+
* Response for status 502
|
|
27591
|
+
*/
|
|
27592
|
+
502: {
|
|
27593
|
+
type: string;
|
|
27594
|
+
title: string;
|
|
27595
|
+
status: number;
|
|
27596
|
+
detail?: string;
|
|
27597
|
+
instance?: string;
|
|
27598
|
+
code?: string;
|
|
27599
|
+
errors?: Array<{
|
|
27600
|
+
path: string;
|
|
27601
|
+
message: string;
|
|
27602
|
+
summary?: string;
|
|
27603
|
+
}>;
|
|
27604
|
+
meta?: {
|
|
27605
|
+
[key: string]: unknown;
|
|
27606
|
+
};
|
|
27607
|
+
};
|
|
27608
|
+
};
|
|
27609
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdReconnectError = PostApiProjectsByProjectIdMcpConnectionsByConnectionIdReconnectErrors[keyof PostApiProjectsByProjectIdMcpConnectionsByConnectionIdReconnectErrors];
|
|
27610
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdReconnectResponses = {
|
|
27611
|
+
/**
|
|
27612
|
+
* Response for status 201
|
|
27613
|
+
*/
|
|
27614
|
+
201: {
|
|
27615
|
+
connectionId: string;
|
|
27616
|
+
authorizationUrl: string;
|
|
27617
|
+
};
|
|
27618
|
+
};
|
|
27619
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdReconnectResponse = PostApiProjectsByProjectIdMcpConnectionsByConnectionIdReconnectResponses[keyof PostApiProjectsByProjectIdMcpConnectionsByConnectionIdReconnectResponses];
|
|
27620
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateConfirmData = {
|
|
27621
|
+
body: {
|
|
27622
|
+
candidateId: string;
|
|
27623
|
+
fingerprint: string;
|
|
27624
|
+
expectedVersion: number;
|
|
27625
|
+
};
|
|
27626
|
+
path: {
|
|
27627
|
+
projectId: string;
|
|
27628
|
+
connectionId: string;
|
|
27629
|
+
};
|
|
27630
|
+
query?: never;
|
|
27631
|
+
url: '/api/projects/{projectId}/mcp-connections/{connectionId}/candidate/confirm';
|
|
27632
|
+
};
|
|
27633
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateConfirmErrors = {
|
|
27634
|
+
/**
|
|
27635
|
+
* Response for status 401
|
|
27636
|
+
*/
|
|
27637
|
+
401: {
|
|
27638
|
+
type: string;
|
|
27639
|
+
title: string;
|
|
27640
|
+
status: number;
|
|
27641
|
+
detail?: string;
|
|
27642
|
+
instance?: string;
|
|
27643
|
+
code?: string;
|
|
27644
|
+
errors?: Array<{
|
|
27645
|
+
path: string;
|
|
27646
|
+
message: string;
|
|
27647
|
+
summary?: string;
|
|
27648
|
+
}>;
|
|
27649
|
+
meta?: {
|
|
27650
|
+
[key: string]: unknown;
|
|
27651
|
+
};
|
|
27652
|
+
};
|
|
27653
|
+
/**
|
|
27654
|
+
* Response for status 403
|
|
27655
|
+
*/
|
|
27656
|
+
403: {
|
|
27657
|
+
type: string;
|
|
27658
|
+
title: string;
|
|
27659
|
+
status: number;
|
|
27660
|
+
detail?: string;
|
|
27661
|
+
instance?: string;
|
|
27662
|
+
code?: string;
|
|
27663
|
+
errors?: Array<{
|
|
27664
|
+
path: string;
|
|
27665
|
+
message: string;
|
|
27666
|
+
summary?: string;
|
|
27667
|
+
}>;
|
|
27668
|
+
meta?: {
|
|
27669
|
+
[key: string]: unknown;
|
|
27670
|
+
};
|
|
27671
|
+
};
|
|
27672
|
+
/**
|
|
27673
|
+
* Response for status 404
|
|
27674
|
+
*/
|
|
27675
|
+
404: {
|
|
27676
|
+
type: string;
|
|
27677
|
+
title: string;
|
|
27678
|
+
status: number;
|
|
27679
|
+
detail?: string;
|
|
27680
|
+
instance?: string;
|
|
27681
|
+
code?: string;
|
|
27682
|
+
errors?: Array<{
|
|
27683
|
+
path: string;
|
|
27684
|
+
message: string;
|
|
27685
|
+
summary?: string;
|
|
27686
|
+
}>;
|
|
27687
|
+
meta?: {
|
|
27688
|
+
[key: string]: unknown;
|
|
27689
|
+
};
|
|
27690
|
+
};
|
|
27691
|
+
/**
|
|
27692
|
+
* Response for status 409
|
|
27693
|
+
*/
|
|
27694
|
+
409: {
|
|
27695
|
+
type: string;
|
|
27696
|
+
title: string;
|
|
27697
|
+
status: number;
|
|
27698
|
+
detail?: string;
|
|
27699
|
+
instance?: string;
|
|
27700
|
+
code?: string;
|
|
27701
|
+
errors?: Array<{
|
|
27702
|
+
path: string;
|
|
27703
|
+
message: string;
|
|
27704
|
+
summary?: string;
|
|
27705
|
+
}>;
|
|
27706
|
+
meta?: {
|
|
27707
|
+
[key: string]: unknown;
|
|
27708
|
+
};
|
|
27709
|
+
};
|
|
27710
|
+
/**
|
|
27711
|
+
* Response for status 422
|
|
27712
|
+
*/
|
|
27713
|
+
422: {
|
|
27714
|
+
type: string;
|
|
27715
|
+
title: string;
|
|
27716
|
+
status: number;
|
|
27717
|
+
detail?: string;
|
|
27718
|
+
instance?: string;
|
|
27719
|
+
code?: string;
|
|
27720
|
+
errors?: Array<{
|
|
27721
|
+
path: string;
|
|
27722
|
+
message: string;
|
|
27723
|
+
summary?: string;
|
|
27724
|
+
}>;
|
|
27725
|
+
meta?: {
|
|
27726
|
+
[key: string]: unknown;
|
|
27727
|
+
};
|
|
27728
|
+
};
|
|
27729
|
+
/**
|
|
27730
|
+
* Response for status 500
|
|
27731
|
+
*/
|
|
27732
|
+
500: {
|
|
27733
|
+
type: string;
|
|
27734
|
+
title: string;
|
|
27735
|
+
status: number;
|
|
27736
|
+
detail?: string;
|
|
27737
|
+
instance?: string;
|
|
27738
|
+
code?: string;
|
|
27739
|
+
errors?: Array<{
|
|
27740
|
+
path: string;
|
|
27741
|
+
message: string;
|
|
27742
|
+
summary?: string;
|
|
27743
|
+
}>;
|
|
27744
|
+
meta?: {
|
|
27745
|
+
[key: string]: unknown;
|
|
27746
|
+
};
|
|
27747
|
+
};
|
|
27748
|
+
};
|
|
27749
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateConfirmError = PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateConfirmErrors[keyof PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateConfirmErrors];
|
|
27750
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateConfirmResponses = {
|
|
27751
|
+
/**
|
|
27752
|
+
* Response for status 200
|
|
27753
|
+
*/
|
|
27754
|
+
200: {
|
|
27755
|
+
id: string;
|
|
27756
|
+
projectId: string;
|
|
27757
|
+
name: string;
|
|
27758
|
+
label: string;
|
|
27759
|
+
preset: string | null;
|
|
27760
|
+
resource: string;
|
|
27761
|
+
state: 'disconnected' | 'connecting' | 'awaiting_confirmation' | 'ready' | 'ready_with_pending_reconnect' | 'reconnect_required';
|
|
27762
|
+
reasonCode: 'attempt_expired' | 'candidate_expired' | 'candidate_cancelled' | 'refresh_failed' | 'grant_expired' | 'client_configuration' | null;
|
|
27763
|
+
generation: number;
|
|
27764
|
+
version: number;
|
|
27765
|
+
connectedBy: {
|
|
27766
|
+
userId: string;
|
|
27767
|
+
username: string | null;
|
|
27768
|
+
} | null;
|
|
27769
|
+
account: {
|
|
27770
|
+
userName: string | null;
|
|
27771
|
+
workspaceName: string | null;
|
|
27772
|
+
identityVerified: boolean;
|
|
27773
|
+
} | null;
|
|
27774
|
+
grantedScopes: Array<string>;
|
|
27775
|
+
reconnectBy: string | null;
|
|
27776
|
+
candidate: {
|
|
27777
|
+
id: string;
|
|
27778
|
+
account: {
|
|
27779
|
+
userName: string | null;
|
|
27780
|
+
workspaceName: string | null;
|
|
27781
|
+
identityVerified: boolean;
|
|
27782
|
+
};
|
|
27783
|
+
grantedScopes: Array<string>;
|
|
27784
|
+
fingerprint: string;
|
|
27785
|
+
expiresAt: string;
|
|
27786
|
+
sameIdentityAsActive: boolean | 'unknown';
|
|
27787
|
+
} | null;
|
|
27788
|
+
lastRevocation: {
|
|
27789
|
+
outcome: 'accepted' | 'failed' | 'unconfirmed';
|
|
27790
|
+
at: string;
|
|
27791
|
+
} | null;
|
|
27792
|
+
createdAt: string;
|
|
27793
|
+
updatedAt: string;
|
|
27794
|
+
};
|
|
27795
|
+
};
|
|
27796
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateConfirmResponse = PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateConfirmResponses[keyof PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateConfirmResponses];
|
|
27797
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateCancelData = {
|
|
27798
|
+
body: {
|
|
27799
|
+
candidateId: string;
|
|
27800
|
+
};
|
|
27801
|
+
path: {
|
|
27802
|
+
projectId: string;
|
|
27803
|
+
connectionId: string;
|
|
27804
|
+
};
|
|
27805
|
+
query?: never;
|
|
27806
|
+
url: '/api/projects/{projectId}/mcp-connections/{connectionId}/candidate/cancel';
|
|
27807
|
+
};
|
|
27808
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateCancelErrors = {
|
|
27809
|
+
/**
|
|
27810
|
+
* Response for status 401
|
|
27811
|
+
*/
|
|
27812
|
+
401: {
|
|
27813
|
+
type: string;
|
|
27814
|
+
title: string;
|
|
27815
|
+
status: number;
|
|
27816
|
+
detail?: string;
|
|
27817
|
+
instance?: string;
|
|
27818
|
+
code?: string;
|
|
27819
|
+
errors?: Array<{
|
|
27820
|
+
path: string;
|
|
27821
|
+
message: string;
|
|
27822
|
+
summary?: string;
|
|
27823
|
+
}>;
|
|
27824
|
+
meta?: {
|
|
27825
|
+
[key: string]: unknown;
|
|
27826
|
+
};
|
|
27827
|
+
};
|
|
27828
|
+
/**
|
|
27829
|
+
* Response for status 403
|
|
27830
|
+
*/
|
|
27831
|
+
403: {
|
|
27832
|
+
type: string;
|
|
27833
|
+
title: string;
|
|
27834
|
+
status: number;
|
|
27835
|
+
detail?: string;
|
|
27836
|
+
instance?: string;
|
|
27837
|
+
code?: string;
|
|
27838
|
+
errors?: Array<{
|
|
27839
|
+
path: string;
|
|
27840
|
+
message: string;
|
|
27841
|
+
summary?: string;
|
|
27842
|
+
}>;
|
|
27843
|
+
meta?: {
|
|
27844
|
+
[key: string]: unknown;
|
|
27845
|
+
};
|
|
27846
|
+
};
|
|
27847
|
+
/**
|
|
27848
|
+
* Response for status 404
|
|
27849
|
+
*/
|
|
27850
|
+
404: {
|
|
27851
|
+
type: string;
|
|
27852
|
+
title: string;
|
|
27853
|
+
status: number;
|
|
27854
|
+
detail?: string;
|
|
27855
|
+
instance?: string;
|
|
27856
|
+
code?: string;
|
|
27857
|
+
errors?: Array<{
|
|
27858
|
+
path: string;
|
|
27859
|
+
message: string;
|
|
27860
|
+
summary?: string;
|
|
27861
|
+
}>;
|
|
27862
|
+
meta?: {
|
|
27863
|
+
[key: string]: unknown;
|
|
27864
|
+
};
|
|
27865
|
+
};
|
|
27866
|
+
/**
|
|
27867
|
+
* Response for status 409
|
|
27868
|
+
*/
|
|
27869
|
+
409: {
|
|
27870
|
+
type: string;
|
|
27871
|
+
title: string;
|
|
27872
|
+
status: number;
|
|
27873
|
+
detail?: string;
|
|
27874
|
+
instance?: string;
|
|
27875
|
+
code?: string;
|
|
27876
|
+
errors?: Array<{
|
|
27877
|
+
path: string;
|
|
27878
|
+
message: string;
|
|
27879
|
+
summary?: string;
|
|
27880
|
+
}>;
|
|
27881
|
+
meta?: {
|
|
27882
|
+
[key: string]: unknown;
|
|
27883
|
+
};
|
|
27884
|
+
};
|
|
27885
|
+
/**
|
|
27886
|
+
* Response for status 422
|
|
27887
|
+
*/
|
|
27888
|
+
422: {
|
|
27889
|
+
type: string;
|
|
27890
|
+
title: string;
|
|
27891
|
+
status: number;
|
|
27892
|
+
detail?: string;
|
|
27893
|
+
instance?: string;
|
|
27894
|
+
code?: string;
|
|
27895
|
+
errors?: Array<{
|
|
27896
|
+
path: string;
|
|
27897
|
+
message: string;
|
|
27898
|
+
summary?: string;
|
|
27899
|
+
}>;
|
|
27900
|
+
meta?: {
|
|
27901
|
+
[key: string]: unknown;
|
|
27902
|
+
};
|
|
27903
|
+
};
|
|
27904
|
+
/**
|
|
27905
|
+
* Response for status 500
|
|
27906
|
+
*/
|
|
27907
|
+
500: {
|
|
27908
|
+
type: string;
|
|
27909
|
+
title: string;
|
|
27910
|
+
status: number;
|
|
27911
|
+
detail?: string;
|
|
27912
|
+
instance?: string;
|
|
27913
|
+
code?: string;
|
|
27914
|
+
errors?: Array<{
|
|
27915
|
+
path: string;
|
|
27916
|
+
message: string;
|
|
27917
|
+
summary?: string;
|
|
27918
|
+
}>;
|
|
27919
|
+
meta?: {
|
|
27920
|
+
[key: string]: unknown;
|
|
27921
|
+
};
|
|
27922
|
+
};
|
|
27923
|
+
};
|
|
27924
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateCancelError = PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateCancelErrors[keyof PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateCancelErrors];
|
|
27925
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateCancelResponses = {
|
|
27926
|
+
/**
|
|
27927
|
+
* Response for status 200
|
|
27928
|
+
*/
|
|
27929
|
+
200: {
|
|
27930
|
+
id: string;
|
|
27931
|
+
projectId: string;
|
|
27932
|
+
name: string;
|
|
27933
|
+
label: string;
|
|
27934
|
+
preset: string | null;
|
|
27935
|
+
resource: string;
|
|
27936
|
+
state: 'disconnected' | 'connecting' | 'awaiting_confirmation' | 'ready' | 'ready_with_pending_reconnect' | 'reconnect_required';
|
|
27937
|
+
reasonCode: 'attempt_expired' | 'candidate_expired' | 'candidate_cancelled' | 'refresh_failed' | 'grant_expired' | 'client_configuration' | null;
|
|
27938
|
+
generation: number;
|
|
27939
|
+
version: number;
|
|
27940
|
+
connectedBy: {
|
|
27941
|
+
userId: string;
|
|
27942
|
+
username: string | null;
|
|
27943
|
+
} | null;
|
|
27944
|
+
account: {
|
|
27945
|
+
userName: string | null;
|
|
27946
|
+
workspaceName: string | null;
|
|
27947
|
+
identityVerified: boolean;
|
|
27948
|
+
} | null;
|
|
27949
|
+
grantedScopes: Array<string>;
|
|
27950
|
+
reconnectBy: string | null;
|
|
27951
|
+
candidate: {
|
|
27952
|
+
id: string;
|
|
27953
|
+
account: {
|
|
27954
|
+
userName: string | null;
|
|
27955
|
+
workspaceName: string | null;
|
|
27956
|
+
identityVerified: boolean;
|
|
27957
|
+
};
|
|
27958
|
+
grantedScopes: Array<string>;
|
|
27959
|
+
fingerprint: string;
|
|
27960
|
+
expiresAt: string;
|
|
27961
|
+
sameIdentityAsActive: boolean | 'unknown';
|
|
27962
|
+
} | null;
|
|
27963
|
+
lastRevocation: {
|
|
27964
|
+
outcome: 'accepted' | 'failed' | 'unconfirmed';
|
|
27965
|
+
at: string;
|
|
27966
|
+
} | null;
|
|
27967
|
+
createdAt: string;
|
|
27968
|
+
updatedAt: string;
|
|
27969
|
+
};
|
|
27970
|
+
};
|
|
27971
|
+
export type PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateCancelResponse = PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateCancelResponses[keyof PostApiProjectsByProjectIdMcpConnectionsByConnectionIdCandidateCancelResponses];
|