@feedmepos/mf-payment 1.5.32-dev → 1.5.34-dev
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/{Chargeback-BkVFinyh.js → Chargeback-CQkYS7zA.js} +1 -1
- package/dist/{OnboardForm-CPhzV7E6.js → OnboardForm-C8aDH-Z2.js} +1 -1
- package/dist/{OnboardForm-Bi1kSVys.js → OnboardForm-wAD3F3VU.js} +238 -242
- package/dist/{OnboardSubmission-B24Jb79p.js → OnboardSubmission-BE5FWMKX.js} +114 -104
- package/dist/{PayoutAccount-CSx4qgd8.js → PayoutAccount-Dc_zZpAf.js} +1 -1
- package/dist/{PayoutAccount-Ejyj7kdu.js → PayoutAccount-DyLs9JCT.js} +1 -1
- package/dist/Settlement-BAeQCoUt.js +610 -0
- package/dist/{Settlement-DJ6ETp2U.js → Settlement-CRlYjp36.js} +1 -1
- package/dist/{SettlementTransactions-cYUYH2RJ.js → SettlementTransactions-C0vRk4kI.js} +21 -17
- package/dist/{SettlementTransactions-DF2ybUos.js → SettlementTransactions-C4F8UT8k.js} +2 -2
- package/dist/Transaction-D9hFp-bx.js +482 -0
- package/dist/{Transaction-CWFcreph.js → Transaction-yG_6hsqm.js} +1 -1
- package/dist/{TransactionOld-DttRuS3v.js → TransactionOld-r7nV-5_S.js} +1 -1
- package/dist/api/settlement/index.d.ts +10 -4
- package/dist/api/transaction/index.d.ts +1 -1
- package/dist/{app-CcfX4_sO.js → app-DmsKi6me.js} +13 -13
- package/dist/app.js +1 -1
- package/dist/components/SettlementSelector.vue.d.ts +12 -0
- package/dist/components/SourceSelector.vue.d.ts +2 -0
- package/dist/{index-BRhAeH7J.js → index-CiCmB-Rg.js} +13 -7
- package/dist/{index-BcmesiC4.js → index-_EfmUlsc.js} +21 -19
- package/dist/package.json +2 -2
- package/dist/{payout-account-n3WZh5PV.js → payout-account-Ce3mmpiT.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/Settlement-SoOQIN8y.js +0 -490
- package/dist/Transaction-i64HFmDS.js +0 -477
|
@@ -1174,7 +1174,7 @@ const Kn = {
|
|
|
1174
1174
|
sidebarDisplay: "Payout Accounts",
|
|
1175
1175
|
section: "payment-gateway"
|
|
1176
1176
|
},
|
|
1177
|
-
component: () => import("./PayoutAccount-
|
|
1177
|
+
component: () => import("./PayoutAccount-DyLs9JCT.js")
|
|
1178
1178
|
},
|
|
1179
1179
|
{
|
|
1180
1180
|
path: "/admin/payout-accounts/:accountId",
|
|
@@ -1201,7 +1201,7 @@ const Kn = {
|
|
|
1201
1201
|
meta: {
|
|
1202
1202
|
parent: "mf-payment-admin.onboard-submission"
|
|
1203
1203
|
},
|
|
1204
|
-
component: () => import("./OnboardForm-
|
|
1204
|
+
component: () => import("./OnboardForm-C8aDH-Z2.js")
|
|
1205
1205
|
},
|
|
1206
1206
|
{
|
|
1207
1207
|
path: "/admin/terminal/pos",
|
|
@@ -1272,7 +1272,7 @@ const Kn = {
|
|
|
1272
1272
|
meta: {
|
|
1273
1273
|
sidebarDisplay: "Transactions"
|
|
1274
1274
|
},
|
|
1275
|
-
component: () => import("./Transaction-
|
|
1275
|
+
component: () => import("./Transaction-yG_6hsqm.js")
|
|
1276
1276
|
},
|
|
1277
1277
|
{
|
|
1278
1278
|
path: "/admin/chargeback",
|
|
@@ -1280,7 +1280,7 @@ const Kn = {
|
|
|
1280
1280
|
meta: {
|
|
1281
1281
|
sidebarDisplay: "Chargebacks"
|
|
1282
1282
|
},
|
|
1283
|
-
component: () => import("./Chargeback-
|
|
1283
|
+
component: () => import("./Chargeback-CQkYS7zA.js")
|
|
1284
1284
|
},
|
|
1285
1285
|
{
|
|
1286
1286
|
path: "/admin/settlement",
|
|
@@ -1288,7 +1288,7 @@ const Kn = {
|
|
|
1288
1288
|
meta: {
|
|
1289
1289
|
sidebarDisplay: "Settlements"
|
|
1290
1290
|
},
|
|
1291
|
-
component: () => import("./Settlement-
|
|
1291
|
+
component: () => import("./Settlement-CRlYjp36.js")
|
|
1292
1292
|
},
|
|
1293
1293
|
{
|
|
1294
1294
|
path: "/admin/settlement/:settlementId",
|
|
@@ -1297,7 +1297,7 @@ const Kn = {
|
|
|
1297
1297
|
meta: {
|
|
1298
1298
|
parent: "mf-payment-admin.settlement"
|
|
1299
1299
|
},
|
|
1300
|
-
component: () => import("./SettlementTransactions-
|
|
1300
|
+
component: () => import("./SettlementTransactions-C4F8UT8k.js")
|
|
1301
1301
|
}
|
|
1302
1302
|
], ue = [
|
|
1303
1303
|
{
|
|
@@ -1307,7 +1307,7 @@ const Kn = {
|
|
|
1307
1307
|
{
|
|
1308
1308
|
path: "/payout-account",
|
|
1309
1309
|
name: "mf-payment-payout-account",
|
|
1310
|
-
component: () => import("./PayoutAccount-
|
|
1310
|
+
component: () => import("./PayoutAccount-Dc_zZpAf.js"),
|
|
1311
1311
|
meta: {
|
|
1312
1312
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
|
1313
1313
|
}
|
|
@@ -1315,7 +1315,7 @@ const Kn = {
|
|
|
1315
1315
|
{
|
|
1316
1316
|
path: "/onboard-submission",
|
|
1317
1317
|
name: "mf-payment-onboard-submission",
|
|
1318
|
-
component: () => import("./OnboardSubmission-
|
|
1318
|
+
component: () => import("./OnboardSubmission-BE5FWMKX.js"),
|
|
1319
1319
|
meta: {
|
|
1320
1320
|
sidebarDisplay: "i18n:payment.routes.onboard_submission",
|
|
1321
1321
|
region: { MY: !0, TH: !0 }
|
|
@@ -1325,7 +1325,7 @@ const Kn = {
|
|
|
1325
1325
|
path: "/onboard-submission/:type/:submission?",
|
|
1326
1326
|
name: "mf-payment-onboard-submission-form",
|
|
1327
1327
|
props: !0,
|
|
1328
|
-
component: () => import("./OnboardForm-
|
|
1328
|
+
component: () => import("./OnboardForm-wAD3F3VU.js"),
|
|
1329
1329
|
meta: {
|
|
1330
1330
|
parent: "mf-payment-onboard-submission"
|
|
1331
1331
|
}
|
|
@@ -1333,7 +1333,7 @@ const Kn = {
|
|
|
1333
1333
|
{
|
|
1334
1334
|
path: "/transaction-old",
|
|
1335
1335
|
name: "mf-payment-old-transaction",
|
|
1336
|
-
component: () => import("./TransactionOld-
|
|
1336
|
+
component: () => import("./TransactionOld-r7nV-5_S.js"),
|
|
1337
1337
|
meta: {
|
|
1338
1338
|
sidebarDisplay: "i18n:payment.routes.transaction"
|
|
1339
1339
|
}
|
|
@@ -1341,7 +1341,7 @@ const Kn = {
|
|
|
1341
1341
|
{
|
|
1342
1342
|
path: "/transaction",
|
|
1343
1343
|
name: "mf-payment-transaction",
|
|
1344
|
-
component: () => import("./Transaction-
|
|
1344
|
+
component: () => import("./Transaction-D9hFp-bx.js"),
|
|
1345
1345
|
meta: {
|
|
1346
1346
|
sidebarDisplay: "i18n:payment.routes.transaction_new",
|
|
1347
1347
|
sidebarNew: !0
|
|
@@ -1350,7 +1350,7 @@ const Kn = {
|
|
|
1350
1350
|
{
|
|
1351
1351
|
path: "/settlement",
|
|
1352
1352
|
name: "mf-payment-settlement",
|
|
1353
|
-
component: () => import("./Settlement-
|
|
1353
|
+
component: () => import("./Settlement-BAeQCoUt.js"),
|
|
1354
1354
|
meta: {
|
|
1355
1355
|
sidebarDisplay: "i18n:payment.routes.settlement",
|
|
1356
1356
|
region: { MY: !0, SG: !0 }
|
|
@@ -1360,7 +1360,7 @@ const Kn = {
|
|
|
1360
1360
|
path: "/settlement/:settlementId",
|
|
1361
1361
|
name: "mf-payment-settlement-transaction",
|
|
1362
1362
|
props: !0,
|
|
1363
|
-
component: () => import("./SettlementTransactions-
|
|
1363
|
+
component: () => import("./SettlementTransactions-C0vRk4kI.js"),
|
|
1364
1364
|
meta: {
|
|
1365
1365
|
parent: "mf-payment-settlement"
|
|
1366
1366
|
}
|
package/dist/app.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id: string;
|
|
3
|
+
by?: "PAYOUT_ACCOUNT" | "RESTAURANT" | string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:id": (...args: any[]) => void;
|
|
7
|
+
"update:by": (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:id"?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
"onUpdate:by"?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -2,6 +2,8 @@ type __VLS_Props = {
|
|
|
2
2
|
id: string;
|
|
3
3
|
by?: "PAYOUT_ACCOUNT" | "RESTAURANT" | "DEVICE" | string;
|
|
4
4
|
excludePayoutAccount?: boolean;
|
|
5
|
+
excludeOrderingPayoutAccount?: boolean;
|
|
6
|
+
excludeMarketingPayoutAccount?: boolean;
|
|
5
7
|
excludeRestaurant?: boolean;
|
|
6
8
|
excludeDevice?: boolean;
|
|
7
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as n, b as e, d as o, h as m, l,
|
|
1
|
+
import { g as n, b as e, d as o, h as m, l, f as i, r as f } from "./index-T2CVm7-_.js";
|
|
2
2
|
import { h as a } from "./moment-h96o7c8I.js";
|
|
3
3
|
const w = {
|
|
4
4
|
async readBySettlementId(t) {
|
|
@@ -45,17 +45,23 @@ const w = {
|
|
|
45
45
|
},
|
|
46
46
|
async bindPayId(t) {
|
|
47
47
|
return n(
|
|
48
|
-
await e().patch(
|
|
48
|
+
await e().patch(
|
|
49
|
+
`/transactions/${t.transactionId}/payId`,
|
|
50
|
+
{ payId: t.payId }
|
|
51
|
+
)
|
|
49
52
|
);
|
|
50
53
|
},
|
|
51
54
|
async setGatewayId(t) {
|
|
52
55
|
return n(
|
|
53
|
-
await e().patch(
|
|
56
|
+
await e().patch(
|
|
57
|
+
`/transactions/${t.transactionId}/gatewayTransactionId`,
|
|
58
|
+
{ gatewayTransactionId: t.gatewayTransactionId }
|
|
59
|
+
)
|
|
54
60
|
);
|
|
55
61
|
},
|
|
56
62
|
async readRestaurantTransactions(t) {
|
|
57
63
|
return n(
|
|
58
|
-
await
|
|
64
|
+
await f().get("/transactions", {
|
|
59
65
|
params: {
|
|
60
66
|
v2: !0,
|
|
61
67
|
start: a(t.start).startOf("day").toISOString(),
|
|
@@ -66,7 +72,7 @@ const w = {
|
|
|
66
72
|
},
|
|
67
73
|
async readTransactionsV2(t) {
|
|
68
74
|
return o(
|
|
69
|
-
await
|
|
75
|
+
await i().get("/transactions", {
|
|
70
76
|
params: {
|
|
71
77
|
status: t.status,
|
|
72
78
|
id: t.id,
|
|
@@ -80,10 +86,10 @@ const w = {
|
|
|
80
86
|
})
|
|
81
87
|
);
|
|
82
88
|
},
|
|
83
|
-
async
|
|
89
|
+
async readBusinessTransactionsBySettlementId(t) {
|
|
84
90
|
return n(
|
|
85
91
|
await i().get(
|
|
86
|
-
`/transactions
|
|
92
|
+
`/settlements/transactions/${t}`
|
|
87
93
|
)
|
|
88
94
|
);
|
|
89
95
|
},
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { g as r,
|
|
1
|
+
import { g as r, f as i, b as m, h as l, l as c, i as d, j as y } from "./index-T2CVm7-_.js";
|
|
2
2
|
import { h as o } from "./moment-h96o7c8I.js";
|
|
3
3
|
import { d as f } from "./dinero-CIVmXLL-.js";
|
|
4
|
-
function* p(t,
|
|
4
|
+
function* p(t, a) {
|
|
5
5
|
const e = t[Symbol.iterator](), s = e.next();
|
|
6
6
|
if (!s.done) {
|
|
7
7
|
yield s.value;
|
|
8
|
-
for (const
|
|
9
|
-
yield
|
|
8
|
+
for (const n of e)
|
|
9
|
+
yield a, yield n;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
const S = {
|
|
@@ -23,23 +23,23 @@ const S = {
|
|
|
23
23
|
);
|
|
24
24
|
},
|
|
25
25
|
async downloadBankInstructionFile(t) {
|
|
26
|
-
const
|
|
26
|
+
const a = "7161151059";
|
|
27
27
|
if (t.length === 0)
|
|
28
28
|
throw Error("no settlement for export");
|
|
29
|
-
const e = t.map((
|
|
29
|
+
const e = t.map((n) => ({
|
|
30
30
|
productCode: "P2A",
|
|
31
31
|
settlementDate: o().format("DDMMYYYY"),
|
|
32
32
|
myRefNo: "",
|
|
33
|
-
companyAccNo:
|
|
34
|
-
amount: f(
|
|
33
|
+
companyAccNo: a,
|
|
34
|
+
amount: f(n.totalPayout).toUnit().toString(),
|
|
35
35
|
currency: t[0].totalPayout.currency,
|
|
36
36
|
proxyType: "",
|
|
37
37
|
transferType: "DFLT",
|
|
38
|
-
beneficiaryAccountNo:
|
|
39
|
-
beneficiarySwiftCode:
|
|
38
|
+
beneficiaryAccountNo: n.beneficiaryBank.accountNumber.toString().trim(),
|
|
39
|
+
beneficiarySwiftCode: n.beneficiaryBank.swiftCode,
|
|
40
40
|
beneficiaryCountryCode: "",
|
|
41
41
|
duitNowID: "",
|
|
42
|
-
recipientReference:
|
|
42
|
+
recipientReference: n._id,
|
|
43
43
|
pf_payment: "",
|
|
44
44
|
notifyMethod: "",
|
|
45
45
|
emailAddress: ""
|
|
@@ -47,7 +47,7 @@ const S = {
|
|
|
47
47
|
Array.from(
|
|
48
48
|
p(
|
|
49
49
|
e.map(
|
|
50
|
-
(
|
|
50
|
+
(n) => Object.values(n).map((u) => u).join("|")
|
|
51
51
|
),
|
|
52
52
|
`
|
|
53
53
|
`
|
|
@@ -59,11 +59,11 @@ const S = {
|
|
|
59
59
|
);
|
|
60
60
|
return y(s, "duitnow_bulk_transfer.txt");
|
|
61
61
|
},
|
|
62
|
-
async downloadSummaryReport(t,
|
|
62
|
+
async downloadSummaryReport(t, a) {
|
|
63
63
|
return c(
|
|
64
64
|
t.map((e) => d(e)),
|
|
65
65
|
{
|
|
66
|
-
filename: `summary-report-${
|
|
66
|
+
filename: `summary-report-${a.start}-${a.end}.xlsx`,
|
|
67
67
|
exclude: [
|
|
68
68
|
"beneficiaryBank.swiftCode",
|
|
69
69
|
"beneficiaryBank.holderName",
|
|
@@ -105,12 +105,14 @@ const S = {
|
|
|
105
105
|
`settlement-report-${t.start}-${t.end}.xlsx`
|
|
106
106
|
);
|
|
107
107
|
},
|
|
108
|
-
async
|
|
108
|
+
async downloadBusinessSettlementReport(t) {
|
|
109
109
|
return l(
|
|
110
110
|
await i().get("/settlements/report", {
|
|
111
111
|
params: {
|
|
112
112
|
start: o(t.start).startOf("day").toISOString(),
|
|
113
|
-
end: o(t.end).endOf("day").toISOString()
|
|
113
|
+
end: o(t.end).endOf("day").toISOString(),
|
|
114
|
+
event: t.event,
|
|
115
|
+
id: t.id
|
|
114
116
|
}
|
|
115
117
|
}),
|
|
116
118
|
`settlement-report-${t.start}-${t.end}.xlsx`
|
|
@@ -121,19 +123,19 @@ const S = {
|
|
|
121
123
|
await m().get(`/settlements/${t}`)
|
|
122
124
|
);
|
|
123
125
|
},
|
|
124
|
-
async
|
|
126
|
+
async readBusinessSettlementById(t) {
|
|
125
127
|
return r(
|
|
126
128
|
await i().get(`/settlements/${t}`)
|
|
127
129
|
);
|
|
128
130
|
},
|
|
129
|
-
async
|
|
131
|
+
async readBusinessSettlements(t) {
|
|
130
132
|
return r(
|
|
131
133
|
await i().get("/settlements", {
|
|
132
134
|
params: t
|
|
133
135
|
})
|
|
134
136
|
);
|
|
135
137
|
},
|
|
136
|
-
async
|
|
138
|
+
async readBusinessRMSSettlements(t) {
|
|
137
139
|
return r(
|
|
138
140
|
await i().get("/settlements/rms", {
|
|
139
141
|
params: t
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as st, c as it, p as E, B as at } from "./index-T2CVm7-_.js";
|
|
2
2
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
|
3
3
|
import { d as H } from "./index-BGIv1us6.js";
|
|
4
|
-
import { _ as ot } from "./app-
|
|
4
|
+
import { _ as ot } from "./app-DmsKi6me.js";
|
|
5
5
|
var Q = { exports: {} };
|
|
6
6
|
(function(i, a) {
|
|
7
7
|
(function(t, m) {
|