import { type DirectoryObject } from '@microsoft/msgraph-sdk/models/index.js'; import { type CheckMemberGroupsRequestBuilder } from './checkMemberGroups/index.js'; import { type CheckMemberObjectsRequestBuilder } from './checkMemberObjects/index.js'; import { type GetMemberGroupsRequestBuilder } from './getMemberGroups/index.js'; import { type GetMemberObjectsRequestBuilder } from './getMemberObjects/index.js'; import { type GraphAdministrativeUnitRequestBuilder } from './graphAdministrativeUnit/index.js'; import { type GraphApplicationRequestBuilder } from './graphApplication/index.js'; import { type GraphDeviceRequestBuilder } from './graphDevice/index.js'; import { type GraphGroupRequestBuilder } from './graphGroup/index.js'; import { type GraphServicePrincipalRequestBuilder } from './graphServicePrincipal/index.js'; import { type GraphUserRequestBuilder } from './graphUser/index.js'; import { type RestoreRequestBuilder } from './restore/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the deletedItems property of the microsoft.graph.directory entity. */ export interface DirectoryObjectItemRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the checkMemberGroups method. */ get checkMemberGroups(): CheckMemberGroupsRequestBuilder; /** * Provides operations to call the checkMemberObjects method. */ get checkMemberObjects(): CheckMemberObjectsRequestBuilder; /** * Provides operations to call the getMemberGroups method. */ get getMemberGroups(): GetMemberGroupsRequestBuilder; /** * Provides operations to call the getMemberObjects method. */ get getMemberObjects(): GetMemberObjectsRequestBuilder; /** * Casts the previous resource to administrativeUnit. */ get graphAdministrativeUnit(): GraphAdministrativeUnitRequestBuilder; /** * Casts the previous resource to application. */ get graphApplication(): GraphApplicationRequestBuilder; /** * Casts the previous resource to device. */ get graphDevice(): GraphDeviceRequestBuilder; /** * Casts the previous resource to group. */ get graphGroup(): GraphGroupRequestBuilder; /** * Casts the previous resource to servicePrincipal. */ get graphServicePrincipal(): GraphServicePrincipalRequestBuilder; /** * Casts the previous resource to user. */ get graphUser(): GraphUserRequestBuilder; /** * Provides operations to call the restore method. */ get restore(): RestoreRequestBuilder; /** * Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. * @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/directory-deleteditems-delete?view=graph-rest-1.0|Find more info here} */ delete(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @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/directory-deleteditems-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user */ export interface DirectoryObjectItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/directory/deletedItems/{directoryObject%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const DirectoryObjectItemRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const DirectoryObjectItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map