@fabrix/spool-cart
Version:
Spool - eCommerce Spool for Fabrix
37 lines (36 loc) • 945 B
TypeScript
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common';
import { SequelizeResolver } from '@fabrix/spool-sequelize';
export declare class AccountEvent extends Model {
static readonly resolver: typeof SequelizeResolver;
static config(app: any, Sequelize: any): {
options: {
underscored: boolean;
enums: {
ACCOUNT_EVENT_TYPE: {
CREDIT: string;
DEBIT: string;
};
};
};
};
static schema(app: any, Sequelize: any): {
account_id: {
type: any;
};
customer_id: {
type: any;
};
order_id: {
type: any;
};
type: {
type: any;
values: string[];
};
price: {
type: any;
defaultValue: number;
};
};
static associate(models: any): void;
}