@feedmepos/mf-payment 1.0.28-beta.2 → 1.1.0-beta.1
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/{PDFViewer-xrBtzrlR.js → PDFViewer-BQfgFexr.js} +2 -1
- package/dist/{PayoutAccount-CBh520Qd.js → PayoutAccount-BHJpjUqD.js} +5 -5
- package/dist/{PayoutAccount-BnHoTtMi.js → PayoutAccount-DCkf_1yL.js} +5 -4
- package/dist/PayoutAccountSetting-Bk-g7ucZ.js +723 -0
- package/dist/{Restaurant-Hg88M5VI.js → Restaurant-D2qq84VL.js} +56 -54
- package/dist/{RestaurantSetting-B-wc4YDK.js → RestaurantSetting-DAtrtX6S.js} +3 -3
- package/dist/{Settlement-BGS6kLTS.js → Settlement-BVIsszEJ.js} +37 -34
- package/dist/{Settlement-Ce2W2XDS.js → Settlement-Cx1tc5wt.js} +9 -8
- package/dist/{SettlementTransactions-DACSkgFS.js → SettlementTransactions-C82DyYlO.js} +14 -14
- package/dist/{SettlementTransactions-CFS-4VBi.js → SettlementTransactions-CeN4SRWa.js} +39 -39
- package/dist/{Terminal-yfS0o6id.js → Terminal-Az2k8E6F.js} +323 -342
- package/dist/{TerminalSetting-NvYoH1FN.js → TerminalSetting-C-xlLYXa.js} +27 -27
- package/dist/Transaction-CC8hc8_r.js +250 -0
- package/dist/{Transaction-DOkGYxU_.js → Transaction-Y_mc0yQv.js} +123 -105
- package/dist/{TransactionOld-zxpmzUzh.js → TransactionOld-BxhI-wwm.js} +7 -7
- package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-dwwesT4_.js +304 -0
- package/dist/api/payout/index.d.ts +5 -1
- package/dist/api/terminal/index.d.ts +6 -10
- package/dist/api/transaction/index.d.ts +12 -11
- package/dist/{app-U2zosiYM.js → app-OBp4HaEY.js} +873 -811
- package/dist/app.js +1 -1
- package/dist/{assets-C5ikBqta.js → assets-pLBp82yE.js} +208 -58
- package/dist/components/SourceSelector.vue.d.ts +12 -0
- package/dist/{grafana-Bf91brqK.js → grafana-hv7inD36.js} +1 -1
- package/dist/{index-GteStxtj.js → index-1xF00w89.js} +1 -1
- package/dist/{index-BBoi9wDz.js → index-CFYD8Dv4.js} +1 -1
- package/dist/index-Cqq3p9PP.js +66 -0
- package/dist/{index-B5xc12hq.js → index-DD5mEX0D.js} +1 -1
- package/dist/{index-D8J1GO2q.js → index-DGKxdJVj.js} +8164 -8082
- package/dist/index-oM4Z9ffu.js +45 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DZwLItyk.js → index.vue_vue_type_script_setup_true_lang-C9tnqgzY.js} +8 -7
- package/dist/model/payout-account.d.ts +1 -1
- package/dist/model/transaction.d.ts +13 -5
- package/dist/package.json +2 -2
- package/dist/{payout-account-BKcgcf9C.js → payout-account-DPaS3dIs.js} +2 -2
- package/dist/router/index.d.ts +1 -0
- package/dist/stores/payoutAccount.d.ts +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +133 -0
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +133 -0
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/cell/Actions.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +10 -23
- package/dist/views/admin/{terminal-transaction/TerminalTransaction.vue.d.ts → payout-account/tabs/gateway/MacauPassGateway.vue.d.ts} +1 -1
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/Terminal.vue.d.ts +4 -1
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +2 -2
- package/dist/views/admin/transaction/cell/Actions.vue.d.ts +2 -0
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +16 -16
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +8 -8
- package/dist/views/{admin/terminal-transaction → transaction}/cell/Actions.vue.d.ts +3 -3
- package/package.json +2 -2
- package/dist/PayoutAccountSetting-xC8_JQLN.js +0 -426
- package/dist/TerminalTransaction-BulIYAWj.js +0 -333
- package/dist/TerminalTransaction-HMmRqtr1.js +0 -589
- package/dist/Transaction-B1u_AbEJ.js +0 -247
- package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-DEPASHaN.js +0 -159
- package/dist/components/PayoutAccountSelector.vue.d.ts +0 -23
- package/dist/index-6CRJVoBq.js +0 -52
- package/dist/index-Cti5gi62.js +0 -77
- package/dist/index-l27QvtNB.js +0 -40
- package/dist/transaction-CxXve4F4.js +0 -136
- package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +0 -50
- package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +0 -52
- package/dist/views/admin/terminal-transaction/cell/Gateway.vue.d.ts +0 -7
- package/dist/views/admin/terminal-transaction/cell/Method.vue.d.ts +0 -7
- package/dist/views/admin/terminal-transaction/cell/Status.vue.d.ts +0 -7
- package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +0 -2
- package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +0 -7
- package/dist/views/terminal-transaction/cell/Method.vue.d.ts +0 -7
- package/dist/views/terminal-transaction/cell/Status.vue.d.ts +0 -7
@@ -1,136 +0,0 @@
|
|
1
|
-
import { g as e, b as o, r, h as m, l as u, i as f } from "./index-D8J1GO2q.js";
|
2
|
-
import { h as a } from "./moment-h96o7c8I.js";
|
3
|
-
import { d as s } from "./dinero-CIVmXLL-.js";
|
4
|
-
const A = {
|
5
|
-
async readBySettlementId(t) {
|
6
|
-
return e(
|
7
|
-
await o().get(
|
8
|
-
`/transactions/settlements/${t}`
|
9
|
-
)
|
10
|
-
);
|
11
|
-
},
|
12
|
-
async readTransactions(t) {
|
13
|
-
return e(
|
14
|
-
await o().get("/transactions", {
|
15
|
-
params: {
|
16
|
-
search: t.search,
|
17
|
-
skip: t.skip,
|
18
|
-
limit: t.limit,
|
19
|
-
start: a(t.start).startOf("day").toISOString(),
|
20
|
-
end: a(t.end).endOf("day").toISOString()
|
21
|
-
}
|
22
|
-
})
|
23
|
-
);
|
24
|
-
},
|
25
|
-
async removeTransactionFromSettlement(t) {
|
26
|
-
return e(
|
27
|
-
await o().delete(`/settlements/${t}`)
|
28
|
-
);
|
29
|
-
},
|
30
|
-
async refetchTransaction({
|
31
|
-
transactionId: t
|
32
|
-
}) {
|
33
|
-
return e(
|
34
|
-
await o().get(`/transactions/refetch/${t}`)
|
35
|
-
);
|
36
|
-
},
|
37
|
-
async refundTransaction(t) {
|
38
|
-
return e(await o().post("/payments/refund", t));
|
39
|
-
},
|
40
|
-
async renotifyTransaction(t) {
|
41
|
-
return e(
|
42
|
-
await o().post("/payments/re-notify", { transactionId: t })
|
43
|
-
);
|
44
|
-
},
|
45
|
-
async readRestaurantTransactions(t) {
|
46
|
-
return e(
|
47
|
-
await r().get("/transactions", {
|
48
|
-
params: {
|
49
|
-
v2: !0,
|
50
|
-
start: a(t.start).startOf("day").toISOString(),
|
51
|
-
end: a(t.end).endOf("day").toISOString()
|
52
|
-
}
|
53
|
-
})
|
54
|
-
);
|
55
|
-
},
|
56
|
-
async readAccountTransactions(t) {
|
57
|
-
return e(
|
58
|
-
await m().get("/transactions", {
|
59
|
-
params: {
|
60
|
-
status: t.status,
|
61
|
-
accountId: t.accountId,
|
62
|
-
start: a(t.start).startOf("day").toISOString(),
|
63
|
-
end: a(t.end).endOf("day").toISOString()
|
64
|
-
}
|
65
|
-
})
|
66
|
-
);
|
67
|
-
},
|
68
|
-
async readRestaurantTransactionsBySettlementId(t) {
|
69
|
-
return e(
|
70
|
-
await r().get(
|
71
|
-
`/transactions/settlements/${t}`
|
72
|
-
)
|
73
|
-
);
|
74
|
-
},
|
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"],
|
80
|
-
include: ["method.issuer", "fdoAmount.amount", "fdoAmount.currency"],
|
81
|
-
rename: {
|
82
|
-
"method.issuer": "method",
|
83
|
-
"fdoAmount.currency": "currency",
|
84
|
-
"fdoAmount.amount": "amount"
|
85
|
-
},
|
86
|
-
transformers: {
|
87
|
-
gateway: (n) => n === "RAZER_MERCHANT_SERVICE" ? "FIUU" : n,
|
88
|
-
"fdoAmount.amount": (n) => (n / 100).toFixed(2),
|
89
|
-
fee: (n) => (console.log(n), n.split(" ")[1]),
|
90
|
-
payout: (n) => n.split(" ")[1],
|
91
|
-
transactionAt: (n) => a(n).format("YYYY-MM-DD HH:mm:ss"),
|
92
|
-
refundedAt: (n) => a(n).format("YYYY-MM-DD HH:mm:ss")
|
93
|
-
}
|
94
|
-
});
|
95
|
-
},
|
96
|
-
async downloadTransactionReport(t) {
|
97
|
-
return f(
|
98
|
-
await o().get("/transactions/report", {
|
99
|
-
params: {
|
100
|
-
start: a(t.start).startOf("day").toISOString(),
|
101
|
-
end: a(t.end).endOf("day").toISOString()
|
102
|
-
}
|
103
|
-
}),
|
104
|
-
`transaction-report-${t.start}-${t.end}.xlsx`
|
105
|
-
);
|
106
|
-
}
|
107
|
-
};
|
108
|
-
function y(t) {
|
109
|
-
return {
|
110
|
-
id: t._id,
|
111
|
-
payId: t.payId,
|
112
|
-
method: t.method,
|
113
|
-
gateway: t.gateway,
|
114
|
-
status: t.status,
|
115
|
-
payFor: t.payFor,
|
116
|
-
transactionAt: a(t.completedAt ?? t.createdAt).format(
|
117
|
-
"YYYY-MM-DD HH:mm:ss"
|
118
|
-
),
|
119
|
-
refundedAt: a(t.refundedAt ?? t.createdAt).format(
|
120
|
-
"YYYY-MM-DD HH:mm:ss"
|
121
|
-
),
|
122
|
-
fdoAmount: t.amount,
|
123
|
-
amount: s(t.amount).toFormat("$0.00"),
|
124
|
-
fee: s(t.fee).toFormat("$0.00"),
|
125
|
-
payout: s(t.payout).toFormat("$0.00"),
|
126
|
-
seqNumber: t == null ? void 0 : t.seqNumber
|
127
|
-
};
|
128
|
-
}
|
129
|
-
function g(t) {
|
130
|
-
return t.map(y);
|
131
|
-
}
|
132
|
-
export {
|
133
|
-
g as a,
|
134
|
-
y as b,
|
135
|
-
A as t
|
136
|
-
};
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import type { FdoPaymentGateway } from '@feedmepos/payment-entity';
|
2
|
-
import type { PropType } from 'vue';
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
4
|
-
onUpdate: {
|
5
|
-
type: PropType<(g: any) => void>;
|
6
|
-
required: true;
|
7
|
-
};
|
8
|
-
onDelete: {
|
9
|
-
type: PropType<(g: FdoPaymentGateway) => void>;
|
10
|
-
required: true;
|
11
|
-
};
|
12
|
-
gateway: {
|
13
|
-
type: PropType<{
|
14
|
-
_id: string;
|
15
|
-
paymentGateway: "E_GHL";
|
16
|
-
config: {
|
17
|
-
merchantId: string;
|
18
|
-
terminalId: string;
|
19
|
-
privateKey: string;
|
20
|
-
};
|
21
|
-
_rev: string;
|
22
|
-
active: boolean;
|
23
|
-
} | undefined>;
|
24
|
-
required: true;
|
25
|
-
};
|
26
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
27
|
-
onUpdate: {
|
28
|
-
type: PropType<(g: any) => void>;
|
29
|
-
required: true;
|
30
|
-
};
|
31
|
-
onDelete: {
|
32
|
-
type: PropType<(g: FdoPaymentGateway) => void>;
|
33
|
-
required: true;
|
34
|
-
};
|
35
|
-
gateway: {
|
36
|
-
type: PropType<{
|
37
|
-
_id: string;
|
38
|
-
paymentGateway: "E_GHL";
|
39
|
-
config: {
|
40
|
-
merchantId: string;
|
41
|
-
terminalId: string;
|
42
|
-
privateKey: string;
|
43
|
-
};
|
44
|
-
_rev: string;
|
45
|
-
active: boolean;
|
46
|
-
} | undefined>;
|
47
|
-
required: true;
|
48
|
-
};
|
49
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
50
|
-
export default _default;
|
@@ -1,52 +0,0 @@
|
|
1
|
-
import type { FdoPaymentGateway } from '@feedmepos/payment-entity';
|
2
|
-
import type { PropType } from 'vue';
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
4
|
-
onUpdate: {
|
5
|
-
type: PropType<(g: any) => void>;
|
6
|
-
required: true;
|
7
|
-
};
|
8
|
-
onDelete: {
|
9
|
-
type: PropType<(g: FdoPaymentGateway) => void>;
|
10
|
-
required: true;
|
11
|
-
};
|
12
|
-
gateway: {
|
13
|
-
type: PropType<{
|
14
|
-
_id: string;
|
15
|
-
paymentGateway: "REVENUE_MONSTER";
|
16
|
-
config: {
|
17
|
-
clientId: string;
|
18
|
-
clientPrivateKey: string;
|
19
|
-
clientSecret: string;
|
20
|
-
storeId: string;
|
21
|
-
};
|
22
|
-
_rev: string;
|
23
|
-
active: boolean;
|
24
|
-
} | undefined>;
|
25
|
-
required: true;
|
26
|
-
};
|
27
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
28
|
-
onUpdate: {
|
29
|
-
type: PropType<(g: any) => void>;
|
30
|
-
required: true;
|
31
|
-
};
|
32
|
-
onDelete: {
|
33
|
-
type: PropType<(g: FdoPaymentGateway) => void>;
|
34
|
-
required: true;
|
35
|
-
};
|
36
|
-
gateway: {
|
37
|
-
type: PropType<{
|
38
|
-
_id: string;
|
39
|
-
paymentGateway: "REVENUE_MONSTER";
|
40
|
-
config: {
|
41
|
-
clientId: string;
|
42
|
-
clientPrivateKey: string;
|
43
|
-
clientSecret: string;
|
44
|
-
storeId: string;
|
45
|
-
};
|
46
|
-
_rev: string;
|
47
|
-
active: boolean;
|
48
|
-
} | undefined>;
|
49
|
-
required: true;
|
50
|
-
};
|
51
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
52
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Row } from '@feedmepos/ui-library';
|
2
|
-
type __VLS_Props = {
|
3
|
-
row: Row<any>;
|
4
|
-
data: unknown;
|
5
|
-
};
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Row } from '@feedmepos/ui-library';
|
2
|
-
type __VLS_Props = {
|
3
|
-
row: Row<any>;
|
4
|
-
data: unknown;
|
5
|
-
};
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Row } from '@feedmepos/ui-library';
|
2
|
-
type __VLS_Props = {
|
3
|
-
row: Row<any>;
|
4
|
-
data: unknown;
|
5
|
-
};
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Row } from '@feedmepos/ui-library';
|
2
|
-
type __VLS_Props = {
|
3
|
-
row: Row<any>;
|
4
|
-
data: unknown;
|
5
|
-
};
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Row } from '@feedmepos/ui-library';
|
2
|
-
type __VLS_Props = {
|
3
|
-
row: Row<any>;
|
4
|
-
data: unknown;
|
5
|
-
};
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { type Row } from '@feedmepos/ui-library';
|
2
|
-
type __VLS_Props = {
|
3
|
-
row: Row<any>;
|
4
|
-
data: unknown;
|
5
|
-
};
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|