newo
Version:
NEWO CLI: Professional command-line tool with modular architecture for NEWO AI Agent development. Features account migration, integration management, webhook automation, AKB knowledge base, project attributes, sandbox testing, IDN-based file management, r
23 lines • 912 B
TypeScript
import type { NewoEnvironment, CustomerConfig, MultiCustomerConfig } from './types.js';
/**
* Parse environment variables to extract customer configurations
* Supports both array-based (NEWO_API_KEYS) and individual customer configs
*/
export declare function parseCustomerConfig(env: NewoEnvironment): MultiCustomerConfig;
/**
* List all available customer IDNs
*/
export declare function listCustomers(config: MultiCustomerConfig): string[];
/**
* Get customer configuration by IDN
*/
export declare function getCustomer(config: MultiCustomerConfig, customerIdn: string): CustomerConfig | null;
/**
* Get default customer or throw error if none
*/
export declare function getDefaultCustomer(config: MultiCustomerConfig): CustomerConfig;
/**
* Validate customer configuration
*/
export declare function validateCustomerConfig(config: MultiCustomerConfig): void;
//# sourceMappingURL=customer.d.ts.map