refactor: add descriptive comments for various response payload interfaces

This commit is contained in:
Abhimanyu Saharan
2026-02-10 00:17:21 +05:30
parent 55d4c482bc
commit 79f7ad8ba3
111 changed files with 697 additions and 33 deletions

View File

@@ -31,6 +31,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* List activity events visible to the calling actor.
* @summary List Activity * @summary List Activity
*/ */
export type listActivityApiV1ActivityGetResponse200 = { export type listActivityApiV1ActivityGetResponse200 = {
@@ -241,6 +242,7 @@ export function useListActivityApiV1ActivityGet<
} }
/** /**
* List task-comment feed items for accessible boards.
* @summary List Task Comment Feed * @summary List Task Comment Feed
*/ */
export type listTaskCommentFeedApiV1ActivityTaskCommentsGetResponse200 = { export type listTaskCommentFeedApiV1ActivityTaskCommentsGetResponse200 = {
@@ -489,6 +491,7 @@ export function useListTaskCommentFeedApiV1ActivityTaskCommentsGet<
} }
/** /**
* Stream task-comment events for accessible boards.
* @summary Stream Task Comment Feed * @summary Stream Task Comment Feed
*/ */
export type streamTaskCommentFeedApiV1ActivityTaskCommentsStreamGetResponse200 = export type streamTaskCommentFeedApiV1ActivityTaskCommentsStreamGetResponse200 =

View File

@@ -66,6 +66,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* List boards visible to the authenticated agent.
* @summary List Boards * @summary List Boards
*/ */
export type listBoardsApiV1AgentBoardsGetResponse200 = { export type listBoardsApiV1AgentBoardsGetResponse200 = {
@@ -276,6 +277,7 @@ export function useListBoardsApiV1AgentBoardsGet<
} }
/** /**
* Return a board if the authenticated agent can access it.
* @summary Get Board * @summary Get Board
*/ */
export type getBoardApiV1AgentBoardsBoardIdGetResponse200 = { export type getBoardApiV1AgentBoardsBoardIdGetResponse200 = {
@@ -478,6 +480,7 @@ export function useGetBoardApiV1AgentBoardsBoardIdGet<
} }
/** /**
* List agents, optionally filtered to a board.
* @summary List Agents * @summary List Agents
*/ */
export type listAgentsApiV1AgentAgentsGetResponse200 = { export type listAgentsApiV1AgentAgentsGetResponse200 = {
@@ -688,6 +691,7 @@ export function useListAgentsApiV1AgentAgentsGet<
} }
/** /**
* Create an agent on the caller's board.
* @summary Create Agent * @summary Create Agent
*/ */
export type createAgentApiV1AgentAgentsPostResponse200 = { export type createAgentApiV1AgentAgentsPostResponse200 = {
@@ -805,6 +809,7 @@ export const useCreateAgentApiV1AgentAgentsPost = <
); );
}; };
/** /**
* List tasks on a board with optional status and assignment filters.
* @summary List Tasks * @summary List Tasks
*/ */
export type listTasksApiV1AgentBoardsBoardIdTasksGetResponse200 = { export type listTasksApiV1AgentBoardsBoardIdTasksGetResponse200 = {
@@ -1037,6 +1042,7 @@ export function useListTasksApiV1AgentBoardsBoardIdTasksGet<
} }
/** /**
* Create a task on the board as the lead agent.
* @summary Create Task * @summary Create Task
*/ */
export type createTaskApiV1AgentBoardsBoardIdTasksPostResponse200 = { export type createTaskApiV1AgentBoardsBoardIdTasksPostResponse200 = {
@@ -1163,6 +1169,7 @@ export const useCreateTaskApiV1AgentBoardsBoardIdTasksPost = <
); );
}; };
/** /**
* Update a task after board-level access checks.
* @summary Update Task * @summary Update Task
*/ */
export type updateTaskApiV1AgentBoardsBoardIdTasksTaskIdPatchResponse200 = { export type updateTaskApiV1AgentBoardsBoardIdTasksTaskIdPatchResponse200 = {
@@ -1303,6 +1310,7 @@ export const useUpdateTaskApiV1AgentBoardsBoardIdTasksTaskIdPatch = <
); );
}; };
/** /**
* List comments for a task visible to the authenticated agent.
* @summary List Task Comments * @summary List Task Comments
*/ */
export type listTaskCommentsApiV1AgentBoardsBoardIdTasksTaskIdCommentsGetResponse200 = export type listTaskCommentsApiV1AgentBoardsBoardIdTasksTaskIdCommentsGetResponse200 =
@@ -1636,6 +1644,7 @@ export function useListTaskCommentsApiV1AgentBoardsBoardIdTasksTaskIdCommentsGet
} }
/** /**
* Create a task comment on behalf of the authenticated agent.
* @summary Create Task Comment * @summary Create Task Comment
*/ */
export type createTaskCommentApiV1AgentBoardsBoardIdTasksTaskIdCommentsPostResponse200 = export type createTaskCommentApiV1AgentBoardsBoardIdTasksTaskIdCommentsPostResponse200 =
@@ -1795,6 +1804,7 @@ export const useCreateTaskCommentApiV1AgentBoardsBoardIdTasksTaskIdCommentsPost
); );
}; };
/** /**
* List board memory entries with optional chat filtering.
* @summary List Board Memory * @summary List Board Memory
*/ */
export type listBoardMemoryApiV1AgentBoardsBoardIdMemoryGetResponse200 = { export type listBoardMemoryApiV1AgentBoardsBoardIdMemoryGetResponse200 = {
@@ -2057,6 +2067,7 @@ export function useListBoardMemoryApiV1AgentBoardsBoardIdMemoryGet<
} }
/** /**
* Create a board memory entry.
* @summary Create Board Memory * @summary Create Board Memory
*/ */
export type createBoardMemoryApiV1AgentBoardsBoardIdMemoryPostResponse200 = { export type createBoardMemoryApiV1AgentBoardsBoardIdMemoryPostResponse200 = {
@@ -2196,6 +2207,7 @@ export const useCreateBoardMemoryApiV1AgentBoardsBoardIdMemoryPost = <
); );
}; };
/** /**
* List approvals for a board.
* @summary List Approvals * @summary List Approvals
*/ */
export type listApprovalsApiV1AgentBoardsBoardIdApprovalsGetResponse200 = { export type listApprovalsApiV1AgentBoardsBoardIdApprovalsGetResponse200 = {
@@ -2463,6 +2475,7 @@ export function useListApprovalsApiV1AgentBoardsBoardIdApprovalsGet<
} }
/** /**
* Create a board approval request.
* @summary Create Approval * @summary Create Approval
*/ */
export type createApprovalApiV1AgentBoardsBoardIdApprovalsPostResponse200 = { export type createApprovalApiV1AgentBoardsBoardIdApprovalsPostResponse200 = {
@@ -2602,6 +2615,7 @@ export const useCreateApprovalApiV1AgentBoardsBoardIdApprovalsPost = <
); );
}; };
/** /**
* Apply onboarding updates for a board.
* @summary Update Onboarding * @summary Update Onboarding
*/ */
export type updateOnboardingApiV1AgentBoardsBoardIdOnboardingPostResponse200 = { export type updateOnboardingApiV1AgentBoardsBoardIdOnboardingPostResponse200 = {
@@ -2763,6 +2777,7 @@ export const useUpdateOnboardingApiV1AgentBoardsBoardIdOnboardingPost = <
); );
}; };
/** /**
* Send a direct nudge message to a board agent.
* @summary Nudge Agent * @summary Nudge Agent
*/ */
export type nudgeAgentApiV1AgentBoardsBoardIdAgentsAgentIdNudgePostResponse200 = export type nudgeAgentApiV1AgentBoardsBoardIdAgentsAgentIdNudgePostResponse200 =
@@ -2918,6 +2933,7 @@ export const useNudgeAgentApiV1AgentBoardsBoardIdAgentsAgentIdNudgePost = <
); );
}; };
/** /**
* Record heartbeat status for the authenticated agent.
* @summary Agent Heartbeat * @summary Agent Heartbeat
*/ */
export type agentHeartbeatApiV1AgentHeartbeatPostResponse200 = { export type agentHeartbeatApiV1AgentHeartbeatPostResponse200 = {
@@ -3037,6 +3053,7 @@ export const useAgentHeartbeatApiV1AgentHeartbeatPost = <
); );
}; };
/** /**
* Fetch the target agent's SOUL.md content from the gateway.
* @summary Get Agent Soul * @summary Get Agent Soul
*/ */
export type getAgentSoulApiV1AgentBoardsBoardIdAgentsAgentIdSoulGetResponse200 = export type getAgentSoulApiV1AgentBoardsBoardIdAgentsAgentIdSoulGetResponse200 =
@@ -3320,6 +3337,7 @@ export function useGetAgentSoulApiV1AgentBoardsBoardIdAgentsAgentIdSoulGet<
} }
/** /**
* Update an agent's SOUL.md content in DB and gateway.
* @summary Update Agent Soul * @summary Update Agent Soul
*/ */
export type updateAgentSoulApiV1AgentBoardsBoardIdAgentsAgentIdSoulPutResponse200 = export type updateAgentSoulApiV1AgentBoardsBoardIdAgentsAgentIdSoulPutResponse200 =
@@ -3480,6 +3498,7 @@ export const useUpdateAgentSoulApiV1AgentBoardsBoardIdAgentsAgentIdSoulPut = <
); );
}; };
/** /**
* Route a lead's ask-user request through the gateway main agent.
* @summary Ask User Via Gateway Main * @summary Ask User Via Gateway Main
*/ */
export type askUserViaGatewayMainApiV1AgentBoardsBoardIdGatewayMainAskUserPostResponse200 = export type askUserViaGatewayMainApiV1AgentBoardsBoardIdGatewayMainAskUserPostResponse200 =
@@ -3636,6 +3655,7 @@ export const useAskUserViaGatewayMainApiV1AgentBoardsBoardIdGatewayMainAskUserPo
); );
}; };
/** /**
* Send a gateway-main message to a single board lead agent.
* @summary Message Gateway Board Lead * @summary Message Gateway Board Lead
*/ */
export type messageGatewayBoardLeadApiV1AgentGatewayBoardsBoardIdLeadMessagePostResponse200 = export type messageGatewayBoardLeadApiV1AgentGatewayBoardsBoardIdLeadMessagePostResponse200 =
@@ -3792,6 +3812,7 @@ export const useMessageGatewayBoardLeadApiV1AgentGatewayBoardsBoardIdLeadMessage
); );
}; };
/** /**
* Broadcast a gateway-main message to multiple board leads.
* @summary Broadcast Gateway Lead Message * @summary Broadcast Gateway Lead Message
*/ */
export type broadcastGatewayLeadMessageApiV1AgentGatewayLeadsBroadcastPostResponse200 = export type broadcastGatewayLeadMessageApiV1AgentGatewayLeadsBroadcastPostResponse200 =

