@icewhale/zimaos-localstorage-openapi
Advanced tools
Comparing version 1.3.0-alpha13 to 1.3.0-alpha14
@@ -14,2 +14,3 @@ /** | ||
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; | ||
import globalAxios from 'axios'; | ||
import type { RequestArgs } from './base'; | ||
@@ -1252,3 +1253,3 @@ import { BaseAPI } from './base'; | ||
*/ | ||
getDiskInfo(path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDiskInfo200Response, any>>; | ||
getDiskInfo(path?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDiskInfo200Response, any>>; | ||
/** | ||
@@ -1260,3 +1261,3 @@ * get how minutes to sleep a disk | ||
*/ | ||
getDiskSleepWaitTime(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDiskSleepWaitTime200Response, any>>; | ||
getDiskSleepWaitTime(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDiskSleepWaitTime200Response, any>>; | ||
/** | ||
@@ -1269,3 +1270,3 @@ * get disk sleep status | ||
*/ | ||
getDiskStandbyStatus(devicePath?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDiskStandbyStatus200Response, any>>; | ||
getDiskStandbyStatus(devicePath?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDiskStandbyStatus200Response, any>>; | ||
/** | ||
@@ -1279,3 +1280,3 @@ * Get a list of all disks, or a single disk by path. | ||
*/ | ||
getDisks(free?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDisks200Response, any>>; | ||
getDisks(free?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDisks200Response, any>>; | ||
/** | ||
@@ -1288,3 +1289,3 @@ * set sleep disk time the value is 0-251, 1-240 is n * 5, 241 - 251 is n * 30 minutes 0 means never sleep 1 means sleep after 5 s 2 means sleep after 10 s 12 means sleep after 1 minute 241 means sleep after 30 minutes 242 means sleep after 1 hour | ||
*/ | ||
setDiskSleepWaitTime(setDiskSleepWaitTimeRequest: SetDiskSleepWaitTimeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
setDiskSleepWaitTime(setDiskSleepWaitTimeRequest: SetDiskSleepWaitTimeRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
} | ||
@@ -1416,3 +1417,3 @@ /** | ||
*/ | ||
getMergeInitStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMergeInitStatus200Response, any>>; | ||
getMergeInitStatus(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetMergeInitStatus200Response, any>>; | ||
/** | ||
@@ -1426,3 +1427,3 @@ * (TODO) | ||
*/ | ||
getMerges(mountPoint?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMerges200Response, any>>; | ||
getMerges(mountPoint?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetMerges200Response, any>>; | ||
/** | ||
@@ -1436,3 +1437,3 @@ * (TODO) | ||
*/ | ||
initMerge(mountPoint: MountPoint, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMergeInitStatus200Response, any>>; | ||
initMerge(mountPoint: MountPoint, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetMergeInitStatus200Response, any>>; | ||
/** | ||
@@ -1446,3 +1447,3 @@ * (TODO) | ||
*/ | ||
setMerge(merge: Merge, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetMerge200Response, any>>; | ||
setMerge(merge: Merge, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SetMerge200Response, any>>; | ||
} | ||
@@ -1593,3 +1594,3 @@ /** | ||
*/ | ||
getMounts(id?: string, mountPoint?: string, type?: string, source?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMounts200Response, any>>; | ||
getMounts(id?: string, mountPoint?: string, type?: string, source?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetMounts200Response, any>>; | ||
/** | ||
@@ -1603,3 +1604,3 @@ * (TODO) | ||
*/ | ||
mount(mount: Mount, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateMount200Response, any>>; | ||
mount(mount: Mount, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateMount200Response, any>>; | ||
/** | ||
@@ -1613,3 +1614,3 @@ * (TODO) | ||
*/ | ||
umount(mountPoint: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
umount(mountPoint: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
/** | ||
@@ -1624,3 +1625,3 @@ * Updating a mount volume is equivalent to unmounting the volume and mounting it again with the new parameters. | ||
*/ | ||
updateMount(mountPoint: string, mount: Mount, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateMount200Response, any>>; | ||
updateMount(mountPoint: string, mount: Mount, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateMount200Response, any>>; | ||
} | ||
@@ -1756,3 +1757,3 @@ /** | ||
*/ | ||
createRaid(raidBody: RaidBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Raid, any>>; | ||
createRaid(raidBody: RaidBody, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Raid, any>>; | ||
/** | ||
@@ -1766,3 +1767,3 @@ * Delete a raid by path | ||
*/ | ||
deleteRaid(path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
deleteRaid(path: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
/** | ||
@@ -1776,3 +1777,3 @@ * Get a list of all raids, or a single raid by name. | ||
*/ | ||
getRaids(path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRaids200Response, any>>; | ||
getRaids(path?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetRaids200Response, any>>; | ||
/** | ||
@@ -1786,3 +1787,3 @@ * Update raid-related configurations by name | ||
*/ | ||
updateRaid(putRaidBody: PutRaidBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Raid, any>>; | ||
updateRaid(putRaidBody: PutRaidBody, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Raid, any>>; | ||
} | ||
@@ -1918,3 +1919,3 @@ /** | ||
*/ | ||
createStorage(postStorageBody: PostStorageBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostStorageBody, any>>; | ||
createStorage(postStorageBody: PostStorageBody, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PostStorageBody, any>>; | ||
/** | ||
@@ -1928,3 +1929,3 @@ * Delete a storage by path | ||
*/ | ||
deleteStorage(path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
deleteStorage(path: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
/** | ||
@@ -1937,3 +1938,3 @@ * Get a list of all storage, or a single storage by path. | ||
*/ | ||
getAllStorages(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StorageAggrgation[], any>>; | ||
getAllStorages(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<StorageAggrgation[], any>>; | ||
/** | ||
@@ -1948,3 +1949,3 @@ * Get a list of all storage, or a single storage by path. | ||
*/ | ||
getStorage(system?: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStorage200Response, any>>; | ||
getStorage(system?: string, path?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetStorage200Response, any>>; | ||
} |
@@ -14,2 +14,3 @@ /** | ||
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; | ||
import globalAxios from 'axios'; | ||
import type { RequestArgs } from './base'; | ||
@@ -553,3 +554,3 @@ import { BaseAPI } from './base'; | ||
*/ | ||
listStorages(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
listStorages(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
/** | ||
@@ -563,3 +564,3 @@ * Delete cloud storage. | ||
*/ | ||
umountStorage(umountStorageRequest?: UmountStorageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseString, any>>; | ||
umountStorage(umountStorageRequest?: UmountStorageRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SuccessResponseString, any>>; | ||
} | ||
@@ -710,3 +711,3 @@ /** | ||
*/ | ||
deleteDiskUSB(deleteDiskUSBRequest?: DeleteDiskUSBRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseString, any>>; | ||
deleteDiskUSB(deleteDiskUSBRequest?: DeleteDiskUSBRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SuccessResponseString, any>>; | ||
/** | ||
@@ -720,3 +721,3 @@ * Delete all disks. | ||
*/ | ||
deleteDisksUmount(deleteDisksUmountRequest?: DeleteDisksUmountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseString, any>>; | ||
deleteDisksUmount(deleteDisksUmountRequest?: DeleteDisksUmountRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SuccessResponseString, any>>; | ||
/** | ||
@@ -729,3 +730,3 @@ * Get all disks. | ||
*/ | ||
getDiskList(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
getDiskList(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
/** | ||
@@ -738,3 +739,3 @@ * Get disk size. | ||
*/ | ||
getDiskSize(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
getDiskSize(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
/** | ||
@@ -747,3 +748,3 @@ * Get all USB disks. | ||
*/ | ||
getDisksUSBList(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
getDisksUSBList(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
} | ||
@@ -879,3 +880,3 @@ /** | ||
*/ | ||
deleteStorage(putFormatStorageRequest?: PutFormatStorageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
deleteStorage(putFormatStorageRequest?: PutFormatStorageRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
/** | ||
@@ -889,3 +890,3 @@ * Get storage. | ||
*/ | ||
getStorageList(system?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
getStorageList(system?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
/** | ||
@@ -899,3 +900,3 @@ * Add storage. | ||
*/ | ||
postAddStorage(postAddStorageRequest?: PostAddStorageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
postAddStorage(postAddStorageRequest?: PostAddStorageRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
/** | ||
@@ -909,3 +910,3 @@ * Update storage. | ||
*/ | ||
putFormatStorage(putFormatStorageRequest?: PutFormatStorageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
putFormatStorage(putFormatStorageRequest?: PutFormatStorageRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
} | ||
@@ -989,3 +990,3 @@ /** | ||
*/ | ||
getSystemUSBAutoMount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseString, any>>; | ||
getSystemUSBAutoMount(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SuccessResponseString, any>>; | ||
/** | ||
@@ -999,3 +1000,3 @@ * Enable or disable USB auto-mounting. | ||
*/ | ||
putSystemUSBAutoMount(putSystemUSBAutoMountRequest?: PutSystemUSBAutoMountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>; | ||
putSystemUSBAutoMount(putSystemUSBAutoMountRequest?: PutSystemUSBAutoMountRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BaseResponse, any>>; | ||
} |
{ | ||
"name": "@icewhale/zimaos-localstorage-openapi", | ||
"version": "v1.3.0-alpha13", | ||
"version": "v1.3.0-alpha14", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "rm -rf dist && tsc && rm -rf generate", |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
6793
280258