@feedmepos/mf-payment 1.0.4-beta.2 → 1.0.5-beta.2

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 (41) hide show
  1. package/dist/{PayoutAccount-CUcmLnpF.js → PayoutAccount-DoPGyjcC.js} +5 -5
  2. package/dist/{PayoutAccount-K-clfaW8.js → PayoutAccount-xeea4ogM.js} +3 -3
  3. package/dist/PayoutAccountSelector.vue_vue_type_script_setup_true_lang-CP-SP877.js +110 -0
  4. package/dist/{PayoutAccountSetting-B1uLo7gi.js → PayoutAccountSetting-CUCmcJak.js} +4 -4
  5. package/dist/{Restaurant-D5L8pG25.js → Restaurant-BnWy9O5t.js} +3 -3
  6. package/dist/{RestaurantSetting-Dx0fPDEn.js → RestaurantSetting-CVGwsyzO.js} +4 -4
  7. package/dist/{Settlement-BGueDfpI.js → Settlement-6voGKEDr.js} +3 -3
  8. package/dist/{Settlement-D0nuXQMV.js → Settlement-DPmYq05c.js} +3 -3
  9. package/dist/{SettlementTransactions-DW8-tVPe.js → SettlementTransactions-Duig1e4U.js} +4 -4
  10. package/dist/{SettlementTransactions-Dsnpidi1.js → SettlementTransactions-JYas_1C-.js} +4 -4
  11. package/dist/{Terminal-BkhqmKjN.js → Terminal-BH0OOd3v.js} +4 -4
  12. package/dist/{TerminalSetting-CrpB7DIV.js → TerminalSetting-ChCIqCIe.js} +3 -3
  13. package/dist/{TerminalTransaction-BGy4ABmm.js → TerminalTransaction-Bjs3Es1x.js} +5 -5
  14. package/dist/{TerminalTransaction-2E_8keFp.js → TerminalTransaction-DyTN8zj5.js} +83 -78
  15. package/dist/Transaction-Ce33Gg4W.js +145 -0
  16. package/dist/{Transaction-izWqPmdQ.js → Transaction-D8WYnO8-.js} +5 -5
  17. package/dist/TransactionOld-CEvlp4U4.js +99 -0
  18. package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-_MmkKHxE.js +151 -0
  19. package/dist/api/terminal-transaction/index.d.ts +2 -1
  20. package/dist/api/transaction/index.d.ts +8 -1
  21. package/dist/{app-DPCnmmmg.js → app-Bcuom8z3.js} +471 -458
  22. package/dist/app.js +1 -1
  23. package/dist/{assets-NM2zCyV8.js → assets-Cppbnt4C.js} +1 -1
  24. package/dist/components/PayoutAccountSelector.vue.d.ts +23 -0
  25. package/dist/{index-BWpuTiNy.js → index-BIH2Edx9.js} +1 -1
  26. package/dist/{index-CZv4Ucw7.js → index-BKXt3n4_.js} +1 -1
  27. package/dist/{index-Bl77l-UI.js → index-BqZakjyK.js} +1 -1
  28. package/dist/{index-BpclEVci.js → index-BwVE-Z1U.js} +10 -10
  29. package/dist/{index-DffVv67M.js → index-CmhokViT.js} +1 -1
  30. package/dist/{index-DfC2cb6i.js → index-FEQKf928.js} +1 -1
  31. package/dist/{index-B5pmhl4r.js → index-GoHzCxeA.js} +1 -1
  32. package/dist/{index-BbPdddp2.js → index-Rhk_nXeB.js} +1 -1
  33. package/dist/{index.vue_vue_type_script_setup_true_lang-Bm7Wybo3.js → index.vue_vue_type_script_setup_true_lang-BE90OAD9.js} +1 -1
  34. package/dist/package.json +2 -2
  35. package/dist/{payout-account-DpAKpX1a.js → payout-account-DFHGVtXO.js} +2 -2
  36. package/dist/router/index.d.ts +1 -0
  37. package/dist/{transaction-13xSmWg9.js → transaction-BPkT1OxL.js} +39 -26
  38. package/dist/tsconfig.app.tsbuildinfo +1 -1
  39. package/dist/views/transaction/TransactionOld.vue.d.ts +2 -0
  40. package/package.json +2 -2
  41. package/dist/Transaction-DFqANzFa.js +0 -242
