@qualiture/tesla-api
Version:
An unofficial library that wraps the Tesla Owner's API
23 lines (22 loc) • 714 B
TypeScript
declare const Constants: {
readonly REFRESH_TOKEN: {
readonly REQUEST_BODY: {
readonly GRANT_TYPE: "refresh_token";
readonly CLIENT_ID: "ownerapi";
readonly SCOPE: "openid email offline_access";
};
readonly ENDPOINT: string;
};
readonly USER: {
readonly ENDPOINT: string;
};
readonly PRODUCT: {
readonly ENDPOINT: string;
};
readonly VEHICLE_DATA: {
readonly ENDPOINT: string;
readonly DEFAULT_PARAMETERS: "drive_state%3Bvehicle_state%3Bcharge_state%3Bclimate_state%3Bgui_settings%3Bvehicle_config";
readonly LOCATION_DATA_PARAMETER: "%3Blocation_data";
};
};
export { Constants };