@react-pakistan/util-functions 1.24.62 → 1.24.64
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BankBE } from '../type';
|
|
2
2
|
interface GetBanksArgs {
|
|
3
3
|
prisma: any;
|
|
4
4
|
}
|
|
@@ -23,8 +23,8 @@ interface DeleteBankArgs {
|
|
|
23
23
|
id: string;
|
|
24
24
|
prisma: any;
|
|
25
25
|
}
|
|
26
|
-
export declare const getBanks: ({ prisma, }: GetBanksArgs) => Promise<Array<
|
|
27
|
-
export declare const getBankById: ({ prisma, id, }: GetBankByIdArgs) => Promise<
|
|
28
|
-
export declare const postBank: ({ prisma, accountNumber, accountTitle, bankAddress, bankName, enabled, iban, id, preferenceId, swiftCode, }: PostBankArgs) => Promise<Array<
|
|
29
|
-
export declare const deleteBank: ({ prisma, id, }: DeleteBankArgs) => Promise<
|
|
26
|
+
export declare const getBanks: ({ prisma, }: GetBanksArgs) => Promise<Array<BankBE>>;
|
|
27
|
+
export declare const getBankById: ({ prisma, id, }: GetBankByIdArgs) => Promise<BankBE>;
|
|
28
|
+
export declare const postBank: ({ prisma, accountNumber, accountTitle, bankAddress, bankName, enabled, iban, id, preferenceId, swiftCode, }: PostBankArgs) => Promise<Array<BankBE>>;
|
|
29
|
+
export declare const deleteBank: ({ prisma, id, }: DeleteBankArgs) => Promise<BankBE>;
|
|
30
30
|
export {};
|
|
@@ -6,7 +6,7 @@ export interface AppUserBE {
|
|
|
6
6
|
lastName: string;
|
|
7
7
|
updatedAt: string;
|
|
8
8
|
}
|
|
9
|
-
export interface
|
|
9
|
+
export interface BankBE {
|
|
10
10
|
accountNumber: string;
|
|
11
11
|
accountTitle: string;
|
|
12
12
|
bankAddress: string;
|
|
@@ -145,7 +145,7 @@ export interface PaymentModeBE {
|
|
|
145
145
|
preferenceId: string;
|
|
146
146
|
}
|
|
147
147
|
export interface PreferenceBE {
|
|
148
|
-
|
|
148
|
+
banks: Array<BankBE>;
|
|
149
149
|
branches: Array<BranchBE>;
|
|
150
150
|
createdAt: string;
|
|
151
151
|
currencies: Array<CurrencyBE>;
|