1414from finch .types .hris .benefits import (
1515 IndividualBenefit ,
1616 IndividualEnrolledIDsResponse ,
17- IndividualUnenrollManyResponse ,
1817 EnrolledIndividualBenefitResponse ,
18+ UnenrolledIndividualBenefitResponse ,
1919)
2020
2121base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
@@ -177,15 +177,15 @@ def test_method_unenroll_many(self, client: Finch) -> None:
177177 individual = client .hris .benefits .individuals .unenroll_many (
178178 benefit_id = "benefit_id" ,
179179 )
180- assert_matches_type (IndividualUnenrollManyResponse , individual , path = ["response" ])
180+ assert_matches_type (UnenrolledIndividualBenefitResponse , individual , path = ["response" ])
181181
182182 @parametrize
183183 def test_method_unenroll_many_with_all_params (self , client : Finch ) -> None :
184184 individual = client .hris .benefits .individuals .unenroll_many (
185185 benefit_id = "benefit_id" ,
186186 individual_ids = ["string" ],
187187 )
188- assert_matches_type (IndividualUnenrollManyResponse , individual , path = ["response" ])
188+ assert_matches_type (UnenrolledIndividualBenefitResponse , individual , path = ["response" ])
189189
190190 @parametrize
191191 def test_raw_response_unenroll_many (self , client : Finch ) -> None :
@@ -196,7 +196,7 @@ def test_raw_response_unenroll_many(self, client: Finch) -> None:
196196 assert response .is_closed is True
197197 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
198198 individual = response .parse ()
199- assert_matches_type (IndividualUnenrollManyResponse , individual , path = ["response" ])
199+ assert_matches_type (UnenrolledIndividualBenefitResponse , individual , path = ["response" ])
200200
201201 @parametrize
202202 def test_streaming_response_unenroll_many (self , client : Finch ) -> None :
@@ -207,7 +207,7 @@ def test_streaming_response_unenroll_many(self, client: Finch) -> None:
207207 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
208208
209209 individual = response .parse ()
210- assert_matches_type (IndividualUnenrollManyResponse , individual , path = ["response" ])
210+ assert_matches_type (UnenrolledIndividualBenefitResponse , individual , path = ["response" ])
211211
212212 assert cast (Any , response .is_closed ) is True
213213
@@ -375,15 +375,15 @@ async def test_method_unenroll_many(self, async_client: AsyncFinch) -> None:
375375 individual = await async_client .hris .benefits .individuals .unenroll_many (
376376 benefit_id = "benefit_id" ,
377377 )
378- assert_matches_type (IndividualUnenrollManyResponse , individual , path = ["response" ])
378+ assert_matches_type (UnenrolledIndividualBenefitResponse , individual , path = ["response" ])
379379
380380 @parametrize
381381 async def test_method_unenroll_many_with_all_params (self , async_client : AsyncFinch ) -> None :
382382 individual = await async_client .hris .benefits .individuals .unenroll_many (
383383 benefit_id = "benefit_id" ,
384384 individual_ids = ["string" ],
385385 )
386- assert_matches_type (IndividualUnenrollManyResponse , individual , path = ["response" ])
386+ assert_matches_type (UnenrolledIndividualBenefitResponse , individual , path = ["response" ])
387387
388388 @parametrize
389389 async def test_raw_response_unenroll_many (self , async_client : AsyncFinch ) -> None :
@@ -394,7 +394,7 @@ async def test_raw_response_unenroll_many(self, async_client: AsyncFinch) -> Non
394394 assert response .is_closed is True
395395 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
396396 individual = response .parse ()
397- assert_matches_type (IndividualUnenrollManyResponse , individual , path = ["response" ])
397+ assert_matches_type (UnenrolledIndividualBenefitResponse , individual , path = ["response" ])
398398
399399 @parametrize
400400 async def test_streaming_response_unenroll_many (self , async_client : AsyncFinch ) -> None :
@@ -405,7 +405,7 @@ async def test_streaming_response_unenroll_many(self, async_client: AsyncFinch)
405405 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
406406
407407 individual = await response .parse ()
408- assert_matches_type (IndividualUnenrollManyResponse , individual , path = ["response" ])
408+ assert_matches_type (UnenrolledIndividualBenefitResponse , individual , path = ["response" ])
409409
410410 assert cast (Any , response .is_closed ) is True
411411
0 commit comments