UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
39 lines (38 loc) 1.61 kB
/** * AskNews API * AskNews API [![status](https://status.asknews.app/api/badge/2/status?style=for-the-badge)](https://status.asknews.app/status/prod) * * The version of the OpenAPI document: 0.24.66 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { ProfileResponse, RateLimitStatusResponse } from '../models/index'; /** * */ export declare class ProfileApi extends runtime.BaseAPI { /** * Return the caller\'s current rate-limit and concurrency-limit state without consuming any tokens. * Get the current user\'s rate limit status */ getRateLimitStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RateLimitStatusResponse>>; /** * Return the caller\'s current rate-limit and concurrency-limit state without consuming any tokens. * Get the current user\'s rate limit status */ getRateLimitStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RateLimitStatusResponse>; /** * Get the current profile * Get the current user\'s profile */ getUserProfileRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProfileResponse>>; /** * Get the current profile * Get the current user\'s profile */ getUserProfile(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProfileResponse>; }