@microsoft/msgraph-beta-sdk-directory
Version:
Directory fluent API for Microsoft Graph
30 lines • 2.04 kB
TypeScript
import { type Recommendation } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to call the reactivate method.
*/
export interface ReactivateRequestBuilder extends BaseRequestBuilder<ReactivateRequestBuilder> {
/**
* Reactivate a completed, dismissed, or postponed recommendation object. This action updates the status of the recommendation to active. This method only works when the status of the recommendation is completedByUser, dismissed, or postponed.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Recommendation>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/recommendation-reactivate?view=graph-rest-beta|Find more info here}
*/
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Recommendation | undefined>;
/**
* Reactivate a completed, dismissed, or postponed recommendation object. This action updates the status of the recommendation to active. This method only works when the status of the recommendation is completedByUser, dismissed, or postponed.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Uri template for the request builder.
*/
export declare const ReactivateRequestBuilderUriTemplate = "{+baseurl}/directory/recommendations/{recommendation%2Did}/reactivate";
/**
* Metadata for all the requests in the request builder.
*/
export declare const ReactivateRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map