@@ -0,0 +1,145 @@
1
+ import { defineComponent as Y, ref as y, onMounted as b, watch as v, resolveComponent as g, openBlock as w, createBlock as D, unref as l, withCtx as x, createElementVNode as f, createVNode as o, isRef as i } from "vue";
2
+ import { t as V, a as F } from "./transaction-BPkT1OxL.js";
3
+ import { _ as m, u as I } from "./index-BqZakjyK.js";
4
+ import { _ as M } from "./TransactionTable.vue_vue_type_script_setup_true_lang-_MmkKHxE.js";
5
+ import { h as C } from "./moment-h96o7c8I.js";
6
+ import { useCoreStore as O } from "@feedmepos/mf-common";
7
+ import { _ as P } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
8
+ import { u as $ } from "./index-BIH2Edx9.js";
9
+ import { _ as k } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
10
+ import { _ as L } from "./SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js";
11
+ import { _ as B } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
12
+ import { _ as J } from "./PayoutAccountSelector.vue_vue_type_script_setup_true_lang-CP-SP877.js";
13
+ const K = { class: "flex justify-between mb-6 items-center" }, j = { class: "flex space-x-8 items-start" }, q = { class: "flex space-x-4 self-center" }, G = { class: "flex space-x-12 mb-6" }, re = /* @__PURE__ */ Y({
14
+ __name: "Transaction",
15
+ setup(Q) {
16
+ const { dateRange: s, searchKey: n, accountId: d, status: t } = $({
17
+ accountId: "",
18
+ searchKey: "",
19
+ status: [m.F_PAYMENT_TRANSACTION_STATUS.Enum.SUCCESS],
20
+ dateRange: {
21
+ startDate: C().startOf("day").format("YYYY-MM-DD"),
22
+ endDate: C().endOf("day").format("YYYY-MM-DD")
23
+ }
24
+ }), { isLoading: S, startAsyncCall: h } = I(!0), { currentBusiness: R } = O(), r = y([]), c = y([]);
25
+ async function A() {
26
+ await h(async () => {
27
+ const { startDate: _, endDate: e } = s.value, u = await V.readAccountTransactions({
28
+ status: t.value,
29
+ accountId: d.value,
30
+ start: _,
31
+ end: e
32
+ });
33
+ if (r.value = F(u), c.value = r.value, n.value > "") {
34
+ var T = new RegExp(n.value, "i");
35
+ c.value = r.value.filter((a) => {
36
+ const U = JSON.stringify(a);
37
+ return T.test(U);
38
+ });
39
+ }
40
+ });
41
+ }
42
+ function N() {
43
+ A();
44
+ }
45
+ b(N), v(R, N), v([s, t], A);
46
+ let p;
47
+ v(n, async () => {
48
+ p && clearTimeout(p), p = setTimeout(() => {
49
+ var _ = new RegExp(n.value, "i");
50
+ c.value = r.value.filter((e) => {
51
+ const u = JSON.stringify(e);
52
+ return _.test(u);
53
+ });
54
+ }, 700);
55
+ });
56
+ const E = [
57
+ {
58
+ label: "Success",
59
+ value: m.F_PAYMENT_TRANSACTION_STATUS.Enum.SUCCESS
60
+ },
61
+ {
62
+ label: "Refunded",
63
+ value: m.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED
64
+ },
65
+ {
66
+ label: "Process",
67
+ value: m.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING
68
+ },
69
+ {
70
+ label: "Failed",
71
+ value: m.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED
72
+ }
73
+ ];
74
+ return (_, e) => {
75
+ const u = g("FmSearch"), T = g("FmSelect");
76
+ return w(), D(P, {
77
+ title: "Online Transactions",
78
+ description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
79
+ loading: l(S)
80
+ }, {
81
+ default: x(() => [
82
+ f("div", K, [
83
+ f("div", j, [
84
+ o(u, {
85
+ "model-value": l(n),
86
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => i(n) ? n.value = a : null),
87
+ class: "mr-8",
88
+ label: "Search",
89
+ placeholder: "Search Transactions ..."
90
+ }, null, 8, ["model-value"]),
91
+ o(T, {
92
+ modelValue: l(t),
93
+ "onUpdate:modelValue": e[2] || (e[2] = (a) => i(t) ? t.value = a : null),
94
+ class: "mr-6 w-[300px]",
95
+ label: "Status",
96
+ "label-mark": "required",
97
+ multiselect: "",
98
+ items: E
99
+ }, {
100
+ "prepend-menu": x(() => [
101
+ o(L, {
102
+ modelValue: l(t),
103
+ "onUpdate:modelValue": e[1] || (e[1] = (a) => i(t) ? t.value = a : null),
104
+ items: E
105
+ }, null, 8, ["modelValue"])
106
+ ]),
107
+ _: 1
108
+ }, 8, ["modelValue"])
109
+ ]),
110
+ f("div", q, [
111
+ o(k, {
112
+ button: {
113
+ appendIcon: "file_download",
114
+ variant: "primary",
115
+ label: "Export"
116
+ },
117
+ handler: async () => {
118
+ await l(V).downloadPortalTransactionReport(r.value);
119
+ }
120
+ }, null, 8, ["handler"])
121
+ ])
122
+ ]),
123
+ f("div", G, [
124
+ o(J, {
125
+ modelValue: l(d),
126
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => i(d) ? d.value = a : null)
127
+ }, null, 8, ["modelValue"]),
128
+ o(B, {
129
+ modelValue: l(s),
130
+ "onUpdate:modelValue": e[4] || (e[4] = (a) => i(s) ? s.value = a : null)
131
+ }, null, 8, ["modelValue"])
132
+ ]),
133
+ o(M, {
134
+ loading: l(S),
135
+ data: c.value
136
+ }, null, 8, ["loading", "data"])
137
+ ]),
138
+ _: 1
139
+ }, 8, ["loading"]);
140
+ };
141
+ }
142
+ });
143
+ export {
144
+ re as default
145
+ };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as b, resolveComponent as g, openBlock as p, createBlock as E, normalizeClass as R, withCtx as w, createElementVNode as h, toDisplayString as V, createElementBlock as A, unref as u, createVNode as d, Fragment as Y, renderList as $, ref as C, watch as N, isRef as v, h as y } from "vue";
2
- import { t as _, a as P, b as I } from "./transaction-13xSmWg9.js";
2
+ import { t as _, a as P, b as I } from "./transaction-BPkT1OxL.js";
3
3
  import { h as T } from "./moment-h96o7c8I.js";
