@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.
69 lines (68 loc) • 2.14 kB
TypeScript
/**
* Enum for different types of business models for a shop.
*
* This enum provides a standardized way to represent the various business
* models a shop might follow. Each model is represented as an object
* containing a unique code, a name, and a description. The name and description
* are keys for translation purposes.
*/
export declare const BusinessModel: {
/**
* Represents the normal business model.
*
* - `code`: A unique string identifier for this business model.
* - `name`: The i18n key for the title of the normal business model.
* - `desc`: The i18n key for the description of the normal business model.
*/
NORMAL: {
code: string;
name: string;
desc: string;
icon: string;
};
DROPSHIPPING: {
code: string;
name: string;
desc: string;
icon: string;
};
/**
* Represents the wholesaler business model.
*
* - `code`: A unique string identifier for this business model.
* - `name`: The i18n key for the title of the wholesaler business model.
* - `desc`: The i18n key for the description of the wholesaler business model.
*/
WHOLESALER: {
code: string;
name: string;
desc: string;
icon: string;
};
/**
* Represents the marketplace business model.
*
* - `code`: A unique string identifier for this business model.
* - `name`: The i18n key for the title of the marketplace business model.
* - `desc`: The i18n key for the description of the marketplace business model.
*/
MARKETPLACE: {
code: string;
name: string;
desc: string;
icon: string;
};
/**
* Represents the franchise business model.
*
* - `code`: A unique string identifier for this business model.
* - `name`: The i18n key for the title of the franchise business model.
* - `desc`: The i18n key for the description of the franchise business model.
*/
FRANCHISE: {
code: string;
name: string;
desc: string;
icon: string;
};
};