Skip to content

Commit

Permalink
feat: Add Payment interface and getPayments method
Browse files Browse the repository at this point in the history
  • Loading branch information
ecnivtwelve committed Sep 17, 2024
1 parent 46416ca commit da78eb4
Show file tree
Hide file tree
Showing 12 changed files with 82 additions and 6 deletions.
8 changes: 8 additions & 0 deletions dist/index.d.mts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ interface Balance {
amount: number;
}

interface Payment {
label: string;
date: Date;
amount: number;
status: string;
}

declare class Izly {
private loginService;
private axiosInstance;
Expand All @@ -41,6 +48,7 @@ declare class Izly {
getNotifications(): Promise<Notification[]>;
getBalance(): Promise<Balance>;
getDeposits(): Promise<Deposit[]>;
getPayments(): Promise<Payment[]>;
generateQRCode(): Promise<string[]>;
}

Expand Down
8 changes: 8 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ interface Balance {
amount: number;
}

interface Payment {
label: string;
date: Date;
amount: number;
status: string;
}

declare class Izly {
private loginService;
private axiosInstance;
Expand All @@ -41,6 +48,7 @@ declare class Izly {
getNotifications(): Promise<Notification[]>;
getBalance(): Promise<Balance>;
getDeposits(): Promise<Deposit[]>;
getPayments(): Promise<Payment[]>;
generateQRCode(): Promise<string[]>;
}

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit da78eb4

Please sign in to comment.