@feedmepos/mf-payment 1.2.2 → 1.2.5

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 (58) hide show
  1. package/dist/{PayoutAccount-C1eI-Tha.js → PayoutAccount-D9LY7i1J.js} +6 -6
  2. package/dist/{PayoutAccount-QY9LkR0r.js → PayoutAccount-DEoI6K0j.js} +5 -5
  3. package/dist/{PayoutAccountSetting-Bt-BBfpF.js → PayoutAccountSetting-5lrvWFIz.js} +3 -3
  4. package/dist/{Restaurant-DMEt0GSf.js → Restaurant-AxoM-AsE.js} +4 -4
  5. package/dist/{RestaurantSetting-Bjgjx7_c.js → RestaurantSetting-B6LQF664.js} +171 -157
  6. package/dist/{Settlement-DHczxjKA.js → Settlement-D4CsP3fg.js} +3 -3
  7. package/dist/{Settlement-PYl2xRrw.js → Settlement-DDwe_w3m.js} +3 -3
  8. package/dist/{SettlementTransactions-B6eUs4ay.js → SettlementTransactions-Cmv7dqVI.js} +3 -3
  9. package/dist/{SettlementTransactions-Bn2-iO30.js → SettlementTransactions-Dp3nN442.js} +3 -3
  10. package/dist/{Terminal-q9AtQVTw.js → Terminal-B8UQH6ga.js} +5 -5
  11. package/dist/TerminalSetting-yRok1Iuc.js +572 -0
  12. package/dist/{Transaction-BSDhGkTu.js → Transaction-BZ7H6oB_.js} +5 -5
  13. package/dist/{Transaction-DlkiWPJt.js → Transaction-KkfCz4Cu.js} +7 -7
  14. package/dist/{TransactionOld-B93Kp78J.js → TransactionOld-BLpQHFH1.js} +4 -4
  15. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-DEgiifDL.js → TransactionTable.vue_vue_type_script_setup_true_lang-C4Bb203Q.js} +3 -3
  16. package/dist/{app-B1yXzXMJ.js → app-I2TNuZCs.js} +397 -397
  17. package/dist/app.js +1 -1
  18. package/dist/{assets-DbCf2oTj.js → assets-D5Qc4r7j.js} +2 -2
  19. package/dist/{grafana-CxvNheOh.js → grafana-BAbIv4CF.js} +1 -1
  20. package/dist/{index-DoWYy-5F.js → index-1NP0WkxZ.js} +2 -2
  21. package/dist/{index-DQ6y1YEM.js → index-Cc0abuxv.js} +1 -1
  22. package/dist/{index-DrVrxzsm.js → index-CguRXKmG.js} +1 -1
  23. package/dist/{index-C9YbV874.js → index-CnGVTtwu.js} +1 -1
  24. package/dist/{index-BwmZGhzh.js → index-D209n4gS.js} +317 -306
  25. package/dist/{index-BoafQG_3.js → index-DGcRvKvr.js} +1 -1
  26. package/dist/{index-DJx90D2_.js → index-bOlAWIVP.js} +1 -1
  27. package/dist/{index.vue_vue_type_script_setup_true_lang-BJAdIBCX.js → index.vue_vue_type_script_setup_true_lang-HYqCCZsZ.js} +1 -1
  28. package/dist/package.json +2 -2
  29. package/dist/{payout-account-Cy0D7ycP.js → payout-account-DNGKjfY1.js} +3 -3
  30. package/dist/stores/payoutAccount.d.ts +18 -18
  31. package/dist/tsconfig.app.tsbuildinfo +1 -1
  32. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +18 -18
  33. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +22 -22
  34. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +22 -22
  35. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +18 -18
  36. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +18 -18
  37. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +22 -22
  38. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +2 -2
  39. package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +2 -2
  40. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  41. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +8 -8
  42. package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +10 -6
  43. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
  44. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +8 -8
  45. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +8 -8
  46. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +8 -8
  47. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +8 -8
  48. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +8 -8
  49. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +8 -8
  50. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +8 -8
  51. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +36 -36
  52. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +40 -40
  53. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +20 -20
  54. package/dist/views/settlement/SettlementTable.vue.d.ts +8 -8
  55. package/package.json +2 -2
  56. package/dist/TerminalSetting-DKvLKsrH.js +0 -618
  57. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +0 -92
  58. package/dist/views/admin/terminal/tabs/{SoftspaceGateway.vue.d.ts → SoftposGateway.vue.d.ts} +8 -8
