UNPKG

kotanipay-sdk

Version:

Official Kotani Pay SDK for Node.js and Browser

38 lines 852 B
export interface LoginResponse { success: boolean; message: string; data: { user_id: string; session_id: string; token_id: string; token: string; refresh_token: string; }; } export interface ApiKeyValidationResponse { valid: boolean; key_id: string; permissions: string[]; expires_at?: string; } export interface GenerateApiKeyRequest { name?: string; permissions?: string[]; expires_in?: number; } export interface ApiKeyResponse { id: string; key: string; name?: string; permissions: string[]; created_at: string; expires_at?: string; } export interface AuthenticatedSession { token: string; refresh_token: string; user_id: string; session_id: string; token_id: string; } //# sourceMappingURL=authentication.types.d.ts.map