/* tslint:disable */ /* eslint-disable */ /** * Kalshi Trade API Manual Endpoints * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach * * The version of the OpenAPI document: 3.36.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { ApiKeyScope } from './api-key-scope'; // May contain unused imports in some cases // @ts-ignore import type { ApiKeyType } from './api-key-type'; export interface ApiKey { /** * Unique identifier for the API key */ 'api_key_id': string; /** * User-provided name for the API key */ 'name': string; /** * Signing algorithm of this key, derived from its stored public key. Present for RSA and Ed25519 keys, including existing keys. Omitted when the algorithm is unknown. */ 'key_type'?: ApiKeyType; /** * List of scopes granted to this API key. */ 'scopes': Array; /** * If set, the API key is restricted to this single sub-account and may only read and trade on it. Absent/null means the key is unrestricted. */ 'subaccount'?: number | null; /** * If set, the API key is bound to this single FCM subtrader ({fcm_user_id}_{suffix}) and is usable only as that institution\'s trading credential - FIX sessions and subtrader-scoped margin WebSocket sessions; every REST endpoint is denied. Absent/null means the key carries no subtrader binding. */ 'fcm_subtrader_id'?: string | null; }