var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/components/eftposPay/aggregatePayment/types.ts
var types_exports = {};
__export(types_exports, {
  ActionType: () => ActionType,
  EActionStatus: () => EActionStatus,
  EPaymentStatus: () => EPaymentStatus,
  EVisibleButtonType: () => EVisibleButtonType,
  GLOBAL_TIMEOUT: () => GLOBAL_TIMEOUT,
  QUERY_INTERVAL: () => QUERY_INTERVAL,
  QUERY_START_DELAY: () => QUERY_START_DELAY,
  REQUEST_TIMEOUT: () => REQUEST_TIMEOUT
});
module.exports = __toCommonJS(types_exports);
var EVisibleButtonType = /* @__PURE__ */ ((EVisibleButtonType2) => {
  EVisibleButtonType2["CancelButton"] = "CancelButton";
  EVisibleButtonType2["WaitButton"] = "WaitButton";
  return EVisibleButtonType2;
})(EVisibleButtonType || {});
var EActionStatus = /* @__PURE__ */ ((EActionStatus2) => {
  EActionStatus2["Empty"] = "Empty";
  EActionStatus2["Cancel"] = "Cancel";
  EActionStatus2["CancelWaiting"] = "CancelWaiting";
  EActionStatus2["Signature"] = "Signature";
  EActionStatus2["SignatureWaiting"] = "SignatureWaiting";
  return EActionStatus2;
})(EActionStatus || {});
var QUERY_START_DELAY = 1e3 * 10;
var GLOBAL_TIMEOUT = 1e3 * 60 * 2;
var REQUEST_TIMEOUT = 1e3 * 10;
var QUERY_INTERVAL = 1e3 * 2;
var ActionType = /* @__PURE__ */ ((ActionType2) => {
  ActionType2["Pay"] = "pay";
  ActionType2["PayQuery"] = "payQuery";
  ActionType2["PayAction"] = "payAction";
  ActionType2["Refund"] = "refund";
  ActionType2["RefundQuery"] = "refundQuery";
  ActionType2["RefundAction"] = "refundAction";
  return ActionType2;
})(ActionType || {});
var EPaymentStatus = /* @__PURE__ */ ((EPaymentStatus2) => {
  EPaymentStatus2["Processing"] = "processing";
  EPaymentStatus2["Success"] = "success";
  EPaymentStatus2["Failed"] = "failed";
  return EPaymentStatus2;
})(EPaymentStatus || {});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  ActionType,
  EActionStatus,
  EPaymentStatus,
  EVisibleButtonType,
  GLOBAL_TIMEOUT,
  QUERY_INTERVAL,
  QUERY_START_DELAY,
  REQUEST_TIMEOUT
});
