@feedmepos/mf-payment 1.2.1 → 1.2.2

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 (61) hide show
  1. package/dist/{PDFViewer-BQfgFexr.js → PDFViewer-xrBtzrlR.js} +1 -2
  2. package/dist/{PayoutAccount-D8R2kieb.js → PayoutAccount-C1eI-Tha.js} +6 -6
  3. package/dist/{PayoutAccount-CajKtGCP.js → PayoutAccount-QY9LkR0r.js} +7 -7
  4. package/dist/PayoutAccountSetting-Bt-BBfpF.js +970 -0
  5. package/dist/{Restaurant-Dbp_UTNd.js → Restaurant-DMEt0GSf.js} +4 -4
  6. package/dist/RestaurantSetting-Bjgjx7_c.js +487 -0
  7. package/dist/{Settlement-D47q_Wmh.js → Settlement-DHczxjKA.js} +3 -3
  8. package/dist/{Settlement-CIl7p5BM.js → Settlement-PYl2xRrw.js} +3 -3
  9. package/dist/{SettlementTransactions-BSN_bqJ2.js → SettlementTransactions-B6eUs4ay.js} +3 -3
  10. package/dist/{SettlementTransactions-VhSpt9Ya.js → SettlementTransactions-Bn2-iO30.js} +3 -3
  11. package/dist/{Terminal-DhDp8CZP.js → Terminal-q9AtQVTw.js} +36 -36
  12. package/dist/{TerminalSetting-Z4Yf71s4.js → TerminalSetting-DKvLKsrH.js} +218 -212
  13. package/dist/{Transaction-DfqdJTc4.js → Transaction-BSDhGkTu.js} +5 -5
  14. package/dist/{Transaction-DodA1Rsr.js → Transaction-DlkiWPJt.js} +7 -7
  15. package/dist/{TransactionOld-BVC2EZES.js → TransactionOld-B93Kp78J.js} +4 -4
  16. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-BSQyjy9r.js → TransactionTable.vue_vue_type_script_setup_true_lang-DEgiifDL.js} +3 -3
  17. package/dist/{app-DO-yUYMX.js → app-B1yXzXMJ.js} +361 -361
  18. package/dist/app.js +1 -1
  19. package/dist/{assets-Afjskent.js → assets-DbCf2oTj.js} +2 -2
  20. package/dist/{grafana-Bx1CNAeG.js → grafana-CxvNheOh.js} +1 -1
  21. package/dist/{index-eVDNyUp0.js → index-BoafQG_3.js} +1 -1
  22. package/dist/{index-DcA8mNkW.js → index-BwmZGhzh.js} +7830 -7804
  23. package/dist/{index-CWjhBRl-.js → index-C9YbV874.js} +1 -1
  24. package/dist/{index-DjMmMfFw.js → index-DJx90D2_.js} +1 -1
  25. package/dist/{index-9ImIPLpT.js → index-DQ6y1YEM.js} +1 -1
  26. package/dist/{index-BG-pqgpq.js → index-DoWYy-5F.js} +2 -2
  27. package/dist/{index-DJFB47Iu.js → index-DrVrxzsm.js} +1 -1
  28. package/dist/{index.vue_vue_type_script_setup_true_lang-Pj1GGD11.js → index.vue_vue_type_script_setup_true_lang-BJAdIBCX.js} +1 -1
  29. package/dist/package.json +4 -4
  30. package/dist/{payout-account-1UTg_py3.js → payout-account-Cy0D7ycP.js} +3 -3
  31. package/dist/stores/payoutAccount.d.ts +62 -12
  32. package/dist/tsconfig.app.tsbuildinfo +1 -1
  33. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +62 -12
  34. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +38 -20
  35. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +38 -20
  36. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +62 -12
  37. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +62 -12
  38. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +38 -20
  39. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +2 -2
  40. package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +46 -1
  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 +6 -6
  43. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +2 -2
  44. package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +50 -0
  45. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +2 -2
  46. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
  47. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +12 -12
  48. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +14 -12
  49. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +12 -12
  50. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +12 -12
  51. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +12 -12
  52. package/dist/views/admin/terminal/tabs/SoftspaceGateway.vue.d.ts +12 -12
  53. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +12 -12
  54. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +12 -12
  55. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +124 -24
  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 +12 -12
  59. package/package.json +4 -4
  60. package/dist/PayoutAccountSetting-DQqH71Pj.js +0 -890
  61. package/dist/RestaurantSetting-dem9GccJ.js +0 -412
