/** * 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 { StabilityLevelTag } from '../models/stabilityLevelTag.js'; import { BaseController } from './baseController.js'; export declare class V2SdkGenerationController extends BaseController { /** * Create an async V2 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 stability The stability level of the generated SDK. * @param xApiMaticCallbackUrl Optional header containing callback url. This url will be * called by the server once the SDK generation completes * @return Response from the API call */ generateV2SdkViaBuildInputAsync(contentType: ContentType, file: FileWrapper, language: SdkLanguages, stability: StabilityLevelTag, xApiMaticCallbackUrl?: string, requestOptions?: RequestOptions): Promise>; /** * Get the status of a V2 SDK generation request * * @param id * @return Response from the API call */ getV2SdkGenerationStatus(id: string, requestOptions?: RequestOptions): Promise>; /** * Downloads the V2 SDK artifacts. The endpoint returns a zip file containing the generated SDK. * * @param id * @return Response from the API call */ downloadGeneratedV2Sdk(id: string, requestOptions?: RequestOptions): Promise>; } //# sourceMappingURL=v2SdkGenerationController.d.ts.map