Function PackageApiFactory
- PackageApiFactory(configuration?, basePath?, axios?): {
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
- cancelPackageInstallation(requestParameters, options?): AxiosPromise<void>
Returns AxiosPromise<void>
getPackageInfo:function
- getPackageInfo(requestParameters, options?): AxiosPromise<PackageInfo>
getPackages:function
- getPackages(options?): AxiosPromise<PackageInfo[]>
Parameters
Optional
options: RawAxiosRequestConfig
Returns AxiosPromise<PackageInfo[]>
getRepositories:function
- getRepositories(options?): AxiosPromise<RepositoryInfo[]>
Parameters
Optional
options: RawAxiosRequestConfig
installPackage:function
- installPackage(requestParameters, options?): AxiosPromise<void>
Returns AxiosPromise<void>
setRepositories:function
- setRepositories(requestParameters, options?): AxiosPromise<void>
Returns AxiosPromise<void>
PackageApi - factory interface
Export