UNPKG

@microsoft/msgraph-beta-sdk-organization

Version:
93 lines 5.16 kB
import { type OrganizationSettings } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type ContactInsightsRequestBuilder } from './contactInsights/index.js'; import { type ItemInsightsRequestBuilder } from './itemInsights/index.js'; import { type MicrosoftApplicationDataAccessRequestBuilder } from './microsoftApplicationDataAccess/index.js'; import { type PeopleInsightsRequestBuilder } from './peopleInsights/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.organization entity. */ export interface SettingsRequestBuilder extends BaseRequestBuilder<SettingsRequestBuilder> { /** * Provides operations to manage the contactInsights property of the microsoft.graph.organizationSettings entity. */ get contactInsights(): ContactInsightsRequestBuilder; /** * Provides operations to manage the itemInsights property of the microsoft.graph.organizationSettings entity. */ get itemInsights(): ItemInsightsRequestBuilder; /** * Provides operations to manage the microsoftApplicationDataAccess property of the microsoft.graph.organizationSettings entity. */ get microsoftApplicationDataAccess(): MicrosoftApplicationDataAccessRequestBuilder; /** * Provides operations to manage the peopleInsights property of the microsoft.graph.organizationSettings entity. */ get peopleInsights(): PeopleInsightsRequestBuilder; /** * Delete navigation property settings for organization * @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>; /** * Retrieve the properties and relationships of organizationSettings object. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<OrganizationSettings>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<SettingsRequestBuilderGetQueryParameters> | undefined): Promise<OrganizationSettings | undefined>; /** * Update the navigation property settings in organization * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<OrganizationSettings>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: OrganizationSettings, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationSettings | undefined>; /** * Delete navigation property settings for organization * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Retrieve the properties and relationships of organizationSettings object. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SettingsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property settings in organization * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: OrganizationSettings, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Retrieve the properties and relationships of organizationSettings object. Nullable. */ 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}/organization/{organization%2Did}/settings{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const SettingsRequestBuilderNavigationMetadata: Record<Exclude<keyof SettingsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const SettingsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map