View File

@@ -39,6 +39,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* List agents visible to the active organization admin.
* @summary List Agents * @summary List Agents
*/ */
export type listAgentsApiV1AgentsGetResponse200 = { export type listAgentsApiV1AgentsGetResponse200 = {
@@ -246,6 +247,7 @@ export function useListAgentsApiV1AgentsGet<
} }
/** /**
* Create and provision an agent.
* @summary Create Agent * @summary Create Agent
*/ */
export type createAgentApiV1AgentsPostResponse200 = { export type createAgentApiV1AgentsPostResponse200 = {
@@ -363,6 +365,7 @@ export const useCreateAgentApiV1AgentsPost = <
); );
}; };
/** /**
* Stream agent updates as SSE events.
* @summary Stream Agents * @summary Stream Agents
*/ */
export type streamAgentsApiV1AgentsStreamGetResponse200 = { export type streamAgentsApiV1AgentsStreamGetResponse200 = {
@@ -574,6 +577,7 @@ export function useStreamAgentsApiV1AgentsStreamGet<
} }
/** /**
* Get a single agent by id.
* @summary Get Agent * @summary Get Agent
*/ */
export type getAgentApiV1AgentsAgentIdGetResponse200 = { export type getAgentApiV1AgentsAgentIdGetResponse200 = {
@@ -773,6 +777,7 @@ export function useGetAgentApiV1AgentsAgentIdGet<
} }
/** /**
* Update agent metadata and optionally reprovision.
* @summary Update Agent * @summary Update Agent
*/ */
export type updateAgentApiV1AgentsAgentIdPatchResponse200 = { export type updateAgentApiV1AgentsAgentIdPatchResponse200 = {
@@ -933,6 +938,7 @@ export const useUpdateAgentApiV1AgentsAgentIdPatch = <
); );
}; };
/** /**
* Delete an agent and clean related task state.
* @summary Delete Agent * @summary Delete Agent
*/ */
export type deleteAgentApiV1AgentsAgentIdDeleteResponse200 = { export type deleteAgentApiV1AgentsAgentIdDeleteResponse200 = {
@@ -1049,6 +1055,7 @@ export const useDeleteAgentApiV1AgentsAgentIdDelete = <
); );
}; };
/** /**
* Record a heartbeat for a specific agent.
* @summary Heartbeat Agent * @summary Heartbeat Agent
*/ */
export type heartbeatAgentApiV1AgentsAgentIdHeartbeatPostResponse200 = { export type heartbeatAgentApiV1AgentsAgentIdHeartbeatPostResponse200 = {
@@ -1176,6 +1183,7 @@ export const useHeartbeatAgentApiV1AgentsAgentIdHeartbeatPost = <
); );
}; };
/** /**
* Heartbeat an existing agent or create/provision one if needed.
* @summary Heartbeat Or Create Agent * @summary Heartbeat Or Create Agent
*/ */
export type heartbeatOrCreateAgentApiV1AgentsHeartbeatPostResponse200 = { export type heartbeatOrCreateAgentApiV1AgentsHeartbeatPostResponse200 = {

View File

@@ -35,6 +35,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* List approvals for a board, optionally filtering by status.
* @summary List Approvals * @summary List Approvals
*/ */
export type listApprovalsApiV1BoardsBoardIdApprovalsGetResponse200 = { export type listApprovalsApiV1BoardsBoardIdApprovalsGetResponse200 = {
@@ -287,6 +288,7 @@ export function useListApprovalsApiV1BoardsBoardIdApprovalsGet<
} }
/** /**
* Create an approval for a board.
* @summary Create Approval * @summary Create Approval
*/ */
export type createApprovalApiV1BoardsBoardIdApprovalsPostResponse200 = { export type createApprovalApiV1BoardsBoardIdApprovalsPostResponse200 = {
@@ -414,6 +416,7 @@ export const useCreateApprovalApiV1BoardsBoardIdApprovalsPost = <
); );
}; };
/** /**
* Stream approval updates for a board using server-sent events.
* @summary Stream Approvals * @summary Stream Approvals
*/ */
export type streamApprovalsApiV1BoardsBoardIdApprovalsStreamGetResponse200 = { export type streamApprovalsApiV1BoardsBoardIdApprovalsStreamGetResponse200 = {
@@ -696,6 +699,7 @@ export function useStreamApprovalsApiV1BoardsBoardIdApprovalsStreamGet<
} }
/** /**
* Update an approval's status and resolution timestamp.
* @summary Update Approval * @summary Update Approval
*/ */
export type updateApprovalApiV1BoardsBoardIdApprovalsApprovalIdPatchResponse200 = export type updateApprovalApiV1BoardsBoardIdApprovalsApprovalIdPatchResponse200 =

View File

@@ -19,6 +19,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* Return the authenticated user profile from token claims.
* @summary Bootstrap User * @summary Bootstrap User
*/ */
export type bootstrapUserApiV1AuthBootstrapPostResponse200 = { export type bootstrapUserApiV1AuthBootstrapPostResponse200 = {

View File

@@ -36,6 +36,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* List board-group memory entries for a specific group.
* @summary List Board Group Memory * @summary List Board Group Memory
*/ */
export type listBoardGroupMemoryApiV1BoardGroupsGroupIdMemoryGetResponse200 = { export type listBoardGroupMemoryApiV1BoardGroupsGroupIdMemoryGetResponse200 = {
@@ -328,6 +329,7 @@ export function useListBoardGroupMemoryApiV1BoardGroupsGroupIdMemoryGet<
} }
/** /**
* Create a board-group memory entry and notify chat recipients.
* @summary Create Board Group Memory * @summary Create Board Group Memory
*/ */
export type createBoardGroupMemoryApiV1BoardGroupsGroupIdMemoryPostResponse200 = export type createBoardGroupMemoryApiV1BoardGroupsGroupIdMemoryPostResponse200 =
@@ -477,6 +479,7 @@ export const useCreateBoardGroupMemoryApiV1BoardGroupsGroupIdMemoryPost = <
); );
}; };
/** /**
* Stream memory entries for a board group via server-sent events.
* @summary Stream Board Group Memory * @summary Stream Board Group Memory
*/ */
export type streamBoardGroupMemoryApiV1BoardGroupsGroupIdMemoryStreamGetResponse200 = export type streamBoardGroupMemoryApiV1BoardGroupsGroupIdMemoryStreamGetResponse200 =
@@ -798,6 +801,7 @@ export function useStreamBoardGroupMemoryApiV1BoardGroupsGroupIdMemoryStreamGet<
} }
/** /**
* List memory entries for the board's linked group.
* @summary List Board Group Memory For Board * @summary List Board Group Memory For Board
*/ */
export type listBoardGroupMemoryForBoardApiV1BoardsBoardIdGroupMemoryGetResponse200 = export type listBoardGroupMemoryForBoardApiV1BoardsBoardIdGroupMemoryGetResponse200 =
@@ -1119,6 +1123,7 @@ export function useListBoardGroupMemoryForBoardApiV1BoardsBoardIdGroupMemoryGet<
} }
/** /**
* Create a group memory entry from a board context and notify recipients.
* @summary Create Board Group Memory For Board * @summary Create Board Group Memory For Board
*/ */
export type createBoardGroupMemoryForBoardApiV1BoardsBoardIdGroupMemoryPostResponse200 = export type createBoardGroupMemoryForBoardApiV1BoardsBoardIdGroupMemoryPostResponse200 =
@@ -1275,6 +1280,7 @@ export const useCreateBoardGroupMemoryForBoardApiV1BoardsBoardIdGroupMemoryPost
); );
}; };
/** /**
* Stream memory entries for the board's linked group.
* @summary Stream Board Group Memory For Board * @summary Stream Board Group Memory For Board
*/ */
export type streamBoardGroupMemoryForBoardApiV1BoardsBoardIdGroupMemoryStreamGetResponse200 = export type streamBoardGroupMemoryForBoardApiV1BoardsBoardIdGroupMemoryStreamGetResponse200 =

