@mimamch/qontak
Version:
Mekari Qontak API
17 lines • 458 B
TypeScript
import { AxiosInstance } from "axios";
export type AuthProps = {
axios: AxiosInstance;
username: string;
password: string;
clientId: string;
clientSecret: string;
};
export type GetAuthResponse = {
access_token: string;
token_type: string;
expires_in: number;
refresh_token: string;
created_at: number;
};
export declare const getAuth: (props: AuthProps) => Promise<GetAuthResponse>;
//# sourceMappingURL=auth.d.ts.map