5959from .....types .zero_trust .access import (
6060 AppID ,
6161 ApplicationType ,
62+ application_list_params ,
6263 application_create_params ,
6364 application_update_params ,
6465)
@@ -1899,6 +1900,10 @@ def list(
18991900 * ,
19001901 account_id : str | NotGiven = NOT_GIVEN ,
19011902 zone_id : str | NotGiven = NOT_GIVEN ,
1903+ aud : str | NotGiven = NOT_GIVEN ,
1904+ domain : str | NotGiven = NOT_GIVEN ,
1905+ name : str | NotGiven = NOT_GIVEN ,
1906+ search : str | NotGiven = NOT_GIVEN ,
19021907 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
19031908 # The extra values given here take precedence over values defined on the client or passed to this method.
19041909 extra_headers : Headers | None = None ,
@@ -1914,6 +1919,14 @@ def list(
19141919
19151920 zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
19161921
1922+ aud: The aud of the app.
1923+
1924+ domain: The domain of the app.
1925+
1926+ name: The name of the app.
1927+
1928+ search: Search for apps by other listed query parameters.
1929+
19171930 extra_headers: Send extra headers
19181931
19191932 extra_query: Add additional query parameters to the request
@@ -1938,7 +1951,19 @@ def list(
19381951 f"/{ account_or_zone } /{ account_or_zone_id } /access/apps" ,
19391952 page = SyncSinglePage [ApplicationListResponse ],
19401953 options = make_request_options (
1941- extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
1954+ extra_headers = extra_headers ,
1955+ extra_query = extra_query ,
1956+ extra_body = extra_body ,
1957+ timeout = timeout ,
1958+ query = maybe_transform (
1959+ {
1960+ "aud" : aud ,
1961+ "domain" : domain ,
1962+ "name" : name ,
1963+ "search" : search ,
1964+ },
1965+ application_list_params .ApplicationListParams ,
1966+ ),
19421967 ),
19431968 model = cast (Any , ApplicationListResponse ), # Union types cannot be passed in as arguments in the type system
19441969 )
@@ -3943,6 +3968,10 @@ def list(
39433968 * ,
39443969 account_id : str | NotGiven = NOT_GIVEN ,
39453970 zone_id : str | NotGiven = NOT_GIVEN ,
3971+ aud : str | NotGiven = NOT_GIVEN ,
3972+ domain : str | NotGiven = NOT_GIVEN ,
3973+ name : str | NotGiven = NOT_GIVEN ,
3974+ search : str | NotGiven = NOT_GIVEN ,
39463975 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
39473976 # The extra values given here take precedence over values defined on the client or passed to this method.
39483977 extra_headers : Headers | None = None ,
@@ -3958,6 +3987,14 @@ def list(
39583987
39593988 zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
39603989
3990+ aud: The aud of the app.
3991+
3992+ domain: The domain of the app.
3993+
3994+ name: The name of the app.
3995+
3996+ search: Search for apps by other listed query parameters.
3997+
39613998 extra_headers: Send extra headers
39623999
39634000 extra_query: Add additional query parameters to the request
@@ -3982,7 +4019,19 @@ def list(
39824019 f"/{ account_or_zone } /{ account_or_zone_id } /access/apps" ,
39834020 page = AsyncSinglePage [ApplicationListResponse ],
39844021 options = make_request_options (
3985- extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
4022+ extra_headers = extra_headers ,
4023+ extra_query = extra_query ,
4024+ extra_body = extra_body ,
4025+ timeout = timeout ,
4026+ query = maybe_transform (
4027+ {
4028+ "aud" : aud ,
4029+ "domain" : domain ,
4030+ "name" : name ,
4031+ "search" : search ,
4032+ },
4033+ application_list_params .ApplicationListParams ,
4034+ ),
39864035 ),
39874036 model = cast (Any , ApplicationListResponse ), # Union types cannot be passed in as arguments in the type system
39884037 )
0 commit comments