@shi-corp/sdk-data-gateway
Version:
SDK client used to interface with the SHI Data Gateway service.
39 lines (38 loc) • 2.33 kB
TypeScript
import { type LicenseReport } from '../../models/index.js';
import { type CorrelationRequestBuilder } from './correlation/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Builds and executes requests for operations under /Api/LicenseReport
*/
export interface LicenseReportRequestBuilder extends BaseRequestBuilder<LicenseReportRequestBuilder> {
/**
* The Correlation property
*/
get correlation(): CorrelationRequestBuilder;
/**
* Store the results of a license analytics run.This endpoint requires the `LicenseReport.ReadWrite`, or `LicenseReport.ReadWrite.All` scope (permission).
* @param body Completely calculated license report structure that is the result of a complete run.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<LicenseReport>}
*/
post(body: LicenseReport, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LicenseReport | undefined>;
/**
* Store the results of a license analytics run.This endpoint requires the `LicenseReport.ReadWrite`, or `LicenseReport.ReadWrite.All` scope (permission).
* @param body Completely calculated license report structure that is the result of a complete run.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(body: LicenseReport, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Uri template for the request builder.
*/
export declare const LicenseReportRequestBuilderUriTemplate = "{+baseurl}/Api/LicenseReport";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const LicenseReportRequestBuilderNavigationMetadata: Record<Exclude<keyof LicenseReportRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const LicenseReportRequestBuilderRequestsMetadata: RequestsMetadata;