@@ -26,14 +26,14 @@ class TestCards:
2626 @parametrize
2727 def test_method_create (self , client : Lithic ) -> None :
2828 card = client .cards .create (
29- type = "MERCHANT_LOCKED " ,
29+ type = "VIRTUAL " ,
3030 )
3131 assert_matches_type (Card , card , path = ["response" ])
3232
3333 @parametrize
3434 def test_method_create_with_all_params (self , client : Lithic ) -> None :
3535 card = client .cards .create (
36- type = "MERCHANT_LOCKED " ,
36+ type = "VIRTUAL " ,
3737 account_token = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
3838 card_program_token = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
3939 carrier = {"qr_code_url" : "qr_code_url" },
@@ -60,15 +60,15 @@ def test_method_create_with_all_params(self, client: Lithic) -> None:
6060 },
6161 shipping_method = "2_DAY" ,
6262 spend_limit = 1000 ,
63- spend_limit_duration = "ANNUALLY " ,
63+ spend_limit_duration = "TRANSACTION " ,
6464 state = "OPEN" ,
6565 )
6666 assert_matches_type (Card , card , path = ["response" ])
6767
6868 @parametrize
6969 def test_raw_response_create (self , client : Lithic ) -> None :
7070 response = client .cards .with_raw_response .create (
71- type = "MERCHANT_LOCKED " ,
71+ type = "VIRTUAL " ,
7272 )
7373
7474 assert response .is_closed is True
@@ -79,7 +79,7 @@ def test_raw_response_create(self, client: Lithic) -> None:
7979 @parametrize
8080 def test_streaming_response_create (self , client : Lithic ) -> None :
8181 with client .cards .with_streaming_response .create (
82- type = "MERCHANT_LOCKED " ,
82+ type = "VIRTUAL " ,
8383 ) as response :
8484 assert not response .is_closed
8585 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -143,8 +143,8 @@ def test_method_update_with_all_params(self, client: Lithic) -> None:
143143 pin = "pin" ,
144144 pin_status = "OK" ,
145145 spend_limit = 100 ,
146- spend_limit_duration = "ANNUALLY " ,
147- state = "CLOSED " ,
146+ spend_limit_duration = "FOREVER " ,
147+ state = "OPEN " ,
148148 )
149149 assert_matches_type (Card , card , path = ["response" ])
150150
@@ -252,7 +252,7 @@ def test_method_convert_physical_with_all_params(self, client: Lithic) -> None:
252252 },
253253 carrier = {"qr_code_url" : "https://lithic.com/activate-card/1" },
254254 product_id = "100" ,
255- shipping_method = "2_DAY " ,
255+ shipping_method = "STANDARD " ,
256256 )
257257 assert_matches_type (Card , card , path = ["response" ])
258258
@@ -362,7 +362,7 @@ def test_method_provision_with_all_params(self, client: Lithic) -> None:
362362 certificate = "U3RhaW5sZXNzIHJvY2tz" ,
363363 client_device_id = "client_device_id" ,
364364 client_wallet_account_id = "client_wallet_account_id" ,
365- digital_wallet = "APPLE_PAY " ,
365+ digital_wallet = "GOOGLE_PAY " ,
366366 nonce = "U3RhaW5sZXNzIHJvY2tz" ,
367367 nonce_signature = "U3RhaW5sZXNzIHJvY2tz" ,
368368 )
@@ -425,7 +425,7 @@ def test_method_reissue_with_all_params(self, client: Lithic) -> None:
425425 "line2_text" : "The Bluth Company" ,
426426 "phone_number" : "+15555555555" ,
427427 },
428- shipping_method = "2_DAY " ,
428+ shipping_method = "STANDARD " ,
429429 )
430430 assert_matches_type (Card , card , path = ["response" ])
431431
@@ -497,7 +497,7 @@ def test_method_renew_with_all_params(self, client: Lithic) -> None:
497497 exp_month = "06" ,
498498 exp_year = "2027" ,
499499 product_id = "100" ,
500- shipping_method = "2_DAY " ,
500+ shipping_method = "STANDARD " ,
501501 )
502502 assert_matches_type (Card , card , path = ["response" ])
503503
@@ -635,14 +635,14 @@ class TestAsyncCards:
635635 @parametrize
636636 async def test_method_create (self , async_client : AsyncLithic ) -> None :
637637 card = await async_client .cards .create (
638- type = "MERCHANT_LOCKED " ,
638+ type = "VIRTUAL " ,
639639 )
640640 assert_matches_type (Card , card , path = ["response" ])
641641
642642 @parametrize
643643 async def test_method_create_with_all_params (self , async_client : AsyncLithic ) -> None :
644644 card = await async_client .cards .create (
645- type = "MERCHANT_LOCKED " ,
645+ type = "VIRTUAL " ,
646646 account_token = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
647647 card_program_token = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
648648 carrier = {"qr_code_url" : "qr_code_url" },
@@ -669,15 +669,15 @@ async def test_method_create_with_all_params(self, async_client: AsyncLithic) ->
669669 },
670670 shipping_method = "2_DAY" ,
671671 spend_limit = 1000 ,
672- spend_limit_duration = "ANNUALLY " ,
672+ spend_limit_duration = "TRANSACTION " ,
673673 state = "OPEN" ,
674674 )
675675 assert_matches_type (Card , card , path = ["response" ])
676676
677677 @parametrize
678678 async def test_raw_response_create (self , async_client : AsyncLithic ) -> None :
679679 response = await async_client .cards .with_raw_response .create (
680- type = "MERCHANT_LOCKED " ,
680+ type = "VIRTUAL " ,
681681 )
682682
683683 assert response .is_closed is True
@@ -688,7 +688,7 @@ async def test_raw_response_create(self, async_client: AsyncLithic) -> None:
688688 @parametrize
689689 async def test_streaming_response_create (self , async_client : AsyncLithic ) -> None :
690690 async with async_client .cards .with_streaming_response .create (
691- type = "MERCHANT_LOCKED " ,
691+ type = "VIRTUAL " ,
692692 ) as response :
693693 assert not response .is_closed
694694 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -752,8 +752,8 @@ async def test_method_update_with_all_params(self, async_client: AsyncLithic) ->
752752 pin = "pin" ,
753753 pin_status = "OK" ,
754754 spend_limit = 100 ,
755- spend_limit_duration = "ANNUALLY " ,
756- state = "CLOSED " ,
755+ spend_limit_duration = "FOREVER " ,
756+ state = "OPEN " ,
757757 )
758758 assert_matches_type (Card , card , path = ["response" ])
759759
@@ -861,7 +861,7 @@ async def test_method_convert_physical_with_all_params(self, async_client: Async
861861 },
862862 carrier = {"qr_code_url" : "https://lithic.com/activate-card/1" },
863863 product_id = "100" ,
864- shipping_method = "2_DAY " ,
864+ shipping_method = "STANDARD " ,
865865 )
866866 assert_matches_type (Card , card , path = ["response" ])
867867
@@ -971,7 +971,7 @@ async def test_method_provision_with_all_params(self, async_client: AsyncLithic)
971971 certificate = "U3RhaW5sZXNzIHJvY2tz" ,
972972 client_device_id = "client_device_id" ,
973973 client_wallet_account_id = "client_wallet_account_id" ,
974- digital_wallet = "APPLE_PAY " ,
974+ digital_wallet = "GOOGLE_PAY " ,
975975 nonce = "U3RhaW5sZXNzIHJvY2tz" ,
976976 nonce_signature = "U3RhaW5sZXNzIHJvY2tz" ,
977977 )
@@ -1034,7 +1034,7 @@ async def test_method_reissue_with_all_params(self, async_client: AsyncLithic) -
10341034 "line2_text" : "The Bluth Company" ,
10351035 "phone_number" : "+15555555555" ,
10361036 },
1037- shipping_method = "2_DAY " ,
1037+ shipping_method = "STANDARD " ,
10381038 )
10391039 assert_matches_type (Card , card , path = ["response" ])
10401040
@@ -1106,7 +1106,7 @@ async def test_method_renew_with_all_params(self, async_client: AsyncLithic) ->
11061106 exp_month = "06" ,
11071107 exp_year = "2027" ,
11081108 product_id = "100" ,
1109- shipping_method = "2_DAY " ,
1109+ shipping_method = "STANDARD " ,
11101110 )
11111111 assert_matches_type (Card , card , path = ["response" ])
11121112
0 commit comments