mirror of
https://github.com/humanlayer/humanlayer.git
synced 2025-08-20 19:01:22 +03:00
chore: regenerate SDKs with effectiveContextTokens and contextLimit fields
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -59,7 +59,7 @@ export interface ListApprovalsRequest {
|
||||
|
||||
/**
|
||||
* ApprovalsApi - interface
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ApprovalsApiInterface
|
||||
*/
|
||||
@@ -67,7 +67,7 @@ export interface ApprovalsApiInterface {
|
||||
/**
|
||||
* Create a new approval request for human review
|
||||
* @summary Create approval request
|
||||
* @param {CreateApprovalRequest} createApprovalRequest
|
||||
* @param {CreateApprovalRequest} createApprovalRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof ApprovalsApiInterface
|
||||
@@ -84,7 +84,7 @@ export interface ApprovalsApiInterface {
|
||||
* Approve or deny an approval request
|
||||
* @summary Decide on approval request
|
||||
* @param {string} id Approval ID
|
||||
* @param {DecideApprovalRequest} decideApprovalRequest
|
||||
* @param {DecideApprovalRequest} decideApprovalRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof ApprovalsApiInterface
|
||||
@@ -132,7 +132,7 @@ export interface ApprovalsApiInterface {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
export class ApprovalsApi extends runtime.BaseAPI implements ApprovalsApiInterface {
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -107,7 +107,7 @@ export interface UpdateSessionOperationRequest {
|
||||
|
||||
/**
|
||||
* SessionsApi - interface
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface SessionsApiInterface
|
||||
*/
|
||||
@@ -115,7 +115,7 @@ export interface SessionsApiInterface {
|
||||
/**
|
||||
* Archive or unarchive multiple sessions in a single operation
|
||||
* @summary Bulk archive/unarchive sessions
|
||||
* @param {BulkArchiveRequest} bulkArchiveRequest
|
||||
* @param {BulkArchiveRequest} bulkArchiveRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SessionsApiInterface
|
||||
@@ -129,10 +129,10 @@ export interface SessionsApiInterface {
|
||||
bulkArchiveSessions(requestParameters: BulkArchiveSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BulkArchiveResponse>;
|
||||
|
||||
/**
|
||||
* Create a new session that continues from an existing session, inheriting its conversation history.
|
||||
* Create a new session that continues from an existing session, inheriting its conversation history.
|
||||
* @summary Continue or fork a session
|
||||
* @param {string} id Session ID
|
||||
* @param {ContinueSessionRequest} continueSessionRequest
|
||||
* @param {ContinueSessionRequest} continueSessionRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SessionsApiInterface
|
||||
@@ -140,7 +140,7 @@ export interface SessionsApiInterface {
|
||||
continueSessionRaw(requestParameters: ContinueSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContinueSessionResponse>>;
|
||||
|
||||
/**
|
||||
* Create a new session that continues from an existing session, inheriting its conversation history.
|
||||
* Create a new session that continues from an existing session, inheriting its conversation history.
|
||||
* Continue or fork a session
|
||||
*/
|
||||
continueSession(requestParameters: ContinueSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContinueSessionResponse>;
|
||||
@@ -148,7 +148,7 @@ export interface SessionsApiInterface {
|
||||
/**
|
||||
* Create and start a new Claude Code session
|
||||
* @summary Launch a new session
|
||||
* @param {CreateSessionRequest} createSessionRequest
|
||||
* @param {CreateSessionRequest} createSessionRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SessionsApiInterface
|
||||
@@ -194,7 +194,7 @@ export interface SessionsApiInterface {
|
||||
getSession(requestParameters: GetSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SessionResponse>;
|
||||
|
||||
/**
|
||||
* Retrieve the full conversation history for a session, including messages, tool calls, and tool results.
|
||||
* Retrieve the full conversation history for a session, including messages, tool calls, and tool results.
|
||||
* @summary Get conversation messages
|
||||
* @param {string} id Session ID
|
||||
* @param {*} [options] Override http request option.
|
||||
@@ -204,13 +204,13 @@ export interface SessionsApiInterface {
|
||||
getSessionMessagesRaw(requestParameters: GetSessionMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationResponse>>;
|
||||
|
||||
/**
|
||||
* Retrieve the full conversation history for a session, including messages, tool calls, and tool results.
|
||||
* Retrieve the full conversation history for a session, including messages, tool calls, and tool results.
|
||||
* Get conversation messages
|
||||
*/
|
||||
getSessionMessages(requestParameters: GetSessionMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationResponse>;
|
||||
|
||||
/**
|
||||
* Retrieve file snapshots captured during the session, showing the state of files at specific points in time.
|
||||
* Retrieve file snapshots captured during the session, showing the state of files at specific points in time.
|
||||
* @summary Get file snapshots
|
||||
* @param {string} id Session ID
|
||||
* @param {*} [options] Override http request option.
|
||||
@@ -220,13 +220,13 @@ export interface SessionsApiInterface {
|
||||
getSessionSnapshotsRaw(requestParameters: GetSessionSnapshotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SnapshotsResponse>>;
|
||||
|
||||
/**
|
||||
* Retrieve file snapshots captured during the session, showing the state of files at specific points in time.
|
||||
* Retrieve file snapshots captured during the session, showing the state of files at specific points in time.
|
||||
* Get file snapshots
|
||||
*/
|
||||
getSessionSnapshots(requestParameters: GetSessionSnapshotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SnapshotsResponse>;
|
||||
|
||||
/**
|
||||
* Send an interrupt signal to a running session, causing it to complete gracefully.
|
||||
* Send an interrupt signal to a running session, causing it to complete gracefully.
|
||||
* @summary Interrupt a running session
|
||||
* @param {string} id Session ID
|
||||
* @param {*} [options] Override http request option.
|
||||
@@ -236,13 +236,13 @@ export interface SessionsApiInterface {
|
||||
interruptSessionRaw(requestParameters: InterruptSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InterruptSessionResponse>>;
|
||||
|
||||
/**
|
||||
* Send an interrupt signal to a running session, causing it to complete gracefully.
|
||||
* Send an interrupt signal to a running session, causing it to complete gracefully.
|
||||
* Interrupt a running session
|
||||
*/
|
||||
interruptSession(requestParameters: InterruptSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InterruptSessionResponse>;
|
||||
|
||||
/**
|
||||
* List all sessions with optional filtering. By default returns only leaf sessions (sessions with no children). Set leafOnly=false to get all sessions.
|
||||
* List all sessions with optional filtering. By default returns only leaf sessions (sessions with no children). Set leafOnly=false to get all sessions.
|
||||
* @summary List sessions
|
||||
* @param {boolean} [leafOnly] Return only leaf sessions (no children)
|
||||
* @param {boolean} [includeArchived] Include archived sessions in results
|
||||
@@ -254,16 +254,16 @@ export interface SessionsApiInterface {
|
||||
listSessionsRaw(requestParameters: ListSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SessionsResponse>>;
|
||||
|
||||
/**
|
||||
* List all sessions with optional filtering. By default returns only leaf sessions (sessions with no children). Set leafOnly=false to get all sessions.
|
||||
* List all sessions with optional filtering. By default returns only leaf sessions (sessions with no children). Set leafOnly=false to get all sessions.
|
||||
* List sessions
|
||||
*/
|
||||
listSessions(requestParameters: ListSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SessionsResponse>;
|
||||
|
||||
/**
|
||||
* Update session settings such as auto-accept mode or archived status. Only specified fields will be updated.
|
||||
* Update session settings such as auto-accept mode or archived status. Only specified fields will be updated.
|
||||
* @summary Update session settings
|
||||
* @param {string} id Session ID
|
||||
* @param {UpdateSessionRequest} updateSessionRequest
|
||||
* @param {UpdateSessionRequest} updateSessionRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SessionsApiInterface
|
||||
@@ -271,7 +271,7 @@ export interface SessionsApiInterface {
|
||||
updateSessionRaw(requestParameters: UpdateSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SessionResponse>>;
|
||||
|
||||
/**
|
||||
* Update session settings such as auto-accept mode or archived status. Only specified fields will be updated.
|
||||
* Update session settings such as auto-accept mode or archived status. Only specified fields will be updated.
|
||||
* Update session settings
|
||||
*/
|
||||
updateSession(requestParameters: UpdateSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SessionResponse>;
|
||||
@@ -279,7 +279,7 @@ export interface SessionsApiInterface {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface {
|
||||
|
||||
@@ -325,7 +325,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new session that continues from an existing session, inheriting its conversation history.
|
||||
* Create a new session that continues from an existing session, inheriting its conversation history.
|
||||
* Continue or fork a session
|
||||
*/
|
||||
async continueSessionRaw(requestParameters: ContinueSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContinueSessionResponse>> {
|
||||
@@ -365,7 +365,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new session that continues from an existing session, inheriting its conversation history.
|
||||
* Create a new session that continues from an existing session, inheriting its conversation history.
|
||||
* Continue or fork a session
|
||||
*/
|
||||
async continueSession(requestParameters: ContinueSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContinueSessionResponse> {
|
||||
@@ -489,7 +489,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the full conversation history for a session, including messages, tool calls, and tool results.
|
||||
* Retrieve the full conversation history for a session, including messages, tool calls, and tool results.
|
||||
* Get conversation messages
|
||||
*/
|
||||
async getSessionMessagesRaw(requestParameters: GetSessionMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationResponse>> {
|
||||
@@ -519,7 +519,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the full conversation history for a session, including messages, tool calls, and tool results.
|
||||
* Retrieve the full conversation history for a session, including messages, tool calls, and tool results.
|
||||
* Get conversation messages
|
||||
*/
|
||||
async getSessionMessages(requestParameters: GetSessionMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationResponse> {
|
||||
@@ -528,7 +528,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve file snapshots captured during the session, showing the state of files at specific points in time.
|
||||
* Retrieve file snapshots captured during the session, showing the state of files at specific points in time.
|
||||
* Get file snapshots
|
||||
*/
|
||||
async getSessionSnapshotsRaw(requestParameters: GetSessionSnapshotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SnapshotsResponse>> {
|
||||
@@ -558,7 +558,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve file snapshots captured during the session, showing the state of files at specific points in time.
|
||||
* Retrieve file snapshots captured during the session, showing the state of files at specific points in time.
|
||||
* Get file snapshots
|
||||
*/
|
||||
async getSessionSnapshots(requestParameters: GetSessionSnapshotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SnapshotsResponse> {
|
||||
@@ -567,7 +567,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Send an interrupt signal to a running session, causing it to complete gracefully.
|
||||
* Send an interrupt signal to a running session, causing it to complete gracefully.
|
||||
* Interrupt a running session
|
||||
*/
|
||||
async interruptSessionRaw(requestParameters: InterruptSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InterruptSessionResponse>> {
|
||||
@@ -597,7 +597,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Send an interrupt signal to a running session, causing it to complete gracefully.
|
||||
* Send an interrupt signal to a running session, causing it to complete gracefully.
|
||||
* Interrupt a running session
|
||||
*/
|
||||
async interruptSession(requestParameters: InterruptSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InterruptSessionResponse> {
|
||||
@@ -606,7 +606,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* List all sessions with optional filtering. By default returns only leaf sessions (sessions with no children). Set leafOnly=false to get all sessions.
|
||||
* List all sessions with optional filtering. By default returns only leaf sessions (sessions with no children). Set leafOnly=false to get all sessions.
|
||||
* List sessions
|
||||
*/
|
||||
async listSessionsRaw(requestParameters: ListSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SessionsResponse>> {
|
||||
@@ -640,7 +640,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* List all sessions with optional filtering. By default returns only leaf sessions (sessions with no children). Set leafOnly=false to get all sessions.
|
||||
* List all sessions with optional filtering. By default returns only leaf sessions (sessions with no children). Set leafOnly=false to get all sessions.
|
||||
* List sessions
|
||||
*/
|
||||
async listSessions(requestParameters: ListSessionsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SessionsResponse> {
|
||||
@@ -649,7 +649,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Update session settings such as auto-accept mode or archived status. Only specified fields will be updated.
|
||||
* Update session settings such as auto-accept mode or archived status. Only specified fields will be updated.
|
||||
* Update session settings
|
||||
*/
|
||||
async updateSessionRaw(requestParameters: UpdateSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SessionResponse>> {
|
||||
@@ -689,7 +689,7 @@ export class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Update session settings such as auto-accept mode or archived status. Only specified fields will be updated.
|
||||
* Update session settings such as auto-accept mode or archived status. Only specified fields will be updated.
|
||||
* Update session settings
|
||||
*/
|
||||
async updateSession(requestParameters: UpdateSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SessionResponse> {
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -30,13 +30,13 @@ export interface StreamEventsRequest {
|
||||
|
||||
/**
|
||||
* SseManualApi - interface
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface SseManualApiInterface
|
||||
*/
|
||||
export interface SseManualApiInterface {
|
||||
/**
|
||||
* Subscribe to real-time events using Server-Sent Events (SSE). This endpoint streams events as they occur in the system. **Note**: This endpoint uses Server-Sent Events which is not natively supported by OpenAPI 3.1. Client code generation will not work for this endpoint. Manual SSE client implementation is required using: - JavaScript/TypeScript: Native EventSource API - Go: r3labs/sse or similar SSE client library - Other languages: Language-specific SSE client libraries
|
||||
* Subscribe to real-time events using Server-Sent Events (SSE). This endpoint streams events as they occur in the system. **Note**: This endpoint uses Server-Sent Events which is not natively supported by OpenAPI 3.1. Client code generation will not work for this endpoint. Manual SSE client implementation is required using: - JavaScript/TypeScript: Native EventSource API - Go: r3labs/sse or similar SSE client library - Other languages: Language-specific SSE client libraries
|
||||
* @summary Server-Sent Events stream
|
||||
* @param {Array<EventType>} [eventTypes] Filter by event types
|
||||
* @param {string} [sessionId] Filter events by session ID
|
||||
@@ -48,7 +48,7 @@ export interface SseManualApiInterface {
|
||||
streamEventsRaw(requestParameters: StreamEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
||||
|
||||
/**
|
||||
* Subscribe to real-time events using Server-Sent Events (SSE). This endpoint streams events as they occur in the system. **Note**: This endpoint uses Server-Sent Events which is not natively supported by OpenAPI 3.1. Client code generation will not work for this endpoint. Manual SSE client implementation is required using: - JavaScript/TypeScript: Native EventSource API - Go: r3labs/sse or similar SSE client library - Other languages: Language-specific SSE client libraries
|
||||
* Subscribe to real-time events using Server-Sent Events (SSE). This endpoint streams events as they occur in the system. **Note**: This endpoint uses Server-Sent Events which is not natively supported by OpenAPI 3.1. Client code generation will not work for this endpoint. Manual SSE client implementation is required using: - JavaScript/TypeScript: Native EventSource API - Go: r3labs/sse or similar SSE client library - Other languages: Language-specific SSE client libraries
|
||||
* Server-Sent Events stream
|
||||
*/
|
||||
streamEvents(requestParameters: StreamEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
||||
@@ -56,12 +56,12 @@ export interface SseManualApiInterface {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
export class SseManualApi extends runtime.BaseAPI implements SseManualApiInterface {
|
||||
|
||||
/**
|
||||
* Subscribe to real-time events using Server-Sent Events (SSE). This endpoint streams events as they occur in the system. **Note**: This endpoint uses Server-Sent Events which is not natively supported by OpenAPI 3.1. Client code generation will not work for this endpoint. Manual SSE client implementation is required using: - JavaScript/TypeScript: Native EventSource API - Go: r3labs/sse or similar SSE client library - Other languages: Language-specific SSE client libraries
|
||||
* Subscribe to real-time events using Server-Sent Events (SSE). This endpoint streams events as they occur in the system. **Note**: This endpoint uses Server-Sent Events which is not natively supported by OpenAPI 3.1. Client code generation will not work for this endpoint. Manual SSE client implementation is required using: - JavaScript/TypeScript: Native EventSource API - Go: r3labs/sse or similar SSE client library - Other languages: Language-specific SSE client libraries
|
||||
* Server-Sent Events stream
|
||||
*/
|
||||
async streamEventsRaw(requestParameters: StreamEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
||||
@@ -99,7 +99,7 @@ export class SseManualApi extends runtime.BaseAPI implements SseManualApiInterfa
|
||||
}
|
||||
|
||||
/**
|
||||
* Subscribe to real-time events using Server-Sent Events (SSE). This endpoint streams events as they occur in the system. **Note**: This endpoint uses Server-Sent Events which is not natively supported by OpenAPI 3.1. Client code generation will not work for this endpoint. Manual SSE client implementation is required using: - JavaScript/TypeScript: Native EventSource API - Go: r3labs/sse or similar SSE client library - Other languages: Language-specific SSE client libraries
|
||||
* Subscribe to real-time events using Server-Sent Events (SSE). This endpoint streams events as they occur in the system. **Note**: This endpoint uses Server-Sent Events which is not natively supported by OpenAPI 3.1. Client code generation will not work for this endpoint. Manual SSE client implementation is required using: - JavaScript/TypeScript: Native EventSource API - Go: r3labs/sse or similar SSE client library - Other languages: Language-specific SSE client libraries
|
||||
* Server-Sent Events stream
|
||||
*/
|
||||
async streamEvents(requestParameters: StreamEventsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string> {
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -15,20 +15,38 @@
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
DatabaseInfoResponse,
|
||||
HealthResponse,
|
||||
} from '../models/index';
|
||||
import {
|
||||
DatabaseInfoResponseFromJSON,
|
||||
DatabaseInfoResponseToJSON,
|
||||
HealthResponseFromJSON,
|
||||
HealthResponseToJSON,
|
||||
} from '../models/index';
|
||||
|
||||
/**
|
||||
* SystemApi - interface
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface SystemApiInterface
|
||||
*/
|
||||
export interface SystemApiInterface {
|
||||
/**
|
||||
* Get information about the daemon\'s SQLite database including path, size, and statistics
|
||||
* @summary Get database information
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SystemApiInterface
|
||||
*/
|
||||
getDatabaseInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DatabaseInfoResponse>>;
|
||||
|
||||
/**
|
||||
* Get information about the daemon\'s SQLite database including path, size, and statistics
|
||||
* Get database information
|
||||
*/
|
||||
getDatabaseInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DatabaseInfoResponse>;
|
||||
|
||||
/**
|
||||
* Check if the daemon is running and healthy
|
||||
* @summary Health check
|
||||
@@ -47,10 +65,41 @@ export interface SystemApiInterface {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
export class SystemApi extends runtime.BaseAPI implements SystemApiInterface {
|
||||
|
||||
/**
|
||||
* Get information about the daemon\'s SQLite database including path, size, and statistics
|
||||
* Get database information
|
||||
*/
|
||||
async getDatabaseInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DatabaseInfoResponse>> {
|
||||
const queryParameters: any = {};
|
||||
|
||||
const headerParameters: runtime.HTTPHeaders = {};
|
||||
|
||||
|
||||
let urlPath = `/database-info`;
|
||||
|
||||
const response = await this.request({
|
||||
path: urlPath,
|
||||
method: 'GET',
|
||||
headers: headerParameters,
|
||||
query: queryParameters,
|
||||
}, initOverrides);
|
||||
|
||||
return new runtime.JSONApiResponse(response, (jsonValue) => DatabaseInfoResponseFromJSON(jsonValue));
|
||||
}
|
||||
|
||||
/**
|
||||
* Get information about the daemon\'s SQLite database including path, size, and statistics
|
||||
* Get database information
|
||||
*/
|
||||
async getDatabaseInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DatabaseInfoResponse> {
|
||||
const response = await this.getDatabaseInfoRaw(initOverrides);
|
||||
return await response.value();
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the daemon is running and healthy
|
||||
* Health check
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
} from './ApprovalStatus';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface Approval
|
||||
*/
|
||||
@@ -46,7 +46,7 @@ export interface Approval {
|
||||
*/
|
||||
sessionId: string;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {ApprovalStatus}
|
||||
* @memberof Approval
|
||||
*/
|
||||
@@ -108,7 +108,7 @@ export function ApprovalFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'id': json['id'],
|
||||
'runId': json['run_id'],
|
||||
'sessionId': json['session_id'],
|
||||
@@ -131,7 +131,7 @@ export function ApprovalToJSONTyped(value?: Approval | null, ignoreDiscriminator
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'id': value['id'],
|
||||
'run_id': value['runId'],
|
||||
'session_id': value['sessionId'],
|
||||
@@ -143,3 +143,4 @@ export function ApprovalToJSONTyped(value?: Approval | null, ignoreDiscriminator
|
||||
'comment': value['comment'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './Approval';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ApprovalResponse
|
||||
*/
|
||||
export interface ApprovalResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {Approval}
|
||||
* @memberof ApprovalResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function ApprovalResponseFromJSONTyped(json: any, ignoreDiscriminator: bo
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': ApprovalFromJSON(json['data']),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function ApprovalResponseToJSONTyped(value?: ApprovalResponse | null, ign
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': ApprovalToJSON(value['data']),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -51,3 +51,4 @@ export function ApprovalStatusToJSON(value?: ApprovalStatus | null): any {
|
||||
export function ApprovalStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ApprovalStatus {
|
||||
return value as ApprovalStatus;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './Approval';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ApprovalsResponse
|
||||
*/
|
||||
export interface ApprovalsResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {Array<Approval>}
|
||||
* @memberof ApprovalsResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function ApprovalsResponseFromJSONTyped(json: any, ignoreDiscriminator: b
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': ((json['data'] as Array<any>).map(ApprovalFromJSON)),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function ApprovalsResponseToJSONTyped(value?: ApprovalsResponse | null, i
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': ((value['data'] as Array<any>).map(ApprovalToJSON)),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface BulkArchiveRequest
|
||||
*/
|
||||
@@ -51,7 +51,7 @@ export function BulkArchiveRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'sessionIds': json['session_ids'],
|
||||
'archived': json['archived'],
|
||||
};
|
||||
@@ -67,8 +67,9 @@ export function BulkArchiveRequestToJSONTyped(value?: BulkArchiveRequest | null,
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'session_ids': value['sessionIds'],
|
||||
'archived': value['archived'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './BulkArchiveResponseData';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface BulkArchiveResponse
|
||||
*/
|
||||
export interface BulkArchiveResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {BulkArchiveResponseData}
|
||||
* @memberof BulkArchiveResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function BulkArchiveResponseFromJSONTyped(json: any, ignoreDiscriminator:
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': BulkArchiveResponseDataFromJSON(json['data']),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function BulkArchiveResponseToJSONTyped(value?: BulkArchiveResponse | nul
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': BulkArchiveResponseDataToJSON(value['data']),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface BulkArchiveResponseData
|
||||
*/
|
||||
export interface BulkArchiveResponseData {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof BulkArchiveResponseData
|
||||
*/
|
||||
@@ -50,7 +50,7 @@ export function BulkArchiveResponseDataFromJSONTyped(json: any, ignoreDiscrimina
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'success': json['success'],
|
||||
'failedSessions': json['failed_sessions'] == null ? undefined : json['failed_sessions'],
|
||||
};
|
||||
@@ -66,8 +66,9 @@ export function BulkArchiveResponseDataToJSONTyped(value?: BulkArchiveResponseDa
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'success': value['success'],
|
||||
'failed_sessions': value['failedSessions'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
} from './MCPConfig';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ContinueSessionRequest
|
||||
*/
|
||||
@@ -46,7 +46,7 @@ export interface ContinueSessionRequest {
|
||||
*/
|
||||
appendSystemPrompt?: string;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {MCPConfig}
|
||||
* @memberof ContinueSessionRequest
|
||||
*/
|
||||
@@ -100,7 +100,7 @@ export function ContinueSessionRequestFromJSONTyped(json: any, ignoreDiscriminat
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'query': json['query'],
|
||||
'systemPrompt': json['system_prompt'] == null ? undefined : json['system_prompt'],
|
||||
'appendSystemPrompt': json['append_system_prompt'] == null ? undefined : json['append_system_prompt'],
|
||||
@@ -123,7 +123,7 @@ export function ContinueSessionRequestToJSONTyped(value?: ContinueSessionRequest
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'query': value['query'],
|
||||
'system_prompt': value['systemPrompt'],
|
||||
'append_system_prompt': value['appendSystemPrompt'],
|
||||
@@ -135,3 +135,4 @@ export function ContinueSessionRequestToJSONTyped(value?: ContinueSessionRequest
|
||||
'max_turns': value['maxTurns'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './ContinueSessionResponseData';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ContinueSessionResponse
|
||||
*/
|
||||
export interface ContinueSessionResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {ContinueSessionResponseData}
|
||||
* @memberof ContinueSessionResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function ContinueSessionResponseFromJSONTyped(json: any, ignoreDiscrimina
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': ContinueSessionResponseDataFromJSON(json['data']),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function ContinueSessionResponseToJSONTyped(value?: ContinueSessionRespon
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': ContinueSessionResponseDataToJSON(value['data']),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,31 +14,31 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ContinueSessionResponseData
|
||||
*/
|
||||
export interface ContinueSessionResponseData {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ContinueSessionResponseData
|
||||
*/
|
||||
sessionId: string;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ContinueSessionResponseData
|
||||
*/
|
||||
runId: string;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ContinueSessionResponseData
|
||||
*/
|
||||
claudeSessionId: string;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ContinueSessionResponseData
|
||||
*/
|
||||
@@ -65,7 +65,7 @@ export function ContinueSessionResponseDataFromJSONTyped(json: any, ignoreDiscri
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'sessionId': json['session_id'],
|
||||
'runId': json['run_id'],
|
||||
'claudeSessionId': json['claude_session_id'],
|
||||
@@ -83,10 +83,11 @@ export function ContinueSessionResponseDataToJSONTyped(value?: ContinueSessionRe
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'session_id': value['sessionId'],
|
||||
'run_id': value['runId'],
|
||||
'claude_session_id': value['claudeSessionId'],
|
||||
'parent_session_id': value['parentSessionId'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,25 +14,25 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ConversationEvent
|
||||
*/
|
||||
export interface ConversationEvent {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ConversationEvent
|
||||
*/
|
||||
id: number;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ConversationEvent
|
||||
*/
|
||||
sessionId: string;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ConversationEvent
|
||||
*/
|
||||
@@ -50,7 +50,7 @@ export interface ConversationEvent {
|
||||
*/
|
||||
eventType: ConversationEventEventTypeEnum;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof ConversationEvent
|
||||
*/
|
||||
@@ -179,7 +179,7 @@ export function ConversationEventFromJSONTyped(json: any, ignoreDiscriminator: b
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'id': json['id'],
|
||||
'sessionId': json['session_id'],
|
||||
'claudeSessionId': json['claude_session_id'] == null ? undefined : json['claude_session_id'],
|
||||
@@ -210,7 +210,7 @@ export function ConversationEventToJSONTyped(value?: ConversationEvent | null, i
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'id': value['id'],
|
||||
'session_id': value['sessionId'],
|
||||
'claude_session_id': value['claudeSessionId'],
|
||||
@@ -230,3 +230,4 @@ export function ConversationEventToJSONTyped(value?: ConversationEvent | null, i
|
||||
'approval_id': value['approvalId'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './ConversationEvent';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ConversationResponse
|
||||
*/
|
||||
export interface ConversationResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {Array<ConversationEvent>}
|
||||
* @memberof ConversationResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function ConversationResponseFromJSONTyped(json: any, ignoreDiscriminator
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': ((json['data'] as Array<any>).map(ConversationEventFromJSON)),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function ConversationResponseToJSONTyped(value?: ConversationResponse | n
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': ((value['data'] as Array<any>).map(ConversationEventToJSON)),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface CreateApprovalRequest
|
||||
*/
|
||||
@@ -58,7 +58,7 @@ export function CreateApprovalRequestFromJSONTyped(json: any, ignoreDiscriminato
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'runId': json['run_id'],
|
||||
'toolName': json['tool_name'],
|
||||
'toolInput': json['tool_input'],
|
||||
@@ -75,9 +75,10 @@ export function CreateApprovalRequestToJSONTyped(value?: CreateApprovalRequest |
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'run_id': value['runId'],
|
||||
'tool_name': value['toolName'],
|
||||
'tool_input': value['toolInput'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './CreateApprovalResponseData';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface CreateApprovalResponse
|
||||
*/
|
||||
export interface CreateApprovalResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {CreateApprovalResponseData}
|
||||
* @memberof CreateApprovalResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function CreateApprovalResponseFromJSONTyped(json: any, ignoreDiscriminat
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': CreateApprovalResponseDataFromJSON(json['data']),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function CreateApprovalResponseToJSONTyped(value?: CreateApprovalResponse
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': CreateApprovalResponseDataToJSON(value['data']),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface CreateApprovalResponseData
|
||||
*/
|
||||
@@ -44,7 +44,7 @@ export function CreateApprovalResponseDataFromJSONTyped(json: any, ignoreDiscrim
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'approvalId': json['approval_id'],
|
||||
};
|
||||
}
|
||||
@@ -59,7 +59,8 @@ export function CreateApprovalResponseDataToJSONTyped(value?: CreateApprovalResp
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'approval_id': value['approvalId'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
} from './MCPConfig';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface CreateSessionRequest
|
||||
*/
|
||||
@@ -40,7 +40,7 @@ export interface CreateSessionRequest {
|
||||
*/
|
||||
model?: CreateSessionRequestModelEnum;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {MCPConfig}
|
||||
* @memberof CreateSessionRequest
|
||||
*/
|
||||
@@ -141,7 +141,7 @@ export function CreateSessionRequestFromJSONTyped(json: any, ignoreDiscriminator
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'query': json['query'],
|
||||
'model': json['model'] == null ? undefined : json['model'],
|
||||
'mcpConfig': json['mcp_config'] == null ? undefined : MCPConfigFromJSON(json['mcp_config']),
|
||||
@@ -169,7 +169,7 @@ export function CreateSessionRequestToJSONTyped(value?: CreateSessionRequest | n
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'query': value['query'],
|
||||
'model': value['model'],
|
||||
'mcp_config': MCPConfigToJSON(value['mcpConfig']),
|
||||
@@ -186,3 +186,4 @@ export function CreateSessionRequestToJSONTyped(value?: CreateSessionRequest | n
|
||||
'verbose': value['verbose'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './CreateSessionResponseData';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface CreateSessionResponse
|
||||
*/
|
||||
export interface CreateSessionResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {CreateSessionResponseData}
|
||||
* @memberof CreateSessionResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function CreateSessionResponseFromJSONTyped(json: any, ignoreDiscriminato
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': CreateSessionResponseDataFromJSON(json['data']),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function CreateSessionResponseToJSONTyped(value?: CreateSessionResponse |
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': CreateSessionResponseDataToJSON(value['data']),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface CreateSessionResponseData
|
||||
*/
|
||||
@@ -51,7 +51,7 @@ export function CreateSessionResponseDataFromJSONTyped(json: any, ignoreDiscrimi
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'sessionId': json['session_id'],
|
||||
'runId': json['run_id'],
|
||||
};
|
||||
@@ -67,8 +67,9 @@ export function CreateSessionResponseDataToJSONTyped(value?: CreateSessionRespon
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'session_id': value['sessionId'],
|
||||
'run_id': value['runId'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
101
hld/sdk/typescript/src/generated/models/DatabaseInfoResponse.ts
Normal file
101
hld/sdk/typescript/src/generated/models/DatabaseInfoResponse.ts
Normal file
@@ -0,0 +1,101 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface DatabaseInfoResponse
|
||||
*/
|
||||
export interface DatabaseInfoResponse {
|
||||
/**
|
||||
* Path to the SQLite database file
|
||||
* @type {string}
|
||||
* @memberof DatabaseInfoResponse
|
||||
*/
|
||||
path: string;
|
||||
/**
|
||||
* Size of the database file in bytes
|
||||
* @type {number}
|
||||
* @memberof DatabaseInfoResponse
|
||||
*/
|
||||
size: number;
|
||||
/**
|
||||
* Number of tables in the database
|
||||
* @type {number}
|
||||
* @memberof DatabaseInfoResponse
|
||||
*/
|
||||
tableCount: number;
|
||||
/**
|
||||
* Database statistics
|
||||
* @type {{ [key: string]: number; }}
|
||||
* @memberof DatabaseInfoResponse
|
||||
*/
|
||||
stats: { [key: string]: number; };
|
||||
/**
|
||||
* Last modification time of the database file
|
||||
* @type {Date}
|
||||
* @memberof DatabaseInfoResponse
|
||||
*/
|
||||
lastModified?: Date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the DatabaseInfoResponse interface.
|
||||
*/
|
||||
export function instanceOfDatabaseInfoResponse(value: object): value is DatabaseInfoResponse {
|
||||
if (!('path' in value) || value['path'] === undefined) return false;
|
||||
if (!('size' in value) || value['size'] === undefined) return false;
|
||||
if (!('tableCount' in value) || value['tableCount'] === undefined) return false;
|
||||
if (!('stats' in value) || value['stats'] === undefined) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
export function DatabaseInfoResponseFromJSON(json: any): DatabaseInfoResponse {
|
||||
return DatabaseInfoResponseFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DatabaseInfoResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatabaseInfoResponse {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'path': json['path'],
|
||||
'size': json['size'],
|
||||
'tableCount': json['table_count'],
|
||||
'stats': json['stats'],
|
||||
'lastModified': json['last_modified'] == null ? undefined : (new Date(json['last_modified'])),
|
||||
};
|
||||
}
|
||||
|
||||
export function DatabaseInfoResponseToJSON(json: any): DatabaseInfoResponse {
|
||||
return DatabaseInfoResponseToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DatabaseInfoResponseToJSONTyped(value?: DatabaseInfoResponse | null, ignoreDiscriminator: boolean = false): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'path': value['path'],
|
||||
'size': value['size'],
|
||||
'table_count': value['tableCount'],
|
||||
'stats': value['stats'],
|
||||
'last_modified': value['lastModified'] == null ? undefined : ((value['lastModified']).toISOString()),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface DecideApprovalRequest
|
||||
*/
|
||||
@@ -61,7 +61,7 @@ export function DecideApprovalRequestFromJSONTyped(json: any, ignoreDiscriminato
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'decision': json['decision'],
|
||||
'comment': json['comment'] == null ? undefined : json['comment'],
|
||||
};
|
||||
@@ -77,8 +77,9 @@ export function DecideApprovalRequestToJSONTyped(value?: DecideApprovalRequest |
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'decision': value['decision'],
|
||||
'comment': value['comment'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './DecideApprovalResponseData';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface DecideApprovalResponse
|
||||
*/
|
||||
export interface DecideApprovalResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {DecideApprovalResponseData}
|
||||
* @memberof DecideApprovalResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function DecideApprovalResponseFromJSONTyped(json: any, ignoreDiscriminat
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': DecideApprovalResponseDataFromJSON(json['data']),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function DecideApprovalResponseToJSONTyped(value?: DecideApprovalResponse
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': DecideApprovalResponseDataToJSON(value['data']),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface DecideApprovalResponseData
|
||||
*/
|
||||
export interface DecideApprovalResponseData {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof DecideApprovalResponseData
|
||||
*/
|
||||
@@ -50,7 +50,7 @@ export function DecideApprovalResponseDataFromJSONTyped(json: any, ignoreDiscrim
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'success': json['success'],
|
||||
'error': json['error'] == null ? undefined : json['error'],
|
||||
};
|
||||
@@ -66,8 +66,9 @@ export function DecideApprovalResponseDataToJSONTyped(value?: DecideApprovalResp
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'success': value['success'],
|
||||
'error': value['error'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ErrorDetail
|
||||
*/
|
||||
@@ -57,7 +57,7 @@ export function ErrorDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'code': json['code'],
|
||||
'message': json['message'],
|
||||
'details': json['details'] == null ? undefined : json['details'],
|
||||
@@ -74,9 +74,10 @@ export function ErrorDetailToJSONTyped(value?: ErrorDetail | null, ignoreDiscrim
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'code': value['code'],
|
||||
'message': value['message'],
|
||||
'details': value['details'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './ErrorDetail';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ErrorResponse
|
||||
*/
|
||||
export interface ErrorResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {ErrorDetail}
|
||||
* @memberof ErrorResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function ErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boole
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'error': ErrorDetailFromJSON(json['error']),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function ErrorResponseToJSONTyped(value?: ErrorResponse | null, ignoreDis
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'error': ErrorDetailToJSON(value['error']),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './EventType';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface Event
|
||||
*/
|
||||
export interface Event {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {EventType}
|
||||
* @memberof Event
|
||||
*/
|
||||
@@ -68,7 +68,7 @@ export function EventFromJSONTyped(json: any, ignoreDiscriminator: boolean): Eve
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'type': EventTypeFromJSON(json['type']),
|
||||
'timestamp': (new Date(json['timestamp'])),
|
||||
'data': json['data'],
|
||||
@@ -85,9 +85,10 @@ export function EventToJSONTyped(value?: Event | null, ignoreDiscriminator: bool
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'type': EventTypeToJSON(value['type']),
|
||||
'timestamp': ((value['timestamp']).toISOString()),
|
||||
'data': value['data'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -53,3 +53,4 @@ export function EventTypeToJSON(value?: EventType | null): any {
|
||||
export function EventTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): EventType {
|
||||
return value as EventType;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface FileSnapshot
|
||||
*/
|
||||
@@ -38,7 +38,7 @@ export interface FileSnapshot {
|
||||
*/
|
||||
content: string;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof FileSnapshot
|
||||
*/
|
||||
@@ -65,7 +65,7 @@ export function FileSnapshotFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'toolId': json['tool_id'],
|
||||
'filePath': json['file_path'],
|
||||
'content': json['content'],
|
||||
@@ -83,10 +83,11 @@ export function FileSnapshotToJSONTyped(value?: FileSnapshot | null, ignoreDiscr
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'tool_id': value['toolId'],
|
||||
'file_path': value['filePath'],
|
||||
'content': value['content'],
|
||||
'created_at': ((value['createdAt']).toISOString()),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,19 +14,19 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface HealthResponse
|
||||
*/
|
||||
export interface HealthResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof HealthResponse
|
||||
*/
|
||||
status: HealthResponseStatusEnum;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof HealthResponse
|
||||
*/
|
||||
@@ -61,7 +61,7 @@ export function HealthResponseFromJSONTyped(json: any, ignoreDiscriminator: bool
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'status': json['status'],
|
||||
'version': json['version'],
|
||||
};
|
||||
@@ -77,8 +77,9 @@ export function HealthResponseToJSONTyped(value?: HealthResponse | null, ignoreD
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'status': value['status'],
|
||||
'version': value['version'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './InterruptSessionResponseData';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface InterruptSessionResponse
|
||||
*/
|
||||
export interface InterruptSessionResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {InterruptSessionResponseData}
|
||||
* @memberof InterruptSessionResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function InterruptSessionResponseFromJSONTyped(json: any, ignoreDiscrimin
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': InterruptSessionResponseDataFromJSON(json['data']),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function InterruptSessionResponseToJSONTyped(value?: InterruptSessionResp
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': InterruptSessionResponseDataToJSON(value['data']),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,25 +14,25 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface InterruptSessionResponseData
|
||||
*/
|
||||
export interface InterruptSessionResponseData {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof InterruptSessionResponseData
|
||||
*/
|
||||
success: boolean;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof InterruptSessionResponseData
|
||||
*/
|
||||
sessionId: string;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof InterruptSessionResponseData
|
||||
*/
|
||||
@@ -68,7 +68,7 @@ export function InterruptSessionResponseDataFromJSONTyped(json: any, ignoreDiscr
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'success': json['success'],
|
||||
'sessionId': json['session_id'],
|
||||
'status': json['status'],
|
||||
@@ -85,9 +85,10 @@ export function InterruptSessionResponseDataToJSONTyped(value?: InterruptSession
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'success': value['success'],
|
||||
'session_id': value['sessionId'],
|
||||
'status': value['status'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
} from './MCPServer';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface MCPConfig
|
||||
*/
|
||||
@@ -51,7 +51,7 @@ export function MCPConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'mcpServers': json['mcpServers'] == null ? undefined : (mapValues(json['mcpServers'], MCPServerFromJSON)),
|
||||
};
|
||||
}
|
||||
@@ -66,7 +66,8 @@ export function MCPConfigToJSONTyped(value?: MCPConfig | null, ignoreDiscriminat
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'mcpServers': value['mcpServers'] == null ? undefined : (mapValues(value['mcpServers'], MCPServerToJSON)),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface MCPServer
|
||||
*/
|
||||
@@ -56,7 +56,7 @@ export function MCPServerFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'command': json['command'],
|
||||
'args': json['args'] == null ? undefined : json['args'],
|
||||
'env': json['env'] == null ? undefined : json['env'],
|
||||
@@ -73,9 +73,10 @@ export function MCPServerToJSONTyped(value?: MCPServer | null, ignoreDiscriminat
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'command': value['command'],
|
||||
'args': value['args'],
|
||||
'env': value['env'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface RecentPath
|
||||
*/
|
||||
@@ -58,7 +58,7 @@ export function RecentPathFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'path': json['path'],
|
||||
'lastUsed': (new Date(json['last_used'])),
|
||||
'usageCount': json['usage_count'],
|
||||
@@ -75,9 +75,10 @@ export function RecentPathToJSONTyped(value?: RecentPath | null, ignoreDiscrimin
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'path': value['path'],
|
||||
'last_used': ((value['lastUsed']).toISOString()),
|
||||
'usage_count': value['usageCount'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './RecentPath';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface RecentPathsResponse
|
||||
*/
|
||||
export interface RecentPathsResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {Array<RecentPath>}
|
||||
* @memberof RecentPathsResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function RecentPathsResponseFromJSONTyped(json: any, ignoreDiscriminator:
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': ((json['data'] as Array<any>).map(RecentPathFromJSON)),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function RecentPathsResponseToJSONTyped(value?: RecentPathsResponse | nul
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': ((value['data'] as Array<any>).map(RecentPathToJSON)),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
} from './SessionStatus';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface Session
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export interface Session {
|
||||
*/
|
||||
parentSessionId?: string;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {SessionStatus}
|
||||
* @memberof Session
|
||||
*/
|
||||
@@ -81,6 +81,12 @@ export interface Session {
|
||||
* @memberof Session
|
||||
*/
|
||||
model?: string;
|
||||
/**
|
||||
* Full model identifier
|
||||
* @type {string}
|
||||
* @memberof Session
|
||||
*/
|
||||
modelId?: string;
|
||||
/**
|
||||
* Working directory for the session
|
||||
* @type {string}
|
||||
@@ -209,7 +215,7 @@ export function SessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): S
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'id': json['id'],
|
||||
'runId': json['run_id'],
|
||||
'claudeSessionId': json['claude_session_id'] == null ? undefined : json['claude_session_id'],
|
||||
@@ -219,6 +225,7 @@ export function SessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): S
|
||||
'summary': json['summary'] == null ? undefined : json['summary'],
|
||||
'title': json['title'] == null ? undefined : json['title'],
|
||||
'model': json['model'] == null ? undefined : json['model'],
|
||||
'modelId': json['model_id'] == null ? undefined : json['model_id'],
|
||||
'workingDir': json['working_dir'] == null ? undefined : json['working_dir'],
|
||||
'createdAt': (new Date(json['created_at'])),
|
||||
'lastActivityAt': (new Date(json['last_activity_at'])),
|
||||
@@ -249,7 +256,7 @@ export function SessionToJSONTyped(value?: Session | null, ignoreDiscriminator:
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'id': value['id'],
|
||||
'run_id': value['runId'],
|
||||
'claude_session_id': value['claudeSessionId'],
|
||||
@@ -259,6 +266,7 @@ export function SessionToJSONTyped(value?: Session | null, ignoreDiscriminator:
|
||||
'summary': value['summary'],
|
||||
'title': value['title'],
|
||||
'model': value['model'],
|
||||
'model_id': value['modelId'],
|
||||
'working_dir': value['workingDir'],
|
||||
'created_at': ((value['createdAt']).toISOString()),
|
||||
'last_activity_at': ((value['lastActivityAt']).toISOString()),
|
||||
@@ -278,3 +286,4 @@ export function SessionToJSONTyped(value?: Session | null, ignoreDiscriminator:
|
||||
'archived': value['archived'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './Session';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface SessionResponse
|
||||
*/
|
||||
export interface SessionResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {Session}
|
||||
* @memberof SessionResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function SessionResponseFromJSONTyped(json: any, ignoreDiscriminator: boo
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': SessionFromJSON(json['data']),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function SessionResponseToJSONTyped(value?: SessionResponse | null, ignor
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': SessionToJSON(value['data']),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -55,3 +55,4 @@ export function SessionStatusToJSON(value?: SessionStatus | null): any {
|
||||
export function SessionStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): SessionStatus {
|
||||
return value as SessionStatus;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './Session';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface SessionsResponse
|
||||
*/
|
||||
export interface SessionsResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {Array<Session>}
|
||||
* @memberof SessionsResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function SessionsResponseFromJSONTyped(json: any, ignoreDiscriminator: bo
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': ((json['data'] as Array<any>).map(SessionFromJSON)),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function SessionsResponseToJSONTyped(value?: SessionsResponse | null, ign
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': ((value['data'] as Array<any>).map(SessionToJSON)),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -22,13 +22,13 @@ import {
|
||||
} from './FileSnapshot';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface SnapshotsResponse
|
||||
*/
|
||||
export interface SnapshotsResponse {
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {Array<FileSnapshot>}
|
||||
* @memberof SnapshotsResponse
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ export function SnapshotsResponseFromJSONTyped(json: any, ignoreDiscriminator: b
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'data': ((json['data'] as Array<any>).map(FileSnapshotFromJSON)),
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,8 @@ export function SnapshotsResponseToJSONTyped(value?: SnapshotsResponse | null, i
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'data': ((value['data'] as Array<any>).map(FileSnapshotToJSON)),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface UpdateSessionRequest
|
||||
*/
|
||||
@@ -67,7 +67,7 @@ export function UpdateSessionRequestFromJSONTyped(json: any, ignoreDiscriminator
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
|
||||
'autoAcceptEdits': json['auto_accept_edits'] == null ? undefined : json['auto_accept_edits'],
|
||||
'dangerouslySkipPermissions': json['dangerously_skip_permissions'] == null ? undefined : json['dangerously_skip_permissions'],
|
||||
'dangerouslySkipPermissionsTimeoutMs': json['dangerously_skip_permissions_timeout_ms'] == null ? undefined : json['dangerously_skip_permissions_timeout_ms'],
|
||||
@@ -86,7 +86,7 @@ export function UpdateSessionRequestToJSONTyped(value?: UpdateSessionRequest | n
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
|
||||
'auto_accept_edits': value['autoAcceptEdits'],
|
||||
'dangerously_skip_permissions': value['dangerouslySkipPermissions'],
|
||||
'dangerously_skip_permissions_timeout_ms': value['dangerouslySkipPermissionsTimeoutMs'],
|
||||
@@ -94,3 +94,4 @@ export function UpdateSessionRequestToJSONTyped(value?: UpdateSessionRequest | n
|
||||
'title': value['title'],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ export * from './CreateApprovalResponseData';
|
||||
export * from './CreateSessionRequest';
|
||||
export * from './CreateSessionResponse';
|
||||
export * from './CreateSessionResponseData';
|
||||
export * from './DatabaseInfoResponse';
|
||||
export * from './DecideApprovalRequest';
|
||||
export * from './DecideApprovalResponse';
|
||||
export * from './DecideApprovalResponseData';
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* HumanLayer Daemon REST API
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
* REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
|
||||
Reference in New Issue
Block a user