@vertesia/common 1.6.0-dev.20261014.015055Z → 1.6.0-dev.20261019.172735Z
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/lib/api-contract/components.generated.json +1203 -24
- package/lib/api-schemas/agent-runs.d.ts +50 -0
- package/lib/api-schemas/agent-runs.d.ts.map +1 -1
- package/lib/api-schemas/agent-runs.js +3 -3
- package/lib/api-schemas/agent-runs.js.map +1 -1
- package/lib/api-schemas/app-lifecycle.d.ts +126 -0
- package/lib/api-schemas/app-lifecycle.d.ts.map +1 -1
- package/lib/api-schemas/app-lifecycle.js +134 -1
- package/lib/api-schemas/app-lifecycle.js.map +1 -1
- package/lib/api-schemas/app-runtime.d.ts +466 -0
- package/lib/api-schemas/app-runtime.d.ts.map +1 -1
- package/lib/api-schemas/app-runtime.js +50 -1
- package/lib/api-schemas/app-runtime.js.map +1 -1
- package/lib/api-schemas/apps.d.ts +73 -0
- package/lib/api-schemas/apps.d.ts.map +1 -1
- package/lib/api-schemas/apps.js +41 -0
- package/lib/api-schemas/apps.js.map +1 -1
- package/lib/api-schemas/audit-trail.d.ts.map +1 -1
- package/lib/api-schemas/audit-trail.js +5 -5
- package/lib/api-schemas/audit-trail.js.map +1 -1
- package/lib/api-schemas/content.d.ts +25 -0
- package/lib/api-schemas/content.d.ts.map +1 -1
- package/lib/api-schemas/content.js +5 -5
- package/lib/api-schemas/content.js.map +1 -1
- package/lib/api-schemas/document-processing.d.ts +15 -0
- package/lib/api-schemas/document-processing.d.ts.map +1 -1
- package/lib/api-schemas/events.d.ts +45 -0
- package/lib/api-schemas/events.d.ts.map +1 -1
- package/lib/api-schemas/inference-profile.d.ts +30 -0
- package/lib/api-schemas/inference-profile.d.ts.map +1 -1
- package/lib/api-schemas/interaction.d.ts +395 -0
- package/lib/api-schemas/interaction.d.ts.map +1 -1
- package/lib/api-schemas/interaction.js +9 -7
- package/lib/api-schemas/interaction.js.map +1 -1
- package/lib/api-schemas/oauth-server.d.ts +128 -0
- package/lib/api-schemas/oauth-server.d.ts.map +1 -1
- package/lib/api-schemas/oauth-server.js +95 -2
- package/lib/api-schemas/oauth-server.js.map +1 -1
- package/lib/api-schemas/process.d.ts +11 -0
- package/lib/api-schemas/process.d.ts.map +1 -1
- package/lib/api-schemas/process.js +12 -0
- package/lib/api-schemas/process.js.map +1 -1
- package/lib/api-schemas/project-configuration.d.ts +50 -0
- package/lib/api-schemas/project-configuration.d.ts.map +1 -1
- package/lib/api-schemas/project.d.ts +75 -0
- package/lib/api-schemas/project.d.ts.map +1 -1
- package/lib/api-schemas/prompt.d.ts.map +1 -1
- package/lib/api-schemas/prompt.js +5 -2
- package/lib/api-schemas/prompt.js.map +1 -1
- package/lib/api-schemas/registry.d.ts +1266 -0
- package/lib/api-schemas/registry.d.ts.map +1 -1
- package/lib/api-schemas/registry.js +33 -3
- package/lib/api-schemas/registry.js.map +1 -1
- package/lib/api-schemas/schema-primitives.d.ts +8 -0
- package/lib/api-schemas/schema-primitives.d.ts.map +1 -1
- package/lib/api-schemas/schema-primitives.js +8 -0
- package/lib/api-schemas/schema-primitives.js.map +1 -1
- package/lib/api-schemas/store.d.ts +250 -0
- package/lib/api-schemas/store.d.ts.map +1 -1
- package/lib/api-schemas/store.js +3 -3
- package/lib/api-schemas/store.js.map +1 -1
- package/lib/api-schemas/task.d.ts.map +1 -1
- package/lib/api-schemas/task.js +3 -2
- package/lib/api-schemas/task.js.map +1 -1
- package/lib/api-schemas/workflow-runs.d.ts +10 -0
- package/lib/api-schemas/workflow-runs.d.ts.map +1 -1
- package/lib/apikey.d.ts +7 -0
- package/lib/apikey.d.ts.map +1 -1
- package/lib/apikey.js.map +1 -1
- package/lib/apps.d.ts +37 -1
- package/lib/apps.d.ts.map +1 -1
- package/lib/apps.js +74 -3
- package/lib/apps.js.map +1 -1
- package/lib/interaction.d.ts.map +1 -1
- package/lib/interaction.js.map +1 -1
- package/lib/oauth-server.d.ts +5 -0
- package/lib/oauth-server.d.ts.map +1 -1
- package/lib/store/index.d.ts +1 -0
- package/lib/store/index.d.ts.map +1 -1
- package/lib/store/index.js +1 -0
- package/lib/store/index.js.map +1 -1
- package/lib/store/intake-policy-schema.generated.d.ts.map +1 -1
- package/lib/store/intake-policy-schema.generated.js +1 -2
- package/lib/store/intake-policy-schema.generated.js.map +1 -1
- package/lib/store/text-limits.d.ts +18 -0
- package/lib/store/text-limits.d.ts.map +1 -0
- package/lib/store/text-limits.js +56 -0
- package/lib/store/text-limits.js.map +1 -0
- package/lib/vertesia-common.js +4 -2
- package/lib/vertesia-common.js.map +1 -1
- package/lib/wire-types.generated.d.ts +246 -2
- package/lib/wire-types.generated.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/api-contract/components.generated.json +1203 -24
- package/src/api-schemas/agent-runs.ts +3 -3
- package/src/api-schemas/app-lifecycle.ts +163 -1
- package/src/api-schemas/app-runtime.ts +54 -0
- package/src/api-schemas/apps.ts +46 -0
- package/src/api-schemas/audit-trail.ts +5 -5
- package/src/api-schemas/content.ts +5 -5
- package/src/api-schemas/interaction.ts +9 -7
- package/src/api-schemas/oauth-server.ts +103 -2
- package/src/api-schemas/process.ts +13 -0
- package/src/api-schemas/prompt.ts +5 -2
- package/src/api-schemas/registry.ts +52 -0
- package/src/api-schemas/schema-primitives.ts +9 -0
- package/src/api-schemas/store.ts +3 -3
- package/src/api-schemas/task.ts +3 -2
- package/src/apikey.ts +8 -0
- package/src/apps.ts +116 -3
- package/src/interaction.ts +1 -0
- package/src/oauth-server.ts +10 -0
- package/src/store/index.ts +1 -0
- package/src/store/intake-policy-schema.generated.ts +1 -2
- package/src/store/text-limits.ts +64 -0
- package/src/wire-types.generated.ts +266 -2
|
@@ -526,6 +526,9 @@ export type AppUIConfig = {
|
|
|
526
526
|
navigation?: AppUINavItem[] | undefined;
|
|
527
527
|
available_in?: AppAvailableIn[] | undefined;
|
|
528
528
|
};
|
|
529
|
+
export type AppOAuthClientConfig = {
|
|
530
|
+
redirect_uris: string[];
|
|
531
|
+
};
|
|
529
532
|
export type AppInstallationProjectsQuery = {
|
|
530
533
|
name?: string | undefined;
|
|
531
534
|
id?: string | undefined;
|
|
@@ -560,6 +563,8 @@ export type MCPToolCollectionObject = {
|
|
|
560
563
|
url: string;
|
|
561
564
|
auth?: ToolCollectionAuthType | undefined;
|
|
562
565
|
type: 'mcp';
|
|
566
|
+
parameters?: Record<string, McpConnectionParameter> | undefined;
|
|
567
|
+
headers?: Record<string, string> | undefined;
|
|
563
568
|
id: string;
|
|
564
569
|
name: string;
|
|
565
570
|
description: string;
|
|
@@ -781,6 +786,7 @@ export type AppBuildProgress = {
|
|
|
781
786
|
updated_at: string;
|
|
782
787
|
};
|
|
783
788
|
export type AppScaffoldModule = 'service' | 'assistant' | 'content-app' | 'examples';
|
|
789
|
+
export type AppScaffoldSourceMode = 'generate' | 'existing';
|
|
784
790
|
export type StartAppScaffoldRequest = {
|
|
785
791
|
app_id: string;
|
|
786
792
|
title?: string | undefined;
|
|
@@ -789,6 +795,10 @@ export type StartAppScaffoldRequest = {
|
|
|
789
795
|
oauth_scopes?: string[] | undefined;
|
|
790
796
|
appgen_package_spec?: string | undefined;
|
|
791
797
|
create_version?: boolean | undefined;
|
|
798
|
+
source_mode?: AppScaffoldSourceMode | undefined;
|
|
799
|
+
source?: AppSourceConfig | undefined;
|
|
800
|
+
github_connection_id?: string | undefined;
|
|
801
|
+
github_repository_creation?: AppGithubRepositoryCreation | undefined;
|
|
792
802
|
};
|
|
793
803
|
export type StartAppScaffoldResponse = {
|
|
794
804
|
workflow_id: string;
|
|
@@ -798,6 +808,69 @@ export type StartAppScaffoldResponse = {
|
|
|
798
808
|
git_url?: string | undefined;
|
|
799
809
|
create_version: boolean;
|
|
800
810
|
};
|
|
811
|
+
export type AppGithubConfiguration = {
|
|
812
|
+
enabled: boolean;
|
|
813
|
+
app_slug?: string | undefined;
|
|
814
|
+
install_url?: string | undefined;
|
|
815
|
+
relay_url?: string | undefined;
|
|
816
|
+
};
|
|
817
|
+
export type StartAppGithubAuthorizationResponse = {
|
|
818
|
+
authorization_url: string;
|
|
819
|
+
};
|
|
820
|
+
export type ExchangeAppGithubAuthorizationRequest = {
|
|
821
|
+
code: string;
|
|
822
|
+
state: string;
|
|
823
|
+
};
|
|
824
|
+
export type AppGithubRepositoriesQuery = {
|
|
825
|
+
connection_id: string;
|
|
826
|
+
installation_id: string;
|
|
827
|
+
};
|
|
828
|
+
export type AppGithubInstallation = {
|
|
829
|
+
id: string;
|
|
830
|
+
account_login: string;
|
|
831
|
+
account_type?: string | undefined;
|
|
832
|
+
repository_selection: 'all' | 'selected';
|
|
833
|
+
};
|
|
834
|
+
export type AppGithubAccount = {
|
|
835
|
+
login: string;
|
|
836
|
+
account_type: string;
|
|
837
|
+
avatar_url?: string | undefined;
|
|
838
|
+
};
|
|
839
|
+
export type ExchangeAppGithubAuthorizationResponse = {
|
|
840
|
+
connection_id: string;
|
|
841
|
+
installations: AppGithubInstallation[];
|
|
842
|
+
accounts: AppGithubAccount[];
|
|
843
|
+
};
|
|
844
|
+
export type AppGithubRepository = {
|
|
845
|
+
name: string;
|
|
846
|
+
full_name: string;
|
|
847
|
+
private: boolean;
|
|
848
|
+
default_branch: string;
|
|
849
|
+
html_url: string;
|
|
850
|
+
};
|
|
851
|
+
export type AppGithubRepositoryCreation = {
|
|
852
|
+
name: string;
|
|
853
|
+
private?: boolean | undefined;
|
|
854
|
+
};
|
|
855
|
+
export type AppGithubRepositoryList = {
|
|
856
|
+
repositories: AppGithubRepository[];
|
|
857
|
+
};
|
|
858
|
+
export type AppGithubRepositorySetupQuery = {
|
|
859
|
+
connection_id: string;
|
|
860
|
+
installation_id: string;
|
|
861
|
+
repository: string;
|
|
862
|
+
branch: string;
|
|
863
|
+
};
|
|
864
|
+
export type AppGithubBranchState = {
|
|
865
|
+
name: string;
|
|
866
|
+
exists: boolean;
|
|
867
|
+
empty: boolean;
|
|
868
|
+
};
|
|
869
|
+
export type AppGithubRepositorySetup = {
|
|
870
|
+
default_branch: string;
|
|
871
|
+
branches: string[];
|
|
872
|
+
selected_branch: AppGithubBranchState;
|
|
873
|
+
};
|
|
801
874
|
export type StartAppDevelopmentTaskRequest = {
|
|
802
875
|
prompt: string;
|
|
803
876
|
environment: string;
|
|
@@ -833,7 +906,9 @@ export type AppScaffoldProgress = {
|
|
|
833
906
|
*/
|
|
834
907
|
export type AppAccessControl = 'all' | 'ui' | 'none';
|
|
835
908
|
export type AppManifestData = {
|
|
909
|
+
parameters?: Record<string, McpConnectionParameter> | undefined;
|
|
836
910
|
oauth_scopes?: string[] | undefined;
|
|
911
|
+
oauth_client?: AppOAuthClientConfig | undefined;
|
|
837
912
|
name: string;
|
|
838
913
|
visibility: 'public' | 'private' | 'vertesia';
|
|
839
914
|
title: string;
|
|
@@ -860,7 +935,9 @@ export type AppManifestData = {
|
|
|
860
935
|
access_control?: AppAccessControl | undefined;
|
|
861
936
|
};
|
|
862
937
|
export type UpdateAppPayload = {
|
|
938
|
+
parameters?: Record<string, McpConnectionParameter> | undefined;
|
|
863
939
|
oauth_scopes?: string[] | undefined;
|
|
940
|
+
oauth_client?: AppOAuthClientConfig | undefined;
|
|
864
941
|
name: string;
|
|
865
942
|
visibility: 'public' | 'private' | 'vertesia';
|
|
866
943
|
title: string;
|
|
@@ -888,11 +965,15 @@ export type UpdateAppPayload = {
|
|
|
888
965
|
expected_edit_revision?: number | undefined;
|
|
889
966
|
};
|
|
890
967
|
export type AppGitSourceConfig = {
|
|
968
|
+
provider?: AppGitSourceProvider | undefined;
|
|
891
969
|
url?: string | undefined;
|
|
970
|
+
installation_id?: string | undefined;
|
|
971
|
+
repository?: string | undefined;
|
|
892
972
|
default_branch?: string | undefined;
|
|
893
973
|
production_branch?: string | undefined;
|
|
894
974
|
development_branch?: string | undefined;
|
|
895
975
|
};
|
|
976
|
+
export type AppGitSourceProvider = 'vertesia' | 'github';
|
|
896
977
|
export type AppSourceConfig = {
|
|
897
978
|
kind: 'git';
|
|
898
979
|
git?: AppGitSourceConfig | undefined;
|
|
@@ -1032,6 +1113,7 @@ export type AppEventSubscriptionDefinition = {
|
|
|
1032
1113
|
priority?: EventPriority | undefined;
|
|
1033
1114
|
};
|
|
1034
1115
|
export type AppPackage = {
|
|
1116
|
+
oauth_client?: AppOAuthClientConfig | undefined;
|
|
1035
1117
|
oauth_scopes?: string[] | undefined;
|
|
1036
1118
|
ui?: AppUIConfig | undefined;
|
|
1037
1119
|
tools?: AgentToolDefinition[] | undefined;
|
|
@@ -1113,7 +1195,9 @@ export type RenderingTemplateDefinitionRef = {
|
|
|
1113
1195
|
tags?: string[] | undefined;
|
|
1114
1196
|
};
|
|
1115
1197
|
export type AppManifest = {
|
|
1198
|
+
parameters?: Record<string, McpConnectionParameter> | undefined;
|
|
1116
1199
|
oauth_scopes?: string[] | undefined;
|
|
1200
|
+
oauth_client?: AppOAuthClientConfig | undefined;
|
|
1117
1201
|
edit_revision: number;
|
|
1118
1202
|
name: string;
|
|
1119
1203
|
visibility: 'public' | 'private' | 'vertesia';
|
|
@@ -1147,7 +1231,10 @@ export type AppManifest = {
|
|
|
1147
1231
|
export type AppManifestSource = {
|
|
1148
1232
|
kind: 'git';
|
|
1149
1233
|
git: {
|
|
1234
|
+
provider?: AppGitSourceProvider | undefined;
|
|
1150
1235
|
url: string;
|
|
1236
|
+
installation_id?: string | undefined;
|
|
1237
|
+
repository?: string | undefined;
|
|
1151
1238
|
default_branch?: string | undefined;
|
|
1152
1239
|
production_branch?: string | undefined;
|
|
1153
1240
|
development_branch?: string | undefined;
|
|
@@ -1176,12 +1263,26 @@ export type AppInstallationProviderBinding = {
|
|
|
1176
1263
|
export type AppInstallation = {
|
|
1177
1264
|
id: string;
|
|
1178
1265
|
project: string;
|
|
1266
|
+
instance_key?: string | undefined;
|
|
1267
|
+
display_name?: string | undefined;
|
|
1268
|
+
installation_version?: 1 | undefined;
|
|
1269
|
+
namespace_overrides?: Record<string, string> | undefined;
|
|
1270
|
+
reserved_namespaces?: string[] | undefined;
|
|
1271
|
+
namespace_conflicts?: string[] | undefined;
|
|
1179
1272
|
manifest: string;
|
|
1273
|
+
mcp_configuration?: {
|
|
1274
|
+
revision: string;
|
|
1275
|
+
values: Record<string, Record<string, string>>;
|
|
1276
|
+
configured_secrets: Record<string, string[]>;
|
|
1277
|
+
shared_values?: Record<string, string> | undefined;
|
|
1278
|
+
configured_shared_secrets?: string[] | undefined;
|
|
1279
|
+
} | undefined;
|
|
1180
1280
|
oauth_approval?: {
|
|
1181
1281
|
scopes: string[];
|
|
1182
1282
|
approved_by: string;
|
|
1183
1283
|
approved_at: string;
|
|
1184
1284
|
} | undefined;
|
|
1285
|
+
oauth_client_id?: string | undefined;
|
|
1185
1286
|
settings?: {
|
|
1186
1287
|
[k: string]: unknown;
|
|
1187
1288
|
} | undefined;
|
|
@@ -1195,11 +1296,25 @@ export type AppInstallation = {
|
|
|
1195
1296
|
export type AppInstallationWithManifest = {
|
|
1196
1297
|
id: string;
|
|
1197
1298
|
project: string;
|
|
1299
|
+
instance_key?: string | undefined;
|
|
1300
|
+
display_name?: string | undefined;
|
|
1301
|
+
installation_version?: 1 | undefined;
|
|
1302
|
+
namespace_overrides?: Record<string, string> | undefined;
|
|
1303
|
+
reserved_namespaces?: string[] | undefined;
|
|
1304
|
+
namespace_conflicts?: string[] | undefined;
|
|
1305
|
+
mcp_configuration?: {
|
|
1306
|
+
revision: string;
|
|
1307
|
+
values: Record<string, Record<string, string>>;
|
|
1308
|
+
configured_secrets: Record<string, string[]>;
|
|
1309
|
+
shared_values?: Record<string, string> | undefined;
|
|
1310
|
+
configured_shared_secrets?: string[] | undefined;
|
|
1311
|
+
} | undefined;
|
|
1198
1312
|
oauth_approval?: {
|
|
1199
1313
|
scopes: string[];
|
|
1200
1314
|
approved_by: string;
|
|
1201
1315
|
approved_at: string;
|
|
1202
1316
|
} | undefined;
|
|
1317
|
+
oauth_client_id?: string | undefined;
|
|
1203
1318
|
settings?: {
|
|
1204
1319
|
[k: string]: unknown;
|
|
1205
1320
|
} | undefined;
|
|
@@ -1215,11 +1330,25 @@ export type AppInstallationWithManifest = {
|
|
|
1215
1330
|
export type AppInstallationListEntry = {
|
|
1216
1331
|
id: string;
|
|
1217
1332
|
project: string;
|
|
1333
|
+
instance_key?: string | undefined;
|
|
1334
|
+
display_name?: string | undefined;
|
|
1335
|
+
installation_version?: 1 | undefined;
|
|
1336
|
+
namespace_overrides?: Record<string, string> | undefined;
|
|
1337
|
+
reserved_namespaces?: string[] | undefined;
|
|
1338
|
+
namespace_conflicts?: string[] | undefined;
|
|
1339
|
+
mcp_configuration?: {
|
|
1340
|
+
revision: string;
|
|
1341
|
+
values: Record<string, Record<string, string>>;
|
|
1342
|
+
configured_secrets: Record<string, string[]>;
|
|
1343
|
+
shared_values?: Record<string, string> | undefined;
|
|
1344
|
+
configured_shared_secrets?: string[] | undefined;
|
|
1345
|
+
} | undefined;
|
|
1218
1346
|
oauth_approval?: {
|
|
1219
1347
|
scopes: string[];
|
|
1220
1348
|
approved_by: string;
|
|
1221
1349
|
approved_at: string;
|
|
1222
1350
|
} | undefined;
|
|
1351
|
+
oauth_client_id?: string | undefined;
|
|
1223
1352
|
settings?: {
|
|
1224
1353
|
[k: string]: unknown;
|
|
1225
1354
|
} | undefined;
|
|
@@ -1251,6 +1380,11 @@ export type AppApiKeyCollectionParams = {
|
|
|
1251
1380
|
export type AppOAuthProviderParams = AppOAuthCollectionParams;
|
|
1252
1381
|
export type AppInstallationPayload = {
|
|
1253
1382
|
app_id: string;
|
|
1383
|
+
instance_key?: string | undefined;
|
|
1384
|
+
display_name?: string | undefined;
|
|
1385
|
+
namespace_overrides?: Record<string, string> | undefined;
|
|
1386
|
+
mcp_shared_parameters?: Record<string, string | null> | undefined;
|
|
1387
|
+
mcp_parameters?: Record<string, Record<string, string | null>> | undefined;
|
|
1254
1388
|
settings?: {
|
|
1255
1389
|
[k: string]: unknown;
|
|
1256
1390
|
} | undefined;
|
|
@@ -1268,6 +1402,7 @@ export type AppInstallationKind = 'ui' | 'tools' | 'all';
|
|
|
1268
1402
|
*/
|
|
1269
1403
|
export type AppToolCollection = {
|
|
1270
1404
|
name: string;
|
|
1405
|
+
collection_id?: string | undefined;
|
|
1271
1406
|
description?: string | undefined;
|
|
1272
1407
|
tools: AgentToolDefinition[];
|
|
1273
1408
|
};
|
|
@@ -1534,6 +1669,23 @@ export type AppDeleteSummary = {
|
|
|
1534
1669
|
export type UpdateAppInstallationOAuthApprovalPayload = {
|
|
1535
1670
|
approved_scopes: string[];
|
|
1536
1671
|
};
|
|
1672
|
+
export type AppInstanceAvailability = {
|
|
1673
|
+
enabled: boolean;
|
|
1674
|
+
};
|
|
1675
|
+
export type McpPublicParameter = {
|
|
1676
|
+
title?: string | undefined;
|
|
1677
|
+
description?: string | undefined;
|
|
1678
|
+
required?: boolean | undefined;
|
|
1679
|
+
type?: 'string' | undefined;
|
|
1680
|
+
default?: string | undefined;
|
|
1681
|
+
};
|
|
1682
|
+
export type McpSecretParameter = {
|
|
1683
|
+
title?: string | undefined;
|
|
1684
|
+
description?: string | undefined;
|
|
1685
|
+
required?: boolean | undefined;
|
|
1686
|
+
type: 'secret';
|
|
1687
|
+
};
|
|
1688
|
+
export type McpConnectionParameter = McpPublicParameter | McpSecretParameter;
|
|
1537
1689
|
/**
|
|
1538
1690
|
* Generic metering entry attached to audit events.
|
|
1539
1691
|
* Used for cost attribution, usage tracking, and billing.
|
|
@@ -4383,8 +4535,8 @@ export type OAuthClientType = 'public' | 'confidential';
|
|
|
4383
4535
|
export type OAuthClientStatus = 'active' | 'disabled';
|
|
4384
4536
|
export type OAuthRegistrationSource = 'admin' | 'dynamic';
|
|
4385
4537
|
export type OAuthProjectBindingMode = 'user_select' | 'fixed';
|
|
4386
|
-
export type OAuthTokenEndpointAuthMethod = 'none' | 'client_secret_post' | 'client_secret_basic';
|
|
4387
|
-
export type OAuthGrantType = 'authorization_code' | 'refresh_token' | 'urn:ietf:params:oauth:grant-type:device_code';
|
|
4538
|
+
export type OAuthTokenEndpointAuthMethod = 'none' | 'client_secret_post' | 'client_secret_basic' | 'private_key_jwt';
|
|
4539
|
+
export type OAuthGrantType = 'authorization_code' | 'refresh_token' | 'urn:ietf:params:oauth:grant-type:device_code' | 'urn:ietf:params:oauth:grant-type:token-exchange';
|
|
4388
4540
|
export type OAuthResponseType = 'code';
|
|
4389
4541
|
export type OAuthAuthorizationRequestStatus = 'pending' | 'denied' | 'consumed';
|
|
4390
4542
|
export type OAuthClientRegistrationMode = 'registered' | 'client_id_metadata_document';
|
|
@@ -4393,12 +4545,14 @@ export type OAuthGrantSortField = 'granted_at' | 'client_name' | 'user_name' | '
|
|
|
4393
4545
|
export type OAuthGrantSortOrder = 'asc' | 'desc';
|
|
4394
4546
|
/** An OAuth client's registration, without the id the server issues for it. */
|
|
4395
4547
|
export type OAuthClientData = {
|
|
4548
|
+
app_id?: string | undefined;
|
|
4396
4549
|
client_name: string;
|
|
4397
4550
|
client_type: OAuthClientType;
|
|
4398
4551
|
redirect_uris: string[];
|
|
4399
4552
|
grant_types: OAuthGrantType[];
|
|
4400
4553
|
response_types: OAuthResponseType[];
|
|
4401
4554
|
token_endpoint_auth_method: OAuthTokenEndpointAuthMethod;
|
|
4555
|
+
jwks_uri?: string | undefined;
|
|
4402
4556
|
allowed_scopes: string[];
|
|
4403
4557
|
default_scopes?: string[] | undefined;
|
|
4404
4558
|
registration_source: OAuthRegistrationSource;
|
|
@@ -4415,12 +4569,14 @@ export type OAuthClientData = {
|
|
|
4415
4569
|
updated_at: string;
|
|
4416
4570
|
};
|
|
4417
4571
|
export type OAuthClient = {
|
|
4572
|
+
app_id?: string | undefined;
|
|
4418
4573
|
client_name: string;
|
|
4419
4574
|
client_type: OAuthClientType;
|
|
4420
4575
|
redirect_uris: string[];
|
|
4421
4576
|
grant_types: OAuthGrantType[];
|
|
4422
4577
|
response_types: OAuthResponseType[];
|
|
4423
4578
|
token_endpoint_auth_method: OAuthTokenEndpointAuthMethod;
|
|
4579
|
+
jwks_uri?: string | undefined;
|
|
4424
4580
|
allowed_scopes: string[];
|
|
4425
4581
|
default_scopes?: string[] | undefined;
|
|
4426
4582
|
registration_source: OAuthRegistrationSource;
|
|
@@ -4439,12 +4595,14 @@ export type OAuthClient = {
|
|
|
4439
4595
|
};
|
|
4440
4596
|
/** The read shape plus the client secret, which is returned by the create call and never again. */
|
|
4441
4597
|
export type OAuthClientCreateResponse = {
|
|
4598
|
+
app_id?: string | undefined;
|
|
4442
4599
|
client_name: string;
|
|
4443
4600
|
client_type: OAuthClientType;
|
|
4444
4601
|
redirect_uris: string[];
|
|
4445
4602
|
grant_types: OAuthGrantType[];
|
|
4446
4603
|
response_types: OAuthResponseType[];
|
|
4447
4604
|
token_endpoint_auth_method: OAuthTokenEndpointAuthMethod;
|
|
4605
|
+
jwks_uri?: string | undefined;
|
|
4448
4606
|
allowed_scopes: string[];
|
|
4449
4607
|
default_scopes?: string[] | undefined;
|
|
4450
4608
|
registration_source: OAuthRegistrationSource;
|
|
@@ -4530,6 +4688,7 @@ export type CreateOAuthClientPayload = {
|
|
|
4530
4688
|
grant_types?: OAuthGrantType[] | undefined;
|
|
4531
4689
|
response_types?: OAuthResponseType[] | undefined;
|
|
4532
4690
|
token_endpoint_auth_method?: OAuthTokenEndpointAuthMethod | undefined;
|
|
4691
|
+
jwks_uri?: string | undefined;
|
|
4533
4692
|
allowed_scopes?: string[] | undefined;
|
|
4534
4693
|
default_scopes?: string[] | undefined;
|
|
4535
4694
|
project_binding_mode?: OAuthProjectBindingMode | undefined;
|
|
@@ -4546,9 +4705,11 @@ export type UpdateOAuthClientPayload = {
|
|
|
4546
4705
|
grant_types?: OAuthGrantType[] | undefined;
|
|
4547
4706
|
response_types?: OAuthResponseType[] | undefined;
|
|
4548
4707
|
token_endpoint_auth_method?: OAuthTokenEndpointAuthMethod | undefined;
|
|
4708
|
+
jwks_uri?: string | undefined;
|
|
4549
4709
|
allowed_scopes?: string[] | undefined;
|
|
4550
4710
|
default_scopes?: string[] | undefined;
|
|
4551
4711
|
status?: OAuthClientStatus | undefined;
|
|
4712
|
+
revoke_previous_client_secret?: boolean | undefined;
|
|
4552
4713
|
project_binding_mode?: OAuthProjectBindingMode | undefined;
|
|
4553
4714
|
fixed_project_id?: string | undefined;
|
|
4554
4715
|
restrict_to_owner_account?: boolean | undefined;
|
|
@@ -4568,6 +4729,7 @@ export type OAuthAuthorizationServerMetadata = {
|
|
|
4568
4729
|
grant_types_supported: string[];
|
|
4569
4730
|
code_challenge_methods_supported: string[];
|
|
4570
4731
|
token_endpoint_auth_methods_supported: string[];
|
|
4732
|
+
token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
|
|
4571
4733
|
scopes_supported: string[];
|
|
4572
4734
|
client_id_metadata_document_supported?: boolean | undefined;
|
|
4573
4735
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
@@ -4608,6 +4770,7 @@ export type OAuthAuthorizationRequest = {
|
|
|
4608
4770
|
user_code?: string | undefined;
|
|
4609
4771
|
client_id: string;
|
|
4610
4772
|
client_name: string;
|
|
4773
|
+
app_id?: string | undefined;
|
|
4611
4774
|
client_metadata?: OAuthClientDisplayMetadata | undefined;
|
|
4612
4775
|
client_registration_mode?: OAuthClientRegistrationMode | undefined;
|
|
4613
4776
|
redirect_uri: string;
|
|
@@ -4681,6 +4844,64 @@ export type OAuthLoginUserNotFoundResponse = {
|
|
|
4681
4844
|
error: 'user_not_found';
|
|
4682
4845
|
ensure_user_url: string;
|
|
4683
4846
|
};
|
|
4847
|
+
export type OidcFederationConnectionPayload = {
|
|
4848
|
+
name: string;
|
|
4849
|
+
issuer: string;
|
|
4850
|
+
jwks_uri?: string | undefined;
|
|
4851
|
+
external_id_claim: string;
|
|
4852
|
+
allowed_audiences: string[];
|
|
4853
|
+
allowed_algorithms: ('RS256' | 'ES256')[];
|
|
4854
|
+
subject_token_type: 'urn:ietf:params:oauth:token-type:jwt' | 'urn:ietf:params:oauth:token-type:id_token' | 'urn:ietf:params:oauth:token-type:access_token';
|
|
4855
|
+
required_claims?: Record<string, string> | undefined;
|
|
4856
|
+
all_projects?: boolean | undefined;
|
|
4857
|
+
allowed_project_ids: string[];
|
|
4858
|
+
allowed_client_ids?: string[] | undefined;
|
|
4859
|
+
allowed_scopes?: string[] | undefined;
|
|
4860
|
+
max_token_ttl_seconds: number;
|
|
4861
|
+
max_subject_token_age_seconds?: number | undefined;
|
|
4862
|
+
enabled: boolean;
|
|
4863
|
+
};
|
|
4864
|
+
export type OidcFederationConnection = {
|
|
4865
|
+
name: string;
|
|
4866
|
+
issuer: string;
|
|
4867
|
+
jwks_uri?: string | undefined;
|
|
4868
|
+
external_id_claim: string;
|
|
4869
|
+
allowed_audiences: string[];
|
|
4870
|
+
allowed_algorithms: ('RS256' | 'ES256')[];
|
|
4871
|
+
subject_token_type: 'urn:ietf:params:oauth:token-type:jwt' | 'urn:ietf:params:oauth:token-type:id_token' | 'urn:ietf:params:oauth:token-type:access_token';
|
|
4872
|
+
required_claims?: Record<string, string> | undefined;
|
|
4873
|
+
all_projects?: boolean | undefined;
|
|
4874
|
+
allowed_project_ids: string[];
|
|
4875
|
+
allowed_client_ids?: string[] | undefined;
|
|
4876
|
+
allowed_scopes?: string[] | undefined;
|
|
4877
|
+
max_token_ttl_seconds: number;
|
|
4878
|
+
max_subject_token_age_seconds: number;
|
|
4879
|
+
enabled: boolean;
|
|
4880
|
+
id: string;
|
|
4881
|
+
account_id: string;
|
|
4882
|
+
};
|
|
4883
|
+
export type OidcFederationConnectionArray = OidcFederationConnection[];
|
|
4884
|
+
export type OAuthTokenExchangeRequest = {
|
|
4885
|
+
grant_type: 'urn:ietf:params:oauth:grant-type:token-exchange';
|
|
4886
|
+
subject_token: string;
|
|
4887
|
+
subject_token_type: 'urn:ietf:params:oauth:token-type:jwt' | 'urn:ietf:params:oauth:token-type:id_token' | 'urn:ietf:params:oauth:token-type:access_token';
|
|
4888
|
+
requested_token_type?: 'urn:ietf:params:oauth:token-type:access_token' | undefined;
|
|
4889
|
+
federation_connection_id: string;
|
|
4890
|
+
client_id?: string | undefined;
|
|
4891
|
+
client_secret?: string | undefined;
|
|
4892
|
+
client_assertion?: string | undefined;
|
|
4893
|
+
client_assertion_type?: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer' | undefined;
|
|
4894
|
+
project_id: string;
|
|
4895
|
+
resource: string;
|
|
4896
|
+
scope?: string | undefined;
|
|
4897
|
+
};
|
|
4898
|
+
export type OAuthTokenExchangeResponse = {
|
|
4899
|
+
access_token: string;
|
|
4900
|
+
token_type: 'Bearer';
|
|
4901
|
+
expires_in: number;
|
|
4902
|
+
scope?: string | undefined;
|
|
4903
|
+
issued_token_type: 'urn:ietf:params:oauth:token-type:access_token';
|
|
4904
|
+
};
|
|
4684
4905
|
/**
|
|
4685
4906
|
* OAuth Provider data stored in MongoDB.
|
|
4686
4907
|
* Represents the configuration for an OAuth 2.0 provider at the project level.
|
|
@@ -6950,6 +7171,7 @@ export type PublishProcessDefinitionPayload = {
|
|
|
6950
7171
|
tags?: string[] | undefined;
|
|
6951
7172
|
label?: string | undefined;
|
|
6952
7173
|
comment?: string | undefined;
|
|
7174
|
+
idempotency_key?: string | undefined;
|
|
6953
7175
|
};
|
|
6954
7176
|
export type RevertProcessDefinitionPayload = {
|
|
6955
7177
|
confirmed: boolean;
|
|
@@ -10084,6 +10306,7 @@ export interface ApiComponentTypes {
|
|
|
10084
10306
|
AppCapabilities: AppCapabilities;
|
|
10085
10307
|
AppAccessControl: AppAccessControl;
|
|
10086
10308
|
AppSourceConfig: AppSourceConfig;
|
|
10309
|
+
AppGitSourceProvider: AppGitSourceProvider;
|
|
10087
10310
|
AppManifestSource: AppManifestSource;
|
|
10088
10311
|
SuccessResponse: SuccessResponse;
|
|
10089
10312
|
OAuthProvider: OAuthProvider;
|
|
@@ -10121,6 +10344,11 @@ export interface ApiComponentTypes {
|
|
|
10121
10344
|
OAuthDeviceAuthorizationRequest: OAuthDeviceAuthorizationRequest;
|
|
10122
10345
|
OAuthDeviceAuthorizationResponse: OAuthDeviceAuthorizationResponse;
|
|
10123
10346
|
OAuthTokenResponse: OAuthTokenResponse;
|
|
10347
|
+
OidcFederationConnectionPayload: OidcFederationConnectionPayload;
|
|
10348
|
+
OidcFederationConnection: OidcFederationConnection;
|
|
10349
|
+
OidcFederationConnectionArray: OidcFederationConnectionArray;
|
|
10350
|
+
OAuthTokenExchangeRequest: OAuthTokenExchangeRequest;
|
|
10351
|
+
OAuthTokenExchangeResponse: OAuthTokenExchangeResponse;
|
|
10124
10352
|
OAuthClient: OAuthClient;
|
|
10125
10353
|
OAuthClientArray: OAuthClientArray;
|
|
10126
10354
|
OAuthClientCreateResponse: OAuthClientCreateResponse;
|
|
@@ -11077,6 +11305,20 @@ export interface ApiComponentTypes {
|
|
|
11077
11305
|
AppRepoBranch: AppRepoBranch;
|
|
11078
11306
|
AppRepoDocumentCommit: AppRepoDocumentCommit;
|
|
11079
11307
|
AppVersionGitSource: AppVersionGitSource;
|
|
11308
|
+
AppGithubConfiguration: AppGithubConfiguration;
|
|
11309
|
+
StartAppGithubAuthorizationResponse: StartAppGithubAuthorizationResponse;
|
|
11310
|
+
ExchangeAppGithubAuthorizationRequest: ExchangeAppGithubAuthorizationRequest;
|
|
11311
|
+
AppGithubRepositoriesQuery: AppGithubRepositoriesQuery;
|
|
11312
|
+
ExchangeAppGithubAuthorizationResponse: ExchangeAppGithubAuthorizationResponse;
|
|
11313
|
+
AppGithubInstallation: AppGithubInstallation;
|
|
11314
|
+
AppGithubAccount: AppGithubAccount;
|
|
11315
|
+
AppGithubRepository: AppGithubRepository;
|
|
11316
|
+
AppGithubRepositoryCreation: AppGithubRepositoryCreation;
|
|
11317
|
+
AppGithubRepositoryList: AppGithubRepositoryList;
|
|
11318
|
+
AppGithubRepositorySetupQuery: AppGithubRepositorySetupQuery;
|
|
11319
|
+
AppGithubBranchState: AppGithubBranchState;
|
|
11320
|
+
AppGithubRepositorySetup: AppGithubRepositorySetup;
|
|
11321
|
+
AppScaffoldSourceMode: AppScaffoldSourceMode;
|
|
11080
11322
|
StartAppScaffoldRequest: StartAppScaffoldRequest;
|
|
11081
11323
|
StartAppDevelopmentTaskRequest: StartAppDevelopmentTaskRequest;
|
|
11082
11324
|
StartAppBuildRequest: StartAppBuildRequest;
|
|
@@ -11101,6 +11343,7 @@ export interface ApiComponentTypes {
|
|
|
11101
11343
|
AgentRunSearchHit: AgentRunSearchHit;
|
|
11102
11344
|
UpsertAppVersionRequest: UpsertAppVersionRequest;
|
|
11103
11345
|
AppInstallationPayload: AppInstallationPayload;
|
|
11346
|
+
AppInstanceAvailability: AppInstanceAvailability;
|
|
11104
11347
|
AppDevelopmentTaskDetails: AppDevelopmentTaskDetails;
|
|
11105
11348
|
AppVersionRecordArray: AppVersionRecordArray;
|
|
11106
11349
|
AppToolCollectionArray: AppToolCollectionArray;
|
|
@@ -11179,6 +11422,7 @@ export interface ApiComponentTypes {
|
|
|
11179
11422
|
MCPOAuthConfigMap: MCPOAuthConfigMap;
|
|
11180
11423
|
AppWidgetInfo: AppWidgetInfo;
|
|
11181
11424
|
AppDashboardDefinition: AppDashboardDefinition;
|
|
11425
|
+
AppOAuthClientConfig: AppOAuthClientConfig;
|
|
11182
11426
|
AppManifestData: AppManifestData;
|
|
11183
11427
|
UpdateAppPayload: UpdateAppPayload;
|
|
11184
11428
|
AppManifest: AppManifest;
|