@visionfi/server-sdk
Version:
Server-side SDK for VisionFI API access using Google Service Account authentication
27 lines (26 loc) • 740 B
TypeScript
/**
* Admin Client - handles administrative operations in Server SDK
* Copyright (c) 2024-2025 VisionFI. All Rights Reserved.
*/
import { AxiosInstance } from 'axios';
import { ProductTypesResponse, ClientInfoResponse } from '@visionfi/core';
export declare class AdminClient {
private apiClient;
constructor(apiClient: AxiosInstance);
/**
* Get available product types
*/
getProductTypes(): Promise<ProductTypesResponse>;
/**
* Get available workflows (legacy - kept for compatibility)
*/
getWorkflows(): Promise<any>;
/**
* Get client information
*/
getClientInfo(): Promise<ClientInfoResponse>;
/**
* Handle errors consistently
*/
private handleError;
}