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
30 lines • 1.23 kB
TypeScript
import type { NewoEnvironment, CustomerConfig, MultiCustomerConfig } from './types.js';
/**
* Async version of customer configuration parsing that supports API key array initialization
*/
export declare function parseCustomerConfigAsync(env: NewoEnvironment, verbose?: boolean): Promise<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;
/**
* Attempt to get default customer, return null if multiple customers exist without default
*/
export declare function tryGetDefaultCustomer(config: MultiCustomerConfig): CustomerConfig | null;
/**
* Get all customers as an array
*/
export declare function getAllCustomers(config: MultiCustomerConfig): CustomerConfig[];
/**
* Validate customer configuration
*/
export declare function validateCustomerConfig(config: MultiCustomerConfig): void;
//# sourceMappingURL=customerAsync.d.ts.map