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/mock.ts
var mock_exports = {};
__export(mock_exports, {
  version1: () => version1,
  version2: () => version2,
  version3: () => version3,
  version4: () => version4,
  version5: () => version5,
  version_fail: () => version_fail,
  version_final: () => version_final,
  version_singnature: () => version_singnature,
  version_success: () => version_success
});
module.exports = __toCommonJS(mock_exports);
var version1 = {
  code: 200,
  message: "Success",
  data: {
    external_unified_response: {
      external_unified_status: "processing",
      external_unified_message: "Waiting for terminal to accept transaction...",
      transaction: {
        id: "fad40629-714b-429c-b50c-21c95874c83f",
        version: 2,
        status: "PENDING",
        message: "Waiting for terminal to accept transaction...",
        merchant_receipt: null,
        customer_receipt: null,
        result_amounts: null,
        result_financial_status: null,
        pos_instructions: {
          auto_actions: null,
          action_form: {
            layout: null,
            properties: null,
            details: {
              "Pairing ID": "pid_b79e5af9-f06f-4c7c-896e-c535f1765208",
              TID: "3002200704",
              "Transaction ID": "fad40629-714b-429c-b50c-21c95874c83f",
              "Transaction Version": "2"
            }
          }
        }
      }
    }
  }
};
var version2 = {
  code: 200,
  message: "Success",
  data: {
    external_unified_response: {
      external_unified_status: "processing",
      external_unified_message: "Transaction accepted by terminal, processing...",
      transaction: {
        id: "fad40629-714b-429c-b50c-21c95874c83f",
        version: 2,
        status: "PENDING",
        message: "Transaction accepted by terminal, processing...",
        merchant_receipt: null,
        customer_receipt: null,
        result_amounts: null,
        result_financial_status: null,
        pos_instructions: {
          auto_actions: null,
          action_form: {
            layout: [
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Cancel",
                    key: "cancel_transaction"
                  }
                ]
              }
            ],
            properties: {
              cancel_transaction: {
                type: "button",
                submit_url: "https://sci-api.geckobank.io/v1/transactions/fad40629-714b-429c-b50c-21c95874c83f/cancel",
                action: null
              }
            },
            details: {
              "Pairing ID": "pid_b79e5af9-f06f-4c7c-896e-c535f1765208",
              TID: "3002200704",
              "Transaction ID": "fad40629-714b-429c-b50c-21c95874c83f",
              "Transaction Version": "2"
            }
          }
        }
      }
    }
  }
};
var version3 = {
  code: 200,
  message: "Success",
  data: {
    external_unified_response: {
      external_unified_status: "processing",
      external_unified_message: "Transaction accepted by terminal, processing...",
      transaction: {
        id: "de2b1c0d-f761-4b90-84c8-7fa1be038dfc",
        version: 3,
        status: "PENDING",
        message: "Waiting for customer to present card",
        merchant_receipt: null,
        customer_receipt: null,
        result_amounts: null,
        result_financial_status: null,
        pos_instructions: {
          auto_actions: null,
          action_form: {
            layout: [
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Cancel",
                    key: "cancel_transaction"
                  }
                ]
              }
            ],
            properties: {
              cancel_transaction: {
                type: "button",
                submit_url: "https://sci-api.geckobank.io/v1/transactions/de2b1c0d-f761-4b90-84c8-7fa1be038dfc/cancel",
                action: null
              }
            },
            details: {
              "Pairing ID": "pid_b79e5af9-f06f-4c7c-896e-c535f1765208",
              TID: "3002200704",
              "Transaction ID": "de2b1c0d-f761-4b90-84c8-7fa1be038dfc",
              "Transaction Version": "3"
            }
          }
        }
      }
    }
  }
};
var version4 = {
  code: 200,
  message: "Success",
  data: {
    external_unified_response: {
      external_unified_status: "processing",
      external_unified_message: "Transaction accepted by terminal, processing...",
      transaction: {
        id: "8797e61c-12db-4c69-89bf-79d014b23a9e",
        version: 4,
        status: "PENDING",
        message: "Waiting for customer to select account",
        merchant_receipt: null,
        customer_receipt: null,
        result_amounts: null,
        result_financial_status: null,
        pos_instructions: {
          auto_actions: null,
          action_form: {
            layout: [
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Cancel",
                    key: "cancel_transaction"
                  }
                ]
              }
            ],
            properties: {
              cancel_transaction: {
                type: "button",
                submit_url: "https://sci-api.geckobank.io/v1/transactions/8797e61c-12db-4c69-89bf-79d014b23a9e/cancel",
                action: null
              }
            },
            details: {
              "Pairing ID": "pid_b79e5af9-f06f-4c7c-896e-c535f1765208",
              TID: "3002200704",
              "Transaction ID": "8797e61c-12db-4c69-89bf-79d014b23a9e",
              "Transaction Version": "4"
            }
          }
        }
      }
    }
  }
};
var version5 = {
  code: 200,
  message: "Success",
  data: {
    external_unified_response: {
      external_unified_status: "processing",
      external_unified_message: "Transaction accepted by terminal, processing...",
      transaction: {
        id: "64e3be3f-b34d-462f-8c9d-87c2d0b06b64",
        version: 5,
        status: "PENDING",
        message: "Waiting for customer to enter PIN",
        merchant_receipt: null,
        customer_receipt: null,
        result_amounts: null,
        result_financial_status: null,
        pos_instructions: {
          auto_actions: null,
          action_form: {
            layout: [
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Cancel",
                    key: "cancel_transaction"
                  }
                ]
              }
            ],
            properties: {
              cancel_transaction: {
                type: "button",
                submit_url: "https://sci-api.geckobank.io/v1/transactions/64e3be3f-b34d-462f-8c9d-87c2d0b06b64/cancel",
                action: null
              }
            },
            details: {
              "Pairing ID": "pid_b79e5af9-f06f-4c7c-896e-c535f1765208",
              TID: "3002200704",
              "Transaction ID": "64e3be3f-b34d-462f-8c9d-87c2d0b06b64",
              "Transaction Version": "5"
            }
          }
        }
      }
    }
  }
};
var version_singnature = {
  code: 200,
  message: "processing",
  data: {
    external_unified_response: {
      external_unified_status: "processing",
      external_unified_message: "Waiting for merchant input from POS",
      action: "signature",
      transaction: {
        id: "1609c248-11ec-4598-b2cc-51871a6d184a",
        version: 6,
        status: "AWAITING_POS",
        message: "Waiting for merchant input from POS",
        merchant_receipt: "\r\n     Gecko Bank\r\n       pisell\r\n12/41 exhibition st\r\n Melbourne VIC 3000\r\n Melbourne VIC 3000\r\n\r\nterminal 3002200704\r\nTID       3002200704\r\nMID         30022007\r\nRRN     001762947530\r\n  12/11/2025 11:38\r\n\r\nSTAN          000028\r\nAUTH          275585\r\nCARD      ......1025\r\nMastercard     CR(S)\r\nAID   A0000000041010\r\nTVR           000000\r\nTC           E8F0000\r\n\r\nPURCHASE      ￥20.00\r\n\r\n    APPROVE WITH\r\n     SIGNATURE\r\n       (000)\r\n\r\n\r\n\r\nSIGN:_______________\r\n\r\n  *MERCHANT COPY*\r\n\r\n",
        customer_receipt: null,
        result_amounts: null,
        result_financial_status: null,
        pos_instructions: {
          auto_actions: null,
          action_form: {
            layout: [
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Action Required",
                    key: "helper_text"
                  }
                ]
              },
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Print Merchant Receipt",
                    key: "print_merchant_receipt"
                  }
                ]
              },
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Approve",
                    key: "approve_signature"
                  },
                  {
                    label: "Decline",
                    key: "decline_signature"
                  }
                ]
              }
            ],
            properties: {
              approve_signature: {
                type: "button",
                submit_url: "https://sci-api.geckobank.io/v1/transactions/1609c248-11ec-4598-b2cc-51871a6d184a?action=APPROVE_SIGNATURE",
                action: null
              },
              decline_signature: {
                type: "button",
                submit_url: "https://sci-api.geckobank.io/v1/transactions/1609c248-11ec-4598-b2cc-51871a6d184a?action=DECLINE_SIGNATURE",
                action: null
              },
              helper_text: {
                type: "text",
                text: "Signature verification required, print receipt and verify signature."
              },
              print_merchant_receipt: {
                type: "button",
                submit_url: null,
                action: "PRINT_MERCHANT_RECEIPT"
              }
            },
            details: {
              "Pairing ID": "pid_b79e5af9-f06f-4c7c-896e-c535f1765208",
              TID: "3002200704",
              "Transaction ID": "1609c248-11ec-4598-b2cc-51871a6d184a",
              "Transaction Version": "6"
            }
          }
        }
      }
    }
  }
};
var version_success = {
  code: 200,
  message: "Success",
  data: {
    external_unified_response: {
      external_unified_status: "success",
      external_unified_message: "✅ (000) APPROVED",
      transaction: {
        id: "de2b1c0d-f761-4b90-84c8-7fa1be038dfc",
        version: 4,
        status: "FINALISED",
        message: "✅ (000) APPROVED",
        merchant_receipt: "\r\n     Gecko Bank\r\n       pisell\r\n12/41 exhibition st\r\n Melbourne VIC 3000\r\n Melbourne VIC 3000\r\n\r\nterminal 3002200704\r\nTID       3002200704\r\nMID         30022007\r\nRRN     001762946121\r\n  12/11/2025 11:15\r\n\r\nSTAN          000021\r\nAUTH          561644\r\nCARD      ......0905\r\nVisa           CR(T)\r\nAID   A0000000031010\r\nTVR           000000\r\nARQC         E8F0000\r\n\r\nPURCHASE       ￥1.00\r\n\r\n      APPROVED\r\n       (000)\r\n\r\n  *MERCHANT COPY*\r\n\r\n",
        customer_receipt: "\r\n     Gecko Bank\r\n       pisell\r\n12/41 exhibition st\r\n Melbourne VIC 3000\r\n Melbourne VIC 3000\r\n\r\nterminal 3002200704\r\nTID       3002200704\r\nMID         30022007\r\nRRN     001762946121\r\n  12/11/2025 11:15\r\n\r\nSTAN          000021\r\nAUTH          561644\r\nCARD      ......0905\r\nVisa           CR(T)\r\nAID   A0000000031010\r\nTVR           000000\r\nARQC         E8F0000\r\n\r\nPURCHASE       ￥1.00\r\n\r\n      APPROVED\r\n       (000)\r\n\r\n  *CUSTOMER COPY*\r\n\r\n",
        result_amounts: {
          purchase_amount: 100,
          tip_amount: 0,
          surcharge_amount: 0,
          cashout_amount: 0,
          refund_amount: 0,
          moto_amount: 0
        },
        result_financial_status: "APPROVED",
        pos_instructions: {
          auto_actions: null,
          action_form: {
            layout: [
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Print Merchant Receipt",
                    key: "print_merchant_receipt"
                  },
                  {
                    label: "Print Customer Receipt",
                    key: "print_customer_receipt"
                  }
                ]
              },
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Done",
                    key: "transaction_complete"
                  }
                ]
              }
            ],
            properties: {
              print_customer_receipt: {
                type: "button",
                submit_url: null,
                action: "PRINT_CUSTOMER_RECEIPT"
              },
              print_merchant_receipt: {
                type: "button",
                submit_url: null,
                action: "PRINT_MERCHANT_RECEIPT"
              },
              transaction_complete: {
                type: "button",
                submit_url: null,
                action: "TRANSACTION_COMPLETE"
              }
            },
            details: {
              "Pairing ID": "pid_b79e5af9-f06f-4c7c-896e-c535f1765208",
              TID: "3002200704",
              "Transaction ID": "de2b1c0d-f761-4b90-84c8-7fa1be038dfc",
              "Transaction Version": "4"
            }
          }
        }
      }
    }
  }
};
var version_fail = {
  code: 200,
  message: "Success",
  data: {
    external_unified_response: {
      external_unified_status: "fail",
      external_unified_message: "Transaction accepted by terminal, processing...",
      transaction: {
        id: "8797e61c-12db-4c69-89bf-79d014b23a9e",
        version: 6,
        status: "FINALISED",
        message: "❌ (511) USER CANCELLED",
        merchant_receipt: null,
        customer_receipt: null,
        result_amounts: {
          purchase_amount: 2e3,
          tip_amount: 0,
          surcharge_amount: 0,
          cashout_amount: 0,
          refund_amount: 0,
          moto_amount: 0
        },
        result_financial_status: "CANCELLED",
        pos_instructions: {
          auto_actions: null,
          action_form: {
            layout: [
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Done",
                    key: "transaction_complete"
                  },
                  {
                    label: "Retry",
                    key: "retry_transaction"
                  }
                ]
              }
            ],
            properties: {
              retry_transaction: {
                type: "button",
                submit_url: null,
                action: "RETRY_TRANSACTION"
              },
              transaction_complete: {
                type: "button",
                submit_url: null,
                action: "TRANSACTION_COMPLETE"
              }
            },
            details: {
              "Pairing ID": "pid_b79e5af9-f06f-4c7c-896e-c535f1765208",
              TID: "3002200704",
              "Transaction ID": "8797e61c-12db-4c69-89bf-79d014b23a9e",
              "Transaction Version": "6"
            }
          }
        }
      }
    }
  }
};
var version_final = {
  code: 200,
  message: "Success",
  data: {
    external_unified_response: {
      message: "Waiting for merchant input from POS",
      response_code: 701002,
      action: "signature",
      external_service_fee: "0.00",
      external_unified_status: "processing",
      transaction: {
        id: "c15e314d-503e-4a52-b51f-6297e8333cdc",
        version: 7,
        status: "AWAITING_POS",
        message: "Waiting for merchant input from POS",
        merchant_receipt: "\r\n     Gecko Bank\r\n       pisell\r\n12/41 exhibition st\r\n Melbourne VIC 3000\r\n Melbourne VIC 3000\r\n\r\nterminal 3002200704\r\nTID       3002200704\r\nMID         30022007\r\nRRN     001768245287\r\n  12/01/2026 19:14\r\n\r\nSTAN          000099\r\nAUTH          191225\r\nCARD      ......0905\r\nVisa           CR(S)\r\nAID   A0000000031010\r\nTVR           000000\r\nTC           E8F0000\r\n\r\nPURCHASE      ￥13.37\r\nSURCHARGE      ￥2.00\r\nTOTAL         ￥15.37\r\n\r\n    APPROVE WITH\r\n     SIGNATURE\r\n       (000)\r\n\r\n\r\n\r\nSIGN:_______________\r\n\r\n  *MERCHANT COPY*\r\n\r\n",
        customer_receipt: null,
        result_amounts: null,
        result_financial_status: null,
        pos_instructions: {
          auto_actions: ["PRINT_MERCHANT_RECEIPT"],
          action_form: {
            layout: [
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Action Required",
                    key: "helper_text"
                  }
                ]
              },
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Approve",
                    key: "approve_signature"
                  },
                  {
                    label: "Decline",
                    key: "decline_signature"
                  }
                ]
              },
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Text Label 1",
                    key: "text_1"
                  },
                  {
                    label: "Text Label 2",
                    key: "text_2"
                  }
                ]
              },
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: null,
                    key: "text_without_label"
                  }
                ]
              },
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Input 1 (input_name_1_1768216480)",
                    key: "input_1"
                  }
                ]
              },
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Input 2 (input_name_2_1768216480)",
                    key: "input_2"
                  }
                ]
              },
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Submit to API",
                    key: "submit_to_api"
                  },
                  {
                    label: "Call Test Function",
                    key: "call_test_function"
                  }
                ]
              },
              {
                type: "horizontal_layout",
                elements: [
                  {
                    label: "Image 1",
                    key: "image_1"
                  }
                ]
              }
            ],
            properties: {
              approve_signature: {
                type: "button",
                submit_url: "https://sci-api.geckobank.io/v1/transactions/c15e314d-503e-4a52-b51f-6297e8333cdc?action=APPROVE_SIGNATURE",
                action: null
              },
              call_test_function: {
                type: "button",
                submit_url: null,
                action: "TEST_ACTION"
              },
              decline_signature: {
                type: "button",
                submit_url: "https://sci-api.geckobank.io/v1/transactions/c15e314d-503e-4a52-b51f-6297e8333cdc?action=DECLINE_SIGNATURE",
                action: null
              },
              helper_text: {
                type: "text",
                text: "Signature verification required, print receipt and verify signature."
              },
              image_1: {
                type: "image",
                mime: "image/jpeg",
                encoding: "base64",
                data: " "
              },
              input_1: {
                type: "input",
                name: "input_name_1_1768216480"
              },
              input_2: {
                type: "input",
                name: "input_name_2_1768216480"
              },
              submit_to_api: {
                type: "button",
                submit_url: "https://sci-api.geckobank.io/v1/transactions/c15e314d-503e-4a52-b51f-6297e8333cdc?action=TEST_ACTION",
                action: null
              },
              text_1: {
                type: "text",
                text: "Text 1"
              },
              text_2: {
                type: "text",
                text: "Text 2"
              },
              text_without_label: {
                type: "text",
                text: "Text without a label"
              }
            },
            details: {
              "Label 1": "Value 1",
              "Label 2": "Value 2",
              "Label 3": "Value 3",
              "Pairing ID": "pid_f45adab2-e5e7-4593-a1fc-dc11b36759a3",
              TID: "3002200704",
              "Transaction ID": "c15e314d-503e-4a52-b51f-6297e8333cdc",
              "Transaction Version": "7"
            }
          }
        }
      }
    },
    request_version: "d99480d5-2521-4ddc-ac20-0999b563"
  }
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  version1,
  version2,
  version3,
  version4,
  version5,
  version_fail,
  version_final,
  version_singnature,
  version_success
});
