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.

10 lines (9 loc) 493 B
import type { XapiAvocado } from "../XapiAvocado"; import type { AvocadoItem } from "@selldone/core-js/models/shop/order/avocado/avocado.item"; export default function addItem(this: XapiAvocado, hash: string, title: string, message: string | null, link: string | null, photo: Blob | null, count: number): Promise<xapi.avocado.add_item.post.IResponse>; export declare namespace xapi.avocado.add_item.post { interface IResponse { success: boolean; item: AvocadoItem; } }