@feedmepos/mf-payment 1.2.5 → 1.2.6

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/{PayoutAccount-D9LY7i1J.js → PayoutAccount-CFFgQ_65.js} +6 -6
  2. package/dist/{PayoutAccount-DEoI6K0j.js → PayoutAccount-CSm0Ldg9.js} +5 -5
  3. package/dist/{PayoutAccountSetting-5lrvWFIz.js → PayoutAccountSetting-rO11Afiw.js} +3 -3
  4. package/dist/{Restaurant-AxoM-AsE.js → Restaurant-CoNFB1rk.js} +4 -4
  5. package/dist/RestaurantSetting-BQvg8S_p.js +628 -0
  6. package/dist/{Settlement-D4CsP3fg.js → Settlement-DEKvU0zP.js} +3 -3
  7. package/dist/{Settlement-DDwe_w3m.js → Settlement-DpmBq0V9.js} +3 -3
  8. package/dist/{SettlementTransactions-Cmv7dqVI.js → SettlementTransactions-3alZwucT.js} +3 -3
  9. package/dist/{SettlementTransactions-Dp3nN442.js → SettlementTransactions-DugNdpd2.js} +3 -3
  10. package/dist/{Terminal-B8UQH6ga.js → Terminal-Dv7zS_te.js} +5 -5
  11. package/dist/{TerminalSetting-yRok1Iuc.js → TerminalSetting-ChM9jB-O.js} +3 -3
  12. package/dist/{Transaction-KkfCz4Cu.js → Transaction-CT8Be7FS.js} +7 -7
  13. package/dist/{Transaction-BZ7H6oB_.js → Transaction-DCKhuoVw.js} +5 -5
  14. package/dist/{TransactionOld-BLpQHFH1.js → TransactionOld-jkTy7Aeb.js} +4 -4
  15. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-C4Bb203Q.js → TransactionTable.vue_vue_type_script_setup_true_lang-B_By7BvK.js} +3 -3
  16. package/dist/api/payment-gateway/index.d.ts +3 -0
  17. package/dist/{app-I2TNuZCs.js → app-CiHNgoQY.js} +181 -181
  18. package/dist/app.js +1 -1
  19. package/dist/{assets-D5Qc4r7j.js → assets-BqjaEXmB.js} +2 -2
  20. package/dist/{grafana-BAbIv4CF.js → grafana-Bwx9Kj61.js} +1 -1
  21. package/dist/{index-D209n4gS.js → index-1q4ZbRix.js} +4203 -4162
  22. package/dist/{index-CnGVTtwu.js → index-BIDuwnm_.js} +1 -1
  23. package/dist/{index-Cc0abuxv.js → index-C3fxBVdz.js} +1 -1
  24. package/dist/{index-DGcRvKvr.js → index-CCIVpogO.js} +1 -1
  25. package/dist/{index-CguRXKmG.js → index-CN50SqVG.js} +1 -1
  26. package/dist/{index-bOlAWIVP.js → index-CZrwq9oF.js} +1 -1
  27. package/dist/{index-1NP0WkxZ.js → index-CyMElhGL.js} +2 -2
  28. package/dist/{index.vue_vue_type_script_setup_true_lang-HYqCCZsZ.js → index.vue_vue_type_script_setup_true_lang-DT8A92zR.js} +1 -1
  29. package/dist/package.json +2 -2
  30. package/dist/{payout-account-DNGKjfY1.js → payout-account-cg0CKkbk.js} +3 -3
  31. package/dist/stores/payoutAccount.d.ts +18 -18
  32. package/dist/tsconfig.app.tsbuildinfo +1 -1
  33. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +18 -18
  34. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +44 -44
  35. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +44 -44
  36. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +18 -18
  37. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +18 -18
  38. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +44 -44
  39. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +4 -4
  40. package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
  41. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  42. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +10 -10
  43. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +10 -10
  44. package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +46 -0
  45. package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +10 -10
  46. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +8 -8
  47. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +4 -4
  48. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +18 -18
  49. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +18 -18
  50. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +18 -18
  51. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +18 -18
  52. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +18 -18
  53. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +18 -18
  54. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +18 -18
  55. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +36 -36
  56. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +36 -36
  57. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +18 -18
  58. package/dist/views/settlement/SettlementTable.vue.d.ts +4 -4
  59. package/package.json +2 -2
  60. package/dist/RestaurantSetting-B6LQF664.js +0 -501
@@ -1,4 +1,4 @@
1
- import { g as r, b as i, m as c, l as d, n as y, i as l, r as m } from "./index-D209n4gS.js";
1
+ import { g as r, b as i, m as c, l as d, n as y, i as l, r as m } from "./index-1q4ZbRix.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,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 { d as y } from "./index-D209n4gS.js";
3
+ import { d as y } from "./index-1q4ZbRix.js";
4
4
  var d = {};
5
5
  (function(s) {
6
6
  (function(c) {
@@ -1,4 +1,4 @@
1
- import { b as r, g as e } from "./index-D209n4gS.js";
1
+ import { b as r, g as e } from "./index-1q4ZbRix.js";
2
2
  const n = {
3
3
  async readRestaurantById(t) {
4
4
  const a = await r().get(`/restaurants/${t}`);
@@ -1,4 +1,4 @@
1
- import { j as o, k as f, c as i } from "./index-D209n4gS.js";
1
+ import { j as o, k as f, c as i } from "./index-1q4ZbRix.js";
2
2
  var d = {}, O = {}, u = {};
3
3
  Object.defineProperty(u, "__esModule", { value: !0 });
4
4
  u.F_PAYMENT_TRANSACTION_GROUP = u.F_PAYMENT_TRANSACTION_STATUS = u.F_PAYMENT_GATEWAY_KEY = u.F_PAYMENT_TYPE = u.F_PAYMENT_FOR = void 0;
@@ -1,4 +1,4 @@
1
- import { f as s, b as t, g as a, h as r, p as i } from "./index-D209n4gS.js";
1
+ import { f as s, b as t, g as a, h as r, p as i } from "./index-1q4ZbRix.js";
2
2
  const y = {
3
3
  async create(e) {
4
4
  return s(
@@ -1,5 +1,5 @@
1
- import { f as e, b as n, g as s, h as u } from "./index-D209n4gS.js";
2
- import "./index-CguRXKmG.js";
1
+ import { f as e, b as n, g as s, h as u } from "./index-1q4ZbRix.js";
2
+ import "./index-CN50SqVG.js";
3
3
  const r = {
4
4
  async read(a) {
5
5
  return e(
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as I, ref as r, resolveComponent as p, openBlock as f, createBlock as L, withCtx as P, createVNode as d, createElementVNode as u, normalizeStyle as T, createElementBlock as M, Fragment as N, renderList as j, computed as C, watch as S, onMounted as E, unref as D, toDisplayString as B, createCommentVNode as O, normalizeClass as R } from "vue";
2
- import { u as G } from "./index-D209n4gS.js";
2
+ import { u as G } from "./index-1q4ZbRix.js";
3
3
  import "@feedmepos/ui-library";
4
4
  const H = ["id"], U = /* @__PURE__ */ I({
5
5
  __name: "FmTableSelection",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -34,7 +34,7 @@
34
34
  "@feedmepos/core": "^2.6.0",
35
35
  "@feedmepos/mf-common": "^1.26.8",
36
36
  "vue-i18n": "10.0.5",
37
- "@feedmepos/payment-entity": "^0.1.8",
37
+ "@feedmepos/payment-entity": "^0.1.9",
38
38
  "@feedmepos/ui-library": "^1.6.8",
39
39
  "axios": "^0.27.2",
40
40
  "buffer": "^6.0.3",
@@ -1,6 +1,6 @@
1
- import { _ as rt, C as st, r as ye, S as it, g as re, a as ot, b as at, c as pe, F as ut, d as ct, e as lt } from "./app-I2TNuZCs.js";
2
- import { a as ht, c as dt, d as ft } from "./index-D209n4gS.js";
3
- import { _ as G } from "./index-CguRXKmG.js";
1
+ import { _ as rt, C as st, r as ye, S as it, g as re, a as ot, b as at, c as pe, F as ut, d as ct, e as lt } from "./app-CiHNgoQY.js";
2
+ import { a as ht, c as dt, d as ft } from "./index-1q4ZbRix.js";
3
+ import { _ as G } from "./index-CN50SqVG.js";
4
4
  import { useCoreStore as _t } from "@feedmepos/mf-common";
5
5
  /**
6
6
  * @license
@@ -5,36 +5,35 @@ interface PayoutAccountState {
5
5
  export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-payment-payoutAccount", PayoutAccountState, {
6
6
  getBusinessPayoutAccounts: (state: {
7
7
  businessPayoutAccounts: {
8
- enable?: boolean | null | undefined;
9
8
  gateways?: ({
10
- paymentGateway: "REVENUE_MONSTER";
11
9
  config: {
12
10
  clientId: string;
13
11
  clientPrivateKey: string;
14
12
  clientSecret: string;
15
13
  storeId: string;
16
14
  };
15
+ paymentGateway: "REVENUE_MONSTER";
17
16
  } | {
18
- paymentGateway: "RAZER_MERCHANT_SERVICE";
19
17
  config: {
20
- merchantId: string;
21
18
  secretKey: string;
19
+ merchantId: string;
22
20
  verifyKey: string;
23
21
  };
22
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
24
23
  } | {
25
- paymentGateway: "MACAU_PASS";
26
24
  config: {
27
25
  merchantId: string;
26
+ storeID: string;
28
27
  merchantName: string;
29
28
  merchantCategoryCode: string;
30
- storeID: string;
31
29
  storeName: string;
32
30
  };
31
+ paymentGateway: "MACAU_PASS";
33
32
  })[] | null | undefined;
33
+ enable?: boolean | null | undefined;
34
34
  ref?: any;
35
- status: "NEW" | "PENDING" | "APPROVED";
36
35
  _id: string;
37
- notifyUrl: string;
36
+ status: "NEW" | "PENDING" | "APPROVED";
38
37
  store: {
39
38
  bank?: {
40
39
  type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
@@ -53,6 +52,8 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
53
52
  id: string;
54
53
  event: "ORDERING" | "MARKETING";
55
54
  };
55
+ notifyUrl: string;
56
+ businessId: string;
56
57
  methods: {
57
58
  rate?: {
58
59
  amount: number;
@@ -62,39 +63,37 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
62
63
  issuer: "MACAU_PASS" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "CASH" | "PAYNOW" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS";
63
64
  variant: string;
64
65
  }[];
65
- businessId: string;
66
66
  }[];
67
67
  } & import("pinia").PiniaCustomStateProperties<PayoutAccountState>) => {
68
- enable?: boolean | null | undefined;
69
68
  gateways?: ({
70
- paymentGateway: "REVENUE_MONSTER";
71
69
  config: {
72
70
  clientId: string;
73
71
  clientPrivateKey: string;
74
72
  clientSecret: string;
75
73
  storeId: string;
76
74
  };
75
+ paymentGateway: "REVENUE_MONSTER";
77
76
  } | {
78
- paymentGateway: "RAZER_MERCHANT_SERVICE";
79
77
  config: {
80
- merchantId: string;
81
78
  secretKey: string;
79
+ merchantId: string;
82
80
  verifyKey: string;
83
81
  };
82
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
84
83
  } | {
85
- paymentGateway: "MACAU_PASS";
86
84
  config: {
87
85
  merchantId: string;
86
+ storeID: string;
88
87
  merchantName: string;
89
88
  merchantCategoryCode: string;
90
- storeID: string;
91
89
  storeName: string;
92
90
  };
91
+ paymentGateway: "MACAU_PASS";
93
92
  })[] | null | undefined;
93
+ enable?: boolean | null | undefined;
94
94
  ref?: any;
95
- status: "NEW" | "PENDING" | "APPROVED";
96
95
  _id: string;
97
- notifyUrl: string;
96
+ status: "NEW" | "PENDING" | "APPROVED";
98
97
  store: {
99
98
  bank?: {
100
99
  type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
@@ -113,6 +112,8 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
113
112
  id: string;
114
113
  event: "ORDERING" | "MARKETING";
115
114
  };
115
+ notifyUrl: string;
116
+ businessId: string;
116
117
  methods: {
117
118
  rate?: {
118
119
  amount: number;
@@ -122,7 +123,6 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
122
123
  issuer: "MACAU_PASS" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "CASH" | "PAYNOW" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS";
123
124
  variant: string;
124
125
  }[];
125
- businessId: string;
126
126
  }[];
127
127
  }, {
128
128
  readBusinessPayoutAccounts(): Promise<void>;