/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { ClawInstanceStatusEnum } from './ClawInstanceStatusEnum'; import type { ClawTypeEnum } from './ClawTypeEnum'; import type { DeployStateEnum } from './DeployStateEnum'; import type { ProvisionModeEnum } from './ProvisionModeEnum'; export type PatchedClawInstance = { readonly id?: number; name?: string; claw_type?: ClawTypeEnum; /** * Managed = provisioned by us. Self-hosted = tenant provides the server. * * * `managed` - Managed * * `self_hosted` - Self-hosted */ readonly provision_mode?: ProvisionModeEnum; /** * HTTPS URL of the Claw worker instance. */ server_url?: string; gateway_token?: string; /** * Backend that deployed this server. Null = manually configured. */ deployment_backend?: number | null; /** * Per-server auth headers (overrides backend defaults). */ auth_headers?: any; /** * Variant-specific connection parameters (write-only in API). OpenClaw: device_identity.private_key_pem, timeouts. IronClaw: typically empty (bearer token covered by gateway_token). */ connection_params?: any; readonly status?: ClawInstanceStatusEnum; readonly deploy_state?: DeployStateEnum; readonly platform_key?: string; readonly last_health_check?: string | null; readonly last_health_status?: string | null; readonly claw_version?: string | null; /** * The most recent device-pairing result (request id + fingerprint, or status), as written * by ``request_claw_pairing_task``. Read-only; transient (pairing requests expire ~5 min). */ readonly last_pairing?: Record | null; /** * The most recent worker-upgrade outcome (by/target/before/after/reason/at), as written * by ``upgrade_claw_to_target_task``. Read-only. */ readonly last_upgrade?: Record | null; readonly created_at?: string; readonly updated_at?: string; };