Skip to content

Commit

Permalink
Adding type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
brucealdridge committed Nov 10, 2023
1 parent 384fcb7 commit bf3a363
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions client/types/account-overview.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,20 @@ export interface Account {
deposits_blocked: boolean;
deposits_disabled: boolean;
deposits_schedule: {
/**
* Number of days it takes for a charge to become available for deposit.
*/
delay_days: number;
interval: string;
/**
* Deposit schedule interval. 'manual' means deposits are not scheduled.
*/
interval: 'manual' | 'daily' | 'weekly' | 'monthly';
/**
* Weekly anchor is a day of the week eg 'monday'
*/
weekly_anchor: string;
/**
* The day of the month when available funds are paid out, specified as a number between 1–31. 29 - 31 will instead use the last day of a shorter month
* The day of the month when available funds are paid out, specified as a number between 1–31. 29 - 31 will instead use the last day of a shorter month.
*/
monthly_anchor: number;
};
Expand Down

0 comments on commit bf3a363

Please sign in to comment.