onesky-api-wrapper
Version:
A fully typed wrapper for the OneSky API.
23 lines (22 loc) • 817 B
TypeScript
import { OneSkyConfig } from '../../http/index.js';
import { AppStoreDescriptionResponse, ExportFilesParams, ExportMultilingiualParams, GetStatusParams, GetStatusResponse } from './translation.model.js';
export declare class TranslationApi {
private _http;
constructor(config: OneSkyConfig);
export(options: {
projectId: string;
params: ExportFilesParams;
}): Promise<File>;
exportMultilingual(options: {
projectId: string;
params: ExportMultilingiualParams;
}): Promise<File>;
exportAppStoreDescription(options: {
projectId: string;
locale: string;
}): Promise<AppStoreDescriptionResponse>;
getStatus(options: {
projectId: string;
params: GetStatusParams;
}): Promise<GetStatusResponse>;
}