feat: add providers CLI and multi-account onboarding
This commit is contained in:
1 parent
6b3ed40d0f
commit
05b8679c8b
54 files changed
+4399
-1448
No files matched your search
@@ -9,6 +9,7 @@ import { resolveUserPath } from "../utils.js";
|
||||
|
||||
export type ResolvedWhatsAppAccount = {
|
||||
accountId: string;
|
||||
name?: string;
|
||||
enabled: boolean;
|
||||
authDir: string;
|
||||
isLegacyAuthDir: boolean;
|
||||
@@ -101,6 +102,7 @@ export function resolveWhatsAppAccount(params: {
|
||||
});
|
||||
return {
|
||||
accountId,
|
||||
name: accountCfg?.name?.trim() || undefined,
|
||||
enabled,
|
||||
authDir,
|
||||
isLegacyAuthDir: isLegacy,
|
||||
|
||||
Reference in new issue
Block a user