Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@icewhale/zimaos-localstorage-openapi

Package Overview
Dependencies
Maintainers
3
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icewhale/zimaos-localstorage-openapi - npm Package Compare versions

Comparing version 0.4.9-alpha9 to 1.0.0-alpha1

150

dist/api.d.ts

@@ -13,3 +13,3 @@ /**

import type { Configuration } from './configuration';
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
import type { RequestArgs } from './base';

@@ -56,2 +56,8 @@ import { BaseAPI } from './base';

*
* @type {string}
* @memberof Chilren
*/
'storage_name'?: string;
/**
*
* @type {number}

@@ -112,2 +118,8 @@ * @memberof Chilren

*
* @type {number}
* @memberof Device
*/
'index'?: number;
/**
*
* @type {string}

@@ -220,2 +232,8 @@ * @memberof Device

'children'?: Array<Chilren>;
/**
*
* @type {boolean}
* @memberof Disk
*/
'rota'?: boolean;
}

@@ -613,3 +631,3 @@ /**

*/
'array_size'?: number;
'size'?: number;
/**

@@ -620,2 +638,8 @@ *

*/
'used'?: number;
/**
*
* @type {number}
* @memberof Raid
*/
'percentage'?: number;

@@ -640,3 +664,15 @@ /**

'path'?: string;
/**
*
* @type {string}
* @memberof Raid
*/
'status'?: RaidStatusEnum;
}
export declare const RaidStatusEnum: {
readonly Recover: "recover";
readonly Idle: "idle";
readonly Reshape: "reshape";
};
export type RaidStatusEnum = typeof RaidStatusEnum[keyof typeof RaidStatusEnum];
/**

@@ -769,3 +805,3 @@ *

*/
'label'?: string;
'name'?: string;
/**

@@ -795,2 +831,8 @@ *

'raid_level'?: number;
/**
*
* @type {boolean}
* @memberof Storage
*/
'health'?: boolean;
}

