/** * 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'; import type { ApiLicenseLegalApplicationReportDTO, ApiLicenseLegalComponentReportDTO, ComponentIdentifier } from '../models/index'; export interface LicenseLegalMetadataReportApiGetLicenseLegalApplicationHTMLReportRequest { applicationId: string; stageId: string; } export interface LicenseLegalMetadataReportApiGetLicenseLegalApplicationReportRequest { applicationId: string; } export interface LicenseLegalMetadataReportApiGetLicenseLegalApplicationReport1Request { applicationId: string; stageId: string; } export interface LicenseLegalMetadataReportApiGetLicenseLegalComponentReportRequest { ownerType: GetLicenseLegalComponentReportOwnerTypeEnum; ownerId: string; componentIdentifier?: ComponentIdentifier; packageUrl?: string; hash?: string; identificationSource?: string; scanId?: string; } export interface LicenseLegalMetadataReportApiGetLicenseLegalCustomApplicationHTMLReportRequest { applicationId: string; stageId: string; } export interface LicenseLegalMetadataReportApiGetLicenseLegalCustomApplicationHTMLReport1Request { applicationId: string; stageId: string; templateId: string; } export interface LicenseLegalMetadataReportApiGetLicenseLegalCustomMultiApplicationHTMLReport1Request { templateId: string; } export interface LicenseLegalMetadataReportApiGetLicenseLegalMultiApplicationReportFromActiveUserFilterRequest { templateId: string; } /** * LicenseLegalMetadataReportApi - interface * * @export * @interface LicenseLegalMetadataReportApiInterface */ export interface LicenseLegalMetadataReportApiInterface { /** * Use this method to retrieve the license legal data for components in an application at a specific stage, in HTML format. Permissions required: Review Legal Obligations For Components Licenses * @param {string} applicationId Enter the application id or public id. * @param {string} stageId Enter the stageId. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseLegalMetadataReportApiInterface */ getLicenseLegalApplicationHTMLReportRaw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationHTMLReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to retrieve the license legal data for components in an application at a specific stage, in HTML format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalApplicationHTMLReport(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationHTMLReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this REST API to retrieve the raw license legal data for components in an application. Permissions required: Review Legal Obligations For Components Licenses * @param {string} applicationId Enter the application id or public id. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseLegalMetadataReportApiInterface */ getLicenseLegalApplicationReportRaw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this REST API to retrieve the raw license legal data for components in an application. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalApplicationReport(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to retrieve the raw license legal data for components in an application based on the application scan at a specific stage. Permissions required: Review Legal Obligations For Components Licenses * @param {string} applicationId Enter the application id or public id. * @param {string} stageId Enter the stageId. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseLegalMetadataReportApiInterface */ getLicenseLegalApplicationReport1Raw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to retrieve the raw license legal data for components in an application based on the application scan at a specific stage. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalApplicationReport1(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to retrieve the raw license legal data for a component by specifying the component identifier or package URL or the component hash. Permissions required: Review Legal Obligations For Components Licenses * @param {'application' | 'organization'} ownerType Enter the ownerType * @param {string} ownerId Enter the ownerId corresponding to the ownerType. * @param {ComponentIdentifier} [componentIdentifier] Enter the componentIdentifier consisting of format and coordinates. * @param {string} [packageUrl] Enter the package URL. * @param {string} [hash] Enter the component hash. * @param {string} [identificationSource] Enter the identification source if a third party scan is used. * @param {string} [scanId] Enter the scanId for the report where the component was identified (required if identified by third party scan). * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseLegalMetadataReportApiInterface */ getLicenseLegalComponentReportRaw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalComponentReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to retrieve the raw license legal data for a component by specifying the component identifier or package URL or the component hash. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalComponentReport(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalComponentReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to retrieve and customize the license legal data for components in an application at a specific stage, in HTML format. Permissions required: Review Legal Obligations For Components Licenses * @param {string} applicationId Enter the application id or public id. * @param {string} stageId Enter the stageId. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseLegalMetadataReportApiInterface */ getLicenseLegalCustomApplicationHTMLReportRaw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomApplicationHTMLReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to retrieve and customize the license legal data for components in an application at a specific stage, in HTML format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalCustomApplicationHTMLReport(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomApplicationHTMLReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to generate a license legal report in the specified HTML template format. Permissions required: Review Legal Obligations For Components Licenses * @param {string} applicationId Enter the application id or public id. * @param {string} stageId Enter the stageId. * @param {string} templateId Enter the templateId for the HTML report format. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseLegalMetadataReportApiInterface */ getLicenseLegalCustomApplicationHTMLReport1Raw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomApplicationHTMLReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate a license legal report in the specified HTML template format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalCustomApplicationHTMLReport1(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomApplicationHTMLReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to generate license legal data for all applications in HTML format based on the given template. Permissions required: Review Legal Obligations For Components Licenses * @param {string} templateId Enter the `templateId` for the HTML report. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseLegalMetadataReportApiInterface */ getLicenseLegalCustomMultiApplicationHTMLReport1Raw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomMultiApplicationHTMLReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate license legal data for all applications in HTML format based on the given template. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalCustomMultiApplicationHTMLReport1(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomMultiApplicationHTMLReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to generate license legal data in HTML format. Permissions required: Review Legal Obligations For Components Licenses * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseLegalMetadataReportApiInterface */ getLicenseLegalMultiApplicationHTMLReportRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate license legal data in HTML format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalMultiApplicationHTMLReport(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to generate license legal data in HTML format for applications ,on which the logged in user has permissions. Permission required: Review Legal Obligations For Components Licenses * @param {string} templateId Enter the templateId for the license legal data. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseLegalMetadataReportApiInterface */ getLicenseLegalMultiApplicationReportFromActiveUserFilterRaw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalMultiApplicationReportFromActiveUserFilterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate license legal data in HTML format for applications ,on which the logged in user has permissions. Permission required: Review Legal Obligations For Components Licenses */ getLicenseLegalMultiApplicationReportFromActiveUserFilter(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalMultiApplicationReportFromActiveUserFilterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * */ export declare class LicenseLegalMetadataReportApi extends runtime.BaseAPI implements LicenseLegalMetadataReportApiInterface { /** * Use this method to retrieve the license legal data for components in an application at a specific stage, in HTML format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalApplicationHTMLReportRaw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationHTMLReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to retrieve the license legal data for components in an application at a specific stage, in HTML format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalApplicationHTMLReport(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationHTMLReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this REST API to retrieve the raw license legal data for components in an application. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalApplicationReportRaw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this REST API to retrieve the raw license legal data for components in an application. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalApplicationReport(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to retrieve the raw license legal data for components in an application based on the application scan at a specific stage. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalApplicationReport1Raw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to retrieve the raw license legal data for components in an application based on the application scan at a specific stage. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalApplicationReport1(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalApplicationReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to retrieve the raw license legal data for a component by specifying the component identifier or package URL or the component hash. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalComponentReportRaw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalComponentReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to retrieve the raw license legal data for a component by specifying the component identifier or package URL or the component hash. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalComponentReport(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalComponentReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to retrieve and customize the license legal data for components in an application at a specific stage, in HTML format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalCustomApplicationHTMLReportRaw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomApplicationHTMLReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to retrieve and customize the license legal data for components in an application at a specific stage, in HTML format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalCustomApplicationHTMLReport(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomApplicationHTMLReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to generate a license legal report in the specified HTML template format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalCustomApplicationHTMLReport1Raw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomApplicationHTMLReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate a license legal report in the specified HTML template format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalCustomApplicationHTMLReport1(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomApplicationHTMLReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to generate license legal data for all applications in HTML format based on the given template. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalCustomMultiApplicationHTMLReport1Raw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomMultiApplicationHTMLReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate license legal data for all applications in HTML format based on the given template. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalCustomMultiApplicationHTMLReport1(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalCustomMultiApplicationHTMLReport1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to generate license legal data in HTML format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalMultiApplicationHTMLReportRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate license legal data in HTML format. Permissions required: Review Legal Obligations For Components Licenses */ getLicenseLegalMultiApplicationHTMLReport(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to generate license legal data in HTML format for applications ,on which the logged in user has permissions. Permission required: Review Legal Obligations For Components Licenses */ getLicenseLegalMultiApplicationReportFromActiveUserFilterRaw(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalMultiApplicationReportFromActiveUserFilterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to generate license legal data in HTML format for applications ,on which the logged in user has permissions. Permission required: Review Legal Obligations For Components Licenses */ getLicenseLegalMultiApplicationReportFromActiveUserFilter(requestParameters: LicenseLegalMetadataReportApiGetLicenseLegalMultiApplicationReportFromActiveUserFilterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * @export */ export declare const GetLicenseLegalComponentReportOwnerTypeEnum: { readonly Application: "application"; readonly Organization: "organization"; }; export type GetLicenseLegalComponentReportOwnerTypeEnum = typeof GetLicenseLegalComponentReportOwnerTypeEnum[keyof typeof GetLicenseLegalComponentReportOwnerTypeEnum];