fix: apply pre-commit hooks formatting to generated SDK files

This commit is contained in:
dexhorthy
2025-08-13 21:00:25 -07:00
parent 0484cb06c2
commit 7f850ef6ca
45 changed files with 278 additions and 318 deletions

View File

@@ -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 {

View File

@@ -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> {

View File

@@ -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> {

View File

@@ -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
@@ -27,7 +27,7 @@ import {
/**
* SystemApi - interface
*
*
* @export
* @interface SystemApiInterface
*/
@@ -65,7 +65,7 @@ export interface SystemApiInterface {
}
/**
*
*
*/
export class SystemApi extends runtime.BaseAPI implements SystemApiInterface {

View File

@@ -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,4 +143,3 @@ export function ApprovalToJSONTyped(value?: Approval | null, ignoreDiscriminator
'comment': value['comment'],
};
}

View File

@@ -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,8 +67,7 @@ export function ApprovalResponseToJSONTyped(value?: ApprovalResponse | null, ign
}
return {
'data': ApprovalToJSON(value['data']),
};
}

View File

@@ -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,4 +51,3 @@ export function ApprovalStatusToJSON(value?: ApprovalStatus | null): any {
export function ApprovalStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ApprovalStatus {
return value as ApprovalStatus;
}

View File

@@ -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,8 +67,7 @@ export function ApprovalsResponseToJSONTyped(value?: ApprovalsResponse | null, i
}
return {
'data': ((value['data'] as Array<any>).map(ApprovalToJSON)),
};
}

View File

@@ -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,9 +67,8 @@ export function BulkArchiveRequestToJSONTyped(value?: BulkArchiveRequest | null,
}
return {
'session_ids': value['sessionIds'],
'archived': value['archived'],
};
}

View File

@@ -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,8 +67,7 @@ export function BulkArchiveResponseToJSONTyped(value?: BulkArchiveResponse | nul
}
return {
'data': BulkArchiveResponseDataToJSON(value['data']),
};
}

View File

@@ -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,9 +66,8 @@ export function BulkArchiveResponseDataToJSONTyped(value?: BulkArchiveResponseDa
}
return {
'success': value['success'],
'failed_sessions': value['failedSessions'],
};
}

View File

@@ -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,4 +135,3 @@ export function ContinueSessionRequestToJSONTyped(value?: ContinueSessionRequest
'max_turns': value['maxTurns'],
};
}

View File

@@ -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,8 +67,7 @@ export function ContinueSessionResponseToJSONTyped(value?: ContinueSessionRespon
}
return {
'data': ContinueSessionResponseDataToJSON(value['data']),
};
}

View File

@@ -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,11 +83,10 @@ export function ContinueSessionResponseDataToJSONTyped(value?: ContinueSessionRe
}
return {
'session_id': value['sessionId'],
'run_id': value['runId'],
'claude_session_id': value['claudeSessionId'],
'parent_session_id': value['parentSessionId'],
};
}

View File

@@ -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,4 +230,3 @@ export function ConversationEventToJSONTyped(value?: ConversationEvent | null, i
'approval_id': value['approvalId'],
};
}

View File

@@ -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,8 +67,7 @@ export function ConversationResponseToJSONTyped(value?: ConversationResponse | n
}
return {
'data': ((value['data'] as Array<any>).map(ConversationEventToJSON)),
};
}

View File

@@ -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,10 +75,9 @@ export function CreateApprovalRequestToJSONTyped(value?: CreateApprovalRequest |
}
return {
'run_id': value['runId'],
'tool_name': value['toolName'],
'tool_input': value['toolInput'],
};
}

View File

@@ -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,8 +67,7 @@ export function CreateApprovalResponseToJSONTyped(value?: CreateApprovalResponse
}
return {
'data': CreateApprovalResponseDataToJSON(value['data']),
};
}

View File

@@ -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,8 +59,7 @@ export function CreateApprovalResponseDataToJSONTyped(value?: CreateApprovalResp
}
return {
'approval_id': value['approvalId'],
};
}

View File

@@ -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,4 +186,3 @@ export function CreateSessionRequestToJSONTyped(value?: CreateSessionRequest | n
'verbose': value['verbose'],
};
}

View File

@@ -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,8 +67,7 @@ export function CreateSessionResponseToJSONTyped(value?: CreateSessionResponse |
}
return {
'data': CreateSessionResponseDataToJSON(value['data']),
};
}

View File

@@ -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,9 +67,8 @@ export function CreateSessionResponseDataToJSONTyped(value?: CreateSessionRespon
}
return {
'session_id': value['sessionId'],
'run_id': value['runId'],
};
}

View File

@@ -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 DatabaseInfoResponse
*/
@@ -71,7 +71,7 @@ export function DatabaseInfoResponseFromJSONTyped(json: any, ignoreDiscriminator
return json;
}
return {
'path': json['path'],
'size': json['size'],
'tableCount': json['table_count'],
@@ -90,7 +90,7 @@ export function DatabaseInfoResponseToJSONTyped(value?: DatabaseInfoResponse | n
}
return {
'path': value['path'],
'size': value['size'],
'table_count': value['tableCount'],
@@ -98,4 +98,3 @@ export function DatabaseInfoResponseToJSONTyped(value?: DatabaseInfoResponse | n
'last_modified': value['lastModified'] == null ? undefined : ((value['lastModified']).toISOString()),
};
}

View File

@@ -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,9 +77,8 @@ export function DecideApprovalRequestToJSONTyped(value?: DecideApprovalRequest |
}
return {
'decision': value['decision'],
'comment': value['comment'],
};
}