@@ -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-DcA8mNkW.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-BwmZGhzh.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,4 +1,4 @@
1
- import { f as s, b as t, g as a, h as r, p as i } from "./index-DcA8mNkW.js";
1
+ import { f as s, b as t, g as a, h as r, p as i } from "./index-BwmZGhzh.js";
2
2
  const y = {
3
3
  async create(e) {
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 { d as y } from "./index-DcA8mNkW.js";
3
+ import { d as y } from "./index-BwmZGhzh.js";
4
4
  var d = {};
5
5
  (function(s) {
6
6
  (function(c) {
@@ -1,5 +1,5 @@
1
- import { f as e, b as n, g as s, h as u } from "./index-DcA8mNkW.js";
2
- import "./index-DJFB47Iu.js";
1
+ import { f as e, b as n, g as s, h as u } from "./index-BwmZGhzh.js";
2
+ import "./index-DrVrxzsm.js";
3
3
  const r = {
4
4
  async read(a) {
5
5
  return e(
@@ -1,4 +1,4 @@
1
- import { j as o, k as f, c as i } from "./index-DcA8mNkW.js";
1
+ import { j as o, k as f, c as i } from "./index-BwmZGhzh.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,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-DcA8mNkW.js";
2
+ import { u as G } from "./index-BwmZGhzh.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.1",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -32,10 +32,10 @@
32
32
  "dependencies": {
33
33
  "@casl/ability": "^3.2.0",
34
34
  "@feedmepos/core": "^2.6.0",
35
- "@feedmepos/mf-common": "^1.11.6",
35
+ "@feedmepos/mf-common": "^1.26.8",
36
36
  "vue-i18n": "10.0.5",
37
- "@feedmepos/payment-entity": "^0.1.5",
38
- "@feedmepos/ui-library": "^1.3.9",
37
+ "@feedmepos/payment-entity": "^0.1.6",
38
+ "@feedmepos/ui-library": "^1.6.8",
39
39
  "axios": "^0.27.2",
40
40
  "buffer": "^6.0.3",
41
41
  "change-case": "^4.1.2",
@@ -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-DO-yUYMX.js";
2
- import { a as ht, c as dt, d as ft } from "./index-DcA8mNkW.js";
3
- import { _ as G } from "./index-DJFB47Iu.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-B1yXzXMJ.js";
2
+ import { a as ht, c as dt, d as ft } from "./index-BwmZGhzh.js";
3
+ import { _ as G } from "./index-DrVrxzsm.js";
4
4
  import { useCoreStore as _t } from "@feedmepos/mf-common";
5
5
  /**
6
6
  * @license
@@ -6,70 +6,120 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
6
6
  getBusinessPayoutAccounts: (state: {
7
7
  businessPayoutAccounts: {
8
8
  enable?: boolean | null | undefined;
9
+ gateways?: ({
10
+ config: {
11
+ clientId: string;
12
+ clientPrivateKey: string;
13
+ clientSecret: string;
14
+ storeId: string;
15
+ };
16
+ paymentGateway: "REVENUE_MONSTER";
17
+ } | {
18
+ config: {
19
+ merchantId: string;
20
+ secretKey: string;
21
+ verifyKey: string;
22
+ };
23
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
24
+ } | {
25
+ config: {
26
+ merchantId: string;
27
+ merchantName: string;
28
+ merchantCategoryCode: string;
29
+ storeID: string;
30
+ storeName: string;
31
+ };
32
+ paymentGateway: "MACAU_PASS";
33
+ })[] | null | undefined;
9
34
  ref?: any;
35
+ _id: string;
10
36
  status: "NEW" | "PENDING" | "APPROVED";
11
- notifyUrl: string;
12
37
  store: {
13
38
  bank?: {
14
39
  type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
15
- accountNumber?: string | null | undefined;
16
40
  holderName?: string | null | undefined;
41
+ accountNumber?: string | null | undefined;
17
42
  name: string;
18
43
  } | null | undefined;
19
- bankStatement?: string | null | undefined;
20
44
  ssm?: string | null | undefined;
45
+ bankStatement?: string | null | undefined;
21
46
  exteriorPhoto?: string | null | undefined;
22
47
  keyPerson?: {
48
+ email: string;
23
49
  name: string;
24
50
  phone: string;
25
- email: string;
26
51
  } | null | undefined;
27
52
  id: string;
28
53
  event: "ORDERING" | "MARKETING";
29
54
  };
30
- _id: string;
55
+ notifyUrl: string;
31
56
  methods: {
32
57
  rate?: {
33
58
  amount: number;
34
59
  precision: number;
35
60
  } | null | undefined;
36
61
  tPlus?: number | null | undefined;
37
- issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "PAYNOW" | "VISA" | "MASTER" | "MYDEBIT" | "MACAU_PASS" | "AMEX" | "CASH" | "JCB" | "DISCOVER" | "DINERS";
62
+ issuer: "MACAU_PASS" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "PAYNOW" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "CASH" | "JCB" | "DISCOVER" | "DINERS";
38
63
  variant: string;
39
64
  }[];
40
65
  businessId: string;
41
66
  }[];
42
67
  } & import("pinia").PiniaCustomStateProperties<PayoutAccountState>) => {
43
68
  enable?: boolean | null | undefined;
69
+ gateways?: ({
70
+ config: {
71
+ clientId: string;
72
+ clientPrivateKey: string;
73
+ clientSecret: string;
74
+ storeId: string;
75
+ };
76
+ paymentGateway: "REVENUE_MONSTER";
77
+ } | {
78
+ config: {
79
+ merchantId: string;
80
+ secretKey: string;
81
+ verifyKey: string;
82
+ };
83
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
84
+ } | {
85
+ config: {
86
+ merchantId: string;
87
+ merchantName: string;
88
+ merchantCategoryCode: string;
89
+ storeID: string;
90
+ storeName: string;
91
+ };
92
+ paymentGateway: "MACAU_PASS";
93
+ })[] | null | undefined;
44
94
  ref?: any;
95
+ _id: string;
45
96
  status: "NEW" | "PENDING" | "APPROVED";
46
- notifyUrl: string;
47
97
  store: {
48
98
  bank?: {
49
99
  type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
50
- accountNumber?: string | null | undefined;
51
100
  holderName?: string | null | undefined;
101
+ accountNumber?: string | null | undefined;
52
102
  name: string;
53
103
  } | null | undefined;
54
- bankStatement?: string | null | undefined;
55
104
  ssm?: string | null | undefined;
105
+ bankStatement?: string | null | undefined;
56
106
  exteriorPhoto?: string | null | undefined;
57
107
  keyPerson?: {
108
+ email: string;
58
109
  name: string;
59
110
  phone: string;
60
- email: string;
61
111
  } | null | undefined;
62
112
  id: string;
63
113
  event: "ORDERING" | "MARKETING";
64
114
  };
65
- _id: string;
115
+ notifyUrl: string;
66
116
  methods: {
67
117
  rate?: {
68
118
  amount: number;
69
119
  precision: number;
70
120
  } | null | undefined;
71
121
  tPlus?: number | null | undefined;
72
- issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "PAYNOW" | "VISA" | "MASTER" | "MYDEBIT" | "MACAU_PASS" | "AMEX" | "CASH" | "JCB" | "DISCOVER" | "DINERS";
122
+ issuer: "MACAU_PASS" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "PAYNOW" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "CASH" | "JCB" | "DISCOVER" | "DINERS";
73
123
  variant: string;
74
124
  }[];
75
125
  businessId: string;