@@ -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
@@ -374,7 +374,7 @@ def test_method_provision_with_all_params(self, client: Lithic) -> None:
374374 certificate = "U3RhaW5sZXNzIHJvY2tz" ,
375375 client_device_id = "client_device_id" ,
376376 client_wallet_account_id = "client_wallet_account_id" ,
377- digital_wallet = "APPLE_PAY " ,
377+ digital_wallet = "GOOGLE_PAY " ,
378378 nonce = "U3RhaW5sZXNzIHJvY2tz" ,
379379 nonce_signature = "U3RhaW5sZXNzIHJvY2tz" ,
380380 )
@@ -437,7 +437,7 @@ def test_method_reissue_with_all_params(self, client: Lithic) -> None:
437437 "line2_text" : "The Bluth Company" ,
438438 "phone_number" : "+15555555555" ,
439439 },
440- shipping_method = "2_DAY " ,
440+ shipping_method = "STANDARD " ,
441441 )
442442 assert_matches_type (Card , card , path = ["response" ])
443443
@@ -509,7 +509,7 @@ def test_method_renew_with_all_params(self, client: Lithic) -> None:
509509 exp_month = "06" ,
510510 exp_year = "2027" ,
511511 product_id = "100" ,
512- shipping_method = "2_DAY " ,
512+ shipping_method = "STANDARD " ,
513513 )
514514 assert_matches_type (Card , card , path = ["response" ])
515515
@@ -647,14 +647,14 @@ class TestAsyncCards:
647647 @parametrize
648648 async def test_method_create (self , async_client : AsyncLithic ) -> None :
649649 card = await async_client .cards .create (
650- type = "MERCHANT_LOCKED " ,
650+ type = "VIRTUAL " ,
651651 )
652652 assert_matches_type (Card , card , path = ["response" ])
653653
654654 @parametrize
655655 async def test_method_create_with_all_params (self , async_client : AsyncLithic ) -> None :
656656 card = await async_client .cards .create (
657- type = "MERCHANT_LOCKED " ,
657+ type = "VIRTUAL " ,
658658 account_token = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
659659 card_program_token = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
660660 carrier = {"qr_code_url" : "qr_code_url" },
@@ -681,15 +681,15 @@ async def test_method_create_with_all_params(self, async_client: AsyncLithic) ->
681681 },
682682 shipping_method = "2_DAY" ,
683683 spend_limit = 1000 ,
684- spend_limit_duration = "ANNUALLY " ,
684+ spend_limit_duration = "TRANSACTION " ,
685685 state = "OPEN" ,
686686 )
687687 assert_matches_type (Card , card , path = ["response" ])
688688
689689 @parametrize
690690 async def test_raw_response_create (self , async_client : AsyncLithic ) -> None :
691691 response = await async_client .cards .with_raw_response .create (
692- type = "MERCHANT_LOCKED " ,
692+ type = "VIRTUAL " ,
693693 )
694694
695695 assert response .is_closed is True
@@ -700,7 +700,7 @@ async def test_raw_response_create(self, async_client: AsyncLithic) -> None:
700700 @parametrize
701701 async def test_streaming_response_create (self , async_client : AsyncLithic ) -> None :
702702 async with async_client .cards .with_streaming_response .create (
703- type = "MERCHANT_LOCKED " ,
703+ type = "VIRTUAL " ,
704704 ) as response :
705705 assert not response .is_closed
706706 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -764,8 +764,8 @@ async def test_method_update_with_all_params(self, async_client: AsyncLithic) ->
764764 pin = "pin" ,
765765 pin_status = "OK" ,
766766 spend_limit = 100 ,
767- spend_limit_duration = "ANNUALLY " ,
768- state = "CLOSED " ,
767+ spend_limit_duration = "FOREVER " ,
768+ state = "OPEN " ,
769769 )
770770 assert_matches_type (Card , card , path = ["response" ])
771771
@@ -873,7 +873,7 @@ async def test_method_convert_physical_with_all_params(self, async_client: Async
873873 },
874874 carrier = {"qr_code_url" : "https://lithic.com/activate-card/1" },
875875 product_id = "100" ,
876- shipping_method = "2_DAY " ,
876+ shipping_method = "STANDARD " ,
877877 )
878878 assert_matches_type (Card , card , path = ["response" ])
879879
@@ -995,7 +995,7 @@ async def test_method_provision_with_all_params(self, async_client: AsyncLithic)
995995 certificate = "U3RhaW5sZXNzIHJvY2tz" ,
996996 client_device_id = "client_device_id" ,
997997 client_wallet_account_id = "client_wallet_account_id" ,
998- digital_wallet = "APPLE_PAY " ,
998+ digital_wallet = "GOOGLE_PAY " ,
999999 nonce = "U3RhaW5sZXNzIHJvY2tz" ,
10001000 nonce_signature = "U3RhaW5sZXNzIHJvY2tz" ,
10011001 )
@@ -1058,7 +1058,7 @@ async def test_method_reissue_with_all_params(self, async_client: AsyncLithic) -
10581058 "line2_text" : "The Bluth Company" ,
10591059 "phone_number" : "+15555555555" ,
10601060 },
1061- shipping_method = "2_DAY " ,
1061+ shipping_method = "STANDARD " ,
10621062 )
10631063 assert_matches_type (Card , card , path = ["response" ])
10641064
@@ -1130,7 +1130,7 @@ async def test_method_renew_with_all_params(self, async_client: AsyncLithic) ->
11301130 exp_month = "06" ,
11311131 exp_year = "2027" ,
11321132 product_id = "100" ,
1133- shipping_method = "2_DAY " ,
1133+ shipping_method = "STANDARD " ,
11341134 )
11351135 assert_matches_type (Card , card , path = ["response" ])
11361136
0 commit comments