Function PackageApiFactory
- PackageApiFactory(
configuration?: Configuration,
basePath?: string,
axios?: AxiosInstance,
): {
cancelPackageInstallation(
requestParameters: PackageApiCancelPackageInstallationRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
getPackageInfo(
requestParameters: PackageApiGetPackageInfoRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<PackageInfo>;
getPackages(options?: RawAxiosRequestConfig): AxiosPromise<PackageInfo[]>;
getRepositories(
options?: RawAxiosRequestConfig,
): AxiosPromise<RepositoryInfo[]>;
installPackage(
requestParameters: PackageApiInstallPackageRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
setRepositories(
requestParameters: PackageApiSetRepositoriesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
} Parameters
Optional
configuration: ConfigurationOptional
basePath: stringOptional
axios: AxiosInstance
Returns {
cancelPackageInstallation(
requestParameters: PackageApiCancelPackageInstallationRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
getPackageInfo(
requestParameters: PackageApiGetPackageInfoRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<PackageInfo>;
getPackages(options?: RawAxiosRequestConfig): AxiosPromise<PackageInfo[]>;
getRepositories(
options?: RawAxiosRequestConfig,
): AxiosPromise<RepositoryInfo[]>;
installPackage(
requestParameters: PackageApiInstallPackageRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
setRepositories(
requestParameters: PackageApiSetRepositoriesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
}
cancelPackageInstallation:function
getPackageInfo:function
getPackages:function
- getPackages(options?: RawAxiosRequestConfig): AxiosPromise<PackageInfo[]>
Parameters
Optional
options: RawAxiosRequestConfig
Returns AxiosPromise<PackageInfo[]>
getRepositories:function
- getRepositories(options?: RawAxiosRequestConfig): AxiosPromise<RepositoryInfo[]>
Parameters
Optional
options: RawAxiosRequestConfig
installPackage:function
setRepositories:function
PackageApi - factory interface
Export