Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export type CustomProvidersCommitsCreateOutput = {
| 'deploying'
| 'deployment_succeeded'
| 'deployment_failed';
config: {
object: 'custom_provider.version.config';
schema: { type: 'json_schema'; schema: Record<string, any> };
transformer: string;
} | null;
index: number;
identifier: string;
deployment: {
Expand Down Expand Up @@ -173,6 +178,11 @@ export type CustomProvidersCommitsCreateOutput = {
| 'deploying'
| 'deployment_succeeded'
| 'deployment_failed';
config: {
object: 'custom_provider.version.config';
schema: { type: 'json_schema'; schema: Record<string, any> };
transformer: string;
} | null;
index: number;
identifier: string;
deployment: {
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export type CustomProvidersCommitsGetOutput = {
| 'deploying'
| 'deployment_succeeded'
| 'deployment_failed';
config: {
object: 'custom_provider.version.config';
schema: { type: 'json_schema'; schema: Record<string, any> };
transformer: string;
} | null;
index: number;
identifier: string;
deployment: {
Expand Down Expand Up @@ -173,6 +178,11 @@ export type CustomProvidersCommitsGetOutput = {
| 'deploying'
| 'deployment_succeeded'
| 'deployment_failed';
config: {
object: 'custom_provider.version.config';
schema: { type: 'json_schema'; schema: Record<string, any> };
transformer: string;
} | null;
index: number;
identifier: string;
deployment: {
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ export type CustomProvidersCommitsListOutput = {
| 'deploying'
| 'deployment_succeeded'
| 'deployment_failed';
config: {
object: 'custom_provider.version.config';
schema: { type: 'json_schema'; schema: Record<string, any> };
transformer: string;
} | null;
index: number;
identifier: string;
deployment: {
Expand Down Expand Up @@ -174,6 +179,11 @@ export type CustomProvidersCommitsListOutput = {
| 'deploying'
| 'deployment_succeeded'
| 'deployment_failed';
config: {
object: 'custom_provider.version.config';
schema: { type: 'json_schema'; schema: Record<string, any> };
transformer: string;
} | null;
index: number;
identifier: string;
deployment: {
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, any> | 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<string, any> };
transformer: string;
};
};
scmRepo: {
object: 'scm.repository';
Expand Down Expand Up @@ -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()
Expand All @@ -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())
})
)
})
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, any> | 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<string, any> };
transformer: string;
};
};
scmRepo: {
object: 'scm.repository';
Expand Down Expand Up @@ -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()
Expand All @@ -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())
})
)
})
),
Expand Down
Loading
Loading