airalo-sdk-type
Version:
UNOFFICIAL AIRALO API INTEGRATION FOR JAVASCRIPT/TYPESCRIPT
14 lines (13 loc) • 303 B
TypeScript
type AuthType = {
client_id: string;
client_secret: string;
};
type TokenResponse = {
success: boolean;
message: string;
};
export declare const getToken: () => Promise<string>;
declare const _default: {
TOKEN: (auth: AuthType) => Promise<TokenResponse>;
};
export default _default;