@spritz-finance/service-client 0.2.45 → 0.2.46
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.
|
@@ -55,10 +55,11 @@ declare type PayableAccountModelExtension = {
|
|
|
55
55
|
nickname?: string | null;
|
|
56
56
|
payable: boolean;
|
|
57
57
|
testPaymentAvailable: boolean;
|
|
58
|
+
provider: AccountProvider;
|
|
58
59
|
};
|
|
59
|
-
declare type BillModel = Omit<Bill, 'type'> & PayableAccountModelExtension;
|
|
60
|
-
declare type BankAcountModel = Omit<BankAccount, 'type'> & PayableAccountModelExtension;
|
|
61
|
-
declare type VirtualCardModel = Omit<VirtualCard, 'type'> & PayableAccountModelExtension;
|
|
60
|
+
declare type BillModel = Omit<Bill, 'type' | 'institution'> & PayableAccountModelExtension;
|
|
61
|
+
declare type BankAcountModel = Omit<BankAccount, 'type' | 'institution'> & PayableAccountModelExtension;
|
|
62
|
+
declare type VirtualCardModel = Omit<VirtualCard, 'type' | 'institution'> & PayableAccountModelExtension;
|
|
62
63
|
export declare type PayableAccount = BankAcountModel | VirtualCardModel | BillModel;
|
|
63
64
|
export declare type PayableAccountBankAccount = BankAcountModel;
|
|
64
65
|
export declare type PayableAccountVirtualCard = VirtualCardModel;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
|
-
interface User {
|
|
2
|
+
export interface User {
|
|
3
3
|
id: string;
|
|
4
4
|
email: string;
|
|
5
5
|
firstName?: string;
|
|
@@ -16,4 +16,3 @@ export declare class UsersServiceClient {
|
|
|
16
16
|
findOrInitialize(email: string): Promise<User>;
|
|
17
17
|
findByEmail(email: string): Promise<User>;
|
|
18
18
|
}
|
|
19
|
-
export {};
|