UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
69 lines 3.98 kB
import { type ContactMergeSuggestions } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the contactMergeSuggestions property of the microsoft.graph.userSettings entity. */ export interface ContactMergeSuggestionsRequestBuilder extends BaseRequestBuilder<ContactMergeSuggestionsRequestBuilder> { /** * Delete navigation property contactMergeSuggestions for users * @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>; /** * The user's settings for the visibility of merge suggestion for the duplicate contacts in the user's contact list. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ContactMergeSuggestions>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<ContactMergeSuggestionsRequestBuilderGetQueryParameters> | undefined): Promise<ContactMergeSuggestions | undefined>; /** * Update the navigation property contactMergeSuggestions in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ContactMergeSuggestions>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: ContactMergeSuggestions, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ContactMergeSuggestions | undefined>; /** * Delete navigation property contactMergeSuggestions for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * The user's settings for the visibility of merge suggestion for the duplicate contacts in the user's contact list. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ContactMergeSuggestionsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property contactMergeSuggestions in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: ContactMergeSuggestions, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The user's settings for the visibility of merge suggestion for the duplicate contacts in the user's contact list. */ export interface ContactMergeSuggestionsRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ContactMergeSuggestionsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/contactMergeSuggestions{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const ContactMergeSuggestionsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map