@feedmepos/mf-payment 0.0.0-beta.9 → 1.0.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js +39 -0
- package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js +40 -0
- package/dist/Modal-DB8M9o1T.js +13 -0
- package/dist/PayoutAccount-BHRhEZ9h.js +613 -0
- package/dist/{PayoutAccount-DLhMMlw_.js → PayoutAccount-Bj5zvmoj.js} +38 -35
- package/dist/PayoutAccountSetting-kUQLeAcb.js +780 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-Crdfq22j.js +149 -0
- package/dist/Settlement-JHOJNkhd.js +194 -0
- package/dist/{SettlementTransactions-CoEzdtYT.js → SettlementTransactions-BxuLXUR-.js} +99 -105
- package/dist/{SettlementTransactions-Dl1H4jvh.js → SettlementTransactions-daWMAmtz.js} +117 -130
- package/dist/Terminal-gxGnjFGc.js +372 -0
- package/dist/TerminalSetting--ZAJJ_Hf.js +379 -0
- package/dist/TerminalTransaction---9nk_4q.js +249 -0
- package/dist/TerminalTransaction-B77YK3hF.js +425 -0
- package/dist/Transaction-8LlOLPeZ.js +404 -0
- package/dist/Transaction-DRQ_uZ30.js +241 -0
- package/dist/api/index.d.ts +14 -0
- package/dist/api/pagination.d.ts +20 -0
- package/dist/api/payment-gateway/index.d.ts +9 -0
- package/dist/api/settlement/index.d.ts +12 -13
- package/dist/api/terminal/index.d.ts +13 -1
- package/dist/api/terminal-transaction/index.d.ts +12 -1
- package/dist/api/transaction/index.d.ts +7 -2
- package/dist/app-DjzULXn3.js +6356 -0
- package/dist/app.js +3 -198
- package/dist/assets-NrCec-W0.js +45 -0
- package/dist/clipboard-4jh1WteU.js +10 -0
- package/dist/components/AsyncButton.vue.d.ts +21 -0
- package/dist/components/AutoCopyCell.vue.d.ts +6 -0
- package/dist/components/CursorTable/index.vue.d.ts +24 -5
- package/dist/components/RestaurantSelector.vue.d.ts +2 -0
- package/dist/components/RouteCell.vue.d.ts +8 -0
- package/dist/helpers/assets.d.ts +2 -0
- package/dist/{index-Bmka-1lQ.js → index-7KNaibcq.js} +1 -1
- package/dist/index-BWUtjGg7.js +47 -0
- package/dist/{index-CF56zGyu.js → index-BwcJZFsi.js} +1 -1
- package/dist/index-CWaKb7bG.js +56107 -0
- package/dist/index-CojhNtuG.js +127 -0
- package/dist/index-DbJpbpSs.js +52 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-JdAFa8vy.js +167 -0
- package/dist/model/transaction.d.ts +2 -1
- package/dist/package.json +5 -5
- package/dist/payout-account-CBT1rfSS.js +1805 -0
- package/dist/router/index.d.ts +1 -0
- package/dist/stores/payoutAccount.d.ts +4 -4
- package/dist/transaction-CQiT7Y_s.js +87 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/validator-D5jtpt9A.js +2877 -0
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -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/gateway/FiuuGateway.vue.d.ts +56 -0
- package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +50 -0
- package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
- package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +83 -0
- package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +80 -9
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +85 -0
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +7 -0
- package/dist/views/admin/transaction/TransactionTable.vue.d.ts +6 -2
- package/dist/views/admin/transaction/cell/Actions.vue.d.ts +7 -0
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
- package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
- package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
- package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
- package/package.json +5 -5
- package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js +0 -42
- package/dist/PayoutAccount-xxSxqBTL.js +0 -3485
- package/dist/PayoutAccountSetting-CIeos0md.js +0 -425
- package/dist/Settlement-BVGACeme.js +0 -136
- package/dist/Settlement-Ce48KHrc.js +0 -132
- package/dist/Terminal-ByKV2Rof.js +0 -204
- package/dist/TerminalTransaction-RuSxBAxf.js +0 -240
- package/dist/Transaction-CYo-uLQi.js +0 -241
- package/dist/Transaction-Cjw9WwX8.js +0 -242
- package/dist/api/auth/index.d.ts +0 -7
- package/dist/assets-BuLGUMIx.js +0 -472
- package/dist/index-Coz5aeIO.js +0 -61
- package/dist/index-DCPNrUDq.js +0 -40075
- package/dist/index.vue_vue_type_script_setup_true_lang-CAR-bNaR.js +0 -150
- package/dist/mascot-side-3VXskf9y.js +0 -4
- package/dist/payout-account-iAM7HPtG.js +0 -3317
- package/dist/transaction-vRrBf3FN.js +0 -64
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { type WorkBook } from "xlsx";
|
1
|
+
import { type SettlementDtoOutput } from "@feedmepos/payment-entity";
|
3
2
|
export declare const settlementApi: {
|
4
3
|
updateRemark(payload: {
|
5
4
|
id: string;
|
@@ -9,23 +8,23 @@ export declare const settlementApi: {
|
|
9
8
|
start: string;
|
10
9
|
end: string;
|
11
10
|
}): Promise<SettlementDtoOutput[]>;
|
12
|
-
|
11
|
+
downloadBankInstructionFile(data: SettlementDtoOutput[]): Promise<void>;
|
12
|
+
downloadSummaryReport(data: SettlementDtoOutput[], date: {
|
13
13
|
start: string;
|
14
14
|
end: string;
|
15
|
-
}): Promise<
|
16
|
-
|
17
|
-
readById(settlementId: string): Promise<SettlementDtoOutput>;
|
18
|
-
readRestaurantSettlementById(settlementId: string): Promise<SettlementDtoOutput>;
|
19
|
-
readRestaurantSettlements(dateRange: {
|
15
|
+
}): Promise<void>;
|
16
|
+
downloadSettlementReport(date: {
|
20
17
|
start: string;
|
21
18
|
end: string;
|
22
|
-
}): Promise<
|
23
|
-
|
19
|
+
}): Promise<void>;
|
20
|
+
downloadRestaurantSettlementReport(date: {
|
24
21
|
start: string;
|
25
22
|
end: string;
|
26
|
-
}): Promise<
|
27
|
-
|
23
|
+
}): Promise<void>;
|
24
|
+
readById(settlementId: string): Promise<SettlementDtoOutput>;
|
25
|
+
readRestaurantSettlementById(settlementId: string): Promise<SettlementDtoOutput>;
|
26
|
+
readRestaurantSettlements(dateRange: {
|
28
27
|
start: string;
|
29
28
|
end: string;
|
30
|
-
}): Promise<
|
29
|
+
}): Promise<SettlementDtoOutput[]>;
|
31
30
|
};
|
@@ -1,10 +1,22 @@
|
|
1
|
-
import { type PaginatedResult } from "@feedmepos/payment-entity";
|
1
|
+
import { FdoTerminalDeviceType, UpdateTerminalByIdDto, type PaginatedResult } from "@feedmepos/payment-entity";
|
2
2
|
import { FdoTerminal } from "@feedmepos/payment-entity";
|
3
3
|
export declare const temrinalApi: {
|
4
|
+
create(payload: {
|
5
|
+
name: string;
|
6
|
+
referenceId: string;
|
7
|
+
}): Promise<PaginatedResult<FdoTerminal>>;
|
4
8
|
read(payload: {
|
5
9
|
searchKey: string;
|
10
|
+
deviceType: FdoTerminalDeviceType | undefined;
|
6
11
|
limit: number;
|
7
12
|
cursor: string;
|
8
13
|
}): Promise<PaginatedResult<FdoTerminal>>;
|
14
|
+
readById(id: string): Promise<FdoTerminal>;
|
15
|
+
updateById(id: string, payload: UpdateTerminalByIdDto): Promise<FdoTerminal>;
|
9
16
|
getBindCode(id: string): Promise<string>;
|
17
|
+
unbind(id: string): Promise<any>;
|
18
|
+
/**
|
19
|
+
* Relying on the payout account so need pass in the restaurant id from the payout account
|
20
|
+
*/
|
21
|
+
getTerminals(restaurantId: string): Promise<FdoTerminal[]>;
|
10
22
|
};
|
@@ -1,5 +1,7 @@
|
|
1
|
-
import { F_TERMINAL_TRANSACTION_ACTION, FdoTerminalTransaction, type PaginatedResult } from "@feedmepos/payment-entity";
|
1
|
+
import { F_TERMINAL_TRANSACTION_ACTION, FdoTerminalTransaction, PaymentRefundRequestV2Dto, type PaginatedResult } from "@feedmepos/payment-entity";
|
2
2
|
export declare const terminalTransactionApi: {
|
3
|
+
queryTransaction(transactionId: string): Promise<FdoTerminalTransaction>;
|
4
|
+
refundTransaction(payload: PaymentRefundRequestV2Dto): Promise<FdoTerminalTransaction>;
|
3
5
|
readTransactions(payload: {
|
4
6
|
status: F_TERMINAL_TRANSACTION_ACTION[];
|
5
7
|
searchKey: string;
|
@@ -8,4 +10,13 @@ export declare const terminalTransactionApi: {
|
|
8
10
|
limit: number;
|
9
11
|
cursor: string;
|
10
12
|
}): Promise<PaginatedResult<FdoTerminalTransaction>>;
|
13
|
+
readRestaurantTransactions(payload: {
|
14
|
+
status: F_TERMINAL_TRANSACTION_ACTION[];
|
15
|
+
searchKey: string;
|
16
|
+
start: string;
|
17
|
+
end: string;
|
18
|
+
limit: number;
|
19
|
+
cursor: string;
|
20
|
+
}): Promise<PaginatedResult<FdoTerminalTransaction>>;
|
21
|
+
downloadTransactions(data: FdoTerminalTransaction[]): Promise<void>;
|
11
22
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import type { PortalPaymentTransaction } from "@/model/transaction";
|
2
2
|
import { PaymentRefundByTransactionIdDto, type PaymentTransactionDtoOutput } from "@feedmepos/payment-entity";
|
3
3
|
export declare const transactionApi: {
|
4
4
|
readBySettlementId(settlementId: string): Promise<PaymentTransactionDtoOutput[]>;
|
@@ -11,10 +11,15 @@ export declare const transactionApi: {
|
|
11
11
|
transactionId: string;
|
12
12
|
}): Promise<PaymentTransactionDtoOutput>;
|
13
13
|
refundTransaction(req: PaymentRefundByTransactionIdDto): Promise<PaymentTransactionDtoOutput>;
|
14
|
+
renotifyTransaction(transactionId: string): Promise<PaymentTransactionDtoOutput>;
|
14
15
|
readRestaurantTransactions(dateRange: {
|
15
16
|
start: string;
|
16
17
|
end: string;
|
17
18
|
}): Promise<PaymentTransactionDtoOutput[]>;
|
18
19
|
readRestaurantTransactionsBySettlementId(settlementId: string): Promise<PaymentTransactionDtoOutput[]>;
|
20
|
+
downloadRestaurantTransactionReport(data: PortalPaymentTransaction[]): Promise<void>;
|
21
|
+
downloadTransactionReport(date: {
|
22
|
+
start: string;
|
23
|
+
end: string;
|
24
|
+
}): Promise<void>;
|
19
25
|
};
|
20
|
-
export declare function getStatusColor(status: F_PAYMENT_TRANSACTION_STATUS): "warning" | "negative" | "positive" | "grey";
|