44
55from  typing  import  Type , Union , Optional , cast 
66from  datetime  import  datetime 
7- from  typing_extensions  import  Literal 
87
98import  httpx 
109
2524from  ......_base_client  import  (
2625 make_request_options ,
2726)
27+ from  ......types .dns .firewall  import  Delta 
28+ from  ......types .dns .firewall .delta  import  Delta 
2829from  ......types .dns .analytics .reports .by_time  import  ByTime 
2930from  ......types .dns .firewall .analytics .reports  import  bytime_get_params 
3031
@@ -51,8 +52,7 @@ def get(
5152 metrics : str  |  NotGiven  =  NOT_GIVEN ,
5253 since : Union [str , datetime ] |  NotGiven  =  NOT_GIVEN ,
5354 sort : str  |  NotGiven  =  NOT_GIVEN ,
54-  time_delta : Literal ["all" , "auto" , "year" , "quarter" , "month" , "week" , "day" , "hour" , "dekaminute" , "minute" ]
55-  |  NotGiven  =  NOT_GIVEN ,
55+  time_delta : Delta  |  NotGiven  =  NOT_GIVEN ,
5656 until : Union [str , datetime ] |  NotGiven  =  NOT_GIVEN ,
5757 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. 
5858 # The extra values given here take precedence over values defined on the client or passed to this method. 
@@ -148,8 +148,7 @@ async def get(
148148 metrics : str  |  NotGiven  =  NOT_GIVEN ,
149149 since : Union [str , datetime ] |  NotGiven  =  NOT_GIVEN ,
150150 sort : str  |  NotGiven  =  NOT_GIVEN ,
151-  time_delta : Literal ["all" , "auto" , "year" , "quarter" , "month" , "week" , "day" , "hour" , "dekaminute" , "minute" ]
152-  |  NotGiven  =  NOT_GIVEN ,
151+  time_delta : Delta  |  NotGiven  =  NOT_GIVEN ,
153152 until : Union [str , datetime ] |  NotGiven  =  NOT_GIVEN ,
154153 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. 
155154 # The extra values given here take precedence over values defined on the client or passed to this method. 
0 commit comments