UNPKG

@sap-cloud-sdk/core

Version:
19 lines 1.15 kB
import { ActionImportParameters } from '../request'; import { ActionFunctionImportRequestBuilder as ActionFunctionImportRequestBuilderBase } from '../../odata-common'; /** * Create an OData request to execute an action import. * @typeparam ParametersT - Type of the action import parameters * @typeparam ReturnT - Type of the action import return value */ export declare class ActionImportRequestBuilder<ParametersT, ReturnT> extends ActionFunctionImportRequestBuilderBase<ParametersT, ReturnT> { readonly responseTransformer: (data: any) => ReturnT; /** * Creates an instance of ActionImportRequestBuilder. * @param defaultServicePath - Default path for the service the action belongs to * @param actionImportName - The name of the action import. * @param responseTransformer - Transformation function for the response * @param parameters - Parameters to be set in the action */ constructor(defaultServicePath: string, actionImportName: string, responseTransformer: (data: any) => ReturnT, parameters: ActionImportParameters<ParametersT>); } //# sourceMappingURL=action-import-request-builder.d.ts.map