import { type CreateWorkerSyncConfiguration, type PutWorkerSyncAction, type WorkerSyncItem } from '../../../models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Builds and executes requests for operations under /v2/workers/{syncId} */ export interface WithSyncItemRequestBuilder extends BaseRequestBuilder { /** * Restart the Worker * @param body Model Class: CreateWorkerSyncConfiguration * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ErrorResponse} error when the service returns a 404 status code */ post(body: CreateWorkerSyncConfiguration, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Control the Sync Processes * @param body Model Class: PutWorkerSyncAction * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws {ErrorResponse} error when the service returns a 404 status code */ put(body: PutWorkerSyncAction, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Restart the Worker * @param body Model Class: CreateWorkerSyncConfiguration * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: CreateWorkerSyncConfiguration, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Control the Sync Processes * @param body Model Class: PutWorkerSyncAction * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPutRequestInformation(body: PutWorkerSyncAction, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const WithSyncItemRequestBuilderUriTemplate = "{+baseurl}/v2/workers/{syncId}"; /** * Metadata for all the requests in the request builder. */ export declare const WithSyncItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map