File tree 3 files changed +11
-11
lines changed
src/resources/accounts/logs
tests/api-resources/accounts/logs
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 1480
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-940940879e4920ccdb9e851d6a4f0f3c313303b4917c6e3c49e81b7e44f1506c .yml
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-18ccd4bfa5225ea54ecb087df6d6542117dc16f65b932d7e33a3e05d6c8e3c7e .yml
Original file line number Diff line number Diff line change @@ -225,16 +225,16 @@ export interface AuditListParams extends CursorLimitPaginationParams {
225
225
account_id : string ;
226
226
227
227
/**
228
- * Query param: Filters actions based on a given timestamp, returning only logs
229
- * that occurred before the specified date.
228
+ * Query param: Filters actions based on a given timestamp in the format
229
+ * yyyy-mm-dd, returning only logs that occurred on and before the specified date.
230
230
*/
231
- before : string | string ;
231
+ before : string ;
232
232
233
233
/**
234
- * Query param: Filters actions based on a given timestamp, returning only logs
235
- * that occurred after the specified date.
234
+ * Query param: Filters actions based on a given timestamp in the format
235
+ * yyyy-mm-dd, returning only logs that occurred on and after the specified date.
236
236
*/
237
- since : string | string ;
237
+ since : string ;
238
238
239
239
/**
240
240
* Query param: Filters by the account name.
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ describe('resource audit', () => {
13
13
test ( 'list: only required params' , async ( ) => {
14
14
const responsePromise = client . accounts . logs . audit . list ( {
15
15
account_id : 'a67e14daa5f8dceeb91fe5449ba496ef' ,
16
- before : '2014 -10-30 ' ,
17
- since : '2014 -10-30' ,
16
+ before : '2024 -10-31 ' ,
17
+ since : '2024 -10-30' ,
18
18
} ) ;
19
19
const rawResponse = await responsePromise . asResponse ( ) ;
20
20
expect ( rawResponse ) . toBeInstanceOf ( Response ) ;
@@ -28,8 +28,8 @@ describe('resource audit', () => {
28
28
test ( 'list: required and optional params' , async ( ) => {
29
29
const response = await client . accounts . logs . audit . list ( {
30
30
account_id : 'a67e14daa5f8dceeb91fe5449ba496ef' ,
31
- before : '2014 -10-30 ' ,
32
- since : '2014 -10-30' ,
31
+ before : '2024 -10-31 ' ,
32
+ since : '2024 -10-30' ,
33
33
account_name : 'account_name' ,
34
34
action_result : 'success' ,
35
35
action_type : 'create' ,
You can’t perform that action at this time.
0 commit comments