UNPKG

@selldone/sdk-storefront

Version:

A TypeScript SDK to connect to your shop and build a fully functional storefront and website by simply developing a frontend web application. All backend operations are seamlessly managed by the serverless Selldone solution.

23 lines (22 loc) 805 B
import { APIAbstract } from "@selldone/core-js/server/APIAbstract"; import XapiProductList from "./list/XapiProductList"; import XapiProductGet from "./get/XapiProductGet"; import { XapiProductRate } from "./rate/XapiProductRate"; import { XapiProductSubscription } from "./subscription/XapiProductSubscription"; export declare class XapiProduct extends APIAbstract { shop_name: string; rate: XapiProductRate; subscription: XapiProductSubscription; /** * window.$storefront.products.list() */ list: typeof XapiProductList; /** @deprecated fetchProducts*/ fetchProducts: typeof XapiProductList; /** * window.$storefront.products.get() */ get: typeof XapiProductGet; constructor(shop_name: string); } export declare namespace XapiProductTypes { }