UNPKG

@microsoft/msgraph-beta-sdk-security

Version:
69 lines 3.83 kB
import { type CustomerInsight } from '@microsoft/msgraph-beta-sdk/models/partner/security/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the customerInsights property of the microsoft.graph.partner.security.partnerSecurityScore entity. */ export interface CustomerInsightTenantItemRequestBuilder extends BaseRequestBuilder<CustomerInsightTenantItemRequestBuilder> { /** * Delete navigation property customerInsights for security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Contains customer-specific information for certain requirements. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CustomerInsight>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<CustomerInsightTenantItemRequestBuilderGetQueryParameters> | undefined): Promise<CustomerInsight | undefined>; /** * Update the navigation property customerInsights in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CustomerInsight>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: CustomerInsight, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CustomerInsight | undefined>; /** * Delete navigation property customerInsights for security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Contains customer-specific information for certain requirements. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CustomerInsightTenantItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property customerInsights in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: CustomerInsight, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Contains customer-specific information for certain requirements. */ export interface CustomerInsightTenantItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const CustomerInsightTenantItemRequestBuilderUriTemplate = "{+baseurl}/security/partner/securityScore/customerInsights/{customerInsight%2DtenantId}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const CustomerInsightTenantItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map