@@ -361,14 +361,14 @@ def test_path_params_fetch_by_external_id(self, client: Orb) -> None:
361361 @parametrize
362362 def test_method_sync_payment_methods_from_gateway (self , client : Orb ) -> None :
363363 customer = client .customers .sync_payment_methods_from_gateway (
364- "external_customer_id " ,
364+ "customer_id " ,
365365 )
366366 assert customer is None
367367
368368 @parametrize
369369 def test_raw_response_sync_payment_methods_from_gateway (self , client : Orb ) -> None :
370370 response = client .customers .with_raw_response .sync_payment_methods_from_gateway (
371- "external_customer_id " ,
371+ "customer_id " ,
372372 )
373373
374374 assert response .is_closed is True
@@ -379,7 +379,7 @@ def test_raw_response_sync_payment_methods_from_gateway(self, client: Orb) -> No
379379 @parametrize
380380 def test_streaming_response_sync_payment_methods_from_gateway (self , client : Orb ) -> None :
381381 with client .customers .with_streaming_response .sync_payment_methods_from_gateway (
382- "external_customer_id " ,
382+ "customer_id " ,
383383 ) as response :
384384 assert not response .is_closed
385385 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -391,22 +391,22 @@ def test_streaming_response_sync_payment_methods_from_gateway(self, client: Orb)
391391
392392 @parametrize
393393 def test_path_params_sync_payment_methods_from_gateway (self , client : Orb ) -> None :
394- with pytest .raises (ValueError , match = r"Expected a non-empty value for `external_customer_id ` but received ''" ):
394+ with pytest .raises (ValueError , match = r"Expected a non-empty value for `customer_id ` but received ''" ):
395395 client .customers .with_raw_response .sync_payment_methods_from_gateway (
396396 "" ,
397397 )
398398
399399 @parametrize
400400 def test_method_sync_payment_methods_from_gateway_by_external_customer_id (self , client : Orb ) -> None :
401401 customer = client .customers .sync_payment_methods_from_gateway_by_external_customer_id (
402- "customer_id " ,
402+ "external_customer_id " ,
403403 )
404404 assert customer is None
405405
406406 @parametrize
407407 def test_raw_response_sync_payment_methods_from_gateway_by_external_customer_id (self , client : Orb ) -> None :
408408 response = client .customers .with_raw_response .sync_payment_methods_from_gateway_by_external_customer_id (
409- "customer_id " ,
409+ "external_customer_id " ,
410410 )
411411
412412 assert response .is_closed is True
@@ -417,7 +417,7 @@ def test_raw_response_sync_payment_methods_from_gateway_by_external_customer_id(
417417 @parametrize
418418 def test_streaming_response_sync_payment_methods_from_gateway_by_external_customer_id (self , client : Orb ) -> None :
419419 with client .customers .with_streaming_response .sync_payment_methods_from_gateway_by_external_customer_id (
420- "customer_id " ,
420+ "external_customer_id " ,
421421 ) as response :
422422 assert not response .is_closed
423423 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -429,7 +429,7 @@ def test_streaming_response_sync_payment_methods_from_gateway_by_external_custom
429429
430430 @parametrize
431431 def test_path_params_sync_payment_methods_from_gateway_by_external_customer_id (self , client : Orb ) -> None :
432- with pytest .raises (ValueError , match = r"Expected a non-empty value for `customer_id ` but received ''" ):
432+ with pytest .raises (ValueError , match = r"Expected a non-empty value for `external_customer_id ` but received ''" ):
433433 client .customers .with_raw_response .sync_payment_methods_from_gateway_by_external_customer_id (
434434 "" ,
435435 )
@@ -873,14 +873,14 @@ async def test_path_params_fetch_by_external_id(self, async_client: AsyncOrb) ->
873873 @parametrize
874874 async def test_method_sync_payment_methods_from_gateway (self , async_client : AsyncOrb ) -> None :
875875 customer = await async_client .customers .sync_payment_methods_from_gateway (
876- "external_customer_id " ,
876+ "customer_id " ,
877877 )
878878 assert customer is None
879879
880880 @parametrize
881881 async def test_raw_response_sync_payment_methods_from_gateway (self , async_client : AsyncOrb ) -> None :
882882 response = await async_client .customers .with_raw_response .sync_payment_methods_from_gateway (
883- "external_customer_id " ,
883+ "customer_id " ,
884884 )
885885
886886 assert response .is_closed is True
@@ -891,7 +891,7 @@ async def test_raw_response_sync_payment_methods_from_gateway(self, async_client
891891 @parametrize
892892 async def test_streaming_response_sync_payment_methods_from_gateway (self , async_client : AsyncOrb ) -> None :
893893 async with async_client .customers .with_streaming_response .sync_payment_methods_from_gateway (
894- "external_customer_id " ,
894+ "customer_id " ,
895895 ) as response :
896896 assert not response .is_closed
897897 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -903,7 +903,7 @@ async def test_streaming_response_sync_payment_methods_from_gateway(self, async_
903903
904904 @parametrize
905905 async def test_path_params_sync_payment_methods_from_gateway (self , async_client : AsyncOrb ) -> None :
906- with pytest .raises (ValueError , match = r"Expected a non-empty value for `external_customer_id ` but received ''" ):
906+ with pytest .raises (ValueError , match = r"Expected a non-empty value for `customer_id ` but received ''" ):
907907 await async_client .customers .with_raw_response .sync_payment_methods_from_gateway (
908908 "" ,
909909 )
@@ -913,7 +913,7 @@ async def test_method_sync_payment_methods_from_gateway_by_external_customer_id(
913913 self , async_client : AsyncOrb
914914 ) -> None :
915915 customer = await async_client .customers .sync_payment_methods_from_gateway_by_external_customer_id (
916- "customer_id " ,
916+ "external_customer_id " ,
917917 )
918918 assert customer is None
919919
@@ -923,7 +923,7 @@ async def test_raw_response_sync_payment_methods_from_gateway_by_external_custom
923923 ) -> None :
924924 response = (
925925 await async_client .customers .with_raw_response .sync_payment_methods_from_gateway_by_external_customer_id (
926- "customer_id " ,
926+ "external_customer_id " ,
927927 )
928928 )
929929
@@ -938,7 +938,7 @@ async def test_streaming_response_sync_payment_methods_from_gateway_by_external_
938938 ) -> None :
939939 async with (
940940 async_client .customers .with_streaming_response .sync_payment_methods_from_gateway_by_external_customer_id (
941- "customer_id " ,
941+ "external_customer_id " ,
942942 )
943943 ) as response :
944944 assert not response .is_closed
@@ -953,7 +953,7 @@ async def test_streaming_response_sync_payment_methods_from_gateway_by_external_
953953 async def test_path_params_sync_payment_methods_from_gateway_by_external_customer_id (
954954 self , async_client : AsyncOrb
955955 ) -> None :
956- with pytest .raises (ValueError , match = r"Expected a non-empty value for `customer_id ` but received ''" ):
956+ with pytest .raises (ValueError , match = r"Expected a non-empty value for `external_customer_id ` but received ''" ):
957957 await async_client .customers .with_raw_response .sync_payment_methods_from_gateway_by_external_customer_id (
958958 "" ,
959959 )
0 commit comments