1212from intercom .types .help_center import (
1313 Collection ,
1414 CollectionList ,
15- DeletedCollectionObject ,
15+ DeletedCollection ,
1616)
1717
1818base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
@@ -557,15 +557,15 @@ def test_method_delete(self, client: Intercom) -> None:
557557 collection = client .help_center .collections .delete (
558558 0 ,
559559 )
560- assert_matches_type (DeletedCollectionObject , collection , path = ["response" ])
560+ assert_matches_type (DeletedCollection , collection , path = ["response" ])
561561
562562 @parametrize
563563 def test_method_delete_with_all_params (self , client : Intercom ) -> None :
564564 collection = client .help_center .collections .delete (
565565 0 ,
566566 intercom_version = "2.11" ,
567567 )
568- assert_matches_type (DeletedCollectionObject , collection , path = ["response" ])
568+ assert_matches_type (DeletedCollection , collection , path = ["response" ])
569569
570570 @parametrize
571571 def test_raw_response_delete (self , client : Intercom ) -> None :
@@ -576,7 +576,7 @@ def test_raw_response_delete(self, client: Intercom) -> None:
576576 assert response .is_closed is True
577577 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
578578 collection = response .parse ()
579- assert_matches_type (DeletedCollectionObject , collection , path = ["response" ])
579+ assert_matches_type (DeletedCollection , collection , path = ["response" ])
580580
581581 @parametrize
582582 def test_streaming_response_delete (self , client : Intercom ) -> None :
@@ -587,7 +587,7 @@ def test_streaming_response_delete(self, client: Intercom) -> None:
587587 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
588588
589589 collection = response .parse ()
590- assert_matches_type (DeletedCollectionObject , collection , path = ["response" ])
590+ assert_matches_type (DeletedCollection , collection , path = ["response" ])
591591
592592 assert cast (Any , response .is_closed ) is True
593593
@@ -1131,15 +1131,15 @@ async def test_method_delete(self, async_client: AsyncIntercom) -> None:
11311131 collection = await async_client .help_center .collections .delete (
11321132 0 ,
11331133 )
1134- assert_matches_type (DeletedCollectionObject , collection , path = ["response" ])
1134+ assert_matches_type (DeletedCollection , collection , path = ["response" ])
11351135
11361136 @parametrize
11371137 async def test_method_delete_with_all_params (self , async_client : AsyncIntercom ) -> None :
11381138 collection = await async_client .help_center .collections .delete (
11391139 0 ,
11401140 intercom_version = "2.11" ,
11411141 )
1142- assert_matches_type (DeletedCollectionObject , collection , path = ["response" ])
1142+ assert_matches_type (DeletedCollection , collection , path = ["response" ])
11431143
11441144 @parametrize
11451145 async def test_raw_response_delete (self , async_client : AsyncIntercom ) -> None :
@@ -1150,7 +1150,7 @@ async def test_raw_response_delete(self, async_client: AsyncIntercom) -> None:
11501150 assert response .is_closed is True
11511151 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
11521152 collection = await response .parse ()
1153- assert_matches_type (DeletedCollectionObject , collection , path = ["response" ])
1153+ assert_matches_type (DeletedCollection , collection , path = ["response" ])
11541154
11551155 @parametrize
11561156 async def test_streaming_response_delete (self , async_client : AsyncIntercom ) -> None :
@@ -1161,6 +1161,6 @@ async def test_streaming_response_delete(self, async_client: AsyncIntercom) -> N
11611161 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
11621162
11631163 collection = await response .parse ()
1164- assert_matches_type (DeletedCollectionObject , collection , path = ["response" ])
1164+ assert_matches_type (DeletedCollection , collection , path = ["response" ])
11651165
11661166 assert cast (Any , response .is_closed ) is True
0 commit comments