koneksi-ts-sdk
Version:
A JS/TS SDK for interacting with Koneksi API services
17 lines (16 loc) • 379 B
TypeScript
export type Environment = "local" | "staging" | "uat" | "production";
export interface ServerConfig {
apiUrl: string;
webAppUrl: string;
}
export interface SDKConfig {
environment?: Environment;
client_id: string;
client_secret: string;
}
export interface ApiResponse<T = any> {
success: boolean;
data?: T;
error?: string;
message?: string;
}