14
14
from finch .types .hris .benefits import (
15
15
IndividualBenefit ,
16
16
EnrolledIndividual ,
17
- UnenrolledIndividual ,
18
17
IndividualEnrolledIDsResponse ,
19
18
)
20
19
@@ -177,15 +176,15 @@ def test_method_unenroll_many(self, client: Finch) -> None:
177
176
individual = client .hris .benefits .individuals .unenroll_many (
178
177
benefit_id = "benefit_id" ,
179
178
)
180
- assert_matches_type (SyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
179
+ assert_matches_type (SyncSinglePage [object ], individual , path = ["response" ])
181
180
182
181
@parametrize
183
182
def test_method_unenroll_many_with_all_params (self , client : Finch ) -> None :
184
183
individual = client .hris .benefits .individuals .unenroll_many (
185
184
benefit_id = "benefit_id" ,
186
185
individual_ids = ["string" ],
187
186
)
188
- assert_matches_type (SyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
187
+ assert_matches_type (SyncSinglePage [object ], individual , path = ["response" ])
189
188
190
189
@parametrize
191
190
def test_raw_response_unenroll_many (self , client : Finch ) -> None :
@@ -196,7 +195,7 @@ def test_raw_response_unenroll_many(self, client: Finch) -> None:
196
195
assert response .is_closed is True
197
196
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
198
197
individual = response .parse ()
199
- assert_matches_type (SyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
198
+ assert_matches_type (SyncSinglePage [object ], individual , path = ["response" ])
200
199
201
200
@parametrize
202
201
def test_streaming_response_unenroll_many (self , client : Finch ) -> None :
@@ -207,7 +206,7 @@ def test_streaming_response_unenroll_many(self, client: Finch) -> None:
207
206
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
208
207
209
208
individual = response .parse ()
210
- assert_matches_type (SyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
209
+ assert_matches_type (SyncSinglePage [object ], individual , path = ["response" ])
211
210
212
211
assert cast (Any , response .is_closed ) is True
213
212
@@ -375,15 +374,15 @@ async def test_method_unenroll_many(self, async_client: AsyncFinch) -> None:
375
374
individual = await async_client .hris .benefits .individuals .unenroll_many (
376
375
benefit_id = "benefit_id" ,
377
376
)
378
- assert_matches_type (AsyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
377
+ assert_matches_type (AsyncSinglePage [object ], individual , path = ["response" ])
379
378
380
379
@parametrize
381
380
async def test_method_unenroll_many_with_all_params (self , async_client : AsyncFinch ) -> None :
382
381
individual = await async_client .hris .benefits .individuals .unenroll_many (
383
382
benefit_id = "benefit_id" ,
384
383
individual_ids = ["string" ],
385
384
)
386
- assert_matches_type (AsyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
385
+ assert_matches_type (AsyncSinglePage [object ], individual , path = ["response" ])
387
386
388
387
@parametrize
389
388
async def test_raw_response_unenroll_many (self , async_client : AsyncFinch ) -> None :
@@ -394,7 +393,7 @@ async def test_raw_response_unenroll_many(self, async_client: AsyncFinch) -> Non
394
393
assert response .is_closed is True
395
394
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
396
395
individual = response .parse ()
397
- assert_matches_type (AsyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
396
+ assert_matches_type (AsyncSinglePage [object ], individual , path = ["response" ])
398
397
399
398
@parametrize
400
399
async def test_streaming_response_unenroll_many (self , async_client : AsyncFinch ) -> None :
@@ -405,7 +404,7 @@ async def test_streaming_response_unenroll_many(self, async_client: AsyncFinch)
405
404
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
406
405
407
406
individual = await response .parse ()
408
- assert_matches_type (AsyncSinglePage [UnenrolledIndividual ], individual , path = ["response" ])
407
+ assert_matches_type (AsyncSinglePage [object ], individual , path = ["response" ])
409
408
410
409
assert cast (Any , response .is_closed ) is True
411
410
0 commit comments