1414from finch .types .hris .benefits import (
1515 IndividualBenefit ,
1616 EnrolledIndividual ,
17+ UnenrolledIndividual ,
1718 IndividualEnrolledIDsResponse ,
1819)
1920
@@ -176,15 +177,15 @@ def test_method_unenroll_many(self, client: Finch) -> None:
176177 individual = client .hris .benefits .individuals .unenroll_many (
177178 benefit_id = "benefit_id" ,
178179 )
179- assert_matches_type (SyncSinglePage [object ], individual , path = ["response" ])
180+ assert_matches_type (SyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
180181
181182 @parametrize
182183 def test_method_unenroll_many_with_all_params (self , client : Finch ) -> None :
183184 individual = client .hris .benefits .individuals .unenroll_many (
184185 benefit_id = "benefit_id" ,
185186 individual_ids = ["string" ],
186187 )
187- assert_matches_type (SyncSinglePage [object ], individual , path = ["response" ])
188+ assert_matches_type (SyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
188189
189190 @parametrize
190191 def test_raw_response_unenroll_many (self , client : Finch ) -> None :
@@ -195,7 +196,7 @@ def test_raw_response_unenroll_many(self, client: Finch) -> None:
195196 assert response .is_closed is True
196197 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
197198 individual = response .parse ()
198- assert_matches_type (SyncSinglePage [object ], individual , path = ["response" ])
199+ assert_matches_type (SyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
199200
200201 @parametrize
201202 def test_streaming_response_unenroll_many (self , client : Finch ) -> None :
@@ -206,7 +207,7 @@ def test_streaming_response_unenroll_many(self, client: Finch) -> None:
206207 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
207208
208209 individual = response .parse ()
209- assert_matches_type (SyncSinglePage [object ], individual , path = ["response" ])
210+ assert_matches_type (SyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
210211
211212 assert cast (Any , response .is_closed ) is True
212213
@@ -374,15 +375,15 @@ async def test_method_unenroll_many(self, async_client: AsyncFinch) -> None:
374375 individual = await async_client .hris .benefits .individuals .unenroll_many (
375376 benefit_id = "benefit_id" ,
376377 )
377- assert_matches_type (AsyncSinglePage [object ], individual , path = ["response" ])
378+ assert_matches_type (AsyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
378379
379380 @parametrize
380381 async def test_method_unenroll_many_with_all_params (self , async_client : AsyncFinch ) -> None :
381382 individual = await async_client .hris .benefits .individuals .unenroll_many (
382383 benefit_id = "benefit_id" ,
383384 individual_ids = ["string" ],
384385 )
385- assert_matches_type (AsyncSinglePage [object ], individual , path = ["response" ])
386+ assert_matches_type (AsyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
386387
387388 @parametrize
388389 async def test_raw_response_unenroll_many (self , async_client : AsyncFinch ) -> None :
@@ -393,7 +394,7 @@ async def test_raw_response_unenroll_many(self, async_client: AsyncFinch) -> Non
393394 assert response .is_closed is True
394395 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
395396 individual = response .parse ()
396- assert_matches_type (AsyncSinglePage [object ], individual , path = ["response" ])
397+ assert_matches_type (AsyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
397398
398399 @parametrize
399400 async def test_streaming_response_unenroll_many (self , async_client : AsyncFinch ) -> None :
@@ -404,7 +405,7 @@ async def test_streaming_response_unenroll_many(self, async_client: AsyncFinch)
404405 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
405406
406407 individual = await response .parse ()
407- assert_matches_type (AsyncSinglePage [object ], individual , path = ["response" ])
408+ assert_matches_type (AsyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
408409
409410 assert cast (Any , response .is_closed ) is True
410411
0 commit comments