@feedmepos/mf-payment 1.0.24 → 1.0.25
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.
- package/dist/{PayoutAccount-CNEy0D0t.js → PayoutAccount-Bzp02_Ul.js} +5 -5
- package/dist/{PayoutAccount-ulzyTs3W.js → PayoutAccount-DJwOYiup.js} +3 -3
- package/dist/{PayoutAccountSetting-hgDAGWxY.js → PayoutAccountSetting-CnRuh0Kc.js} +3 -3
- package/dist/{Restaurant-DeB4pJt3.js → Restaurant-DKcXoVet.js} +4 -4
- package/dist/{RestaurantSetting-C__4vYQ5.js → RestaurantSetting-Cz_bojYv.js} +3 -3
- package/dist/{Settlement-Ct2wMgvl.js → Settlement-BrbSEgcO.js} +3 -3
- package/dist/{Settlement-Bmj4fytz.js → Settlement-DwuBqdTq.js} +3 -3
- package/dist/{SettlementTransactions-ByhZj3oE.js → SettlementTransactions-C2kCi1e_.js} +4 -4
- package/dist/{SettlementTransactions-C6FokLxU.js → SettlementTransactions-D9Wit1fL.js} +4 -4
- package/dist/{Terminal-Bh7y1_l6.js → Terminal-Dh45D3Sm.js} +5 -5
- package/dist/{TerminalSetting-Lrlajpl6.js → TerminalSetting-DFRoolzB.js} +3 -3
- package/dist/{TerminalTransaction-Br9bagvc.js → TerminalTransaction-CjbeQNtM.js} +39 -39
- package/dist/{TerminalTransaction-0sMdy1qa.js → TerminalTransaction-rHuUCYV0.js} +6 -6
- package/dist/{Transaction-666T_HJf.js → Transaction-DBQ-XokM.js} +52 -52
- package/dist/{Transaction-Co5pigPV.js → Transaction-DehqRLON.js} +33 -41
- package/dist/{TransactionOld-BNnEsKjK.js → TransactionOld-CZxxNWd3.js} +23 -23
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-C3mTHaeZ.js → TransactionTable.vue_vue_type_script_setup_true_lang-BaVSQ1v0.js} +16 -16
- package/dist/api/terminal-transaction/index.d.ts +4 -1
- package/dist/api/transaction/index.d.ts +4 -1
- package/dist/{app-CO3zkyeC.js → app-BUt8Z_ex.js} +143 -143
- package/dist/app.js +1 -1
- package/dist/{assets-C6pWwXrK.js → assets-DgHoatsg.js} +1 -1
- package/dist/{grafana-WrRUmFxQ.js → grafana-D9q-lGeB.js} +1 -1
- package/dist/{index-BayLz4fM.js → index-2mN841lk.js} +1 -1
- package/dist/{index-DkWedhZn.js → index-Bd4nfzH2.js} +1 -1
- package/dist/{index-Bs36zvoS.js → index-Bvhf03fV.js} +1 -1
- package/dist/{index-CTfnGAXj.js → index-D-DTfvO1.js} +1 -1
- package/dist/{index-Be5fwjP3.js → index-DCDg2JpI.js} +11 -10
- package/dist/{index-Czx9Xz63.js → index-DVBwUGuD.js} +923 -923
- package/dist/{index-C7xeF-Ou.js → index-DfDBEBZm.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-9QUeofeq.js → index.vue_vue_type_script_setup_true_lang-BbC7WERf.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-665Zche1.js → payout-account-CYHhq-B1.js} +2 -2
- package/dist/{transaction-CUB1BIYt.js → transaction-B0K2IMnc.js} +16 -14
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -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-
|
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-DVBwUGuD.js";
|
2
2
|
import { h as o } from "./moment-h96o7c8I.js";
|
3
3
|
import { d as c } from "./dinero-CIVmXLL-.js";
|
4
4
|
function* p(t, n) {
|
@@ -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-
|
2
|
+
import { u as G } from "./index-DVBwUGuD.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,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-
|
2
|
-
import { d as at, f as ut, _ as Y, m as ct } from "./index-
|
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-BUt8Z_ex.js";
|
2
|
+
import { d as at, f as ut, _ as Y, m as ct } from "./index-DVBwUGuD.js";
|
3
3
|
/**
|
4
4
|
* @license
|
5
5
|
* Copyright 2017 Google LLC
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { g as e, b as o, r, h as
|
1
|
+
import { g as e, b as o, r, h as m, l as u, i as f } from "./index-DVBwUGuD.js";
|
2
2
|
import { h as a } from "./moment-h96o7c8I.js";
|
3
3
|
import { d as s } from "./dinero-CIVmXLL-.js";
|
4
|
-
const
|
4
|
+
const A = {
|
5
5
|
async readBySettlementId(t) {
|
6
6
|
return e(
|
7
7
|
await o().get(
|
@@ -55,7 +55,7 @@ const l = {
|
|
55
55
|
},
|
56
56
|
async readAccountTransactions(t) {
|
57
57
|
return e(
|
58
|
-
await
|
58
|
+
await m().get("/transactions", {
|
59
59
|
params: {
|
60
60
|
status: t.status,
|
61
61
|
accountId: t.accountId,
|
@@ -72,10 +72,11 @@ const l = {
|
|
72
72
|
)
|
73
73
|
);
|
74
74
|
},
|
75
|
-
async downloadPortalTransactionReport(t) {
|
76
|
-
|
77
|
-
|
78
|
-
|
75
|
+
async downloadPortalTransactionReport(t, d) {
|
76
|
+
const i = a(t.startDate), c = a(t.endDate).endOf("day");
|
77
|
+
return u(d, {
|
78
|
+
filename: `transaction-report-${i.format("YYYY_MM_DD_HH:mm")}-${c.format("YYYY_MM_DD_HH:mm")}.xlsx`,
|
79
|
+
exclude: ["method", "fdoAmount", "amount", "fee", "payout"],
|
79
80
|
include: ["method.issuer", "fdoAmount.amount", "fdoAmount.currency"],
|
80
81
|
rename: {
|
81
82
|
"method.issuer": "method",
|
@@ -83,6 +84,7 @@ const l = {
|
|
83
84
|
"fdoAmount.amount": "amount"
|
84
85
|
},
|
85
86
|
transformers: {
|
87
|
+
gateway: (n) => n === "RAZER_MERCHANT_SERVICE" ? "FIUU" : n,
|
86
88
|
"fdoAmount.amount": (n) => (n / 100).toFixed(2),
|
87
89
|
fee: (n) => (console.log(n), n.split(" ")[1]),
|
88
90
|
payout: (n) => n.split(" ")[1],
|
@@ -92,7 +94,7 @@ const l = {
|
|
92
94
|
});
|
93
95
|
},
|
94
96
|
async downloadTransactionReport(t) {
|
95
|
-
return
|
97
|
+
return f(
|
96
98
|
await o().get("/transactions/report", {
|
97
99
|
params: {
|
98
100
|
start: a(t.start).startOf("day").toISOString(),
|
@@ -103,7 +105,7 @@ const l = {
|
|
103
105
|
);
|
104
106
|
}
|
105
107
|
};
|
106
|
-
function
|
108
|
+
function y(t) {
|
107
109
|
return {
|
108
110
|
id: t._id,
|
109
111
|
payId: t.payId,
|
@@ -124,11 +126,11 @@ function u(t) {
|
|
124
126
|
seqNumber: t == null ? void 0 : t.seqNumber
|
125
127
|
};
|
126
128
|
}
|
127
|
-
function
|
128
|
-
return t.map(
|
129
|
+
function g(t) {
|
130
|
+
return t.map(y);
|
129
131
|
}
|
130
132
|
export {
|
131
|
-
|
132
|
-
|
133
|
-
|
133
|
+
g as a,
|
134
|
+
y as b,
|
135
|
+
A as t
|
134
136
|
};
|