@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
23 lines (22 loc) • 694 B
TypeScript
export interface UrlTranslation {
newUrl: string;
startUrl: string;
}
export declare class GatewayUrlTranslator {
private static translations;
/**
* Given url return a gateway v2 translation object that will work well with
* nodes/node api.
*
* @param url a gateway v1 url
* @returns
*/
static translate(url: string): UrlTranslation;
private static translatePowerShellRequest;
private static translateCimRequest;
private static translateJeaRequest;
private static translateFileTransferRequest;
private static translateWdacRequest;
private static translateCounterRequest;
private static translateExtensionsRequest;
}