/** * Sonatype Lifecycle Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.207.0-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; export interface SPDXApiGetByScanId1Request { applicationId: string; scanId: string; format?: string; generateCycloneDx?: boolean; spdxVersion?: string; } export interface SPDXApiGetLatestForStage1Request { applicationId: string; stageId: string; format?: string; generateCycloneDx?: boolean; spdxVersion?: string; } /** * SPDXApi - interface * * @export * @interface SPDXApiInterface */ export interface SPDXApiInterface { /** * Use this method to generate SBOM(s) based on a specific application scan. Permissions required: View IQ Elemets * @param {string} applicationId Enter the applicationId for the application you want to generate the SBOM(s). * @param {string} scanId Enter the scanId of the application scan. * @param {string} [format] Enter the format for the SBOM(s) to be generated. * @param {boolean} [generateCycloneDx] Set to `true` to generate an equivalent CycloneDx SBOM. Both SBOMs will be combined as a tar.gz archive. * @param {string} [spdxVersion] Enter the desired SPDX version, possible values are 2.2|2.3|3.0 (3.0 only supports JSON format) * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SPDXApiInterface */ getByScanId1Raw(requestParameters: SPDXApiGetByScanId1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate SBOM(s) based on a specific application scan. Permissions required: View IQ Elemets */ getByScanId1(requestParameters: SPDXApiGetByScanId1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to generate SBOM(s) based on the latest application evaluation report at the specified stage. Permissions required: View IQ Elements * @param {string} applicationId Enter the applicationId for the application you want to generate the SBOM(s). * @param {string} stageId Specify the stageId for the application evaluation. Allowed values are `develop`, `build`, `stage-release`, `release` and `operate`. * @param {string} [format] Enter the format for the SBOM(s) to be generated. * @param {boolean} [generateCycloneDx] Set to `true` to generate an equivalent CycloneDx SBOM. Both SBOMs will be combined as a tar.gz archive. * @param {string} [spdxVersion] Enter the desired SPDX version, possible values are 2.2|2.3|3.0 (3.0 only supports JSON format) * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SPDXApiInterface */ getLatestForStage1Raw(requestParameters: SPDXApiGetLatestForStage1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate SBOM(s) based on the latest application evaluation report at the specified stage. Permissions required: View IQ Elements */ getLatestForStage1(requestParameters: SPDXApiGetLatestForStage1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * */ export declare class SPDXApi extends runtime.BaseAPI implements SPDXApiInterface { /** * Use this method to generate SBOM(s) based on a specific application scan. Permissions required: View IQ Elemets */ getByScanId1Raw(requestParameters: SPDXApiGetByScanId1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate SBOM(s) based on a specific application scan. Permissions required: View IQ Elemets */ getByScanId1(requestParameters: SPDXApiGetByScanId1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to generate SBOM(s) based on the latest application evaluation report at the specified stage. Permissions required: View IQ Elements */ getLatestForStage1Raw(requestParameters: SPDXApiGetLatestForStage1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate SBOM(s) based on the latest application evaluation report at the specified stage. Permissions required: View IQ Elements */ getLatestForStage1(requestParameters: SPDXApiGetLatestForStage1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }