@feedmepos/mf-payment 1.2.1 → 1.2.3

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 (59) hide show
  1. package/dist/{PDFViewer-BQfgFexr.js → PDFViewer-xrBtzrlR.js} +1 -2
  2. package/dist/{PayoutAccount-D8R2kieb.js → PayoutAccount-CcD9G3tM.js} +6 -6
  3. package/dist/{PayoutAccount-CajKtGCP.js → PayoutAccount-DqbpQ8mY.js} +7 -7
  4. package/dist/PayoutAccountSetting-C2PsyDLM.js +956 -0
  5. package/dist/{Restaurant-Dbp_UTNd.js → Restaurant-C90F0Stw.js} +4 -4
  6. package/dist/RestaurantSetting-ECCLE0zj.js +501 -0
  7. package/dist/{Settlement-D47q_Wmh.js → Settlement-CD1Vm7TK.js} +3 -3
  8. package/dist/{Settlement-CIl7p5BM.js → Settlement-DxkW-ltZ.js} +3 -3
  9. package/dist/{SettlementTransactions-BSN_bqJ2.js → SettlementTransactions-Bj85X5dx.js} +3 -3
  10. package/dist/{SettlementTransactions-VhSpt9Ya.js → SettlementTransactions-D6dyfrsh.js} +3 -3
  11. package/dist/{Terminal-DhDp8CZP.js → Terminal-WFU6xb6H.js} +36 -36
  12. package/dist/{TerminalSetting-Z4Yf71s4.js → TerminalSetting-DSCFAQht.js} +218 -212
  13. package/dist/{Transaction-DodA1Rsr.js → Transaction-CB62_jSg.js} +7 -7
  14. package/dist/{Transaction-DfqdJTc4.js → Transaction-PRcVVkhp.js} +5 -5
  15. package/dist/{TransactionOld-BVC2EZES.js → TransactionOld-B0P4HXt8.js} +4 -4
  16. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-BSQyjy9r.js → TransactionTable.vue_vue_type_script_setup_true_lang-jF4UYhQi.js} +3 -3
  17. package/dist/{app-DO-yUYMX.js → app-S42F2ZTb.js} +381 -381
  18. package/dist/app.js +1 -1
  19. package/dist/{assets-Afjskent.js → assets-wSUxHhv6.js} +2 -2
  20. package/dist/{grafana-Bx1CNAeG.js → grafana-kQY3riiN.js} +1 -1
  21. package/dist/{index-eVDNyUp0.js → index-B-2fIhCU.js} +1 -1
  22. package/dist/{index-BG-pqgpq.js → index-Bj2Rs1vj.js} +2 -2
  23. package/dist/{index-DcA8mNkW.js → index-C3OElkUY.js} +7830 -7804
  24. package/dist/{index-9ImIPLpT.js → index-C_3jgmep.js} +1 -1
  25. package/dist/{index-DjMmMfFw.js → index-CiIXIJ1u.js} +1 -1
  26. package/dist/{index-CWjhBRl-.js → index-DcK-ntIi.js} +1 -1
  27. package/dist/{index-DJFB47Iu.js → index-JkEYKC8p.js} +1 -1
  28. package/dist/{index.vue_vue_type_script_setup_true_lang-Pj1GGD11.js → index.vue_vue_type_script_setup_true_lang-C1ogwxl8.js} +1 -1
  29. package/dist/package.json +4 -4
  30. package/dist/{payout-account-1UTg_py3.js → payout-account-zISZXeYt.js} +3 -3
  31. package/dist/stores/payoutAccount.d.ts +54 -8
  32. package/dist/tsconfig.app.tsbuildinfo +1 -1
  33. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +54 -8
  34. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +26 -12
  35. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +26 -12
  36. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +54 -8
  37. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +54 -8
  38. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +26 -12
  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 +42 -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 +8 -8
  43. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +8 -8
  44. package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +54 -0
  45. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
  46. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +20 -20
  47. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +22 -20
  48. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +20 -20
  49. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +20 -20
  50. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +20 -20
  51. package/dist/views/admin/terminal/tabs/SoftspaceGateway.vue.d.ts +20 -20
  52. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +20 -20
  53. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +20 -20
  54. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +108 -16
  55. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +44 -44
  56. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +22 -22
  57. package/package.json +4 -4
  58. package/dist/PayoutAccountSetting-DQqH71Pj.js +0 -890
  59. package/dist/RestaurantSetting-dem9GccJ.js +0 -412
