import { type TenantGovernanceSetting } from '@microsoft/msgraph-sdk/models/index.js'; import { type EnableRelatedTenantsRequestBuilder } from './enableRelatedTenants/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the settings property of the microsoft.graph.tenantGovernance entity. */ export interface SettingsRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the enableRelatedTenants method. */ get enableRelatedTenants(): EnableRelatedTenantsRequestBuilder; /** * Delete navigation property settings 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 the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. * @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-tenantgovernancesetting-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Update the canReceiveInvitations property of the tenantGovernanceSetting singleton. This property controls whether the tenant can receive governance invitations. * @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-tenantgovernancesetting-update?view=graph-rest-1.0|Find more info here} */ patch(body: TenantGovernanceSetting, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Delete navigation property settings 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 the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Update the canReceiveInvitations property of the tenantGovernanceSetting singleton. This property controls whether the tenant can receive governance invitations. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: TenantGovernanceSetting, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Read the properties of the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. */ export interface SettingsRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const SettingsRequestBuilderUriTemplate = "{+baseurl}/directory/tenantGovernance/settings{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const SettingsRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const SettingsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map