Skip to content

Commit 62a2b97

Browse files
1 parent 97fa938 commit 62a2b97

14 files changed

+1377
-9
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: 166
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-aa089e65735b8884f8cb391b39b9a0b295819e438bf976c98cc6150628ca5488.yml
3-
openapi_spec_hash: 719876533d1496e9192c7a734a78c736
4-
config_hash: e9a46eb8acb9dc2c236f3e1958a1c4dd
1+
configured_endpoints: 168
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-529662462c00af160f74568fe26dbe576cf1fdc9f427e11bb1939bd8acdcb43f.yml
3+
openapi_spec_hash: a98631dfc66716d41ada4ddb199f7028
4+
config_hash: 2d501901f343d00775037fcec4121983

api.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,3 +766,16 @@ Methods:
766766

767767
- <code title="get /v1/network_programs/{network_program_token}">client.network_programs.<a href="./src/lithic/resources/network_programs.py">retrieve</a>(network_program_token) -> <a href="./src/lithic/types/network_program.py">NetworkProgram</a></code>
768768
- <code title="get /v1/network_programs">client.network_programs.<a href="./src/lithic/resources/network_programs.py">list</a>(\*\*<a href="src/lithic/types/network_program_list_params.py">params</a>) -> <a href="./src/lithic/types/network_program.py">SyncSinglePage[NetworkProgram]</a></code>
769+
770+
# AccountActivity
771+
772+
Types:
773+
774+
```python
775+
from lithic.types import AccountActivityListResponse, AccountActivityRetrieveTransactionResponse
776+
```
777+
778+
Methods:
779+
780+
- <code title="get /v1/account_activity">client.account_activity.<a href="./src/lithic/resources/account_activity.py">list</a>(\*\*<a href="src/lithic/types/account_activity_list_params.py">params</a>) -> <a href="./src/lithic/types/account_activity_list_response.py">SyncCursorPage[AccountActivityListResponse]</a></code>
781+
- <code title="get /v1/account_activity/{transaction_token}">client.account_activity.<a href="./src/lithic/resources/account_activity.py">retrieve_transaction</a>(transaction_token) -> <a href="./src/lithic/types/account_activity_retrieve_transaction_response.py">AccountActivityRetrieveTransactionResponse</a></code>

src/lithic/_client.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
funding_events,
5757
account_holders,
5858
credit_products,
59+
account_activity,
5960
digital_card_art,
6061
network_programs,
6162
external_payments,
@@ -80,6 +81,7 @@
8081
from .resources.funding_events import FundingEvents, AsyncFundingEvents
8182
from .resources.account_holders import AccountHolders, AsyncAccountHolders
8283
from .resources.reports.reports import Reports, AsyncReports
84+
from .resources.account_activity import AccountActivity, AsyncAccountActivity
8385
from .resources.digital_card_art import DigitalCardArtResource, AsyncDigitalCardArtResource
8486
from .resources.network_programs import NetworkPrograms, AsyncNetworkPrograms
8587
from .resources.external_payments import ExternalPayments, AsyncExternalPayments
@@ -368,6 +370,12 @@ def network_programs(self) -> NetworkPrograms:
368370

369371
return NetworkPrograms(self)
370372

373+
@cached_property
374+
def account_activity(self) -> AccountActivity:
375+
from .resources.account_activity import AccountActivity
376+
377+
return AccountActivity(self)
378+
371379
@cached_property
372380
def with_raw_response(self) -> LithicWithRawResponse:
373381
return LithicWithRawResponse(self)
@@ -754,6 +762,12 @@ def network_programs(self) -> AsyncNetworkPrograms:
754762

755763
return AsyncNetworkPrograms(self)
756764

765+
@cached_property
766+
def account_activity(self) -> AsyncAccountActivity:
767+
from .resources.account_activity import AsyncAccountActivity
768+
769+
return AsyncAccountActivity(self)
770+
757771
@cached_property
758772
def webhooks(self) -> webhooks.AsyncWebhooks:
759773
from .resources.webhooks import AsyncWebhooks
@@ -1069,6 +1083,12 @@ def network_programs(self) -> network_programs.NetworkProgramsWithRawResponse:
10691083

10701084
return NetworkProgramsWithRawResponse(self._client.network_programs)
10711085

1086+
@cached_property
1087+
def account_activity(self) -> account_activity.AccountActivityWithRawResponse:
1088+
from .resources.account_activity import AccountActivityWithRawResponse
1089+
1090+
return AccountActivityWithRawResponse(self._client.account_activity)
1091+
10721092

10731093
class AsyncLithicWithRawResponse:
10741094
_client: AsyncLithic
@@ -1242,6 +1262,12 @@ def network_programs(self) -> network_programs.AsyncNetworkProgramsWithRawRespon
12421262

12431263
return AsyncNetworkProgramsWithRawResponse(self._client.network_programs)
12441264

1265+
@cached_property
1266+
def account_activity(self) -> account_activity.AsyncAccountActivityWithRawResponse:
1267+
from .resources.account_activity import AsyncAccountActivityWithRawResponse
1268+
1269+
return AsyncAccountActivityWithRawResponse(self._client.account_activity)
1270+
12451271

12461272
class LithicWithStreamedResponse:
12471273
_client: Lithic
@@ -1415,6 +1441,12 @@ def network_programs(self) -> network_programs.NetworkProgramsWithStreamingRespo
14151441

14161442
return NetworkProgramsWithStreamingResponse(self._client.network_programs)
14171443

1444+
@cached_property
1445+
def account_activity(self) -> account_activity.AccountActivityWithStreamingResponse:
1446+
from .resources.account_activity import AccountActivityWithStreamingResponse
1447+
1448+
return AccountActivityWithStreamingResponse(self._client.account_activity)
1449+
14181450

14191451
class AsyncLithicWithStreamedResponse:
14201452
_client: AsyncLithic
@@ -1588,6 +1620,12 @@ def network_programs(self) -> network_programs.AsyncNetworkProgramsWithStreaming
15881620

15891621
return AsyncNetworkProgramsWithStreamingResponse(self._client.network_programs)
15901622

1623+
@cached_property
1624+
def account_activity(self) -> account_activity.AsyncAccountActivityWithStreamingResponse:
1625+
from .resources.account_activity import AsyncAccountActivityWithStreamingResponse
1626+
1627+
return AsyncAccountActivityWithStreamingResponse(self._client.account_activity)
1628+
15911629

15921630
Client = Lithic
15931631

src/lithic/resources/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@
137137
CreditProductsWithStreamingResponse,
138138
AsyncCreditProductsWithStreamingResponse,
139139
)
140+
from .account_activity import (
141+
AccountActivity,
142+
AsyncAccountActivity,
143+
AccountActivityWithRawResponse,
144+
AsyncAccountActivityWithRawResponse,
145+
AccountActivityWithStreamingResponse,
146+
AsyncAccountActivityWithStreamingResponse,
147+
)
140148
from .digital_card_art import (
141149
DigitalCardArtResource,
142150
AsyncDigitalCardArtResource,
@@ -383,4 +391,10 @@
383391
"AsyncNetworkProgramsWithRawResponse",
384392
"NetworkProgramsWithStreamingResponse",
385393
"AsyncNetworkProgramsWithStreamingResponse",
394+
"AccountActivity",
395+
"AsyncAccountActivity",
396+
"AccountActivityWithRawResponse",
397+
"AsyncAccountActivityWithRawResponse",
398+
"AccountActivityWithStreamingResponse",
399+
"AsyncAccountActivityWithStreamingResponse",
386400
]

0 commit comments

Comments
 (0)