@@ -67,7 +67,7 @@ def create(
6767 account_tokens : List [str ],
6868 name : Optional [str ] | NotGiven = NOT_GIVEN ,
6969 parameters : v2_create_params .CreateAuthRuleRequestAccountTokensParameters | NotGiven = NOT_GIVEN ,
70- type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" ] | NotGiven = NOT_GIVEN ,
70+ type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" , "MERCHANT_LOCK" ] | NotGiven = NOT_GIVEN ,
7171 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
7272 # The extra values given here take precedence over values defined on the client or passed to this method.
7373 extra_headers : Headers | None = None ,
@@ -104,7 +104,7 @@ def create(
104104 card_tokens : List [str ],
105105 name : Optional [str ] | NotGiven = NOT_GIVEN ,
106106 parameters : v2_create_params .CreateAuthRuleRequestCardTokensParameters | NotGiven = NOT_GIVEN ,
107- type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" ] | NotGiven = NOT_GIVEN ,
107+ type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" , "MERCHANT_LOCK" ] | NotGiven = NOT_GIVEN ,
108108 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
109109 # The extra values given here take precedence over values defined on the client or passed to this method.
110110 extra_headers : Headers | None = None ,
@@ -142,7 +142,7 @@ def create(
142142 excluded_card_tokens : List [str ] | NotGiven = NOT_GIVEN ,
143143 name : Optional [str ] | NotGiven = NOT_GIVEN ,
144144 parameters : v2_create_params .CreateAuthRuleRequestProgramLevelParameters | NotGiven = NOT_GIVEN ,
145- type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" ] | NotGiven = NOT_GIVEN ,
145+ type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" , "MERCHANT_LOCK" ] | NotGiven = NOT_GIVEN ,
146146 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
147147 # The extra values given here take precedence over values defined on the client or passed to this method.
148148 extra_headers : Headers | None = None ,
@@ -181,7 +181,7 @@ def create(
181181 account_tokens : List [str ] | NotGiven = NOT_GIVEN ,
182182 name : Optional [str ] | NotGiven = NOT_GIVEN ,
183183 parameters : v2_create_params .CreateAuthRuleRequestAccountTokensParameters | NotGiven = NOT_GIVEN ,
184- type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" ] | NotGiven = NOT_GIVEN ,
184+ type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" , "MERCHANT_LOCK" ] | NotGiven = NOT_GIVEN ,
185185 card_tokens : List [str ] | NotGiven = NOT_GIVEN ,
186186 program_level : bool | NotGiven = NOT_GIVEN ,
187187 excluded_card_tokens : List [str ] | NotGiven = NOT_GIVEN ,
@@ -422,6 +422,7 @@ def list(
422422 card_token : str | NotGiven = NOT_GIVEN ,
423423 ending_before : str | NotGiven = NOT_GIVEN ,
424424 page_size : int | NotGiven = NOT_GIVEN ,
425+ scope : Literal ["PROGRAM" , "ACCOUNT" , "CARD" ] | NotGiven = NOT_GIVEN ,
425426 starting_after : str | NotGiven = NOT_GIVEN ,
426427 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
427428 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -443,6 +444,8 @@ def list(
443444
444445 page_size: Page size (for pagination).
445446
447+ scope: Only return Authorization Rules that are bound to the provided scope;
448+
446449 starting_after: A cursor representing an item's token after which a page of results should
447450 begin. Used to retrieve the next page of results after this item.
448451
@@ -468,6 +471,7 @@ def list(
468471 "card_token" : card_token ,
469472 "ending_before" : ending_before ,
470473 "page_size" : page_size ,
474+ "scope" : scope ,
471475 "starting_after" : starting_after ,
472476 },
473477 v2_list_params .V2ListParams ,
@@ -832,7 +836,7 @@ async def create(
832836 account_tokens : List [str ],
833837 name : Optional [str ] | NotGiven = NOT_GIVEN ,
834838 parameters : v2_create_params .CreateAuthRuleRequestAccountTokensParameters | NotGiven = NOT_GIVEN ,
835- type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" ] | NotGiven = NOT_GIVEN ,
839+ type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" , "MERCHANT_LOCK" ] | NotGiven = NOT_GIVEN ,
836840 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
837841 # The extra values given here take precedence over values defined on the client or passed to this method.
838842 extra_headers : Headers | None = None ,
@@ -869,7 +873,7 @@ async def create(
869873 card_tokens : List [str ],
870874 name : Optional [str ] | NotGiven = NOT_GIVEN ,
871875 parameters : v2_create_params .CreateAuthRuleRequestCardTokensParameters | NotGiven = NOT_GIVEN ,
872- type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" ] | NotGiven = NOT_GIVEN ,
876+ type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" , "MERCHANT_LOCK" ] | NotGiven = NOT_GIVEN ,
873877 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
874878 # The extra values given here take precedence over values defined on the client or passed to this method.
875879 extra_headers : Headers | None = None ,
@@ -907,7 +911,7 @@ async def create(
907911 excluded_card_tokens : List [str ] | NotGiven = NOT_GIVEN ,
908912 name : Optional [str ] | NotGiven = NOT_GIVEN ,
909913 parameters : v2_create_params .CreateAuthRuleRequestProgramLevelParameters | NotGiven = NOT_GIVEN ,
910- type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" ] | NotGiven = NOT_GIVEN ,
914+ type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" , "MERCHANT_LOCK" ] | NotGiven = NOT_GIVEN ,
911915 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
912916 # The extra values given here take precedence over values defined on the client or passed to this method.
913917 extra_headers : Headers | None = None ,
@@ -946,7 +950,7 @@ async def create(
946950 account_tokens : List [str ] | NotGiven = NOT_GIVEN ,
947951 name : Optional [str ] | NotGiven = NOT_GIVEN ,
948952 parameters : v2_create_params .CreateAuthRuleRequestAccountTokensParameters | NotGiven = NOT_GIVEN ,
949- type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" ] | NotGiven = NOT_GIVEN ,
953+ type : Literal ["CONDITIONAL_BLOCK" , "VELOCITY_LIMIT" , "MERCHANT_LOCK" ] | NotGiven = NOT_GIVEN ,
950954 card_tokens : List [str ] | NotGiven = NOT_GIVEN ,
951955 program_level : bool | NotGiven = NOT_GIVEN ,
952956 excluded_card_tokens : List [str ] | NotGiven = NOT_GIVEN ,
@@ -1187,6 +1191,7 @@ def list(
11871191 card_token : str | NotGiven = NOT_GIVEN ,
11881192 ending_before : str | NotGiven = NOT_GIVEN ,
11891193 page_size : int | NotGiven = NOT_GIVEN ,
1194+ scope : Literal ["PROGRAM" , "ACCOUNT" , "CARD" ] | NotGiven = NOT_GIVEN ,
11901195 starting_after : str | NotGiven = NOT_GIVEN ,
11911196 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
11921197 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1208,6 +1213,8 @@ def list(
12081213
12091214 page_size: Page size (for pagination).
12101215
1216+ scope: Only return Authorization Rules that are bound to the provided scope;
1217+
12111218 starting_after: A cursor representing an item's token after which a page of results should
12121219 begin. Used to retrieve the next page of results after this item.
12131220
@@ -1233,6 +1240,7 @@ def list(
12331240 "card_token" : card_token ,
12341241 "ending_before" : ending_before ,
12351242 "page_size" : page_size ,
1243+ "scope" : scope ,
12361244 "starting_after" : starting_after ,
12371245 },
12381246 v2_list_params .V2ListParams ,
0 commit comments