text: "use strict";
  var __extends = (this && this.__extends) || (function () {
      var extendStatics = function (d, b) {
          extendStatics = Object.setPrototypeOf ||
              ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
              function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
          return extendStatics(d, b);
      };
      return function (d, b) {
          extendStatics(d, b);
          function __() { this.constructor = d; }
          d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
      };
  })();
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.ActionImportRequestBuilder = void 0;
  var request_1 = require("../request");
  var odata_common_1 = require("../../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
   */
  var ActionImportRequestBuilder = /** @class */ (function (_super) {
      __extends(ActionImportRequestBuilder, _super);
      /**
       * 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
       */
      function ActionImportRequestBuilder(defaultServicePath, actionImportName, responseTransformer, parameters) {
          var _this = _super.call(this, responseTransformer, new request_1.ODataActionImportRequestConfig(defaultServicePath, actionImportName, parameters)) || this;
          _this.responseTransformer = responseTransformer;
          return _this;
      }
      return ActionImportRequestBuilder;
  }(odata_common_1.ActionFunctionImportRequestBuilder));
  exports.ActionImportRequestBuilder = ActionImportRequestBuilder;
  //# sourceMappingURL=action-import-request-builder.js.map