UNPKG

@afriex/core

Version:

HTTP client, configuration and typed errors for the Afriex Business API SDK

17 lines • 590 B
export declare const Environment: { readonly STAGING: "staging"; readonly PRODUCTION: "production"; }; export type Environment = (typeof Environment)[keyof typeof Environment]; export declare const BASE_URLS: { readonly staging: "https://sandbox.api.afriex.com/api/v1"; readonly production: "https://api.afriex.com/api/v1"; }; export interface EnvironmentConfig { baseUrl: string; timeout: number; maxRetries: number; retryDelay: number; } export declare const DEFAULT_CONFIG: Record<Environment, EnvironmentConfig>; //# sourceMappingURL=Environment.d.ts.map