@@ -1,4 +1,4 @@
1
- import { b as r, g as e } from "./index-BwmZGhzh.js";
1
+ import { b as r, g as e } from "./index-D209n4gS.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 { f as s, b as t, g as a, h as r, p as i } from "./index-BwmZGhzh.js";
1
+ import { f as s, b as t, g as a, h as r, p as i } from "./index-D209n4gS.js";
2
2
  const y = {
3
3
  async create(e) {
4
4
  return s(
@@ -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-BwmZGhzh.js";
2
+ import { u as G } from "./index-D209n4gS.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.2",
3
+ "version": "1.2.5",
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.6",
37
+ "@feedmepos/payment-entity": "^0.1.8",
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-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";
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";
4
4
  import { useCoreStore as _t } from "@feedmepos/mf-common";
5
5
  /**
6
6
  * @license
@@ -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,37 +30,36 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
29
30
  storeID: string;
30
31
  storeName: string;
31
32
  };
32
- paymentGateway: "MACAU_PASS";
33
33
  })[] | null | undefined;
34
34
  ref?: any;
35
- _id: string;
36
35
  status: "NEW" | "PENDING" | "APPROVED";
36
+ _id: string;
37
+ notifyUrl: string;
37
38
  store: {
38
39
  bank?: {
39
40
  type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
40
- holderName?: string | null | undefined;
41
41
  accountNumber?: string | null | undefined;
42
+ holderName?: string | null | undefined;
42
43
  name: string;
43
44
  } | null | undefined;
44
- ssm?: string | null | undefined;
45
45
  bankStatement?: string | null | undefined;
46
+ ssm?: string | null | undefined;
46
47
  exteriorPhoto?: string | null | undefined;
47
48
  keyPerson?: {
48
- email: string;
49
49
  name: string;
50
50
  phone: string;
51
+ email: string;
51
52
  } | null | undefined;
52
53
  id: string;
53
54
  event: "ORDERING" | "MARKETING";
54
55
  };
55
- notifyUrl: string;
56
56
  methods: {
57
57
  rate?: {
58
58
  amount: number;
59
59
  precision: number;
60
60
  } | null | undefined;
61
61
  tPlus?: number | null | undefined;
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";
62
+ 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
63
  variant: string;
64
64
  }[];
65
65
  businessId: string;
@@ -67,21 +67,22 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
67
67
  } & import("pinia").PiniaCustomStateProperties<PayoutAccountState>) => {
68
68
  enable?: boolean | null | undefined;
69
69
  gateways?: ({
70
+ paymentGateway: "REVENUE_MONSTER";
70
71
  config: {
71
72
  clientId: string;
72
73
  clientPrivateKey: string;
73
74
  clientSecret: string;
74
75
  storeId: string;
75
76
  };
76
- paymentGateway: "REVENUE_MONSTER";
77
77
  } | {
78
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
78
79
  config: {
79
80
  merchantId: string;
80
81
  secretKey: string;
81
82
  verifyKey: string;
82
83
  };
83
- paymentGateway: "RAZER_MERCHANT_SERVICE";
84
84
  } | {
85
+ paymentGateway: "MACAU_PASS";
85
86
  config: {
86
87
  merchantId: string;
87
88
  merchantName: string;
@@ -89,37 +90,36 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
89
90
  storeID: string;
90
91
  storeName: string;
91
92
  };
92
- paymentGateway: "MACAU_PASS";
93
93
  })[] | null | undefined;
94
94
  ref?: any;
95
- _id: string;
96
95
  status: "NEW" | "PENDING" | "APPROVED";
96
+ _id: string;
97
+ notifyUrl: string;
97
98
  store: {
98
99
  bank?: {
99
100
  type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
100
- holderName?: string | null | undefined;
101
101
  accountNumber?: string | null | undefined;
102
+ holderName?: string | null | undefined;
102
103
  name: string;
103
104
  } | null | undefined;
104
- ssm?: string | null | undefined;
105
105
  bankStatement?: string | null | undefined;
106
+ ssm?: string | null | undefined;
106
107
  exteriorPhoto?: string | null | undefined;
107
108
  keyPerson?: {
108
- email: string;
109
109
  name: string;
110
110
  phone: string;
111
+ email: string;
111
112
  } | null | undefined;
112
113
  id: string;
113
114
  event: "ORDERING" | "MARKETING";
114
115
  };
115
- notifyUrl: string;
116
116
  methods: {
117
117
  rate?: {
118
118
  amount: number;
119
119
  precision: number;
120
120
  } | null | undefined;
121
121
  tPlus?: number | null | undefined;
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";
122
+ 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
123
  variant: string;
124
124
  }[];
125
125
  businessId: string;