Skip to content

Commit 6355866

Browse files
feat(api): api update
1 parent dd645de commit 6355866

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 46
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-ff61a38530dfae03860bceb49379e84bfc7434eeb5d2f1dc9677cb162014faf1.yml
3-
openapi_spec_hash: df3bdaf4acf575bb07767cae7ca24d69
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-388b6200908d48b0f759495ec489b5f7ffda61549b3faedad9a537104223ecdc.yml
3+
openapi_spec_hash: c47f17807131ac97532dfd69c1970104
44
config_hash: 53778a0b839c4f6ad34fbba051f5e8a6

src/finch/resources/sandbox/company.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def update(
7777
7878
primary_email: The email of the main administrator on the account.
7979
80-
primary_phone_number: The phone number of the main administrator on the account. Format: `XXXXXXXXXX`
80+
primary_phone_number: The phone number of the main administrator on the account. Format: E.164, with
81+
extension where applicable, e.g. `+NNNNNNNNNNN xExtension`
8182
8283
extra_headers: Send extra headers
8384
@@ -163,7 +164,8 @@ async def update(
163164
164165
primary_email: The email of the main administrator on the account.
165166
166-
primary_phone_number: The phone number of the main administrator on the account. Format: `XXXXXXXXXX`
167+
primary_phone_number: The phone number of the main administrator on the account. Format: E.164, with
168+
extension where applicable, e.g. `+NNNNNNNNNNN xExtension`
167169
168170
extra_headers: Send extra headers
169171

src/finch/types/hris/company/company.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,7 @@ class Company(BaseModel):
7777
"""The email of the main administrator on the account."""
7878

7979
primary_phone_number: Optional[str] = None
80-
"""The phone number of the main administrator on the account. Format: `XXXXXXXXXX`"""
80+
"""The phone number of the main administrator on the account.
81+
82+
Format: E.164, with extension where applicable, e.g. `+NNNNNNNNNNN xExtension`
83+
"""

src/finch/types/sandbox/company_update_params.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ class CompanyUpdateParams(TypedDict, total=False):
3232
"""The email of the main administrator on the account."""
3333

3434
primary_phone_number: Required[Optional[str]]
35-
"""The phone number of the main administrator on the account. Format: `XXXXXXXXXX`"""
35+
"""The phone number of the main administrator on the account.
36+
37+
Format: E.164, with extension where applicable, e.g. `+NNNNNNNNNNN xExtension`
38+
"""
3639

3740

3841
class Account(TypedDict, total=False):

src/finch/types/sandbox/company_update_response.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,7 @@ class CompanyUpdateResponse(BaseModel):
7474
"""The email of the main administrator on the account."""
7575

7676
primary_phone_number: Optional[str] = None
77-
"""The phone number of the main administrator on the account. Format: `XXXXXXXXXX`"""
77+
"""The phone number of the main administrator on the account.
78+
79+
Format: E.164, with extension where applicable, e.g. `+NNNNNNNNNNN xExtension`
80+
"""

0 commit comments

Comments
 (0)