@feedmepos/mf-payment 1.3.20 → 1.3.22

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 (75) hide show
  1. package/dist/{OnboardForm-Kg41JzfR.js → OnboardForm-BMWpQjDs.js} +18 -18
  2. package/dist/{OnboardForm-BXyoazh5.js → OnboardForm-BfGzCNlT.js} +4 -4
  3. package/dist/{OnboardSubmission-Dc7x4iX2.js → OnboardSubmission-DoPx4EKf.js} +5 -5
  4. package/dist/{OnboardSubmission-DYxlgxNk.js → OnboardSubmission-DwiFc9f5.js} +2 -2
  5. package/dist/{PayoutAccount-BsG-nuC9.js → PayoutAccount-CHbzkDBA.js} +5 -5
  6. package/dist/{PayoutAccount-BGp3dZty.js → PayoutAccount-Dy5K6CkB.js} +5 -5
  7. package/dist/{PayoutAccountSetting-BbMJO09b.js → PayoutAccountSetting-yH2ZRT-A.js} +378 -296
  8. package/dist/{Restaurant-CwdFy65Q.js → Restaurant-CeH2FJRT.js} +4 -4
  9. package/dist/{RestaurantSetting-BZ_wJvh-.js → RestaurantSetting-BV1XLh-9.js} +292 -212
  10. package/dist/{Settlement-PxISyjHU.js → Settlement-DzYUTaVE.js} +3 -3
  11. package/dist/{Settlement-ByfwQDjy.js → Settlement-L8ukHWPs.js} +3 -3
  12. package/dist/{SettlementTransactions-DidiqbXG.js → SettlementTransactions-C8o5Atmc.js} +3 -3
  13. package/dist/{SettlementTransactions-D5yeeyDP.js → SettlementTransactions-DG9nJuLQ.js} +3 -3
  14. package/dist/{Status.vue_vue_type_script_setup_true_lang-kehDoQ6j.js → Status.vue_vue_type_script_setup_true_lang-B7a304Y6.js} +1 -1
  15. package/dist/{Terminal-C--amJVv.js → Terminal-DA_mJQMD.js} +5 -5
  16. package/dist/{TerminalSetting-7tjf9xaV.js → TerminalSetting-GFMILaSV.js} +4 -4
  17. package/dist/{Transaction-Bd_4iMOT.js → Transaction-CfC0yN9P.js} +5 -5
  18. package/dist/{Transaction-BMc3gQy1.js → Transaction-fhDUanwr.js} +6 -6
  19. package/dist/{TransactionOld-8-sEspIt.js → TransactionOld-CObh3uJa.js} +4 -4
  20. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-BayIh55f.js → TransactionTable.vue_vue_type_script_setup_true_lang-DPRIp0wx.js} +3 -3
  21. package/dist/{app-CQEW3s-w.js → app-PoLMBr_V.js} +22 -22
  22. package/dist/app.js +1 -1
  23. package/dist/{assets-CTH4trdc.js → assets-D4ayW3GC.js} +1 -1
  24. package/dist/{grafana-bPLmWYzm.js → grafana-BrdrOUM4.js} +1 -1
  25. package/dist/{index-DZYRliw9.js → index-BWjmOoX3.js} +1 -1
  26. package/dist/{index-CJPiBIRm.js → index-C4FfKmPS.js} +5303 -5231
  27. package/dist/{index-B5zEwG__.js → index-C8G7ruiF.js} +1 -1
  28. package/dist/{index-BA8uBmty.js → index-DD6Cz4Kr.js} +2 -2
  29. package/dist/{index-cU53UWIn.js → index-DJrcobek.js} +1 -1
  30. package/dist/{index-98tll3Hu.js → index-ILoz50zh.js} +1 -1
  31. package/dist/{index-DPY6iypt.js → index-j0nww2Hf.js} +1 -1
  32. package/dist/{index.vue_vue_type_script_setup_true_lang-CaVufHjO.js → index.vue_vue_type_script_setup_true_lang-v7o6C5Pg.js} +1 -1
  33. package/dist/package.json +2 -2
  34. package/dist/{payout-account-D0urRPdK.js → payout-account-CadaCGj0.js} +3 -3
  35. package/dist/{plugins-CHAPQLQ_.js → plugins-YHHXs8VO.js} +1 -1
  36. package/dist/stores/payoutAccount.d.ts +34 -18
  37. package/dist/tsconfig.app.tsbuildinfo +1 -1
  38. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +34 -18
  39. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +38 -22
  40. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +38 -22
  41. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +34 -18
  42. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +34 -18
  43. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +38 -22
  44. package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +45 -0
  45. package/dist/views/admin/payout-account/tabs/gateway/DigioGateway.vue.d.ts +2 -2
  46. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +4 -4
  47. package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
  48. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  49. package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +50 -0
  50. package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +6 -6
  51. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  52. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +8 -8
  53. package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +6 -6
  54. package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +8 -8
  55. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
  56. package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +6 -6
  57. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +20 -20
  58. package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +20 -20
  59. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +20 -20
  60. package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +20 -20
  61. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +20 -20
  62. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +20 -20
  63. package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +20 -20
  64. package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +20 -20
  65. package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +20 -20
  66. package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +20 -20
  67. package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +20 -20
  68. package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +20 -20
  69. package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +20 -20
  70. package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +20 -20
  71. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +20 -20
  72. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +68 -36
  73. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +32 -32
  74. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +16 -16
  75. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { d as s, b as t, g as a, f as r, p as i } from "./index-CJPiBIRm.js";
