watchtower-node-sdk
Version:
A TypeScript Node.js SDK for the Watchtower API, providing API key management, connection string generation, and more
16 lines (15 loc) • 646 B
TypeScript
import { BaseEndpoint } from '../base';
import { ListItemsRequest, ListItemsResponse } from './types';
export declare class ItemsEndpoint extends BaseEndpoint {
constructor(client: any);
private validateRequiredKeys;
/**
* List all items for an app/tenant
* @param data - The list items request parameters
* @returns Promise with the list items response
* @throws {InvalidRequestError} If required fields are missing
* @throws {AuthenticationError} If API keys are invalid
* @throws {ServerError} If server encounters an error
*/
listItems(data: ListItemsRequest): Promise<ListItemsResponse>;
}