@broadcom/endevor-for-zowe-cli
Version:
Endevor Plug-in for Zowe CLI
9 lines (8 loc) • 754 B
TypeScript
import { ListPkgDictionary, IListActionRequestOptions, IEndevorRestResponse, IEndevorPackage, IEndevorAsyncTask } from "../index";
import { Session } from "@zowe/imperative";
export declare class ListPackage {
static setupListPackageRequest(args: ListPkgDictionary): IListActionRequestOptions;
static listPackage(session: Session, instance: string, packageName: string, requestBody: IListActionRequestOptions): Promise<IEndevorRestResponse<IEndevorPackage>>;
static listPackageAsync(session: Session, instance: string, packageName: string, requestBody: IListActionRequestOptions): Promise<IEndevorRestResponse<IEndevorAsyncTask>>;
static isNoMatch(returnCode: number, listPackageResult: IEndevorPackage[], messages: string[]): boolean;
}