import { type GovernanceRequest } from '@microsoft/msgraph-sdk/models/index.js'; import { type GovernancePolicyTemplateRequestBuilder } from './governancePolicyTemplate/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernance entity. */ export interface GovernanceRequestItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the governancePolicyTemplate property of the microsoft.graph.governanceRequest entity. */ get governancePolicyTemplate(): GovernancePolicyTemplateRequestBuilder; /** * Delete navigation property governanceRequests for directory * @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 | undefined): Promise; /** * Read the properties of a governanceRequest object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancerequest-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Update the status property of a governanceRequest to accept or reject the governance request. Only the governed tenant can update the request status. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancerequest-update?view=graph-rest-1.0|Find more info here} */ patch(body: GovernanceRequest, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Delete navigation property governanceRequests for directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Read the properties of a governanceRequest object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Update the status property of a governanceRequest to accept or reject the governance request. Only the governed tenant can update the request status. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: GovernanceRequest, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Read the properties of a governanceRequest object. */ export interface GovernanceRequestItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const GovernanceRequestItemRequestBuilderUriTemplate = "{+baseurl}/directory/tenantGovernance/governanceRequests/{governanceRequest%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const GovernanceRequestItemRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const GovernanceRequestItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map