@fabrix/spool-cart
Version:
Spool - eCommerce Spool for Fabrix
120 lines (119 loc) • 2.65 kB
TypeScript
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common';
import { SequelizeResolver } from '@fabrix/spool-sequelize';
export declare class CustomerUploadResolver extends SequelizeResolver {
batch(options: any, batch: any): any;
}
export declare class CustomerUpload extends Model {
static readonly resolver: typeof CustomerUploadResolver;
static config(app: any, Sequelize: any): {
options: {
underscored: boolean;
};
};
static schema(app: any, Sequelize: any): {
upload_id: {
type: any;
};
account_balance: {
type: any;
};
email: {
type: any;
};
first_name: {
type: any;
};
last_name: {
type: any;
};
company: {
type: any;
};
phone: {
type: any;
};
shipping_address_1: {
type: any;
};
shipping_address_2: {
type: any;
};
shipping_address_3: {
type: any;
};
shipping_company: {
type: any;
};
shipping_city: {
type: any;
};
shipping_province: {
type: any;
};
shipping_country: {
type: any;
};
shipping_postal_code: {
type: any;
};
billing_address_1: {
type: any;
};
billing_address_2: {
type: any;
};
billing_address_3: {
type: any;
};
billing_company: {
type: any;
};
billing_city: {
type: any;
};
billing_province: {
type: any;
};
billing_country: {
type: any;
};
billing_postal_code: {
type: any;
};
state: {
type: any;
values: string[];
defaultValue: string;
};
type: {
type: any;
defaultValue: string;
};
collections: {
type: any;
defaultValue: any[];
};
tags: {
type: any;
defaultValue: any[];
};
accounts: {
type: any;
defaultValue: any[];
};
users: {
type: any;
defaultValue: any[];
};
discounts: {
type: any;
defaultValue: any[];
};
image: {
type: any;
};
image_alt: {
type: any;
};
};
}