chore: generate
This commit is contained in:
@@ -23,8 +23,7 @@ const failingAccountLayer = Layer.succeed(
|
|||||||
active: () => Effect.succeed(Option.none()),
|
active: () => Effect.succeed(Option.none()),
|
||||||
activeOrg: () => Effect.succeed(Option.none()),
|
activeOrg: () => Effect.succeed(Option.none()),
|
||||||
list: () => Effect.succeed([]),
|
list: () => Effect.succeed([]),
|
||||||
orgsByAccount: () =>
|
orgsByAccount: () => Effect.fail(new ORIG.AccountServiceError({ message: "simulated upstream failure" })),
|
||||||
Effect.fail(new ORIG.AccountServiceError({ message: "simulated upstream failure" })),
|
|
||||||
remove: () => Effect.void,
|
remove: () => Effect.void,
|
||||||
use: () => Effect.void,
|
use: () => Effect.void,
|
||||||
orgs: () => Effect.succeed([]),
|
orgs: () => Effect.succeed([]),
|
||||||
|
|||||||
@@ -24,7 +24,9 @@ import type {
|
|||||||
EventTuiPromptAppend2,
|
EventTuiPromptAppend2,
|
||||||
EventTuiSessionSelect2,
|
EventTuiSessionSelect2,
|
||||||
EventTuiToastShow2,
|
EventTuiToastShow2,
|
||||||
|
ExperimentalConsoleGetErrors,
|
||||||
ExperimentalConsoleGetResponses,
|
ExperimentalConsoleGetResponses,
|
||||||
|
ExperimentalConsoleListOrgsErrors,
|
||||||
ExperimentalConsoleListOrgsResponses,
|
ExperimentalConsoleListOrgsResponses,
|
||||||
ExperimentalConsoleSwitchOrgResponses,
|
ExperimentalConsoleSwitchOrgResponses,
|
||||||
ExperimentalResourceListResponses,
|
ExperimentalResourceListResponses,
|
||||||
@@ -687,7 +689,11 @@ export class Console extends HeyApiClient {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
return (options?.client ?? this.client).get<ExperimentalConsoleGetResponses, unknown, ThrowOnError>({
|
return (options?.client ?? this.client).get<
|
||||||
|
ExperimentalConsoleGetResponses,
|
||||||
|
ExperimentalConsoleGetErrors,
|
||||||
|
ThrowOnError
|
||||||
|
>({
|
||||||
url: "/experimental/console",
|
url: "/experimental/console",
|
||||||
...options,
|
...options,
|
||||||
...params,
|
...params,
|
||||||
@@ -717,7 +723,11 @@ export class Console extends HeyApiClient {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
return (options?.client ?? this.client).get<ExperimentalConsoleListOrgsResponses, unknown, ThrowOnError>({
|
return (options?.client ?? this.client).get<
|
||||||
|
ExperimentalConsoleListOrgsResponses,
|
||||||
|
ExperimentalConsoleListOrgsErrors,
|
||||||
|
ThrowOnError
|
||||||
|
>({
|
||||||
url: "/experimental/console/orgs",
|
url: "/experimental/console/orgs",
|
||||||
...options,
|
...options,
|
||||||
...params,
|
...params,
|
||||||
|
|||||||
@@ -1361,6 +1361,10 @@ export type ConsoleState = {
|
|||||||
switchableOrgCount: number
|
switchableOrgCount: number
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type EffectHttpApiErrorInternalServerError = {
|
||||||
|
_tag: "InternalServerError"
|
||||||
|
}
|
||||||
|
|
||||||
export type ToolListItem = {
|
export type ToolListItem = {
|
||||||
id: string
|
id: string
|
||||||
description: string
|
description: string
|
||||||
@@ -3612,6 +3616,15 @@ export type ExperimentalConsoleGetData = {
|
|||||||
url: "/experimental/console"
|
url: "/experimental/console"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type ExperimentalConsoleGetErrors = {
|
||||||
|
/**
|
||||||
|
* InternalServerError
|
||||||
|
*/
|
||||||
|
500: EffectHttpApiErrorInternalServerError
|
||||||
|
}
|
||||||
|
|
||||||
|
export type ExperimentalConsoleGetError = ExperimentalConsoleGetErrors[keyof ExperimentalConsoleGetErrors]
|
||||||
|
|
||||||
export type ExperimentalConsoleGetResponses = {
|
export type ExperimentalConsoleGetResponses = {
|
||||||
/**
|
/**
|
||||||
* Active Console provider metadata
|
* Active Console provider metadata
|
||||||
@@ -3631,6 +3644,16 @@ export type ExperimentalConsoleListOrgsData = {
|
|||||||
url: "/experimental/console/orgs"
|
url: "/experimental/console/orgs"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type ExperimentalConsoleListOrgsErrors = {
|
||||||
|
/**
|
||||||
|
* InternalServerError
|
||||||
|
*/
|
||||||
|
500: EffectHttpApiErrorInternalServerError
|
||||||
|
}
|
||||||
|
|
||||||
|
export type ExperimentalConsoleListOrgsError =
|
||||||
|
ExperimentalConsoleListOrgsErrors[keyof ExperimentalConsoleListOrgsErrors]
|
||||||
|
|
||||||
export type ExperimentalConsoleListOrgsResponses = {
|
export type ExperimentalConsoleListOrgsResponses = {
|
||||||
/**
|
/**
|
||||||
* Switchable Console orgs
|
* Switchable Console orgs
|
||||||
|
|||||||
@@ -680,6 +680,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"500": {
|
||||||
|
"description": "InternalServerError",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/effect_HttpApiError_InternalServerError"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description": "Get the active Console org name and the set of provider IDs managed by that Console org.",
|
"description": "Get the active Console org name and the set of provider IDs managed by that Console org.",
|
||||||
@@ -757,6 +767,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"500": {
|
||||||
|
"description": "InternalServerError",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/effect_HttpApiError_InternalServerError"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description": "Get the available Console orgs across logged-in accounts, including the current active org.",
|
"description": "Get the available Console orgs across logged-in accounts, including the current active org.",
|
||||||
@@ -12521,6 +12541,17 @@
|
|||||||
"required": ["consoleManagedProviders", "switchableOrgCount"],
|
"required": ["consoleManagedProviders", "switchableOrgCount"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
"effect_HttpApiError_InternalServerError": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"_tag": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["InternalServerError"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["_tag"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
"ToolListItem": {
|
"ToolListItem": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|||||||
Reference in New Issue
Block a user