1
+ import { d as s, b as t, g as a, f as r, p as i } from "./index-C4FfKmPS.js";
2
2
  const y = {
3
3
  async create(e) {
4
4
  return s(
@@ -1,5 +1,5 @@
1
- import { d as r, b as a, g as n, o as i } from "./index-CJPiBIRm.js";
2
- import { f as u } from "./plugins-CHAPQLQ_.js";
1
+ import { d as r, b as a, g as n, o as i } from "./index-C4FfKmPS.js";
2
+ import { f as u } from "./plugins-YHHXs8VO.js";
3
3
  import { h as m } from "./moment-h96o7c8I.js";
4
4
  const y = {
5
5
  async read(s) {
@@ -1,4 +1,4 @@
1
- import { b as r, g as e } from "./index-CJPiBIRm.js";
1
+ import { b as r, g as e } from "./index-C4FfKmPS.js";
2
2
  const n = {
3
3
  async readRestaurantById(t) {
4
4
  const a = await r().get(`/restaurants/${t}`);
@@ -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 { a as y } from "./index-CJPiBIRm.js";
3
+ import { a as y } from "./index-C4FfKmPS.js";
4
4
  var d = {};
5
5
  (function(s) {
6
6
  (function(c) {
@@ -1,4 +1,4 @@
1
- import { g as r, b as i, i as c, l as d, j as y, h as l, r as m } from "./index-CJPiBIRm.js";
1
+ import { g as r, b as i, i as c, l as d, j as y, h as l, r as m } from "./index-C4FfKmPS.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,5 +1,5 @@
1
1
  import { defineComponent as U, ref as r, resolveComponent as p, openBlock as f, createBlock as S, withCtx as z, createVNode as m, createElementVNode as s, normalizeStyle as j, createElementBlock as M, Fragment as N, renderList as E, computed as k, watch as I, onMounted as O, unref as D, toDisplayString as B, createCommentVNode as R, normalizeClass as G, nextTick as H } from "vue";
2
- import { u as J } from "./index-CJPiBIRm.js";
2
+ import { u as J } from "./index-C4FfKmPS.js";
3
3
  import "@feedmepos/ui-library";
4
4
  const K = ["id"], L = /* @__PURE__ */ U({
5
5
  __name: "FmTableSelection",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.3.20",
3
+ "version": "1.3.22",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -33,7 +33,7 @@
33
33
  "@casl/ability": "^3.2.0",
34
34
  "@feedmepos/core": "^2.6.0",
35
35
  "@feedmepos/mf-common": "^1.26.8",
36
- "@feedmepos/payment-entity": "^0.1.29",
36
+ "@feedmepos/payment-entity": "^0.1.31",
37
37
  "@feedmepos/ui-library": "^1.7.1",
38
38
  "axios": "^0.27.2",
39
39
  "buffer": "^6.0.3",
@@ -1,7 +1,7 @@
1
- import { f as j } from "./plugins-CHAPQLQ_.js";
2
- import { c as st, a as it, B as at, p as E } from "./index-CJPiBIRm.js";
1
+ import { f as j } from "./plugins-YHHXs8VO.js";
2
+ import { c as st, a as it, B as at, p as E } from "./index-C4FfKmPS.js";
3
3
  import { useCoreStore as ut } from "@feedmepos/mf-common";
4
- import { _ as ot } from "./app-CQEW3s-w.js";
4
+ import { _ as ot } from "./app-PoLMBr_V.js";
5
5
  var Q = { exports: {} };
6
6
  (function(i, a) {
7
7
  (function(t, m) {
@@ -1,4 +1,4 @@
1
- import { a as be, C as we, r as K, g as C, b as Te, c as ye, d as H, S as ke, e as Ee, F as Ae } from "./app-CQEW3s-w.js";
1
+ import { a as be, C as we, r as K, g as C, b as Te, c as ye, d as H, S as ke, e as Ee, F as Ae } from "./app-PoLMBr_V.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
@@ -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,17 +30,25 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
29
30
  storeID: string;
30
31
  storeName: string;
31
32
  };
32
- paymentGateway: "MACAU_PASS";
33
33
  } | {
34
+ paymentGateway: "DIGIO";
34
35
  config: {
35
36
  merchantId: string;
36
37
  cardMerchantId: string;
37
38
  };
38
- paymentGateway: "DIGIO";
39
+ } | {
40
+ paymentGateway: "ADYEN";
41
+ config: {
42
+ merchantAccount: string;
43
+ username: string;
44
+ apiKey: string;
45
+ clientKey: string;
46
+ };
39
47
  })[] | null | undefined;
40
48
  ref?: any;
41
- status: "NEW" | "PENDING" | "APPROVED";
42
49
  _id: string;
50
+ status: "NEW" | "PENDING" | "APPROVED";
51
+ notifyUrl: string;
43
52
  store: {
44
53
  bank?: {
45
54
  type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
@@ -47,25 +56,24 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
47
56
  holderName?: string | null | undefined;
48
57
  name: string;
49
58
  } | null | undefined;
50
- ssm?: string | null | undefined;
51
59
  bankStatement?: string | null | undefined;
60
+ ssm?: string | null | undefined;
52
61
  exteriorPhoto?: string | null | undefined;
53
62
  keyPerson?: {
54
- email: string;
55
63
  name: string;
56
64
  phone: string;
65
+ email: string;
57
66
  } | null | undefined;
58
67
  id: string;
59
68
  event: "ORDERING" | "MARKETING";
60
69
  };
61
- notifyUrl: string;
62
70
  methods: {
63
71
  rate?: {
64
72
  amount: number;
65
73
  precision: number;
66
74
  } | null | undefined;
67
75
  tPlus?: number | null | undefined;
68
- 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" | "THAIQR";
76
+ 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" | "THAIQR";
69
77
  variant: string;
70
78
  }[];
71
79
  businessId: string;
@@ -73,21 +81,22 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
73
81
  } & import("pinia").PiniaCustomStateProperties<PayoutAccountState>) => {
74
82
  enable?: boolean | null | undefined;
75
83
  gateways?: ({
84
+ paymentGateway: "REVENUE_MONSTER";
76
85
  config: {
77
86
  clientId: string;
78
87
  clientPrivateKey: string;
79
88
  clientSecret: string;
80
89
  storeId: string;
81
90
  };
82
- paymentGateway: "REVENUE_MONSTER";
83
91
  } | {
92
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
84
93
  config: {
85
94
  merchantId: string;
86
95
  secretKey: string;
87
96
  verifyKey: string;
88
97
  };
89
- paymentGateway: "RAZER_MERCHANT_SERVICE";
90
98
  } | {
99
+ paymentGateway: "MACAU_PASS";
91
100
  config: {
92
101
  merchantId: string;
93
102
  merchantName: string;
@@ -95,17 +104,25 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
95
104
  storeID: string;
96
105
  storeName: string;
97
106
  };
98
- paymentGateway: "MACAU_PASS";
99
107
  } | {
108
+ paymentGateway: "DIGIO";
100
109
  config: {
101
110
  merchantId: string;
102
111
  cardMerchantId: string;
103
112
  };
104
- paymentGateway: "DIGIO";
113
+ } | {
114
+ paymentGateway: "ADYEN";
115
+ config: {
116
+ merchantAccount: string;
117
+ username: string;
118
+ apiKey: string;
119
+ clientKey: string;
120
+ };
105
121
  })[] | null | undefined;
106
122
  ref?: any;
107
- status: "NEW" | "PENDING" | "APPROVED";
108
123
  _id: string;
124
+ status: "NEW" | "PENDING" | "APPROVED";
125
+ notifyUrl: string;
109
126
  store: {
110
127
  bank?: {
111
128
  type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
@@ -113,25 +130,24 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
113
130
  holderName?: string | null | undefined;
114
131
  name: string;
115
132
  } | null | undefined;
116
- ssm?: string | null | undefined;
117
133
  bankStatement?: string | null | undefined;
134
+ ssm?: string | null | undefined;
118
135
  exteriorPhoto?: string | null | undefined;
119
136
  keyPerson?: {
120
- email: string;
121
137
  name: string;
122
138
  phone: string;
139
+ email: string;
123
140
  } | null | undefined;
124
141
  id: string;
125
142
  event: "ORDERING" | "MARKETING";
126
143
  };
127
- notifyUrl: string;
128
144
  methods: {
129
145
  rate?: {
130
146
  amount: number;
131
147
  precision: number;
132
148
  } | null | undefined;
133
149
  tPlus?: number | null | undefined;
134
- 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" | "THAIQR";
150
+ 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" | "THAIQR";
135
151
  variant: string;
136
152
  }[];
137
153
  businessId: string;