// deno-lint-ignore-file no-empty-interface
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String = string;
export interface DECO_CHAT_OAUTH_STARTInput {
returnUrl: String;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface DECO_CHAT_OAUTH_STARTOutput {
stateSchema?: unknown;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_1 = string;
export interface DECO_CHAT_WORKFLOWS_CANCEL_MY_WORKFLOWInput {
runId: String_1;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Boolean = boolean;
export interface DECO_CHAT_WORKFLOWS_CANCEL_MY_WORKFLOWOutput {
cancelled: Boolean;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_2 = string;
export type String_3 = string;
export interface DECO_CHAT_WORKFLOWS_RESUME_MY_WORKFLOWInput {
runId: String_2;
stepId: String_3;
resumeData?: unknown;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Boolean_1 = boolean;
export interface DECO_CHAT_WORKFLOWS_RESUME_MY_WORKFLOWOutput {
resumed: Boolean_1;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_4 = string;
export interface DECO_CHAT_WORKFLOWS_START_MY_WORKFLOWInput {
name: String_4;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_5 = string;
export interface DECO_CHAT_WORKFLOWS_START_MY_WORKFLOWOutput {
id: String_5;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_6 = string;
export interface MY_TOOLInput {
name: String_6;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_7 = string;
export interface MY_TOOLOutput {
message: String_7;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* Unique identifier for the agent
*/
export type String_8 = string;
/**
* Human-readable name of the agent
*/
export type String_9 = string;
/**
* URL to the agent's avatar image
*/
export type String_10 = string;
/**
* System prompt/instructions for the agent
*/
export type String_11 = string;
/**
* Brief description of the agent's purpose or capabilities
*/
export type String_12 = string;
export type String_13 = string;
/**
* Tool names for a given integrationId. Add an empty array for enabling all tools of this integration. This should prevent bugs
*/
export type Array = String_13[];
/**
* Maximum number of steps the agent can take, defaults to 7
*/
export type Number = number;
/**
* Maximum number of tokens the agent can use, defaults to 8192
*/
export type NumberNull = Number_1 | Null;
export type Number_1 = number;
export type Null = null;
export type String_14 =
| "openai:gpt-4.1-mini"
| "google:gemini-2.5-pro"
| "google:gemini-2.5-flash-lite-preview-06-17"
| "anthropic:claude-sonnet-4"
| "anthropic:claude-3.7-sonnet:thinking"
| "openai:gpt-4.1"
| "openai:gpt-4.1-nano"
| "openai:o3-mini-high"
| "x-ai:grok-4"
| "google:gemini-2.5-pro-preview"
| "anthropic:claude-3-7-sonnet-20250219"
| "x-ai:grok-3-beta";
/**
* UUID for BYOK models
*/
export type String_15 = string;
/**
* A memory discriminator for the tenant
*/
export type String_16 = string;
/**
* The number of messages to keep in memory
*/
export type Number_2 = number;
/**
* Whether to use semantic recall
*/
export type Boolean_2 = boolean;
/**
* Whether to use working memory
*/
export type Boolean_3 = boolean;
/**
* The template or JSON schema string to use for working memory
*/
export type String_17 = string;
/**
* URL for the view
*/
export type String_18 = string;
/**
* Name of the view
*/
export type String_19 = string;
/**
* Views where the agent can be used
*/
export type Array_1 = Object_3[];
/**
* Visibility of the agent
*/
export type String_20 = "PUBLIC" | "WORKSPACE" | "PRIVATE";
export type String_21 = string;
export type Null_1 = null;
export type Number_3 = number;
export type Null_2 = null;
export interface AGENTS_CREATEInput {
id?: String_8;
name?: String_9;
avatar?: String_10;
instructions?: String_11;
description?: String_12;
tools_set?: Object;
max_steps?: Number;
max_tokens?: NumberNull;
/**
* Model to use for the agent - either a well-known model ID or UUID for BYOK models
*/
model?: String_14 | String_15;
memory?: Object_1;
views?: Array_1;
visibility?: String_20;
/**
* Access control by role
*/
access?:
| ({
[k: string]: unknown;
} | String_21)
| Null_1;
/**
* Temperature of the LLM. Must be between 0 and 1.
*/
temperature?:
| ({
[k: string]: unknown;
} | Number_3)
| Null_2;
}
/**
* Tools available to the agent
*/
export interface Object {
[k: string]: Array;
}
/**
* Memory to use for the agent
*/
export interface Object_1 {
discriminator?: String_16;
last_messages?: Number_2;
semantic_recall?: Boolean_2;
working_memory?: Object_2;
}
/**
* Working memory to use for the agent
*/
export interface Object_2 {
enabled?: Boolean_3;
template?: String_17;
}
export interface Object_3 {
url: String_18;
name: String_19;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface AGENTS_CREATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_22 = string;
export interface AGENTS_DELETEInput {
id: String_22;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface AGENTS_DELETEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_23 = string;
export interface AGENTS_GETInput {
id: String_23;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface AGENTS_GETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface AGENTS_LISTInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface AGENTS_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_24 = string;
/**
* Unique identifier for the agent
*/
export type String_25 = string;
/**
* Human-readable name of the agent
*/
export type String_26 = string;
/**
* URL to the agent's avatar image
*/
export type String_27 = string;
/**
* System prompt/instructions for the agent
*/
export type String_28 = string;
/**
* Brief description of the agent's purpose or capabilities
*/
export type String_29 = string;
export type String_30 = string;
/**
* Tool names for a given integrationId. Add an empty array for enabling all tools of this integration. This should prevent bugs
*/
export type Array_2 = String_30[];
/**
* Maximum number of steps the agent can take, defaults to 7
*/
export type Number_4 = number;
/**
* Maximum number of tokens the agent can use, defaults to 8192
*/
export type NumberNull_1 = Number_5 | Null_3;
export type Number_5 = number;
export type Null_3 = null;
export type String_31 =
| "openai:gpt-4.1-mini"
| "google:gemini-2.5-pro"
| "google:gemini-2.5-flash-lite-preview-06-17"
| "anthropic:claude-sonnet-4"
| "anthropic:claude-3.7-sonnet:thinking"
| "openai:gpt-4.1"
| "openai:gpt-4.1-nano"
| "openai:o3-mini-high"
| "x-ai:grok-4"
| "google:gemini-2.5-pro-preview"
| "anthropic:claude-3-7-sonnet-20250219"
| "x-ai:grok-3-beta";
/**
* UUID for BYOK models
*/
export type String_32 = string;
/**
* A memory discriminator for the tenant
*/
export type String_33 = string;
/**
* The number of messages to keep in memory
*/
export type Number_6 = number;
/**
* Whether to use semantic recall
*/
export type Boolean_4 = boolean;
/**
* Whether to use working memory
*/
export type Boolean_5 = boolean;
/**
* The template or JSON schema string to use for working memory
*/
export type String_34 = string;
/**
* URL for the view
*/
export type String_35 = string;
/**
* Name of the view
*/
export type String_36 = string;
/**
* Views where the agent can be used
*/
export type Array_3 = Object_8[];
/**
* Visibility of the agent
*/
export type String_37 = "PUBLIC" | "WORKSPACE" | "PRIVATE";
export type String_38 = string;
export type Null_4 = null;
export type Number_7 = number;
export type Null_5 = null;
export interface AGENTS_UPDATEInput {
id: String_24;
agent: Object_4;
}
export interface Object_4 {
id?: String_25;
name?: String_26;
avatar?: String_27;
instructions?: String_28;
description?: String_29;
tools_set?: Object_5;
max_steps?: Number_4;
max_tokens?: NumberNull_1;
/**
* Model to use for the agent - either a well-known model ID or UUID for BYOK models
*/
model?: String_31 | String_32;
memory?: Object_6;
views?: Array_3;
visibility?: String_37;
/**
* Access control by role
*/
access?:
| ({
[k: string]: unknown;
} | String_38)
| Null_4;
/**
* Temperature of the LLM. Must be between 0 and 1.
*/
temperature?:
| ({
[k: string]: unknown;
} | Number_7)
| Null_5;
}
/**
* Tools available to the agent
*/
export interface Object_5 {
[k: string]: Array_2;
}
/**
* Memory to use for the agent
*/
export interface Object_6 {
discriminator?: String_33;
last_messages?: Number_6;
semantic_recall?: Boolean_4;
working_memory?: Object_7;
}
/**
* Working memory to use for the agent
*/
export interface Object_7 {
enabled?: Boolean_5;
template?: String_34;
}
export interface Object_8 {
url: String_35;
name: String_36;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface AGENTS_UPDATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_39 = string;
export type String_40 = "user" | "assistant" | "system";
export type String_41 = string;
export type String_42 = string;
/**
* The name of the attachment, usually the file name
*/
export type String_43 = string;
/**
* Media type of the attachment
*/
export type String_44 = string;
/**
* URL of the attachment (hosted file or Data URL)
*/
export type String_45 = string;
/**
* Additional attachments to be sent along with the message
*/
export type Array_5 = Object_10[];
/**
* Array of messages for the conversation
*/
export type Array_4 = Object_9[];
/**
* Model ID to use for generation (defaults to workspace default)
*/
export type String_46 = string;
/**
* Maximum number of tokens to generate
*/
export type Number_8 = number;
/**
* Temperature for the generation
*/
export type Number_9 = number;
export type String_47 = string;
export type Array_6 = String_47[];
export interface AI_GENERATEInput {
messages: Array_4;
model?: String_46;
maxTokens?: Number_8;
temperature?: Number_9;
tools?: Object_11;
}
export interface Object_9 {
id?: String_39;
role: String_40;
content: String_41;
createdAt?: String_42;
experimental_attachments?: Array_5;
}
export interface Object_10 {
name?: String_43;
contentType?: String_44;
url: String_45;
}
/**
* Tools available for the generation
*/
export interface Object_11 {
[k: string]: Array_6;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The generated text response
*/
export type String_48 = string;
/**
* Number of tokens in the prompt
*/
export type Number_10 = number;
/**
* Number of tokens in the completion
*/
export type Number_11 = number;
/**
* Total number of tokens used
*/
export type Number_12 = number;
/**
* Transaction ID
*/
export type String_49 = string;
/**
* Reason why generation finished
*/
export type String_50 = string;
export interface AI_GENERATEOutput {
text: String_48;
usage: Object_12;
finishReason?: String_50;
}
/**
* Token usage information
*/
export interface Object_12 {
promptTokens: Number_10;
completionTokens: Number_11;
totalTokens: Number_12;
transactionId: String_49;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The API key to check access for, if not provided, the current key from context will be used
*/
export type String_51 = string;
export type String_52 = string;
/**
* All tools that wants to check access
*/
export type Array_7 = String_52[];
export interface API_KEYS_CHECK_ACCESSInput {
key?: String_51;
tools: Array_7;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Boolean_6 = boolean;
export interface API_KEYS_CHECK_ACCESSOutput {
access: Object_13;
}
export interface Object_13 {
[k: string]: Boolean_6;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The name of the API key
*/
export type String_53 = string;
export type String_54 = "allow" | "deny";
export type String_55 = string;
/**
* Policies for the API key
*/
export type Array_8 = Object_14[];
export interface API_KEYS_CREATEInput {
name: String_53;
policies?: Array_8;
/**
* Claims to be added to the API key
*/
claims?: {
[k: string]: unknown;
};
}
export interface Object_14 {
effect: String_54;
resource: String_55;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface API_KEYS_CREATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The ID of the API key to delete
*/
export type String_56 = string;
export interface API_KEYS_DELETEInput {
id: String_56;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface API_KEYS_DELETEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The ID of the API key to disable
*/
export type String_57 = string;
export interface API_KEYS_DISABLEInput {
id: String_57;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface API_KEYS_DISABLEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The ID of the API key to enable
*/
export type String_58 = string;
export interface API_KEYS_ENABLEInput {
id: String_58;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface API_KEYS_ENABLEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The ID of the API key
*/
export type String_59 = string;
export interface API_KEYS_GETInput {
id: String_59;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface API_KEYS_GETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface API_KEYS_LISTInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface API_KEYS_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The ID of the API key
*/
export type String_60 = string;
/**
* New name for the API key
*/
export type String_61 = string;
/**
* Whether the API key is enabled
*/
export type Boolean_7 = boolean;
export type String_62 = "allow" | "deny";
export type String_63 = string;
/**
* Policies for the API key
*/
export type Array_9 = Object_15[];
export interface API_KEYS_UPDATEInput {
id: String_60;
name?: String_61;
enabled?: Boolean_7;
policies?: Array_9;
}
export interface Object_15 {
effect: String_62;
resource: String_63;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface API_KEYS_UPDATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The ID of the API key to validate
*/
export type String_64 = string;
export interface API_KEYS_VALIDATEInput {
id: String_64;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface API_KEYS_VALIDATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The channel discriminator
*/
export type String_65 = string;
/**
* The ID of the integration to use
*/
export type String_66 = string;
/**
* The ID of the agent to join the channel.
*/
export type String_67 = string;
/**
* The name of the channel
*/
export type String_68 = string;
export interface CHANNELS_CREATEInput {
discriminator: String_65;
integrationId: String_66;
agentId?: String_67;
name?: String_68;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface CHANNELS_CREATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_69 = string;
export interface CHANNELS_DELETEInput {
id: String_69;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface CHANNELS_DELETEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_70 = string;
export interface CHANNELS_GETInput {
id: String_70;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface CHANNELS_GETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The ID of the channel to join, use only UUIDs.
*/
export type String_71 = string;
/**
* The ID of the agent to join the channel to, use only UUIDs.
*/
export type String_72 = string;
export interface CHANNELS_JOINInput {
id: String_71;
agentId: String_72;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface CHANNELS_JOINOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The ID of the channel to unlink, use only UUIDs.
*/
export type String_73 = string;
/**
* The ID of the agent to unlink, use only UUIDs.
*/
export type String_74 = string;
export interface CHANNELS_LEAVEInput {
id: String_73;
agentId: String_74;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface CHANNELS_LEAVEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface CHANNELS_LISTInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface CHANNELS_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The url of the Composio MCP server
*/
export type String_75 = string;
export interface COMPOSIO_INTEGRATION_OAUTH_STARTInput {
url: String_75;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface COMPOSIO_INTEGRATION_OAUTH_STARTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Number_13 = number;
export type String_76 = string;
export type String_77 = string;
export interface CREATE_CHECKOUT_SESSIONInput {
amountUSDCents: Number_13;
successUrl: String_76;
cancelUrl: String_77;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface CREATE_CHECKOUT_SESSIONOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The amount of money to add to the voucher. Specified in USD dollars.
*/
export type Number_14 = number;
export interface CREATE_VOUCHERInput {
amount: Number_14;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface CREATE_VOUCHEROutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The SQL query to run
*/
export type String_78 = string;
/**
* The parameters to pass to the SQL query
*/
export type Array_10 = unknown[];
export interface DATABASES_RUN_SQLInput {
sql: String_78;
params: Array_10;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Boolean_8 = boolean;
export type Number_15 = number;
export type Number_16 = number;
export type Number_17 = number;
export type Number_18 = number;
export type Number_19 = number;
export type Boolean_9 = boolean;
export type String_79 = "WNAM" | "ENAM" | "WEUR" | "EEUR" | "APAC" | "OC";
export type Number_20 = number;
export type Number_21 = number;
export type Array_12 = unknown[];
export type Boolean_10 = boolean;
export type Array_11 = Object_16[];
export interface DATABASES_RUN_SQLOutput {
result: Array_11;
}
export interface Object_16 {
meta?: Object_17;
results?: Array_12;
success?: Boolean_10;
}
export interface Object_17 {
changed_db?: Boolean_8;
changes?: Number_15;
duration?: Number_16;
last_row_id?: Number_17;
rows_read?: Number_18;
rows_written?: Number_19;
served_by_primary?: Boolean_9;
served_by_region?: String_79;
size_after?: Number_20;
timings?: Object_18;
}
export interface Object_18 {
sql_duration_ms?: Number_21;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The id of the integration to install. To know the available ids, use the DECO_INTEGRATIONS_SEARCH tool
*/
export type String_80 = string;
/**
* The provider of the integration to install. To know the available providers, use the DECO_INTEGRATIONS_SEARCH tool
*/
export type String_81 = string;
export interface DECO_INTEGRATION_INSTALLInput {
id: String_80;
provider?: String_81;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The id of the installation. Use this id to enable the integration using the DECO_INTEGRATIONS_SEARCH tool
*/
export type String_82 = string;
export interface DECO_INTEGRATION_INSTALLOutput {
installationId: String_82;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The id of the integration to start the OAuth flow for
*/
export type String_83 = string;
/**
* The return URL for the OAuth flow. Will come with a query param including the mcp URL.
*/
export type String_84 = string;
/**
* The install id of the integration to start the OAuth flow for
*/
export type String_85 = string;
/**
* The provider of the integration to start the OAuth flow for
*/
export type String_86 = string;
export interface DECO_INTEGRATION_OAUTH_STARTInput {
appName: String_83;
returnUrl: String_84;
installId: String_85;
provider?: String_86;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface DECO_INTEGRATION_OAUTH_STARTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The query to search for
*/
export type String_87 = string;
export interface DECO_INTEGRATIONS_SEARCHInput {
query?: String_87;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_88 = string;
export type String_89 = string;
export type String_90 = string;
export type String_91 = string;
export type String_92 = string;
export type Null_6 = null;
export type String_93 = string;
export type String_94 = string;
/**
* The Integrations that match the query
*/
export type Array_13 = (Object_19 & Object_20)[];
export interface DECO_INTEGRATIONS_SEARCHOutput {
integrations: Array_13;
}
export interface Object_19 {
id: String_88;
name: String_89;
description?: String_90;
icon?: String_91;
access?:
| ({
[k: string]: unknown;
} | String_92)
| Null_6;
}
export interface Object_20 {
provider: String_93;
friendlyName?: String_94;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_95 = string;
export interface FS_DELETEInput {
path: String_95;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface FS_DELETEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The root directory to list files from
*/
export type String_96 = string;
export interface FS_LISTInput {
prefix: String_96;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface FS_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_97 = string;
/**
* Seconds until URL expires (default: 60)
*/
export type Number_22 = number;
export interface FS_READInput {
path: String_97;
expiresIn?: Number_22;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface FS_READOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_98 = string;
export interface FS_READ_METADATAInput {
path: String_98;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface FS_READ_METADATAOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_99 = string;
/**
* Seconds until URL expires (default: 60)
*/
export type Number_23 = number;
/**
* Content-Type for the file. This is required.
*/
export type String_100 = string;
export interface FS_WRITEInput {
path: String_99;
expiresIn?: Number_23;
contentType: String_100;
metadata?: Object_21;
}
/**
* Metadata to be added to the file
*/
export interface Object_21 {
[k: string]: unknown;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface FS_WRITEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_101 = "day" | "week" | "month";
export interface GET_AGENTS_USAGEInput {
range: String_101;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface GET_AGENTS_USAGEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_102 = "day" | "week" | "month";
export interface GET_THREADS_USAGEInput {
range: String_102;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface GET_THREADS_USAGEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface GET_WALLET_ACCOUNTInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface GET_WALLET_ACCOUNTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface GET_WORKSPACE_PLANInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface GET_WORKSPACE_PLANOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_103 = string;
export interface HOSTING_APP_DELETEInput {
appSlug: String_103;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface HOSTING_APP_DELETEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The slug identifier for the app, if not provided, you should use the wrangler.toml file to determine the slug (using the name field).
*/
export type String_104 = string;
export type String_105 = string;
export type String_106 = string;
export type Boolean_11 = boolean;
/**
* An array of files with their paths and contents. Must include main.ts as entrypoint and package.json for dependencies
*/
export type Array_14 = Object_22[];
export type String_107 = string;
/**
* If false, skip the bundler step and upload the files as-is. Default: true (bundle files)
*/
export type Boolean_12 = boolean;
/**
* Whether the app should be unlisted in the registry. Default: true (unlisted)
*/
export type Boolean_13 = boolean;
export interface HOSTING_APP_DEPLOYInput {
appSlug?: String_104;
files: Array_14;
envVars?: Object_23;
bundle?: Boolean_12;
unlisted?: Boolean_13;
}
export interface Object_22 {
path: String_105;
content: String_106;
asset?: Boolean_11;
}
/**
* An optional object of environment variables to be set on the worker
*/
export interface Object_23 {
[k: string]: String_107;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface HOSTING_APP_DEPLOYOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_108 = string;
export interface HOSTING_APP_INFOInput {
appSlug: String_108;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface HOSTING_APP_INFOOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Number_24 = number;
export type Number_25 = number;
export type String_109 = string;
export type String_110 = string;
export type String_111 = string;
export interface HOSTING_APP_WORKFLOWS_LIST_RUNSInput {
page?: Number_24;
per_page?: Number_25;
workflowName?: String_109;
fromDate?: String_110;
toDate?: String_111;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_112 = string;
export type String_113 = string;
export type Number_26 = number;
export type Number_27 = number;
export type StringNull = String_114 | Null_7;
export type String_114 = string;
export type Null_7 = null;
export type String_115 = string;
/**
* The workflow list names
*/
export type Array_15 = Object_24[];
export type Number_28 = number;
export type Number_29 = number;
export interface HOSTING_APP_WORKFLOWS_LIST_RUNSOutput {
workflows: Array_15;
pagination: Object_25;
}
export interface Object_24 {
workflowName: String_112;
runId: String_113;
createdAt: Number_26;
updatedAt: Number_27;
resourceId?: StringNull;
status: String_115;
}
export interface Object_25 {
page?: Number_28;
per_page?: Number_29;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The instance ID of the workflow. To get this, use the HOSTING_APP_WORKFLOWS_INSTANCES_LIST or HOSTING_APP_WORKFLOWS_START tool.
*/
export type String_116 = string;
export type String_117 = string;
export interface HOSTING_APP_WORKFLOWS_STATUSInput {
instanceId: String_116;
workflowName: String_117;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_118 = string;
export type String_119 = string;
export type String_120 = string;
export type String_121 = string;
export type StringNull_1 = String_122 | Null_8;
export type String_122 = string;
export type Null_8 = null;
export type String_123 = string;
export type String_124 = string;
export type Number_30 = number;
export type Number_31 = number;
export type String_125 = string;
export type Array_16 = unknown[];
export interface HOSTING_APP_WORKFLOWS_STATUSOutput {
workflowName: String_118;
runId: String_119;
createdAt: String_120;
updatedAt: String_121;
resourceId?: StringNull_1;
snapshot: String_123 | Object_26;
}
export interface Object_26 {
status: String_124;
result?: unknown;
context: Object_27;
serializedStepGraph: Array_16;
}
export interface Object_27 {
[k: string]: Object_28;
}
export interface Object_28 {
payload?: unknown;
startedAt?: Number_30;
endedAt?: Number_31;
error?: String_125;
output?: unknown;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface HOSTING_APPS_LISTInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface HOSTING_APPS_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_126 = "HTTP";
export type String_127 = string;
export type String_128 = string;
export type String_129 = "SSE";
export type String_130 = string;
export type String_131 = string;
export type String_132 = string;
export type String_133 = "Websocket";
export type String_134 = string;
export type String_135 = string;
export type String_136 = "Deco";
export type String_137 = string;
export type String_138 = string;
export type String_139 = "INNATE";
export type String_140 = string;
export type String_141 = string;
export type String_142 = string;
export type Integer = number;
export type String_143 = string;
export interface INTEGRATIONS_CALL_TOOLInput {
connection: Object_29 | Object_30 | Object_32 | Object_33 | Object_34;
params: Object_35;
}
export interface Object_29 {
type: String_126;
url: String_127;
token?: String_128;
}
export interface Object_30 {
type: String_129;
url: String_130;
token?: String_131;
headers?: Object_31;
}
export interface Object_31 {
[k: string]: String_132;
}
export interface Object_32 {
type: String_133;
url: String_134;
token?: String_135;
}
export interface Object_33 {
type: String_136;
tenant: String_137;
token?: String_138;
}
export interface Object_34 {
type: String_139;
name: String_140;
workspace?: String_141;
}
export interface Object_35 {
_meta?: Object_36;
name: String_143;
arguments?: Object_37;
[k: string]: unknown;
}
export interface Object_36 {
progressToken?: String_142 | Integer;
[k: string]: unknown;
}
export interface Object_37 {
[k: string]: unknown;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface INTEGRATIONS_CALL_TOOLOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_144 = string;
export type String_145 = string;
export type String_146 = string;
export type String_147 = string;
export type String_148 = string;
export type Null_9 = null;
export type String_149 = "HTTP";
export type String_150 = string;
export type String_151 = string;
export type String_152 = "SSE";
export type String_153 = string;
export type String_154 = string;
export type String_155 = string;
export type String_156 = "Websocket";
export type String_157 = string;
export type String_158 = string;
export type String_159 = "Deco";
export type String_160 = string;
export type String_161 = string;
export type String_162 = "INNATE";
export type String_163 = string;
export type String_164 = string;
export interface INTEGRATIONS_CREATEInput {
id?: String_144;
name?: String_145;
description?: String_146;
icon?: String_147;
access?:
| ({
[k: string]: unknown;
} | String_148)
| Null_9;
connection?: Object_38 | Object_39 | Object_41 | Object_42 | Object_43;
}
export interface Object_38 {
type: String_149;
url: String_150;
token?: String_151;
}
export interface Object_39 {
type: String_152;
url: String_153;
token?: String_154;
headers?: Object_40;
}
export interface Object_40 {
[k: string]: String_155;
}
export interface Object_41 {
type: String_156;
url: String_157;
token?: String_158;
}
export interface Object_42 {
type: String_159;
tenant: String_160;
token?: String_161;
}
export interface Object_43 {
type: String_162;
name: String_163;
workspace?: String_164;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface INTEGRATIONS_CREATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_165 = string;
export interface INTEGRATIONS_DELETEInput {
id: String_165;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface INTEGRATIONS_DELETEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_166 = string;
export interface INTEGRATIONS_GETInput {
id: String_166;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface INTEGRATIONS_GETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_167 = "Channel";
export interface INTEGRATIONS_LISTInput {
binder?: String_167;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface INTEGRATIONS_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_168 = string;
export type String_169 = string;
export type String_170 = string;
export type String_171 = string;
export type String_172 = string;
export type String_173 = string;
export type Null_10 = null;
export type String_174 = "HTTP";
export type String_175 = string;
export type String_176 = string;
export type String_177 = "SSE";
export type String_178 = string;
export type String_179 = string;
export type String_180 = string;
export type String_181 = "Websocket";
export type String_182 = string;
export type String_183 = string;
export type String_184 = "Deco";
export type String_185 = string;
export type String_186 = string;
export type String_187 = "INNATE";
export type String_188 = string;
export type String_189 = string;
export interface INTEGRATIONS_UPDATEInput {
id: String_168;
integration: Object_44;
}
export interface Object_44 {
id: String_169;
name: String_170;
description?: String_171;
icon?: String_172;
access?:
| ({
[k: string]: unknown;
} | String_173)
| Null_10;
connection: Object_45 | Object_46 | Object_48 | Object_49 | Object_50;
}
export interface Object_45 {
type: String_174;
url: String_175;
token?: String_176;
}
export interface Object_46 {
type: String_177;
url: String_178;
token?: String_179;
headers?: Object_47;
}
export interface Object_47 {
[k: string]: String_180;
}
export interface Object_48 {
type: String_181;
url: String_182;
token?: String_183;
}
export interface Object_49 {
type: String_184;
tenant: String_185;
token?: String_186;
}
export interface Object_50 {
type: String_187;
name: String_188;
workspace?: String_189;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface INTEGRATIONS_UPDATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_190 = string;
/**
* File path from file added using workspace fs_write tool
*/
export type String_191 = string;
/**
* The name of the file
*/
export type String_192 = string;
export type StringBoolean = String_193 | Boolean_14;
export type String_193 = string;
export type Boolean_14 = boolean;
export interface KNOWLEDGE_BASE_ADD_FILEInput {
fileUrl: String_190;
path?: String_191;
filename?: String_192;
metadata?: Object_51;
}
export interface Object_51 {
[k: string]: StringBoolean;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface KNOWLEDGE_BASE_ADD_FILEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The name of the knowledge base
*/
export type String_194 = string;
/**
* The dimension of the knowledge base
*/
export type Number_32 = number;
export interface KNOWLEDGE_BASE_CREATEInput {
name: String_194;
dimension?: Number_32;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface KNOWLEDGE_BASE_CREATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The name of the knowledge base
*/
export type String_195 = string;
export interface KNOWLEDGE_BASE_DELETEInput {
name: String_195;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface KNOWLEDGE_BASE_DELETEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_196 = string;
export interface KNOWLEDGE_BASE_DELETE_FILEInput {
fileUrl: String_196;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface KNOWLEDGE_BASE_DELETE_FILEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_197 = string;
/**
* The id of the content to forget
*/
export type Array_17 = String_197[];
export interface KNOWLEDGE_BASE_FORGETInput {
docIds: Array_17;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface KNOWLEDGE_BASE_FORGETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface KNOWLEDGE_BASE_LISTInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface KNOWLEDGE_BASE_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface KNOWLEDGE_BASE_LIST_FILESInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface KNOWLEDGE_BASE_LIST_FILESOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The id of the content being remembered
*/
export type String_198 = string;
/**
* The content to remember
*/
export type String_199 = string;
export type String_200 = string;
export interface KNOWLEDGE_BASE_REMEMBERInput {
docId?: String_198;
content: String_199;
metadata?: Object_52;
}
/**
* The metadata to remember
*/
export interface Object_52 {
[k: string]: String_200;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface KNOWLEDGE_BASE_REMEMBEROutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The query to search the knowledge base
*/
export type String_201 = string;
/**
* The number of results to return
*/
export type Number_33 = number;
/**
* Whether to return the content
*/
export type Boolean_15 = boolean;
export interface KNOWLEDGE_BASE_SEARCHInput {
query: String_201;
topK?: Number_33;
content?: Boolean_15;
filter?: Object_53;
}
/**
* Filters to match against document metadata and narrow search results. Supports MongoDB-style query operators:
* comparison ($eq, $ne, $gt, $gte, $lt, $lte), array ($in, $nin), logical ($and, $or), and existence ($exists).
* Only returns documents whose metadata matches the specified filter conditions.
* Examples:
* { "metadata": {{"category": "documents"}},
* { "metadata": {{"priority": {"$gte": 3}}},
* { "metadata": {{"status": {"$in": ["active", "pending"]}}},
* { "metadata": {{"$and": [{"type": "pdf"}, {"size": {"$lt": 1000}}]}}}
*/
export interface Object_53 {
[k: string]: unknown;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface KNOWLEDGE_BASE_SEARCHOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_202 = string;
export type String_203 = string;
export type String_204 = string;
export type String_205 = string;
export type Boolean_16 = boolean;
export type Boolean_17 = boolean;
export interface MODELS_CREATEInput {
name: String_202;
model: String_203;
apiKey?: String_204;
description?: String_205;
byDeco?: Boolean_16;
isEnabled?: Boolean_17;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface MODELS_CREATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_206 = string;
export interface MODELS_DELETEInput {
id: String_206;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface MODELS_DELETEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_207 = string;
export interface MODELS_GETInput {
id: String_207;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface MODELS_GETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Boolean_18 = boolean;
export type Boolean_19 = boolean;
export interface MODELS_LISTInput {
excludeDisabled?: Boolean_18;
excludeAuto?: Boolean_19;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface MODELS_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_208 = string;
export type String_209 = string;
export type String_210 = string;
export type StringNull_2 = String_211 | Null_11;
export type String_211 = string;
export type Null_11 = null;
export type Boolean_20 = boolean;
export type Boolean_21 = boolean;
export type String_212 = string;
export interface MODELS_UPDATEInput {
id: String_208;
data: Object_54;
}
export interface Object_54 {
name?: String_209;
model?: String_210;
apiKey?: StringNull_2;
isEnabled?: Boolean_20;
byDeco?: Boolean_21;
description?: String_212;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface MODELS_UPDATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_213 = string;
export type String_214 = string;
export type String_215 = string;
export interface PROMPTS_CREATEInput {
name: String_213;
description?: String_214;
content: String_215;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PROMPTS_CREATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_216 = string;
export interface PROMPTS_DELETEInput {
id: String_216;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PROMPTS_DELETEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_217 = string;
export interface PROMPTS_GETInput {
id: String_217;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PROMPTS_GETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_218 = string;
export type Number_34 = number;
export type Number_35 = number;
export interface PROMPTS_GET_VERSIONSInput {
id: String_218;
limit?: Number_34;
offset?: Number_35;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PROMPTS_GET_VERSIONSOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_219 = string;
/**
* Filter prompts by ids
*/
export type Array_18 = String_219[];
/**
* Resolve mentions in the prompts
*/
export type Boolean_22 = boolean;
export type String_220 = string;
/**
* Exclude prompts by ids
*/
export type Array_19 = String_220[];
export interface PROMPTS_LISTInput {
ids?: Array_18;
resolveMentions?: Boolean_22;
excludeIds?: Array_19;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PROMPTS_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_221 = string;
export type String_222 = string;
export interface PROMPTS_RENAME_VERSIONInput {
id: String_221;
versionName: String_222;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PROMPTS_RENAME_VERSIONOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_223 = string;
export type Number_36 = number;
export type Number_37 = number;
export interface PROMPTS_SEARCHInput {
query: String_223;
limit?: Number_36;
offset?: Number_37;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PROMPTS_SEARCHOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_224 = string;
export type String_225 = string;
export type String_226 = string;
export type Null_12 = null;
export type String_227 = string;
export type String_228 = string;
export interface PROMPTS_UPDATEInput {
id: String_224;
data: Object_55;
versionName?: String_228;
}
export interface Object_55 {
name?: String_225;
description?:
| ({
[k: string]: unknown;
} | String_226)
| Null_12;
content?: String_227;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PROMPTS_UPDATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_229 = string;
export interface REDEEM_VOUCHERInput {
voucher: String_229;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface REDEEM_VOUCHEROutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The name of the app to get
*/
export type String_230 = string;
/**
* The id of the app to get
*/
export type String_231 = string;
export interface REGISTRY_GET_APPInput {
name?: String_230;
id?: String_231;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_232 = string;
export type String_233 = string;
export type String_234 = string;
export type String_235 = string;
export type String_236 = string;
export type String_237 = string;
export type String_238 = string;
export type String_239 = "HTTP";
export type String_240 = string;
export type String_241 = string;
export type String_242 = "SSE";
export type String_243 = string;
export type String_244 = string;
export type String_245 = string;
export type String_246 = "Websocket";
export type String_247 = string;
export type String_248 = string;
export type String_249 = "Deco";
export type String_250 = string;
export type String_251 = string;
export type String_252 = "INNATE";
export type String_253 = string;
export type String_254 = string;
export type String_255 = string;
export type String_256 = string;
export type Boolean_23 = boolean;
export type String_257 = string;
export interface REGISTRY_GET_APPOutput {
id: String_232;
workspace: String_233;
scopeId: String_234;
scopeName: String_235;
name: String_236;
description?: String_237;
icon?: String_238;
connection: Object_56 | Object_57 | Object_59 | Object_60 | Object_61;
createdAt: String_255;
updatedAt: String_256;
unlisted: Boolean_23;
friendlyName?: String_257;
}
export interface Object_56 {
type: String_239;
url: String_240;
token?: String_241;
}
export interface Object_57 {
type: String_242;
url: String_243;
token?: String_244;
headers?: Object_58;
}
export interface Object_58 {
[k: string]: String_245;
}
export interface Object_59 {
type: String_246;
url: String_247;
token?: String_248;
}
export interface Object_60 {
type: String_249;
tenant: String_250;
token?: String_251;
}
export interface Object_61 {
type: String_252;
name: String_253;
workspace?: String_254;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* Search term to filter apps by name or description
*/
export type String_258 = string;
/**
* Filter apps by scope name
*/
export type String_259 = string;
export interface REGISTRY_LIST_APPSInput {
search?: String_258;
scopeName?: String_259;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_260 = string;
export type String_261 = string;
export type String_262 = string;
export type String_263 = string;
export type String_264 = string;
export type String_265 = string;
export type String_266 = string;
export type String_267 = "HTTP";
export type String_268 = string;
export type String_269 = string;
export type String_270 = "SSE";
export type String_271 = string;
export type String_272 = string;
export type String_273 = string;
export type String_274 = "Websocket";
export type String_275 = string;
export type String_276 = string;
export type String_277 = "Deco";
export type String_278 = string;
export type String_279 = string;
export type String_280 = "INNATE";
export type String_281 = string;
export type String_282 = string;
export type String_283 = string;
export type String_284 = string;
export type Boolean_24 = boolean;
export type String_285 = string;
export type Array_20 = Object_62[];
export interface REGISTRY_LIST_APPSOutput {
apps: Array_20;
}
export interface Object_62 {
id: String_260;
workspace: String_261;
scopeId: String_262;
scopeName: String_263;
name: String_264;
description?: String_265;
icon?: String_266;
connection: Object_63 | Object_64 | Object_66 | Object_67 | Object_68;
createdAt: String_283;
updatedAt: String_284;
unlisted: Boolean_24;
friendlyName?: String_285;
}
export interface Object_63 {
type: String_267;
url: String_268;
token?: String_269;
}
export interface Object_64 {
type: String_270;
url: String_271;
token?: String_272;
headers?: Object_65;
}
export interface Object_65 {
[k: string]: String_273;
}
export interface Object_66 {
type: String_274;
url: String_275;
token?: String_276;
}
export interface Object_67 {
type: String_277;
tenant: String_278;
token?: String_279;
}
export interface Object_68 {
type: String_280;
name: String_281;
workspace?: String_282;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* Search term to filter scopes by name
*/
export type String_286 = string;
export interface REGISTRY_LIST_SCOPESInput {
search?: String_286;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_287 = string;
export type String_288 = string;
export type String_289 = string;
export type String_290 = string;
export type String_291 = string;
export type Array_21 = Object_69[];
export interface REGISTRY_LIST_SCOPESOutput {
scopes: Array_21;
}
export interface Object_69 {
id: String_287;
scopeName: String_288;
workspace: String_289;
createdAt: String_290;
updatedAt: String_291;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The scope to publish to (defaults to team slug, automatically claimed on first use)
*/
export type String_292 = string;
/**
* The name of the app
*/
export type String_293 = string;
/**
* A friendly name for the app
*/
export type String_294 = string;
/**
* A description of the app
*/
export type String_295 = string;
/**
* URL to an icon for the app
*/
export type String_296 = string;
export type String_297 = "HTTP";
export type String_298 = string;
export type String_299 = string;
export type String_300 = "SSE";
export type String_301 = string;
export type String_302 = string;
export type String_303 = string;
export type String_304 = "Websocket";
export type String_305 = string;
export type String_306 = string;
export type String_307 = "Deco";
export type String_308 = string;
export type String_309 = string;
export type String_310 = "INNATE";
export type String_311 = string;
export type String_312 = string;
/**
* Whether the app should be unlisted
*/
export type Boolean_25 = boolean;
export interface REGISTRY_PUBLISH_APPInput {
scopeName: String_292;
name: String_293;
friendlyName?: String_294;
description?: String_295;
icon?: String_296;
/**
* The MCP connection configuration for the app
*/
connection: Object_70 | Object_71 | Object_73 | Object_74 | Object_75;
unlisted?: Boolean_25;
}
export interface Object_70 {
type: String_297;
url: String_298;
token?: String_299;
}
export interface Object_71 {
type: String_300;
url: String_301;
token?: String_302;
headers?: Object_72;
}
export interface Object_72 {
[k: string]: String_303;
}
export interface Object_73 {
type: String_304;
url: String_305;
token?: String_306;
}
export interface Object_74 {
type: String_307;
tenant: String_308;
token?: String_309;
}
export interface Object_75 {
type: String_310;
name: String_311;
workspace?: String_312;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_313 = string;
export type String_314 = string;
export type String_315 = string;
export type String_316 = string;
export type String_317 = string;
export type String_318 = string;
export type String_319 = string;
export type String_320 = "HTTP";
export type String_321 = string;
export type String_322 = string;
export type String_323 = "SSE";
export type String_324 = string;
export type String_325 = string;
export type String_326 = string;
export type String_327 = "Websocket";
export type String_328 = string;
export type String_329 = string;
export type String_330 = "Deco";
export type String_331 = string;
export type String_332 = string;
export type String_333 = "INNATE";
export type String_334 = string;
export type String_335 = string;
export type String_336 = string;
export type String_337 = string;
export type Boolean_26 = boolean;
export type String_338 = string;
export interface REGISTRY_PUBLISH_APPOutput {
id: String_313;
workspace: String_314;
scopeId: String_315;
scopeName: String_316;
name: String_317;
description?: String_318;
icon?: String_319;
connection: Object_76 | Object_77 | Object_79 | Object_80 | Object_81;
createdAt: String_336;
updatedAt: String_337;
unlisted: Boolean_26;
friendlyName?: String_338;
}
export interface Object_76 {
type: String_320;
url: String_321;
token?: String_322;
}
export interface Object_77 {
type: String_323;
url: String_324;
token?: String_325;
headers?: Object_78;
}
export interface Object_78 {
[k: string]: String_326;
}
export interface Object_79 {
type: String_327;
url: String_328;
token?: String_329;
}
export interface Object_80 {
type: String_330;
tenant: String_331;
token?: String_332;
}
export interface Object_81 {
type: String_333;
name: String_334;
workspace?: String_335;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_339 = string;
export type String_340 = string;
export type Number_38 = number;
export type String_341 = string;
export type Array_23 = Object_83[];
export type Array_22 = Object_82[];
export interface TEAM_MEMBERS_INVITEInput {
teamId: String_339;
invitees: Array_22;
}
export interface Object_82 {
email: String_340;
roles: Array_23;
}
export interface Object_83 {
id: Number_38;
name: String_341;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAM_MEMBERS_INVITEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_342 = string;
export interface THREADS_GETInput {
id: String_342;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface THREADS_GETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_343 = string;
export interface THREADS_GET_MESSAGESInput {
id: String_343;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface THREADS_GET_MESSAGESOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_344 = string;
export interface THREADS_GET_TOOLSInput {
id: String_344;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface THREADS_GET_TOOLSOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Number_39 = number;
export type String_345 = string;
export type String_346 = string;
export type String_347 =
| "createdAt_desc"
| "createdAt_asc"
| "updatedAt_desc"
| "updatedAt_asc";
export type String_348 = string;
export interface THREADS_LISTInput {
limit?: Number_39;
agentId?: String_345;
resourceId?: String_346;
orderBy?: String_347;
cursor?: String_348;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface THREADS_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_349 = string;
export interface THREADS_UPDATE_METADATAInput {
threadId: String_349;
metadata: Object_84;
}
export interface Object_84 {
[k: string]: unknown;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface THREADS_UPDATE_METADATAOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_350 = string;
export type String_351 = string;
export interface THREADS_UPDATE_TITLEInput {
threadId: String_350;
title: String_351;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface THREADS_UPDATE_TITLEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_352 = string;
export interface TRIGGERS_ACTIVATEInput {
id: String_352;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TRIGGERS_ACTIVATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TRIGGERS_CREATEInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TRIGGERS_CREATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TRIGGERS_CREATE_CRONInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TRIGGERS_CREATE_CRONOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TRIGGERS_CREATE_WEBHOOKInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The trigger ID
*/
export type String_353 = string;
export type String_354 = "cron" | "webhook";
/**
* The title of the trigger
*/
export type String_355 = string;
/**
* The description of the trigger
*/
export type String_356 = string;
export type String_357 = string;
export type String_358 = "cron";
/**
* The agent ID to use for the trigger
*/
export type String_359 = string;
/**
* if not provided, the same conversation thread will be used, you can pass any string you want to use
*/
export type String_360 = string;
/**
* if not provided, the same resource will be used, you can pass any string you want to use
*/
export type String_361 = string;
export type String_362 = "user" | "assistant" | "system";
export type String_363 = string;
/**
* The messages to send to the LLM
*/
export type Array_24 = Object_87[];
/**
* The URL of the webhook
*/
export type String_364 = string;
/**
* The integration ID
*/
export type String_365 = string;
/**
* The tool name
*/
export type String_366 = string;
/**
* The title of the trigger
*/
export type String_367 = string;
/**
* The description of the trigger
*/
export type String_368 = string;
export type String_369 = "webhook";
/**
* The URL of the webhook
*/
export type String_370 = string;
/**
* The passphrase for the webhook
*/
export type String_371 = string;
/**
* Whether the webhook is enabled for WhatsApp
*/
export type Boolean_27 = boolean;
/**
* The agent ID to use for the trigger
*/
export type String_372 = string;
/**
* The creation date
*/
export type String_373 = string;
/**
* The update date
*/
export type String_374 = string;
/**
* The user ID
*/
export type String_375 = string;
/**
* The user name
*/
export type String_376 = string;
/**
* The user email
*/
export type String_377 = string;
/**
* The user avatar
*/
export type String_378 = string;
/**
* The trigger status
*/
export type Boolean_28 = boolean;
/**
* The workspace ID
*/
export type String_379 = string;
export interface TRIGGERS_CREATE_WEBHOOKOutput {
id: String_353;
type: String_354;
data: (Object_85 | Object_88) | (Object_91 | Object_93);
createdAt: String_373;
updatedAt: String_374;
user: Object_94;
active?: Boolean_28;
workspace: String_379;
}
export interface Object_85 {
title: String_355;
description?: String_356;
cronExp: String_357;
type: String_358;
agentId: String_359;
prompt: Object_86;
url?: String_364;
}
export interface Object_86 {
threadId?: String_360;
resourceId?: String_361;
messages: Array_24;
}
export interface Object_87 {
role: String_362;
content: String_363;
}
export interface Object_88 {
title: String_355;
description?: String_356;
cronExp: String_357;
type: String_358;
callTool: Object_89;
}
export interface Object_89 {
integrationId: String_365;
toolName: String_366;
arguments?: Object_90;
}
/**
* The arguments to pass to the tool
*/
export interface Object_90 {
[k: string]: unknown;
}
export interface Object_91 {
title: String_367;
description?: String_368;
type: String_369;
url?: String_370;
passphrase?: String_371;
whatsappEnabled?: Boolean_27;
agentId: String_372;
schema?: Object_92;
}
/**
* The JSONSchema of the returning of the webhook.
*
* By default this webhook returns the LLM generate text response.
*
* If a JSONSchema is specified, it returns a JSON with the specified schema.
*/
export interface Object_92 {
[k: string]: unknown;
}
export interface Object_93 {
title: String_367;
description?: String_368;
type: String_369;
url?: String_370;
passphrase?: String_371;
whatsappEnabled?: Boolean_27;
callTool: Object_89;
}
export interface Object_94 {
id: String_375;
metadata: Object_95;
}
export interface Object_95 {
full_name: String_376;
email: String_377;
avatar_url: String_378;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_380 = string;
export interface TRIGGERS_DEACTIVATEInput {
id: String_380;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TRIGGERS_DEACTIVATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_381 = string;
export interface TRIGGERS_DELETEInput {
id: String_381;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The trigger ID
*/
export type String_382 = string;
export interface TRIGGERS_DELETEOutput {
id: String_382;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_383 = string;
export interface TRIGGERS_GETInput {
id: String_383;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TRIGGERS_GETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_384 = string;
export interface TRIGGERS_GET_WEBHOOK_URLInput {
id: String_384;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The URL of the webhook trigger
*/
export type String_385 = string;
export interface TRIGGERS_GET_WEBHOOK_URLOutput {
url?: String_385;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_386 = string;
export interface TRIGGERS_LISTInput {
agentId?: String_386;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The trigger ID
*/
export type String_387 = string;
export type String_388 = "cron" | "webhook";
/**
* The title of the trigger
*/
export type String_389 = string;
/**
* The description of the trigger
*/
export type String_390 = string;
export type String_391 = string;
export type String_392 = "cron";
/**
* The agent ID to use for the trigger
*/
export type String_393 = string;
/**
* if not provided, the same conversation thread will be used, you can pass any string you want to use
*/
export type String_394 = string;
/**
* if not provided, the same resource will be used, you can pass any string you want to use
*/
export type String_395 = string;
export type String_396 = "user" | "assistant" | "system";
export type String_397 = string;
/**
* The messages to send to the LLM
*/
export type Array_26 = Object_99[];
/**
* The URL of the webhook
*/
export type String_398 = string;
/**
* The integration ID
*/
export type String_399 = string;
/**
* The tool name
*/
export type String_400 = string;
/**
* The title of the trigger
*/
export type String_401 = string;
/**
* The description of the trigger
*/
export type String_402 = string;
export type String_403 = "webhook";
/**
* The URL of the webhook
*/
export type String_404 = string;
/**
* The passphrase for the webhook
*/
export type String_405 = string;
/**
* Whether the webhook is enabled for WhatsApp
*/
export type Boolean_29 = boolean;
/**
* The agent ID to use for the trigger
*/
export type String_406 = string;
/**
* The creation date
*/
export type String_407 = string;
/**
* The update date
*/
export type String_408 = string;
/**
* The user ID
*/
export type String_409 = string;
/**
* The user name
*/
export type String_410 = string;
/**
* The user email
*/
export type String_411 = string;
/**
* The user avatar
*/
export type String_412 = string;
/**
* The trigger status
*/
export type Boolean_30 = boolean;
/**
* The workspace ID
*/
export type String_413 = string;
export type Array_25 = Object_96[];
export interface TRIGGERS_LISTOutput {
triggers: Array_25;
}
export interface Object_96 {
id: String_387;
type: String_388;
data: (Object_97 | Object_100) | (Object_103 | Object_105);
createdAt: String_407;
updatedAt: String_408;
user: Object_106;
active?: Boolean_30;
workspace: String_413;
}
export interface Object_97 {
title: String_389;
description?: String_390;
cronExp: String_391;
type: String_392;
agentId: String_393;
prompt: Object_98;
url?: String_398;
}
export interface Object_98 {
threadId?: String_394;
resourceId?: String_395;
messages: Array_26;
}
export interface Object_99 {
role: String_396;
content: String_397;
}
export interface Object_100 {
title: String_389;
description?: String_390;
cronExp: String_391;
type: String_392;
callTool: Object_101;
}
export interface Object_101 {
integrationId: String_399;
toolName: String_400;
arguments?: Object_102;
}
/**
* The arguments to pass to the tool
*/
export interface Object_102 {
[k: string]: unknown;
}
export interface Object_103 {
title: String_401;
description?: String_402;
type: String_403;
url?: String_404;
passphrase?: String_405;
whatsappEnabled?: Boolean_29;
agentId: String_406;
schema?: Object_104;
}
/**
* The JSONSchema of the returning of the webhook.
*
* By default this webhook returns the LLM generate text response.
*
* If a JSONSchema is specified, it returns a JSON with the specified schema.
*/
export interface Object_104 {
[k: string]: unknown;
}
export interface Object_105 {
title: String_401;
description?: String_402;
type: String_403;
url?: String_404;
passphrase?: String_405;
whatsappEnabled?: Boolean_29;
callTool: Object_101;
}
export interface Object_106 {
id: String_409;
metadata: Object_107;
}
export interface Object_107 {
full_name: String_410;
email: String_411;
avatar_url: String_412;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_414 = string;
/**
* The title of the trigger
*/
export type String_415 = string;
/**
* The description of the trigger
*/
export type String_416 = string;
export type String_417 = string;
export type String_418 = "cron";
/**
* The agent ID to use for the trigger
*/
export type String_419 = string;
/**
* if not provided, the same conversation thread will be used, you can pass any string you want to use
*/
export type String_420 = string;
/**
* if not provided, the same resource will be used, you can pass any string you want to use
*/
export type String_421 = string;
export type String_422 = "user" | "assistant" | "system";
export type String_423 = string;
/**
* The messages to send to the LLM
*/
export type Array_27 = Object_110[];
/**
* The URL of the webhook
*/
export type String_424 = string;
/**
* The integration ID
*/
export type String_425 = string;
/**
* The tool name
*/
export type String_426 = string;
/**
* The title of the trigger
*/
export type String_427 = string;
/**
* The description of the trigger
*/
export type String_428 = string;
export type String_429 = "webhook";
/**
* The URL of the webhook
*/
export type String_430 = string;
/**
* The passphrase for the webhook
*/
export type String_431 = string;
/**
* Whether the webhook is enabled for WhatsApp
*/
export type Boolean_31 = boolean;
/**
* The agent ID to use for the trigger
*/
export type String_432 = string;
export interface TRIGGERS_UPDATEInput {
id: String_414;
data: (Object_108 | Object_111) | (Object_114 | Object_116);
}
export interface Object_108 {
title: String_415;
description?: String_416;
cronExp: String_417;
type: String_418;
agentId: String_419;
prompt: Object_109;
url?: String_424;
}
export interface Object_109 {
threadId?: String_420;
resourceId?: String_421;
messages: Array_27;
}
export interface Object_110 {
role: String_422;
content: String_423;
}
export interface Object_111 {
title: String_415;
description?: String_416;
cronExp: String_417;
type: String_418;
callTool: Object_112;
}
export interface Object_112 {
integrationId: String_425;
toolName: String_426;
arguments?: Object_113;
}
/**
* The arguments to pass to the tool
*/
export interface Object_113 {
[k: string]: unknown;
}
export interface Object_114 {
title: String_427;
description?: String_428;
type: String_429;
url?: String_430;
passphrase?: String_431;
whatsappEnabled?: Boolean_31;
agentId: String_432;
schema?: Object_115;
}
/**
* The JSONSchema of the returning of the webhook.
*
* By default this webhook returns the LLM generate text response.
*
* If a JSONSchema is specified, it returns a JSON with the specified schema.
*/
export interface Object_115 {
[k: string]: unknown;
}
export interface Object_116 {
title: String_427;
description?: String_428;
type: String_429;
url?: String_430;
passphrase?: String_431;
whatsappEnabled?: Boolean_31;
callTool: Object_112;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TRIGGERS_UPDATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_433 = string;
export type String_434 = string;
export type String_435 = string;
export type String_436 = string;
export interface WHATSAPP_CREATE_INVITEInput {
userId: String_433;
triggerId: String_434;
wppMessageId: String_435;
phone: String_436;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface WHATSAPP_CREATE_INVITEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_437 = string;
export interface WHATSAPP_GET_USERInput {
phone: String_437;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface WHATSAPP_GET_USEROutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_438 = string;
export type String_439 = string;
export type String_440 = string;
export type String_441 = string;
export type String_442 = string;
export type String_443 = string;
export interface WHATSAPP_SEND_TEMPLATE_MESSAGEInput {
to: String_438;
template_name: String_439;
language_code: String_440;
sender_phone: String_441;
sender_name: String_442;
agent_name: String_443;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface WHATSAPP_SEND_TEMPLATE_MESSAGEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_444 = string;
export type String_445 = string;
export type String_446 = string;
export type String_447 = string;
export type Array_28 = String_447[];
export interface WHATSAPP_UPSERT_USERInput {
phone: String_444;
triggerUrl: String_445;
triggerId: String_446;
triggers: Array_28;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface WHATSAPP_UPSERT_USEROutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_448 = "HTTP";
export type String_449 = string;
export type String_450 = string;
export type String_451 = "SSE";
export type String_452 = string;
export type String_453 = string;
export type String_454 = string;
export type String_455 = "Websocket";
export type String_456 = string;
export type String_457 = string;
export type String_458 = "Deco";
export type String_459 = string;
export type String_460 = string;
export type String_461 = "INNATE";
export type String_462 = string;
export type String_463 = string;
export type String_464 = string;
export type Integer_1 = number;
export type String_465 = string;
export interface INTEGRATIONS_CALL_TOOLInput_1 {
connection: Object_117 | Object_118 | Object_120 | Object_121 | Object_122;
params: Object_123;
}
export interface Object_117 {
type: String_448;
url: String_449;
token?: String_450;
}
export interface Object_118 {
type: String_451;
url: String_452;
token?: String_453;
headers?: Object_119;
}
export interface Object_119 {
[k: string]: String_454;
}
export interface Object_120 {
type: String_455;
url: String_456;
token?: String_457;
}
export interface Object_121 {
type: String_458;
tenant: String_459;
token?: String_460;
}
export interface Object_122 {
type: String_461;
name: String_462;
workspace?: String_463;
}
export interface Object_123 {
_meta?: Object_124;
name: String_465;
arguments?: Object_125;
[k: string]: unknown;
}
export interface Object_124 {
progressToken?: String_464 | Integer_1;
[k: string]: unknown;
}
export interface Object_125 {
[k: string]: unknown;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface INTEGRATIONS_CALL_TOOLOutput_1 {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_466 = "HTTP";
export type String_467 = string;
export type String_468 = string;
export type String_469 = "SSE";
export type String_470 = string;
export type String_471 = string;
export type String_472 = string;
export type String_473 = "Websocket";
export type String_474 = string;
export type String_475 = string;
export type String_476 = "Deco";
export type String_477 = string;
export type String_478 = string;
export type String_479 = "INNATE";
export type String_480 = string;
export type String_481 = string;
export interface INTEGRATIONS_LIST_TOOLSInput {
connection: Object_126 | Object_127 | Object_129 | Object_130 | Object_131;
}
export interface Object_126 {
type: String_466;
url: String_467;
token?: String_468;
}
export interface Object_127 {
type: String_469;
url: String_470;
token?: String_471;
headers?: Object_128;
}
export interface Object_128 {
[k: string]: String_472;
}
export interface Object_129 {
type: String_473;
url: String_474;
token?: String_475;
}
export interface Object_130 {
type: String_476;
tenant: String_477;
token?: String_478;
}
export interface Object_131 {
type: String_479;
name: String_480;
workspace?: String_481;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface INTEGRATIONS_LIST_TOOLSOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface MY_INVITES_LISTInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface MY_INVITES_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PROFILES_GETInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PROFILES_GETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type StringNull_3 = String_482 | Null_13;
export type String_482 = string;
export type Null_13 = null;
export type String_483 = string;
export type NumberNull_2 = Number_40 | Null_14;
export type Number_40 = number;
export type Null_14 = null;
export type BooleanNull = Boolean_32 | Null_15;
export type Boolean_32 = boolean;
export type Null_15 = null;
export type StringNull_4 = String_484 | Null_16;
export type String_484 = string;
export type Null_16 = null;
export interface PROFILES_UPDATEInput {
name?: StringNull_3;
email?: String_483;
deco_user_id?: NumberNull_2;
is_new_user?: BooleanNull;
phone?: StringNull_4;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface PROFILES_UPDATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_485 = string;
export interface TEAM_INVITE_ACCEPTInput {
id: String_485;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAM_INVITE_ACCEPTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_486 = string;
export interface TEAM_INVITE_DELETEInput {
id: String_486;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAM_INVITE_DELETEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Number_41 = number;
export interface TEAM_MEMBER_ACTIVITY_REGISTERInput {
teamId: Number_41;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAM_MEMBER_ACTIVITY_REGISTEROutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Number_42 = number;
export type Boolean_33 = boolean;
export interface TEAM_MEMBERS_GETInput {
teamId: Number_42;
withActivity?: Boolean_33;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAM_MEMBERS_GETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_487 = string;
export type String_488 = string;
export type Number_43 = number;
export type String_489 = string;
export type Array_30 = Object_133[];
export type Array_29 = Object_132[];
export interface TEAM_MEMBERS_INVITEInput_1 {
teamId: String_487;
invitees: Array_29;
}
export interface Object_132 {
email: String_488;
roles: Array_30;
}
export interface Object_133 {
id: Number_43;
name: String_489;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAM_MEMBERS_INVITEOutput_1 {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Number_44 = number;
export type Number_45 = number;
export interface TEAM_MEMBERS_REMOVEInput {
teamId: Number_44;
memberId: Number_45;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAM_MEMBERS_REMOVEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Number_46 = number;
export type Number_47 = number;
export type Boolean_34 = boolean;
export interface TEAM_MEMBERS_UPDATEInput {
teamId: Number_46;
memberId: Number_47;
data: Object_134;
}
export interface Object_134 {
admin?: Boolean_34;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAM_MEMBERS_UPDATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Number_48 = number;
export type String_490 = string;
export type Number_49 = number;
export type String_491 = "grant" | "revoke";
export interface TEAM_MEMBERS_UPDATE_ROLEInput {
teamId: Number_48;
userId: String_490;
roleId: Number_49;
action: String_491;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAM_MEMBERS_UPDATE_ROLEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Number_50 = number;
export interface TEAM_ROLES_LISTInput {
teamId: Number_50;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAM_ROLES_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_492 = string;
export type String_493 = string;
export type String_494 = string;
export interface TEAMS_CREATEInput {
name: String_492;
slug?: String_493;
stripe_subscription_id?: String_494;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAMS_CREATEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type Number_51 = number;
export interface TEAMS_DELETEInput {
teamId: Number_51;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAMS_DELETEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_495 = string;
export interface TEAMS_GETInput {
slug: String_495;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAMS_GETOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export type String_496 = string;
export interface TEAMS_GET_THEMEInput {
slug: String_496;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAMS_GET_THEMEOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAMS_LISTInput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAMS_LISTOutput {
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The id of the team to update
*/
export type Number_52 = number;
/**
* Team name
*/
export type String_497 = string;
/**
* Team URL slug
*/
export type String_498 = string;
export type String_499 = string;
/**
* Main background color of the application (OKLCH/hex format)
*/
export type String_500 = string;
/**
* Main text color on background (OKLCH/hex format)
*/
export type String_501 = string;
/**
* Background color for cards and panels (OKLCH/hex format)
*/
export type String_502 = string;
/**
* Text color on cards and panels (OKLCH/hex format)
*/
export type String_503 = string;
/**
* Background color for popovers and dropdowns (OKLCH/hex format)
*/
export type String_504 = string;
/**
* Text color in popovers and dropdowns (OKLCH/hex format)
*/
export type String_505 = string;
/**
* Primary brand color for buttons and highlights (OKLCH/hex format)
*/
export type String_506 = string;
/**
* Text color on primary elements (OKLCH/hex format)
*/
export type String_507 = string;
/**
* Lighter variant of primary color (OKLCH/hex format)
*/
export type String_508 = string;
/**
* Darker variant of primary color (OKLCH/hex format)
*/
export type String_509 = string;
/**
* Secondary color for less prominent elements (OKLCH/hex format)
*/
export type String_510 = string;
/**
* Text color on secondary elements (OKLCH/hex format)
*/
export type String_511 = string;
/**
* Muted background color for subtle elements (OKLCH/hex format)
*/
export type String_512 = string;
/**
* Muted text color for secondary text (OKLCH/hex format)
*/
export type String_513 = string;
/**
* Accent color for interactive elements (OKLCH/hex format)
*/
export type String_514 = string;
/**
* Text color on accent elements (OKLCH/hex format)
*/
export type String_515 = string;
/**
* Color for destructive actions and errors (OKLCH/hex format)
*/
export type String_516 = string;
/**
* Text color on destructive elements (OKLCH/hex format)
*/
export type String_517 = string;
/**
* Color for success states and positive actions (OKLCH/hex format)
*/
export type String_518 = string;
/**
* Text color on success elements (OKLCH/hex format)
*/
export type String_519 = string;
/**
* Color for warning states and caution indicators (OKLCH/hex format)
*/
export type String_520 = string;
/**
* Text color on warning elements (OKLCH/hex format)
*/
export type String_521 = string;
/**
* Border color for elements (OKLCH/hex format)
*/
export type String_522 = string;
/**
* Border color for input fields (OKLCH/hex format)
*/
export type String_523 = string;
/**
* Background color for sidebar navigation (OKLCH/hex format)
*/
export type String_524 = string;
/**
* Background color for splash screen animation (OKLCH/hex format)
*/
export type String_525 = string;
/**
* URL to team avatar/logo image
*/
export type String_526 = string;
/**
* Use a Google Fonts font
*/
export type String_527 = "Google Fonts";
/**
* Name of the Google Font (e.g., 'Inter', 'Roboto', 'Open Sans')
*/
export type String_528 = string;
/**
* Use a custom uploaded font
*/
export type String_529 = "Custom";
/**
* Display name for the custom font
*/
export type String_530 = string;
/**
* URL to the custom font file
*/
export type String_531 = string;
export interface TEAMS_UPDATEInput {
id: Number_52;
data: Object_135;
}
export interface Object_135 {
name?: String_497;
slug?: String_498;
stripe_subscription_id?: String_499;
theme?: Object_136;
}
/**
* Theme configuration for the workspace. Only include the properties you want to change - existing values will be preserved.
*/
export interface Object_136 {
variables?: Object_137;
picture?: String_526;
/**
* Font configuration for the workspace
*/
font?: Object_138 | Object_139;
}
/**
* CSS custom properties for theme colors. Use OKLCH format (preferred) or hex colors.
*/
export interface Object_137 {
"--background"?: String_500;
"--foreground"?: String_501;
"--card"?: String_502;
"--card-foreground"?: String_503;
"--popover"?: String_504;
"--popover-foreground"?: String_505;
"--primary"?: String_506;
"--primary-foreground"?: String_507;
"--primary-light"?: String_508;
"--primary-dark"?: String_509;
"--secondary"?: String_510;
"--secondary-foreground"?: String_511;
"--muted"?: String_512;
"--muted-foreground"?: String_513;
"--accent"?: String_514;
"--accent-foreground"?: String_515;
"--destructive"?: String_516;
"--destructive-foreground"?: String_517;
"--success"?: String_518;
"--success-foreground"?: String_519;
"--warning"?: String_520;
"--warning-foreground"?: String_521;
"--border"?: String_522;
"--input"?: String_523;
"--sidebar"?: String_524;
"--splash"?: String_525;
}
export interface Object_138 {
type: String_527;
name: String_528;
}
export interface Object_139 {
type: String_529;
name: String_530;
url: String_531;
}
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface TEAMS_UPDATEOutput {
}
// this should be added to your package.json
import { z } from "zod";
export const StateSchema = z.object({});
export interface Env {
DECO_CHAT_WORKSPACE: string;
DECO_CHAT_API_JWT_PUBLIC_KEY: string;
DECO_CHAT_WORKSPACE_API: {
AGENTS_CREATE: (input: AGENTS_CREATEInput) => Promise<AGENTS_CREATEOutput>;
AGENTS_DELETE: (input: AGENTS_DELETEInput) => Promise<AGENTS_DELETEOutput>;
AGENTS_GET: (input: AGENTS_GETInput) => Promise<AGENTS_GETOutput>;
AGENTS_LIST: (input: AGENTS_LISTInput) => Promise<AGENTS_LISTOutput>;
AGENTS_UPDATE: (input: AGENTS_UPDATEInput) => Promise<AGENTS_UPDATEOutput>;
AI_GENERATE: (input: AI_GENERATEInput) => Promise<AI_GENERATEOutput>;
API_KEYS_CHECK_ACCESS: (
input: API_KEYS_CHECK_ACCESSInput,
) => Promise<API_KEYS_CHECK_ACCESSOutput>;
API_KEYS_CREATE: (
input: API_KEYS_CREATEInput,
) => Promise<API_KEYS_CREATEOutput>;
API_KEYS_DELETE: (
input: API_KEYS_DELETEInput,
) => Promise<API_KEYS_DELETEOutput>;
API_KEYS_DISABLE: (
input: API_KEYS_DISABLEInput,
) => Promise<API_KEYS_DISABLEOutput>;
API_KEYS_ENABLE: (
input: API_KEYS_ENABLEInput,
) => Promise<API_KEYS_ENABLEOutput>;
API_KEYS_GET: (input: API_KEYS_GETInput) => Promise<API_KEYS_GETOutput>;
API_KEYS_LIST: (input: API_KEYS_LISTInput) => Promise<API_KEYS_LISTOutput>;
API_KEYS_UPDATE: (
input: API_KEYS_UPDATEInput,
) => Promise<API_KEYS_UPDATEOutput>;
API_KEYS_VALIDATE: (
input: API_KEYS_VALIDATEInput,
) => Promise<API_KEYS_VALIDATEOutput>;
CHANNELS_CREATE: (
input: CHANNELS_CREATEInput,
) => Promise<CHANNELS_CREATEOutput>;
CHANNELS_DELETE: (
input: CHANNELS_DELETEInput,
) => Promise<CHANNELS_DELETEOutput>;
CHANNELS_GET: (input: CHANNELS_GETInput) => Promise<CHANNELS_GETOutput>;
CHANNELS_JOIN: (input: CHANNELS_JOINInput) => Promise<CHANNELS_JOINOutput>;
CHANNELS_LEAVE: (
input: CHANNELS_LEAVEInput,
) => Promise<CHANNELS_LEAVEOutput>;
CHANNELS_LIST: (input: CHANNELS_LISTInput) => Promise<CHANNELS_LISTOutput>;
COMPOSIO_INTEGRATION_OAUTH_START: (
input: COMPOSIO_INTEGRATION_OAUTH_STARTInput,
) => Promise<COMPOSIO_INTEGRATION_OAUTH_STARTOutput>;
CREATE_CHECKOUT_SESSION: (
input: CREATE_CHECKOUT_SESSIONInput,
) => Promise<CREATE_CHECKOUT_SESSIONOutput>;
CREATE_VOUCHER: (
input: CREATE_VOUCHERInput,
) => Promise<CREATE_VOUCHEROutput>;
DATABASES_RUN_SQL: (
input: DATABASES_RUN_SQLInput,
) => Promise<DATABASES_RUN_SQLOutput>;
DECO_INTEGRATION_INSTALL: (
input: DECO_INTEGRATION_INSTALLInput,
) => Promise<DECO_INTEGRATION_INSTALLOutput>;
DECO_INTEGRATION_OAUTH_START: (
input: DECO_INTEGRATION_OAUTH_STARTInput,
) => Promise<DECO_INTEGRATION_OAUTH_STARTOutput>;
DECO_INTEGRATIONS_SEARCH: (
input: DECO_INTEGRATIONS_SEARCHInput,
) => Promise<DECO_INTEGRATIONS_SEARCHOutput>;
FS_DELETE: (input: FS_DELETEInput) => Promise<FS_DELETEOutput>;
FS_LIST: (input: FS_LISTInput) => Promise<FS_LISTOutput>;
FS_READ: (input: FS_READInput) => Promise<FS_READOutput>;
FS_READ_METADATA: (
input: FS_READ_METADATAInput,
) => Promise<FS_READ_METADATAOutput>;
FS_WRITE: (input: FS_WRITEInput) => Promise<FS_WRITEOutput>;
GET_AGENTS_USAGE: (
input: GET_AGENTS_USAGEInput,
) => Promise<GET_AGENTS_USAGEOutput>;
GET_THREADS_USAGE: (
input: GET_THREADS_USAGEInput,
) => Promise<GET_THREADS_USAGEOutput>;
GET_WALLET_ACCOUNT: (
input: GET_WALLET_ACCOUNTInput,
) => Promise<GET_WALLET_ACCOUNTOutput>;
GET_WORKSPACE_PLAN: (
input: GET_WORKSPACE_PLANInput,
) => Promise<GET_WORKSPACE_PLANOutput>;
HOSTING_APP_DELETE: (
input: HOSTING_APP_DELETEInput,
) => Promise<HOSTING_APP_DELETEOutput>;
HOSTING_APP_DEPLOY: (
input: HOSTING_APP_DEPLOYInput,
) => Promise<HOSTING_APP_DEPLOYOutput>;
HOSTING_APP_INFO: (
input: HOSTING_APP_INFOInput,
) => Promise<HOSTING_APP_INFOOutput>;
HOSTING_APP_WORKFLOWS_LIST_RUNS: (
input: HOSTING_APP_WORKFLOWS_LIST_RUNSInput,
) => Promise<HOSTING_APP_WORKFLOWS_LIST_RUNSOutput>;
HOSTING_APP_WORKFLOWS_STATUS: (
input: HOSTING_APP_WORKFLOWS_STATUSInput,
) => Promise<HOSTING_APP_WORKFLOWS_STATUSOutput>;
HOSTING_APPS_LIST: (
input: HOSTING_APPS_LISTInput,
) => Promise<HOSTING_APPS_LISTOutput>;
INTEGRATIONS_CALL_TOOL: (
input: INTEGRATIONS_CALL_TOOLInput,
) => Promise<INTEGRATIONS_CALL_TOOLOutput>;
INTEGRATIONS_CREATE: (
input: INTEGRATIONS_CREATEInput,
) => Promise<INTEGRATIONS_CREATEOutput>;
INTEGRATIONS_DELETE: (
input: INTEGRATIONS_DELETEInput,
) => Promise<INTEGRATIONS_DELETEOutput>;
INTEGRATIONS_GET: (
input: INTEGRATIONS_GETInput,
) => Promise<INTEGRATIONS_GETOutput>;
INTEGRATIONS_LIST: (
input: INTEGRATIONS_LISTInput,
) => Promise<INTEGRATIONS_LISTOutput>;
INTEGRATIONS_UPDATE: (
input: INTEGRATIONS_UPDATEInput,
) => Promise<INTEGRATIONS_UPDATEOutput>;
KNOWLEDGE_BASE_ADD_FILE: (
input: KNOWLEDGE_BASE_ADD_FILEInput,
) => Promise<KNOWLEDGE_BASE_ADD_FILEOutput>;
KNOWLEDGE_BASE_CREATE: (
input: KNOWLEDGE_BASE_CREATEInput,
) => Promise<KNOWLEDGE_BASE_CREATEOutput>;
KNOWLEDGE_BASE_DELETE: (
input: KNOWLEDGE_BASE_DELETEInput,
) => Promise<KNOWLEDGE_BASE_DELETEOutput>;
KNOWLEDGE_BASE_DELETE_FILE: (
input: KNOWLEDGE_BASE_DELETE_FILEInput,
) => Promise<KNOWLEDGE_BASE_DELETE_FILEOutput>;
KNOWLEDGE_BASE_FORGET: (
input: KNOWLEDGE_BASE_FORGETInput,
) => Promise<KNOWLEDGE_BASE_FORGETOutput>;
KNOWLEDGE_BASE_LIST: (
input: KNOWLEDGE_BASE_LISTInput,
) => Promise<KNOWLEDGE_BASE_LISTOutput>;
KNOWLEDGE_BASE_LIST_FILES: (
input: KNOWLEDGE_BASE_LIST_FILESInput,
) => Promise<KNOWLEDGE_BASE_LIST_FILESOutput>;
KNOWLEDGE_BASE_REMEMBER: (
input: KNOWLEDGE_BASE_REMEMBERInput,
) => Promise<KNOWLEDGE_BASE_REMEMBEROutput>;
KNOWLEDGE_BASE_SEARCH: (
input: KNOWLEDGE_BASE_SEARCHInput,
) => Promise<KNOWLEDGE_BASE_SEARCHOutput>;
MODELS_CREATE: (input: MODELS_CREATEInput) => Promise<MODELS_CREATEOutput>;
MODELS_DELETE: (input: MODELS_DELETEInput) => Promise<MODELS_DELETEOutput>;
MODELS_GET: (input: MODELS_GETInput) => Promise<MODELS_GETOutput>;
MODELS_LIST: (input: MODELS_LISTInput) => Promise<MODELS_LISTOutput>;
MODELS_UPDATE: (input: MODELS_UPDATEInput) => Promise<MODELS_UPDATEOutput>;
PROMPTS_CREATE: (
input: PROMPTS_CREATEInput,
) => Promise<PROMPTS_CREATEOutput>;
PROMPTS_DELETE: (
input: PROMPTS_DELETEInput,
) => Promise<PROMPTS_DELETEOutput>;
PROMPTS_GET: (input: PROMPTS_GETInput) => Promise<PROMPTS_GETOutput>;
PROMPTS_GET_VERSIONS: (
input: PROMPTS_GET_VERSIONSInput,
) => Promise<PROMPTS_GET_VERSIONSOutput>;
PROMPTS_LIST: (input: PROMPTS_LISTInput) => Promise<PROMPTS_LISTOutput>;
PROMPTS_RENAME_VERSION: (
input: PROMPTS_RENAME_VERSIONInput,
) => Promise<PROMPTS_RENAME_VERSIONOutput>;
PROMPTS_SEARCH: (
input: PROMPTS_SEARCHInput,
) => Promise<PROMPTS_SEARCHOutput>;
PROMPTS_UPDATE: (
input: PROMPTS_UPDATEInput,
) => Promise<PROMPTS_UPDATEOutput>;
REDEEM_VOUCHER: (
input: REDEEM_VOUCHERInput,
) => Promise<REDEEM_VOUCHEROutput>;
REGISTRY_GET_APP: (
input: REGISTRY_GET_APPInput,
) => Promise<REGISTRY_GET_APPOutput>;
REGISTRY_LIST_APPS: (
input: REGISTRY_LIST_APPSInput,
) => Promise<REGISTRY_LIST_APPSOutput>;
REGISTRY_LIST_SCOPES: (
input: REGISTRY_LIST_SCOPESInput,
) => Promise<REGISTRY_LIST_SCOPESOutput>;
REGISTRY_PUBLISH_APP: (
input: REGISTRY_PUBLISH_APPInput,
) => Promise<REGISTRY_PUBLISH_APPOutput>;
TEAM_MEMBERS_INVITE: (
input: TEAM_MEMBERS_INVITEInput,
) => Promise<TEAM_MEMBERS_INVITEOutput>;
THREADS_GET: (input: THREADS_GETInput) => Promise<THREADS_GETOutput>;
THREADS_GET_MESSAGES: (
input: THREADS_GET_MESSAGESInput,
) => Promise<THREADS_GET_MESSAGESOutput>;
THREADS_GET_TOOLS: (
input: THREADS_GET_TOOLSInput,
) => Promise<THREADS_GET_TOOLSOutput>;
THREADS_LIST: (input: THREADS_LISTInput) => Promise<THREADS_LISTOutput>;
THREADS_UPDATE_METADATA: (
input: THREADS_UPDATE_METADATAInput,
) => Promise<THREADS_UPDATE_METADATAOutput>;
THREADS_UPDATE_TITLE: (
input: THREADS_UPDATE_TITLEInput,
) => Promise<THREADS_UPDATE_TITLEOutput>;
TRIGGERS_ACTIVATE: (
input: TRIGGERS_ACTIVATEInput,
) => Promise<TRIGGERS_ACTIVATEOutput>;
TRIGGERS_CREATE: (
input: TRIGGERS_CREATEInput,
) => Promise<TRIGGERS_CREATEOutput>;
TRIGGERS_CREATE_CRON: (
input: TRIGGERS_CREATE_CRONInput,
) => Promise<TRIGGERS_CREATE_CRONOutput>;
TRIGGERS_CREATE_WEBHOOK: (
input: TRIGGERS_CREATE_WEBHOOKInput,
) => Promise<TRIGGERS_CREATE_WEBHOOKOutput>;
TRIGGERS_DEACTIVATE: (
input: TRIGGERS_DEACTIVATEInput,
) => Promise<TRIGGERS_DEACTIVATEOutput>;
TRIGGERS_DELETE: (
input: TRIGGERS_DELETEInput,
) => Promise<TRIGGERS_DELETEOutput>;
TRIGGERS_GET: (input: TRIGGERS_GETInput) => Promise<TRIGGERS_GETOutput>;
TRIGGERS_GET_WEBHOOK_URL: (
input: TRIGGERS_GET_WEBHOOK_URLInput,
) => Promise<TRIGGERS_GET_WEBHOOK_URLOutput>;
TRIGGERS_LIST: (input: TRIGGERS_LISTInput) => Promise<TRIGGERS_LISTOutput>;
TRIGGERS_UPDATE: (
input: TRIGGERS_UPDATEInput,
) => Promise<TRIGGERS_UPDATEOutput>;
WHATSAPP_CREATE_INVITE: (
input: WHATSAPP_CREATE_INVITEInput,
) => Promise<WHATSAPP_CREATE_INVITEOutput>;
WHATSAPP_GET_USER: (
input: WHATSAPP_GET_USERInput,
) => Promise<WHATSAPP_GET_USEROutput>;
WHATSAPP_SEND_TEMPLATE_MESSAGE: (
input: WHATSAPP_SEND_TEMPLATE_MESSAGEInput,
) => Promise<WHATSAPP_SEND_TEMPLATE_MESSAGEOutput>;
WHATSAPP_UPSERT_USER: (
input: WHATSAPP_UPSERT_USERInput,
) => Promise<WHATSAPP_UPSERT_USEROutput>;
};
DECO_CHAT_API: {
INTEGRATIONS_CALL_TOOL: (
input: INTEGRATIONS_CALL_TOOLInput,
) => Promise<INTEGRATIONS_CALL_TOOLOutput>;
INTEGRATIONS_LIST_TOOLS: (
input: INTEGRATIONS_LIST_TOOLSInput,
) => Promise<INTEGRATIONS_LIST_TOOLSOutput>;
MY_INVITES_LIST: (
input: MY_INVITES_LISTInput,
) => Promise<MY_INVITES_LISTOutput>;
PROFILES_GET: (input: PROFILES_GETInput) => Promise<PROFILES_GETOutput>;
PROFILES_UPDATE: (
input: PROFILES_UPDATEInput,
) => Promise<PROFILES_UPDATEOutput>;
TEAM_INVITE_ACCEPT: (
input: TEAM_INVITE_ACCEPTInput,
) => Promise<TEAM_INVITE_ACCEPTOutput>;
TEAM_INVITE_DELETE: (
input: TEAM_INVITE_DELETEInput,
) => Promise<TEAM_INVITE_DELETEOutput>;
TEAM_MEMBER_ACTIVITY_REGISTER: (
input: TEAM_MEMBER_ACTIVITY_REGISTERInput,
) => Promise<TEAM_MEMBER_ACTIVITY_REGISTEROutput>;
TEAM_MEMBERS_GET: (
input: TEAM_MEMBERS_GETInput,
) => Promise<TEAM_MEMBERS_GETOutput>;
TEAM_MEMBERS_INVITE: (
input: TEAM_MEMBERS_INVITEInput,
) => Promise<TEAM_MEMBERS_INVITEOutput>;
TEAM_MEMBERS_REMOVE: (
input: TEAM_MEMBERS_REMOVEInput,
) => Promise<TEAM_MEMBERS_REMOVEOutput>;
TEAM_MEMBERS_UPDATE: (
input: TEAM_MEMBERS_UPDATEInput,
) => Promise<TEAM_MEMBERS_UPDATEOutput>;
TEAM_MEMBERS_UPDATE_ROLE: (
input: TEAM_MEMBERS_UPDATE_ROLEInput,
) => Promise<TEAM_MEMBERS_UPDATE_ROLEOutput>;
TEAM_ROLES_LIST: (
input: TEAM_ROLES_LISTInput,
) => Promise<TEAM_ROLES_LISTOutput>;
TEAMS_CREATE: (input: TEAMS_CREATEInput) => Promise<TEAMS_CREATEOutput>;
TEAMS_DELETE: (input: TEAMS_DELETEInput) => Promise<TEAMS_DELETEOutput>;
TEAMS_GET: (input: TEAMS_GETInput) => Promise<TEAMS_GETOutput>;
TEAMS_GET_THEME: (
input: TEAMS_GET_THEMEInput,
) => Promise<TEAMS_GET_THEMEOutput>;
TEAMS_LIST: (input: TEAMS_LISTInput) => Promise<TEAMS_LISTOutput>;
TEAMS_UPDATE: (input: TEAMS_UPDATEInput) => Promise<TEAMS_UPDATEOutput>;
};
SELF: {
DECO_CHAT_OAUTH_START: (
input: DECO_CHAT_OAUTH_STARTInput,
) => Promise<DECO_CHAT_OAUTH_STARTOutput>;
DECO_CHAT_WORKFLOWS_CANCEL_MY_WORKFLOW: (
input: DECO_CHAT_WORKFLOWS_CANCEL_MY_WORKFLOWInput,
) => Promise<DECO_CHAT_WORKFLOWS_CANCEL_MY_WORKFLOWOutput>;
DECO_CHAT_WORKFLOWS_RESUME_MY_WORKFLOW: (
input: DECO_CHAT_WORKFLOWS_RESUME_MY_WORKFLOWInput,
) => Promise<DECO_CHAT_WORKFLOWS_RESUME_MY_WORKFLOWOutput>;
DECO_CHAT_WORKFLOWS_START_MY_WORKFLOW: (
input: DECO_CHAT_WORKFLOWS_START_MY_WORKFLOWInput,
) => Promise<DECO_CHAT_WORKFLOWS_START_MY_WORKFLOWOutput>;
MY_TOOL: (input: MY_TOOLInput) => Promise<MY_TOOLOutput>;
};
}