@vapi-network/cli 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -2
- package/dist/accounts.d.ts +11 -0
- package/dist/cli.d.ts +84 -7
- package/dist/cli.js +16687 -7876
- package/dist/cli.js.map +3 -3
- package/dist/cloud-backup.d.ts +20 -0
- package/dist/index.js +16658 -7871
- package/dist/index.js.map +3 -3
- package/dist/login.d.ts +7 -1
- package/dist/main-module.d.ts +9 -0
- package/dist/mcp-install.d.ts +13 -0
- package/dist/router.d.ts +3 -1
- package/dist/send.d.ts +2 -0
- package/dist/setup.d.ts +6 -0
- package/dist/status.d.ts +10 -0
- package/dist/vault.d.ts +3 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type CliDependencies, type CliIo } from "./cli.js";
|
|
2
|
+
type EnrollResult = {
|
|
3
|
+
status: "uploaded";
|
|
4
|
+
device: string;
|
|
5
|
+
bytes: number;
|
|
6
|
+
uploadedAt: string;
|
|
7
|
+
} | {
|
|
8
|
+
status: "skipped";
|
|
9
|
+
device: string;
|
|
10
|
+
reason: string;
|
|
11
|
+
};
|
|
12
|
+
export declare function cloudBackupCommand(argv: string[], json: boolean, io: CliIo, dependencies: CliDependencies): Promise<void>;
|
|
13
|
+
export declare function enrollCloudBackup(json: boolean, io: CliIo, dependencies: CliDependencies): Promise<EnrollResult>;
|
|
14
|
+
export declare function restoreFromOwnerCommand(argv: string[], json: boolean, io: CliIo, dependencies: CliDependencies): Promise<void>;
|
|
15
|
+
export declare function cloudBackupSetupChoice(json: boolean, io: CliIo, dependencies: CliDependencies): Promise<{
|
|
16
|
+
status: "on" | "off" | "skipped";
|
|
17
|
+
changed: boolean;
|
|
18
|
+
}>;
|
|
19
|
+
export declare function autoUploadBackup(io: CliIo, json: boolean, dependencies: CliDependencies): Promise<void>;
|
|
20
|
+
export {};
|