@@ -871,3 +913,3 @@ /**

*/
getDiskInfo: (path?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
getDiskInfo: (path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -880,3 +922,3 @@ * Get a list of all disks, or a single disk by path.

*/
getDisks: (free?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
getDisks: (free?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};

@@ -895,3 +937,3 @@ /**

*/
getDiskInfo(path?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDiskInfo200Response>>;
getDiskInfo(path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDiskInfo200Response>>;
/**

@@ -904,3 +946,3 @@ * Get a list of all disks, or a single disk by path.

*/
getDisks(free?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDisks200Response>>;
getDisks(free?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDisks200Response>>;
};

@@ -944,3 +986,3 @@ /**

*/
getDiskInfo(path?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDiskInfo200Response, any>>;
getDiskInfo(path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDiskInfo200Response, any>>;
/**

@@ -954,3 +996,3 @@ * Get a list of all disks, or a single disk by path.

*/
getDisks(free?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDisks200Response, any>>;
getDisks(free?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDisks200Response, any>>;
}

@@ -968,3 +1010,3 @@ /**

*/
getMergeInitStatus: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
getMergeInitStatus: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -977,3 +1019,3 @@ * (TODO)

*/
getMerges: (mountPoint?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
getMerges: (mountPoint?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -986,3 +1028,3 @@ * (TODO)

*/
initMerge: (mountPoint: MountPoint, options?: AxiosRequestConfig) => Promise<RequestArgs>;
initMerge: (mountPoint: MountPoint, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -995,3 +1037,3 @@ * (TODO)

*/
setMerge: (merge: Merge, options?: AxiosRequestConfig) => Promise<RequestArgs>;
setMerge: (merge: Merge, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};

@@ -1009,3 +1051,3 @@ /**

*/
getMergeInitStatus(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMergeInitStatus200Response>>;
getMergeInitStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMergeInitStatus200Response>>;
/**

@@ -1018,3 +1060,3 @@ * (TODO)

*/
getMerges(mountPoint?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMerges200Response>>;
getMerges(mountPoint?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMerges200Response>>;
/**

@@ -1027,3 +1069,3 @@ * (TODO)

*/
initMerge(mountPoint: MountPoint, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMergeInitStatus200Response>>;
initMerge(mountPoint: MountPoint, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMergeInitStatus200Response>>;
/**

@@ -1036,3 +1078,3 @@ * (TODO)

*/
setMerge(merge: Merge, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetMerge200Response>>;
setMerge(merge: Merge, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetMerge200Response>>;
};

@@ -1090,3 +1132,3 @@ /**

*/
getMergeInitStatus(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMergeInitStatus200Response, any>>;
getMergeInitStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMergeInitStatus200Response, any>>;
/**

@@ -1100,3 +1142,3 @@ * (TODO)

*/
getMerges(mountPoint?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMerges200Response, any>>;
getMerges(mountPoint?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMerges200Response, any>>;
/**

@@ -1110,3 +1152,3 @@ * (TODO)

*/
initMerge(mountPoint: MountPoint, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMergeInitStatus200Response, any>>;
initMerge(mountPoint: MountPoint, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMergeInitStatus200Response, any>>;
/**

@@ -1120,3 +1162,3 @@ * (TODO)

*/
setMerge(merge: Merge, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SetMerge200Response, any>>;
setMerge(merge: Merge, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetMerge200Response, any>>;
}

@@ -1138,3 +1180,3 @@ /**

*/
getMounts: (id?: string, mountPoint?: string, type?: string, source?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
getMounts: (id?: string, mountPoint?: string, type?: string, source?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -1147,3 +1189,3 @@ * (TODO)

*/
mount: (mount: Mount, options?: AxiosRequestConfig) => Promise<RequestArgs>;
mount: (mount: Mount, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -1156,3 +1198,3 @@ * (TODO)

*/
umount: (mountPoint: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
umount: (mountPoint: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -1166,3 +1208,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?: AxiosRequestConfig) => Promise<RequestArgs>;
updateMount: (mountPoint: string, mount: Mount, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};

@@ -1184,3 +1226,3 @@ /**

*/
getMounts(id?: string, mountPoint?: string, type?: string, source?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMounts200Response>>;
getMounts(id?: string, mountPoint?: string, type?: string, source?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMounts200Response>>;
/**

@@ -1193,3 +1235,3 @@ * (TODO)

*/
mount(mount: Mount, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateMount200Response>>;
mount(mount: Mount, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateMount200Response>>;
/**

@@ -1202,3 +1244,3 @@ * (TODO)

*/
umount(mountPoint: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseResponse>>;
umount(mountPoint: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseResponse>>;
/**

@@ -1212,3 +1254,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?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateMount200Response>>;
updateMount(mountPoint: string, mount: Mount, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateMount200Response>>;
};

@@ -1275,3 +1317,3 @@ /**

*/
getMounts(id?: string, mountPoint?: string, type?: string, source?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMounts200Response, any>>;
getMounts(id?: string, mountPoint?: string, type?: string, source?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMounts200Response, any>>;
/**

@@ -1285,3 +1327,3 @@ * (TODO)

*/
mount(mount: Mount, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateMount200Response, any>>;
mount(mount: Mount, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateMount200Response, any>>;
/**

@@ -1295,3 +1337,3 @@ * (TODO)

*/
umount(mountPoint: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>;
umount(mountPoint: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>;
/**

@@ -1306,3 +1348,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?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateMount200Response, any>>;
updateMount(mountPoint: string, mount: Mount, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateMount200Response, any>>;
}

@@ -1321,3 +1363,3 @@ /**

*/
createRaid: (raidBody: RaidBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
createRaid: (raidBody: RaidBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -1330,3 +1372,3 @@ * Delete a raid by path

*/
deleteRaid: (path: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
deleteRaid: (path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -1339,3 +1381,3 @@ * Get a list of all raids, or a single raid by name.

*/
getRaids: (path?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
getRaids: (path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -1348,3 +1390,3 @@ * Update raid-related configurations by name

*/
updateRaid: (putRaidBody: PutRaidBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
updateRaid: (putRaidBody: PutRaidBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};

@@ -1363,3 +1405,3 @@ /**

*/
createRaid(raidBody: RaidBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Raid>>;
createRaid(raidBody: RaidBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Raid>>;
/**

@@ -1372,3 +1414,3 @@ * Delete a raid by path

*/
deleteRaid(path: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseResponse>>;
deleteRaid(path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseResponse>>;
/**

@@ -1381,3 +1423,3 @@ * Get a list of all raids, or a single raid by name.

*/
getRaids(path?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRaids200Response>>;
getRaids(path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRaids200Response>>;
/**

@@ -1390,3 +1432,3 @@ * Update raid-related configurations by name

*/
updateRaid(putRaidBody: PutRaidBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Raid>>;
updateRaid(putRaidBody: PutRaidBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Raid>>;
};

@@ -1446,3 +1488,3 @@ /**

*/
createRaid(raidBody: RaidBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Raid, any>>;
createRaid(raidBody: RaidBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Raid, any>>;
/**

@@ -1456,3 +1498,3 @@ * Delete a raid by path

*/
deleteRaid(path: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>;
deleteRaid(path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>;
/**

@@ -1466,3 +1508,3 @@ * Get a list of all raids, or a single raid by name.

*/
getRaids(path?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRaids200Response, any>>;
getRaids(path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRaids200Response, any>>;
/**

@@ -1476,3 +1518,3 @@ * Update raid-related configurations by name

*/
updateRaid(putRaidBody: PutRaidBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Raid, any>>;
updateRaid(putRaidBody: PutRaidBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Raid, any>>;
}

@@ -1491,3 +1533,3 @@ /**

*/
createStorage: (postStorageBody: PostStorageBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
createStorage: (postStorageBody: PostStorageBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -1500,3 +1542,3 @@ * Delete a storage by path

*/
deleteStorage: (path: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
deleteStorage: (path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -1510,3 +1552,3 @@ * Get a list of all storage, or a single storage by path.

*/
getStorage: (system?: string, path?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
getStorage: (system?: string, path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};

@@ -1525,3 +1567,3 @@ /**

*/
createStorage(postStorageBody: PostStorageBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostStorageBody>>;
createStorage(postStorageBody: PostStorageBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostStorageBody>>;
/**

@@ -1534,3 +1576,3 @@ * Delete a storage by path

*/
deleteStorage(path: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseResponse>>;
deleteStorage(path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseResponse>>;
/**

@@ -1544,3 +1586,3 @@ * Get a list of all storage, or a single storage by path.

*/
getStorage(system?: string, path?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStorage200Response>>;
getStorage(system?: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStorage200Response>>;
};

@@ -1593,3 +1635,3 @@ /**

*/
createStorage(postStorageBody: PostStorageBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PostStorageBody, any>>;
createStorage(postStorageBody: PostStorageBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostStorageBody, any>>;
/**

@@ -1603,3 +1645,3 @@ * Delete a storage by path

*/
deleteStorage(path: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>;
deleteStorage(path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseResponse, any>>;
/**

@@ -1614,3 +1656,3 @@ * Get a list of all storage, or a single storage by path.

*/
getStorage(system?: string, path?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStorage200Response, any>>;
getStorage(system?: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStorage200Response, any>>;
}

@@ -13,3 +13,3 @@ /**

import type { Configuration } from './configuration';
import type { AxiosInstance, AxiosRequestConfig } from 'axios';
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
export declare const BASE_PATH: string;

@@ -33,3 +33,3 @@ /**

url: string;
options: AxiosRequestConfig;
options: RawAxiosRequestConfig;
}

@@ -36,0 +36,0 @@ /**

@@ -156,3 +156,4 @@ "use strict";

return (axios = globalAxios, basePath = BASE_PATH) => {
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || axios.defaults.baseURL || basePath) + axiosArgs.url });
var _a;
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : (_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath) + axiosArgs.url });
return axios.request(axiosRequestArgs);

@@ -159,0 +160,0 @@ };

{
"name": "@icewhale/zimaos-localstorage-openapi",
"version": "v0.4.9-alpha9",
"version": "v1.0.0-alpha1",
"scripts": {

@@ -5,0 +5,0 @@ "build": "rm -rf dist && tsc && rm -rf generate",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc