@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.
81 lines (80 loc) • 1.89 kB
TypeScript
export declare const InventoryCsvHeaders: string[];
export declare const InventoryCsvStyler: {
Title: {
type: string;
required_product: boolean;
};
Type: {
type: string;
list: (import("../../enums/product/ProductType").IProductType | {
code: string;
image: string;
})[];
};
Price: {
type: string;
required_product: boolean;
};
Currency: {
type: string;
list: import("../../enums/payment/Currency").ICurrency[];
required_product: boolean;
};
Commission: {
type: string;
};
Discount: {
type: string;
};
"Discount Start Date": {
type: string;
};
"Discount End Date": {
type: string;
};
Quantity: {
type: string;
};
V_Color: {
type: string;
onlyVariant: boolean;
};
V_Style: {
type: string;
onlyVariant: boolean;
};
V_Volume: {
type: string;
onlyVariant: boolean;
};
V_Weight: {
type: string;
onlyVariant: boolean;
};
V_Pack: {
type: string;
onlyVariant: boolean;
};
V_Type: {
type: string;
onlyVariant: boolean;
};
"Create Date": {
type: string;
};
};
type InventoryImportTypeStructure = {
code: string;
description: string;
title: string;
permanent_headers: string[];
optional_header: string[];
sample?: string;
};
export declare const InventoryImportType: Record<string, InventoryImportTypeStructure>;
export declare class InventoryCsvFormat {
static GetInventoryImportType(headers: string[]): InventoryImportTypeStructure;
static LastError: string | null;
static CheckValidFile(headers: string[], inventory_import_type: InventoryImportTypeStructure): boolean;
}
export {};