UNPKG

@rsc-labs/medusa-store-analytics

Version:
47 lines (46 loc) 1.46 kB
"use strict"; /* * Copyright 2024 RSC-Labs, https://rsoftcon.com/ * * MIT License * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.DateLasts = exports.OrderStatus = void 0; var OrderStatus; (function (OrderStatus) { /** * The order is pending. */ OrderStatus["PENDING"] = "pending"; /** * The order is completed, meaning that * the items have been fulfilled and the payment * has been captured. */ OrderStatus["COMPLETED"] = "completed"; /** * The order is archived. */ OrderStatus["ARCHIVED"] = "archived"; /** * The order is canceled. */ OrderStatus["CANCELED"] = "canceled"; /** * The order requires action. */ OrderStatus["REQUIRES_ACTION"] = "requires_action"; })(OrderStatus = exports.OrderStatus || (exports.OrderStatus = {})); var DateLasts; (function (DateLasts) { DateLasts["All"] = "All time"; DateLasts["LastMonth"] = "Last 30 days"; DateLasts["LastWeek"] = "Last 7 days"; DateLasts["LastYear"] = "Last 365 days"; })(DateLasts = exports.DateLasts || (exports.DateLasts = {}));