Skip to content

Commit ffd13d5

Browse files
feat(api): api update (#978)
1 parent 25451ad commit ffd13d5

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 201
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-0a850fe9e55426b331fea3fd2f61ad0e72dd5d7d2cac4c258f69bdf5b23aa42b.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-15ead2ecf5c1d979cfa951c578d25ba20f9f5c1b987d109b6eaa4e8eeda973e1.yml

src/increase/types/digital_wallet_token.py

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,30 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3+
from typing import List
34
from datetime import datetime
45
from typing_extensions import Literal
56

67
from .._models import BaseModel
78

8-
__all__ = ["DigitalWalletToken"]
9+
__all__ = ["DigitalWalletToken", "Update"]
10+
11+
12+
class Update(BaseModel):
13+
status: Literal["active", "inactive", "suspended", "deactivated"]
14+
"""The status the update changed this Digital Wallet Token to.
15+
16+
- `active` - The digital wallet token is active.
17+
- `inactive` - The digital wallet token has been created but not successfully
18+
activated via two-factor authentication yet.
19+
- `suspended` - The digital wallet token has been temporarily paused.
20+
- `deactivated` - The digital wallet token has been permanently canceled.
21+
"""
22+
23+
timestamp: datetime
24+
"""
25+
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
26+
the update happened.
27+
"""
928

1029

1130
class DigitalWalletToken(BaseModel):
@@ -18,7 +37,7 @@ class DigitalWalletToken(BaseModel):
1837
created_at: datetime
1938
"""
2039
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
21-
the Card was created.
40+
the Digital Wallet Token was created.
2241
"""
2342

2443
status: Literal["active", "inactive", "suspended", "deactivated"]
@@ -45,3 +64,6 @@ class DigitalWalletToken(BaseModel):
4564
4665
For this resource it will always be `digital_wallet_token`.
4766
"""
67+
68+
updates: List[Update]
69+
"""Updates to the Digital Wallet Token."""

0 commit comments

Comments
 (0)