Skip to content

Commit e183ccf

Browse files
committed
upd d.ts
1 parent 7a0ed53 commit e183ccf

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

index.d.ts

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,37 +1887,6 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
18871887
Url: string
18881888
}
18891889

1890-
1891-
/******** 媒体处理相关 ********/
1892-
/** 查询已经开通数据万象功能的存储桶 */
1893-
interface DescribeMediaBucketsParams extends BucketParams {
1894-
PageNumber?: string;
1895-
PageSize?: string;
1896-
Regions?: string;
1897-
BucketNames?: string;
1898-
BucketName?: string;
1899-
}
1900-
1901-
interface DescribeMediaBucketsResult extends GeneralResult {
1902-
CIStatus: boolean;
1903-
}
1904-
1905-
/** 获取媒体文件信息 */
1906-
interface GetMediaInfoResult extends GeneralResult {
1907-
Response: any;
1908-
}
1909-
1910-
/** 获取媒体文件某个时间的截图 */
1911-
interface GetSnapshotParams extends ObjectParams {
1912-
Time?: number;
1913-
Width?: number;
1914-
Height?: number;
1915-
format?: string;
1916-
rotate?: string;
1917-
mode?: string;
1918-
}
1919-
1920-
19211890
// getV4Auth
19221891
interface GetV4AuthParams {
19231892
/** 计算签名用的密钥 SecretId,如果不传会用实例本身的凭证,可选 */
@@ -2306,20 +2275,6 @@ declare class COS {
23062275
appendObject(params: COS.AppendObjectParams, callback: (err: COS.CosError, data: COS.GeneralResult) => void): void;
23072276
appendObject(params: COS.AppendObjectParams): Promise<COS.GeneralResult>;
23082277

2309-
/*********** 媒体处理相关 start *******/
2310-
/** 查询已经开通数据万象功能的存储桶 */
2311-
describeMediaBuckets(params: COS.DescribeMediaBucketsParams, callback: (err: COS.CosError, data: COS.DescribeMediaBucketsResult) => void): void;
2312-
describeMediaBuckets(params: COS.DescribeMediaBucketsParams): Promise<COS.DescribeMediaBucketsResult>;
2313-
2314-
/** 获取媒体文件信息 */
2315-
getMediaInfo(params: COS.ObjectParams, callback: (err: COS.CosError, data: COS.GetMediaInfoResult) => void): void;
2316-
getMediaInfo(params: COS.ObjectParams): Promise<COS.GetMediaInfoResult>;
2317-
2318-
/** 获取媒体文件某个时间的截图 */
2319-
getSnapshot(params: COS.GetSnapshotParams, callback: (err: COS.CosError, data: COS.RequestResult) => void): void;
2320-
getSnapshot(params: COS.GetSnapshotParams): Promise<COS.RequestResult>;
2321-
/*********** 媒体处理相关 end *******/
2322-
23232278
/** 获取 COS JSON API (v4) 签名 @see https://cloud.tencent.com/document/product/436/6054 */
23242279
getV4Auth(params: COS.GetV4AuthParams): COS.Authorization;
23252280

0 commit comments

Comments
 (0)