UNPKG

@microsoft/msgraph-beta-sdk-external

Version:
76 lines 3.68 kB
import { type External } from '@microsoft/msgraph-beta-sdk/models/externalConnectors/index.js'; import { type AuthorizationSystemsRequestBuilder } from './authorizationSystems/index.js'; import { type ConnectionsRequestBuilder } from './connections/index.js'; import { type IndustryDataRequestBuilder } from './industryData/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the external singleton. */ export interface ExternalRequestBuilder extends BaseRequestBuilder<ExternalRequestBuilder> { /** * Provides operations to manage the authorizationSystems property of the microsoft.graph.externalConnectors.external entity. */ get authorizationSystems(): AuthorizationSystemsRequestBuilder; /** * Provides operations to manage the connections property of the microsoft.graph.externalConnectors.external entity. */ get connections(): ConnectionsRequestBuilder; /** * Provides operations to manage the industryData property of the microsoft.graph.externalConnectors.external entity. */ get industryData(): IndustryDataRequestBuilder; /** * Get external * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<External>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<ExternalRequestBuilderGetQueryParameters> | undefined): Promise<External | undefined>; /** * Update external * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<External>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: External, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<External | undefined>; /** * Get external * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ExternalRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update external * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: External, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get external */ export interface ExternalRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ExternalRequestBuilderUriTemplate = "{+baseurl}/external{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const ExternalRequestBuilderNavigationMetadata: Record<Exclude<keyof ExternalRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const ExternalRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map