/** * Apimatic APILib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { ApiResponse, FileWrapper, RequestOptions } from '../core.js'; import { ContentType } from '../models/contentType.js'; import { SdkGenerationAsyncResponse } from '../models/sdkGenerationAsyncResponse.js'; import { SdkGenerationStatusResponse } from '../models/sdkGenerationStatusResponse.js'; import { SdkLanguages } from '../models/sdkLanguages.js'; import { BaseController } from './baseController.js'; export declare class SdkGenerationAsyncController extends BaseController { /** * Create an async SDK Generation request by providing a Build Input * * @param contentType * @param file The input file to the SDK Generator. Must contain the build file or * a spec folder containing the API Specification. * @param language Languages for which SDKs can be generated. * @param xApiMaticCallbackUrl Optional header containing callback url. This url will be called by * the server once the SDK generation completes * @param packageVersion Optional field containing the package version to apply to the * generated SDK. * @return Response from the API call */ generateSdkViaBuildInputAsync(contentType: ContentType, file: FileWrapper, language: SdkLanguages, xApiMaticCallbackUrl?: string, packageVersion?: string, requestOptions?: RequestOptions): Promise>; /** * Get the status of an SDK generation request * * @param id * @return Response from the API call */ getSdkGenerationStatus(id: string, requestOptions?: RequestOptions): Promise>; /** * Downloads the SDK artifacts. The endpoint returns a zip file containing the generated SDK. * * @param id * @return Response from the API call */ downloadGeneratedSdk(id: string, requestOptions?: RequestOptions): Promise>; } //# sourceMappingURL=sdkGenerationAsyncController.d.ts.map