UNPKG

@microsoft/msgraph-beta-sdk-directory

Version:
180 lines 10 kB
import { type Directory } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type AdministrativeUnitsRequestBuilder } from './administrativeUnits/index.js'; import { type AttributeSetsRequestBuilder } from './attributeSets/index.js'; import { type AuthenticationMethodDevicesRequestBuilder } from './authenticationMethodDevices/index.js'; import { type CertificateAuthoritiesRequestBuilder } from './certificateAuthorities/index.js'; import { type CustomSecurityAttributeDefinitionsRequestBuilder } from './customSecurityAttributeDefinitions/index.js'; import { type DeletedItemsRequestBuilder } from './deletedItems/index.js'; import { type DeviceLocalCredentialsRequestBuilder } from './deviceLocalCredentials/index.js'; import { type ExternalUserProfilesRequestBuilder } from './externalUserProfiles/index.js'; import { type FeatureRolloutPoliciesRequestBuilder } from './featureRolloutPolicies/index.js'; import { type FederationConfigurationsRequestBuilder } from './federationConfigurations/index.js'; import { type ImpactedResourcesRequestBuilder } from './impactedResources/index.js'; import { type InboundSharedUserProfilesRequestBuilder } from './inboundSharedUserProfiles/index.js'; import { type OnPremisesSynchronizationRequestBuilder } from './onPremisesSynchronization/index.js'; import { type OutboundSharedUserProfilesRequestBuilder } from './outboundSharedUserProfiles/index.js'; import { type PendingExternalUserProfilesRequestBuilder } from './pendingExternalUserProfiles/index.js'; import { type PublicKeyInfrastructureRequestBuilder } from './publicKeyInfrastructure/index.js'; import { type RecommendationConfigurationRequestBuilder } from './recommendationConfiguration/index.js'; import { type RecommendationsRequestBuilder } from './recommendations/index.js'; import { type SharedEmailDomainsRequestBuilder } from './sharedEmailDomains/index.js'; import { type SubscriptionsRequestBuilder } from './subscriptions/index.js'; import { type SubscriptionsWithCommerceSubscriptionIdRequestBuilder } from './subscriptionsWithCommerceSubscriptionId/index.js'; import { type SubscriptionsWithOcpSubscriptionIdRequestBuilder } from './subscriptionsWithOcpSubscriptionId/index.js'; import { type TemplatesRequestBuilder } from './templates/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the directory singleton. */ export interface DirectoryRequestBuilder extends BaseRequestBuilder<DirectoryRequestBuilder> { /** * Provides operations to manage the administrativeUnits property of the microsoft.graph.directory entity. */ get administrativeUnits(): AdministrativeUnitsRequestBuilder; /** * Provides operations to manage the attributeSets property of the microsoft.graph.directory entity. */ get attributeSets(): AttributeSetsRequestBuilder; /** * Provides operations to manage the authenticationMethodDevices property of the microsoft.graph.directory entity. */ get authenticationMethodDevices(): AuthenticationMethodDevicesRequestBuilder; /** * Provides operations to manage the certificateAuthorities property of the microsoft.graph.directory entity. */ get certificateAuthorities(): CertificateAuthoritiesRequestBuilder; /** * Provides operations to manage the customSecurityAttributeDefinitions property of the microsoft.graph.directory entity. */ get customSecurityAttributeDefinitions(): CustomSecurityAttributeDefinitionsRequestBuilder; /** * Provides operations to manage the deletedItems property of the microsoft.graph.directory entity. */ get deletedItems(): DeletedItemsRequestBuilder; /** * Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. */ get deviceLocalCredentials(): DeviceLocalCredentialsRequestBuilder; /** * Provides operations to manage the externalUserProfiles property of the microsoft.graph.directory entity. */ get externalUserProfiles(): ExternalUserProfilesRequestBuilder; /** * Provides operations to manage the featureRolloutPolicies property of the microsoft.graph.directory entity. */ get featureRolloutPolicies(): FeatureRolloutPoliciesRequestBuilder; /** * Provides operations to manage the federationConfigurations property of the microsoft.graph.directory entity. */ get federationConfigurations(): FederationConfigurationsRequestBuilder; /** * Provides operations to manage the impactedResources property of the microsoft.graph.directory entity. */ get impactedResources(): ImpactedResourcesRequestBuilder; /** * Provides operations to manage the inboundSharedUserProfiles property of the microsoft.graph.directory entity. */ get inboundSharedUserProfiles(): InboundSharedUserProfilesRequestBuilder; /** * Provides operations to manage the onPremisesSynchronization property of the microsoft.graph.directory entity. */ get onPremisesSynchronization(): OnPremisesSynchronizationRequestBuilder; /** * Provides operations to manage the outboundSharedUserProfiles property of the microsoft.graph.directory entity. */ get outboundSharedUserProfiles(): OutboundSharedUserProfilesRequestBuilder; /** * Provides operations to manage the pendingExternalUserProfiles property of the microsoft.graph.directory entity. */ get pendingExternalUserProfiles(): PendingExternalUserProfilesRequestBuilder; /** * Provides operations to manage the publicKeyInfrastructure property of the microsoft.graph.directory entity. */ get publicKeyInfrastructure(): PublicKeyInfrastructureRequestBuilder; /** * Provides operations to manage the recommendationConfiguration property of the microsoft.graph.directory entity. */ get recommendationConfiguration(): RecommendationConfigurationRequestBuilder; /** * Provides operations to manage the recommendations property of the microsoft.graph.directory entity. */ get recommendations(): RecommendationsRequestBuilder; /** * Provides operations to manage the sharedEmailDomains property of the microsoft.graph.directory entity. */ get sharedEmailDomains(): SharedEmailDomainsRequestBuilder; /** * Provides operations to manage the subscriptions property of the microsoft.graph.directory entity. */ get subscriptions(): SubscriptionsRequestBuilder; /** * Provides operations to manage the templates property of the microsoft.graph.directory entity. */ get templates(): TemplatesRequestBuilder; /** * Get directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Directory>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<DirectoryRequestBuilderGetQueryParameters> | undefined): Promise<Directory | undefined>; /** * Update directory * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Directory>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: Directory, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Directory | undefined>; /** * Provides operations to manage the subscriptions property of the microsoft.graph.directory entity. * @param commerceSubscriptionId Alternate key of companySubscription * @returns {SubscriptionsWithCommerceSubscriptionIdRequestBuilder} */ subscriptionsWithCommerceSubscriptionId(commerceSubscriptionId: string | undefined): SubscriptionsWithCommerceSubscriptionIdRequestBuilder; /** * Provides operations to manage the subscriptions property of the microsoft.graph.directory entity. * @param ocpSubscriptionId Alternate key of companySubscription * @returns {SubscriptionsWithOcpSubscriptionIdRequestBuilder} */ subscriptionsWithOcpSubscriptionId(ocpSubscriptionId: string | undefined): SubscriptionsWithOcpSubscriptionIdRequestBuilder; /** * Get directory * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DirectoryRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update directory * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: Directory, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get directory */ export interface DirectoryRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DirectoryRequestBuilderUriTemplate = "{+baseurl}/directory{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const DirectoryRequestBuilderNavigationMetadata: Record<Exclude<keyof DirectoryRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const DirectoryRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map