@xmobitea/gn-typescript-client
Version:
GearN Typescript Client SDK by XmobiTea (Pro)
55 lines (54 loc) • 11.8 kB
TypeScript
import { Action1 } from "./common/Action1";
import { GNHashtable } from "./common/GNData";
import { ContentModels } from "./entity/models/ContentModels";
import { ContentResponseModels } from "./entity/models/ContentResponseModels";
export declare class ContentApi {
server: ServerContentApi;
admin: AdminContentApi;
createNewFileUploadInfo(requestData: ContentModels.CreateNewFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.CreateNewFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
createNewFileUploadInfoAsync(requestData: ContentModels.CreateNewFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.CreateNewFileUploadInfoOperationResponse>;
getContentData(requestData: ContentModels.GetContentDataRequestData, onResponse?: Action1<ContentResponseModels.GetContentDataOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
getContentDataAsync(requestData: ContentModels.GetContentDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.GetContentDataOperationResponse>;
getFileUploadInfoList(requestData: ContentModels.GetFileUploadInfoListRequestData, onResponse?: Action1<ContentResponseModels.GetFileUploadInfoListOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
getFileUploadInfoListAsync(requestData: ContentModels.GetFileUploadInfoListRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.GetFileUploadInfoListOperationResponse>;
getFileUploadInfo(requestData: ContentModels.GetFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.GetFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
getFileUploadInfoAsync(requestData: ContentModels.GetFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.GetFileUploadInfoOperationResponse>;
removeFileUploadInfo(requestData: ContentModels.RemoveFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.RemoveFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
removeFileUploadInfoAsync(requestData: ContentModels.RemoveFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.RemoveFileUploadInfoOperationResponse>;
requestDownloadFileUploadInfo(requestData: ContentModels.RequestDownloadFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.RequestDownloadFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
requestDownloadFileUploadInfoAsync(requestData: ContentModels.RequestDownloadFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.RequestDownloadFileUploadInfoOperationResponse>;
setContentData(requestData: ContentModels.SetContentDataRequestData, onResponse?: Action1<ContentResponseModels.SetContentDataOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
setContentDataAsync(requestData: ContentModels.SetContentDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.SetContentDataOperationResponse>;
}
export declare class ServerContentApi {
createNewFileUploadInfo(requestData: ContentModels.ServerCreateNewFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.CreateNewFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
createNewFileUploadInfoAsync(requestData: ContentModels.ServerCreateNewFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.CreateNewFileUploadInfoOperationResponse>;
getContentData(requestData: ContentModels.ServerGetContentDataRequestData, onResponse?: Action1<ContentResponseModels.GetContentDataOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
getContentDataAsync(requestData: ContentModels.ServerGetContentDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.GetContentDataOperationResponse>;
getFileUploadInfoList(requestData: ContentModels.ServerGetFileUploadInfoListRequestData, onResponse?: Action1<ContentResponseModels.GetFileUploadInfoListOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
getFileUploadInfoListAsync(requestData: ContentModels.ServerGetFileUploadInfoListRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.GetFileUploadInfoListOperationResponse>;
getFileUploadInfo(requestData: ContentModels.ServerGetFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.GetFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
getFileUploadInfoAsync(requestData: ContentModels.ServerGetFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.GetFileUploadInfoOperationResponse>;
removeFileUploadInfo(requestData: ContentModels.ServerRemoveFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.RemoveFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
removeFileUploadInfoAsync(requestData: ContentModels.ServerRemoveFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.RemoveFileUploadInfoOperationResponse>;
requestDownloadFileUploadInfo(requestData: ContentModels.ServerRequestDownloadFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.RequestDownloadFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
requestDownloadFileUploadInfoAsync(requestData: ContentModels.ServerRequestDownloadFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.RequestDownloadFileUploadInfoOperationResponse>;
setContentData(requestData: ContentModels.ServerSetContentDataRequestData, onResponse?: Action1<ContentResponseModels.SetContentDataOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
setContentDataAsync(requestData: ContentModels.ServerSetContentDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.SetContentDataOperationResponse>;
}
export declare class AdminContentApi {
createNewFileUploadInfo(requestData: ContentModels.AdminCreateNewFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.CreateNewFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
createNewFileUploadInfoAsync(requestData: ContentModels.AdminCreateNewFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.CreateNewFileUploadInfoOperationResponse>;
getContentData(requestData: ContentModels.AdminGetContentDataRequestData, onResponse?: Action1<ContentResponseModels.GetContentDataOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
getContentDataAsync(requestData: ContentModels.AdminGetContentDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.GetContentDataOperationResponse>;
getFileUploadInfoList(requestData: ContentModels.AdminGetFileUploadInfoListRequestData, onResponse?: Action1<ContentResponseModels.GetFileUploadInfoListOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
getFileUploadInfoListAsync(requestData: ContentModels.AdminGetFileUploadInfoListRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.GetFileUploadInfoListOperationResponse>;
getFileUploadInfo(requestData: ContentModels.AdminGetFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.GetFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
getFileUploadInfoAsync(requestData: ContentModels.AdminGetFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.GetFileUploadInfoOperationResponse>;
removeFileUploadInfo(requestData: ContentModels.AdminRemoveFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.RemoveFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
removeFileUploadInfoAsync(requestData: ContentModels.AdminRemoveFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.RemoveFileUploadInfoOperationResponse>;
requestDownloadFileUploadInfo(requestData: ContentModels.AdminRequestDownloadFileUploadInfoRequestData, onResponse?: Action1<ContentResponseModels.RequestDownloadFileUploadInfoOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
requestDownloadFileUploadInfoAsync(requestData: ContentModels.AdminRequestDownloadFileUploadInfoRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.RequestDownloadFileUploadInfoOperationResponse>;
setContentData(requestData: ContentModels.AdminSetContentDataRequestData, onResponse?: Action1<ContentResponseModels.SetContentDataOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
setContentDataAsync(requestData: ContentModels.AdminSetContentDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<ContentResponseModels.SetContentDataOperationResponse>;
}