node-vw-carnet
Version:
Connects to the VW Car-Net via the we-connect portal.
29 lines (28 loc) • 725 B
TypeScript
/**
* @param {import('./carnet-api-client').CarnetCookie[]} cookies
*/
export function validateCookies(cookies: {
name: string;
value: string;
}[]): void;
/**
*
* @param {import('./carnet-api-client').SessionOptions} options
* @param {typeof import('./utils').defaultLogger} logger
*/
export function validate(options: {
csrfToken: string;
carId: string;
cookies: {
name: string;
value: string;
}[];
}, logger: {
time: (...args: any[]) => void;
timeEnd: (...args: any[]) => void;
warn: (...args: any[]) => void;
info: (...args: any[]) => void;
debug: (...args: any[]) => void;
log: (...args: any[]) => void;
error: (...args: any[]) => void;
}): void;