Skip to content

Commit 962cd2e

Browse files
feat(api): api update
1 parent 7080931 commit 962cd2e

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 230
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6b5ac6804e3261a05214c5891c95222ef1b5e9003f211ab32db1d03a7531835a.yml
3-
openapi_spec_hash: 611c8d38ba7122a428f57f3069aac84a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e2b7de6202d48efc0e77fd72d2788987e6e3ecf2dfff8a491b88fe9a838f0bd5.yml
3+
openapi_spec_hash: 5af8bcd38aae780c364688cb048d258b
44
config_hash: ff2eb5f192b4de36611b37b27961c2d8

src/increase/types/check_transfer.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ class PhysicalCheckReturnAddress(BaseModel):
178178
name: Optional[str] = None
179179
"""The name component of the check's return address."""
180180

181+
phone: Optional[str] = None
182+
"""The shipper's phone number to be used in case of delivery issues.
183+
184+
Only used for FedEx overnight shipping.
185+
"""
186+
181187
postal_code: Optional[str] = None
182188
"""The postal code of the check's destination."""
183189

src/increase/types/check_transfer_create_params.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ class PhysicalCheckMailingAddress(TypedDict, total=False):
114114
phone: str
115115
"""The phone number to associate with the check's destination address.
116116
117-
The number is only used when `shipping_method` is `fedex_overnight` and will be
118-
supplied to FedEx to be used in case of delivery issues.
117+
The phone number is only used when `shipping_method` is `fedex_overnight` and
118+
will be supplied to FedEx to be used in case of delivery issues.
119119
"""
120120

121121

@@ -148,6 +148,13 @@ class PhysicalCheckReturnAddress(TypedDict, total=False):
148148
line2: str
149149
"""The second line of the return address."""
150150

151+
phone: str
152+
"""The phone number to associate with the shipper.
153+
154+
The phone number is only used when `shipping_method` is `fedex_overnight` and
155+
will be supplied to FedEx to be used in case of delivery issues.
156+
"""
157+
151158

152159
class PhysicalCheckTyped(TypedDict, total=False):
153160
"""Details relating to the physical check that Increase will print and mail.

tests/api_resources/test_check_transfers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
6363
"postal_code": "x",
6464
"state": "x",
6565
"line2": "x",
66+
"phone": "x",
6667
},
6768
"shipping_method": "usps_first_class",
6869
"signature_text": "Ian Crease",
@@ -353,6 +354,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
353354
"postal_code": "x",
354355
"state": "x",
355356
"line2": "x",
357+
"phone": "x",
356358
},
357359
"shipping_method": "usps_first_class",
358360
"signature_text": "Ian Crease",

0 commit comments

Comments
 (0)