@rsc-labs/medusa-store-analytics
Version:
Get analytics data about your store
35 lines (34 loc) • 718 B
TypeScript
export declare enum OrderStatus {
/**
* The order is pending.
*/
PENDING = "pending",
/**
* The order is completed, meaning that
* the items have been fulfilled and the payment
* has been captured.
*/
COMPLETED = "completed",
/**
* The order is archived.
*/
ARCHIVED = "archived",
/**
* The order is canceled.
*/
CANCELED = "canceled",
/**
* The order requires action.
*/
REQUIRES_ACTION = "requires_action"
}
export declare enum DateLasts {
All = "All time",
LastMonth = "Last 30 days",
LastWeek = "Last 7 days",
LastYear = "Last 365 days"
}
export type DateRange = {
from: Date;
to: Date;
};