UNPKG

@microsoft/msgraph-beta-sdk-external

Version:
69 lines 3.72 kB
import { type ConnectionOperation } from '@microsoft/msgraph-beta-sdk/models/externalConnectors/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity. */ export interface ConnectionOperationItemRequestBuilder extends BaseRequestBuilder<ConnectionOperationItemRequestBuilder> { /** * Delete navigation property operations for external * @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 */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Get operations from external * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ConnectionOperation>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<ConnectionOperationItemRequestBuilderGetQueryParameters> | undefined): Promise<ConnectionOperation | undefined>; /** * Update the navigation property operations in external * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ConnectionOperation>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: ConnectionOperation, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConnectionOperation | undefined>; /** * Delete navigation property operations for external * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Get operations from external * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConnectionOperationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property operations in external * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: ConnectionOperation, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get operations from external */ export interface ConnectionOperationItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ConnectionOperationItemRequestBuilderUriTemplate = "{+baseurl}/external/connections/{externalConnection%2Did}/operations/{connectionOperation%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const ConnectionOperationItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map