UNPKG

trello-for-wolves

Version:
42 lines (41 loc) 1.45 kB
import { PluginCapability, PluginFilter, PluginListingRecord, PluginRecord, TypedFetch, ValueResponse, VendorPluginRecord } from "../typeDefs"; import { BaseResource } from "./BaseResource"; export declare class PluginListing extends BaseResource { addListing(params: PluginListingRecord): TypedFetch<PluginListingRecord>; updateListing(params: { name?: string; locale?: string; description?: string; overview?: string; }): TypedFetch<PluginListingRecord>; } /** * Plugins are how Power-Ups are managed via the API. * @see https://developers.trello.com/reference#plugins * @class */ export declare class Plugin extends BaseResource { getPlugin(): TypedFetch<PluginRecord>; getPlugins(params?: { filter?: PluginFilter; }): TypedFetch<PluginRecord[] | VendorPluginRecord[]>; getMemberPrivacy(): TypedFetch<ValueResponse<string>>; updatePlugin(params?: { capabilities?: PluginCapability[]; iframeConnectorUrl?: string; name?: string; public?: boolean; icon: { url: string; }; listings?: PluginListingRecord[]; compliance?: { lastPolled?: { memberPrivacy?: string; }; dateUpdatedStoresPersonalData?: string; storesPersonalData?: boolean; }; }): TypedFetch<PluginRecord>; listings(idListing?: string): PluginListing; }