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/solution/Checkout/types.ts
var types_exports = {};
__export(types_exports, {
  CheckoutErrorType: () => CheckoutErrorType,
  CheckoutHooks: () => CheckoutHooks
});
module.exports = __toCommonJS(types_exports);
var CheckoutErrorType = /* @__PURE__ */ ((CheckoutErrorType2) => {
  CheckoutErrorType2["OrderCreationFailed"] = "order_creation_failed";
  CheckoutErrorType2["PaymentFailed"] = "payment_failed";
  CheckoutErrorType2["ValidationFailed"] = "validation_failed";
  CheckoutErrorType2["NetworkError"] = "network_error";
  CheckoutErrorType2["UnknownError"] = "unknown_error";
  return CheckoutErrorType2;
})(CheckoutErrorType || {});
var CheckoutHooks = /* @__PURE__ */ ((CheckoutHooks2) => {
  CheckoutHooks2["OnCheckoutInitialized"] = "checkout:onInitialized";
  CheckoutHooks2["OnOrderCreated"] = "checkout:onOrderCreated";
  CheckoutHooks2["OnOrderCreationFailed"] = "checkout:onOrderCreationFailed";
  CheckoutHooks2["OnPaymentStarted"] = "checkout:onPaymentStarted";
  CheckoutHooks2["OnPaymentSuccess"] = "checkout:onPaymentSuccess";
  CheckoutHooks2["OnPaymentFailed"] = "checkout:onPaymentFailed";
  CheckoutHooks2["OnCheckoutCompleted"] = "checkout:onCompleted";
  CheckoutHooks2["OnCheckoutCancelled"] = "checkout:onCancelled";
  CheckoutHooks2["OnError"] = "checkout:onError";
  CheckoutHooks2["OnStateAmountChanged"] = "checkout:onStateAmountChanged";
  CheckoutHooks2["OnBalanceDueAmountChanged"] = "checkout:onBalanceDueAmountChanged";
  CheckoutHooks2["OnOrderPaymentCompleted"] = "checkout:onOrderPaymentCompleted";
  CheckoutHooks2["OnOrderSynced"] = "checkout:onOrderSynced";
  CheckoutHooks2["OnOrderSyncFailed"] = "checkout:onOrderSyncFailed";
  CheckoutHooks2["OnOrderNoteChanged"] = "checkout:onOrderNoteChanged";
  CheckoutHooks2["OnShopDiscountChanged"] = "checkout:onShopDiscountChanged";
  CheckoutHooks2["OnOrderCancelled"] = "checkout:onOrderCancelled";
  CheckoutHooks2["OnOrderCleared"] = "checkout:onOrderCleared";
  CheckoutHooks2["OnOrderSubmitStart"] = "checkout:onOrderSubmitStart";
  CheckoutHooks2["OnOrderSubmitEnd"] = "checkout:onOrderSubmitEnd";
  CheckoutHooks2["OnWalletDataInitialized"] = "checkout:onWalletDataInitialized";
  CheckoutHooks2["OnPaymentItemAdded"] = "checkout:onPaymentItemAdded";
  return CheckoutHooks2;
})(CheckoutHooks || {});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  CheckoutErrorType,
  CheckoutHooks
});
