Skip to content

Commit 6179f15

Browse files
feat(api): api update (#624)
1 parent 419c35a commit 6179f15

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 41
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-f1779210fbedfc6099076412405288b489f727cbb0b3a85e7b7c12fabb37ef47.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-69819ddc6d03624ee8d880317fca03afab50a0a843218f1d9f14616e8a003dad.yml

src/finch/resources/hris/documents.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def list(
6060
) -> DocumentListResponse:
6161
"""**Beta:** This endpoint is in beta and may change.
6262
63-
64-
Retrieve a list of company-wide documents.
63+
Retrieve a list of
64+
company-wide documents.
6565
6666
Args:
6767
individual_ids: Comma-delimited list of stable Finch uuids for each individual. If empty,
@@ -115,8 +115,8 @@ def retreive(
115115
) -> DocumentRetreiveResponse:
116116
"""**Beta:** This endpoint is in beta and may change.
117117
118-
119-
Retrieve details of a specific document by its ID.
118+
Retrieve details of a
119+
specific document by its ID.
120120
121121
Args:
122122
extra_headers: Send extra headers
@@ -179,8 +179,8 @@ async def list(
179179
) -> DocumentListResponse:
180180
"""**Beta:** This endpoint is in beta and may change.
181181
182-
183-
Retrieve a list of company-wide documents.
182+
Retrieve a list of
183+
company-wide documents.
184184
185185
Args:
186186
individual_ids: Comma-delimited list of stable Finch uuids for each individual. If empty,
@@ -234,8 +234,8 @@ async def retreive(
234234
) -> DocumentRetreiveResponse:
235235
"""**Beta:** This endpoint is in beta and may change.
236236
237-
238-
Retrieve details of a specific document by its ID.
237+
Retrieve details of a
238+
specific document by its ID.
239239
240240
Args:
241241
extra_headers: Send extra headers

tests/api_resources/sandbox/test_company.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_method_update(self, client: Finch) -> None:
2626
entity={},
2727
legal_name="legal_name",
2828
locations=[{}],
29-
primary_email="primary_email",
29+
primary_email="[email protected]",
3030
primary_phone_number="primary_phone_number",
3131
)
3232
assert_matches_type(CompanyUpdateResponse, company, path=["response"])
@@ -67,7 +67,7 @@ def test_method_update_with_all_params(self, client: Finch) -> None:
6767
"state": "state",
6868
}
6969
],
70-
primary_email="primary_email",
70+
primary_email="[email protected]",
7171
primary_phone_number="primary_phone_number",
7272
)
7373
assert_matches_type(CompanyUpdateResponse, company, path=["response"])
@@ -81,7 +81,7 @@ def test_raw_response_update(self, client: Finch) -> None:
8181
entity={},
8282
legal_name="legal_name",
8383
locations=[{}],
84-
primary_email="primary_email",
84+
primary_email="[email protected]",
8585
primary_phone_number="primary_phone_number",
8686
)
8787

@@ -99,7 +99,7 @@ def test_streaming_response_update(self, client: Finch) -> None:
9999
entity={},
100100
legal_name="legal_name",
101101
locations=[{}],
102-
primary_email="primary_email",
102+
primary_email="[email protected]",
103103
primary_phone_number="primary_phone_number",
104104
) as response:
105105
assert not response.is_closed
@@ -123,7 +123,7 @@ async def test_method_update(self, async_client: AsyncFinch) -> None:
123123
entity={},
124124
legal_name="legal_name",
125125
locations=[{}],
126-
primary_email="primary_email",
126+
primary_email="[email protected]",
127127
primary_phone_number="primary_phone_number",
128128
)
129129
assert_matches_type(CompanyUpdateResponse, company, path=["response"])
@@ -164,7 +164,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncFinch) ->
164164
"state": "state",
165165
}
166166
],
167-
primary_email="primary_email",
167+
primary_email="[email protected]",
168168
primary_phone_number="primary_phone_number",
169169
)
170170
assert_matches_type(CompanyUpdateResponse, company, path=["response"])
@@ -178,7 +178,7 @@ async def test_raw_response_update(self, async_client: AsyncFinch) -> None:
178178
entity={},
179179
legal_name="legal_name",
180180
locations=[{}],
181-
primary_email="primary_email",
181+
primary_email="[email protected]",
182182
primary_phone_number="primary_phone_number",
183183
)
184184

@@ -196,7 +196,7 @@ async def test_streaming_response_update(self, async_client: AsyncFinch) -> None
196196
entity={},
197197
legal_name="legal_name",
198198
locations=[{}],
199-
primary_email="primary_email",
199+
primary_email="[email protected]",
200200
primary_phone_number="primary_phone_number",
201201
) as response:
202202
assert not response.is_closed

0 commit comments

Comments
 (0)