Skip to content

Commit

Permalink
feat(api): api update (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Dec 3, 2024
1 parent 23dd10a commit cba2e87
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 14
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/midday%2Fmidday-bf3c1ab4d60dd56bbe6b8e4e42832474665c53b9fca4b86966f595f766da84b7.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/midday%2Fmidday-ac567e5ab1befc48f03fb22b1359fbf0b9e9cce3633f7b564e0cc7ec005883bf.yml
2 changes: 2 additions & 0 deletions src/resources/auth/plaid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export interface PlaidExchange {
export namespace PlaidExchange {
export interface Data {
access_token: string;

item_id: string;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/resources/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export interface TransactionListParams {
/**
* Get latest transactions
*/
latest?: 'true' | 'false';
latest?: boolean | null;
}

export declare namespace Transactions {
Expand Down
2 changes: 1 addition & 1 deletion tests/api-resources/transactions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('resource transactions', () => {
accountType: 'credit',
provider: 'teller',
accessToken: 'token-123',
latest: 'true',
latest: true,
});
});
});

0 comments on commit cba2e87

Please sign in to comment.