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

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 (71) hide show
  1. package/dist/{PayoutAccount-BnYhJ0R2.js → PayoutAccount-6etZAyPK.js} +5 -5
  2. package/dist/{PayoutAccount-Cjkghc6L.js → PayoutAccount-DGscBAsV.js} +3 -3
  3. package/dist/PayoutAccountSelector.vue_vue_type_script_setup_true_lang-B6isPQJE.js +110 -0
  4. package/dist/{PayoutAccountSetting-C1yeSNv8.js → PayoutAccountSetting-DqumwNM9.js} +4 -4
  5. package/dist/Restaurant-DaL6bM-z.js +305 -0
  6. package/dist/{RestaurantSetting-CWZAKz1A.js → RestaurantSetting-BzaedFJS.js} +4 -4
  7. package/dist/{Settlement-BKwie9R8.js → Settlement-BpYpn4Xh.js} +3 -3
  8. package/dist/{Settlement-ByPXBNx1.js → Settlement-iDVx6O6H.js} +3 -3
  9. package/dist/{SettlementTransactions-rXQceUoG.js → SettlementTransactions-B7mIgCvy.js} +4 -4
  10. package/dist/{SettlementTransactions-DVRoAUYv.js → SettlementTransactions-DyUVhxLt.js} +4 -4
  11. package/dist/Terminal-CAMFrRck.js +404 -0
  12. package/dist/{TerminalSetting-qklmRz3H.js → TerminalSetting-BtK3bmTs.js} +3 -3
  13. package/dist/{TerminalTransaction-YXcGJ2ne.js → TerminalTransaction-1uFcVlOV.js} +184 -154
  14. package/dist/TerminalTransaction-BL8zrvkb.js +272 -0
  15. package/dist/{Transaction-CqTKm8KP.js → Transaction-DhYYEGyA.js} +81 -48
  16. package/dist/Transaction-p_u3tw0B.js +145 -0
  17. package/dist/TransactionOld-CEqAIIXl.js +99 -0
  18. package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-n8-Ejjku.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-JZYaBz1E.js → app-BdVFEBRO.js} +507 -494
  22. package/dist/app.js +1 -1
  23. package/dist/{assets-DjRoCcqv.js → assets-CtblXAzH.js} +1 -1
  24. package/dist/components/PayoutAccountSelector.vue.d.ts +23 -0
  25. package/dist/grafana-CqkYm_ru.js +46 -0
  26. package/dist/helpers/grafana.d.ts +7 -0
  27. package/dist/{index-BerQZMQW.js → index-B9uFzXYZ.js} +1 -1
  28. package/dist/{index-CWGSYCJG.js → index-BO1hyRHY.js} +1 -1
  29. package/dist/{index-BEFlDEyV.js → index-CUbwTavd.js} +1 -1
  30. package/dist/{index-Dj_LwPBy.js → index-CXCXrHB0.js} +8489 -8321
  31. package/dist/{index-CKyh0nlu.js → index-CzRHCb77.js} +10 -10
  32. package/dist/{index-Bp_58SiC.js → index-D4u8kqII.js} +1 -1
  33. package/dist/{index-BWFqxSU3.js → index-S1nUjtnb.js} +1 -1
  34. package/dist/{index-DFePh4ct.js → index-y0gFHlyK.js} +1 -1
  35. package/dist/{index.vue_vue_type_script_setup_true_lang-BgTr7KWF.js → index.vue_vue_type_script_setup_true_lang-B0gi93RG.js} +1 -1
  36. package/dist/model/transaction.d.ts +2 -0
  37. package/dist/package.json +3 -3
  38. package/dist/{payout-account-DWXNiWdx.js → payout-account-BBk3t8ex.js} +2 -2
  39. package/dist/router/index.d.ts +1 -0
  40. package/dist/stores/payoutAccount.d.ts +4 -4
  41. package/dist/transaction-WIA_gVK_.js +118 -0
  42. package/dist/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
  44. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +4 -4
  45. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
  46. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
  47. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  48. package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +8 -8
  49. package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
  50. package/dist/views/admin/restaurant/cell/LogButton.vue.d.ts +5 -0
  51. package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
  52. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  53. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +8 -8
  54. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
  55. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
  56. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +8 -8
  57. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +8 -8
  58. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +8 -8
  59. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +8 -8
  60. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +8 -8
  61. package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +3 -1
  62. package/dist/views/admin/transaction/cell/Actions.vue.d.ts +1 -1
  63. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
  64. package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
  65. package/dist/views/transaction/TransactionOld.vue.d.ts +2 -0
  66. package/package.json +3 -3
  67. package/dist/Restaurant-B02jty0J.js +0 -262
  68. package/dist/Terminal-DX8v8WpM.js +0 -386
  69. package/dist/TerminalTransaction-64Bn6vh0.js +0 -261
  70. package/dist/Transaction-BOc0NW9a.js +0 -238
  71. package/dist/transaction-Bxl86wzh.js +0 -100
@@ -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-WIA_gVK_.js";
3
+ import { _ as m, u as I } from "./index-CXCXrHB0.js";
4
+ import { _ as M } from "./TransactionTable.vue_vue_type_script_setup_true_lang-n8-Ejjku.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-B9uFzXYZ.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-B6isPQJE.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
+ };
@@ -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-WIA_gVK_.js";
3
+ import { u as O } from "./index-CXCXrHB0.js";
4
+ import { _ as $ } from "./TransactionTable.vue_vue_type_script_setup_true_lang-n8-Ejjku.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-B9uFzXYZ.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-CXCXrHB0.js";
4
+ import "./dinero-CIVmXLL-.js";
5
+ import "./moment-h96o7c8I.js";
6
+ import { g as x, a as E } from "./assets-CtblXAzH.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;