import { type AdministrativeUnit } from '@microsoft/msgraph-sdk/models/index.js'; import { type ExtensionsRequestBuilder } from './extensions/index.js'; import { type MembersRequestBuilder } from './members/index.js'; import { type ScopedRoleMembersRequestBuilder } from './scopedRoleMembers/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the administrativeUnits property of the microsoft.graph.directory entity. */ export interface AdministrativeUnitItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to manage the extensions property of the microsoft.graph.administrativeUnit entity. */ get extensions(): ExtensionsRequestBuilder; /** * Provides operations to manage the members property of the microsoft.graph.administrativeUnit entity. */ get members(): MembersRequestBuilder; /** * Provides operations to manage the scopedRoleMembers property of the microsoft.graph.administrativeUnit entity. */ get scopedRoleMembers(): ScopedRoleMembersRequestBuilder; /** * Delete an administrativeUnit. * @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 * @see {@link https://learn.microsoft.com/graph/api/administrativeunit-delete?view=graph-rest-1.0|Find more info here} */ delete(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Retrieve the properties and relationships of an administrativeUnit object. The administrativeUnit resource supports extensions, which also allows you to use the GET operation to get custom properties and extension data in an administrativeUnit instance. * @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/administrativeunit-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Update the properties of an administrativeUnit object. * @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/administrativeunit-update?view=graph-rest-1.0|Find more info here} */ patch(body: AdministrativeUnit, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Delete an administrativeUnit. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Retrieve the properties and relationships of an administrativeUnit object. The administrativeUnit resource supports extensions, which also allows you to use the GET operation to get custom properties and extension data in an administrativeUnit instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Update the properties of an administrativeUnit object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: AdministrativeUnit, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Retrieve the properties and relationships of an administrativeUnit object. The administrativeUnit resource supports extensions, which also allows you to use the GET operation to get custom properties and extension data in an administrativeUnit instance. */ export interface AdministrativeUnitItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const AdministrativeUnitItemRequestBuilderUriTemplate = "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const AdministrativeUnitItemRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const AdministrativeUnitItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map