Skip to content

Commit 19d4dc7

Browse files
feat(api): remove v1/aggregate_balances and related models
1 parent 5d7e25b commit 19d4dc7

14 files changed

+0
-789
lines changed

api.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -214,18 +214,6 @@ Methods:
214214
- <code>client.cards.<a href="./src/lithic/resources/cards/cards.py">get_embed_html</a>(\*args) -> str</code>
215215
- <code>client.cards.<a href="./src/lithic/resources/cards/cards.py">get_embed_url</a>(\*args) -> URL</code>
216216

217-
## AggregateBalances
218-
219-
Types:
220-
221-
```python
222-
from lithic.types.cards import AggregateBalanceListResponse
223-
```
224-
225-
Methods:
226-
227-
- <code title="get /v1/cards/aggregate_balances">client.cards.aggregate_balances.<a href="./src/lithic/resources/cards/aggregate_balances.py">list</a>(\*\*<a href="src/lithic/types/cards/aggregate_balance_list_params.py">params</a>) -> <a href="./src/lithic/types/cards/aggregate_balance_list_response.py">SyncSinglePage[AggregateBalanceListResponse]</a></code>
228-
229217
## Balances
230218

231219
Methods:
@@ -266,18 +254,6 @@ Methods:
266254

267255
- <code title="get /v1/balances">client.balances.<a href="./src/lithic/resources/balances.py">list</a>(\*\*<a href="src/lithic/types/balance_list_params.py">params</a>) -> <a href="./src/lithic/types/balance.py">SyncSinglePage[Balance]</a></code>
268256

269-
# AggregateBalances
270-
271-
Types:
272-
273-
```python
274-
from lithic.types import AggregateBalance
275-
```
276-
277-
Methods:
278-
279-
- <code title="get /v1/aggregate_balances">client.aggregate_balances.<a href="./src/lithic/resources/aggregate_balances.py">list</a>(\*\*<a href="src/lithic/types/aggregate_balance_list_params.py">params</a>) -> <a href="./src/lithic/types/aggregate_balance.py">SyncSinglePage[AggregateBalance]</a></code>
280-
281257
# Disputes
282258

283259
Types:

src/lithic/_client.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
digital_card_art,
6262
network_programs,
6363
external_payments,
64-
aggregate_balances,
6564
financial_accounts,
6665
responder_endpoints,
6766
management_operations,
@@ -93,7 +92,6 @@
9392
from .resources.network_programs import NetworkPrograms, AsyncNetworkPrograms
9493
from .resources.external_payments import ExternalPayments, AsyncExternalPayments
9594
from .resources.three_ds.three_ds import ThreeDS, AsyncThreeDS
96-
from .resources.aggregate_balances import AggregateBalances, AsyncAggregateBalances
9795
from .resources.responder_endpoints import (
9896
ResponderEndpoints,
9997
AsyncResponderEndpoints,
@@ -284,12 +282,6 @@ def balances(self) -> Balances:
284282

285283
return Balances(self)
286284

287-
@cached_property
288-
def aggregate_balances(self) -> AggregateBalances:
289-
from .resources.aggregate_balances import AggregateBalances
290-
291-
return AggregateBalances(self)
292-
293285
@cached_property
294286
def disputes(self) -> Disputes:
295287
from .resources.disputes import Disputes
@@ -697,12 +689,6 @@ def balances(self) -> AsyncBalances:
697689

698690
return AsyncBalances(self)
699691

700-
@cached_property
701-
def aggregate_balances(self) -> AsyncAggregateBalances:
702-
from .resources.aggregate_balances import AsyncAggregateBalances
703-
704-
return AsyncAggregateBalances(self)
705-
706692
@cached_property
707693
def disputes(self) -> AsyncDisputes:
708694
from .resources.disputes import AsyncDisputes
@@ -1041,12 +1027,6 @@ def balances(self) -> balances.BalancesWithRawResponse:
10411027

10421028
return BalancesWithRawResponse(self._client.balances)
10431029

1044-
@cached_property
1045-
def aggregate_balances(self) -> aggregate_balances.AggregateBalancesWithRawResponse:
1046-
from .resources.aggregate_balances import AggregateBalancesWithRawResponse
1047-
1048-
return AggregateBalancesWithRawResponse(self._client.aggregate_balances)
1049-
10501030
@cached_property
10511031
def disputes(self) -> disputes.DisputesWithRawResponse:
10521032
from .resources.disputes import DisputesWithRawResponse

src/lithic/resources/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,6 @@
185185
ExternalPaymentsWithStreamingResponse,
186186
AsyncExternalPaymentsWithStreamingResponse,
187187
)
188-
from .aggregate_balances import (
189-
AggregateBalances,
190-
AsyncAggregateBalances,
191-
AggregateBalancesWithRawResponse,
192-
AsyncAggregateBalancesWithRawResponse,
193-
AggregateBalancesWithStreamingResponse,
194-
AsyncAggregateBalancesWithStreamingResponse,
195-
)
196188
from .financial_accounts import (
197189
FinancialAccounts,
198190
AsyncFinancialAccounts,
@@ -297,12 +289,6 @@
297289
"AsyncBalancesWithRawResponse",
298290
"BalancesWithStreamingResponse",
299291
"AsyncBalancesWithStreamingResponse",
300-
"AggregateBalances",
301-
"AsyncAggregateBalances",
302-
"AggregateBalancesWithRawResponse",
303-
"AsyncAggregateBalancesWithRawResponse",
304-
"AggregateBalancesWithStreamingResponse",
305-
"AsyncAggregateBalancesWithStreamingResponse",
306292
"Disputes",
307293
"AsyncDisputes",
308294
"DisputesWithRawResponse",

src/lithic/resources/aggregate_balances.py

Lines changed: 0 additions & 182 deletions
This file was deleted.

src/lithic/resources/cards/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@
1616
BalancesWithStreamingResponse,
1717
AsyncBalancesWithStreamingResponse,
1818
)
19-
from .aggregate_balances import (
20-
AggregateBalances,
21-
AsyncAggregateBalances,
22-
AggregateBalancesWithRawResponse,
23-
AsyncAggregateBalancesWithRawResponse,
24-
AggregateBalancesWithStreamingResponse,
25-
AsyncAggregateBalancesWithStreamingResponse,
26-
)
2719
from .financial_transactions import (
2820
FinancialTransactions,
2921
AsyncFinancialTransactions,
@@ -34,12 +26,6 @@
3426
)
3527

3628
__all__ = [
37-
"AggregateBalances",
38-
"AsyncAggregateBalances",
39-
"AggregateBalancesWithRawResponse",
40-
"AsyncAggregateBalancesWithRawResponse",
41-
"AggregateBalancesWithStreamingResponse",
42-
"AsyncAggregateBalancesWithStreamingResponse",
4329
"Balances",
4430
"AsyncBalances",
4531
"BalancesWithRawResponse",

0 commit comments

Comments
 (0)