-
-
Save Yumshot/33e0d155ff9dc84bd838e7ec8836778f to your computer and use it in GitHub Desktop.
???
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AxiosInstance } from 'axios'; | |
import { SubmitTokenResponse } from './types'; | |
declare class TDAmeritrade { | |
CONSUMER_KEY: string; | |
client: AxiosInstance; | |
refreshToken: string | undefined; | |
constructor(consumerKey: string); | |
submitAuthToken(token: string, offline: boolean, redirectUri: string): Promise<SubmitTokenResponse>; | |
getNewAccessToken(): Promise<SubmitTokenResponse>; | |
getOauthLink(redirectUri: string): string; | |
} | |
export = TDAmeritrade; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
after looking through the package , ive realized i can just yoink it all out myself and just recreate the classes. No dependencies or secrets
Thank you for your help tho.