View File

@@ -39,6 +39,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* List board groups in the active organization.
* @summary List Board Groups * @summary List Board Groups
*/ */
export type listBoardGroupsApiV1BoardGroupsGetResponse200 = { export type listBoardGroupsApiV1BoardGroupsGetResponse200 = {
@@ -250,6 +251,7 @@ export function useListBoardGroupsApiV1BoardGroupsGet<
} }
/** /**
* Create a board group in the active organization.
* @summary Create Board Group * @summary Create Board Group
*/ */
export type createBoardGroupApiV1BoardGroupsPostResponse200 = { export type createBoardGroupApiV1BoardGroupsPostResponse200 = {
@@ -368,6 +370,7 @@ export const useCreateBoardGroupApiV1BoardGroupsPost = <
); );
}; };
/** /**
* Get a board group by id.
* @summary Get Board Group * @summary Get Board Group
*/ */
export type getBoardGroupApiV1BoardGroupsGroupIdGetResponse200 = { export type getBoardGroupApiV1BoardGroupsGroupIdGetResponse200 = {
@@ -576,6 +579,7 @@ export function useGetBoardGroupApiV1BoardGroupsGroupIdGet<
} }
/** /**
* Update a board group.
* @summary Update Board Group * @summary Update Board Group
*/ */
export type updateBoardGroupApiV1BoardGroupsGroupIdPatchResponse200 = { export type updateBoardGroupApiV1BoardGroupsGroupIdPatchResponse200 = {
@@ -703,6 +707,7 @@ export const useUpdateBoardGroupApiV1BoardGroupsGroupIdPatch = <
); );
}; };
/** /**
* Delete a board group.
* @summary Delete Board Group * @summary Delete Board Group
*/ */
export type deleteBoardGroupApiV1BoardGroupsGroupIdDeleteResponse200 = { export type deleteBoardGroupApiV1BoardGroupsGroupIdDeleteResponse200 = {
@@ -825,6 +830,7 @@ export const useDeleteBoardGroupApiV1BoardGroupsGroupIdDelete = <
); );
}; };
/** /**
* Get a snapshot across boards in a group.
* @summary Get Board Group Snapshot * @summary Get Board Group Snapshot
*/ */
export type getBoardGroupSnapshotApiV1BoardGroupsGroupIdSnapshotGetResponse200 = export type getBoardGroupSnapshotApiV1BoardGroupsGroupIdSnapshotGetResponse200 =
@@ -1127,6 +1133,7 @@ export function useGetBoardGroupSnapshotApiV1BoardGroupsGroupIdSnapshotGet<
} }
/** /**
* Apply heartbeat settings to agents in a board group.
* @summary Apply Board Group Heartbeat * @summary Apply Board Group Heartbeat
*/ */
export type applyBoardGroupHeartbeatApiV1BoardGroupsGroupIdHeartbeatPostResponse200 = export type applyBoardGroupHeartbeatApiV1BoardGroupsGroupIdHeartbeatPostResponse200 =

View File

@@ -34,6 +34,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* List board memory entries, optionally filtering chat entries.
* @summary List Board Memory * @summary List Board Memory
*/ */
export type listBoardMemoryApiV1BoardsBoardIdMemoryGetResponse200 = { export type listBoardMemoryApiV1BoardsBoardIdMemoryGetResponse200 = {
@@ -281,6 +282,7 @@ export function useListBoardMemoryApiV1BoardsBoardIdMemoryGet<
} }
/** /**
* Create a board memory entry and notify chat targets when needed.
* @summary Create Board Memory * @summary Create Board Memory
*/ */
export type createBoardMemoryApiV1BoardsBoardIdMemoryPostResponse200 = { export type createBoardMemoryApiV1BoardsBoardIdMemoryPostResponse200 = {
@@ -408,6 +410,7 @@ export const useCreateBoardMemoryApiV1BoardsBoardIdMemoryPost = <
); );
}; };
/** /**
* Stream board memory events over server-sent events.
* @summary Stream Board Memory * @summary Stream Board Memory
*/ */
export type streamBoardMemoryApiV1BoardsBoardIdMemoryStreamGetResponse200 = { export type streamBoardMemoryApiV1BoardsBoardIdMemoryStreamGetResponse200 = {

View File

@@ -36,6 +36,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* Get the latest onboarding session for a board.
* @summary Get Onboarding * @summary Get Onboarding
*/ */
export type getOnboardingApiV1BoardsBoardIdOnboardingGetResponse200 = { export type getOnboardingApiV1BoardsBoardIdOnboardingGetResponse200 = {
@@ -274,6 +275,7 @@ export function useGetOnboardingApiV1BoardsBoardIdOnboardingGet<
} }
/** /**
* Start onboarding and send instructions to the gateway main agent.
* @summary Start Onboarding * @summary Start Onboarding
*/ */
export type startOnboardingApiV1BoardsBoardIdOnboardingStartPostResponse200 = { export type startOnboardingApiV1BoardsBoardIdOnboardingStartPostResponse200 = {
@@ -415,6 +417,7 @@ export const useStartOnboardingApiV1BoardsBoardIdOnboardingStartPost = <
); );
}; };
/** /**
* Send a user onboarding answer to the gateway main agent.
* @summary Answer Onboarding * @summary Answer Onboarding
*/ */
export type answerOnboardingApiV1BoardsBoardIdOnboardingAnswerPostResponse200 = export type answerOnboardingApiV1BoardsBoardIdOnboardingAnswerPostResponse200 =
@@ -564,6 +567,7 @@ export const useAnswerOnboardingApiV1BoardsBoardIdOnboardingAnswerPost = <
); );
}; };
/** /**
* Store onboarding updates submitted by the gateway main agent.
* @summary Agent Onboarding Update * @summary Agent Onboarding Update
*/ */
export type agentOnboardingUpdateApiV1BoardsBoardIdOnboardingAgentPostResponse200 = export type agentOnboardingUpdateApiV1BoardsBoardIdOnboardingAgentPostResponse200 =
@@ -738,6 +742,7 @@ export const useAgentOnboardingUpdateApiV1BoardsBoardIdOnboardingAgentPost = <
); );
}; };
/** /**
* Confirm onboarding results and provision the board lead agent.
* @summary Confirm Onboarding * @summary Confirm Onboarding
*/ */
export type confirmOnboardingApiV1BoardsBoardIdOnboardingConfirmPostResponse200 = export type confirmOnboardingApiV1BoardsBoardIdOnboardingConfirmPostResponse200 =

View File

@@ -38,6 +38,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* List boards visible to the current organization member.
* @summary List Boards * @summary List Boards
*/ */
export type listBoardsApiV1BoardsGetResponse200 = { export type listBoardsApiV1BoardsGetResponse200 = {
@@ -245,6 +246,7 @@ export function useListBoardsApiV1BoardsGet<
} }
/** /**
* Create a board in the active organization.
* @summary Create Board * @summary Create Board
*/ */
export type createBoardApiV1BoardsPostResponse200 = { export type createBoardApiV1BoardsPostResponse200 = {
@@ -362,6 +364,7 @@ export const useCreateBoardApiV1BoardsPost = <
); );
}; };
/** /**
* Get a board by id.
* @summary Get Board * @summary Get Board
*/ */
export type getBoardApiV1BoardsBoardIdGetResponse200 = { export type getBoardApiV1BoardsBoardIdGetResponse200 = {
@@ -561,6 +564,7 @@ export function useGetBoardApiV1BoardsBoardIdGet<
} }
/** /**
* Update mutable board properties.
* @summary Update Board * @summary Update Board
*/ */
export type updateBoardApiV1BoardsBoardIdPatchResponse200 = { export type updateBoardApiV1BoardsBoardIdPatchResponse200 = {
@@ -680,6 +684,7 @@ export const useUpdateBoardApiV1BoardsBoardIdPatch = <
); );
}; };
/** /**
* Delete a board and all dependent records.
* @summary Delete Board * @summary Delete Board
*/ */
export type deleteBoardApiV1BoardsBoardIdDeleteResponse200 = { export type deleteBoardApiV1BoardsBoardIdDeleteResponse200 = {
@@ -796,6 +801,7 @@ export const useDeleteBoardApiV1BoardsBoardIdDelete = <
); );
}; };
/** /**
* Get a board snapshot view model.
* @summary Get Board Snapshot * @summary Get Board Snapshot
*/ */
export type getBoardSnapshotApiV1BoardsBoardIdSnapshotGetResponse200 = { export type getBoardSnapshotApiV1BoardsBoardIdSnapshotGetResponse200 = {
@@ -1034,6 +1040,7 @@ export function useGetBoardSnapshotApiV1BoardsBoardIdSnapshotGet<
} }
/** /**
* Get a grouped snapshot across related boards.
* @summary Get Board Group Snapshot * @summary Get Board Group Snapshot
*/ */
export type getBoardGroupSnapshotApiV1BoardsBoardIdGroupSnapshotGetResponse200 = export type getBoardGroupSnapshotApiV1BoardsBoardIdGroupSnapshotGetResponse200 =

