UNPKG

aggregator-sdk-test

Version:

SDK to connect with TechnoFex Aggregator Platform

20 lines (19 loc) 600 B
import { SdkConfig, ClientSdkLicense } from './types'; export declare class AggregatorSdk { private static readonly API_BASE_URL; private readonly http; private validated; private licenseInfo?; constructor(config: SdkConfig); /** * Validate the client credentials */ validate(): Promise<boolean>; isValidated(): boolean; getLicense(): ClientSdkLicense | undefined; /** * Factory helper with automatic validation */ static createAndValidate(config: SdkConfig): Promise<AggregatorSdk | null>; getMarketplaceItems(): Promise<any[]>; }