UNPKG

@microsoft/msgraph-beta-sdk-contacts

Version:
107 lines 5.25 kB
import { type OrgContact } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type CheckMemberGroupsRequestBuilder } from './checkMemberGroups/index.js'; import { type CheckMemberObjectsRequestBuilder } from './checkMemberObjects/index.js'; import { type DirectReportsRequestBuilder } from './directReports/index.js'; import { type GetMemberGroupsRequestBuilder } from './getMemberGroups/index.js'; import { type GetMemberObjectsRequestBuilder } from './getMemberObjects/index.js'; import { type ManagerRequestBuilder } from './manager/index.js'; import { type MemberOfRequestBuilder } from './memberOf/index.js'; import { type RestoreRequestBuilder } from './restore/index.js'; import { type RetryServiceProvisioningRequestBuilder } from './retryServiceProvisioning/index.js'; import { type ServiceProvisioningErrorsRequestBuilder } from './serviceProvisioningErrors/index.js'; import { type TransitiveMemberOfRequestBuilder } from './transitiveMemberOf/index.js'; import { type TransitiveReportsRequestBuilder } from './transitiveReports/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the collection of orgContact entities. */ export interface OrgContactItemRequestBuilder extends BaseRequestBuilder<OrgContactItemRequestBuilder> { /** * Provides operations to call the checkMemberGroups method. */ get checkMemberGroups(): CheckMemberGroupsRequestBuilder; /** * Provides operations to call the checkMemberObjects method. */ get checkMemberObjects(): CheckMemberObjectsRequestBuilder; /** * Provides operations to manage the directReports property of the microsoft.graph.orgContact entity. */ get directReports(): DirectReportsRequestBuilder; /** * Provides operations to call the getMemberGroups method. */ get getMemberGroups(): GetMemberGroupsRequestBuilder; /** * Provides operations to call the getMemberObjects method. */ get getMemberObjects(): GetMemberObjectsRequestBuilder; /** * Provides operations to manage the manager property of the microsoft.graph.orgContact entity. */ get manager(): ManagerRequestBuilder; /** * Provides operations to manage the memberOf property of the microsoft.graph.orgContact entity. */ get memberOf(): MemberOfRequestBuilder; /** * Provides operations to call the restore method. */ get restore(): RestoreRequestBuilder; /** * Provides operations to call the retryServiceProvisioning method. */ get retryServiceProvisioning(): RetryServiceProvisioningRequestBuilder; /** * The serviceProvisioningErrors property */ get serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder; /** * Provides operations to manage the transitiveMemberOf property of the microsoft.graph.orgContact entity. */ get transitiveMemberOf(): TransitiveMemberOfRequestBuilder; /** * Provides operations to manage the transitiveReports property of the microsoft.graph.orgContact entity. */ get transitiveReports(): TransitiveReportsRequestBuilder; /** * Get the properties and relationships of an organizational contact object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<OrgContact>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/orgcontact-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<OrgContactItemRequestBuilderGetQueryParameters> | undefined): Promise<OrgContact | undefined>; /** * Get the properties and relationships of an organizational contact object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<OrgContactItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Get the properties and relationships of an organizational contact object. */ export interface OrgContactItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const OrgContactItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const OrgContactItemRequestBuilderNavigationMetadata: Record<Exclude<keyof OrgContactItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const OrgContactItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map