@feedmepos/mf-payment 0.0.0-beta.18 → 0.0.0-beta.21

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 (32) hide show
  1. package/dist/{PayoutAccount-CDe3m7kn.js → PayoutAccount-DEEuJq8a.js} +5 -5
  2. package/dist/{PayoutAccount-DGPPMIV2.js → PayoutAccount-Fg0fD2z1.js} +3 -3
  3. package/dist/{PayoutAccountSetting-uiFglxyj.js → PayoutAccountSetting-D6rCau39.js} +3 -3
  4. package/dist/{Settlement-DLFEvFiY.js → Settlement-DO3KQc7V.js} +3 -3
  5. package/dist/{Settlement-DuT2FxzJ.js → Settlement-KxjeLkyq.js} +3 -3
  6. package/dist/{SettlementTransactions-BQpqcrAK.js → SettlementTransactions-BHm0Xr73.js} +4 -4
  7. package/dist/{SettlementTransactions--BvqHEHi.js → SettlementTransactions-D8SewaiK.js} +4 -4
  8. package/dist/{Terminal-ilkedvT7.js → Terminal-CG3mIv6Z.js} +4 -4
  9. package/dist/{TerminalSetting-CEp_RasG.js → TerminalSetting-CIFHaoHX.js} +3 -3
  10. package/dist/{TerminalTransaction-CxkG6chg.js → TerminalTransaction-B2PFfPKP.js} +69 -67
  11. package/dist/{TerminalTransaction-DYlm_3zt.js → TerminalTransaction-CnfWv95d.js} +5 -5
  12. package/dist/{Transaction-CkRaGtkz.js → Transaction-CM_VKdEN.js} +4 -4
  13. package/dist/{Transaction-CHHwlo39.js → Transaction-D7ZuZ-IB.js} +4 -4
  14. package/dist/api/index.d.ts +5 -1
  15. package/dist/api/terminal-transaction/index.d.ts +1 -0
  16. package/dist/app.js +79 -76
  17. package/dist/assets-CLiVU4As.js +42 -0
  18. package/dist/components/CursorTable/index.vue.d.ts +2 -2
  19. package/dist/{index-Bboaan5m.js → index-ByCQqfan.js} +1 -1
  20. package/dist/{index-BBTjdV3w.js → index-CkIbCIHJ.js} +765 -765
  21. package/dist/{index-DIT7Btp7.js → index-CpIkc_Lq.js} +1 -1
  22. package/dist/index-DVSsAdF3.js +26 -0
  23. package/dist/{index-CCLnLskX.js → index-DvsSYfvP.js} +1 -1
  24. package/dist/{index-BuCL5h0R.js → index-eVOVYNBC.js} +1 -1
  25. package/dist/{index.vue_vue_type_script_setup_true_lang-CcT6hjAl.js → index.vue_vue_type_script_setup_true_lang-sNgZ-dwX.js} +1 -1
  26. package/dist/package.json +1 -1
  27. package/dist/{payout-account-D22v2HHW.js → payout-account-Bj0y4ywE.js} +193 -193
  28. package/dist/{transaction-CSqbF07L.js → transaction-C1MtaXOd.js} +13 -10
  29. package/dist/tsconfig.app.tsbuildinfo +1 -1
  30. package/package.json +1 -1
  31. package/dist/assets-DB7pg43Y.js +0 -471
  32. package/dist/index-BVmZTFl8.js +0 -20
@@ -1,5 +1,5 @@
1
- import { g as a, b as n, r, l as o, i } from "./index-BBTjdV3w.js";
2
- import { d as s } from "./dinero-CIVmXLL-.js";
1
+ import { g as a, b as n, r as s, l as o, i } from "./index-CkIbCIHJ.js";
2
+ import { d as r } from "./dinero-CIVmXLL-.js";
3
3
  import { h as c } from "./moment-h96o7c8I.js";
4
4
  const y = {
5
5
  async readBySettlementId(t) {
@@ -29,21 +29,24 @@ const y = {
29
29
  },
30
30
  async readRestaurantTransactions(t) {
31
31
  return a(
32
- await r().get("/transactions", {
32
+ await s().get("/transactions", {
33
33
  params: t
34
34
  })
35
35
  );
36
36
  },
37
37
  async readRestaurantTransactionsBySettlementId(t) {
38
38
  return a(
39
- await r().get(
39
+ await s().get(
40
40
  `/transactions/settlements/${t}`
41
41
  )
42
42
  );
43
43
  },
44
44
  async downloadRestaurantTransactionReport(t) {
45
45
  return o(t, {
46
- method: (e) => (e == null ? void 0 : e.issuer) ?? ""
46
+ filename: "transaction-report.xlsx",
47
+ transformers: {
48
+ method: (e) => (e == null ? void 0 : e.issuer) ?? ""
49
+ }
47
50
  });
48
51
  },
49
52
  async downloadTransactionReport(t) {
@@ -63,15 +66,15 @@ function m(t) {
63
66
  gateway: t.gateway,
64
67
  status: t.status,
65
68
  transactionAt: c(t.createdAt).format("YYYY-MM-DD hh:mm:ss"),
66
- amount: s(t.amount).toFormat("$0.00"),
67
- fee: s(t.fee).toFormat("$0.00"),
68
- payout: s(t.payout).toFormat("$0.00")
69
+ amount: r(t.amount).toFormat("$0.00"),
70
+ fee: r(t.fee).toFormat("$0.00"),
71
+ payout: r(t.payout).toFormat("$0.00")
69
72
  };
70
73
  }
71
- function w(t) {
74
+ function l(t) {
72
75
  return t.map(m);
73
76
  }
74
77
  export {
75
- w as a,
78
+ l as a,
76
79
  y as t
77
80
  };