UNPKG

@fabrix/spool-cart

Version:

Spool - eCommerce Spool for Fabrix

194 lines (193 loc) 4.46 kB
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common'; import { SequelizeResolver } from '@fabrix/spool-sequelize'; export declare class ProductUploadResolver extends SequelizeResolver { batch(options: any, batch: any): any; } export declare class ProductUpload extends Model { static readonly resolver: typeof ProductUploadResolver; static config(app: any, Sequelize: any): { migrate: string; store: string; options: { underscored: boolean; enums: { INTERVALS: { NONE: any; DAY: string; WEEK: string; BIWEEK: string; MONTH: string; BIMONTH: string; YEAR: string; BIYEAR: string; }; INVENTORY_POLICY: { DENY: string; RESTRICT: string; CONTINUE: string; }; }; }; }; static schema(app: any, Sequelize: any): { upload_id: { type: any; allowNull: boolean; }; handle: { type: any; allowNull: boolean; set: (val: any) => void; }; title: { type: any; set: (val: any) => void; }; body: { type: any; }; seo_title: { type: any; }; seo_description: { type: any; }; vendors: { type: any; defaultValue: any[]; }; type: { type: any; allowNull: boolean; }; tags: { type: any; defaultValue: any[]; }; collections: { type: any; defaultValue: any[]; }; associations: { type: any; defaultValue: any[]; }; published: { type: any; }; available: { type: any; }; option: { type: any; defaultValue: {}; }; property_pricing: { type: any; defaultValue: any[]; }; images: { type: any; defaultValue: any[]; }; sku: { type: any; }; weight: { type: any; }; weight_unit: { type: any; }; inventory_tracker: { type: any; }; inventory_quantity: { type: any; }; inventory_lead_time: { type: any; defaultValue: number; }; inventory_policy: { type: any; values: string[]; }; max_quantity: { type: any; }; fulfillment_service: { type: any; }; price: { type: any; }; compare_at_price: { type: any; }; variant_currency: { type: any; }; requires_shipping: { type: any; }; requires_taxes: { type: any; }; tax_code: { type: any; }; barcode: { type: any; }; variant_images: { type: any; defaultValue: any[]; }; gift_card: { type: any; }; metadata: { type: any; }; requires_subscription: { type: any; defaultValue: boolean; }; subscription_unit: { type: any; values: any[]; }; subscription_interval: { type: any; }; shops: { type: any; defaultValue: any[]; }; shops_quantity: { type: any; defaultValue: any[]; }; average_shipping: { type: any; defaultValue: number; }; exclude_payment_types: { type: any; defaultValue: any[]; }; google: { type: any; defaultValue: {}; }; amazon: { type: any; defaultValue: {}; }; live_mode: { type: any; defaultValue: any; }; }; }