@keypo/typescript-sdk
Version:
A TypeScript SDK for using Keypo
18 lines (17 loc) • 453 B
TypeScript
export declare function list(address: string, debug?: boolean, apiUrl?: string, filter?: {
filterBy?: {
field: string;
value: string | number | boolean;
operator?: 'equals' | 'contains' | 'startsWith' | 'endsWith';
};
sortBy?: {
field: string;
direction?: 'asc' | 'desc';
};
pagination?: {
pageSize?: number;
maxPages?: number;
};
}): Promise<{
[key: string]: any;
}>;