From 97801c06e2f2de97ed497824b41125acda0a3c1d Mon Sep 17 00:00:00 2001 From: Tobias Herber <22559657+herber@users.noreply.github.com> Date: Sat, 14 Mar 2026 10:25:29 +0100 Subject: [PATCH] Expose custom provider config --- .../custom-providers/commits/create.ts | 38 ++++++++++++++++ .../resources/custom-providers/commits/get.ts | 38 ++++++++++++++++ .../custom-providers/commits/list.ts | 44 +++++++++++++++++++ .../resources/custom-providers/create.ts | 35 ++++++++++++++- .../resources/custom-providers/get.ts | 35 ++++++++++++++- .../resources/custom-providers/list.ts | 41 ++++++++++++++++- .../resources/custom-providers/update.ts | 35 ++++++++++++++- .../custom-providers/versions/create.ts | 19 ++++++++ .../custom-providers/versions/get.ts | 19 ++++++++ .../custom-providers/versions/list.ts | 19 ++++++++ .../custom-providers/commits/create.ts | 38 ++++++++++++++++ .../instance/custom-providers/commits/get.ts | 38 ++++++++++++++++ .../instance/custom-providers/commits/list.ts | 44 +++++++++++++++++++ .../instance/custom-providers/create.ts | 35 ++++++++++++++- .../instance/custom-providers/get.ts | 35 ++++++++++++++- .../instance/custom-providers/list.ts | 41 ++++++++++++++++- .../instance/custom-providers/update.ts | 35 ++++++++++++++- .../custom-providers/versions/create.ts | 19 ++++++++ .../instance/custom-providers/versions/get.ts | 19 ++++++++ .../custom-providers/versions/list.ts | 19 ++++++++ .../identities/delegation-configs/update.ts | 12 +---- .../identities/delegation-configs/update.ts | 12 +---- .../custom-providers/commits/create.ts | 38 ++++++++++++++++ .../instance/custom-providers/commits/get.ts | 38 ++++++++++++++++ .../instance/custom-providers/commits/list.ts | 44 +++++++++++++++++++ .../instance/custom-providers/create.ts | 35 ++++++++++++++- .../instance/custom-providers/get.ts | 35 ++++++++++++++- .../instance/custom-providers/list.ts | 41 ++++++++++++++++- .../instance/custom-providers/update.ts | 35 ++++++++++++++- .../custom-providers/versions/create.ts | 19 ++++++++ .../instance/custom-providers/versions/get.ts | 19 ++++++++ .../custom-providers/versions/list.ts | 19 ++++++++ .../identities/delegation-configs/update.ts | 12 +---- .../custom-providers/commits/create.ts | 38 ++++++++++++++++ .../resources/custom-providers/commits/get.ts | 38 ++++++++++++++++ .../custom-providers/commits/list.ts | 44 +++++++++++++++++++ .../resources/custom-providers/create.ts | 35 ++++++++++++++- .../resources/custom-providers/get.ts | 35 ++++++++++++++- .../resources/custom-providers/list.ts | 38 +++++++++++++++- .../resources/custom-providers/update.ts | 35 ++++++++++++++- .../custom-providers/versions/create.ts | 19 ++++++++ .../custom-providers/versions/get.ts | 19 ++++++++ .../custom-providers/versions/list.ts | 19 ++++++++ .../custom-providers/commits/create.ts | 38 ++++++++++++++++ .../instance/custom-providers/commits/get.ts | 38 ++++++++++++++++ .../instance/custom-providers/commits/list.ts | 44 +++++++++++++++++++ .../instance/custom-providers/create.ts | 35 ++++++++++++++- .../instance/custom-providers/get.ts | 35 ++++++++++++++- .../instance/custom-providers/list.ts | 38 +++++++++++++++- .../instance/custom-providers/update.ts | 35 ++++++++++++++- .../custom-providers/versions/create.ts | 19 ++++++++ .../instance/custom-providers/versions/get.ts | 19 ++++++++ .../custom-providers/versions/list.ts | 19 ++++++++ .../identities/delegation-configs/update.ts | 12 +---- .../identities/delegation-configs/update.ts | 12 +---- .../custom-providers/commits/create.ts | 38 ++++++++++++++++ .../instance/custom-providers/commits/get.ts | 38 ++++++++++++++++ .../instance/custom-providers/commits/list.ts | 44 +++++++++++++++++++ .../instance/custom-providers/create.ts | 35 ++++++++++++++- .../instance/custom-providers/get.ts | 35 ++++++++++++++- .../instance/custom-providers/list.ts | 38 +++++++++++++++- .../instance/custom-providers/update.ts | 35 ++++++++++++++- .../custom-providers/versions/create.ts | 19 ++++++++ .../instance/custom-providers/versions/get.ts | 19 ++++++++ .../custom-providers/versions/list.ts | 19 ++++++++ .../identities/delegation-configs/update.ts | 12 +---- 66 files changed, 1911 insertions(+), 90 deletions(-) diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/create.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/create.ts index 680a9ad..46c4a6b 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/create.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/create.ts @@ -37,6 +37,11 @@ export type CustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type CustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/get.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/get.ts index 9321e95..079991a 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/get.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/get.ts @@ -37,6 +37,11 @@ export type CustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type CustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/list.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/list.ts index b5326d0..0797784 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/list.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/commits/list.ts @@ -38,6 +38,11 @@ export type CustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -174,6 +179,11 @@ export type CustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -422,6 +432,23 @@ export let mapCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -752,6 +779,23 @@ export let mapCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/create.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/create.ts index e1d0024..8d77f13 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/create.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/create.ts @@ -4,20 +4,35 @@ export type CustomProvidersCreateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -113,15 +128,18 @@ export let mapCustomProvidersCreateOutput = mtMap.union([ object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -139,9 +157,24 @@ export let mapCustomProvidersCreateOutput = mtMap.union([ remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/get.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/get.ts index 57e947d..e5da9c9 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/get.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/get.ts @@ -4,20 +4,35 @@ export type CustomProvidersGetOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -113,15 +128,18 @@ export let mapCustomProvidersGetOutput = mtMap.union([ object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -139,9 +157,24 @@ export let mapCustomProvidersGetOutput = mtMap.union([ remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/list.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/list.ts index 3138908..361717c 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/list.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/list.ts @@ -5,20 +5,35 @@ export type CustomProvidersListOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -121,6 +136,7 @@ export let mapCustomProvidersListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField( 'description', @@ -130,9 +146,11 @@ export let mapCustomProvidersListOutput = draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -150,12 +168,33 @@ export let mapCustomProvidersListOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField( 'transport', mtMap.passthrough() ) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.passthrough() + ) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/update.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/update.ts index 738dc3b..f04933b 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/update.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/update.ts @@ -4,20 +4,35 @@ export type CustomProvidersUpdateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -113,15 +128,18 @@ export let mapCustomProvidersUpdateOutput = mtMap.union([ object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -139,9 +157,24 @@ export let mapCustomProvidersUpdateOutput = mtMap.union([ remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/create.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/create.ts index 43c8ead..32d343e 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/create.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/create.ts @@ -4,6 +4,11 @@ export type CustomProvidersVersionsCreateOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapCustomProvidersVersionsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/get.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/get.ts index 78a9f1b..7574575 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/get.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/get.ts @@ -4,6 +4,11 @@ export type CustomProvidersVersionsGetOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapCustomProvidersVersionsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/list.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/list.ts index 8e54bf9..14f7c7d 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/list.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/custom-providers/versions/list.ts @@ -9,6 +9,11 @@ export type CustomProvidersVersionsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -149,6 +154,20 @@ export let mapCustomProvidersVersionsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/create.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/create.ts index dc799bc..0dd79ab 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/create.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/create.ts @@ -37,6 +37,11 @@ export type DashboardInstanceCustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type DashboardInstanceCustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapDashboardInstanceCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapDashboardInstanceCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/get.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/get.ts index 5defafb..b2562c6 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/get.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/get.ts @@ -37,6 +37,11 @@ export type DashboardInstanceCustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type DashboardInstanceCustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapDashboardInstanceCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapDashboardInstanceCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/list.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/list.ts index c5ac3d7..7be145a 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/list.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/commits/list.ts @@ -38,6 +38,11 @@ export type DashboardInstanceCustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -174,6 +179,11 @@ export type DashboardInstanceCustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -422,6 +432,23 @@ export let mapDashboardInstanceCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -752,6 +779,23 @@ export let mapDashboardInstanceCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/create.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/create.ts index ba8adad..d2ba4a4 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/create.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/create.ts @@ -4,20 +4,35 @@ export type DashboardInstanceCustomProvidersCreateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -113,15 +128,18 @@ export let mapDashboardInstanceCustomProvidersCreateOutput = mtMap.union([ object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -139,9 +157,24 @@ export let mapDashboardInstanceCustomProvidersCreateOutput = mtMap.union([ remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/get.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/get.ts index cd44915..2da01a3 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/get.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/get.ts @@ -4,20 +4,35 @@ export type DashboardInstanceCustomProvidersGetOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -113,15 +128,18 @@ export let mapDashboardInstanceCustomProvidersGetOutput = mtMap.union([ object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -139,9 +157,24 @@ export let mapDashboardInstanceCustomProvidersGetOutput = mtMap.union([ remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/list.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/list.ts index fff715e..bd353c3 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/list.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/list.ts @@ -5,20 +5,35 @@ export type DashboardInstanceCustomProvidersListOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -121,6 +136,7 @@ export let mapDashboardInstanceCustomProvidersListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField( 'description', @@ -130,9 +146,11 @@ export let mapDashboardInstanceCustomProvidersListOutput = draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -150,12 +168,33 @@ export let mapDashboardInstanceCustomProvidersListOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField( 'transport', mtMap.passthrough() ) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.passthrough() + ) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/update.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/update.ts index 14923ba..15bd2e0 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/update.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/update.ts @@ -4,20 +4,35 @@ export type DashboardInstanceCustomProvidersUpdateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -113,15 +128,18 @@ export let mapDashboardInstanceCustomProvidersUpdateOutput = mtMap.union([ object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -139,9 +157,24 @@ export let mapDashboardInstanceCustomProvidersUpdateOutput = mtMap.union([ remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/create.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/create.ts index 8093350..4779757 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/create.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/create.ts @@ -4,6 +4,11 @@ export type DashboardInstanceCustomProvidersVersionsCreateOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapDashboardInstanceCustomProvidersVersionsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/get.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/get.ts index 84b6ed7..33fe7d8 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/get.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/get.ts @@ -4,6 +4,11 @@ export type DashboardInstanceCustomProvidersVersionsGetOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapDashboardInstanceCustomProvidersVersionsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/list.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/list.ts index 7426725..b2ebb38 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/list.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/custom-providers/versions/list.ts @@ -9,6 +9,11 @@ export type DashboardInstanceCustomProvidersVersionsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -149,6 +154,20 @@ export let mapDashboardInstanceCustomProvidersVersionsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/identities/delegation-configs/update.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/identities/delegation-configs/update.ts index 1638479..dff4c57 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/identities/delegation-configs/update.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/dashboard/instance/identities/delegation-configs/update.ts @@ -39,22 +39,12 @@ export type DashboardInstanceIdentitiesDelegationConfigsUpdateBody = { name?: string | undefined; description?: string | undefined; metadata?: Record | undefined; - subDelegationBehavior?: 'allow' | 'deny' | 'require_consent' | undefined; - subDelegationDepth?: number | undefined; }; export let mapDashboardInstanceIdentitiesDelegationConfigsUpdateBody = mtMap.object({ name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), - metadata: mtMap.objectField('metadata', mtMap.passthrough()), - subDelegationBehavior: mtMap.objectField( - 'sub_delegation_behavior', - mtMap.passthrough() - ), - subDelegationDepth: mtMap.objectField( - 'sub_delegation_depth', - mtMap.passthrough() - ) + metadata: mtMap.objectField('metadata', mtMap.passthrough()) }); diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/identities/delegation-configs/update.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/identities/delegation-configs/update.ts index c57846c..24b55fe 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/identities/delegation-configs/update.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/identities/delegation-configs/update.ts @@ -39,22 +39,12 @@ export type IdentitiesDelegationConfigsUpdateBody = { name?: string | undefined; description?: string | undefined; metadata?: Record | undefined; - subDelegationBehavior?: 'allow' | 'deny' | 'require_consent' | undefined; - subDelegationDepth?: number | undefined; }; export let mapIdentitiesDelegationConfigsUpdateBody = mtMap.object({ name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), - metadata: mtMap.objectField('metadata', mtMap.passthrough()), - subDelegationBehavior: mtMap.objectField( - 'sub_delegation_behavior', - mtMap.passthrough() - ), - subDelegationDepth: mtMap.objectField( - 'sub_delegation_depth', - mtMap.passthrough() - ) + metadata: mtMap.objectField('metadata', mtMap.passthrough()) }); diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/create.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/create.ts index fdce4bc..f081413 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/create.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/create.ts @@ -37,6 +37,11 @@ export type ManagementInstanceCustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type ManagementInstanceCustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapManagementInstanceCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapManagementInstanceCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/get.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/get.ts index 6d9dd27..0928a30 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/get.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/get.ts @@ -37,6 +37,11 @@ export type ManagementInstanceCustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type ManagementInstanceCustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapManagementInstanceCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapManagementInstanceCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/list.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/list.ts index 4acdf58..5ffafed 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/list.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/commits/list.ts @@ -38,6 +38,11 @@ export type ManagementInstanceCustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -174,6 +179,11 @@ export type ManagementInstanceCustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -422,6 +432,23 @@ export let mapManagementInstanceCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -752,6 +779,23 @@ export let mapManagementInstanceCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/create.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/create.ts index d20ef57..b70d127 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/create.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/create.ts @@ -4,20 +4,35 @@ export type ManagementInstanceCustomProvidersCreateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -113,15 +128,18 @@ export let mapManagementInstanceCustomProvidersCreateOutput = mtMap.union([ object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -139,9 +157,24 @@ export let mapManagementInstanceCustomProvidersCreateOutput = mtMap.union([ remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/get.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/get.ts index a8b0554..1b42453 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/get.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/get.ts @@ -4,20 +4,35 @@ export type ManagementInstanceCustomProvidersGetOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -113,15 +128,18 @@ export let mapManagementInstanceCustomProvidersGetOutput = mtMap.union([ object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -139,9 +157,24 @@ export let mapManagementInstanceCustomProvidersGetOutput = mtMap.union([ remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/list.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/list.ts index e41bbe0..13a7541 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/list.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/list.ts @@ -5,20 +5,35 @@ export type ManagementInstanceCustomProvidersListOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -121,6 +136,7 @@ export let mapManagementInstanceCustomProvidersListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField( 'description', @@ -130,9 +146,11 @@ export let mapManagementInstanceCustomProvidersListOutput = draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -150,12 +168,33 @@ export let mapManagementInstanceCustomProvidersListOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField( 'transport', mtMap.passthrough() ) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.passthrough() + ) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/update.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/update.ts index 3e0cac5..90e1cdc 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/update.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/update.ts @@ -4,20 +4,35 @@ export type ManagementInstanceCustomProvidersUpdateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -113,15 +128,18 @@ export let mapManagementInstanceCustomProvidersUpdateOutput = mtMap.union([ object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -139,9 +157,24 @@ export let mapManagementInstanceCustomProvidersUpdateOutput = mtMap.union([ remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/create.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/create.ts index c9a4354..2bcec72 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/create.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/create.ts @@ -4,6 +4,11 @@ export type ManagementInstanceCustomProvidersVersionsCreateOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapManagementInstanceCustomProvidersVersionsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/get.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/get.ts index 4b31f80..0703525 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/get.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/get.ts @@ -4,6 +4,11 @@ export type ManagementInstanceCustomProvidersVersionsGetOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapManagementInstanceCustomProvidersVersionsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/list.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/list.ts index 52739ee..ea3ab5a 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/list.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/custom-providers/versions/list.ts @@ -9,6 +9,11 @@ export type ManagementInstanceCustomProvidersVersionsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -149,6 +154,20 @@ export let mapManagementInstanceCustomProvidersVersionsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/identities/delegation-configs/update.ts b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/identities/delegation-configs/update.ts index c6801e9..0cb0eeb 100644 --- a/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/identities/delegation-configs/update.ts +++ b/sdk/gen/src/mt_2025_01_01_dashboard/resources/management/instance/identities/delegation-configs/update.ts @@ -39,22 +39,12 @@ export type ManagementInstanceIdentitiesDelegationConfigsUpdateBody = { name?: string | undefined; description?: string | undefined; metadata?: Record | undefined; - subDelegationBehavior?: 'allow' | 'deny' | 'require_consent' | undefined; - subDelegationDepth?: number | undefined; }; export let mapManagementInstanceIdentitiesDelegationConfigsUpdateBody = mtMap.object({ name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), - metadata: mtMap.objectField('metadata', mtMap.passthrough()), - subDelegationBehavior: mtMap.objectField( - 'sub_delegation_behavior', - mtMap.passthrough() - ), - subDelegationDepth: mtMap.objectField( - 'sub_delegation_depth', - mtMap.passthrough() - ) + metadata: mtMap.objectField('metadata', mtMap.passthrough()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/create.ts index 680a9ad..46c4a6b 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/create.ts @@ -37,6 +37,11 @@ export type CustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type CustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/get.ts index 9321e95..079991a 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/get.ts @@ -37,6 +37,11 @@ export type CustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type CustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/list.ts index b5326d0..0797784 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/commits/list.ts @@ -38,6 +38,11 @@ export type CustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -174,6 +179,11 @@ export type CustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -422,6 +432,23 @@ export let mapCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -752,6 +779,23 @@ export let mapCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/create.ts index eef1f6f..1e74dcb 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/create.ts @@ -4,20 +4,35 @@ export type CustomProvidersCreateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -83,15 +98,18 @@ export let mapCustomProvidersCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -109,9 +127,24 @@ export let mapCustomProvidersCreateOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/get.ts index a81616e..211eae7 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/get.ts @@ -4,20 +4,35 @@ export type CustomProvidersGetOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -83,15 +98,18 @@ export let mapCustomProvidersGetOutput = mtMap.object( object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -109,9 +127,24 @@ export let mapCustomProvidersGetOutput = mtMap.object( remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/list.ts index 17ad58a..b03d12c 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/list.ts @@ -5,20 +5,35 @@ export type CustomProvidersListOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -90,15 +105,18 @@ export let mapCustomProvidersListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -116,9 +134,27 @@ export let mapCustomProvidersListOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/update.ts index 87134b8..ed96dde 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/update.ts @@ -4,20 +4,35 @@ export type CustomProvidersUpdateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -83,15 +98,18 @@ export let mapCustomProvidersUpdateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -109,9 +127,24 @@ export let mapCustomProvidersUpdateOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/create.ts index 43c8ead..32d343e 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/create.ts @@ -4,6 +4,11 @@ export type CustomProvidersVersionsCreateOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapCustomProvidersVersionsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/get.ts index 78a9f1b..7574575 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/get.ts @@ -4,6 +4,11 @@ export type CustomProvidersVersionsGetOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapCustomProvidersVersionsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/list.ts index 8e54bf9..14f7c7d 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/list.ts @@ -9,6 +9,11 @@ export type CustomProvidersVersionsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -149,6 +154,20 @@ export let mapCustomProvidersVersionsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/create.ts index dc799bc..0dd79ab 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/create.ts @@ -37,6 +37,11 @@ export type DashboardInstanceCustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type DashboardInstanceCustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapDashboardInstanceCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapDashboardInstanceCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/get.ts index 5defafb..b2562c6 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/get.ts @@ -37,6 +37,11 @@ export type DashboardInstanceCustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type DashboardInstanceCustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapDashboardInstanceCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapDashboardInstanceCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/list.ts index c5ac3d7..7be145a 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/commits/list.ts @@ -38,6 +38,11 @@ export type DashboardInstanceCustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -174,6 +179,11 @@ export type DashboardInstanceCustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -422,6 +432,23 @@ export let mapDashboardInstanceCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -752,6 +779,23 @@ export let mapDashboardInstanceCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/create.ts index 3c4bb48..d7b58cb 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/create.ts @@ -4,20 +4,35 @@ export type DashboardInstanceCustomProvidersCreateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -83,15 +98,18 @@ export let mapDashboardInstanceCustomProvidersCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -109,9 +127,24 @@ export let mapDashboardInstanceCustomProvidersCreateOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/get.ts index 6c1cf52..9e310a9 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/get.ts @@ -4,20 +4,35 @@ export type DashboardInstanceCustomProvidersGetOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -83,15 +98,18 @@ export let mapDashboardInstanceCustomProvidersGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -109,9 +127,24 @@ export let mapDashboardInstanceCustomProvidersGetOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/list.ts index d16962f..aa8a452 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/list.ts @@ -5,20 +5,35 @@ export type DashboardInstanceCustomProvidersListOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -90,15 +105,18 @@ export let mapDashboardInstanceCustomProvidersListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -116,9 +134,27 @@ export let mapDashboardInstanceCustomProvidersListOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/update.ts index 558657c..e41e6d3 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/update.ts @@ -4,20 +4,35 @@ export type DashboardInstanceCustomProvidersUpdateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -83,15 +98,18 @@ export let mapDashboardInstanceCustomProvidersUpdateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -109,9 +127,24 @@ export let mapDashboardInstanceCustomProvidersUpdateOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/create.ts index 8093350..4779757 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/create.ts @@ -4,6 +4,11 @@ export type DashboardInstanceCustomProvidersVersionsCreateOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapDashboardInstanceCustomProvidersVersionsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/get.ts index 84b6ed7..33fe7d8 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/get.ts @@ -4,6 +4,11 @@ export type DashboardInstanceCustomProvidersVersionsGetOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapDashboardInstanceCustomProvidersVersionsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/list.ts index 7426725..b2ebb38 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/list.ts @@ -9,6 +9,11 @@ export type DashboardInstanceCustomProvidersVersionsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -149,6 +154,20 @@ export let mapDashboardInstanceCustomProvidersVersionsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/identities/delegation-configs/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/identities/delegation-configs/update.ts index 1638479..dff4c57 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/identities/delegation-configs/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/identities/delegation-configs/update.ts @@ -39,22 +39,12 @@ export type DashboardInstanceIdentitiesDelegationConfigsUpdateBody = { name?: string | undefined; description?: string | undefined; metadata?: Record | undefined; - subDelegationBehavior?: 'allow' | 'deny' | 'require_consent' | undefined; - subDelegationDepth?: number | undefined; }; export let mapDashboardInstanceIdentitiesDelegationConfigsUpdateBody = mtMap.object({ name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), - metadata: mtMap.objectField('metadata', mtMap.passthrough()), - subDelegationBehavior: mtMap.objectField( - 'sub_delegation_behavior', - mtMap.passthrough() - ), - subDelegationDepth: mtMap.objectField( - 'sub_delegation_depth', - mtMap.passthrough() - ) + metadata: mtMap.objectField('metadata', mtMap.passthrough()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/identities/delegation-configs/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/identities/delegation-configs/update.ts index c57846c..24b55fe 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/identities/delegation-configs/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/identities/delegation-configs/update.ts @@ -39,22 +39,12 @@ export type IdentitiesDelegationConfigsUpdateBody = { name?: string | undefined; description?: string | undefined; metadata?: Record | undefined; - subDelegationBehavior?: 'allow' | 'deny' | 'require_consent' | undefined; - subDelegationDepth?: number | undefined; }; export let mapIdentitiesDelegationConfigsUpdateBody = mtMap.object({ name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), - metadata: mtMap.objectField('metadata', mtMap.passthrough()), - subDelegationBehavior: mtMap.objectField( - 'sub_delegation_behavior', - mtMap.passthrough() - ), - subDelegationDepth: mtMap.objectField( - 'sub_delegation_depth', - mtMap.passthrough() - ) + metadata: mtMap.objectField('metadata', mtMap.passthrough()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/create.ts index fdce4bc..f081413 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/create.ts @@ -37,6 +37,11 @@ export type ManagementInstanceCustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type ManagementInstanceCustomProvidersCommitsCreateOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapManagementInstanceCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapManagementInstanceCustomProvidersCommitsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/get.ts index 6d9dd27..0928a30 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/get.ts @@ -37,6 +37,11 @@ export type ManagementInstanceCustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -173,6 +178,11 @@ export type ManagementInstanceCustomProvidersCommitsGetOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -415,6 +425,20 @@ export let mapManagementInstanceCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -688,6 +712,20 @@ export let mapManagementInstanceCustomProvidersCommitsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/list.ts index 4acdf58..5ffafed 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/commits/list.ts @@ -38,6 +38,11 @@ export type ManagementInstanceCustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -174,6 +179,11 @@ export type ManagementInstanceCustomProvidersCommitsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -422,6 +432,23 @@ export let mapManagementInstanceCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( @@ -752,6 +779,23 @@ export let mapManagementInstanceCustomProvidersCommitsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/create.ts index 8b90f78..a2fdc8b 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/create.ts @@ -4,20 +4,35 @@ export type ManagementInstanceCustomProvidersCreateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -83,15 +98,18 @@ export let mapManagementInstanceCustomProvidersCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -109,9 +127,24 @@ export let mapManagementInstanceCustomProvidersCreateOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/get.ts index 01b823c..950b8a0 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/get.ts @@ -4,20 +4,35 @@ export type ManagementInstanceCustomProvidersGetOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -83,15 +98,18 @@ export let mapManagementInstanceCustomProvidersGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -109,9 +127,24 @@ export let mapManagementInstanceCustomProvidersGetOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/list.ts index 8a8f21a..7800c11 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/list.ts @@ -5,20 +5,35 @@ export type ManagementInstanceCustomProvidersListOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -90,15 +105,18 @@ export let mapManagementInstanceCustomProvidersListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -116,9 +134,27 @@ export let mapManagementInstanceCustomProvidersListOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField( + 'transformer', + mtMap.passthrough() + ) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/update.ts index c908309..aedf717 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/update.ts @@ -4,20 +4,35 @@ export type ManagementInstanceCustomProvidersUpdateOutput = { object: 'custom_provider'; id: string; status: 'active' | 'archived' | 'deleted'; + type: 'function' | 'container' | 'remote'; name: string; description: string | null; metadata: Record | null; draft: { + object: + | 'custom_provider.draft#function' + | 'custom_provider.draft.container' + | 'custom_provider.draft.remote'; containerImage?: | { + object: 'custom_provider.draft.container'; containerRegistry: string; containerImageTag: string; containerImage: string; } | undefined; remoteMcpServer?: - | { url: string; transport: 'sse' | 'streamable_http' } + | { + object: 'custom_provider.draft.remote'; + url: string; + transport: 'sse' | 'streamable_http'; + } | undefined; + config: { + object: 'custom_provider.draft.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + }; }; scmRepo: { object: 'scm.repository'; @@ -83,15 +98,18 @@ export let mapManagementInstanceCustomProvidersUpdateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + type: mtMap.objectField('type', mtMap.passthrough()), name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), metadata: mtMap.objectField('metadata', mtMap.passthrough()), draft: mtMap.objectField( 'draft', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerImage: mtMap.objectField( 'container_image', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), containerRegistry: mtMap.objectField( 'container_registry', mtMap.passthrough() @@ -109,9 +127,24 @@ export let mapManagementInstanceCustomProvidersUpdateOutput = remoteMcpServer: mtMap.objectField( 'remote_mcp_server', mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), url: mtMap.objectField('url', mtMap.passthrough()), transport: mtMap.objectField('transport', mtMap.passthrough()) }) + ), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/create.ts index c9a4354..2bcec72 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/create.ts @@ -4,6 +4,11 @@ export type ManagementInstanceCustomProvidersVersionsCreateOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapManagementInstanceCustomProvidersVersionsCreateOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/get.ts index 4b31f80..0703525 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/get.ts @@ -4,6 +4,11 @@ export type ManagementInstanceCustomProvidersVersionsGetOutput = { object: 'custom_provider.version'; id: string; status: 'queued' | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -138,6 +143,20 @@ export let mapManagementInstanceCustomProvidersVersionsGetOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/list.ts index 52739ee..ea3ab5a 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/list.ts @@ -9,6 +9,11 @@ export type ManagementInstanceCustomProvidersVersionsListOutput = { | 'deploying' | 'deployment_succeeded' | 'deployment_failed'; + config: { + object: 'custom_provider.version.config'; + schema: { type: 'json_schema'; schema: Record }; + transformer: string; + } | null; index: number; identifier: string; deployment: { @@ -149,6 +154,20 @@ export let mapManagementInstanceCustomProvidersVersionsListOutput = object: mtMap.objectField('object', mtMap.passthrough()), id: mtMap.objectField('id', mtMap.passthrough()), status: mtMap.objectField('status', mtMap.passthrough()), + config: mtMap.objectField( + 'config', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + schema: mtMap.objectField( + 'schema', + mtMap.object({ + type: mtMap.objectField('type', mtMap.passthrough()), + schema: mtMap.objectField('schema', mtMap.passthrough()) + }) + ), + transformer: mtMap.objectField('transformer', mtMap.passthrough()) + }) + ), index: mtMap.objectField('index', mtMap.passthrough()), identifier: mtMap.objectField('identifier', mtMap.passthrough()), deployment: mtMap.objectField( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/identities/delegation-configs/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/identities/delegation-configs/update.ts index c6801e9..0cb0eeb 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/identities/delegation-configs/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/identities/delegation-configs/update.ts @@ -39,22 +39,12 @@ export type ManagementInstanceIdentitiesDelegationConfigsUpdateBody = { name?: string | undefined; description?: string | undefined; metadata?: Record | undefined; - subDelegationBehavior?: 'allow' | 'deny' | 'require_consent' | undefined; - subDelegationDepth?: number | undefined; }; export let mapManagementInstanceIdentitiesDelegationConfigsUpdateBody = mtMap.object({ name: mtMap.objectField('name', mtMap.passthrough()), description: mtMap.objectField('description', mtMap.passthrough()), - metadata: mtMap.objectField('metadata', mtMap.passthrough()), - subDelegationBehavior: mtMap.objectField( - 'sub_delegation_behavior', - mtMap.passthrough() - ), - subDelegationDepth: mtMap.objectField( - 'sub_delegation_depth', - mtMap.passthrough() - ) + metadata: mtMap.objectField('metadata', mtMap.passthrough()) });