@microsoft/msgraph-beta-sdk-directory
Version:
Directory fluent API for Microsoft Graph
30 lines • 1.7 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 complete method.
*/
export interface CompleteRequestBuilder extends BaseRequestBuilder<CompleteRequestBuilder> {
/**
* Complete a recommendation object and update its status to completedByUser.
* @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-complete?view=graph-rest-beta|Find more info here}
*/
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Recommendation | undefined>;
/**
* Complete a recommendation object and update its status to completedByUser.
* @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 CompleteRequestBuilderUriTemplate = "{+baseurl}/directory/recommendations/{recommendation%2Did}/complete";
/**
* Metadata for all the requests in the request builder.
*/
export declare const CompleteRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map