Skip to content

Commit 7cb8a48

Browse files
feat(api): api update
1 parent 003c2a1 commit 7cb8a48

4 files changed

Lines changed: 17 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 229
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-3ef3456ba39c18b7b1228fd167c74b4d344057e133ef4abd3e130471b9e19ed3.yml
3-
openapi_spec_hash: a55adf2eae6cbe811937dd7b0691939e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-cea252dc0453b92916edc9d8fc79e120d049068b86fb4a554e91709483a5f97f.yml
3+
openapi_spec_hash: 7d34811e865a82a1ce2117d75a04d3ac
44
config_hash: ca1425272e17fa23d4466d33492334fa

src/increase/types/check_transfer.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@ class PhysicalCheckMailingAddress(BaseModel):
123123
name: Optional[str] = None
124124
"""The name component of the check's mailing address."""
125125

126+
phone: Optional[str] = None
127+
"""
128+
The phone number to be used in case of delivery issues at the check's mailing
129+
address. Only used for FedEx overnight shipping.
130+
"""
131+
126132
postal_code: Optional[str] = None
127133
"""The postal code of the check's destination."""
128134

src/increase/types/check_transfer_create_params.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,13 @@ class PhysicalCheckMailingAddress(TypedDict, total=False):
109109
Defaults to the provided `recipient_name` parameter if `name` is not provided.
110110
"""
111111

112+
phone: str
113+
"""The phone number to associate with the check's destination address.
114+
115+
Will be supplied to FedEx as the contact phone number for the recipient to be
116+
used in case of delivery issues.
117+
"""
118+
112119

113120
class PhysicalCheckPayer(TypedDict, total=False):
114121
contents: Required[str]

tests/api_resources/test_check_transfers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
4848
"state": "NY",
4949
"line2": "x",
5050
"name": "Ian Crease",
51+
"phone": "+16505046304",
5152
},
5253
"memo": "Check payment",
5354
"recipient_name": "Ian Crease",
@@ -336,6 +337,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
336337
"state": "NY",
337338
"line2": "x",
338339
"name": "Ian Crease",
340+
"phone": "+16505046304",
339341
},
340342
"memo": "Check payment",
341343
"recipient_name": "Ian Crease",

0 commit comments

Comments
 (0)