/** * Copyright © 2018 Emu Analytics */ import { Client } from './client'; import { IBaseResource, IQuery } from './api-interfaces'; export declare class BaseEndpoints { protected readonly client: Client; private readonly resourcePath; constructor(client: Client, resourcePath: string); protected get resourceEndpoint(): string; list(params?: IQuery): Promise; get(id: string, params?: Record): Promise; create(data: Partial, params?: Record): Promise; update(id: string, data: Partial, params?: Record): Promise; delete(id: string, params?: Record): Promise; getMetadata(id: string, key?: string, params?: Record): Promise; setMetadata(id: string, key: string, value: any, params?: Record): Promise; deleteMetadata(id: string, key: string, params?: Record): Promise; } //# sourceMappingURL=base.endpoints.d.ts.map