UNPKG

kalshi-typescript

Version:
26 lines (25 loc) 884 B
/** * Kalshi Trade API Manual Endpoints * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach * * The version of the OpenAPI document: 3.11.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ export interface CreateApiKeyRequest { /** * Name for the API key. This helps identify the key\'s purpose */ 'name': string; /** * RSA public key in PEM format. This will be used to verify signatures on API requests */ 'public_key': string; /** * List of scopes to grant to the API key. Valid values are \'read\' and \'write\'. If \'write\' is included, \'read\' must also be included. Defaults to full access ([\'read\', \'write\']) if not provided. */ 'scopes'?: Array<string>; }