View File

@@ -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,8 +67,7 @@ export function DecideApprovalResponseToJSONTyped(value?: DecideApprovalResponse
}
return {
'data': DecideApprovalResponseDataToJSON(value['data']),
};
}

View File

@@ -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,9 +66,8 @@ export function DecideApprovalResponseDataToJSONTyped(value?: DecideApprovalResp
}
return {
'success': value['success'],
'error': value['error'],
};
}

View File

@@ -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,10 +74,9 @@ export function ErrorDetailToJSONTyped(value?: ErrorDetail | null, ignoreDiscrim
}
return {
'code': value['code'],
'message': value['message'],
'details': value['details'],
};
}

View File

@@ -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,8 +67,7 @@ export function ErrorResponseToJSONTyped(value?: ErrorResponse | null, ignoreDis
}
return {
'error': ErrorDetailToJSON(value['error']),
};
}

View File

@@ -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,10 +85,9 @@ export function EventToJSONTyped(value?: Event | null, ignoreDiscriminator: bool
}
return {
'type': EventTypeToJSON(value['type']),
'timestamp': ((value['timestamp']).toISOString()),
'data': value['data'],
};
}

View File

@@ -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,4 +53,3 @@ export function EventTypeToJSON(value?: EventType | null): any {
export function EventTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): EventType {
return value as EventType;
}

View File

@@ -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,11 +83,10 @@ export function FileSnapshotToJSONTyped(value?: FileSnapshot | null, ignoreDiscr
}
return {
'tool_id': value['toolId'],
'file_path': value['filePath'],
'content': value['content'],
'created_at': ((value['createdAt']).toISOString()),
};
}

View File

@@ -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,9 +77,8 @@ export function HealthResponseToJSONTyped(value?: HealthResponse | null, ignoreD
}
return {
'status': value['status'],
'version': value['version'],
};
}

View File

@@ -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,8 +67,7 @@ export function InterruptSessionResponseToJSONTyped(value?: InterruptSessionResp
}
return {
'data': InterruptSessionResponseDataToJSON(value['data']),
};
}

View File

@@ -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,10 +85,9 @@ export function InterruptSessionResponseDataToJSONTyped(value?: InterruptSession
}
return {
'success': value['success'],
'session_id': value['sessionId'],
'status': value['status'],
};
}

View File

@@ -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,8 +66,7 @@ export function MCPConfigToJSONTyped(value?: MCPConfig | null, ignoreDiscriminat
}
return {
'mcpServers': value['mcpServers'] == null ? undefined : (mapValues(value['mcpServers'], MCPServerToJSON)),
};
}

View File

@@ -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,10 +73,9 @@ export function MCPServerToJSONTyped(value?: MCPServer | null, ignoreDiscriminat
}
return {
'command': value['command'],
'args': value['args'],
'env': value['env'],
};
}

View File

@@ -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,10 +75,9 @@ export function RecentPathToJSONTyped(value?: RecentPath | null, ignoreDiscrimin
}
return {
'path': value['path'],
'last_used': ((value['lastUsed']).toISOString()),
'usage_count': value['usageCount'],
};
}

View File

@@ -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,8 +67,7 @@ export function RecentPathsResponseToJSONTyped(value?: RecentPathsResponse | nul
}
return {
'data': ((value['data'] as Array<any>).map(RecentPathToJSON)),
};
}

View File

@@ -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
*/
@@ -215,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'],
@@ -256,7 +256,7 @@ export function SessionToJSONTyped(value?: Session | null, ignoreDiscriminator:
}
return {
'id': value['id'],
'run_id': value['runId'],
'claude_session_id': value['claudeSessionId'],
@@ -286,4 +286,3 @@ export function SessionToJSONTyped(value?: Session | null, ignoreDiscriminator:
'archived': value['archived'],
};
}

View File

@@ -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,8 +67,7 @@ export function SessionResponseToJSONTyped(value?: SessionResponse | null, ignor
}
return {
'data': SessionToJSON(value['data']),
};
}

View File

@@ -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,4 +55,3 @@ export function SessionStatusToJSON(value?: SessionStatus | null): any {
export function SessionStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): SessionStatus {
return value as SessionStatus;
}

View File

@@ -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,8 +67,7 @@ export function SessionsResponseToJSONTyped(value?: SessionsResponse | null, ign
}
return {
'data': ((value['data'] as Array<any>).map(SessionToJSON)),
};
}

View File

@@ -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,8 +67,7 @@ export function SnapshotsResponseToJSONTyped(value?: SnapshotsResponse | null, i
}
return {
'data': ((value['data'] as Array<any>).map(FileSnapshotToJSON)),
};
}

View File

@@ -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,4 +94,3 @@ export function UpdateSessionRequestToJSONTyped(value?: UpdateSessionRequest | n
'title': value['title'],
};
}

View File

@@ -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