@@ -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-C3OElkUY.js";
4
4
  var d = {};
5
5
  (function(s) {
6
6
  (function(c) {
@@ -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-C3OElkUY.js";
2
2
  const y = {
3
3
  async create(e) {
4
4
  return s(
@@ -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-C3OElkUY.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 { 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-C3OElkUY.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-C3OElkUY.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.3",
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.7",
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-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";
4
4
  import { useCoreStore as _t } from "@feedmepos/mf-common";
5
5
  /**
6
6
  * @license
@@ -6,9 +6,32 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
6
6
  getBusinessPayoutAccounts: (state: {
7
7
  businessPayoutAccounts: {
8
8
  enable?: boolean | null | undefined;
9
+ gateways?: ({
10
+ paymentGateway: "REVENUE_MONSTER";
11
+ config: {
12
+ clientId: string;
13
+ clientPrivateKey: string;
14
+ clientSecret: string;
15
+ storeId: string;
16
+ };
17
+ } | {
18
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
19
+ config: {
20
+ merchantId: string;
21
+ secretKey: string;
22
+ verifyKey: string;
23
+ };
24
+ } | {
25
+ paymentGateway: "MACAU_PASS";
26
+ config: {
27
+ merchantId: string;
28
+ merchantName: string;
29
+ merchantCategoryCode: string;
30
+ };
31
+ })[] | null | undefined;
9
32
  ref?: any;
33
+ _id: string;
10
34
  status: "NEW" | "PENDING" | "APPROVED";
11
- notifyUrl: string;
12
35
  store: {
13
36
  bank?: {
14
37
  type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
@@ -16,8 +39,8 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
16
39
  holderName?: string | null | undefined;
17
40
  name: string;
18
41
  } | null | undefined;
19
- bankStatement?: string | null | undefined;
20
42
  ssm?: string | null | undefined;
43
+ bankStatement?: string | null | undefined;
21
44
  exteriorPhoto?: string | null | undefined;
22
45
  keyPerson?: {
23
46
  name: string;
@@ -27,23 +50,46 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
27
50
  id: string;
28
51
  event: "ORDERING" | "MARKETING";
29
52
  };
30
- _id: string;
53
+ notifyUrl: string;
31
54
  methods: {
32
55
  rate?: {
33
56
  amount: number;
34
57
  precision: number;
35
58
  } | null | undefined;
36
59
  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";
60
+ 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";
38
61
  variant: string;
39
62
  }[];
40
63
  businessId: string;
41
64
  }[];
42
65
  } & import("pinia").PiniaCustomStateProperties<PayoutAccountState>) => {
43
66
  enable?: boolean | null | undefined;
67
+ gateways?: ({
68
+ paymentGateway: "REVENUE_MONSTER";
69
+ config: {
70
+ clientId: string;
71
+ clientPrivateKey: string;
72
+ clientSecret: string;
73
+ storeId: string;
74
+ };
75
+ } | {
76
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
77
+ config: {
78
+ merchantId: string;
79
+ secretKey: string;
80
+ verifyKey: string;
81
+ };
82
+ } | {
83
+ paymentGateway: "MACAU_PASS";
84
+ config: {
85
+ merchantId: string;
86
+ merchantName: string;
87
+ merchantCategoryCode: string;
88
+ };
89
+ })[] | null | undefined;
44
90
  ref?: any;
91
+ _id: string;
45
92
  status: "NEW" | "PENDING" | "APPROVED";
46
- notifyUrl: string;
47
93
  store: {
48
94
  bank?: {
49
95
  type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
@@ -51,8 +97,8 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
51
97
  holderName?: string | null | undefined;
52
98
  name: string;
53
99
  } | null | undefined;
54
- bankStatement?: string | null | undefined;
55
100
  ssm?: string | null | undefined;
101
+ bankStatement?: string | null | undefined;
56
102
  exteriorPhoto?: string | null | undefined;
57
103
  keyPerson?: {
58
104
  name: string;
@@ -62,14 +108,14 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
62
108
  id: string;
63
109
  event: "ORDERING" | "MARKETING";
64
110
  };
65
- _id: string;
111
+ notifyUrl: string;
66
112
  methods: {
67
113
  rate?: {
68
114
  amount: number;
69
115
  precision: number;
70
116
  } | null | undefined;
71
117
  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";
118
+ 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";
73
119
  variant: string;
74
120
  }[];
75
121
  businessId: string;