UNPKG

@microsoft/msgraph-beta-sdk-solutions

Version:
89 lines 4.81 kB
import { type ApprovalSolution } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type ApprovalItemsRequestBuilder } from './approvalItems/index.js'; import { type OperationsRequestBuilder } from './operations/index.js'; import { type ProvisionRequestBuilder } from './provision/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the approval property of the microsoft.graph.solutionsRoot entity. */ export interface ApprovalRequestBuilder extends BaseRequestBuilder<ApprovalRequestBuilder> { /** * Provides operations to manage the approvalItems property of the microsoft.graph.approvalSolution entity. */ get approvalItems(): ApprovalItemsRequestBuilder; /** * Provides operations to manage the operations property of the microsoft.graph.approvalSolution entity. */ get operations(): OperationsRequestBuilder; /** * Provides operations to call the provision method. */ get provision(): ProvisionRequestBuilder; /** * Delete navigation property approval for solutions * @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>; /** * Read the properties of an approvalSolution object to determine the provisioning state for a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ApprovalSolution>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/approvalsolution-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<ApprovalRequestBuilderGetQueryParameters> | undefined): Promise<ApprovalSolution | undefined>; /** * Update the navigation property approval in solutions * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ApprovalSolution>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: ApprovalSolution, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ApprovalSolution | undefined>; /** * Delete navigation property approval for solutions * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Read the properties of an approvalSolution object to determine the provisioning state for a tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ApprovalRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property approval in solutions * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: ApprovalSolution, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties of an approvalSolution object to determine the provisioning state for a tenant. */ export interface ApprovalRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ApprovalRequestBuilderUriTemplate = "{+baseurl}/solutions/approval{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const ApprovalRequestBuilderNavigationMetadata: Record<Exclude<keyof ApprovalRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const ApprovalRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map