-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(api)!: move some positional params to named params + updates (…
…#114) - Add LedgerableEvents, LedgerEventHandlers, and LedgerAccountStatements resources - Add ability to create ledger transaction reversals - Add metadata to LedgerEntries - Add verification_status to Counterparties - Make document_type optional for Documents and add documentable_type of 'connection' - Add reconciliation_filters and reconciliation_groups to ExpectedPayments - Change ledger_entries to LedgerEntry for LedgerEventHandlers - Add source to Documents - Add vendor_id filter for Transactions # Migration The documentable type and documentable id params in the `client.documents` methods are now named arguments, for example: `client.documents.create('<documentable type>', '<documentable id>')` now becomes `client.documents.create({ documentable_id: '<documentable id>', documentable_type: 'cases' })`. This transition is the same for all methods in the documents resource except `retrieve()` as that contains a positional `id` param. The `client.ledger_transactions.versions.list()` method now only accepts named params, for example: `client.ledger_transactions.versions.list('<id>')` now becomes `client.ledger_transactions.versions.list({ ledger_transaction_id: '<id>' })` The deprecated `client.ledger_transactions.versions.versions()` alias has also been removed.
- Loading branch information
1 parent
22e8dc7
commit dd9e4af
Showing
36 changed files
with
2,245 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
configured_endpoints: 117 | ||
configured_endpoints: 127 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.