UNPKG

1.15 kBTypeScriptView Raw
1import { ActionImportParameters } from '../request';
2import { ActionFunctionImportRequestBuilder as ActionFunctionImportRequestBuilderBase } from '../../odata-common';
3/**
4 * Create an OData request to execute an action import.
5 * @typeparam ParametersT - Type of the action import parameters
6 * @typeparam ReturnT - Type of the action import return value
7 */
8export declare class ActionImportRequestBuilder<ParametersT, ReturnT> extends ActionFunctionImportRequestBuilderBase<ParametersT, ReturnT> {
9 readonly responseTransformer: (data: any) => ReturnT;
10 /**
11 * Creates an instance of ActionImportRequestBuilder.
12 * @param defaultServicePath - Default path for the service the action belongs to
13 * @param actionImportName - The name of the action import.
14 * @param responseTransformer - Transformation function for the response
15 * @param parameters - Parameters to be set in the action
16 */
17 constructor(defaultServicePath: string, actionImportName: string, responseTransformer: (data: any) => ReturnT, parameters: ActionImportParameters<ParametersT>);
18}
19//# sourceMappingURL=action-import-request-builder.d.ts.map
\No newline at end of file