UNPKG

btcpay-greenfield-node-client

Version:
53 lines (52 loc) 1.69 kB
import type { StoreBaseData } from '../models/StoreBaseData'; import type { StoreData } from '../models/StoreData'; import type { StoreDataList } from '../models/StoreDataList'; export declare class StoresService { /** * Get stores * View information about the available stores * @returns StoreDataList list of stores * @throws ApiError */ static storesGetStores(): Promise<StoreDataList>; /** * Create a new store * Create a new store * @returns StoreData Information about the new store * @throws ApiError */ static postStoresService({ requestBody, }: { requestBody: StoreBaseData; }): Promise<StoreData>; /** * Get store * View information about the specified store * @returns StoreData specified store * @throws ApiError */ static storesGetStore({ storeId, }: { /** The store to fetch **/ storeId: string; }): Promise<StoreData>; /** * Update store * Update the specified store * @returns StoreData updated specified store * @throws ApiError */ static storesUpdateStore({ storeId, requestBody, }: { /** The store to update **/ storeId: string; requestBody: StoreData; }): Promise<StoreData>; /** * Remove Store * Removes the specified store. If there is another user with access, only your access will be removed. * @returns any The store has been removed * @throws ApiError */ static deleteStoresService({ storeId, }: { /** The store to remove **/ storeId: string; }): Promise<any>; }