Skip to content

Commit 0078e74

Browse files
feat(api): remove v1/aggregate_balances and related models
1 parent 3ba95e6 commit 0078e74

File tree

12 files changed

+4
-372
lines changed

12 files changed

+4
-372
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

MIGRATION.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,10 @@ client.example.list(undefined, { headers: { ... } });
104104
- `client.tokenizations.resendActivationCode()`
105105
- `client.tokenizations.updateDigitalCardArt()`
106106
- `client.cards.list()`
107-
- `client.cards.aggregateBalances.list()`
108107
- `client.cards.balances.list()`
109108
- `client.cards.financialTransactions.list()`
110109
- `client.cardBulkOrders.list()`
111110
- `client.balances.list()`
112-
- `client.aggregateBalances.list()`
113111
- `client.disputes.list()`
114112
- `client.disputes.initiateEvidenceUpload()`
115113
- `client.disputes.listEvidences()`
@@ -147,24 +145,6 @@ client.example.list(undefined, { headers: { ... } });
147145

148146
</details>
149147

150-
### HTTP method naming
151-
152-
Previously some methods could not be named intuitively due to an internal naming conflict. This has been fixed and the affected methods are now correctly named.
153-
154-
```ts
155-
// Before
156-
client.authRules.v2.del();
157-
client.disputes.del();
158-
client.events.subscriptions.del();
159-
client.responderEndpoints.del();
160-
161-
// After
162-
client.authRules.v2.delete();
163-
client.disputes.delete();
164-
client.events.subscriptions.delete();
165-
client.responderEndpoints.delete();
166-
```
167-
168148
### Removed `httpAgent` in favor of `fetchOptions`
169149

170150
The `httpAgent` client option has been removed in favor of a [platform-specific `fetchOptions` property](https://github.com/lithic-com/lithic-node#fetch-options).

api.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -189,16 +189,6 @@ Methods:
189189
- <code>client.cards.<a href="./src/resources/cards/cards.ts">getEmbedHTML</a>(...args) -> Promise&lt;string&gt;</code>
190190
- <code>client.cards.<a href="./src/resources/cards/cards.ts">getEmbedURL</a>(...args) -> string</code>
191191

192-
## AggregateBalances
193-
194-
Types:
195-
196-
- <code><a href="./src/resources/cards/aggregate-balances.ts">AggregateBalanceListResponse</a></code>
197-
198-
Methods:
199-
200-
- <code title="get /v1/cards/aggregate_balances">client.cards.aggregateBalances.<a href="./src/resources/cards/aggregate-balances.ts">list</a>({ ...params }) -> AggregateBalanceListResponsesSinglePage</code>
201-
202192
## Balances
203193

204194
Methods:
@@ -235,16 +225,6 @@ Methods:
235225

236226
- <code title="get /v1/balances">client.balances.<a href="./src/resources/balances.ts">list</a>({ ...params }) -> BalancesSinglePage</code>
237227

238-
# AggregateBalances
239-
240-
Types:
241-
242-
- <code><a href="./src/resources/aggregate-balances.ts">AggregateBalance</a></code>
243-
244-
Methods:
245-
246-
- <code title="get /v1/aggregate_balances">client.aggregateBalances.<a href="./src/resources/aggregate-balances.ts">list</a>({ ...params }) -> AggregateBalancesSinglePage</code>
247-
248228
# Disputes
249229

250230
Types:

bin/migration-config.json

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@
3636
}
3737
]
3838
},
39-
{
40-
"base": "authRules.v2",
41-
"name": "delete",
42-
"oldName": "del"
43-
},
4439
{
4540
"base": "authRules.v2.backtests",
4641
"name": "retrieve",
@@ -107,11 +102,6 @@
107102
}
108103
]
109104
},
110-
{
111-
"base": "disputes",
112-
"name": "delete",
113-
"oldName": "del"
114-
},
115105
{
116106
"base": "disputes",
117107
"name": "deleteEvidence",
@@ -178,11 +168,6 @@
178168
}
179169
]
180170
},
181-
{
182-
"base": "events.subscriptions",
183-
"name": "delete",
184-
"oldName": "del"
185-
},
186171
{
187172
"base": "events.eventSubscriptions",
188173
"name": "resend",
@@ -351,11 +336,6 @@
351336
"type": "options"
352337
}
353338
]
354-
},
355-
{
356-
"base": "responderEndpoints",
357-
"name": "delete",
358-
"oldName": "del"
359339
}
360340
]
361341
}

src/client.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ import {
6464
Accounts,
6565
AccountsCursorPage,
6666
} from './resources/accounts';
67-
import {
68-
AggregateBalance,
69-
AggregateBalanceListParams,
70-
AggregateBalances,
71-
AggregateBalancesSinglePage,
72-
} from './resources/aggregate-balances';
7367
import { AuthStreamEnrollment, AuthStreamSecret } from './resources/auth-stream-enrollment';
7468
import { Balance, BalanceListParams, Balances, BalancesSinglePage } from './resources/balances';
7569
import {
@@ -1106,7 +1100,6 @@ export class Lithic {
11061100
cards: API.Cards = new API.Cards(this);
11071101
cardBulkOrders: API.CardBulkOrders = new API.CardBulkOrders(this);
11081102
balances: API.Balances = new API.Balances(this);
1109-
aggregateBalances: API.AggregateBalances = new API.AggregateBalances(this);
11101103
disputes: API.Disputes = new API.Disputes(this);
11111104
disputesV2: API.DisputesV2 = new API.DisputesV2(this);
11121105
events: API.Events = new API.Events(this);
@@ -1141,7 +1134,6 @@ Lithic.Tokenizations = Tokenizations;
11411134
Lithic.Cards = Cards;
11421135
Lithic.CardBulkOrders = CardBulkOrders;
11431136
Lithic.Balances = Balances;
1144-
Lithic.AggregateBalances = AggregateBalances;
11451137
Lithic.Disputes = Disputes;
11461138
Lithic.DisputesV2 = DisputesV2;
11471139
Lithic.Events = Events;
@@ -1274,13 +1266,6 @@ export declare namespace Lithic {
12741266
type BalanceListParams as BalanceListParams,
12751267
};
12761268

1277-
export {
1278-
AggregateBalances as AggregateBalances,
1279-
type AggregateBalance as AggregateBalance,
1280-
type AggregateBalancesSinglePage as AggregateBalancesSinglePage,
1281-
type AggregateBalanceListParams as AggregateBalanceListParams,
1282-
};
1283-
12841269
export {
12851270
Disputes as Disputes,
12861271
type Dispute as Dispute,

src/resources/aggregate-balances.ts

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

src/resources/cards/aggregate-balances.ts

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

0 commit comments

Comments
 (0)