import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http'; import { Observable } from 'rxjs'; import { HypotheticalLicenseDetails } from '../model/models'; import { License } from '../model/models'; import { ListLicenseDetailsResponse } from '../model/models'; import { ListLicenseEvaluationContextsResponse } from '../model/models'; import { ListLicensesResponse } from '../model/models'; import { ListProductTableVersionsResponse } from '../model/models'; import { ProductTableVersion } from '../model/models'; import { Configuration } from '../configuration'; import { LicensingServiceInterface, CreateHypotheticalLicenseDetailsQueryRequestParams, CreateLicenseRequestParams, CreateProductTableVersionRequestParams, DeleteLicenseRequestParams, DeleteProductTableVersionRequestParams, GetLicenseRequestParams, GetProductTableVersionRequestParams, ListLicenseDetailsRequestParams, ListLicenseEvaluationContextsRequestParams, ListLicensesRequestParams, ListProductTableVersionsRequestParams, ReplaceLicenseRequestParams, ReplaceProductTableVersionRequestParams } from './licensing.serviceInterface'; import * as i0 from "@angular/core"; export declare class LicensingService implements LicensingServiceInterface { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private getAuth; private addToHttpParams; private addToHttpParamsRecursive; /** * Query a hypothetical set of license details * Get all per-org license details matching the query. This will return the actual constraints available to an organisation, taking into account their product, the hypothetical version of the product table, and any overrides applied to their organisation. Multiple organisations\' constraints may be returned at a time. * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ createHypotheticalLicenseDetailsQuery(requestParameters: CreateHypotheticalLicenseDetailsQueryRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; createHypotheticalLicenseDetailsQuery(requestParameters: CreateHypotheticalLicenseDetailsQueryRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; createHypotheticalLicenseDetailsQuery(requestParameters: CreateHypotheticalLicenseDetailsQueryRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Create a license * Create a license * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ createLicense(requestParameters: CreateLicenseRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; createLicense(requestParameters: CreateLicenseRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; createLicense(requestParameters: CreateLicenseRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Create a product table version * Create a product table version * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ createProductTableVersion(requestParameters: CreateProductTableVersionRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; createProductTableVersion(requestParameters: CreateProductTableVersionRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; createProductTableVersion(requestParameters: CreateProductTableVersionRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Delete a license * Delete a license * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ deleteLicense(requestParameters: DeleteLicenseRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; deleteLicense(requestParameters: DeleteLicenseRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; deleteLicense(requestParameters: DeleteLicenseRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Delete a product table version * Delete a product table version * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ deleteProductTableVersion(requestParameters: DeleteProductTableVersionRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; deleteProductTableVersion(requestParameters: DeleteProductTableVersionRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; deleteProductTableVersion(requestParameters: DeleteProductTableVersionRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Get a single license * Get a single license * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getLicense(requestParameters: GetLicenseRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; getLicense(requestParameters: GetLicenseRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; getLicense(requestParameters: GetLicenseRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Get a single product table version * Get a single product table version * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getProductTableVersion(requestParameters: GetProductTableVersionRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; getProductTableVersion(requestParameters: GetProductTableVersionRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; getProductTableVersion(requestParameters: GetProductTableVersionRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Get all license details * Get all per-org license details matching the query. This will return the actual constraints available to an organisation, taking into account their product, version of the product table, and any overrides applied to their organisation. Multiple organisations\' constraints may be returned at a time, and paged through using page_at_id. * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ listLicenseDetails(requestParameters: ListLicenseDetailsRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; listLicenseDetails(requestParameters: ListLicenseDetailsRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; listLicenseDetails(requestParameters: ListLicenseDetailsRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Get license evaluation context * Get all per-org license evaluation input matching the query. This will return the context dictionary to pass into the evaluation of a license. Multiple organisations\' input may be returned at a time, and paged through using page_at_id. * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ listLicenseEvaluationContexts(requestParameters: ListLicenseEvaluationContextsRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; listLicenseEvaluationContexts(requestParameters: ListLicenseEvaluationContextsRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; listLicenseEvaluationContexts(requestParameters: ListLicenseEvaluationContextsRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Get all licenses * Get all Licenses matching the query * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ listLicenses(requestParameters: ListLicensesRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; listLicenses(requestParameters: ListLicensesRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; listLicenses(requestParameters: ListLicensesRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Get all product table versions * Get all product table versions matching the query * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ listProductTableVersions(requestParameters: ListProductTableVersionsRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; listProductTableVersions(requestParameters: ListProductTableVersionsRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; listProductTableVersions(requestParameters: ListProductTableVersionsRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Create or update a license * Update a license. If subscription_reconcil is set and the product changes, then the system will update the prices in the billing system to align. * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ replaceLicense(requestParameters: ReplaceLicenseRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; replaceLicense(requestParameters: ReplaceLicenseRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; replaceLicense(requestParameters: ReplaceLicenseRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Create or update a product table version * Update a product table version * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ replaceProductTableVersion(requestParameters: ReplaceProductTableVersionRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; replaceProductTableVersion(requestParameters: ReplaceProductTableVersionRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; replaceProductTableVersion(requestParameters: ReplaceProductTableVersionRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }