@feedmepos/mf-payment 1.2.3 → 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-CcD9G3tM.js → PayoutAccount-CFFgQ_65.js} +6 -6
  2. package/dist/{PayoutAccount-DqbpQ8mY.js → PayoutAccount-CSm0Ldg9.js} +5 -5
  3. package/dist/{PayoutAccountSetting-C2PsyDLM.js → PayoutAccountSetting-rO11Afiw.js} +326 -312
  4. package/dist/{Restaurant-C90F0Stw.js → Restaurant-CoNFB1rk.js} +4 -4
  5. package/dist/RestaurantSetting-BQvg8S_p.js +628 -0
  6. package/dist/{Settlement-CD1Vm7TK.js → Settlement-DEKvU0zP.js} +3 -3
  7. package/dist/{Settlement-DxkW-ltZ.js → Settlement-DpmBq0V9.js} +3 -3
  8. package/dist/{SettlementTransactions-Bj85X5dx.js → SettlementTransactions-3alZwucT.js} +3 -3
  9. package/dist/{SettlementTransactions-D6dyfrsh.js → SettlementTransactions-DugNdpd2.js} +3 -3
  10. package/dist/{Terminal-WFU6xb6H.js → Terminal-Dv7zS_te.js} +5 -5
  11. package/dist/TerminalSetting-ChM9jB-O.js +572 -0
  12. package/dist/{Transaction-CB62_jSg.js → Transaction-CT8Be7FS.js} +7 -7
  13. package/dist/{Transaction-PRcVVkhp.js → Transaction-DCKhuoVw.js} +5 -5
  14. package/dist/{TransactionOld-B0P4HXt8.js → TransactionOld-jkTy7Aeb.js} +4 -4
  15. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-jF4UYhQi.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-S42F2ZTb.js → app-CiHNgoQY.js} +344 -344
  18. package/dist/app.js +1 -1
  19. package/dist/{assets-wSUxHhv6.js → assets-BqjaEXmB.js} +2 -2
  20. package/dist/{grafana-kQY3riiN.js → grafana-Bwx9Kj61.js} +1 -1
  21. package/dist/{index-C3OElkUY.js → index-1q4ZbRix.js} +4219 -4167
  22. package/dist/{index-DcK-ntIi.js → index-BIDuwnm_.js} +1 -1
  23. package/dist/{index-C_3jgmep.js → index-C3fxBVdz.js} +1 -1
  24. package/dist/{index-B-2fIhCU.js → index-CCIVpogO.js} +1 -1
  25. package/dist/{index-JkEYKC8p.js → index-CN50SqVG.js} +1 -1
  26. package/dist/{index-CiIXIJ1u.js → index-CZrwq9oF.js} +1 -1
  27. package/dist/{index-Bj2Rs1vj.js → index-CyMElhGL.js} +2 -2
  28. package/dist/{index.vue_vue_type_script_setup_true_lang-C1ogwxl8.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-zISZXeYt.js → payout-account-cg0CKkbk.js} +3 -3
  31. package/dist/stores/payoutAccount.d.ts +18 -14
  32. package/dist/tsconfig.app.tsbuildinfo +1 -1
  33. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +18 -14
  34. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +44 -40
  35. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +44 -40
  36. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +18 -14
  37. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +18 -14
  38. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +44 -40
  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 +6 -2
  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/terminal/TerminalDialog.vue.d.ts +18 -18
  48. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +18 -18
  49. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +18 -18
  50. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +18 -18
  51. package/dist/views/admin/terminal/tabs/{SoftspaceGateway.vue.d.ts → SoftposGateway.vue.d.ts} +18 -18
  52. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +18 -18
  53. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +18 -18
  54. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +36 -28
  55. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +56 -56
  56. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +28 -28
  57. package/package.json +2 -2
  58. package/dist/RestaurantSetting-ECCLE0zj.js +0 -501
  59. package/dist/TerminalSetting-DSCFAQht.js +0 -618
  60. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +0 -92
@@ -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-C3OElkUY.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-C3OElkUY.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-C3OElkUY.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-C3OElkUY.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-C3OElkUY.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-C3OElkUY.js";
2
- import "./index-JkEYKC8p.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-C3OElkUY.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.3",
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.7",
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-S42F2ZTb.js";
2
- import { a as ht, c as dt, d as ft } from "./index-C3OElkUY.js";
3
- import { _ as G } from "./index-JkEYKC8p.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,30 +5,32 @@ 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;
29
+ storeName: string;
30
30
  };
31
+ paymentGateway: "MACAU_PASS";
31
32
  })[] | null | undefined;
33
+ enable?: boolean | null | undefined;
32
34
  ref?: any;
33
35
  _id: string;
34
36
  status: "NEW" | "PENDING" | "APPROVED";
@@ -39,8 +41,8 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
39
41
  holderName?: string | null | undefined;
40
42
  name: string;
41
43
  } | null | undefined;
42
- ssm?: string | null | undefined;
43
44
  bankStatement?: string | null | undefined;
45
+ ssm?: string | null | undefined;
44
46
  exteriorPhoto?: string | null | undefined;
45
47
  keyPerson?: {
46
48
  name: string;
@@ -51,6 +53,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
51
53
  event: "ORDERING" | "MARKETING";
52
54
  };
53
55
  notifyUrl: string;
56
+ businessId: string;
54
57
  methods: {
55
58
  rate?: {
56
59
  amount: number;
@@ -60,33 +63,34 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
60
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";
61
64
  variant: string;
62
65
  }[];
63
- businessId: string;
64
66
  }[];
65
67
  } & import("pinia").PiniaCustomStateProperties<PayoutAccountState>) => {
66
- enable?: boolean | null | undefined;
67
68
  gateways?: ({
68
- paymentGateway: "REVENUE_MONSTER";
69
69
  config: {
70
70
  clientId: string;
71
71
  clientPrivateKey: string;
72
72
  clientSecret: string;
73
73
  storeId: string;
74
74
  };
75
+ paymentGateway: "REVENUE_MONSTER";
75
76
  } | {
76
- paymentGateway: "RAZER_MERCHANT_SERVICE";
77
77
  config: {
78
- merchantId: string;
79
78
  secretKey: string;
79
+ merchantId: string;
80
80
  verifyKey: string;
81
81
  };
82
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
82
83
  } | {
83
- paymentGateway: "MACAU_PASS";
84
84
  config: {
85
85
  merchantId: string;
86
+ storeID: string;
86
87
  merchantName: string;
87
88
  merchantCategoryCode: string;
89
+ storeName: string;
88
90
  };
91
+ paymentGateway: "MACAU_PASS";
89
92
  })[] | null | undefined;
93
+ enable?: boolean | null | undefined;
90
94
  ref?: any;
91
95
  _id: string;
92
96
  status: "NEW" | "PENDING" | "APPROVED";
@@ -97,8 +101,8 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
97
101
  holderName?: string | null | undefined;
98
102
  name: string;
99
103
  } | null | undefined;
100
- ssm?: string | null | undefined;
101
104
  bankStatement?: string | null | undefined;
105
+ ssm?: string | null | undefined;
102
106
  exteriorPhoto?: string | null | undefined;
103
107
  keyPerson?: {
104
108
  name: string;
@@ -109,6 +113,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
109
113
  event: "ORDERING" | "MARKETING";
110
114
  };
111
115
  notifyUrl: string;
116
+ businessId: string;
112
117
  methods: {
113
118
  rate?: {
114
119
  amount: number;
@@ -118,7 +123,6 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
118
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";
119
124
  variant: string;
120
125
  }[];
121
- businessId: string;
122
126
  }[];
123
127
  }, {
124
128
  readBusinessPayoutAccounts(): Promise<void>;