@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.
13 lines (12 loc) • 482 B
TypeScript
import { Currency } from "@selldone/core-js/enums/payment/Currency";
import { XapiOffer } from "../XapiOffer";
import { Offer } from "@selldone/core-js/models/shop/incentives/offer/offer.model";
export default function fetchOffers(this: XapiOffer, currency: keyof typeof Currency): Promise<xapi.offer.get.IResponse>;
export declare namespace xapi.offer.get {
interface IResponse {
offers: Partial<Offer>[];
}
interface IOptions {
limit?: number;
}
}