UNPKG

@hasna/domains

Version:

Domain portfolio, registrar, marketplace, and DNS management for AI agents — CLI + MCP + HTTP API + SDK, shared account API and PostgreSQL

49 lines • 2.54 kB
export type Env = Record<string, string | undefined>; export interface EnvMatch { key: string; value: string; } export declare function firstEnv(env: Env, names: readonly string[]): EnvMatch | undefined; export declare function hasEveryEnv(env: Env, groups: readonly (readonly string[])[]): boolean; export declare function flattenEnvNames(groups: readonly (readonly string[])[]): string[]; export declare const NAMECHEAP_ENV: { readonly apiKey: readonly ["NAMECHEAP_API_KEY"]; readonly username: readonly ["NAMECHEAP_USERNAME"]; readonly clientIp: readonly ["NAMECHEAP_CLIENT_IP"]; }; export declare const GODADDY_ENV: { readonly apiKey: readonly ["GODADDY_API_KEY"]; readonly apiSecret: readonly ["GODADDY_API_SECRET"]; }; export declare const BRANDSIGHT_ENV: { readonly apiKey: readonly ["BRANDSIGHT_API_KEY"]; readonly apiSecret: readonly ["BRANDSIGHT_API_SECRET"]; readonly customerId: readonly ["BRANDSIGHT_CUSTOMER_ID"]; readonly shopperId: readonly ["BRANDSIGHT_SHOPPER_ID"]; readonly accountId: readonly ["BRANDSIGHT_ACCOUNT_ID"]; }; export declare const SEDO_ENV: { readonly partnerId: readonly ["SEDO_PARTNER_ID"]; readonly signKey: readonly ["SEDO_API_KEY", "SEDO_SIGN_KEY"]; readonly username: readonly ["SEDO_USERNAME", "SEDO_EMAIL"]; readonly password: readonly ["SEDO_PASSWORD"]; }; export declare const CLOUDFLARE_ENV: { readonly apiToken: readonly ["CLOUDFLARE_API_TOKEN"]; readonly apiKey: readonly ["CLOUDFLARE_API_KEY"]; readonly email: readonly ["CLOUDFLARE_EMAIL"]; readonly accountId: readonly ["CLOUDFLARE_ACCOUNT_ID"]; }; export declare const ROUTE53_ENV: { readonly accessKeyId: readonly ["ROUTE53_ACCESS_KEY_ID", "AWS_ACCESS_KEY_ID"]; readonly secretAccessKey: readonly ["ROUTE53_SECRET_ACCESS_KEY", "AWS_SECRET_ACCESS_KEY"]; readonly sessionToken: readonly ["ROUTE53_SESSION_TOKEN", "AWS_SESSION_TOKEN"]; readonly profile: readonly ["ROUTE53_AWS_PROFILE", "AWS_PROFILE"]; readonly region: readonly ["ROUTE53_REGION", "ROUTE53_AWS_REGION", "AWS_REGION"]; readonly webIdentityTokenFile: readonly ["AWS_WEB_IDENTITY_TOKEN_FILE"]; readonly roleArn: readonly ["AWS_ROLE_ARN"]; readonly containerCredentials: readonly ["AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", "AWS_CONTAINER_CREDENTIALS_FULL_URI"]; }; export declare function providerEnvNames(provider: string): string[]; export declare function hasProviderCredentials(provider: string, env?: Env): boolean; //# sourceMappingURL=env-aliases.d.ts.map