UNPKG

@fabrix/spool-cart

Version:

Spool - eCommerce Spool for Fabrix

75 lines (74 loc) 2.22 kB
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common'; import { SequelizeResolver } from '@fabrix/spool-sequelize'; export declare class FulfillmentEventResolver extends SequelizeResolver { resolveByInstance(fulfillmentEvent: any, options?: { [key: string]: any; }): Promise<any>; resolveById(fulfillmentEvent: any, options?: { [key: string]: any; }): any; resolveByNumber(fulfillmentEvent: any, options?: { [key: string]: any; }): any; resolveByString(fulfillmentEvent: any, options?: { [key: string]: any; }): any; resolve(fulfillmentEvent: any, options?: { [key: string]: any; }): any; } export declare class FulfillmentEvent extends Model { static readonly resolver: typeof FulfillmentEventResolver; static config(app: any, Sequelize: any): { options: { underscored: boolean; hooks: { beforeCreate: ((fulfillmentEvent: any, options: any) => any)[]; beforeUpdate: ((fulfillmentEvent: any, options: any) => any)[]; afterCreate: ((fulfillmentEvent: any, options: any) => any)[]; afterUpdate: ((fulfillmentEvent: any, options: any) => any)[]; }; enums: { FULFILLMENT_EVENT_STATUS: { CONFIRMED: string; IN_TRANSIT: string; OUT_FOR_DELIVERY: string; DELIVERED: string; FAILURE: string; }; }; }; }; static schema(app: any, Sequelize: any): { fulfillment_id: { type: any; notNull: boolean; }; status: { type: any; values: string[]; }; message: { type: any; }; address_1: { type: any; }; province: { type: any; }; country: { type: any; }; postal_code: { type: any; }; latitude: { type: any; }; longitude: { type: any; }; }; static associate(models: any): void; }