oak-external-sdk/es/types/CTYun.d.ts

17 lines
610 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 此处记录ctyun操作权限名称更多操作权限参考下方链接
* https://www.ctyun.cn/document/10306929/10136179
*/
export type Action = '*' | 'PutObject' | 'GetObject' | 'DeleteObject' | 'ListBucket';
export type ReqOptionProps = {
payload: string;
path: string;
host: string;
headers: any;
method: 'DELETE' | 'GET' | 'POST' | 'PUT' | 'HEAD';
queryParameters: Record<string, any>;
service: string;
date: string;
};
export type CTYunZone = 'hazz' | 'lnsy' | 'sccd' | 'xjwlmq' | 'gslz' | 'sdqd' | 'gzgy' | 'hbwh' | 'xzls' | 'ahwh' | 'gdsz' | 'jssz' | 'sh2';