1 | "use strict";
|
2 | var __extends = (this && this.__extends) || (function () {
|
3 | var extendStatics = function (d, b) {
|
4 | extendStatics = Object.setPrototypeOf ||
|
5 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6 | function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7 | return extendStatics(d, b);
|
8 | };
|
9 | return function (d, b) {
|
10 | if (typeof b !== "function" && b !== null)
|
11 | throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12 | extendStatics(d, b);
|
13 | function __() { this.constructor = d; }
|
14 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15 | };
|
16 | })();
|
17 | Object.defineProperty(exports, "__esModule", { value: true });
|
18 | exports.FunctionImportRequestBuilderV2 = exports.FunctionImportRequestBuilder = void 0;
|
19 | var uri_conversion_1 = require("../uri-conversion");
|
20 | var odata_common_1 = require("../../odata-common");
|
21 | var request_1 = require("../request");
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 | var FunctionImportRequestBuilder = (function (_super) {
|
28 | __extends(FunctionImportRequestBuilder, _super);
|
29 | |
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 | function FunctionImportRequestBuilder(method, defaultServicePath, functionImportName, responseTransformer, parameters) {
|
38 | var _this = _super.call(this, responseTransformer, new request_1.ODataFunctionImportRequestConfig(method, defaultServicePath, functionImportName, parameters, uri_conversion_1.oDataUri)) || this;
|
39 | _this.responseTransformer = responseTransformer;
|
40 | return _this;
|
41 | }
|
42 | return FunctionImportRequestBuilder;
|
43 | }(odata_common_1.ActionFunctionImportRequestBuilder));
|
44 | exports.FunctionImportRequestBuilder = FunctionImportRequestBuilder;
|
45 | exports.FunctionImportRequestBuilderV2 = FunctionImportRequestBuilder;
|
46 |
|
\ | No newline at end of file |