@feedmepos/mf-payment 1.8.2-dev → 1.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-DTEtNSn0.js → Actions.vue_vue_type_script_setup_true_lang-BSGz-vYS.js} +1 -1
  2. package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-Cd6D7JxK.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-QhHy3t8E.js} +3 -3
  3. package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-DzZePzBx.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-fTGrC0GL.js} +2 -2
  4. package/dist/{Chargeback--k3Sc269.js → Chargeback-_yYgraXd.js} +5 -5
  5. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-qt0R7G3l.js → DocumentViewer.vue_vue_type_script_setup_true_lang-C71wuVoe.js} +1 -1
  6. package/dist/{OnboardForm-BQf8mMqv.js → OnboardForm-CcuNtcGY.js} +6 -6
  7. package/dist/{OnboardForm-me9MIQPW.js → OnboardForm-DwtSLZZ6.js} +6 -6
  8. package/dist/{OnboardSubmission-D-q3ryM1.js → OnboardSubmission-B13TG3VY.js} +3 -3
  9. package/dist/{OnboardSubmission-CRy_a6MZ.js → OnboardSubmission-B7WfxwtM.js} +6 -6
  10. package/dist/{PayoutAccount-BBZIFYHv.js → PayoutAccount-BH1AZPsn.js} +7 -7
  11. package/dist/{PayoutAccount-CA0-FenU.js → PayoutAccount-DKoSN0Oj.js} +5 -5
  12. package/dist/{PayoutAccountSetting-E8c0t725.js → PayoutAccountSetting-ChgN1fKw.js} +609 -679
  13. package/dist/{Restaurant-CJZVhzJB.js → Restaurant-DGF0JBQS.js} +4 -4
  14. package/dist/{RestaurantSetting-C39PQEKt.js → RestaurantSetting-CsXBf_vm.js} +81 -156
  15. package/dist/{Settlement-DssD_F2s.js → Settlement-Q5vvGkPy.js} +105 -103
  16. package/dist/{Settlement-DzzY0DMx.js → Settlement-yWwPTpRg.js} +3 -3
  17. package/dist/{SettlementTransactions-D2Xioa5P.js → SettlementTransactions-CoZ_d8v7.js} +5 -5
  18. package/dist/{SettlementTransactions-DBn9ZZrx.js → SettlementTransactions-D3Zl668N.js} +5 -5
  19. package/dist/{Status.vue_vue_type_script_setup_true_lang-BvC2RAT0.js → Status.vue_vue_type_script_setup_true_lang-gOHlrQzZ.js} +1 -1
  20. package/dist/{Terminal-BqXWec-h.js → Terminal-CwG-DaEc.js} +5 -5
  21. package/dist/{TerminalSetting-D1j2HcJX.js → TerminalSetting-zm7YMozj.js} +5 -5
  22. package/dist/{Transaction-D09SeHHy.js → Transaction-CUChE6GZ.js} +10 -10
  23. package/dist/{Transaction-GM0aWwMD.js → Transaction-CXsRdbmU.js} +11 -11
  24. package/dist/{TransactionOld-B7C7w_nF.js → TransactionOld-BNjs4dYq.js} +7 -7
  25. package/dist/{TransactionStatus.vue_vue_type_script_setup_true_lang-gwTbVHHZ.js → TransactionStatus.vue_vue_type_script_setup_true_lang-C3AneKTm.js} +1 -1
  26. package/dist/api/index.d.ts +1 -0
  27. package/dist/{app-IMZnVpiW.js → app-BaVLWYef.js} +355 -361
  28. package/dist/app.js +1 -1
  29. package/dist/{assets-CdIR0Fo6.js → assets-CIBOgszq.js} +1 -1
  30. package/dist/{grafana-BUVwK44E.js → grafana-CFBCBQ8m.js} +1 -1
  31. package/dist/{index-Cq0_oRPO.js → index-7w_c2P-2.js} +3874 -3918
  32. package/dist/{index-CQkc3pUj.js → index-BFUTi1W-.js} +1 -1
  33. package/dist/{index-CtTi9CvW.js → index-CBTRIvWq.js} +2 -2
  34. package/dist/{index-BDYQ2vRc.js → index-CC8i1RP4.js} +1 -1
  35. package/dist/{index-aeXyggRd.js → index-Cg1xw1iV.js} +1 -1
  36. package/dist/{index-DyEjrl8n.js → index-D1CnAe4w.js} +1 -1
  37. package/dist/{index-DzqFl5Rn.js → index-D79i4yHd.js} +53 -48
  38. package/dist/{index-COCd1-Jr.js → index-pd_Yn_Nn.js} +1 -1
  39. package/dist/{index-D3XosMuu.js → index-xHYVdwJd.js} +1 -1
  40. package/dist/{index.vue_vue_type_script_setup_true_lang-Dv8NeEwd.js → index.vue_vue_type_script_setup_true_lang-C1azAm9j.js} +1 -1
  41. package/dist/{onboard-submission-D_xLxM1D.js → onboard-submission-BDvoGLwP.js} +1 -1
  42. package/dist/package.json +2 -2
  43. package/dist/{payout-account-C8GNZ2kc.js → payout-account-B0sMz1pz.js} +3 -3
  44. package/dist/stores/payoutAccount.d.ts +32 -44
  45. package/dist/tsconfig.app.tsbuildinfo +1 -1
  46. package/dist/views/admin/onboard-submission/forms/NTTSubmission.vue.d.ts +12 -12
  47. package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +12 -12
  48. package/dist/views/admin/onboard-submission/forms/TyroSubmission.vue.d.ts +12 -12
  49. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +32 -44
  50. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +36 -48
  51. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +36 -48
  52. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +32 -44
  53. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +32 -44
  54. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +36 -48
  55. package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
  56. package/dist/views/admin/payout-account/tabs/gateway/DigioGateway.vue.d.ts +2 -2
  57. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +2 -2
  58. package/dist/views/admin/payout-account/tabs/gateway/KsherGateway.vue.d.ts +4 -4
  59. package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
  60. package/dist/views/admin/payout-account/tabs/gateway/TyroGateway.vue.d.ts +2 -2
  61. package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
  62. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  63. package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
  64. package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +4 -4
  65. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
  66. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +6 -6
  67. package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +4 -4
  68. package/dist/views/admin/restaurant/tabs/gateway/KsherGateway.vue.d.ts +6 -6
  69. package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +6 -6
  70. package/dist/views/admin/restaurant/tabs/gateway/MaybankGateway.vue.d.ts +6 -6
  71. package/dist/views/admin/restaurant/tabs/gateway/MonetapayGateway.vue.d.ts +4 -4
  72. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
  73. package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +4 -4
  74. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +4 -4
  75. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +30 -30
  76. package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +30 -30
  77. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +30 -30
  78. package/dist/views/admin/terminal/tabs/PaymentCheckout.vue.d.ts +30 -30
  79. package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +30 -30
  80. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +30 -30
  81. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +30 -30
  82. package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +30 -30
  83. package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +30 -30
  84. package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +30 -30
  85. package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +30 -30
  86. package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +30 -30
  87. package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +30 -30
  88. package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +30 -30
  89. package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +30 -30
  90. package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +30 -30
  91. package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +30 -30
  92. package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +30 -30
  93. package/dist/views/admin/terminal/tabs/ecr/RevenueGateway.vue.d.ts +30 -30
  94. package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +30 -30
  95. package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +30 -30
  96. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +30 -30
  97. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +64 -88
  98. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +48 -48
  99. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +25 -25
  100. package/dist/views/settlement/SettlementTable.vue.d.ts +4 -4
  101. package/package.json +2 -2
  102. package/dist/views/admin/payout-account/tabs/gateway/BeamGateway.vue.d.ts +0 -41
  103. package/dist/views/admin/restaurant/tabs/gateway/BeamGateway.vue.d.ts +0 -48
