@feedmepos/mf-payment 1.1.4 → 1.1.5-beta.1

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 (56) hide show
  1. package/dist/{PayoutAccount-B8nq1Ik5.js → PayoutAccount--j-jJWMQ.js} +5 -5
  2. package/dist/{PayoutAccount-CSWZF-z8.js → PayoutAccount-BERFCsMv.js} +3 -3
  3. package/dist/{PayoutAccountSetting-DLj_di-f.js → PayoutAccountSetting-ChxkU61V.js} +3 -3
  4. package/dist/{Restaurant-BNCtsCkB.js → Restaurant-DQjoEvF_.js} +4 -4
  5. package/dist/{RestaurantSetting-D4CdKqLR.js → RestaurantSetting-Gr65NXud.js} +3 -3
  6. package/dist/{Settlement-D3vNmtrn.js → Settlement-B-3O3EId.js} +3 -3
  7. package/dist/{Settlement-ByKU2nbo.js → Settlement-Cq_4_1ua.js} +3 -3
  8. package/dist/{SettlementTransactions-OnGBlX91.js → SettlementTransactions-CJbf1zL2.js} +3 -3
  9. package/dist/{SettlementTransactions-COA2whhB.js → SettlementTransactions-Db6_Nv3v.js} +3 -3
  10. package/dist/{Terminal-BEGlXHeH.js → Terminal-xSZCzDZn.js} +6 -6
  11. package/dist/TerminalSetting-BVojWrSJ.js +489 -0
  12. package/dist/{Transaction-CSUJ4-Qs.js → Transaction-BFgu4Xnf.js} +105 -95
  13. package/dist/{Transaction-_dO1GXXy.js → Transaction-CEh4Gnt5.js} +6 -6
  14. package/dist/{TransactionOld-Bo_ilNzh.js → TransactionOld-DH8MUGCs.js} +4 -4
  15. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-DZCndTn1.js → TransactionTable.vue_vue_type_script_setup_true_lang-CIqrGHo8.js} +3 -3
  16. package/dist/api/terminal/index.d.ts +4 -0
  17. package/dist/{app-CiImVRsy.js → app-D8ewtGn5.js} +235 -235
  18. package/dist/app.js +1 -1
  19. package/dist/{assets-1VaaNVmv.js → assets-DcSn4sMG.js} +2 -2
  20. package/dist/components/CursorTable/index.vue.d.ts +3 -3
  21. package/dist/components/PagingTable/index.vue.d.ts +3 -3
  22. package/dist/{grafana-B5l2gtJI.js → grafana-DW4fh2g4.js} +4 -4
  23. package/dist/{index-Dk5jCvkX.js → index-Bg1fv5AY.js} +7053 -6995
  24. package/dist/{index-DCM8IXN0.js → index-D3XaYCNd.js} +1 -1
  25. package/dist/{index-CGcFfU-T.js → index-DcT1Yiz4.js} +1 -1
  26. package/dist/{index-B6gp7UJO.js → index-JEYJrs6t.js} +9 -1
  27. package/dist/{index-CHStFeFQ.js → index-Z5ts1fWJ.js} +1 -1
  28. package/dist/{index-DAwZpgYT.js → index-uRv2m4ys.js} +1 -1
  29. package/dist/{index.vue_vue_type_script_setup_true_lang-D_lBJl2w.js → index.vue_vue_type_script_setup_true_lang-BkqD1rLK.js} +1 -1
  30. package/dist/model/payout-account.d.ts +1 -1
  31. package/dist/package.json +2 -2
  32. package/dist/{payout-account-B96a8IZo.js → payout-account-4XGG8dyO.js} +2 -2
  33. package/dist/stores/payoutAccount.d.ts +4 -4
  34. package/dist/tsconfig.app.tsbuildinfo +1 -1
  35. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
  36. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +6 -6
  37. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +6 -6
  38. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
  39. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
  40. package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
  41. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
  42. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +6 -6
  43. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
  44. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +4 -4
  45. package/dist/views/admin/terminal/cell/Actions.vue.d.ts +2 -2
  46. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +4 -4
  47. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +4 -4
  48. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +4 -4
  49. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +87 -0
  50. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +4 -4
  51. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +87 -0
  52. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
  53. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +12 -12
  54. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +6 -6
  55. package/package.json +2 -2
  56. package/dist/TerminalSetting-BMMKEXAW.js +0 -389
@@ -1,4 +1,4 @@
1
- import { g as r, b as i, j as d, l as y, k as f, i as l, r as m } from "./index-Dk5jCvkX.js";
1
+ import { g as r, b as i, j as d, l as y, k as f, i as l, r as m } from "./index-Bg1fv5AY.js";
2
2
  import { h as o } from "./moment-h96o7c8I.js";
3
3
  import { d as u } from "./dinero-CIVmXLL-.js";
