@feedmepos/mf-payment 1.5.23-dev → 1.5.25-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 (60) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-DfOqCsBc.js → Actions.vue_vue_type_script_setup_true_lang-Cy1BbWNh.js} +2 -2
  2. package/dist/{Chargeback-LAZF6Y4q.js → Chargeback-Dl4rSQ5U.js} +5 -5
  3. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-jmcA-Rss.js → DocumentViewer.vue_vue_type_script_setup_true_lang-KCfloaC1.js} +1 -1
  4. package/dist/{OnboardForm-CtChcgmH.js → OnboardForm-C5e22OaA.js} +5 -5
  5. package/dist/{OnboardForm-aaxBLPA0.js → OnboardForm-DepiUIOr.js} +5 -5
  6. package/dist/{OnboardSubmission-D1j_5ftK.js → OnboardSubmission-BB6qLr3p.js} +5 -5
  7. package/dist/{OnboardSubmission-BgqEIQCr.js → OnboardSubmission-V8jeo8Za.js} +2 -2
  8. package/dist/{PayoutAccount-D8_Npu0h.js → PayoutAccount-BeC2YgKa.js} +5 -5
  9. package/dist/{PayoutAccount-CpKgK-HN.js → PayoutAccount-BmA6yq1q.js} +4 -4
  10. package/dist/{PayoutAccountSetting-Dcpm9Gkk.js → PayoutAccountSetting-DtFbOHVm.js} +4 -4
  11. package/dist/{Restaurant-c070wI_P.js → Restaurant-DlQV3dot.js} +4 -4
  12. package/dist/{RestaurantSetting-BkVjDa3z.js → RestaurantSetting-Yb9S8Wfg.js} +74 -67
  13. package/dist/{Settlement-Bm87IwKh.js → Settlement-CpmdJ84I.js} +3 -3
  14. package/dist/{Settlement-m8tqL81k.js → Settlement-jznt2FLc.js} +3 -3
  15. package/dist/{SettlementTransactions-DSAZbk0X.js → SettlementTransactions-Bm7D3JZu.js} +4 -4
  16. package/dist/{SettlementTransactions-C48pCpgY.js → SettlementTransactions-DLVFBcdV.js} +4 -4
  17. package/dist/{Status.vue_vue_type_script_setup_true_lang-BRiIy5oT.js → Status.vue_vue_type_script_setup_true_lang-DnWFKNCZ.js} +1 -1
  18. package/dist/{Terminal-C9DaOqfy.js → Terminal-B6wzbr0C.js} +5 -5
  19. package/dist/{TerminalSetting-iba5_SaH.js → TerminalSetting-BV1Uh1OM.js} +3 -3
  20. package/dist/{Transaction-BkS1_0Pd.js → Transaction-BAKFOtrH.js} +9 -9
  21. package/dist/{Transaction-B5GajiVl.js → Transaction-DL0_I7Ez.js} +6 -6
  22. package/dist/{TransactionOld-ZugoqB6G.js → TransactionOld-CDKLMs5_.js} +6 -6
  23. package/dist/{app-CK7gvFhR.js → app-BI2iqyvj.js} +23 -23
  24. package/dist/app.js +1 -1
  25. package/dist/{assets-DGM3kT8t.js → assets-DvPzXLhl.js} +20 -19
  26. package/dist/{grafana-C4wqzqXd.js → grafana-DwrmpEec.js} +1 -1
  27. package/dist/{index-B0T0JJcA.js → index-2-UOiJfz.js} +1 -1
  28. package/dist/{index-DunzHvy3.js → index-BPKJne1Q.js} +1 -1
  29. package/dist/{index--Vhcmoup.js → index-Ci4uxsSz.js} +2 -2
  30. package/dist/{index-CXKpIH4Y.js → index-DRKoa7dT.js} +2 -1
  31. package/dist/{index-KR-lpgRW.js → index-DcB4capd.js} +1 -1
  32. package/dist/{index-CJMvhmnK.js → index-OA39241x.js} +1 -1
  33. package/dist/{index-BDrun1GN.js → index-ey7xefKL.js} +1 -1
  34. package/dist/{index-xTWBGJ_4.js → index-zMl6AuFw.js} +1 -1
  35. package/dist/{index-BMXL6zS2.js → index-zvJkckUa.js} +1 -1
  36. package/dist/{index.vue_vue_type_script_setup_true_lang-Disf1xIR.js → index.vue_vue_type_script_setup_true_lang-BYTNfOkc.js} +1 -1
  37. package/dist/package.json +2 -2
  38. package/dist/{payout-account-BPVv_jkn.js → payout-account-Th15UywB.js} +3 -3
  39. package/dist/stores/payoutAccount.d.ts +24 -24
  40. package/dist/tsconfig.app.tsbuildinfo +1 -1
  41. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +24 -24
  42. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +28 -28
  43. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +28 -28
  44. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +24 -24
  45. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +24 -24
  46. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +28 -28
  47. package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
  48. package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +4 -4
  49. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  50. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +6 -6
  51. package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +4 -4
  52. package/dist/views/admin/restaurant/tabs/gateway/KsherGateway.vue.d.ts +4 -4
  53. package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +6 -6
  54. package/dist/views/admin/restaurant/tabs/gateway/MaybankGateway.vue.d.ts +8 -6
  55. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
  56. package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +4 -4
  57. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +48 -48
  58. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +24 -24
  59. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +12 -12
  60. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { e as c } from "./index-CXKpIH4Y.js";
1
+ import { e as c } from "./index-DRKoa7dT.js";
2
2
  import { useCoreStore as p } from "@feedmepos/mf-common";
3
3
  import { h as n } from "./moment-h96o7c8I.js";
4
4
  const i = "https://grafana.feedme.farm/explore?schemaVersion=1", m = (o, r, t) => ({
@@ -1,4 +1,4 @@
1
- import { g as n, b as e, d as o, h as m, l, r as i, f } from "./index-CXKpIH4Y.js";
1
+ import { g as n, b as e, d as o, h as m, l, r as i, f } from "./index-DRKoa7dT.js";
2
2
  import { h as a } from "./moment-h96o7c8I.js";
3
3
  const w = {
4
4
  async readBySettlementId(t) {
@@ -1,4 +1,4 @@
1
- import { b as r, g as e } from "./index-CXKpIH4Y.js";
1
+ import { b as r, g as e } from "./index-DRKoa7dT.js";
2
2
  const n = {
3
3
  async readRestaurantById(t) {
4
4
  const a = await r().get(`/restaurants/${t}`);
@@ -1,6 +1,6 @@
1
- import { g as t, b as a, o as u, d as m } from "./index-CXKpIH4Y.js";
1
+ import { g as t, b as a, o as u, d as m } from "./index-DRKoa7dT.js";
2
2
  import { h as d } from "./moment-h96o7c8I.js";
3
- import { d as b } from "./index-BDrun1GN.js";
3
+ import { d as b } from "./index-ey7xefKL.js";
4
4
  const w = {
5
5
  async read(s) {
6
6
  return m(
@@ -17256,7 +17256,8 @@ var Gv = {};
17256
17256
  config: o.z.object({
17257
17257
  clientId: o.z.string(),
17258
17258
  clientSecret: o.z.string(),
17259
- merchantId: o.z.string()
17259
+ merchantId: o.z.string(),
17260
+ terminalId: o.z.string().optional()
17260
17261
  })
17261
17262
  }), r.FdoPaymentGatewayV2 = o.z.discriminatedUnion("paymentGateway", [
17262
17263
  r.FdoPaymentGatewayRevenueMonsterV2,
@@ -1,4 +1,4 @@
1
- import { g as a, b as t, p as r, f as i, d as s } from "./index-CXKpIH4Y.js";
1
+ import { g as a, b as t, p as r, f as i, d as s } from "./index-DRKoa7dT.js";
2
2
  const y = {
3
3
  async create(e) {
4
4
  return s(
@@ -1,4 +1,4 @@
1
- import { g as n, b as s, f as u, d as e } from "./index-CXKpIH4Y.js";
1
+ import { g as n, b as s, f as u, d as e } from "./index-DRKoa7dT.js";
2
2
  const o = {
3
3
  async read(a) {
4
4
  return e(
@@ -1,4 +1,4 @@
1
- import { f as s } from "./index-CXKpIH4Y.js";
1
+ import { f as s } from "./index-DRKoa7dT.js";
2
2
  const c = {
3
3
  async upload(e, t, o) {
4
4
  const n = (await s().post("/document/presign", {
@@ -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 { a as y } from "./index-CXKpIH4Y.js";
3
+ import { a as y } from "./index-DRKoa7dT.js";
4
4
  var d = {};
5
5
  (function(s) {
6
6
  (function(c) {
@@ -1,4 +1,4 @@
1
- import { g as r, r as i, b as m, h as l, l as c, i as d, j as y } from "./index-CXKpIH4Y.js";
1
+ import { g as r, r as i, b as m, h as l, l as c, i as d, j as y } from "./index-DRKoa7dT.js";
2
2
  import { h as o } from "./moment-h96o7c8I.js";
3
3
  import { d as f } from "./dinero-CIVmXLL-.js";
4
4
  function* p(t, n) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as U, ref as r, resolveComponent as f, openBlock as g, createBlock as S, withCtx as z, createElementVNode as s, normalizeStyle as j, createElementBlock as B, Fragment as N, renderList as E, createVNode as c, computed as _, watch as I, onMounted as O, unref as C, toDisplayString as D, createCommentVNode as R, nextTick as G, normalizeClass as H } from "vue";
2
- import { u as J } from "./index-CXKpIH4Y.js";
2
+ import { u as J } from "./index-DRKoa7dT.js";
3
3
  import "@feedmepos/ui-library";
4
4
  const K = ["id"], L = /* @__PURE__ */ U({
5
5
  __name: "FmTableSelection",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.5.23-dev",
3
+ "version": "1.5.25-dev",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -38,7 +38,7 @@
38
38
  "@feedmepos/core": "^2.6.0",
39
39
  "@feedmepos/mf-common": "^1.26.8",
40
40
  "@feedmepos/mf-financing": "0.0.24-dev",
41
- "@feedmepos/payment-entity": "0.1.63",
41
+ "@feedmepos/payment-entity": "0.1.64",
42
42
  "@feedmepos/ui-library": "^1.7.1",
43
43
  "axios": "^0.27.2",
44
44
  "buffer": "^6.0.3",
@@ -1,7 +1,7 @@
1
- import { a as st, c as it, p as E, B as at } from "./index-CXKpIH4Y.js";
1
+ import { a as st, c as it, p as E, B as at } from "./index-DRKoa7dT.js";
2
2
  import { useCoreStore as ut } from "@feedmepos/mf-common";
3
- import { d as H } from "./index-BDrun1GN.js";
4
- import { _ as ot } from "./app-CK7gvFhR.js";
3
+ import { d as H } from "./index-ey7xefKL.js";
4
+ import { _ as ot } from "./app-BI2iqyvj.js";
5
5
  var Q = { exports: {} };
6
6
  (function(i, a) {
7
7
  (function(t, m) {
@@ -7,21 +7,22 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
7
7
  businessPayoutAccounts: {
8
8
  enable?: boolean | null | undefined;
9
9
  gateways?: ({
10
+ paymentGateway: "REVENUE_MONSTER";
10
11
  config: {
11
12
  clientId: string;
12
13
  clientPrivateKey: string;
13
14
  clientSecret: string;
14
15
  storeId: string;
15
16
  };
16
- paymentGateway: "REVENUE_MONSTER";
17
17
  } | {
18
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
18
19
  config: {
19
20
  merchantId: string;
20
21
  secretKey: string;
21
22
  verifyKey: string;
22
23
  };
23
- paymentGateway: "RAZER_MERCHANT_SERVICE";
24
24
  } | {
25
+ paymentGateway: "MACAU_PASS";
25
26
  config: {
26
27
  merchantId: string;
27
28
  merchantName: string;
@@ -29,33 +30,33 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
29
30
  storeID: string;
30
31
  storeName: string;
31
32
  };
32
- paymentGateway: "MACAU_PASS";
33
33
  } | {
34
+ paymentGateway: "DIGIO";
34
35
  config: {
35
36
  merchantId: string;
36
37
  cardMerchantId: string;
37
38
  };
38
- paymentGateway: "DIGIO";
39
39
  } | {
40
+ paymentGateway: "ADYEN";
40
41
  config: {
41
42
  hmacKey?: string | null | undefined;
42
43
  merchantAccount: string;
43
44
  username: string;
44
45
  apiKey: string;
45
- clientKey: string;
46
46
  endpoint: string;
47
+ clientKey: string;
47
48
  };
48
- paymentGateway: "ADYEN";
49
49
  } | {
50
+ paymentGateway: "KSHER";
50
51
  config: {
51
- appId: string;
52
52
  privateKey: string;
53
+ appId: string;
53
54
  };
54
- paymentGateway: "KSHER";
55
55
  })[] | null | undefined;
56
56
  ref?: any;
57
- status: "NEW" | "PENDING" | "APPROVED";
58
57
  _id: string;
58
+ status: "NEW" | "PENDING" | "APPROVED";
59
+ notifyUrl: string;
59
60
  store: {
60
61
  bank?: {
61
62
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
@@ -69,14 +70,13 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
69
70
  bankStatement?: string | null | undefined;
70
71
  exteriorPhoto?: string | null | undefined;
71
72
  keyPerson?: {
73
+ email: string;
72
74
  name: string;
73
75
  phone: string;
74
- email: string;
75
76
  } | null | undefined;
76
77
  id: string;
77
78
  event: "ORDERING" | "MARKETING";
78
79
  };
79
- notifyUrl: string;
80
80
  methods: {
81
81
  rate?: {
82
82
  amount: number;
@@ -87,7 +87,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
87
87
  precision: number;
88
88
  } | null | undefined;
89
89
  tPlus?: number | null | undefined;
90
- 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";
90
+ 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";
91
91
  variant: string;
92
92
  }[];
93
93
  businessId: string;
@@ -95,21 +95,22 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
95
95
  } & import("pinia").PiniaCustomStateProperties<PayoutAccountState>) => {
96
96
  enable?: boolean | null | undefined;
97
97
  gateways?: ({
98
+ paymentGateway: "REVENUE_MONSTER";
98
99
  config: {
99
100
  clientId: string;
100
101
  clientPrivateKey: string;
101
102
  clientSecret: string;
102
103
  storeId: string;
103
104
  };
104
- paymentGateway: "REVENUE_MONSTER";
105
105
  } | {
106
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
106
107
  config: {
107
108
  merchantId: string;
108
109
  secretKey: string;
109
110
  verifyKey: string;
110
111
  };
111
- paymentGateway: "RAZER_MERCHANT_SERVICE";
112
112
  } | {
113
+ paymentGateway: "MACAU_PASS";
113
114
  config: {
114
115
  merchantId: string;
115
116
  merchantName: string;
@@ -117,33 +118,33 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
117
118
  storeID: string;
118
119
  storeName: string;
119
120
  };
120
- paymentGateway: "MACAU_PASS";
121
121
  } | {
122
+ paymentGateway: "DIGIO";
122
123
  config: {
123
124
  merchantId: string;
124
125
  cardMerchantId: string;
125
126
  };
126
- paymentGateway: "DIGIO";
127
127
  } | {
128
+ paymentGateway: "ADYEN";
128
129
  config: {
129
130
  hmacKey?: string | null | undefined;
130
131
  merchantAccount: string;
131
132
  username: string;
132
133
  apiKey: string;
133
- clientKey: string;
134
134
  endpoint: string;
135
+ clientKey: string;
135
136
  };
136
- paymentGateway: "ADYEN";
137
137
  } | {
138
+ paymentGateway: "KSHER";
138
139
  config: {
139
- appId: string;
140
140
  privateKey: string;
141
+ appId: string;
141
142
  };
142
- paymentGateway: "KSHER";
143
143
  })[] | null | undefined;
144
144
  ref?: any;
145
- status: "NEW" | "PENDING" | "APPROVED";
146
145
  _id: string;
146
+ status: "NEW" | "PENDING" | "APPROVED";
147
+ notifyUrl: string;
147
148
  store: {
148
149
  bank?: {
149
150
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
@@ -157,14 +158,13 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
157
158
  bankStatement?: string | null | undefined;
158
159
  exteriorPhoto?: string | null | undefined;
159
160
  keyPerson?: {
161
+ email: string;
160
162
  name: string;
161
163
  phone: string;
162
- email: string;
163
164
  } | null | undefined;
164
165
  id: string;
165
166
  event: "ORDERING" | "MARKETING";
166
167
  };
167
- notifyUrl: string;
168
168
  methods: {
169
169
  rate?: {
170
170
  amount: number;
@@ -175,7 +175,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
175
175
  precision: number;
176
176
  } | null | undefined;
177
177
  tPlus?: number | null | undefined;
178
- 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";
178
+ 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";
179
179
  variant: string;
180
180
  }[];
181
181
  businessId: string;