UNPKG

kalshi-typescript

Version:
76 lines (75 loc) 1.88 kB
/** * 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 ConfigurationParameters { apiKey?: string; privateKeyPath?: string; privateKeyPem?: string; basePath?: string; serverIndex?: number; baseOptions?: any; formDataCtor?: new () => any; } export declare class Configuration { /** * Kalshi API Key ID * * @type {string} * @memberof Configuration */ apiKey?: string; /** * Path to RSA private key PEM file * * @type {string} * @memberof Configuration */ privateKeyPath?: string; /** * RSA private key PEM string * * @type {string} * @memberof Configuration */ privateKeyPem?: string; /** * override base path * * @type {string} * @memberof Configuration */ basePath?: string; /** * override server index */ serverIndex?: number; /** * base options for axios calls */ baseOptions?: any; /** * The FormData constructor that will be used to create multipart form data * requests. */ formDataCtor?: new () => any; constructor(param?: ConfigurationParameters); /** * Check if the given MIME is a JSON MIME. * JSON MIME examples: * application/json * application/json; charset=UTF8 * APPLICATION/JSON * application/vnd.company+json * @param mime - MIME (Multipurpose Internet Mail Extensions) * @return True if the given MIME is JSON, false otherwise. */ isJsonMime(mime: string): boolean; }