4
4
  function* p(t, n) {
@@ -1,4 +1,4 @@
1
- import { d as u, b as s, g as t, f as e } from "./index-Dk5jCvkX.js";
1
+ import { d as u, b as s, g as t, f as e } from "./index-Bg1fv5AY.js";
2
2
  const o = {
3
3
  async read(a) {
4
4
  return u(
@@ -1,4 +1,4 @@
1
- import { d as s, b as t, g as a, f as r, h as i } from "./index-Dk5jCvkX.js";
1
+ import { d as s, b as t, g as a, f as r, h as i } from "./index-Bg1fv5AY.js";
2
2
  const y = {
3
3
  async create(e) {
4
4
  return s(
@@ -45,6 +45,14 @@ const y = {
45
45
  `restaurants/${e}/terminals?deviceType=${i.FdoTerminalDeviceType.Enum.TERMINAL}`
46
46
  )
47
47
  );
48
+ },
49
+ async kioskModeRequest(e, n) {
50
+ return a(
51
+ await t().post(
52
+ `/payments/terminals/${e}/kiosk`,
53
+ n
54
+ )
55
+ );
48
56
  }
49
57
  };
50
58
  export {
@@ -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-Dk5jCvkX.js";
3
+ import { a as y } from "./index-Bg1fv5AY.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-Dk5jCvkX.js";
1
+ import { b as r, g as e } from "./index-Bg1fv5AY.js";
2
2
  const n = {
3
3
  async readRestaurantById(t) {
4
4
  const a = await r().get(`/restaurants/${t}`);
@@ -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-Dk5jCvkX.js";
2
+ import { u as G } from "./index-Bg1fv5AY.js";
3
3
  import "@feedmepos/ui-library";
4
4
  const H = ["id"], U = /* @__PURE__ */ I({
5
5
  __name: "FmTableSelection",
@@ -26,7 +26,7 @@ declare const _default: {
26
26
  groupByStatus: typeof groupByStatus;
27
27
  bankTypeOptions: {
28
28
  label: string;
29
- value: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT";
29
+ value: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER";
30
30
  }[];
31
31
  bankNameOptions: {
32
32
  label: string;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.1.4",
3
+ "version": "1.1.5-beta.1",
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.11.6",
36
36
  "vue-i18n": "10.0.5",
37
- "@feedmepos/payment-entity": "^0.0.23",
37
+ "@feedmepos/payment-entity": "^0.1.0",
38
38
  "@feedmepos/ui-library": "^1.3.9",
39
39
  "axios": "^0.27.2",
40
40
  "buffer": "^6.0.3",
@@ -1,5 +1,5 @@
1
- import { _ as Qe, C as et, r as Oe, S as tt, g as re, a as nt, b as rt, c as _e, d as st, F as it, e as ot } from "./app-CiImVRsy.js";
2
- import { c as at, a as ut, _ as Y, m as ct } from "./index-Dk5jCvkX.js";
1
+ import { _ as Qe, C as et, r as Oe, S as tt, g as re, a as nt, b as rt, c as _e, d as st, F as it, e as ot } from "./app-D8ewtGn5.js";
2
+ import { c as at, a as ut, _ as Y, m as ct } from "./index-Bg1fv5AY.js";
3
3
  /**
4
4
  * @license
5
5
  * Copyright 2017 Google LLC
@@ -11,7 +11,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
11
11
  _id: string;
12
12
  store: {
13
13
  bank?: {
14
- type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
14
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
15
15
  accountNumber?: string | null | undefined;
16
16
  holderName?: string | null | undefined;
17
17
  name: string;
@@ -34,7 +34,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
34
34
  precision: number;
35
35
  } | null | undefined;
36
36
  tPlus?: number | null | undefined;
37
- issuer: "OTHER" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "FEEDME" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "MACAU_PASS" | "AMEX";
37
+ issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "MACAU_PASS" | "PAYNOW" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX";
38
38
  variant: string;
39
39
  }[];
40
40
  businessId: string;
@@ -46,7 +46,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
46
46
  _id: string;
47
47
  store: {
48
48
  bank?: {
49
- type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
49
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | "OTHER" | null | undefined;
50
50
  accountNumber?: string | null | undefined;
51
51
  holderName?: string | null | undefined;
52
52
  name: string;
@@ -69,7 +69,7 @@ export declare const usePayoutAccountStore: import("pinia").StoreDefinition<"mf-
69
69
  precision: number;
70
70
  } | null | undefined;
71
71
  tPlus?: number | null | undefined;
72
- issuer: "OTHER" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "FEEDME" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "MACAU_PASS" | "AMEX";
72
+ issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "MACAU_PASS" | "PAYNOW" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX";
73
73
  variant: string;
74
74
  }[];
75
75
  businessId: string;