@feedmepos/mf-payment 1.1.3-beta.2 → 1.1.4

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 (52) hide show
  1. package/dist/{PayoutAccount-Cp6BRMaS.js → PayoutAccount-B8nq1Ik5.js} +5 -5
  2. package/dist/{PayoutAccount-CqTsTBZX.js → PayoutAccount-CSWZF-z8.js} +3 -3
  3. package/dist/{PayoutAccountSetting-C2F22Ovd.js → PayoutAccountSetting-DLj_di-f.js} +3 -3
  4. package/dist/{Restaurant-CNQB63lu.js → Restaurant-BNCtsCkB.js} +4 -4
  5. package/dist/{RestaurantSetting-Bi92j02c.js → RestaurantSetting-D4CdKqLR.js} +3 -3
  6. package/dist/{Settlement-C5qI25dK.js → Settlement-ByKU2nbo.js} +3 -3
  7. package/dist/{Settlement-BelKti1m.js → Settlement-D3vNmtrn.js} +3 -3
  8. package/dist/{SettlementTransactions-CuyNgFn8.js → SettlementTransactions-COA2whhB.js} +3 -3
  9. package/dist/{SettlementTransactions-BKvdOQFZ.js → SettlementTransactions-OnGBlX91.js} +3 -3
  10. package/dist/{Terminal-BM7mFUN2.js → Terminal-BEGlXHeH.js} +6 -6
  11. package/dist/TerminalSetting-BMMKEXAW.js +389 -0
  12. package/dist/{Transaction-DOBa31yV.js → Transaction-CSUJ4-Qs.js} +64 -69
  13. package/dist/{Transaction-BbI4Y-kx.js → Transaction-_dO1GXXy.js} +6 -6
  14. package/dist/{TransactionOld-BSpDIIBR.js → TransactionOld-Bo_ilNzh.js} +4 -4
  15. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-D7qy2K5g.js → TransactionTable.vue_vue_type_script_setup_true_lang-DZCndTn1.js} +3 -3
  16. package/dist/api/terminal/index.d.ts +0 -4
  17. package/dist/{app-A7Yrxt3x.js → app-CiImVRsy.js} +261 -261
  18. package/dist/app.js +1 -1
  19. package/dist/{assets-BIRvSsJh.js → assets-1VaaNVmv.js} +4 -6
  20. package/dist/{grafana-uJPk5KpA.js → grafana-B5l2gtJI.js} +4 -4
  21. package/dist/{index-CFCCizwA.js → index-B6gp7UJO.js} +1 -9
  22. package/dist/{index-C2jfSTHU.js → index-CGcFfU-T.js} +1 -1
  23. package/dist/{index-C_eAEbU4.js → index-CHStFeFQ.js} +1 -1
  24. package/dist/{index-DbTnFa90.js → index-DAwZpgYT.js} +1 -1
  25. package/dist/{index-BGFo2wSn.js → index-DCM8IXN0.js} +1 -1
  26. package/dist/{index-CMyW5AaS.js → index-Dk5jCvkX.js} +6995 -7053
  27. package/dist/{index.vue_vue_type_script_setup_true_lang-CyLBuzhu.js → index.vue_vue_type_script_setup_true_lang-D_lBJl2w.js} +1 -1
  28. package/dist/package.json +2 -2
  29. package/dist/{payout-account-De8VeHxb.js → payout-account-B96a8IZo.js} +2 -2
  30. package/dist/stores/payoutAccount.d.ts +2 -2
  31. package/dist/tsconfig.app.tsbuildinfo +1 -1
  32. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +2 -2
  33. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +2 -2
  34. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +2 -2
  35. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +2 -2
  36. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +2 -2
  37. package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
  38. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
  39. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +6 -6
  40. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
  41. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +2 -2
  42. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +2 -2
  43. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +2 -2
  44. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +2 -2
  45. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +2 -2
  46. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +4 -4
  47. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +12 -12
  48. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +6 -6
  49. package/package.json +2 -2
  50. package/dist/TerminalSetting-DbA8P4qb.js +0 -489
  51. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +0 -87
  52. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +0 -87
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as e, i as r, f as o } from "./app-A7Yrxt3x.js";
1
+ import { h as e, i as r, f as o } from "./app-CiImVRsy.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g, b as H, r as c, f as E, l as v, i as l, _ as J } from "./index-CMyW5AaS.js";
1
+ import { g, b as H, r as c, f as E, l as v, i as l, _ as J } from "./index-Dk5jCvkX.js";
2
2
  import { h as C } from "./moment-h96o7c8I.js";
