59
59
from .....types .zero_trust .access import (
60
60
AppID ,
61
61
ApplicationType ,
62
+ application_list_params ,
62
63
application_create_params ,
63
64
application_update_params ,
64
65
)
@@ -1899,6 +1900,10 @@ def list(
1899
1900
* ,
1900
1901
account_id : str | NotGiven = NOT_GIVEN ,
1901
1902
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 ,
1902
1907
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1903
1908
# The extra values given here take precedence over values defined on the client or passed to this method.
1904
1909
extra_headers : Headers | None = None ,
@@ -1914,6 +1919,14 @@ def list(
1914
1919
1915
1920
zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
1916
1921
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
+
1917
1930
extra_headers: Send extra headers
1918
1931
1919
1932
extra_query: Add additional query parameters to the request
@@ -1938,7 +1951,19 @@ def list(
1938
1951
f"/{ account_or_zone } /{ account_or_zone_id } /access/apps" ,
1939
1952
page = SyncSinglePage [ApplicationListResponse ],
1940
1953
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
+ ),
1942
1967
),
1943
1968
model = cast (Any , ApplicationListResponse ), # Union types cannot be passed in as arguments in the type system
1944
1969
)
@@ -3943,6 +3968,10 @@ def list(
3943
3968
* ,
3944
3969
account_id : str | NotGiven = NOT_GIVEN ,
3945
3970
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 ,
3946
3975
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
3947
3976
# The extra values given here take precedence over values defined on the client or passed to this method.
3948
3977
extra_headers : Headers | None = None ,
@@ -3958,6 +3987,14 @@ def list(
3958
3987
3959
3988
zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
3960
3989
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
+
3961
3998
extra_headers: Send extra headers
3962
3999
3963
4000
extra_query: Add additional query parameters to the request
@@ -3982,7 +4019,19 @@ def list(
3982
4019
f"/{ account_or_zone } /{ account_or_zone_id } /access/apps" ,
3983
4020
page = AsyncSinglePage [ApplicationListResponse ],
3984
4021
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
+ ),
3986
4035
),
3987
4036
model = cast (Any , ApplicationListResponse ), # Union types cannot be passed in as arguments in the type system
3988
4037
)
0 commit comments