Skip to content

Commit da86140

Browse files
feat(api): remove v1/aggregate_balances and related models
1 parent a13fb5b commit da86140

File tree

8 files changed

+4
-398
lines changed

8 files changed

+4
-398
lines changed

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 176
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-abe6a4f82f696099fa8ecb1cc44f08979e17d56578ae7ea68b0e9182e21df508.yml
3-
openapi_spec_hash: d2ce51592a9a234c6f34a1168a31f91f
4-
config_hash: 2b2786c821f62db49cc630ba45329336
1+
configured_endpoints: 174
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-4fd8048b287f409ad2b91f7d0f0b7fc13cc9bc4ccc7859666f21203bab3d2f01.yml
3+
openapi_spec_hash: a554c54d96a7604a770b6a8b1df46395
4+
config_hash: df0af4ff639b8a6923a6244d2247910c

aggregatebalance.go

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

aggregatebalance_test.go

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

api.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -211,16 +211,6 @@ Methods:
211211
- <code>client.Cards.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#CardService.GetEmbedHTML">GetEmbedHTML</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#CardGetEmbedHTMLParams">CardGetEmbedHTMLParams</a>) ([]byte, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
212212
- <code>client.Cards.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#CardService.GetEmbedURL">GetEmbedURL</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#CardGetEmbedURLParams">CardGetEmbedURLParams</a>) (\*url.URL, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
213213

214-
## AggregateBalances
215-
216-
Response Types:
217-
218-
- <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#CardAggregateBalanceListResponse">CardAggregateBalanceListResponse</a>
219-
220-
Methods:
221-
222-
- <code title="get /v1/cards/aggregate_balances">client.Cards.AggregateBalances.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#CardAggregateBalanceService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#CardAggregateBalanceListParams">CardAggregateBalanceListParams</a>) (<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#CardAggregateBalanceListResponse">CardAggregateBalanceListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
223-
224214
## Balances
225215

226216
Methods:
@@ -257,16 +247,6 @@ Methods:
257247

258248
- <code title="get /v1/balances">client.Balances.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#BalanceService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#BalanceListParams">BalanceListParams</a>) (<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#Balance">Balance</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
259249

260-
# AggregateBalances
261-
262-
Response Types:
263-
264-
- <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#AggregateBalance">AggregateBalance</a>
265-
266-
Methods:
267-
268-
- <code title="get /v1/aggregate_balances">client.AggregateBalances.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#AggregateBalanceService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#AggregateBalanceListParams">AggregateBalanceListParams</a>) (<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#AggregateBalance">AggregateBalance</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
269-
270250
# Disputes
271251

272252
Response Types:

card.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import (
3333
// the [NewCardService] method instead.
3434
type CardService struct {
3535
Options []option.RequestOption
36-
AggregateBalances *CardAggregateBalanceService
3736
Balances *CardBalanceService
3837
FinancialTransactions *CardFinancialTransactionService
3938
}
@@ -44,7 +43,6 @@ type CardService struct {
4443
func NewCardService(opts ...option.RequestOption) (r *CardService) {
4544
r = &CardService{}
4645
r.Options = opts
47-
r.AggregateBalances = NewCardAggregateBalanceService(opts...)
4846
r.Balances = NewCardBalanceService(opts...)
4947
r.FinancialTransactions = NewCardFinancialTransactionService(opts...)
5048
return

cardaggregatebalance.go

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

0 commit comments

Comments
 (0)