View File

@@ -28,6 +28,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* Lightweight liveness probe endpoint.
* @summary Health * @summary Health
*/ */
export type healthHealthGetResponse200 = { export type healthHealthGetResponse200 = {
@@ -189,6 +190,7 @@ export function useHealthHealthGet<
} }
/** /**
* Alias liveness probe endpoint for platform compatibility.
* @summary Healthz * @summary Healthz
*/ */
export type healthzHealthzGetResponse200 = { export type healthzHealthzGetResponse200 = {
@@ -354,6 +356,7 @@ export function useHealthzHealthzGet<
} }
/** /**
* Readiness probe endpoint for service orchestration checks.
* @summary Readyz * @summary Readyz
*/ */
export type readyzReadyzGetResponse200 = { export type readyzReadyzGetResponse200 = {

View File

@@ -24,13 +24,13 @@ import type {
GatewayCommandsResponse, GatewayCommandsResponse,
GatewayCreate, GatewayCreate,
GatewayRead, GatewayRead,
GatewayResolveQuery,
GatewaySessionHistoryResponse, GatewaySessionHistoryResponse,
GatewaySessionMessageRequest, GatewaySessionMessageRequest,
GatewaySessionResponse, GatewaySessionResponse,
GatewaySessionsResponse, GatewaySessionsResponse,
GatewayTemplatesSyncResult, GatewayTemplatesSyncResult,
GatewayUpdate, GatewayUpdate,
GatewaysStatusApiV1GatewaysStatusGetParams,
GatewaysStatusResponse, GatewaysStatusResponse,
GetGatewaySessionApiV1GatewaysSessionsSessionIdGetParams, GetGatewaySessionApiV1GatewaysSessionsSessionIdGetParams,
GetSessionHistoryApiV1GatewaysSessionsSessionIdHistoryGetParams, GetSessionHistoryApiV1GatewaysSessionsSessionIdHistoryGetParams,
@@ -48,6 +48,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* Return gateway connectivity and session status.
* @summary Gateways Status * @summary Gateways Status
*/ */
export type gatewaysStatusApiV1GatewaysStatusGetResponse200 = { export type gatewaysStatusApiV1GatewaysStatusGetResponse200 = {
@@ -73,48 +74,36 @@ export type gatewaysStatusApiV1GatewaysStatusGetResponse =
| gatewaysStatusApiV1GatewaysStatusGetResponseSuccess | gatewaysStatusApiV1GatewaysStatusGetResponseSuccess
| gatewaysStatusApiV1GatewaysStatusGetResponseError; | gatewaysStatusApiV1GatewaysStatusGetResponseError;
export const getGatewaysStatusApiV1GatewaysStatusGetUrl = ( export const getGatewaysStatusApiV1GatewaysStatusGetUrl = () => {
params?: GatewaysStatusApiV1GatewaysStatusGetParams, return `/api/v1/gateways/status`;
) => {
const normalizedParams = new URLSearchParams();
Object.entries(params || {}).forEach(([key, value]) => {
if (value !== undefined) {
normalizedParams.append(key, value === null ? "null" : value.toString());
}
});
const stringifiedParams = normalizedParams.toString();
return stringifiedParams.length > 0
? `/api/v1/gateways/status?${stringifiedParams}`
: `/api/v1/gateways/status`;
}; };
export const gatewaysStatusApiV1GatewaysStatusGet = async ( export const gatewaysStatusApiV1GatewaysStatusGet = async (
params?: GatewaysStatusApiV1GatewaysStatusGetParams, gatewayResolveQuery: GatewayResolveQuery,
options?: RequestInit, options?: RequestInit,
): Promise<gatewaysStatusApiV1GatewaysStatusGetResponse> => { ): Promise<gatewaysStatusApiV1GatewaysStatusGetResponse> => {
return customFetch<gatewaysStatusApiV1GatewaysStatusGetResponse>( return customFetch<gatewaysStatusApiV1GatewaysStatusGetResponse>(
getGatewaysStatusApiV1GatewaysStatusGetUrl(params), getGatewaysStatusApiV1GatewaysStatusGetUrl(),
{ {
...options, ...options,
method: "GET", method: "GET",
headers: { "Content-Type": "application/json", ...options?.headers },
body: JSON.stringify(gatewayResolveQuery),
}, },
); );
}; };
export const getGatewaysStatusApiV1GatewaysStatusGetQueryKey = ( export const getGatewaysStatusApiV1GatewaysStatusGetQueryKey = (
params?: GatewaysStatusApiV1GatewaysStatusGetParams, gatewayResolveQuery?: GatewayResolveQuery,
) => { ) => {
return [`/api/v1/gateways/status`, ...(params ? [params] : [])] as const; return [`/api/v1/gateways/status`, gatewayResolveQuery] as const;
}; };
export const getGatewaysStatusApiV1GatewaysStatusGetQueryOptions = < export const getGatewaysStatusApiV1GatewaysStatusGetQueryOptions = <
TData = Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>, TData = Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>,
TError = HTTPValidationError, TError = HTTPValidationError,
>( >(
params?: GatewaysStatusApiV1GatewaysStatusGetParams, gatewayResolveQuery: GatewayResolveQuery,
options?: { options?: {
query?: Partial< query?: Partial<
UseQueryOptions< UseQueryOptions<
@@ -130,12 +119,15 @@ export const getGatewaysStatusApiV1GatewaysStatusGetQueryOptions = <
const queryKey = const queryKey =
queryOptions?.queryKey ?? queryOptions?.queryKey ??
getGatewaysStatusApiV1GatewaysStatusGetQueryKey(params); getGatewaysStatusApiV1GatewaysStatusGetQueryKey(gatewayResolveQuery);
const queryFn: QueryFunction< const queryFn: QueryFunction<
Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>> Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>
> = ({ signal }) => > = ({ signal }) =>
gatewaysStatusApiV1GatewaysStatusGet(params, { signal, ...requestOptions }); gatewaysStatusApiV1GatewaysStatusGet(gatewayResolveQuery, {
signal,
...requestOptions,
});
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>, Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>,
@@ -154,7 +146,7 @@ export function useGatewaysStatusApiV1GatewaysStatusGet<
TData = Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>, TData = Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>,
TError = HTTPValidationError, TError = HTTPValidationError,
>( >(
params: undefined | GatewaysStatusApiV1GatewaysStatusGetParams, gatewayResolveQuery: GatewayResolveQuery,
options: { options: {
query: Partial< query: Partial<
UseQueryOptions< UseQueryOptions<
@@ -181,7 +173,7 @@ export function useGatewaysStatusApiV1GatewaysStatusGet<
TData = Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>, TData = Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>,
TError = HTTPValidationError, TError = HTTPValidationError,
>( >(
params?: GatewaysStatusApiV1GatewaysStatusGetParams, gatewayResolveQuery: GatewayResolveQuery,
options?: { options?: {
query?: Partial< query?: Partial<
UseQueryOptions< UseQueryOptions<
@@ -208,7 +200,7 @@ export function useGatewaysStatusApiV1GatewaysStatusGet<
TData = Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>, TData = Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>,
TError = HTTPValidationError, TError = HTTPValidationError,
>( >(
params?: GatewaysStatusApiV1GatewaysStatusGetParams, gatewayResolveQuery: GatewayResolveQuery,
options?: { options?: {
query?: Partial< query?: Partial<
UseQueryOptions< UseQueryOptions<
@@ -231,7 +223,7 @@ export function useGatewaysStatusApiV1GatewaysStatusGet<
TData = Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>, TData = Awaited<ReturnType<typeof gatewaysStatusApiV1GatewaysStatusGet>>,
TError = HTTPValidationError, TError = HTTPValidationError,
>( >(
params?: GatewaysStatusApiV1GatewaysStatusGetParams, gatewayResolveQuery: GatewayResolveQuery,
options?: { options?: {
query?: Partial< query?: Partial<
UseQueryOptions< UseQueryOptions<
@@ -247,7 +239,7 @@ export function useGatewaysStatusApiV1GatewaysStatusGet<
queryKey: DataTag<QueryKey, TData, TError>; queryKey: DataTag<QueryKey, TData, TError>;
} { } {
const queryOptions = getGatewaysStatusApiV1GatewaysStatusGetQueryOptions( const queryOptions = getGatewaysStatusApiV1GatewaysStatusGetQueryOptions(
params, gatewayResolveQuery,
options, options,
); );
@@ -260,6 +252,7 @@ export function useGatewaysStatusApiV1GatewaysStatusGet<
} }
/** /**
* List sessions for a gateway associated with a board.
* @summary List Gateway Sessions * @summary List Gateway Sessions
*/ */
export type listGatewaySessionsApiV1GatewaysSessionsGetResponse200 = { export type listGatewaySessionsApiV1GatewaysSessionsGetResponse200 = {
@@ -492,6 +485,7 @@ export function useListGatewaySessionsApiV1GatewaysSessionsGet<
} }
/** /**
* Get a specific gateway session by key.
* @summary Get Gateway Session * @summary Get Gateway Session
*/ */
export type getGatewaySessionApiV1GatewaysSessionsSessionIdGetResponse200 = { export type getGatewaySessionApiV1GatewaysSessionsSessionIdGetResponse200 = {
@@ -774,6 +768,7 @@ export function useGetGatewaySessionApiV1GatewaysSessionsSessionIdGet<
} }
/** /**
* Fetch chat history for a gateway session.
* @summary Get Session History * @summary Get Session History
*/ */
export type getSessionHistoryApiV1GatewaysSessionsSessionIdHistoryGetResponse200 = export type getSessionHistoryApiV1GatewaysSessionsSessionIdHistoryGetResponse200 =
@@ -1081,6 +1076,7 @@ export function useGetSessionHistoryApiV1GatewaysSessionsSessionIdHistoryGet<
} }
/** /**
* Send a message into a specific gateway session.
* @summary Send Gateway Session Message * @summary Send Gateway Session Message
*/ */
export type sendGatewaySessionMessageApiV1GatewaysSessionsSessionIdMessagePostResponse200 = export type sendGatewaySessionMessageApiV1GatewaysSessionsSessionIdMessagePostResponse200 =
@@ -1278,6 +1274,7 @@ export const useSendGatewaySessionMessageApiV1GatewaysSessionsSessionIdMessagePo
); );
}; };
/** /**
* Return supported gateway protocol methods and events.
* @summary Gateway Commands * @summary Gateway Commands
*/ */
export type gatewayCommandsApiV1GatewaysCommandsGetResponse200 = { export type gatewayCommandsApiV1GatewaysCommandsGetResponse200 = {
@@ -1452,6 +1449,7 @@ export function useGatewayCommandsApiV1GatewaysCommandsGet<
} }
/** /**
* List gateways for the caller's organization.
* @summary List Gateways * @summary List Gateways
*/ */
export type listGatewaysApiV1GatewaysGetResponse200 = { export type listGatewaysApiV1GatewaysGetResponse200 = {
@@ -1662,6 +1660,7 @@ export function useListGatewaysApiV1GatewaysGet<
} }
/** /**
* Create a gateway and provision or refresh its main agent.
* @summary Create Gateway * @summary Create Gateway
*/ */
export type createGatewayApiV1GatewaysPostResponse200 = { export type createGatewayApiV1GatewaysPostResponse200 = {
@@ -1779,6 +1778,7 @@ export const useCreateGatewayApiV1GatewaysPost = <
); );
}; };
/** /**
* Return one gateway by id for the caller's organization.
* @summary Get Gateway * @summary Get Gateway
*/ */
export type getGatewayApiV1GatewaysGatewayIdGetResponse200 = { export type getGatewayApiV1GatewaysGatewayIdGetResponse200 = {
@@ -1986,6 +1986,7 @@ export function useGetGatewayApiV1GatewaysGatewayIdGet<
} }
/** /**
* Patch a gateway and refresh the main-agent provisioning state.
* @summary Update Gateway * @summary Update Gateway
*/ */
export type updateGatewayApiV1GatewaysGatewayIdPatchResponse200 = { export type updateGatewayApiV1GatewaysGatewayIdPatchResponse200 = {
@@ -2113,6 +2114,7 @@ export const useUpdateGatewayApiV1GatewaysGatewayIdPatch = <
); );
}; };
/** /**
* Delete a gateway in the caller's organization.
* @summary Delete Gateway * @summary Delete Gateway
*/ */
export type deleteGatewayApiV1GatewaysGatewayIdDeleteResponse200 = { export type deleteGatewayApiV1GatewaysGatewayIdDeleteResponse200 = {
@@ -2232,6 +2234,7 @@ export const useDeleteGatewayApiV1GatewaysGatewayIdDelete = <
); );
}; };
/** /**
* Sync templates for a gateway and optionally rotate runtime settings.
* @summary Sync Gateway Templates * @summary Sync Gateway Templates
*/ */
export type syncGatewayTemplatesApiV1GatewaysGatewayIdTemplatesSyncPostResponse200 = export type syncGatewayTemplatesApiV1GatewaysGatewayIdTemplatesSyncPostResponse200 =

View File

@@ -28,6 +28,7 @@ import { customFetch } from "../../mutator";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1]; type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/** /**
* Return dashboard KPIs and time-series data for accessible boards.
* @summary Dashboard Metrics * @summary Dashboard Metrics
*/ */
export type dashboardMetricsApiV1MetricsDashboardGetResponse200 = { export type dashboardMetricsApiV1MetricsDashboardGetResponse200 = {

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Serialized activity event payload returned by activity endpoints.
*/
export interface ActivityEventRead { export interface ActivityEventRead {
id: string; id: string;
event_type: string; event_type: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Denormalized task-comment feed item enriched with task and board fields.
*/
export interface ActivityTaskCommentFeedItemRead { export interface ActivityTaskCommentFeedItemRead {
id: string; id: string;
created_at: string; created_at: string;

View File

@@ -7,6 +7,9 @@
import type { AgentCreateHeartbeatConfig } from "./agentCreateHeartbeatConfig"; import type { AgentCreateHeartbeatConfig } from "./agentCreateHeartbeatConfig";
import type { AgentCreateIdentityProfile } from "./agentCreateIdentityProfile"; import type { AgentCreateIdentityProfile } from "./agentCreateIdentityProfile";
/**
* Payload for creating a new agent.
*/
export interface AgentCreate { export interface AgentCreate {
board_id?: string | null; board_id?: string | null;
/** @minLength 1 */ /** @minLength 1 */

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Heartbeat status payload sent by agents.
*/
export interface AgentHeartbeat { export interface AgentHeartbeat {
status?: string | null; status?: string | null;
} }

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Heartbeat payload used to create an agent lazily.
*/
export interface AgentHeartbeatCreate { export interface AgentHeartbeatCreate {
status?: string | null; status?: string | null;
/** @minLength 1 */ /** @minLength 1 */

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Nudge message payload for pinging an agent.
*/
export interface AgentNudge { export interface AgentNudge {
/** @minLength 1 */ /** @minLength 1 */
message: string; message: string;

View File

@@ -7,6 +7,9 @@
import type { AgentReadHeartbeatConfig } from "./agentReadHeartbeatConfig"; import type { AgentReadHeartbeatConfig } from "./agentReadHeartbeatConfig";
import type { AgentReadIdentityProfile } from "./agentReadIdentityProfile"; import type { AgentReadIdentityProfile } from "./agentReadIdentityProfile";
/**
* Public agent representation returned by the API.
*/
export interface AgentRead { export interface AgentRead {
board_id?: string | null; board_id?: string | null;
/** @minLength 1 */ /** @minLength 1 */

View File

@@ -7,6 +7,9 @@
import type { AgentUpdateHeartbeatConfig } from "./agentUpdateHeartbeatConfig"; import type { AgentUpdateHeartbeatConfig } from "./agentUpdateHeartbeatConfig";
import type { AgentUpdateIdentityProfile } from "./agentUpdateIdentityProfile"; import type { AgentUpdateIdentityProfile } from "./agentUpdateIdentityProfile";
/**
* Payload for patching an existing agent.
*/
export interface AgentUpdate { export interface AgentUpdate {
board_id?: string | null; board_id?: string | null;
is_gateway_main?: boolean | null; is_gateway_main?: boolean | null;

View File

@@ -8,6 +8,9 @@ import type { ApprovalCreatePayload } from "./approvalCreatePayload";
import type { ApprovalCreateRubricScores } from "./approvalCreateRubricScores"; import type { ApprovalCreateRubricScores } from "./approvalCreateRubricScores";
import type { ApprovalCreateStatus } from "./approvalCreateStatus"; import type { ApprovalCreateStatus } from "./approvalCreateStatus";
/**
* Payload for creating a new approval request.
*/
export interface ApprovalCreate { export interface ApprovalCreate {
action_type: string; action_type: string;
task_id?: string | null; task_id?: string | null;

View File

@@ -8,6 +8,9 @@ import type { ApprovalReadPayload } from "./approvalReadPayload";
import type { ApprovalReadRubricScores } from "./approvalReadRubricScores"; import type { ApprovalReadRubricScores } from "./approvalReadRubricScores";
import type { ApprovalReadStatus } from "./approvalReadStatus"; import type { ApprovalReadStatus } from "./approvalReadStatus";
/**
* Approval payload returned from read endpoints.
*/
export interface ApprovalRead { export interface ApprovalRead {
action_type: string; action_type: string;
task_id?: string | null; task_id?: string | null;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for mutating approval status.
*/
export interface ApprovalUpdate { export interface ApprovalUpdate {
status?: "pending" | "approved" | "rejected" | null; status?: "pending" | "approved" | "rejected" | null;
} }

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Error detail payload listing blocking dependency task identifiers.
*/
export interface BlockedTaskDetail { export interface BlockedTaskDetail {
message: string; message: string;
blocked_by_task_ids?: string[]; blocked_by_task_ids?: string[];

View File

@@ -6,6 +6,9 @@
*/ */
import type { BlockedTaskDetail } from "./blockedTaskDetail"; import type { BlockedTaskDetail } from "./blockedTaskDetail";
/**
* Top-level blocked-task error response envelope.
*/
export interface BlockedTaskError { export interface BlockedTaskError {
detail: BlockedTaskDetail; detail: BlockedTaskDetail;
} }

View File

@@ -6,10 +6,13 @@
*/ */
import type { BoardCreateSuccessMetrics } from "./boardCreateSuccessMetrics"; import type { BoardCreateSuccessMetrics } from "./boardCreateSuccessMetrics";
/**
* Payload for creating a board.
*/
export interface BoardCreate { export interface BoardCreate {
name: string; name: string;
slug: string; slug: string;
gateway_id: string; gateway_id?: string | null;
board_group_id?: string | null; board_group_id?: string | null;
board_type?: string; board_type?: string;
objective?: string | null; objective?: string | null;

View File

@@ -8,6 +8,9 @@ import type { BoardGroupBoardSnapshotTaskCounts } from "./boardGroupBoardSnapsho
import type { BoardGroupTaskSummary } from "./boardGroupTaskSummary"; import type { BoardGroupTaskSummary } from "./boardGroupTaskSummary";
import type { BoardRead } from "./boardRead"; import type { BoardRead } from "./boardRead";
/**
* Board-level rollup embedded within a board-group snapshot.
*/
export interface BoardGroupBoardSnapshot { export interface BoardGroupBoardSnapshot {
board: BoardRead; board: BoardRead;
task_counts?: BoardGroupBoardSnapshotTaskCounts; task_counts?: BoardGroupBoardSnapshotTaskCounts;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for creating a board group.
*/
export interface BoardGroupCreate { export interface BoardGroupCreate {
name: string; name: string;
slug: string; slug: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Request payload for heartbeat policy updates.
*/
export interface BoardGroupHeartbeatApply { export interface BoardGroupHeartbeatApply {
every: string; every: string;
target?: string | null; target?: string | null;

View File

@@ -6,6 +6,9 @@
*/ */
import type { BoardGroupHeartbeatApplyResultRequested } from "./boardGroupHeartbeatApplyResultRequested"; import type { BoardGroupHeartbeatApplyResultRequested } from "./boardGroupHeartbeatApplyResultRequested";
/**
* Result payload describing agents updated by a heartbeat request.
*/
export interface BoardGroupHeartbeatApplyResult { export interface BoardGroupHeartbeatApplyResult {
board_group_id: string; board_group_id: string;
requested: BoardGroupHeartbeatApplyResultRequested; requested: BoardGroupHeartbeatApplyResultRequested;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for creating a board-group memory entry.
*/
export interface BoardGroupMemoryCreate { export interface BoardGroupMemoryCreate {
/** @minLength 1 */ /** @minLength 1 */
content: string; content: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Serialized board-group memory entry returned from read endpoints.
*/
export interface BoardGroupMemoryRead { export interface BoardGroupMemoryRead {
id: string; id: string;
board_group_id: string; board_group_id: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Board-group payload returned from read endpoints.
*/
export interface BoardGroupRead { export interface BoardGroupRead {
name: string; name: string;
slug: string; slug: string;

View File

@@ -7,6 +7,9 @@
import type { BoardGroupBoardSnapshot } from "./boardGroupBoardSnapshot"; import type { BoardGroupBoardSnapshot } from "./boardGroupBoardSnapshot";
import type { BoardGroupRead } from "./boardGroupRead"; import type { BoardGroupRead } from "./boardGroupRead";
/**
* Top-level board-group snapshot response payload.
*/
export interface BoardGroupSnapshot { export interface BoardGroupSnapshot {
group?: BoardGroupRead | null; group?: BoardGroupRead | null;
boards?: BoardGroupBoardSnapshot[]; boards?: BoardGroupBoardSnapshot[];

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Task summary row used inside board-group snapshot responses.
*/
export interface BoardGroupTaskSummary { export interface BoardGroupTaskSummary {
id: string; id: string;
board_id: string; board_id: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for partial board-group updates.
*/
export interface BoardGroupUpdate { export interface BoardGroupUpdate {
name?: string | null; name?: string | null;
slug?: string | null; slug?: string | null;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for creating a board memory entry.
*/
export interface BoardMemoryCreate { export interface BoardMemoryCreate {
/** @minLength 1 */ /** @minLength 1 */
content: string; content: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Serialized board memory entry returned from read endpoints.
*/
export interface BoardMemoryRead { export interface BoardMemoryRead {
id: string; id: string;
board_id: string; board_id: string;

View File

@@ -7,13 +7,17 @@
import type { BoardOnboardingAgentCompleteSuccessMetrics } from "./boardOnboardingAgentCompleteSuccessMetrics"; import type { BoardOnboardingAgentCompleteSuccessMetrics } from "./boardOnboardingAgentCompleteSuccessMetrics";
import type { BoardOnboardingLeadAgentDraft } from "./boardOnboardingLeadAgentDraft"; import type { BoardOnboardingLeadAgentDraft } from "./boardOnboardingLeadAgentDraft";
import type { BoardOnboardingUserProfile } from "./boardOnboardingUserProfile"; import type { BoardOnboardingUserProfile } from "./boardOnboardingUserProfile";
import { BoardOnboardingAgentCompleteStatus } from "./boardOnboardingAgentCompleteStatus";
/**
* Complete onboarding draft produced by the onboarding assistant.
*/
export interface BoardOnboardingAgentComplete { export interface BoardOnboardingAgentComplete {
board_type: string; board_type: string;
objective?: string | null; objective?: string | null;
success_metrics?: BoardOnboardingAgentCompleteSuccessMetrics; success_metrics?: BoardOnboardingAgentCompleteSuccessMetrics;
target_date?: string | null; target_date?: string | null;
status: "complete"; status: BoardOnboardingAgentCompleteStatus;
user_profile?: BoardOnboardingUserProfile | null; user_profile?: BoardOnboardingUserProfile | null;
lead_agent?: BoardOnboardingLeadAgentDraft | null; lead_agent?: BoardOnboardingLeadAgentDraft | null;
} }

View File

@@ -0,0 +1,13 @@
/**
* Generated by orval v8.2.0 🍺
* Do not edit manually.
* Mission Control API
* OpenAPI spec version: 0.1.0
*/
export type BoardOnboardingAgentCompleteStatus =
(typeof BoardOnboardingAgentCompleteStatus)[keyof typeof BoardOnboardingAgentCompleteStatus];
export const BoardOnboardingAgentCompleteStatus = {
complete: "complete",
} as const;

View File

@@ -6,6 +6,9 @@
*/ */
import type { BoardOnboardingQuestionOption } from "./boardOnboardingQuestionOption"; import type { BoardOnboardingQuestionOption } from "./boardOnboardingQuestionOption";
/**
* Question payload emitted by the onboarding assistant.
*/
export interface BoardOnboardingAgentQuestion { export interface BoardOnboardingAgentQuestion {
/** @minLength 1 */ /** @minLength 1 */
question: string; question: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* User answer payload for a single onboarding question.
*/
export interface BoardOnboardingAnswer { export interface BoardOnboardingAnswer {
/** @minLength 1 */ /** @minLength 1 */
answer: string; answer: string;

View File

@@ -6,6 +6,9 @@
*/ */
import type { BoardOnboardingConfirmSuccessMetrics } from "./boardOnboardingConfirmSuccessMetrics"; import type { BoardOnboardingConfirmSuccessMetrics } from "./boardOnboardingConfirmSuccessMetrics";
/**
* Payload used to confirm generated onboarding draft fields.
*/
export interface BoardOnboardingConfirm { export interface BoardOnboardingConfirm {
board_type: string; board_type: string;
objective?: string | null; objective?: string | null;

View File

@@ -6,6 +6,9 @@
*/ */
import type { BoardOnboardingLeadAgentDraftIdentityProfile } from "./boardOnboardingLeadAgentDraftIdentityProfile"; import type { BoardOnboardingLeadAgentDraftIdentityProfile } from "./boardOnboardingLeadAgentDraftIdentityProfile";
/**
* Editable lead-agent draft configuration.
*/
export interface BoardOnboardingLeadAgentDraft { export interface BoardOnboardingLeadAgentDraft {
name?: string | null; name?: string | null;
identity_profile?: BoardOnboardingLeadAgentDraftIdentityProfile; identity_profile?: BoardOnboardingLeadAgentDraftIdentityProfile;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Selectable option for an onboarding question.
*/
export interface BoardOnboardingQuestionOption { export interface BoardOnboardingQuestionOption {
/** @minLength 1 */ /** @minLength 1 */
id: string; id: string;

View File

@@ -7,6 +7,9 @@
import type { BoardOnboardingAgentComplete } from "./boardOnboardingAgentComplete"; import type { BoardOnboardingAgentComplete } from "./boardOnboardingAgentComplete";
import type { BoardOnboardingReadMessages } from "./boardOnboardingReadMessages"; import type { BoardOnboardingReadMessages } from "./boardOnboardingReadMessages";
/**
* Stored onboarding session state returned by API endpoints.
*/
export interface BoardOnboardingRead { export interface BoardOnboardingRead {
id: string; id: string;
board_id: string; board_id: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Start signal for initializing onboarding conversation.
*/
export interface BoardOnboardingStart { export interface BoardOnboardingStart {
[key: string]: unknown; [key: string]: unknown;
} }

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* User-profile preferences gathered during onboarding.
*/
export interface BoardOnboardingUserProfile { export interface BoardOnboardingUserProfile {
preferred_name?: string | null; preferred_name?: string | null;
pronouns?: string | null; pronouns?: string | null;

View File

@@ -6,6 +6,9 @@
*/ */
import type { BoardReadSuccessMetrics } from "./boardReadSuccessMetrics"; import type { BoardReadSuccessMetrics } from "./boardReadSuccessMetrics";
/**
* Board payload returned from read endpoints.
*/
export interface BoardRead { export interface BoardRead {
name: string; name: string;
slug: string; slug: string;

View File

@@ -10,6 +10,9 @@ import type { BoardMemoryRead } from "./boardMemoryRead";
import type { BoardRead } from "./boardRead"; import type { BoardRead } from "./boardRead";
import type { TaskCardRead } from "./taskCardRead"; import type { TaskCardRead } from "./taskCardRead";
/**
* Aggregated board payload used by board snapshot endpoints.
*/
export interface BoardSnapshot { export interface BoardSnapshot {
board: BoardRead; board: BoardRead;
tasks: TaskCardRead[]; tasks: TaskCardRead[];

View File

@@ -6,6 +6,9 @@
*/ */
import type { BoardUpdateSuccessMetrics } from "./boardUpdateSuccessMetrics"; import type { BoardUpdateSuccessMetrics } from "./boardUpdateSuccessMetrics";
/**
* Payload for partial board updates.
*/
export interface BoardUpdate { export interface BoardUpdate {
name?: string | null; name?: string | null;
slug?: string | null; slug?: string | null;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Topline dashboard KPI summary values.
*/
export interface DashboardKpis { export interface DashboardKpis {
active_agents: number; active_agents: number;
tasks_in_progress: number; tasks_in_progress: number;

View File

@@ -9,6 +9,9 @@ import type { DashboardMetricsRange } from "./dashboardMetricsRange";
import type { DashboardSeriesSet } from "./dashboardSeriesSet"; import type { DashboardSeriesSet } from "./dashboardSeriesSet";
import type { DashboardWipSeriesSet } from "./dashboardWipSeriesSet"; import type { DashboardWipSeriesSet } from "./dashboardWipSeriesSet";
/**
* Complete dashboard metrics response payload.
*/
export interface DashboardMetrics { export interface DashboardMetrics {
range: DashboardMetricsRange; range: DashboardMetricsRange;
generated_at: string; generated_at: string;

View File

@@ -4,8 +4,8 @@
* Mission Control API * Mission Control API
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
import type { DashboardMetricsApiV1MetricsDashboardGetRange } from "./dashboardMetricsApiV1MetricsDashboardGetRange"; import type { DashboardMetricsApiV1MetricsDashboardGetRangeKey } from "./dashboardMetricsApiV1MetricsDashboardGetRangeKey";
export type DashboardMetricsApiV1MetricsDashboardGetParams = { export type DashboardMetricsApiV1MetricsDashboardGetParams = {
range?: DashboardMetricsApiV1MetricsDashboardGetRange; range_key?: DashboardMetricsApiV1MetricsDashboardGetRangeKey;
}; };

View File

@@ -0,0 +1,14 @@
/**
* Generated by orval v8.2.0 🍺
* Do not edit manually.
* Mission Control API
* OpenAPI spec version: 0.1.0
*/
export type DashboardMetricsApiV1MetricsDashboardGetRangeKey =
(typeof DashboardMetricsApiV1MetricsDashboardGetRangeKey)[keyof typeof DashboardMetricsApiV1MetricsDashboardGetRangeKey];
export const DashboardMetricsApiV1MetricsDashboardGetRangeKey = {
"24h": "24h",
"7d": "7d",
} as const;

View File

@@ -8,6 +8,9 @@ import type { DashboardRangeSeriesBucket } from "./dashboardRangeSeriesBucket";
import type { DashboardRangeSeriesRange } from "./dashboardRangeSeriesRange"; import type { DashboardRangeSeriesRange } from "./dashboardRangeSeriesRange";
import type { DashboardSeriesPoint } from "./dashboardSeriesPoint"; import type { DashboardSeriesPoint } from "./dashboardSeriesPoint";
/**
* Series payload for a single range/bucket combination.
*/
export interface DashboardRangeSeries { export interface DashboardRangeSeries {
range: DashboardRangeSeriesRange; range: DashboardRangeSeriesRange;
bucket: DashboardRangeSeriesBucket; bucket: DashboardRangeSeriesBucket;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Single numeric time-series point.
*/
export interface DashboardSeriesPoint { export interface DashboardSeriesPoint {
period: string; period: string;
value: number; value: number;

View File

@@ -6,6 +6,9 @@
*/ */
import type { DashboardRangeSeries } from "./dashboardRangeSeries"; import type { DashboardRangeSeries } from "./dashboardRangeSeries";
/**
* Primary vs comparison pair for generic series metrics.
*/
export interface DashboardSeriesSet { export interface DashboardSeriesSet {
primary: DashboardRangeSeries; primary: DashboardRangeSeries;
comparison: DashboardRangeSeries; comparison: DashboardRangeSeries;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Work-in-progress point split by task status buckets.
*/
export interface DashboardWipPoint { export interface DashboardWipPoint {
period: string; period: string;
inbox: number; inbox: number;

View File

@@ -8,6 +8,9 @@ import type { DashboardWipPoint } from "./dashboardWipPoint";
import type { DashboardWipRangeSeriesBucket } from "./dashboardWipRangeSeriesBucket"; import type { DashboardWipRangeSeriesBucket } from "./dashboardWipRangeSeriesBucket";
import type { DashboardWipRangeSeriesRange } from "./dashboardWipRangeSeriesRange"; import type { DashboardWipRangeSeriesRange } from "./dashboardWipRangeSeriesRange";
/**
* WIP series payload for a single range/bucket combination.
*/
export interface DashboardWipRangeSeries { export interface DashboardWipRangeSeries {
range: DashboardWipRangeSeriesRange; range: DashboardWipRangeSeriesRange;
bucket: DashboardWipRangeSeriesBucket; bucket: DashboardWipRangeSeriesBucket;

View File

@@ -6,6 +6,9 @@
*/ */
import type { DashboardWipRangeSeries } from "./dashboardWipRangeSeries"; import type { DashboardWipRangeSeries } from "./dashboardWipRangeSeries";
/**
* Primary vs comparison pair for WIP status series metrics.
*/
export interface DashboardWipSeriesSet { export interface DashboardWipSeriesSet {
primary: DashboardWipRangeSeries; primary: DashboardWipRangeSeries;
comparison: DashboardWipRangeSeries; comparison: DashboardWipRangeSeries;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Gateway command catalog and protocol metadata.
*/
export interface GatewayCommandsResponse { export interface GatewayCommandsResponse {
protocol_version: number; protocol_version: number;
methods: string[]; methods: string[];

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for creating a gateway configuration.
*/
export interface GatewayCreate { export interface GatewayCreate {
name: string; name: string;
url: string; url: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Per-board result entry for a lead broadcast operation.
*/
export interface GatewayLeadBroadcastBoardResult { export interface GatewayLeadBroadcastBoardResult {
board_id: string; board_id: string;
lead_agent_id?: string | null; lead_agent_id?: string | null;

View File

@@ -6,6 +6,9 @@
*/ */
import type { GatewayLeadBroadcastRequestKind } from "./gatewayLeadBroadcastRequestKind"; import type { GatewayLeadBroadcastRequestKind } from "./gatewayLeadBroadcastRequestKind";
/**
* Request payload for broadcasting a message to multiple board leads.
*/
export interface GatewayLeadBroadcastRequest { export interface GatewayLeadBroadcastRequest {
kind?: GatewayLeadBroadcastRequestKind; kind?: GatewayLeadBroadcastRequestKind;
correlation_id?: string | null; correlation_id?: string | null;

View File

@@ -6,6 +6,9 @@
*/ */
import type { GatewayLeadBroadcastBoardResult } from "./gatewayLeadBroadcastBoardResult"; import type { GatewayLeadBroadcastBoardResult } from "./gatewayLeadBroadcastBoardResult";
/**
* Aggregate response for a lead broadcast operation.
*/
export interface GatewayLeadBroadcastResponse { export interface GatewayLeadBroadcastResponse {
ok?: boolean; ok?: boolean;
sent?: number; sent?: number;

View File

@@ -6,6 +6,9 @@
*/ */
import type { GatewayLeadMessageRequestKind } from "./gatewayLeadMessageRequestKind"; import type { GatewayLeadMessageRequestKind } from "./gatewayLeadMessageRequestKind";
/**
* Request payload for sending a message to a board lead agent.
*/
export interface GatewayLeadMessageRequest { export interface GatewayLeadMessageRequest {
kind?: GatewayLeadMessageRequestKind; kind?: GatewayLeadMessageRequestKind;
correlation_id?: string | null; correlation_id?: string | null;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Response payload for a lead-message dispatch attempt.
*/
export interface GatewayLeadMessageResponse { export interface GatewayLeadMessageResponse {
ok?: boolean; ok?: boolean;
board_id: string; board_id: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Request payload for asking the end user via a main gateway agent.
*/
export interface GatewayMainAskUserRequest { export interface GatewayMainAskUserRequest {
correlation_id?: string | null; correlation_id?: string | null;
/** @minLength 1 */ /** @minLength 1 */

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Response payload for user-question dispatch via gateway main agent.
*/
export interface GatewayMainAskUserResponse { export interface GatewayMainAskUserResponse {
ok?: boolean; ok?: boolean;
board_id: string; board_id: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Gateway payload returned from read endpoints.
*/
export interface GatewayRead { export interface GatewayRead {
name: string; name: string;
url: string; url: string;

View File

@@ -0,0 +1,16 @@
/**
* Generated by orval v8.2.0 🍺
* Do not edit manually.
* Mission Control API
* OpenAPI spec version: 0.1.0
*/
/**
* Query parameters used to resolve which gateway to target.
*/
export interface GatewayResolveQuery {
board_id?: string | null;
gateway_url?: string | null;
gateway_token?: string | null;
gateway_main_session_key?: string | null;
}

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Gateway session history response payload.
*/
export interface GatewaySessionHistoryResponse { export interface GatewaySessionHistoryResponse {
history: unknown[]; history: unknown[];
} }

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Request payload for sending a message into a gateway session.
*/
export interface GatewaySessionMessageRequest { export interface GatewaySessionMessageRequest {
/** @minLength 1 */ /** @minLength 1 */
content: string; content: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Single gateway session response payload.
*/
export interface GatewaySessionResponse { export interface GatewaySessionResponse {
session: unknown; session: unknown;
} }

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Gateway sessions list response payload.
*/
export interface GatewaySessionsResponse { export interface GatewaySessionsResponse {
sessions: unknown[]; sessions: unknown[];
main_session_key?: string | null; main_session_key?: string | null;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Per-agent error entry from a gateway template sync operation.
*/
export interface GatewayTemplatesSyncError { export interface GatewayTemplatesSyncError {
agent_id?: string | null; agent_id?: string | null;
agent_name?: string | null; agent_name?: string | null;

View File

@@ -6,6 +6,9 @@
*/ */
import type { GatewayTemplatesSyncError } from "./gatewayTemplatesSyncError"; import type { GatewayTemplatesSyncError } from "./gatewayTemplatesSyncError";
/**
* Summary payload returned by gateway template sync endpoints.
*/
export interface GatewayTemplatesSyncResult { export interface GatewayTemplatesSyncResult {
gateway_id: string; gateway_id: string;
include_main: boolean; include_main: boolean;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for partial gateway updates.
*/
export interface GatewayUpdate { export interface GatewayUpdate {
name?: string | null; name?: string | null;
url?: string | null; url?: string | null;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Aggregated gateway status response including session metadata.
*/
export interface GatewaysStatusResponse { export interface GatewaysStatusResponse {
connected: boolean; connected: boolean;
gateway_url: string; gateway_url: string;

View File

@@ -49,6 +49,7 @@ export * from "./boardGroupUpdate";
export * from "./boardMemoryCreate"; export * from "./boardMemoryCreate";
export * from "./boardMemoryRead"; export * from "./boardMemoryRead";
export * from "./boardOnboardingAgentComplete"; export * from "./boardOnboardingAgentComplete";
export * from "./boardOnboardingAgentCompleteStatus";
export * from "./boardOnboardingAgentCompleteSuccessMetrics"; export * from "./boardOnboardingAgentCompleteSuccessMetrics";
export * from "./boardOnboardingAgentQuestion"; export * from "./boardOnboardingAgentQuestion";
export * from "./boardOnboardingAnswer"; export * from "./boardOnboardingAnswer";
@@ -73,6 +74,7 @@ export * from "./dashboardKpis";
export * from "./dashboardMetrics"; export * from "./dashboardMetrics";
export * from "./dashboardMetricsApiV1MetricsDashboardGetParams"; export * from "./dashboardMetricsApiV1MetricsDashboardGetParams";
export * from "./dashboardMetricsApiV1MetricsDashboardGetRange"; export * from "./dashboardMetricsApiV1MetricsDashboardGetRange";
export * from "./dashboardMetricsApiV1MetricsDashboardGetRangeKey";
export * from "./dashboardMetricsRange"; export * from "./dashboardMetricsRange";
export * from "./dashboardRangeSeries"; export * from "./dashboardRangeSeries";
export * from "./dashboardRangeSeriesBucket"; export * from "./dashboardRangeSeriesBucket";
@@ -100,6 +102,7 @@ export * from "./gatewayLeadMessageResponse";
export * from "./gatewayMainAskUserRequest"; export * from "./gatewayMainAskUserRequest";
export * from "./gatewayMainAskUserResponse"; export * from "./gatewayMainAskUserResponse";
export * from "./gatewayRead"; export * from "./gatewayRead";
export * from "./gatewayResolveQuery";
export * from "./gatewaySessionHistoryResponse"; export * from "./gatewaySessionHistoryResponse";
export * from "./gatewaySessionMessageRequest"; export * from "./gatewaySessionMessageRequest";
export * from "./gatewaySessionResponse"; export * from "./gatewaySessionResponse";

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Standard success response payload.
*/
export interface OkResponse { export interface OkResponse {
ok?: boolean; ok?: boolean;
} }

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for switching the active organization context.
*/
export interface OrganizationActiveUpdate { export interface OrganizationActiveUpdate {
organization_id: string; organization_id: string;
} }

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Board access payload returned from read endpoints.
*/
export interface OrganizationBoardAccessRead { export interface OrganizationBoardAccessRead {
id: string; id: string;
board_id: string; board_id: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Board access specification used in member/invite mutation payloads.
*/
export interface OrganizationBoardAccessSpec { export interface OrganizationBoardAccessSpec {
board_id: string; board_id: string;
can_read?: boolean; can_read?: boolean;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for creating a new organization.
*/
export interface OrganizationCreate { export interface OrganizationCreate {
name: string; name: string;
} }

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for accepting an organization invite token.
*/
export interface OrganizationInviteAccept { export interface OrganizationInviteAccept {
token: string; token: string;
} }

View File

@@ -6,6 +6,9 @@
*/ */
import type { OrganizationBoardAccessSpec } from "./organizationBoardAccessSpec"; import type { OrganizationBoardAccessSpec } from "./organizationBoardAccessSpec";
/**
* Payload for creating an organization invite.
*/
export interface OrganizationInviteCreate { export interface OrganizationInviteCreate {
invited_email: string; invited_email: string;
role?: string; role?: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Organization invite payload returned from read endpoints.
*/
export interface OrganizationInviteRead { export interface OrganizationInviteRead {
id: string; id: string;
organization_id: string; organization_id: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Organization list row for current user memberships.
*/
export interface OrganizationListItem { export interface OrganizationListItem {
id: string; id: string;
name: string; name: string;

View File

@@ -6,6 +6,9 @@
*/ */
import type { OrganizationBoardAccessSpec } from "./organizationBoardAccessSpec"; import type { OrganizationBoardAccessSpec } from "./organizationBoardAccessSpec";
/**
* Payload for replacing organization member access permissions.
*/
export interface OrganizationMemberAccessUpdate { export interface OrganizationMemberAccessUpdate {
all_boards_read?: boolean; all_boards_read?: boolean;
all_boards_write?: boolean; all_boards_write?: boolean;

View File

@@ -7,6 +7,9 @@
import type { OrganizationBoardAccessRead } from "./organizationBoardAccessRead"; import type { OrganizationBoardAccessRead } from "./organizationBoardAccessRead";
import type { OrganizationUserRead } from "./organizationUserRead"; import type { OrganizationUserRead } from "./organizationUserRead";
/**
* Organization member payload including board-level access overrides.
*/
export interface OrganizationMemberRead { export interface OrganizationMemberRead {
id: string; id: string;
organization_id: string; organization_id: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for partial updates to organization member role.
*/
export interface OrganizationMemberUpdate { export interface OrganizationMemberUpdate {
role?: string | null; role?: string | null;
} }

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Organization payload returned by read endpoints.
*/
export interface OrganizationRead { export interface OrganizationRead {
id: string; id: string;
name: string; name: string;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Embedded user fields included in organization member payloads.
*/
export interface OrganizationUserRead { export interface OrganizationUserRead {
id: string; id: string;
email?: string | null; email?: string | null;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Payload for updating an agent SOUL document.
*/
export interface SoulUpdateRequest { export interface SoulUpdateRequest {
content: string; content: string;
source_url?: string | null; source_url?: string | null;

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Response payload containing rendered markdown for a soul.
*/
export interface SoulsDirectoryMarkdownResponse { export interface SoulsDirectoryMarkdownResponse {
handle: string; handle: string;
slug: string; slug: string;

View File

@@ -6,6 +6,9 @@
*/ */
import type { SoulsDirectorySoulRef } from "./soulsDirectorySoulRef"; import type { SoulsDirectorySoulRef } from "./soulsDirectorySoulRef";
/**
* Response wrapper for directory search results.
*/
export interface SoulsDirectorySearchResponse { export interface SoulsDirectorySearchResponse {
items: SoulsDirectorySoulRef[]; items: SoulsDirectorySoulRef[];
} }

View File

@@ -5,6 +5,9 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
/**
* Reference metadata for a soul entry in the directory index.
*/
export interface SoulsDirectorySoulRef { export interface SoulsDirectorySoulRef {
handle: string; handle: string;
slug: string; slug: string;

Some files were not shown because too many files have changed in this diff Show More