/// import http = require('http'); import { ArtifactResponse } from '../model/artifactResponse'; import { Bundle } from '../model/bundle'; import { ScaffoldRequest } from '../model/scaffoldRequest'; import { ScaffoldResult } from '../model/scaffoldResult'; import { Authentication } from '../model/models'; import { HttpBasicAuth, ApiKeyAuth, OAuth } from '../model/models'; import { RequestFile } from './apis'; export declare enum PackageServicesApiApiKeys { api = 0 } export declare class PackageServicesApi { protected _basePath: string; protected defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { 'default': Authentication; 'jwt': HttpBasicAuth; 'api': ApiKeyAuth; 'oauth2': OAuth; }; constructor(oAuth?: OAuth); useQuerystring: boolean; basePath: string; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: PackageServicesApiApiKeys, value: string): void; oAuth: OAuth; tokenUrl: string; clientId: string; clientSecret: string; deletePackage(client: string, _package: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: ArtifactResponse; }>; getPackage(client: string, _package: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Bundle; }>; listPackages(client: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Array; }>; scaffoldProject(client: string, scaffoldRequest: ScaffoldRequest, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: ScaffoldResult; }>; uploadPackage(client: string, file?: RequestFile, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Array; }>; }