@feedmepos/mf-payment 1.11.2-dev → 1.11.3-dev

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 (99) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-CqIH_Wgb.js → Actions.vue_vue_type_script_setup_true_lang-v0SnPr5a.js} +1 -1
  2. package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-B_xS0a4g.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-DkWcXyh8.js} +3 -3
  3. package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-DT0T1HyB.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-CPT869Wj.js} +3 -3
  4. package/dist/{Chargeback-It_ypMRE.js → Chargeback-DBdMY6rF.js} +5 -5
  5. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-a-bX5Lqt.js → DocumentViewer.vue_vue_type_script_setup_true_lang-CC6od7-2.js} +1 -1
  6. package/dist/{ExternalTerminal-CE8tlcy4.js → ExternalTerminal-C-fkxJM1.js} +6 -6
  7. package/dist/OnboardForm-DE3bXb-m.js +1757 -0
  8. package/dist/{OnboardForm-CMWpL-JX.js → OnboardForm-m-eFFjFa.js} +6 -6
  9. package/dist/{OnboardSubmission-0iohV3ip.js → OnboardSubmission-CWDie0Df.js} +6 -6
  10. package/dist/{OnboardSubmission-C6-zMQAT.js → OnboardSubmission-CjdEUnwb.js} +3 -3
  11. package/dist/{PaymentCheckout-BoPQVDtI.js → PaymentCheckout-DeyXPwEF.js} +2 -2
  12. package/dist/{PayoutAccount-Bsmw4uY_.js → PayoutAccount-B1qD1gJN.js} +7 -7
  13. package/dist/{PayoutAccount-D82rrOiB.js → PayoutAccount-C-tpgVwN.js} +5 -5
  14. package/dist/{PayoutAccountSetting-CXqXa7kJ.js → PayoutAccountSetting-CyTqnA_G.js} +6 -6
  15. package/dist/{Restaurant-Da_0RO2P.js → Restaurant-DMK56dUY.js} +4 -4
  16. package/dist/{RestaurantSetting-CyN2zPoR.js → RestaurantSetting-Cbz0p1Yf.js} +3 -3
  17. package/dist/{Settlement-CJMu94mC.js → Settlement-Bpa-abXS.js} +3 -3
  18. package/dist/{Settlement-D1lIUjuP.js → Settlement-CPP1bUR9.js} +4 -4
  19. package/dist/{SettlementTransactions-nLyTOQ-V.js → SettlementTransactions-DIn7uIFk.js} +5 -5
  20. package/dist/{SettlementTransactions-i6dvSl8W.js → SettlementTransactions-otdARkcC.js} +5 -5
  21. package/dist/{Status.vue_vue_type_script_setup_true_lang-DHG1EsIG.js → Status.vue_vue_type_script_setup_true_lang-DGlhkKxZ.js} +1 -1
  22. package/dist/{Terminal-BXruPbvM.js → Terminal-CGYKt4T3.js} +6 -6
  23. package/dist/{TerminalSetting-CIGLCOnF.js → TerminalSetting-BMLsViC8.js} +7 -7
  24. package/dist/{TerminalTemplate-z1A0N8mF.js → TerminalTemplate-CVCkpNJo.js} +5 -5
  25. package/dist/{TerminalTemplateSetting-D2Jid3yh.js → TerminalTemplateSetting-C1PLbLc5.js} +5 -5
  26. package/dist/{Transaction-xsD36tW9.js → Transaction-Bi8WMK-J.js} +12 -12
  27. package/dist/{Transaction-DL80OHFr.js → Transaction-Dk3hcOYl.js} +10 -10
  28. package/dist/{TransactionOld-DrKIK5TU.js → TransactionOld-BI8VhSYc.js} +7 -7
  29. package/dist/{TransactionStatus.vue_vue_type_script_setup_true_lang-DPh45qkC.js → TransactionStatus.vue_vue_type_script_setup_true_lang-T772VqFe.js} +1 -1
  30. package/dist/api/onboard-submission/index.d.ts +2 -1
  31. package/dist/{app-CwZzGMXK.js → app-B5h83d26.js} +26 -26
  32. package/dist/app.js +1 -1
  33. package/dist/{assets-KuiA079r.js → assets-CQn4-mCk.js} +1 -1
  34. package/dist/{grafana-BZzc7TR-.js → grafana-DipV6jzB.js} +1 -1
  35. package/dist/{index-BnZM1Wro.js → index-B5eEeJe7.js} +1 -1
  36. package/dist/{index-C7DEHzTj.js → index-BiTo3-CO.js} +33 -25
  37. package/dist/{index-D0glLFof.js → index-C07g4gZq.js} +1 -1
  38. package/dist/{index-CFxKxXOi.js → index-CHBejTua.js} +1 -1
  39. package/dist/{index-COlUvaZo.js → index-CP7BTy-D.js} +1 -1
  40. package/dist/{index-VKGN9Hxm.js → index-CbRJWjTB.js} +1 -1
  41. package/dist/{index-Df1bsmVD.js → index-Cs00ZYzD.js} +1 -1
  42. package/dist/{index-hp52-LCN.js → index-OJbHgXbS.js} +1 -1
  43. package/dist/{index-ltUJL3fo.js → index-e3vroquS.js} +11 -5
  44. package/dist/{index-Bz6BKvMi.js → index-rmD5hk67.js} +1 -1
  45. package/dist/{index-BVoFRJi1.js → index-zMzAjmwz.js} +1 -1
  46. package/dist/{index.vue_vue_type_script_setup_true_lang-CO65xxRe.js → index.vue_vue_type_script_setup_true_lang-Cu7pAJFv.js} +1 -1
  47. package/dist/{onboard-submission-BiO6l0wG.js → onboard-submission-CRJ6q1pV.js} +1 -1
  48. package/dist/package.json +2 -2
  49. package/dist/{payout-account-BUu5dzD8.js → payout-account-BPRFi4QA.js} +3 -3
  50. package/dist/stores/payoutAccount.d.ts +12 -12
  51. package/dist/style.css +1 -1
  52. package/dist/tsconfig.app.tsbuildinfo +1 -1
  53. package/dist/{useQuery-BJBSQTRU.js → useQuery-D1xFn41j.js} +1 -1
  54. package/dist/views/admin/onboard-submission/forms/NTTSubmission.vue.d.ts +4 -8
  55. package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +4 -8
  56. package/dist/views/admin/onboard-submission/forms/TyroSubmission.vue.d.ts +8 -12
  57. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +12 -12
  58. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +16 -16
  59. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +16 -16
  60. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +12 -12
  61. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +12 -12
  62. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +16 -16
  63. package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
  64. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  65. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
  66. package/dist/views/admin/terminal/TerminalSideSheet.vue.d.ts +64 -64
  67. package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +64 -64
  68. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +64 -64
  69. package/dist/views/admin/terminal/tabs/PaymentCheckout.vue.d.ts +64 -64
  70. package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +64 -64
  71. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +64 -64
  72. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +64 -64
  73. package/dist/views/admin/terminal/tabs/ecr/BeamGateway.vue.d.ts +64 -64
  74. package/dist/views/admin/terminal/tabs/ecr/BriGateway.vue.d.ts +64 -64
  75. package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +64 -64
  76. package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +64 -64
  77. package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +64 -64
  78. package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +64 -64
  79. package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +64 -64
  80. package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +64 -64
  81. package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +64 -64
  82. package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +64 -64
  83. package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +64 -64
  84. package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +64 -64
  85. package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +64 -64
  86. package/dist/views/admin/terminal/tabs/ecr/PbbGateway.vue.d.ts +64 -64
  87. package/dist/views/admin/terminal/tabs/ecr/RevenueGateway.vue.d.ts +64 -64
  88. package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +64 -64
  89. package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +64 -64
  90. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +64 -64
  91. package/dist/views/admin/terminal-template/TerminalTemplateSideSheet.vue.d.ts +22 -22
  92. package/dist/views/admin/terminal-template/tabs/EcrGateways.vue.d.ts +12 -12
  93. package/dist/views/admin/terminal-template/tabs/Information.vue.d.ts +12 -12
  94. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +24 -24
  95. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +56 -56
  96. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +28 -28
  97. package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
  98. package/package.json +2 -2
  99. package/dist/OnboardForm-BeDDUdY1.js +0 -1665
