@fabrix/spool-cart
Version:
Spool - eCommerce Spool for Fabrix
46 lines (45 loc) • 1.16 kB
TypeScript
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common';
import { SequelizeResolver } from '@fabrix/spool-sequelize';
export declare class SubscriptionUploadResolver extends SequelizeResolver {
batch(options: any, batch: any): any;
}
export declare class SubscriptionUpload extends Model {
static readonly resolver: typeof SubscriptionUploadResolver;
static config(app: any, Sequelize: any): {
options: {
underscored: boolean;
};
};
static schema(app: any, Sequelize: any): {
upload_id: {
type: any;
};
token: {
type: any;
};
customer: {
type: any;
};
interval: {
type: any;
defaultValue: number;
};
unit: {
type: any;
values: any[];
defaultValue: string;
};
active: {
type: any;
defaultValue: boolean;
};
products: {
type: any;
defaultValue: any[];
};
live_mode: {
type: any;
defaultValue: any;
};
};
}