1414 Agent ,
1515 APIResponseAgent ,
1616 AgentListResponse ,
17+ AgentCreateResponse ,
1718 APIResponsePaginationDataAgent ,
1819)
1920
@@ -30,7 +31,7 @@ def test_method_create(self, client: Inty) -> None:
3031 gender = "gender" ,
3132 name = "name" ,
3233 )
33- assert_matches_type (APIResponseAgent , agent , path = ["response" ])
34+ assert_matches_type (AgentCreateResponse , agent , path = ["response" ])
3435
3536 @pytest .mark .skip (reason = "Prism tests are disabled" )
3637 @parametrize
@@ -80,7 +81,7 @@ def test_method_create_with_all_params(self, client: Inty) -> None:
8081 visibility = "PUBLIC" ,
8182 voice_id = "voice_id" ,
8283 )
83- assert_matches_type (APIResponseAgent , agent , path = ["response" ])
84+ assert_matches_type (AgentCreateResponse , agent , path = ["response" ])
8485
8586 @pytest .mark .skip (reason = "Prism tests are disabled" )
8687 @parametrize
@@ -93,7 +94,7 @@ def test_raw_response_create(self, client: Inty) -> None:
9394 assert response .is_closed is True
9495 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
9596 agent = response .parse ()
96- assert_matches_type (APIResponseAgent , agent , path = ["response" ])
97+ assert_matches_type (AgentCreateResponse , agent , path = ["response" ])
9798
9899 @pytest .mark .skip (reason = "Prism tests are disabled" )
99100 @parametrize
@@ -106,7 +107,7 @@ def test_streaming_response_create(self, client: Inty) -> None:
106107 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
107108
108109 agent = response .parse ()
109- assert_matches_type (APIResponseAgent , agent , path = ["response" ])
110+ assert_matches_type (AgentCreateResponse , agent , path = ["response" ])
110111
111112 assert cast (Any , response .is_closed ) is True
112113
@@ -541,7 +542,7 @@ async def test_method_create(self, async_client: AsyncInty) -> None:
541542 gender = "gender" ,
542543 name = "name" ,
543544 )
544- assert_matches_type (APIResponseAgent , agent , path = ["response" ])
545+ assert_matches_type (AgentCreateResponse , agent , path = ["response" ])
545546
546547 @pytest .mark .skip (reason = "Prism tests are disabled" )
547548 @parametrize
@@ -591,7 +592,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncInty) -> N
591592 visibility = "PUBLIC" ,
592593 voice_id = "voice_id" ,
593594 )
594- assert_matches_type (APIResponseAgent , agent , path = ["response" ])
595+ assert_matches_type (AgentCreateResponse , agent , path = ["response" ])
595596
596597 @pytest .mark .skip (reason = "Prism tests are disabled" )
597598 @parametrize
@@ -604,7 +605,7 @@ async def test_raw_response_create(self, async_client: AsyncInty) -> None:
604605 assert response .is_closed is True
605606 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
606607 agent = await response .parse ()
607- assert_matches_type (APIResponseAgent , agent , path = ["response" ])
608+ assert_matches_type (AgentCreateResponse , agent , path = ["response" ])
608609
609610 @pytest .mark .skip (reason = "Prism tests are disabled" )
610611 @parametrize
@@ -617,7 +618,7 @@ async def test_streaming_response_create(self, async_client: AsyncInty) -> None:
617618 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
618619
619620 agent = await response .parse ()
620- assert_matches_type (APIResponseAgent , agent , path = ["response" ])
621+ assert_matches_type (AgentCreateResponse , agent , path = ["response" ])
621622
622623 assert cast (Any , response .is_closed ) is True
623624
0 commit comments