@feedmepos/mf-payment 0.0.0-beta.50 → 0.0.0-beta.52
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{PayoutAccount-DGydj2Rp.js → PayoutAccount-BlK2cHYk.js} +3 -3
- package/dist/{PayoutAccount-DABJBnNC.js → PayoutAccount-DPBewHqT.js} +5 -5
- package/dist/{PayoutAccountSetting-CTHMEsjH.js → PayoutAccountSetting-kUQLeAcb.js} +3 -3
- package/dist/Settlement-Cp-TFGIq.js +195 -0
- package/dist/{Settlement-DsjIRuJW.js → Settlement-DluLTk33.js} +3 -3
- package/dist/{SettlementTransactions-D1pkLrWn.js → SettlementTransactions-BxuLXUR-.js} +4 -4
- package/dist/{SettlementTransactions-DZnWOOzM.js → SettlementTransactions-daWMAmtz.js} +4 -4
- package/dist/{Terminal-ClGqWjhf.js → Terminal-gxGnjFGc.js} +4 -4
- package/dist/{TerminalSetting-BixN506L.js → TerminalSetting--ZAJJ_Hf.js} +3 -3
- package/dist/{TerminalTransaction-Cpovc2fH.js → TerminalTransaction-C0-YVtZT.js} +19 -11
- package/dist/{TerminalTransaction-CjYedRYO.js → TerminalTransaction-lScNo7gJ.js} +45 -37
- package/dist/{Transaction-LC2KAr1G.js → Transaction-6Woe-8FI.js} +4 -4
- package/dist/{Transaction-bUy85OPi.js → Transaction-BA9Phcbt.js} +4 -4
- package/dist/api/index.d.ts +2 -0
- package/dist/api/settlement/index.d.ts +5 -0
- package/dist/{app-BSw8aQiR.js → app-eJW0P3w3.js} +174 -174
- package/dist/app.js +1 -1
- package/dist/{assets-B9l5jWbK.js → assets-NrCec-W0.js} +18 -17
- package/dist/{index-C5AZUa6M.js → index-7KNaibcq.js} +1 -1
- package/dist/{index-DuCv6dOI.js → index-BWUtjGg7.js} +1 -1
- package/dist/{index-BlGpdOEP.js → index-BwcJZFsi.js} +1 -1
- package/dist/{index-9ujJCGqe.js → index-CWaKb7bG.js} +6844 -6648
- package/dist/index-CojhNtuG.js +127 -0
- package/dist/{index-DYz8XIrE.js → index-DbJpbpSs.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DcbfY6SQ.js → index.vue_vue_type_script_setup_true_lang-JdAFa8vy.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-DDKFUaz5.js → payout-account-wavTTRgR.js} +2 -2
- package/dist/stores/payoutAccount.d.ts +4 -4
- package/dist/{transaction-D5lnozQA.js → transaction-CQiT7Y_s.js} +1 -1
- 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/PaymentGateway.vue.d.ts +4 -4
- 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/gateway/FiuuGateway.vue.d.ts +8 -8
- package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +6 -6
- package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
- package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +6 -6
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +6 -6
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
- package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
- package/package.json +2 -2
- package/dist/Settlement-G6Ac690_.js +0 -144
- package/dist/index-C074LfUa.js +0 -51
@@ -25,19 +25,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
25
25
|
gateway: "FeedMe";
|
26
26
|
} | {
|
27
27
|
config?: {
|
28
|
-
terminalId: string;
|
29
28
|
merchantId: string;
|
29
|
+
terminalId: string;
|
30
30
|
privateKey: string;
|
31
31
|
} | null | undefined;
|
32
32
|
gateway: "Ghl";
|
33
33
|
})[] | null | undefined;
|
34
34
|
status: "Active" | "Inactive";
|
35
35
|
_id: string;
|
36
|
+
createdAt: string;
|
37
|
+
updatedAt: string;
|
36
38
|
referenceId: string;
|
37
39
|
securityCode: string;
|
38
40
|
deviceType: "KIOSK" | "TERMINAL" | "POS";
|
39
|
-
createdAt: string;
|
40
|
-
updatedAt: string;
|
41
41
|
}>;
|
42
42
|
required: true;
|
43
43
|
};
|
@@ -70,19 +70,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
70
70
|
gateway: "FeedMe";
|
71
71
|
} | {
|
72
72
|
config?: {
|
73
|
-
terminalId: string;
|
74
73
|
merchantId: string;
|
74
|
+
terminalId: string;
|
75
75
|
privateKey: string;
|
76
76
|
} | null | undefined;
|
77
77
|
gateway: "Ghl";
|
78
78
|
})[] | null | undefined;
|
79
79
|
status: "Active" | "Inactive";
|
80
80
|
_id: string;
|
81
|
+
createdAt: string;
|
82
|
+
updatedAt: string;
|
81
83
|
referenceId: string;
|
82
84
|
securityCode: string;
|
83
85
|
deviceType: "KIOSK" | "TERMINAL" | "POS";
|
84
|
-
createdAt: string;
|
85
|
-
updatedAt: string;
|
86
86
|
}>;
|
87
87
|
required: true;
|
88
88
|
};
|
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
9
9
|
store: {
|
10
10
|
bank?: {
|
11
11
|
type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
12
|
-
accountNumber?: string | null | undefined;
|
13
12
|
holderName?: string | null | undefined;
|
13
|
+
accountNumber?: string | null | undefined;
|
14
14
|
name: string;
|
15
15
|
} | null | undefined;
|
16
16
|
ssm?: string | null | undefined;
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
31
31
|
precision: number;
|
32
32
|
} | null | undefined;
|
33
33
|
tPlus?: number | null | undefined;
|
34
|
-
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
34
|
+
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
35
35
|
variant: string;
|
36
36
|
}[];
|
37
37
|
businessId: string;
|
@@ -51,8 +51,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
51
51
|
store: {
|
52
52
|
bank?: {
|
53
53
|
type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
54
|
-
accountNumber?: string | null | undefined;
|
55
54
|
holderName?: string | null | undefined;
|
55
|
+
accountNumber?: string | null | undefined;
|
56
56
|
name: string;
|
57
57
|
} | null | undefined;
|
58
58
|
ssm?: string | null | undefined;
|
@@ -73,7 +73,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
73
73
|
precision: number;
|
74
74
|
} | null | undefined;
|
75
75
|
tPlus?: number | null | undefined;
|
76
|
-
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
76
|
+
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
77
77
|
variant: string;
|
78
78
|
}[];
|
79
79
|
businessId: string;
|
@@ -88,8 +88,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
88
88
|
store: {
|
89
89
|
bank?: {
|
90
90
|
type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
91
|
-
accountNumber?: string | null | undefined;
|
92
91
|
holderName?: string | null | undefined;
|
92
|
+
accountNumber?: string | null | undefined;
|
93
93
|
name: string;
|
94
94
|
} | null | undefined;
|
95
95
|
ssm?: string | null | undefined;
|
@@ -110,7 +110,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
110
110
|
precision: number;
|
111
111
|
} | null | undefined;
|
112
112
|
tPlus?: number | null | undefined;
|
113
|
-
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
113
|
+
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
114
114
|
variant: string;
|
115
115
|
}[];
|
116
116
|
businessId: string;
|
@@ -130,8 +130,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
130
130
|
store: {
|
131
131
|
bank?: {
|
132
132
|
type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
133
|
-
accountNumber?: string | null | undefined;
|
134
133
|
holderName?: string | null | undefined;
|
134
|
+
accountNumber?: string | null | undefined;
|
135
135
|
name: string;
|
136
136
|
} | null | undefined;
|
137
137
|
ssm?: string | null | undefined;
|
@@ -152,7 +152,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
152
152
|
precision: number;
|
153
153
|
} | null | undefined;
|
154
154
|
tPlus?: number | null | undefined;
|
155
|
-
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
155
|
+
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
156
156
|
variant: string;
|
157
157
|
}[];
|
158
158
|
businessId: string;
|
@@ -3,17 +3,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
3
3
|
data: {
|
4
4
|
type: PropType<{
|
5
5
|
createdAt: Date;
|
6
|
+
remark?: string | null | undefined;
|
6
7
|
store?: {
|
7
8
|
id: string;
|
8
9
|
event: "ORDERING" | "MARKETING";
|
9
10
|
} | null | undefined;
|
10
|
-
remark?: string | null | undefined;
|
11
11
|
_id: string;
|
12
12
|
beneficiaryBank: {
|
13
|
-
name: string;
|
14
|
-
accountNumber: string;
|
15
13
|
holderName: string;
|
14
|
+
name: string;
|
16
15
|
swiftCode: string;
|
16
|
+
accountNumber: string;
|
17
17
|
};
|
18
18
|
totalAmount: {
|
19
19
|
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
@@ -40,17 +40,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
40
40
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
41
41
|
"row-click": (payment: {
|
42
42
|
createdAt: Date;
|
43
|
+
remark?: string | null | undefined;
|
43
44
|
store?: {
|
44
45
|
id: string;
|
45
46
|
event: "ORDERING" | "MARKETING";
|
46
47
|
} | null | undefined;
|
47
|
-
remark?: string | null | undefined;
|
48
48
|
_id: string;
|
49
49
|
beneficiaryBank: {
|
50
|
-
name: string;
|
51
|
-
accountNumber: string;
|
52
50
|
holderName: string;
|
51
|
+
name: string;
|
53
52
|
swiftCode: string;
|
53
|
+
accountNumber: string;
|
54
54
|
};
|
55
55
|
totalAmount: {
|
56
56
|
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
@@ -72,17 +72,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
72
72
|
data: {
|
73
73
|
type: PropType<{
|
74
74
|
createdAt: Date;
|
75
|
+
remark?: string | null | undefined;
|
75
76
|
store?: {
|
76
77
|
id: string;
|
77
78
|
event: "ORDERING" | "MARKETING";
|
78
79
|
} | null | undefined;
|
79
|
-
remark?: string | null | undefined;
|
80
80
|
_id: string;
|
81
81
|
beneficiaryBank: {
|
82
|
-
name: string;
|
83
|
-
accountNumber: string;
|
84
82
|
holderName: string;
|
83
|
+
name: string;
|
85
84
|
swiftCode: string;
|
85
|
+
accountNumber: string;
|
86
86
|
};
|
87
87
|
totalAmount: {
|
88
88
|
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
@@ -109,17 +109,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
109
109
|
}>> & Readonly<{
|
110
110
|
"onRow-click"?: ((payment: {
|
111
111
|
createdAt: Date;
|
112
|
+
remark?: string | null | undefined;
|
112
113
|
store?: {
|
113
114
|
id: string;
|
114
115
|
event: "ORDERING" | "MARKETING";
|
115
116
|
} | null | undefined;
|
116
|
-
remark?: string | null | undefined;
|
117
117
|
_id: string;
|
118
118
|
beneficiaryBank: {
|
119
|
-
name: string;
|
120
|
-
accountNumber: string;
|
121
119
|
holderName: string;
|
120
|
+
name: string;
|
122
121
|
swiftCode: string;
|
122
|
+
accountNumber: string;
|
123
123
|
};
|
124
124
|
totalAmount: {
|
125
125
|
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@feedmepos/mf-payment",
|
3
|
-
"version": "0.0.0-beta.
|
3
|
+
"version": "0.0.0-beta.52",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"@casl/ability": "^3.2.0",
|
34
34
|
"@feedmepos/core": "^2.6.0",
|
35
35
|
"@feedmepos/mf-common": "^1.8.21",
|
36
|
-
"@feedmepos/payment-entity": "^0.0.
|
36
|
+
"@feedmepos/payment-entity": "^0.0.6",
|
37
37
|
"@feedmepos/ui-library": "^1.2.44",
|
38
38
|
"axios": "^0.27.2",
|
39
39
|
"buffer": "^6.0.3",
|
@@ -1,144 +0,0 @@
|
|
1
|
-
import { defineComponent as w, ref as h, computed as S, resolveComponent as v, openBlock as x, createBlock as D, h as A, watch as k, onMounted as F, unref as o, withCtx as R, createElementVNode as u, createVNode as p, isRef as V } from "vue";
|
2
|
-
import { u as b } from "./index-9ujJCGqe.js";
|
3
|
-
import { h as _ } from "./moment-h96o7c8I.js";
|
4
|
-
import { s as g } from "./index-C074LfUa.js";
|
5
|
-
import "@feedmepos/ui-library";
|
6
|
-
import { d as f } from "./dinero-CIVmXLL-.js";
|
7
|
-
import { _ as C } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
|
8
|
-
import { useRouter as $ } from "vue-router";
|
9
|
-
import { _ as I } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
10
|
-
import { u as K } from "./index-C5AZUa6M.js";
|
11
|
-
import { _ as P } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
12
|
-
const B = /* @__PURE__ */ w({
|
13
|
-
__name: "SettlementTable",
|
14
|
-
props: {
|
15
|
-
data: {
|
16
|
-
type: Array,
|
17
|
-
required: !0
|
18
|
-
},
|
19
|
-
loading: {
|
20
|
-
type: Boolean,
|
21
|
-
required: !0
|
22
|
-
}
|
23
|
-
},
|
24
|
-
emits: ["row-click"],
|
25
|
-
setup(y, { emit: l }) {
|
26
|
-
const r = y, d = l, m = h(""), e = [
|
27
|
-
{
|
28
|
-
header: () => "Settlement ID",
|
29
|
-
accessorKey: "id",
|
30
|
-
cell: ({ cell: t }) => A(C, { data: t.getValue() })
|
31
|
-
},
|
32
|
-
{
|
33
|
-
header: () => "Created At",
|
34
|
-
accessorKey: "transactionAt",
|
35
|
-
meta: {
|
36
|
-
width: "180px"
|
37
|
-
}
|
38
|
-
},
|
39
|
-
{
|
40
|
-
header: () => "Sales Amount",
|
41
|
-
accessorKey: "amount"
|
42
|
-
},
|
43
|
-
{
|
44
|
-
header: () => "Fee",
|
45
|
-
accessorKey: "fee"
|
46
|
-
},
|
47
|
-
{
|
48
|
-
header: () => "Settlement Amount",
|
49
|
-
accessorKey: "payout"
|
50
|
-
}
|
51
|
-
], i = S(() => r.data.map((t) => ({
|
52
|
-
id: t._id,
|
53
|
-
transactionAt: _(t.createdAt).format("YYYY-MM-DD"),
|
54
|
-
amount: f(t.totalAmount).toFormat("$0.00"),
|
55
|
-
fee: f(t.totalFee).toFormat("$0.00"),
|
56
|
-
payout: f(t.totalPayout).toFormat("$0.00")
|
57
|
-
})));
|
58
|
-
return (t, a) => {
|
59
|
-
const n = v("FmTable");
|
60
|
-
return x(), D(n, {
|
61
|
-
modelValue: m.value,
|
62
|
-
"onUpdate:modelValue": a[0] || (a[0] = (s) => m.value = s),
|
63
|
-
"row-data": i.value,
|
64
|
-
"column-defs": e,
|
65
|
-
loading: r.loading,
|
66
|
-
onRowClick: a[1] || (a[1] = (s) => d("row-click", r.data.at(s.index)))
|
67
|
-
}, null, 8, ["modelValue", "row-data", "loading"]);
|
68
|
-
};
|
69
|
-
}
|
70
|
-
}), O = { class: "flex justify-between items-center mb-6" }, Y = { class: "flex space-x-4 items-center" }, L = { class: "flex space-x-4 items-center" }, J = /* @__PURE__ */ w({
|
71
|
-
__name: "Settlement",
|
72
|
-
setup(y) {
|
73
|
-
const { isLoading: l, startAsyncCall: r } = b(!0), d = h([]), m = $(), { dateRange: e } = K({
|
74
|
-
dateRange: {
|
75
|
-
startDate: _().startOf("day").toISOString(),
|
76
|
-
endDate: _().endOf("day").toISOString()
|
77
|
-
}
|
78
|
-
});
|
79
|
-
k(e, i);
|
80
|
-
async function i() {
|
81
|
-
await r(async () => {
|
82
|
-
const a = await g.readByDate(
|
83
|
-
{
|
84
|
-
start: e.value.startDate,
|
85
|
-
end: e.value.endDate
|
86
|
-
}
|
87
|
-
);
|
88
|
-
d.value = a;
|
89
|
-
});
|
90
|
-
}
|
91
|
-
function t() {
|
92
|
-
i();
|
93
|
-
}
|
94
|
-
return F(t), (a, n) => {
|
95
|
-
const s = v("FmDateRangePicker");
|
96
|
-
return x(), D(I, {
|
97
|
-
title: "Settlements",
|
98
|
-
loading: o(l)
|
99
|
-
}, {
|
100
|
-
default: R(() => [
|
101
|
-
u("div", O, [
|
102
|
-
u("div", Y, [
|
103
|
-
p(s, {
|
104
|
-
modelValue: o(e),
|
105
|
-
"onUpdate:modelValue": n[0] || (n[0] = (c) => V(e) ? e.value = c : null),
|
106
|
-
compare: "",
|
107
|
-
"show-predefined-range": ""
|
108
|
-
}, null, 8, ["modelValue"])
|
109
|
-
]),
|
110
|
-
u("div", L, [
|
111
|
-
p(P, {
|
112
|
-
button: {
|
113
|
-
appendIcon: "file_download",
|
114
|
-
variant: "primary",
|
115
|
-
label: "Export"
|
116
|
-
},
|
117
|
-
handler: async () => {
|
118
|
-
await o(g).downloadSettlementReport({
|
119
|
-
start: o(e).startDate,
|
120
|
-
end: o(e).endDate
|
121
|
-
});
|
122
|
-
}
|
123
|
-
}, null, 8, ["handler"])
|
124
|
-
])
|
125
|
-
]),
|
126
|
-
p(B, {
|
127
|
-
loading: o(l),
|
128
|
-
data: d.value,
|
129
|
-
onRowClick: n[1] || (n[1] = (c) => o(m).push({
|
130
|
-
name: "mf-payment-admin.settlement-transaction",
|
131
|
-
params: {
|
132
|
-
settlementId: c._id
|
133
|
-
}
|
134
|
-
}))
|
135
|
-
}, null, 8, ["loading", "data"])
|
136
|
-
]),
|
137
|
-
_: 1
|
138
|
-
}, 8, ["loading"]);
|
139
|
-
};
|
140
|
-
}
|
141
|
-
});
|
142
|
-
export {
|
143
|
-
J as default
|
144
|
-
};
|
package/dist/index-C074LfUa.js
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
import { g as e, b as a, i as n, r as s } from "./index-9ujJCGqe.js";
|
2
|
-
const m = {
|
3
|
-
async updateRemark(t) {
|
4
|
-
return e(
|
5
|
-
await a().put("/settlements/remark", t)
|
6
|
-
);
|
7
|
-
},
|
8
|
-
async readByDate(t) {
|
9
|
-
return e(
|
10
|
-
await a().get("/settlements", {
|
11
|
-
params: t
|
12
|
-
})
|
13
|
-
);
|
14
|
-
},
|
15
|
-
async downloadSettlementReport(t) {
|
16
|
-
return n(
|
17
|
-
await a().get("/settlements/audit/v2", {
|
18
|
-
params: t
|
19
|
-
}),
|
20
|
-
`settlement-report-${t.start}-${t.end}.xlsx`
|
21
|
-
);
|
22
|
-
},
|
23
|
-
async downloadRestaurantSettlementReport(t) {
|
24
|
-
return n(
|
25
|
-
await s().get("/settlements/report", {
|
26
|
-
params: t
|
27
|
-
}),
|
28
|
-
`settlement-report-${t.start}-${t.end}.xlsx`
|
29
|
-
);
|
30
|
-
},
|
31
|
-
async readById(t) {
|
32
|
-
return e(
|
33
|
-
await a().get(`/settlements/${t}`)
|
34
|
-
);
|
35
|
-
},
|
36
|
-
async readRestaurantSettlementById(t) {
|
37
|
-
return e(
|
38
|
-
await s().get(`/settlements/${t}`)
|
39
|
-
);
|
40
|
-
},
|
41
|
-
async readRestaurantSettlements(t) {
|
42
|
-
return e(
|
43
|
-
await s().get("/settlements", {
|
44
|
-
params: t
|
45
|
-
})
|
46
|
-
);
|
47
|
-
}
|
48
|
-
};
|
49
|
-
export {
|
50
|
-
m as s
|
51
|
-
};
|