@@ -1,4 +1,4 @@
1
- import { e as i } from "./index-ltUJL3fo.js";
1
+ import { e as i } from "./index-e3vroquS.js";
2
2
  import { useCoreStore as l } from "@feedmepos/mf-common";
3
3
  import { h as a } from "./moment-h96o7c8I.js";
4
4
  const y = "https://grafana.feedme.farm/d/hyperdx-trace-explorer/hyperdx-trace-explorer-embedded", m = "69a1a2665dc2f34c0563c0a7", h = "6a4e8eefbcd09745155bda80", n = {
@@ -1,4 +1,4 @@
1
- import { g as t, b as n, c as u, a as e } from "./index-ltUJL3fo.js";
1
+ import { g as t, b as n, c as u, a as e } from "./index-e3vroquS.js";
2
2
  const o = {
3
3
  async read(a) {
4
4
  return e(
@@ -1,14 +1,14 @@
1
- import { g as o, b as s, o as m, a as d } from "./index-ltUJL3fo.js";
2
- import { h as c } from "./moment-h96o7c8I.js";
3
- import { d as b } from "./index-CFxKxXOi.js";
4
- async function g(t) {
1
+ import { g as e, b as s, o as m, a as c } from "./index-e3vroquS.js";
2
+ import { h as d } from "./moment-h96o7c8I.js";
3
+ import { d as b } from "./index-CHBejTua.js";
4
+ async function p(t) {
5
5
  if (t.type !== "image/png") return t;
6
- const a = await p(t), e = document.createElement("canvas");
7
- e.width = a.width, e.height = a.height;
8
- const n = e.getContext("2d");
6
+ const a = await g(t), o = document.createElement("canvas");
7
+ o.width = a.width, o.height = a.height;
8
+ const n = o.getContext("2d");
9
9
  if (!n) throw new Error("Failed to get 2D canvas context");
10
10
  return n.drawImage(a, 0, 0), new Promise((i, u) => {
11
- e.toBlob((r) => {
11
+ o.toBlob((r) => {
12
12
  if (!r) {
13
13
  u(new Error("Canvas PNG export failed"));
14
14
  return;
@@ -19,26 +19,26 @@ async function g(t) {
19
19
  }, "image/png");
20
20
  });
21
21
  }
22
- function p(t) {
23
- return new Promise((a, e) => {
22
+ function g(t) {
23
+ return new Promise((a, o) => {
24
24
  const n = new Image();
25
25
  n.onload = () => {
26
26
  URL.revokeObjectURL(n.src), a(n);
27
27
  }, n.onerror = () => {
28
- URL.revokeObjectURL(n.src), e(new Error("Failed to load image from File"));
28
+ URL.revokeObjectURL(n.src), o(new Error("Failed to load image from File"));
29
29
  }, n.src = URL.createObjectURL(t);
30
30
  });
31
31
  }
32
32
  const $ = {
33
33
  async read(t) {
34
- return d(
34
+ return c(
35
35
  await s().get("/payments/onboard-submissions", {
36
36
  params: { ...t }
37
37
  })
38
38
  );
39
39
  },
40
40
  async readById(t) {
41
- return o(
41
+ return e(
42
42
  await s().get(`/payments/onboard-submissions/${t}`)
43
43
  );
44
44
  },
@@ -50,14 +50,14 @@ const $ = {
50
50
  m(a.data);
51
51
  },
52
52
  async sendDocument(t) {
53
- return o(
53
+ return e(
54
54
  await s().post(
55
55
  `payments/onboard-submissions/${t}/send`
56
56
  )
57
57
  );
58
58
  },
59
59
  async reviewById(t, a) {
60
- return o(
60
+ return e(
61
61
  await s().put(
62
62
  `/payments/onboard-submissions/${t}`,
63
63
  a
@@ -65,55 +65,63 @@ const $ = {
65
65
  );
66
66
  },
67
67
  async addAdditionalDocuments(t, a) {
68
- return o(
68
+ return e(
69
69
  await s().post(
70
70
  `/payments/onboard-submissions/${t}/additional-documents`,
71
71
  { documents: a }
72
72
  )
73
73
  );
74
74
  },
75
+ async trackStatus(t, a) {
76
+ return e(
77
+ await s().post(
78
+ `/payments/onboard-submissions/${t}/status-tracking`,
79
+ { action: a }
80
+ )
81
+ );
82
+ },
75
83
  async getById(t, a) {
76
- return o(
84
+ return e(
77
85
  await s().get(
78
86
  `restaurants/${a}/onboard-submissions/${t}`
79
87
  )
80
88
  );
81
89
  },
82
90
  async getByRestaurant(t) {
83
- return o(
91
+ return e(
84
92
  await s().get(
85
93
  `restaurants/${t}/onboard-submissions`
86
94
  )
87
95
  );
88
96
  },
89
97
  async getOnboardSubmissionTyroAuthUrl(t) {
90
- return o(
98
+ return e(
91
99
  await s().get(
92
100
  `restaurants/${t}/onboard-submissions/tyro/auth`
93
101
  )
94
102
  );
95
103
  },
96
104
  async getTyroLocations(t) {
97
- return o(
105
+ return e(
98
106
  await s().get(
99
107
  `restaurants/${t}/onboard-submissions/tyro/locations`
100
108
  )
101
109
  );
102
110
  },
103
111
  async bindTyroLocation(t, a) {
104
- return o(
112
+ return e(
105
113
  await s().put(
106
114
  `restaurants/${t}/onboard-submissions/tyro/location`,
107
115
  a
108
116
  )
109
117
  );
110
118
  },
111
- async uploadDocument(t, a, e) {
119
+ async uploadDocument(t, a, o) {
112
120
  var r;
113
- const n = (r = e.name.toLowerCase().match(/\.([a-z0-9]+)$/)) == null ? void 0 : r[1];
121
+ const n = (r = o.name.toLowerCase().match(/\.([a-z0-9]+)$/)) == null ? void 0 : r[1];
114
122
  if (!n)
115
123
  throw new Error("Unable to determine file extension from filename");
116
- const i = n === "png" ? await g(e) : e, u = c().toISOString();
124
+ const i = n === "png" ? await p(o) : o, u = d().toISOString();
117
125
  return await b.upload(
118
126
  `restaurant/${t}/documents/${a}/${u}.${n}`,
119
127
  i,
@@ -121,7 +129,7 @@ const $ = {
121
129
  );
122
130
  },
123
131
  async updateSubmission(t) {
124
- return o(
132
+ return e(
125
133
  await s().put(
126
134
  `restaurants/${t.restaurantId}/onboard-submissions`,
127
135
  t
@@ -1,4 +1,4 @@
1
- import { g as t, b as e, a as r } from "./index-ltUJL3fo.js";
1
+ import { g as t, b as e, a as r } from "./index-e3vroquS.js";
2
2
  const i = {
3
3
  async create(a) {
4
4
  return t(
@@ -1,4 +1,4 @@
1
- import { b as r, c as p } from "./index-ltUJL3fo.js";
1
+ import { b as r, c as p } from "./index-e3vroquS.js";
2
2
  const i = {
3
3
  async upload(e, s, t) {
4
4
  const o = (await p().post("/document/presign", {
@@ -1,4 +1,4 @@
1
- import { a as s, b as e, g as r } from "./index-ltUJL3fo.js";
1
+ import { a as s, b as e, g as r } from "./index-e3vroquS.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 { g as t, b as e, p as r, c as i, a as s } from "./index-ltUJL3fo.js";
1
+ import { g as t, b as e, p as r, c as i, a as s } from "./index-e3vroquS.js";
2
2
  const m = {
3
3
  async create(a) {
4
4
  return s(
@@ -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-CwZzGMXK.js";
3
+ import { v as y } from "./app-B5h83d26.js";
4
4
  var d = {};
5
5
  (function(s) {
6
6
  (function(c) {
@@ -1,4 +1,4 @@
1
- import { g as s, b as e, a as o, d as I, l as m, c as d, r as f } from "./index-ltUJL3fo.js";
1
+ import { g as s, b as e, a as o, d as I, l as m, c as d, r as f } from "./index-e3vroquS.js";
2
2
  import { h as n } from "./moment-h96o7c8I.js";
3
3
  const A = {
4
4
  async readBySettlementId(t) {
@@ -1,4 +1,4 @@
1
- import { w as W, x as MR, v as NR } from "./app-CwZzGMXK.js";
1
+ import { w as W, x as MR, v as NR } from "./app-B5h83d26.js";
2
2
  import { useCoreStore as ju } from "@feedmepos/mf-common";
3
3
  import { ref as DR } from "vue";
4
4
  var Mh = {}, ol = {}, y = {}, vh = {}, Gm = {}, Vm = {}, Mc = {};
@@ -8695,7 +8695,7 @@ Yl.FdoTokenPaymentGateway = xg.z.object({
8695
8695
  });
8696
8696
  var LE = {};
8697
8697
  (function(e) {
8698
- Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoOnboardSubmissionTyroBindLocationRequest = e.FdoOnboardSubmissionTyroLocationResponse = e.FdoOnboardSubmissionTyroLocation = e.FdoOnboardSubmissionTyroAuthResponse = e.FdoOnboardSubmissionAdditionalDocumentsRequest = e.FdoOnboardSubmissionReviewRequest = e.FdtoPortalOnboardSubmission = e.FdoOnboardSubmissionUpdateRequest = e.FdoOnboardSubmission = e.FdoOnboardDocument = e.FdoOnboardType = e.FdoOnboardStatus = void 0;
8698
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoOnboardSubmissionTyroBindLocationRequest = e.FdoOnboardSubmissionTyroLocationResponse = e.FdoOnboardSubmissionTyroLocation = e.FdoOnboardSubmissionTyroAuthResponse = e.FdoOnboardSubmissionTrackingRequest = e.FdoOnboardSubmissionAdditionalDocumentsRequest = e.FdoOnboardSubmissionReviewRequest = e.FdtoPortalOnboardSubmission = e.FdoOnboardSubmissionUpdateRequest = e.FdoOnboardSubmission = e.FdoOnboardDocument = e.FdoOnboardType = e.FdoOnboardTrackingAction = e.FdoOnboardTimelineStatus = e.FdoOnboardStatus = void 0;
8699
8699
  const n = Fe, t = y;
8700
8700
  e.FdoOnboardStatus = t.z.enum([
8701
8701
  "pending",
@@ -8703,6 +8703,11 @@ var LE = {};
8703
8703
  "rejected",
8704
8704
  "approved",
8705
8705
  "ready"
8706
+ ]), e.FdoOnboardTimelineStatus = t.z.enum(["pending", "complete"]), e.FdoOnboardTrackingAction = t.z.enum([
8707
+ "pending-merchant",
8708
+ "pending-fasspay",
8709
+ "complete-fasspay",
8710
+ "complete-credit-card"
8706
8711
  ]), e.FdoOnboardType = t.z.enum(["softspace", "digipay", "ntt", "tyro"]), e.FdoOnboardDocument = t.z.object({
8707
8712
  type: t.z.string(),
8708
8713
  file: t.z.string()
@@ -8716,13 +8721,12 @@ var LE = {};
8716
8721
  documents: t.z.record(t.z.string(), t.z.string()),
8717
8722
  rates: t.z.record(t.z.string(), t.z.number()).nullish(),
8718
8723
  sentAt: t.z.date().nullish(),
8724
+ timelineStatus: e.FdoOnboardTimelineStatus.default("pending"),
8719
8725
  timeline: t.z.array(t.z.object({
8720
8726
  action: t.z.string(),
8721
- timestamp: t.z.string(),
8722
- description: t.z.string().nullish()
8727
+ timestamp: t.z.string()
8723
8728
  })).nullish(),
8724
8729
  updatedAt: t.z.date(),
8725
- providerLastUpdatedAt: t.z.date().nullish(),
8726
8730
  messageId: t.z.string().nullish()
8727
8731
  }).describe(n.ZodMeta.mongo().repo("OnboardSubmissions").build()), e.FdoOnboardSubmissionUpdateRequest = t.z.object({
8728
8732
  type: e.FdoOnboardType,
@@ -8745,6 +8749,8 @@ var LE = {};
8745
8749
  statusReason: t.z.string().nullish()
8746
8750
  }), e.FdoOnboardSubmissionAdditionalDocumentsRequest = t.z.object({
8747
8751
  documents: t.z.record(t.z.string(), t.z.string())
8752
+ }), e.FdoOnboardSubmissionTrackingRequest = t.z.object({
8753
+ action: e.FdoOnboardTrackingAction
8748
8754
  }), e.FdoOnboardSubmissionTyroAuthResponse = t.z.object({
8749
8755
  url: t.z.string().url()
8750
8756
  }), e.FdoOnboardSubmissionTyroLocation = t.z.object({
@@ -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-ltUJL3fo.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-e3vroquS.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 { g as e, b as a, a as n } from "./index-ltUJL3fo.js";
1
+ import { g as e, b as a, a as n } from "./index-e3vroquS.js";
2
2
  const i = {
3
3
  async create(t) {
4
4
  return e(
@@ -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-ltUJL3fo.js";
2
+ import { u as K } from "./index-e3vroquS.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-ltUJL3fo.js";
1
+ import { e as t, p as r } from "./index-e3vroquS.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.11.2-dev",
3
+ "version": "1.11.3-dev",
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.97",
42
+ "@feedmepos/payment-entity": "0.1.98",
43
43
  "@feedmepos/ui-library": "^1.10.13",
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-ltUJL3fo.js";
2
- import { v as it, w as at, _ as ut } from "./app-CwZzGMXK.js";
1
+ import { p as E, B as st } from "./index-e3vroquS.js";
2
+ import { v as it, w as at, _ as ut } from "./app-B5h83d26.js";
3
3
  import { useCoreStore as ot } from "@feedmepos/mf-common";
4
- import { d as H } from "./index-CFxKxXOi.js";
4
+ import { d as H } from "./index-CHBejTua.js";
5
5
  var Q = { exports: {} };
6
6
  (function(i, a) {
7
7
  (function(t, m) {
@@ -42,17 +42,17 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
42
42
  } | {
43
43
  config: {
44
44
  hmacKey?: string | null | undefined;
45
- apiKey: string;
46
- clientKey: string;
47
45
  merchantAccount: string;
48
46
  username: string;
47
+ apiKey: string;
48
+ clientKey: string;
49
49
  endpoint: string;
50
50
  };
51
51
  paymentGateway: "ADYEN";
52
52
  } | {
53
53
  config: {
54
- privateKey: string;
55
54
  appId: string;
55
+ privateKey: string;
56
56
  };
57
57
  paymentGateway: "KSHER";
58
58
  } | {
@@ -71,8 +71,6 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
71
71
  ref?: any;
72
72
  status: "NEW" | "PENDING" | "APPROVED" | "REJECTED";
73
73
  _id: string;
74
- businessId: string;
75
- notifyUrl: string;
76
74
  store: {
77
75
  bank?: {
78
76
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
@@ -93,6 +91,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
93
91
  id: string;
94
92
  event: "ORDERING" | "MARKETING";
95
93
  };
94
+ notifyUrl: string;
96
95
  methods: {
97
96
  rate?: {
98
97
  amount: number;
@@ -103,9 +102,10 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
103
102
  precision: number;
104
103
  } | null | undefined;
105
104
  tPlus?: number | null | undefined;
106
- issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "REVOLUT" | "SARAWAKPAY" | "SETEL" | "QRIS";
105
+ issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "CASH" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "KBANK" | "REVOLUT" | "SARAWAKPAY" | "SETEL" | "QRIS";
107
106
  variant: string;
108
107
  }[];
108
+ businessId: string;
109
109
  }[];
110
110
  } & import("pinia").PiniaCustomStateProperties<PayoutAccountState>) => {
111
111
  statusReason?: string | null | undefined;
@@ -145,17 +145,17 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
145
145
  } | {
146
146
  config: {
147
147
  hmacKey?: string | null | undefined;
148
- apiKey: string;
149
- clientKey: string;
150
148
  merchantAccount: string;
151
149
  username: string;
150
+ apiKey: string;
151
+ clientKey: string;
152
152
  endpoint: string;
153
153
  };
154
154
  paymentGateway: "ADYEN";
155
155
  } | {
156
156
  config: {
157
- privateKey: string;
158
157
  appId: string;
158
+ privateKey: string;
159
159
  };
160
160
  paymentGateway: "KSHER";
161
161
  } | {
@@ -174,8 +174,6 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
174
174
  ref?: any;
175
175
  status: "NEW" | "PENDING" | "APPROVED" | "REJECTED";
176
176
  _id: string;
177
- businessId: string;
178
- notifyUrl: string;
179
177
  store: {
180
178
  bank?: {
181
179
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
@@ -196,6 +194,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
196
194
  id: string;
197
195
  event: "ORDERING" | "MARKETING";
198
196
  };
197
+ notifyUrl: string;
199
198
  methods: {
200
199
  rate?: {
201
200
  amount: number;
@@ -206,9 +205,10 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
206
205
  precision: number;
207
206
  } | null | undefined;
208
207
  tPlus?: number | null | undefined;
209
- issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "REVOLUT" | "SARAWAKPAY" | "SETEL" | "QRIS";
208
+ issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "CASH" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "KBANK" | "REVOLUT" | "SARAWAKPAY" | "SETEL" | "QRIS";
210
209
  variant: string;
211
210
  }[];
211
+ businessId: string;
212
212
  }[];
213
213
  }, {
214
214
  readBusinessPayoutAccounts(restaurantName?: string): Promise<void>;