@@ -523,7 +523,7 @@ declare namespace COS {
523
523
/** putBucketCors 接口返回值 */
524
524
interface PutBucketCorsResult extends GeneralResult {
525
525
/** 存储桶跨域资源共享(CORS)访问控制规则 */
526
- CORSRules : object ,
526
+ CORSRules : Record < string , any > ,
527
527
}
528
528
529
529
// getBucketCors
@@ -550,7 +550,7 @@ declare namespace COS {
550
550
/** putBucketPolicy 接口参数 */
551
551
interface PutBucketPolicyParams extends BucketParams {
552
552
/** 存储桶的权限策略 @see https://cloud.tencent.com/document/product/436/31923 */
553
- Policy : object ,
553
+ Policy : Record < string , any > ,
554
554
}
555
555
/** putBucketPolicy 接口返回值 */
556
556
interface PutBucketPolicyResult extends GeneralResult { }
@@ -561,7 +561,7 @@ declare namespace COS {
561
561
/** getBucketPolicy 接口返回值 */
562
562
interface GetBucketPolicyResult extends GeneralResult {
563
563
/** 存储桶的权限策略 @see https://cloud.tencent.com/document/product/436/31923 */
564
- Policy : object
564
+ Policy : Record < string , any >
565
565
}
566
566
567
567
// deleteBucketPolicy
@@ -602,17 +602,17 @@ declare namespace COS {
602
602
/** 指明规则是否启用,枚举值:Enabled,Disabled,必选 */
603
603
Status : 'Enabled' | 'Disabled' ,
604
604
/** Filter 用于描述规则影响的 Object 集合,必选 */
605
- Filter ?: object ,
605
+ Filter ?: Record < string , any > ,
606
606
/** 规则转换属性,对象何时转换为 Standard_IA 或 Archive 等存储类型 */
607
- Transition ?: object ,
607
+ Transition ?: Record < string , any > ,
608
608
/** 规则过期属性 */
609
- Expiration ?: object ,
609
+ Expiration ?: Record < string , any > ,
610
610
/** 设置允许分片上传保持运行的最长时间 */
611
- AbortIncompleteMultipartUpload ?: object ,
611
+ AbortIncompleteMultipartUpload ?: Record < string , any > ,
612
612
/** 指明非当前版本对象何时过期 */
613
- NoncurrentVersionExpiration ?: object ,
613
+ NoncurrentVersionExpiration ?: Record < string , any > ,
614
614
/** 指明非当前版本对象何时转换为 STANDARD_IA 或 ARCHIVE 等存储类型 */
615
- NoncurrentVersionTransition ?: object ,
615
+ NoncurrentVersionTransition ?: Record < string , any > ,
616
616
} ;
617
617
/** putBucketLifecycle 接口参数 */
618
618
interface PutBucketLifecycleParams extends BucketParams {
@@ -1021,7 +1021,7 @@ declare namespace COS {
1021
1021
/** listBucketInventory 接口返回值 */
1022
1022
interface ListBucketInventoryResult extends GeneralResult {
1023
1023
/** 包含清单任务的详细信息 */
1024
- InventoryConfigurations : object ,
1024
+ InventoryConfigurations : Record < string , any > ,
1025
1025
/** 当 COS 响应体中 IsTruncated 为 true,且 NextContinuationToken 节点中存在参数值时,您可以将这个参数作为 continuation-token 参数值,以获取下一页的清单任务信息。缺省值:None */
1026
1026
ContinuationToken : string ,
1027
1027
/** 是否已列出所有清单任务信息的标识。如果已经展示完则为 false,否则为 true */
@@ -1309,7 +1309,7 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
1309
1309
/** 接口的版本信息,当前最新版本是 2 */
1310
1310
SelectType : number ,
1311
1311
/** 检索参数,当前版本支持检索 JSON、CSV 文件内容 */
1312
- SelectRequest : object ,
1312
+ SelectRequest : Record < string , any > ,
1313
1313
/** 当启用版本控制时,指定要检索的版本 ID,如不指定则检索对象的最新版本 */
1314
1314
VersionId ?: VersionId ,
1315
1315
}
@@ -1652,7 +1652,7 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
1652
1652
/** 上传的进度回调方法 */
1653
1653
onProgress ?: onProgress ,
1654
1654
/** 上传完成回调方法 */
1655
- onFileFinish ?: ( err : Error , data ?: object ) => void ,
1655
+ onFileFinish ?: ( err : Error , data ?: Record < string , any > ) => void ,
1656
1656
}
1657
1657
/** 要上传的单个文件参数 */
1658
1658
interface UploadFileItemResult extends GeneralResult {
@@ -1671,7 +1671,7 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
1671
1671
/** 所有文件整体上传进度回调方法 */
1672
1672
onProgress ?: onProgress ,
1673
1673
/** 所有文件上传完成回调方法 */
1674
- onFileFinish ?: ( err : CosError , data ?: object ) => void ,
1674
+ onFileFinish ?: ( err : CosError , data ?: Record < string , any > ) => void ,
1675
1675
}
1676
1676
/** uploadFiles 接口返回值 */
1677
1677
interface UploadFilesResult extends GeneralResult {
0 commit comments