@microsoft/msgraph-sdk-connections
Version:
Connections fluent API for Microsoft Graph
57 lines • 2.73 kB
TypeScript
import { type Schema } from '@microsoft/msgraph-sdk/models/externalConnectors/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the schema property of the microsoft.graph.externalConnectors.externalConnection entity.
*/
export interface SchemaRequestBuilder extends BaseRequestBuilder<SchemaRequestBuilder> {
/**
* Get schema from connections
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Schema>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<SchemaRequestBuilderGetQueryParameters> | undefined): Promise<Schema | undefined>;
/**
* Update the navigation property schema in connections
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Schema>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: Schema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Schema | undefined>;
/**
* Get schema from connections
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SchemaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property schema in connections
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Schema, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get schema from connections
*/
export interface SchemaRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const SchemaRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/schema{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const SchemaRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map