3
3
  import { d as O } from "./dinero-CIVmXLL-.js";
4
4
  const K = {
@@ -92,7 +92,7 @@ const K = {
92
92
  fee: (w) => w.split(" ")[1],
93
93
  payout: (w) => w.split(" ")[1],
94
94
  transactionAt: (w) => C(w).format("YYYY-MM-DD HH:mm:ss"),
95
- refundedAt: (w) => C(w).format("YYYY-MM-DD HH:mm:ss")
95
+ refundedAt: (w) => w ? C(w).format("YYYY-MM-DD HH:mm:ss") : "-"
96
96
  }
97
97
  });
98
98
  },
@@ -122,7 +122,7 @@ function u(A) {
122
122
  let Q = "", B = "";
123
123
  switch (!0) {
124
124
  case !!A.terminal:
125
- B = A.terminalType ?? "Device", Q = A.terminal;
125
+ B = "Terminal", Q = A.terminal;
126
126
  break;
127
127
  case !!A.restaurant:
128
128
  B = "Restaurant", Q = A.restaurant;
@@ -145,9 +145,7 @@ function u(A) {
145
145
  transactionAt: C(A.callbackAt ?? A.createdAt).format(
146
146
  "YYYY-MM-DD HH:mm:ss"
147
147
  ),
148
- refundedAt: C(A.refundedAt ?? A.createdAt).format(
149
- "YYYY-MM-DD HH:mm:ss"
150
- ),
148
+ refundedAt: A.refundedAt ? C(A.refundedAt).format("YYYY-MM-DD HH:mm:ss") : "",
151
149
  fdoAmount: A.gatewayAmount ?? A.amount,
152
150
  amount: O(A.gatewayAmount ?? A.amount).toFormat("$0.00"),
153
151
  fee: O(A.fee).toFormat("$0.00"),
@@ -1,4 +1,4 @@
1
- import { e as y } from "./index-CMyW5AaS.js";
1
+ import { e as y } from "./index-Dk5jCvkX.js";
2
2
  import { useCoreStore as p } from "@feedmepos/mf-common";
3
3
  import { h as m } from "./moment-h96o7c8I.js";
4
4
  const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) => ({
@@ -32,7 +32,7 @@ const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) =
32
32
  {
33
33
  type: "resource",
34
34
  queryKey: "cluster",
35
- queryValue: "dev"
35
+ queryValue: "production"
36
36
  },
37
37
  {
38
38
  type: "resource",
@@ -43,8 +43,8 @@ const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) =
43
43
  a.push(...t);
44
44
  let s = "now", n = "now-1d";
45
45
  if (e) {
46
- const u = +m(e).add(-3, "hours").toDate();
47
- n = `${u}`, s = `${u + 3 * 60 * 60 * 1e3}`;
46
+ const u = +m(e).toDate();
47
+ n = `${u}`, s = `${u + 24 * 60 * 60 * 1e3}`;
48
48
  }
49
49
  const c = d(a, n, s);
50
50
  return i + `&panes=${encodeURIComponent(JSON.stringify(c))}&orgId=1`;
@@ -1,4 +1,4 @@
1
- import { d as s, b as t, g as a, f as r, h as i } from "./index-CMyW5AaS.js";
1
+ import { d as s, b as t, g as a, f as r, h as i } from "./index-Dk5jCvkX.js";
2
2
  const y = {
3
3
  async create(e) {
4
4
  return s(
@@ -45,14 +45,6 @@ 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
- );
56
48
  }
57
49
  };
58
50
  export {
@@ -1,4 +1,4 @@
1
- import { d as u, b as s, g as t, f as e } from "./index-CMyW5AaS.js";
1
+ import { d as u, b as s, g as t, f as e } from "./index-Dk5jCvkX.js";
2
2
  const o = {
3
3
  async read(a) {
4
4
  return u(
@@ -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-CMyW5AaS.js";
3
+ import { a as y } from "./index-Dk5jCvkX.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-CMyW5AaS.js";
1
+ import { b as r, g as e } from "./index-Dk5jCvkX.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 { g as r, b as i, j as d, l as y, k as f, i as l, r as m } from "./index-CMyW5AaS.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-Dk5jCvkX.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) {