@@ -1,4 +1,4 @@
1
- import { g as t, b as n, c as u, a as e } from "./index-Cq0_oRPO.js";
1
+ import { g as t, b as n, c as u, a as e } from "./index-7w_c2P-2.js";
2
2
  const o = {
3
3
  async read(a) {
4
4
  return e(
@@ -1,6 +1,6 @@
1
- import { g as o, b as s, o as m, a as d } from "./index-Cq0_oRPO.js";
1
+ import { g as o, b as s, o as m, a as d } from "./index-7w_c2P-2.js";
2
2
  import { h as c } from "./moment-h96o7c8I.js";
3
- import { d as b } from "./index-D3XosMuu.js";
3
+ import { d as b } from "./index-xHYVdwJd.js";
4
4
  async function g(t) {
5
5
  if (t.type !== "image/png") return t;
6
6
  const a = await p(t), e = document.createElement("canvas");
@@ -1,6 +1,6 @@
1
1
  import { ref as b, watch as w } from "vue";
2
2
  import { useRoute as A, useRouter as m } from "vue-router";
3
- import { v as y } from "./app-IMZnVpiW.js";
3
+ import { v as y } from "./app-BaVLWYef.js";
4
4
  var d = {};
5
5
  (function(s) {
6
6
  (function(c) {
@@ -1,4 +1,4 @@
1
- import { a as s, b as e, g as r } from "./index-Cq0_oRPO.js";
1
+ import { a as s, b as e, g as r } from "./index-7w_c2P-2.js";
2
2
  const i = {
3
3
  async readRestaurantById(a) {
4
4
  const t = await e().get(`/payments/restaurants/${a}`);
@@ -1,4 +1,4 @@
1
- import { b as a, g as t, p as r, c as i, a as s } from "./index-Cq0_oRPO.js";
1
+ import { b as a, g as t, p as r, c as i, a as s } from "./index-7w_c2P-2.js";
2
2
  const m = {
3
3
  async create(e) {
4
4
  return s(
@@ -1,16 +1,16 @@
1
- import { g as r, b as n, a as s, d as I, l, c, r as m } from "./index-Cq0_oRPO.js";
2
- import { h as a } from "./moment-h96o7c8I.js";
1
+ import { g as s, b as e, a as r, d as l, l as I, c, r as m } from "./index-7w_c2P-2.js";
2
+ import { h as n } from "./moment-h96o7c8I.js";
3
3
  const w = {
4
4
  async readBySettlementId(t) {
5
- return r(
6
- await n().get(
5
+ return s(
6
+ await e().get(
7
7
  `/transactions/settlements/${t}`
8
8
  )
9
9
  );
10
10
  },
11
11
  async readTransactions(t) {
12
- return s(
13
- await n().get("/transactions", {
12
+ return r(
13
+ await e().get("/transactions", {
14
14
  params: {
15
15
  status: t.status,
16
16
  businessId: t.businessId,
@@ -20,63 +20,63 @@ const w = {
20
20
  limit: t.limit,
21
21
  cursor: t.cursor,
22
22
  search: t.search,
23
- start: a(t.start).startOf("day").toISOString(),
24
- end: a(t.end).endOf("day").toISOString()
23
+ start: n(t.start).startOf("day").toISOString(),
24
+ end: n(t.end).endOf("day").toISOString()
25
25
  }
26
26
  })
27
27
  );
28
28
  },
29
29
  async removeTransactionFromSettlement(t) {
30
- return r(
31
- await n().delete(`/settlements/${t}`)
30
+ return s(
31
+ await e().delete(`/settlements/${t}`)
32
32
  );
33
33
  },
34
34
  async refetchTransaction({
35
35
  transactionId: t
36
36
  }) {
37
- return r(
38
- await n().get(`/transactions/query/${t}`)
37
+ return s(
38
+ await e().get(`/transactions/query/${t}`)
39
39
  );
40
40
  },
41
41
  async refundTransaction(t) {
42
- return r(
43
- await n().post("/transactions/refund", t)
42
+ return s(
43
+ await e().post("/transactions/refund", t)
44
44
  );
45
45
  },
46
46
  async renotifyTransaction(t) {
47
- return r(
48
- await n().post("/payments/re-notify", { transactionId: t })
47
+ return s(
48
+ await e().post("/payments/re-notify", { transactionId: t })
49
49
  );
50
50
  },
51
51
  async bindPayId(t) {
52
- return r(
53
- await n().patch(
52
+ return s(
53
+ await e().patch(
54
54
  `/transactions/${t.transactionId}/payId`,
55
55
  { payId: t.payId }
56
56
  )
57
57
  );
58
58
  },
59
59
  async setGatewayId(t) {
60
- return r(
61
- await n().patch(
60
+ return s(
61
+ await e().patch(
62
62
  `/transactions/${t.transactionId}/gatewayTransactionId`,
63
63
  { gatewayTransactionId: t.gatewayTransactionId }
64
64
  )
65
65
  );
66
66
  },
67
67
  async readRestaurantTransactions(t) {
68
- return r(
68
+ return s(
69
69
  await m().get("/transactions", {
70
70
  params: {
71
71
  v2: !0,
72
- start: a(t.start).startOf("day").toISOString(),
73
- end: a(t.end).endOf("day").toISOString()
72
+ start: n(t.start).startOf("day").toISOString(),
73
+ end: n(t.end).endOf("day").toISOString()
74
74
  }
75
75
  })
76
76
  );
77
77
  },
78
78
  async readTransactionsV2(t) {
79
- return s(
79
+ return r(
80
80
  await c().get("/transactions", {
81
81
  params: {
82
82
  status: t.status,
@@ -85,21 +85,21 @@ const w = {
85
85
  limit: t.limit,
86
86
  cursor: t.cursor,
87
87
  search: t.search,
88
- start: a(t.start).startOf("day").toISOString(),
89
- end: a(t.end).endOf("day").toISOString()
88
+ start: n(t.start).startOf("day").toISOString(),
89
+ end: n(t.end).endOf("day").toISOString()
90
90
  }
91
91
  })
92
92
  );
93
93
  },
94
94
  async readBusinessTransactionsBySettlementId(t) {
95
- return r(
95
+ return s(
96
96
  await c().get(
97
97
  `/settlements/transactions/${t}`
98
98
  )
99
99
  );
100
100
  },
101
- async downloadPortalTransactionReport(t, i, d = !1) {
102
- const u = a(t.startDate), y = a(t.endDate).endOf("day"), o = [
101
+ async downloadPortalTransactionReport(t, d, i = !1) {
102
+ const u = n(t.startDate), y = n(t.endDate).endOf("day"), o = [
103
103
  "method",
104
104
  "fdoAmount",
105
105
  "amount",
@@ -111,16 +111,21 @@ const w = {
111
111
  "transactionId",
112
112
  "gatewayAmount"
113
113
  ];
114
- return d && o.push(
114
+ return i && o.push(
115
115
  "gatewayTransactionId",
116
116
  "gatewayRefundId",
117
117
  "restaurantId",
118
118
  "settlementId",
119
119
  "settlementAt"
120
- ), l(i, {
120
+ ), I(d, {
121
121
  filename: `transaction-report-${u.format("YYYY_MM_DD_HH:mm")}-${y.format("YYYY_MM_DD_HH:mm")}.xlsx`,
122
122
  exclude: o,
123
123
  include: ["method.issuer", "fdoAmount.amount", "fdoAmount.currency"],
124
+ computed: {
125
+ "ECR Terminal ID": (a) => a.gateway === "MAYBANK" ? a.callbackResponse.tid : "",
126
+ "ECR Merchant ID": (a) => a.gateway === "MAYBANK" ? a.callbackResponse.mid : "",
127
+ "ECR Reference ID": (a) => a.gateway === "MAYBANK" ? a.callbackResponse.referenceId : ""
128
+ },
124
129
  rename: {
125
130
  id: "Transaction ID",
126
131
  payId: "Pay ID",
@@ -144,46 +149,46 @@ const w = {
144
149
  billId: "Bill ID"
145
150
  },
146
151
  transformers: {
147
- gateway: (e) => e === "RAZER_MERCHANT_SERVICE" ? "FIUU" : e,
148
- "fdoAmount.amount": (e) => parseFloat((e / 100).toFixed(2)),
149
- transactionAt: (e) => a(e).format("YYYY-MM-DD HH:mm:ss"),
150
- refundedAt: (e) => e ? a(e).format("YYYY-MM-DD HH:mm:ss") : "-",
151
- seqNumberBinded: (e) => e ? "Yes" : "No"
152
+ gateway: (a) => a === "RAZER_MERCHANT_SERVICE" ? "FIUU" : a,
153
+ "fdoAmount.amount": (a) => parseFloat((a / 100).toFixed(2)),
154
+ transactionAt: (a) => n(a).format("YYYY-MM-DD HH:mm:ss"),
155
+ refundedAt: (a) => a ? n(a).format("YYYY-MM-DD HH:mm:ss") : "-",
156
+ seqNumberBinded: (a) => a ? "Yes" : "No"
152
157
  }
153
158
  });
154
159
  },
155
160
  async downloadTransactionReport(t) {
156
- return I(
157
- await n().get("/transactions/report", {
161
+ return l(
162
+ await e().get("/transactions/report", {
158
163
  params: {
159
- start: a(t.start).startOf("day").toISOString(),
160
- end: a(t.end).endOf("day").toISOString()
164
+ start: n(t.start).startOf("day").toISOString(),
165
+ end: n(t.end).endOf("day").toISOString()
161
166
  }
162
167
  }),
163
168
  `transaction-report-${t.start}-${t.end}.xlsx`
164
169
  );
165
170
  },
166
171
  async readChargebackTransactions(t) {
167
- return s(
168
- await n().get("/transactions/chargeback", {
172
+ return r(
173
+ await e().get("/transactions/chargeback", {
169
174
  params: {
170
175
  search: t.search,
171
176
  cursor: t.cursor,
172
177
  limit: t.limit,
173
- start: a(t.start).startOf("day").toISOString(),
174
- end: a(t.end).endOf("day").toISOString()
178
+ start: n(t.start).startOf("day").toISOString(),
179
+ end: n(t.end).endOf("day").toISOString()
175
180
  }
176
181
  })
177
182
  );
178
183
  },
179
184
  async createChargebackTransaction(t) {
180
- return r(
181
- await n().post("/transactions/chargeback", t)
185
+ return s(
186
+ await e().post("/transactions/chargeback", t)
182
187
  );
183
188
  },
184
189
  async updateChargebackTransaction(t) {
185
- return r(
186
- await n().patch(
190
+ return s(
191
+ await e().patch(
187
192
  `/transactions/chargeback/${t.chargebackId}`,
188
193
  { canSettleAt: t.canSettleAt }
189
194
  )
@@ -1,4 +1,4 @@
1
- import { d as l, c as s, g as o, b as i, l as c, f as d, h as y } from "./index-Cq0_oRPO.js";
1
+ import { d as l, c as s, g as o, b as i, l as c, f as d, h as y } from "./index-7w_c2P-2.js";
2
2
  import { h as r } from "./moment-h96o7c8I.js";
3
3
  import { d as p } from "./dinero-CIVmXLL-.js";
4
4
  function* f(t, a) {
@@ -1,4 +1,4 @@
1
- import { b as r, c as p } from "./index-Cq0_oRPO.js";
1
+ import { b as r, c as p } from "./index-7w_c2P-2.js";
2
2
  const i = {
3
3
  async upload(e, s, t) {
4
4
  const o = (await p().post("/document/presign", {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as q, ref as r, resolveComponent as f, openBlock as g, createBlock as z, withCtx as I, createElementVNode as i, normalizeStyle as E, createElementBlock as M, Fragment as N, renderList as O, createVNode as c, computed as _, watch as L, onMounted as R, unref as D, toDisplayString as B, createCommentVNode as G, nextTick as H, normalizeClass as J } from "vue";
2
- import { u as K } from "./index-Cq0_oRPO.js";
2
+ import { u as K } from "./index-7w_c2P-2.js";
3
3
  import "@feedmepos/ui-library";
4
4
  const Q = ["id"], U = /* @__PURE__ */ q({
5
5
  __name: "FmTableSelection",
@@ -1,4 +1,4 @@
1
- import { e as t, p as r } from "./index-Cq0_oRPO.js";
1
+ import { e as t, p as r } from "./index-7w_c2P-2.js";
2
2
  import { useCoreStore as i } from "@feedmepos/mf-common";
3
3
  const s = {
4
4
  softspace: [t.F_COUNTRY.enum.MY],
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.8.2-dev",
3
+ "version": "1.8.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -39,7 +39,7 @@
39
39
  "@feedmepos/hrm-permission": "1.0.6",
40
40
  "@feedmepos/mf-common": "^1.26.8",
41
41
  "@feedmepos/mf-financing": "0.0.24-dev",
42
- "@feedmepos/payment-entity": "0.1.89",
42
+ "@feedmepos/payment-entity": "0.1.88",
43
43
  "@feedmepos/ui-library": "^1.7.1",
44
44
  "@tanstack/vue-query": "^5.101.0",
45
45
  "axios": "^0.27.2",
@@ -1,7 +1,7 @@
1
- import { p as E, B as st } from "./index-Cq0_oRPO.js";
2
- import { v as it, w as at, _ as ut } from "./app-IMZnVpiW.js";
1
+ import { p as E, B as st } from "./index-7w_c2P-2.js";
2
+ import { v as it, w as at, _ as ut } from "./app-BaVLWYef.js";
3
3
  import { useCoreStore as ot } from "@feedmepos/mf-common";
4
- import { d as H } from "./index-D3XosMuu.js";
4
+ import { d as H } from "./index-xHYVdwJd.js";
5
5
  var Q = { exports: {} };
6
6
  (function(i, a) {
7
7
  (function(t, m) {
@@ -5,71 +5,64 @@ interface PayoutAccountState {
5
5
  export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-payment-payoutAccount", PayoutAccountState, {
6
6
  getBusinessPayoutAccounts: (state: {
7
7
  businessPayoutAccounts: {
8
+ statusReason?: string | null | undefined;
8
9
  enable?: boolean | null | undefined;
9
10
  submissionDate?: string | null | undefined;
10
11
  statusBy?: string | null | undefined;
11
- statusReason?: string | null | undefined;
12
12
  gateways?: ({
13
+ paymentGateway: "REVENUE_MONSTER";
13
14
  config: {
14
15
  clientId: string;
15
16
  clientPrivateKey: string;
16
17
  clientSecret: string;
17
18
  storeId: string;
18
19
  };
19
- paymentGateway: "REVENUE_MONSTER";
20
20
  } | {
21
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
21
22
  config: {
22
23
  merchantId: string;
23
24
  secretKey: string;
24
25
  verifyKey: string;
25
26
  };
26
- paymentGateway: "RAZER_MERCHANT_SERVICE";
27
27
  } | {
28
+ paymentGateway: "MACAU_PASS";
28
29
  config: {
29
- storeID: string;
30
30
  merchantId: string;
31
31
  merchantName: string;
32
32
  merchantCategoryCode: string;
33
+ storeID: string;
33
34
  storeName: string;
34
35
  };
35
- paymentGateway: "MACAU_PASS";
36
36
  } | {
37
+ paymentGateway: "DIGIO";
37
38
  config: {
38
39
  merchantId: string;
39
40
  cardMerchantId: string;
40
41
  };
41
- paymentGateway: "DIGIO";
42
42
  } | {
43
+ paymentGateway: "ADYEN";
43
44
  config: {
44
45
  hmacKey?: string | null | undefined;
45
- clientKey: string;
46
46
  merchantAccount: string;
47
47
  username: string;
48
48
  apiKey: string;
49
49
  endpoint: string;
50
+ clientKey: string;
50
51
  };
51
- paymentGateway: "ADYEN";
52
52
  } | {
53
+ paymentGateway: "KSHER";
53
54
  config: {
54
- appId: string;
55
55
  privateKey: string;
56
+ appId: string;
56
57
  };
57
- paymentGateway: "KSHER";
58
58
  } | {
59
- config: {
60
- locationId: string;
61
- };
62
59
  paymentGateway: "TYRO";
63
- } | {
64
60
  config: {
65
- merchantId: string;
66
- apiKey: string;
61
+ locationId: string;
67
62
  };
68
- paymentGateway: "BEAM";
69
63
  })[] | null | undefined;
70
64
  ref?: any;
71
65
  status: "NEW" | "PENDING" | "APPROVED" | "REJECTED";
72
- notifyUrl: string;
73
66
  _id: string;
74
67
  store: {
75
68
  bank?: {
@@ -78,11 +71,11 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
78
71
  holderName?: string | null | undefined;
79
72
  name: string;
80
73
  } | null | undefined;
81
- bankStatement?: string | null | undefined;
82
- ssm?: string | null | undefined;
83
- exteriorPhoto?: string | null | undefined;
84
74
  regNo?: string | null | undefined;
85
75
  companyName?: string | null | undefined;
76
+ ssm?: string | null | undefined;
77
+ bankStatement?: string | null | undefined;
78
+ exteriorPhoto?: string | null | undefined;
86
79
  keyPerson?: {
87
80
  email: string;
88
81
  name: string;
@@ -91,6 +84,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
91
84
  id: string;
92
85
  event: "ORDERING" | "MARKETING";
93
86
  };
87
+ notifyUrl: string;
94
88
  methods: {
95
89
  rate?: {
96
90
  amount: number;
@@ -101,77 +95,70 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
101
95
  precision: number;
102
96
  } | null | undefined;
103
97
  tPlus?: number | null | undefined;
104
- issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CARD" | "CASH" | "KBANK" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "REVOLUT" | "SARAWAKPAY" | "SETEL";
98
+ issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CARD" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "REVOLUT" | "SARAWAKPAY" | "SETEL";
105
99
  variant: string;
106
100
  }[];
107
101
  businessId: string;
108
102
  }[];
109
103
  } & import("pinia").PiniaCustomStateProperties<PayoutAccountState>) => {
104
+ statusReason?: string | null | undefined;
110
105
  enable?: boolean | null | undefined;
111
106
  submissionDate?: string | null | undefined;
112
107
  statusBy?: string | null | undefined;
113
- statusReason?: string | null | undefined;
114
108
  gateways?: ({
109
+ paymentGateway: "REVENUE_MONSTER";
115
110
  config: {
116
111
  clientId: string;
117
112
  clientPrivateKey: string;
118
113
  clientSecret: string;
119
114
  storeId: string;
120
115
  };
121
- paymentGateway: "REVENUE_MONSTER";
122
116
  } | {
117
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
123
118
  config: {
124
119
  merchantId: string;
125
120
  secretKey: string;
126
121
  verifyKey: string;
127
122
  };
128
- paymentGateway: "RAZER_MERCHANT_SERVICE";
129
123
  } | {
124
+ paymentGateway: "MACAU_PASS";
130
125
  config: {
131
- storeID: string;
132
126
  merchantId: string;
133
127
  merchantName: string;
134
128
  merchantCategoryCode: string;
129
+ storeID: string;
135
130
  storeName: string;
136
131
  };
137
- paymentGateway: "MACAU_PASS";
138
132
  } | {
133
+ paymentGateway: "DIGIO";
139
134
  config: {
140
135
  merchantId: string;
141
136
  cardMerchantId: string;
142
137
  };
143
- paymentGateway: "DIGIO";
144
138
  } | {
139
+ paymentGateway: "ADYEN";
145
140
  config: {
146
141
  hmacKey?: string | null | undefined;
147
- clientKey: string;
148
142
  merchantAccount: string;
149
143
  username: string;
150
144
  apiKey: string;
151
145
  endpoint: string;
146
+ clientKey: string;
152
147
  };
153
- paymentGateway: "ADYEN";
154
148
  } | {
149
+ paymentGateway: "KSHER";
155
150
  config: {
156
- appId: string;
157
151
  privateKey: string;
152
+ appId: string;
158
153
  };
159
- paymentGateway: "KSHER";
160
154
  } | {
161
- config: {
162
- locationId: string;
163
- };
164
155
  paymentGateway: "TYRO";
165
- } | {
166
156
  config: {
167
- merchantId: string;
168
- apiKey: string;
157
+ locationId: string;
169
158
  };
170
- paymentGateway: "BEAM";
171
159
  })[] | null | undefined;
172
160
  ref?: any;
173
161
  status: "NEW" | "PENDING" | "APPROVED" | "REJECTED";
174
- notifyUrl: string;
175
162
  _id: string;
176
163
  store: {
177
164
  bank?: {
@@ -180,11 +167,11 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
180
167
  holderName?: string | null | undefined;
181
168
  name: string;
182
169
  } | null | undefined;
183
- bankStatement?: string | null | undefined;
184
- ssm?: string | null | undefined;
185
- exteriorPhoto?: string | null | undefined;
186
170
  regNo?: string | null | undefined;
187
171
  companyName?: string | null | undefined;
172
+ ssm?: string | null | undefined;
173
+ bankStatement?: string | null | undefined;
174
+ exteriorPhoto?: string | null | undefined;
188
175
  keyPerson?: {
189
176
  email: string;
190
177
  name: string;
@@ -193,6 +180,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
193
180
  id: string;
194
181
  event: "ORDERING" | "MARKETING";
195
182
  };
183
+ notifyUrl: string;
196
184
  methods: {
197
185
  rate?: {
198
186
  amount: number;
@@ -203,7 +191,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
203
191
  precision: number;
204
192
  } | null | undefined;
205
193
  tPlus?: number | null | undefined;
206
- issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CARD" | "CASH" | "KBANK" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "REVOLUT" | "SARAWAKPAY" | "SETEL";
194
+ issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CARD" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "REVOLUT" | "SARAWAKPAY" | "SETEL";
207
195
  variant: string;
208
196
  }[];
209
197
  businessId: string;