4
- import { u as L } from "./index-BWpuTiNy.js";
4
+ import { u as L } from "./index-BIH2Edx9.js";
5
5
  import { _ as B } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
6
6
  import { _ as U } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
7
7
  import { useSnackbar as G, useDialog as j } from "@feedmepos/ui-library";
@@ -9,9 +9,9 @@ import { w as D } from "./Modal-DB8M9o1T.js";
9
9
  import { u as x } from "./error-K1CakhA9.js";
10
10
  import { _ as Q } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
11
11
  import { g as z } from "./grafana-CqkYm_ru.js";
12
- import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-Bm7Wybo3.js";
13
- import { e as S } from "./index-Bl77l-UI.js";
14
- import { g as J, a as W } from "./assets-NM2zCyV8.js";
12
+ import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-BE90OAD9.js";
13
+ import { e as S } from "./index-BqZakjyK.js";
14
+ import { g as J, a as W } from "./assets-Cppbnt4C.js";
15
15
  import { _ as X } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
16
16
  const Z = /* @__PURE__ */ b({
17
17
  __name: "Status",
@@ -0,0 +1,99 @@
1
+ import { defineComponent as R, ref as v, onMounted as Y, watch as m, resolveComponent as S, openBlock as b, createBlock as V, unref as r, withCtx as C, createElementVNode as d, createVNode as l, isRef as h } from "vue";
2
+ import { t as y, a as M } from "./transaction-BPkT1OxL.js";
3
+ import { u as O } from "./index-BqZakjyK.js";
4
+ import { _ as $ } from "./TransactionTable.vue_vue_type_script_setup_true_lang-_MmkKHxE.js";
5
+ import { h as g } from "./moment-h96o7c8I.js";
6
+ import { useCoreStore as k } from "@feedmepos/mf-common";
7
+ import { _ as E } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
8
+ import { u as N } from "./index-BIH2Edx9.js";
9
+ import { _ as L } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
10
+ import { _ as P } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js";
11
+ import { _ as A } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
12
+ const B = { class: "flex justify-between mb-6 items-center" }, F = { class: "flex space-x-8" }, J = { class: "flex space-x-4 self-center" }, K = { class: "mb-6" }, ae = /* @__PURE__ */ R({
13
+ __name: "TransactionOld",
14
+ setup(U) {
15
+ const { dateRange: t, searchKey: a } = N({
16
+ searchKey: "",
17
+ dateRange: {
18
+ startDate: g().startOf("day").format("YYYY-MM-DD"),
19
+ endDate: g().endOf("day").format("YYYY-MM-DD")
20
+ }
21
+ }), { isLoading: f, startAsyncCall: x } = O(!0), { currentRestaurant: w } = k(), n = v([]), i = v([]);
22
+ async function p() {
23
+ await x(async () => {
24
+ const { startDate: c, endDate: e } = t.value, o = await y.readRestaurantTransactions({
25
+ start: c,
26
+ end: e
27
+ });
28
+ if (n.value = M(o), i.value = n.value, a.value > "") {
29
+ var s = new RegExp(a.value, "i");
30
+ i.value = n.value.filter((T) => {
31
+ const D = JSON.stringify(T);
32
+ return s.test(D);
33
+ });
34
+ }
35
+ });
36
+ }
37
+ function _() {
38
+ p();
39
+ }
40
+ Y(_), m(w, _), m(t, p);
41
+ let u;
42
+ return m(a, async () => {
43
+ u && clearTimeout(u), u = setTimeout(() => {
44
+ var c = new RegExp(a.value, "i");
45
+ i.value = n.value.filter((e) => {
46
+ const o = JSON.stringify(e);
47
+ return c.test(o);
48
+ });
49
+ }, 700);
50
+ }), (c, e) => {
51
+ const o = S("FmSearch");
52
+ return b(), V(E, {
53
+ title: "Transactions",
54
+ description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
55
+ loading: r(f)
56
+ }, {
57
+ default: C(() => [
58
+ d("div", B, [
59
+ d("div", F, [
60
+ l(P),
61
+ l(o, {
62
+ "model-value": r(a),
63
+ "onUpdate:modelValue": e[0] || (e[0] = (s) => h(a) ? a.value = s : null),
64
+ label: "Search",
65
+ placeholder: "Search Transactions ..."
66
+ }, null, 8, ["model-value"])
67
+ ]),
68
+ d("div", J, [
69
+ l(L, {
70
+ button: {
71
+ appendIcon: "file_download",
72
+ variant: "primary",
73
+ label: "Export"
74
+ },
75
+ handler: async () => {
76
+ await r(y).downloadPortalTransactionReport(n.value);
77
+ }
78
+ }, null, 8, ["handler"])
79
+ ])
80
+ ]),
81
+ d("div", K, [
82
+ l(A, {
83
+ modelValue: r(t),
84
+ "onUpdate:modelValue": e[1] || (e[1] = (s) => h(t) ? t.value = s : null)
85
+ }, null, 8, ["modelValue"])
86
+ ]),
87
+ l($, {
88
+ loading: r(f),
89
+ data: i.value
90
+ }, null, 8, ["loading", "data"])
91
+ ]),
92
+ _: 1
93
+ }, 8, ["loading"]);
94
+ };
95
+ }
96
+ });
97
+ export {
98
+ ae as default
99
+ };
@@ -0,0 +1,151 @@
1
+ import { defineComponent as n, resolveComponent as p, openBlock as s, createBlock as _, normalizeClass as f, withCtx as T, createElementVNode as w, toDisplayString as A, createElementBlock as g, unref as h, ref as N, h as u } from "vue";
2
+ import "@feedmepos/ui-library";
3
+ import { e as m } from "./index-BqZakjyK.js";
4
+ import "./dinero-CIVmXLL-.js";
5
+ import "./moment-h96o7c8I.js";
6
+ import { g as x, a as E } from "./assets-Cppbnt4C.js";
7
+ const S = /* @__PURE__ */ n({
8
+ __name: "Status",
9
+ props: {
10
+ row: {},
11
+ data: {}
12
+ },
13
+ setup(o) {
14
+ const t = o;
15
+ function r() {
16
+ return t.data === m.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : t.data === m.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : t.data === m.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
17
+ }
18
+ return (c, l) => {
19
+ const i = p("FmBadge");
20
+ return s(), _(i, {
21
+ inline: "",
22
+ class: f(r())
23
+ }, {
24
+ default: T(() => [
25
+ w("div", null, A(c.data), 1)
26
+ ]),
27
+ _: 1
28
+ }, 8, ["class"]);
29
+ };
30
+ }
31
+ }), F = ["src"], I = /* @__PURE__ */ n({
32
+ __name: "Gateway",
33
+ props: {
34
+ row: {},
35
+ data: {}
36
+ },
37
+ setup(o) {
38
+ return (t, r) => (s(), g("img", {
39
+ class: "rounded-md m-auto border-transparent object-contain w-[32px] h-[32px]",
40
+ src: h(x)(t.row.original.gateway)
41
+ }, null, 8, F));
42
+ }
43
+ }), b = ["src"], K = /* @__PURE__ */ n({
44
+ __name: "Method",
45
+ props: {
46
+ row: {},
47
+ data: {}
48
+ },
49
+ setup(o) {
50
+ return (t, r) => (s(), g("img", {
51
+ class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
52
+ src: h(E)(t.row.original.method.issuer)
53
+ }, null, 8, b));
54
+ }
55
+ }), v = /* @__PURE__ */ n({
56
+ __name: "TransactionTable",
57
+ props: {
58
+ data: {
59
+ type: Array,
60
+ required: !0
61
+ },
62
+ loading: {
63
+ type: Boolean,
64
+ required: !0
65
+ }
66
+ },
67
+ emits: ["row-click"],
68
+ setup(o, { emit: t }) {
69
+ const r = o, c = t, l = N(""), i = [
70
+ {
71
+ header: () => "Transaction ID",
72
+ accessorKey: "id"
73
+ },
74
+ {
75
+ header: () => "Pay ID",
76
+ accessorKey: "payId"
77
+ },
78
+ {
79
+ header: () => "Bill Seq No",
80
+ accessorKey: "seqNumber"
81
+ },
82
+ {
83
+ header: () => "Gateway",
84
+ accessorKey: "gateway",
85
+ meta: {
86
+ textAlign: "center"
87
+ },
88
+ cell: ({ cell: a, row: e }) => e.original.method ? u(I, { row: e, data: a.getValue() }) : ""
89
+ },
90
+ {
91
+ header: () => "Method",
92
+ accessorKey: "method",
93
+ meta: {
94
+ textAlign: "center"
95
+ },
96
+ cell: ({ cell: a, row: e }) => e.original.method ? u(K, { row: e, data: a.getValue() }) : ""
97
+ },
98
+ {
99
+ header: () => "Type",
100
+ accessorKey: "type",
101
+ meta: {
102
+ textAlign: "center"
103
+ },
104
+ cell: ({ row: a }) => {
105
+ if (!a.original.method)
106
+ return "";
107
+ const e = a.original.method.variant;
108
+ return e.includes("_ONLINE") ? "ONLINE" : e.includes("_OFFLINE") ? "OFFLINE" : e;
109
+ }
110
+ },
111
+ {
112
+ header: () => "Status",
113
+ accessorKey: "status",
114
+ cell: ({ cell: a, row: e }) => u(S, { row: e, data: a.getValue() })
115
+ },
116
+ {
117
+ header: () => "Transaction At",
118
+ accessorKey: "transactionAt",
119
+ meta: {
120
+ width: "180px"
121
+ }
122
+ },
123
+ {
124
+ header: () => "Sales Amount",
125
+ accessorKey: "amount"
126
+ },
127
+ {
128
+ header: () => "Fee",
129
+ accessorKey: "fee"
130
+ },
131
+ {
132
+ header: () => "Settlement Amount",
133
+ accessorKey: "payout"
134
+ }
135
+ ];
136
+ return (a, e) => {
137
+ const y = p("FmTable");
138
+ return s(), _(y, {
139
+ modelValue: l.value,
140
+ "onUpdate:modelValue": e[0] || (e[0] = (d) => l.value = d),
141
+ "column-defs": i,
142
+ "row-data": r.data,
143
+ loading: r.loading,
144
+ onRowClick: e[1] || (e[1] = (d) => c("row-click", r.data.at(d.index)))
145
+ }, null, 8, ["modelValue", "row-data", "loading"]);
146
+ };
147
+ }
148
+ });
149
+ export {
150
+ v as _
151
+ };
@@ -10,7 +10,8 @@ export declare const terminalTransactionApi: {
10
10
  limit: number;
11
11
  cursor: string;
12
12
  }): Promise<PaginatedResult<FdoTerminalTransaction>>;
13
- readRestaurantTransactions(payload: {
13
+ readAccountTransactions(payload: {
14
+ accountId: string;
14
15
  status: F_TERMINAL_TRANSACTION_ACTION[];
15
16
  searchKey: string;
16
17
  start: string;
@@ -1,5 +1,6 @@
1
1
  import type { PortalPaymentTransaction } from "@/model/transaction";
2
2
  import { PaymentRefundByTransactionIdDto, type PaymentTransactionDtoOutput } from "@feedmepos/payment-entity";
3
+ import type { F_PAYMENT_TRANSACTION_STATUS } from "@feedmepos/payment-entity/common/enum";
3
4
  export declare const transactionApi: {
4
5
  readBySettlementId(settlementId: string): Promise<PaymentTransactionDtoOutput[]>;
5
6
  readTransactions(params: {
@@ -19,8 +20,14 @@ export declare const transactionApi: {
19
20
  start: string;
20
21
  end: string;
21
22
  }): Promise<PaymentTransactionDtoOutput[]>;
23
+ readAccountTransactions(params: {
24
+ status: F_PAYMENT_TRANSACTION_STATUS[];
25
+ accountId: string;
26
+ start: string;
27
+ end: string;
28
+ }): Promise<PaymentTransactionDtoOutput[]>;
22
29
  readRestaurantTransactionsBySettlementId(settlementId: string): Promise<PaymentTransactionDtoOutput[]>;
23
- downloadRestaurantTransactionReport(data: PortalPaymentTransaction[]): Promise<void>;
30
+ downloadPortalTransactionReport(data: PortalPaymentTransaction[]): Promise<void>;
24
31
  downloadTransactionReport(date: {
25
32
  start: string;
26
33
  end: string;