UNPKG

@spree/storefront-api-v2-sdk

Version:

Node module to easily integrate your JavaScript or TypeScript application with Spree API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on

16 lines (15 loc) 605 B
import Http from '../Http'; import type { IQuery } from '../interfaces/Query'; import type { ITaxonResult, ITaxonsResult, ListOptions, ShowOptions } from '../interfaces/Taxon'; export default class Taxons extends Http { list(options?: ListOptions): Promise<ITaxonsResult>; /** * @deprecated Use the combined options signature instead. */ list(params?: IQuery): Promise<ITaxonsResult>; show(options: ShowOptions): Promise<ITaxonResult>; /** * @deprecated Use the combined options signature instead. */ show(id: string, params?: IQuery): Promise<ITaxonResult>; }