Skip to content

Commit 966e50c

Browse files
committed
fix: upd d.ts
1 parent 3ac3f94 commit 966e50c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

index.d.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,13 @@ declare namespace COS {
336336
/** 发请求时带上的 Header 字段 */
337337
Headers?: Headers;
338338
tracker?: any;
339+
/** 加密相关 */
340+
ServerSideEncryption?: string;
341+
SSECustomerAlgorithm?: string;
342+
SSECustomerKey?: string;
343+
SSECustomerKeyMD5?: string;
344+
SSEKMSKeyId?: string;
345+
SSEContext?: string;
339346
}
340347

341348
// 所有接口的入参和出参
@@ -1620,8 +1627,6 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
16201627
Body: UploadBody;
16211628
/** 要上传分片内容大小 */
16221629
ContentLength?: number;
1623-
/** 服务端加密算法 */
1624-
ServerSideEncryption?: string;
16251630
}
16261631
/** multipartUpload 接口返回值 */
16271632
interface MultipartUploadResult extends GeneralResult {

0 commit comments

Comments
 (0)