trainingpeaks-sdk
Version:
TypeScript SDK for TrainingPeaks API integration
6 lines • 573 B
TypeScript
import type { HttpClient } from '../../../../../../adapters/http/index.js';
import type { HttpResponse } from '../../../../../../application/index.js';
import type { RefreshTokenRequest, TrainingPeaksTokenResponse } from './token.types.js';
export declare const getAuthToken: (httpClient: HttpClient, cookies: string[]) => Promise<HttpResponse<TrainingPeaksTokenResponse>>;
export declare const refreshAuthToken: (httpClient: HttpClient, refreshTokenRequest: RefreshTokenRequest) => Promise<HttpResponse<TrainingPeaksTokenResponse>>;
//# sourceMappingURL=token.api.d.ts.map