1010from cloudflare import Cloudflare , AsyncCloudflare
1111from tests .utils import assert_matches_type
1212from cloudflare .pagination import SyncV4PagePaginationArray , AsyncV4PagePaginationArray
13- from cloudflare .types .shared import IamMember
13+ from cloudflare .types .shared import Member
1414from cloudflare .types .accounts import (
1515 MemberListResponse ,
1616 UserWithInviteCode ,
@@ -102,7 +102,7 @@ def test_method_update(self, client: Cloudflare) -> None:
102102 {"id" : "3536bcfad5faccb999b47003c79917fb" },
103103 ],
104104 )
105- assert_matches_type (IamMember , member , path = ["response" ])
105+ assert_matches_type (Member , member , path = ["response" ])
106106
107107 @pytest .mark .skip ()
108108 @parametrize
@@ -120,7 +120,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
120120 assert response .is_closed is True
121121 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
122122 member = response .parse ()
123- assert_matches_type (IamMember , member , path = ["response" ])
123+ assert_matches_type (Member , member , path = ["response" ])
124124
125125 @pytest .mark .skip ()
126126 @parametrize
@@ -138,7 +138,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
138138 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
139139
140140 member = response .parse ()
141- assert_matches_type (IamMember , member , path = ["response" ])
141+ assert_matches_type (Member , member , path = ["response" ])
142142
143143 assert cast (Any , response .is_closed ) is True
144144
@@ -260,7 +260,7 @@ def test_method_get(self, client: Cloudflare) -> None:
260260 "4536bcfad5faccb111b47003c79917fa" ,
261261 account_id = {},
262262 )
263- assert_matches_type (IamMember , member , path = ["response" ])
263+ assert_matches_type (Member , member , path = ["response" ])
264264
265265 @pytest .mark .skip ()
266266 @parametrize
@@ -273,7 +273,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
273273 assert response .is_closed is True
274274 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
275275 member = response .parse ()
276- assert_matches_type (IamMember , member , path = ["response" ])
276+ assert_matches_type (Member , member , path = ["response" ])
277277
278278 @pytest .mark .skip ()
279279 @parametrize
@@ -286,7 +286,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
286286 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
287287
288288 member = response .parse ()
289- assert_matches_type (IamMember , member , path = ["response" ])
289+ assert_matches_type (Member , member , path = ["response" ])
290290
291291 assert cast (Any , response .is_closed ) is True
292292
@@ -382,7 +382,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
382382 {"id" : "3536bcfad5faccb999b47003c79917fb" },
383383 ],
384384 )
385- assert_matches_type (IamMember , member , path = ["response" ])
385+ assert_matches_type (Member , member , path = ["response" ])
386386
387387 @pytest .mark .skip ()
388388 @parametrize
@@ -400,7 +400,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
400400 assert response .is_closed is True
401401 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
402402 member = await response .parse ()
403- assert_matches_type (IamMember , member , path = ["response" ])
403+ assert_matches_type (Member , member , path = ["response" ])
404404
405405 @pytest .mark .skip ()
406406 @parametrize
@@ -418,7 +418,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
418418 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
419419
420420 member = await response .parse ()
421- assert_matches_type (IamMember , member , path = ["response" ])
421+ assert_matches_type (Member , member , path = ["response" ])
422422
423423 assert cast (Any , response .is_closed ) is True
424424
@@ -540,7 +540,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
540540 "4536bcfad5faccb111b47003c79917fa" ,
541541 account_id = {},
542542 )
543- assert_matches_type (IamMember , member , path = ["response" ])
543+ assert_matches_type (Member , member , path = ["response" ])
544544
545545 @pytest .mark .skip ()
546546 @parametrize
@@ -553,7 +553,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
553553 assert response .is_closed is True
554554 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
555555 member = await response .parse ()
556- assert_matches_type (IamMember , member , path = ["response" ])
556+ assert_matches_type (Member , member , path = ["response" ])
557557
558558 @pytest .mark .skip ()
559559 @parametrize
@@ -566,7 +566,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
566566 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
567567
568568 member = await response .parse ()
569- assert_matches_type (IamMember , member , path = ["response" ])
569+ assert_matches_type (Member , member , path = ["response" ])
570570
571571 assert cast (Any , response .is_closed ) is True
572572
0 commit comments