sailpoint-api-client 1.6.7 → 1.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/beta/README.md +2 -2
- package/beta/api.ts +87 -577
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/api.d.ts +81 -452
- package/dist/beta/api.js +30 -300
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +1 -1
- package/dist/generic/api.d.ts +386 -0
- package/dist/generic/api.js +689 -0
- package/dist/generic/api.js.map +1 -0
- package/dist/generic/base.d.ts +66 -0
- package/dist/generic/base.js +89 -0
- package/dist/generic/base.js.map +1 -0
- package/dist/generic/common.d.ts +65 -0
- package/dist/generic/common.js +260 -0
- package/dist/generic/common.js.map +1 -0
- package/dist/generic/configuration.d.ts +91 -0
- package/dist/generic/configuration.js +46 -0
- package/dist/generic/configuration.js.map +1 -0
- package/dist/generic/index.d.ts +13 -0
- package/dist/generic/index.js +32 -0
- package/dist/generic/index.js.map +1 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/paginator.d.ts +3 -1
- package/dist/paginator.js +146 -0
- package/dist/paginator.js.map +1 -1
- package/dist/v2024/api.d.ts +1838 -575
- package/dist/v2024/api.js +1894 -593
- package/dist/v2024/api.js.map +1 -1
- package/dist/v2024/common.js +1 -1
- package/dist/v2025/api.d.ts +4368 -679
- package/dist/v2025/api.js +3866 -904
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +1 -1
- package/dist/v3/api.d.ts +45 -83
- package/dist/v3/api.js +31 -30
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/common.js +1 -1
- package/generic/.openapi-generator/FILES +11 -0
- package/generic/.openapi-generator/VERSION +1 -0
- package/generic/.openapi-generator-ignore +23 -0
- package/generic/README.md +46 -0
- package/generic/api.ts +681 -0
- package/generic/base.ts +86 -0
- package/generic/common.ts +159 -0
- package/generic/configuration.ts +110 -0
- package/generic/git_push.sh +57 -0
- package/generic/index.ts +18 -0
- package/generic/package.json +34 -0
- package/generic/tsconfig.json +21 -0
- package/index.ts +9 -7
- package/package.json +1 -1
- package/paginator.ts +137 -11
- package/v2024/README.md +2 -2
- package/v2024/api.ts +3049 -1208
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +7717 -2573
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +61 -97
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
|
@@ -0,0 +1,689 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Generic Identity Security Cloud V2025 API
|
|
6
|
+
* Generic API specification for the Identity Security Cloud platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v2025
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __assign = (this && this.__assign) || function () {
|
|
31
|
+
__assign = Object.assign || function(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
return __assign.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
+
function step(op) {
|
|
55
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
+
switch (op[0]) {
|
|
60
|
+
case 0: case 1: t = op; break;
|
|
61
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
+
default:
|
|
65
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
+
if (t[2]) _.ops.pop();
|
|
70
|
+
_.trys.pop(); continue;
|
|
71
|
+
}
|
|
72
|
+
op = body.call(thisArg, _);
|
|
73
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
+
};
|
|
80
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
|
|
82
|
+
var axios_1 = __importDefault(require("axios"));
|
|
83
|
+
// Some imports not used depending on template conditions
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
var common_1 = require("./common");
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
var base_1 = require("./base");
|
|
88
|
+
/**
|
|
89
|
+
* DefaultApi - axios parameter creator
|
|
90
|
+
* @export
|
|
91
|
+
*/
|
|
92
|
+
var DefaultApiAxiosParamCreator = function (configuration) {
|
|
93
|
+
var _this = this;
|
|
94
|
+
return {
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Generic DELETE request
|
|
98
|
+
* @param {string} path
|
|
99
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
100
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
genericDelete: function (path, xSailPointExperimental, axiosOptions) {
|
|
104
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
+
return __generator(this, function (_a) {
|
|
108
|
+
switch (_a.label) {
|
|
109
|
+
case 0:
|
|
110
|
+
// verify required parameter 'path' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('genericDelete', 'path', path);
|
|
112
|
+
if (xSailPointExperimental === undefined) {
|
|
113
|
+
xSailPointExperimental = 'true';
|
|
114
|
+
}
|
|
115
|
+
localVarPath = "/{path}"
|
|
116
|
+
.replace("{".concat("path", "}"), encodeURIComponent(String(path)));
|
|
117
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
122
|
+
localVarHeaderParameter = {};
|
|
123
|
+
localVarQueryParameter = {};
|
|
124
|
+
// authentication userAuth required
|
|
125
|
+
// oauth required
|
|
126
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
|
|
127
|
+
// authentication userAuth required
|
|
128
|
+
// oauth required
|
|
129
|
+
];
|
|
130
|
+
case 1:
|
|
131
|
+
// authentication userAuth required
|
|
132
|
+
// oauth required
|
|
133
|
+
_a.sent();
|
|
134
|
+
// authentication userAuth required
|
|
135
|
+
// oauth required
|
|
136
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)];
|
|
137
|
+
case 2:
|
|
138
|
+
// authentication userAuth required
|
|
139
|
+
// oauth required
|
|
140
|
+
_a.sent();
|
|
141
|
+
if (xSailPointExperimental != null) {
|
|
142
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
143
|
+
}
|
|
144
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
145
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
146
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
147
|
+
return [2 /*return*/, {
|
|
148
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
149
|
+
axiosOptions: localVarRequestOptions,
|
|
150
|
+
}];
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
},
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @summary Generic GET request
|
|
158
|
+
* @param {string} path
|
|
159
|
+
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
160
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
161
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
162
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
163
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
164
|
+
* @throws {RequiredError}
|
|
165
|
+
*/
|
|
166
|
+
genericGet: function (path, limit, count, offset, xSailPointExperimental, axiosOptions) {
|
|
167
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
168
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
169
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
170
|
+
return __generator(this, function (_a) {
|
|
171
|
+
switch (_a.label) {
|
|
172
|
+
case 0:
|
|
173
|
+
// verify required parameter 'path' is not null or undefined
|
|
174
|
+
(0, common_1.assertParamExists)('genericGet', 'path', path);
|
|
175
|
+
if (xSailPointExperimental === undefined) {
|
|
176
|
+
xSailPointExperimental = 'true';
|
|
177
|
+
}
|
|
178
|
+
localVarPath = "/{path}"
|
|
179
|
+
.replace("{".concat("path", "}"), encodeURIComponent(String(path)));
|
|
180
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
181
|
+
if (configuration) {
|
|
182
|
+
baseOptions = configuration.baseOptions;
|
|
183
|
+
}
|
|
184
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
185
|
+
localVarHeaderParameter = {};
|
|
186
|
+
localVarQueryParameter = {};
|
|
187
|
+
// authentication userAuth required
|
|
188
|
+
// oauth required
|
|
189
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
|
|
190
|
+
// authentication userAuth required
|
|
191
|
+
// oauth required
|
|
192
|
+
];
|
|
193
|
+
case 1:
|
|
194
|
+
// authentication userAuth required
|
|
195
|
+
// oauth required
|
|
196
|
+
_a.sent();
|
|
197
|
+
// authentication userAuth required
|
|
198
|
+
// oauth required
|
|
199
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)];
|
|
200
|
+
case 2:
|
|
201
|
+
// authentication userAuth required
|
|
202
|
+
// oauth required
|
|
203
|
+
_a.sent();
|
|
204
|
+
if (limit !== undefined) {
|
|
205
|
+
localVarQueryParameter['limit'] = limit;
|
|
206
|
+
}
|
|
207
|
+
if (count !== undefined) {
|
|
208
|
+
localVarQueryParameter['count'] = count;
|
|
209
|
+
}
|
|
210
|
+
if (offset !== undefined) {
|
|
211
|
+
localVarQueryParameter['offset'] = offset;
|
|
212
|
+
}
|
|
213
|
+
if (xSailPointExperimental != null) {
|
|
214
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
215
|
+
}
|
|
216
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
217
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
218
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
219
|
+
return [2 /*return*/, {
|
|
220
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
221
|
+
axiosOptions: localVarRequestOptions,
|
|
222
|
+
}];
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
});
|
|
226
|
+
},
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @summary Generic PATCH request
|
|
230
|
+
* @param {string} path
|
|
231
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
232
|
+
* @param {{ [key: string]: any; }} [requestBody]
|
|
233
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
genericPatch: function (path, xSailPointExperimental, requestBody, axiosOptions) {
|
|
237
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
238
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
239
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
240
|
+
return __generator(this, function (_a) {
|
|
241
|
+
switch (_a.label) {
|
|
242
|
+
case 0:
|
|
243
|
+
// verify required parameter 'path' is not null or undefined
|
|
244
|
+
(0, common_1.assertParamExists)('genericPatch', 'path', path);
|
|
245
|
+
if (xSailPointExperimental === undefined) {
|
|
246
|
+
xSailPointExperimental = 'true';
|
|
247
|
+
}
|
|
248
|
+
localVarPath = "/{path}"
|
|
249
|
+
.replace("{".concat("path", "}"), encodeURIComponent(String(path)));
|
|
250
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
251
|
+
if (configuration) {
|
|
252
|
+
baseOptions = configuration.baseOptions;
|
|
253
|
+
}
|
|
254
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
|
|
255
|
+
localVarHeaderParameter = {};
|
|
256
|
+
localVarQueryParameter = {};
|
|
257
|
+
// authentication userAuth required
|
|
258
|
+
// oauth required
|
|
259
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
|
|
260
|
+
// authentication userAuth required
|
|
261
|
+
// oauth required
|
|
262
|
+
];
|
|
263
|
+
case 1:
|
|
264
|
+
// authentication userAuth required
|
|
265
|
+
// oauth required
|
|
266
|
+
_a.sent();
|
|
267
|
+
// authentication userAuth required
|
|
268
|
+
// oauth required
|
|
269
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)];
|
|
270
|
+
case 2:
|
|
271
|
+
// authentication userAuth required
|
|
272
|
+
// oauth required
|
|
273
|
+
_a.sent();
|
|
274
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
275
|
+
if (xSailPointExperimental != null) {
|
|
276
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
277
|
+
}
|
|
278
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
279
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
280
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
281
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
282
|
+
return [2 /*return*/, {
|
|
283
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
284
|
+
axiosOptions: localVarRequestOptions,
|
|
285
|
+
}];
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
});
|
|
289
|
+
},
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @summary Generic POST request
|
|
293
|
+
* @param {string} path
|
|
294
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
295
|
+
* @param {{ [key: string]: any; }} [requestBody]
|
|
296
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
genericPost: function (path, xSailPointExperimental, requestBody, axiosOptions) {
|
|
300
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
301
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
302
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
303
|
+
return __generator(this, function (_a) {
|
|
304
|
+
switch (_a.label) {
|
|
305
|
+
case 0:
|
|
306
|
+
// verify required parameter 'path' is not null or undefined
|
|
307
|
+
(0, common_1.assertParamExists)('genericPost', 'path', path);
|
|
308
|
+
if (xSailPointExperimental === undefined) {
|
|
309
|
+
xSailPointExperimental = 'true';
|
|
310
|
+
}
|
|
311
|
+
localVarPath = "/{path}"
|
|
312
|
+
.replace("{".concat("path", "}"), encodeURIComponent(String(path)));
|
|
313
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
314
|
+
if (configuration) {
|
|
315
|
+
baseOptions = configuration.baseOptions;
|
|
316
|
+
}
|
|
317
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
318
|
+
localVarHeaderParameter = {};
|
|
319
|
+
localVarQueryParameter = {};
|
|
320
|
+
// authentication userAuth required
|
|
321
|
+
// oauth required
|
|
322
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
|
|
323
|
+
// authentication userAuth required
|
|
324
|
+
// oauth required
|
|
325
|
+
];
|
|
326
|
+
case 1:
|
|
327
|
+
// authentication userAuth required
|
|
328
|
+
// oauth required
|
|
329
|
+
_a.sent();
|
|
330
|
+
// authentication userAuth required
|
|
331
|
+
// oauth required
|
|
332
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)];
|
|
333
|
+
case 2:
|
|
334
|
+
// authentication userAuth required
|
|
335
|
+
// oauth required
|
|
336
|
+
_a.sent();
|
|
337
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
338
|
+
if (xSailPointExperimental != null) {
|
|
339
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
340
|
+
}
|
|
341
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
342
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
343
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
344
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
345
|
+
return [2 /*return*/, {
|
|
346
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
347
|
+
axiosOptions: localVarRequestOptions,
|
|
348
|
+
}];
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
});
|
|
352
|
+
},
|
|
353
|
+
/**
|
|
354
|
+
*
|
|
355
|
+
* @summary Generic PUT request
|
|
356
|
+
* @param {string} path
|
|
357
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
358
|
+
* @param {{ [key: string]: any; }} [requestBody]
|
|
359
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
genericPut: function (path, xSailPointExperimental, requestBody, axiosOptions) {
|
|
363
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
364
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
365
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
366
|
+
return __generator(this, function (_a) {
|
|
367
|
+
switch (_a.label) {
|
|
368
|
+
case 0:
|
|
369
|
+
// verify required parameter 'path' is not null or undefined
|
|
370
|
+
(0, common_1.assertParamExists)('genericPut', 'path', path);
|
|
371
|
+
if (xSailPointExperimental === undefined) {
|
|
372
|
+
xSailPointExperimental = 'true';
|
|
373
|
+
}
|
|
374
|
+
localVarPath = "/{path}"
|
|
375
|
+
.replace("{".concat("path", "}"), encodeURIComponent(String(path)));
|
|
376
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
377
|
+
if (configuration) {
|
|
378
|
+
baseOptions = configuration.baseOptions;
|
|
379
|
+
}
|
|
380
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), axiosOptions);
|
|
381
|
+
localVarHeaderParameter = {};
|
|
382
|
+
localVarQueryParameter = {};
|
|
383
|
+
// authentication userAuth required
|
|
384
|
+
// oauth required
|
|
385
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
|
|
386
|
+
// authentication userAuth required
|
|
387
|
+
// oauth required
|
|
388
|
+
];
|
|
389
|
+
case 1:
|
|
390
|
+
// authentication userAuth required
|
|
391
|
+
// oauth required
|
|
392
|
+
_a.sent();
|
|
393
|
+
// authentication userAuth required
|
|
394
|
+
// oauth required
|
|
395
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)];
|
|
396
|
+
case 2:
|
|
397
|
+
// authentication userAuth required
|
|
398
|
+
// oauth required
|
|
399
|
+
_a.sent();
|
|
400
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
401
|
+
if (xSailPointExperimental != null) {
|
|
402
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
403
|
+
}
|
|
404
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
405
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
406
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
407
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
408
|
+
return [2 /*return*/, {
|
|
409
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
410
|
+
axiosOptions: localVarRequestOptions,
|
|
411
|
+
}];
|
|
412
|
+
}
|
|
413
|
+
});
|
|
414
|
+
});
|
|
415
|
+
},
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
419
|
+
/**
|
|
420
|
+
* DefaultApi - functional programming interface
|
|
421
|
+
* @export
|
|
422
|
+
*/
|
|
423
|
+
var DefaultApiFp = function (configuration) {
|
|
424
|
+
var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
425
|
+
return {
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @summary Generic DELETE request
|
|
429
|
+
* @param {string} path
|
|
430
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
431
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
genericDelete: function (path, xSailPointExperimental, axiosOptions) {
|
|
435
|
+
var _a, _b, _c;
|
|
436
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
437
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
438
|
+
return __generator(this, function (_d) {
|
|
439
|
+
switch (_d.label) {
|
|
440
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.genericDelete(path, xSailPointExperimental, axiosOptions)];
|
|
441
|
+
case 1:
|
|
442
|
+
localVarAxiosArgs = _d.sent();
|
|
443
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
444
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.genericDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
445
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
446
|
+
}
|
|
447
|
+
});
|
|
448
|
+
});
|
|
449
|
+
},
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @summary Generic GET request
|
|
453
|
+
* @param {string} path
|
|
454
|
+
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
455
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
456
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
457
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
458
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
genericGet: function (path, limit, count, offset, xSailPointExperimental, axiosOptions) {
|
|
462
|
+
var _a, _b, _c;
|
|
463
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
464
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
465
|
+
return __generator(this, function (_d) {
|
|
466
|
+
switch (_d.label) {
|
|
467
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.genericGet(path, limit, count, offset, xSailPointExperimental, axiosOptions)];
|
|
468
|
+
case 1:
|
|
469
|
+
localVarAxiosArgs = _d.sent();
|
|
470
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
471
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.genericGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
472
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
473
|
+
}
|
|
474
|
+
});
|
|
475
|
+
});
|
|
476
|
+
},
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
* @summary Generic PATCH request
|
|
480
|
+
* @param {string} path
|
|
481
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
482
|
+
* @param {{ [key: string]: any; }} [requestBody]
|
|
483
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
484
|
+
* @throws {RequiredError}
|
|
485
|
+
*/
|
|
486
|
+
genericPatch: function (path, xSailPointExperimental, requestBody, axiosOptions) {
|
|
487
|
+
var _a, _b, _c;
|
|
488
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
489
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
490
|
+
return __generator(this, function (_d) {
|
|
491
|
+
switch (_d.label) {
|
|
492
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.genericPatch(path, xSailPointExperimental, requestBody, axiosOptions)];
|
|
493
|
+
case 1:
|
|
494
|
+
localVarAxiosArgs = _d.sent();
|
|
495
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
496
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.genericPatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
497
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
498
|
+
}
|
|
499
|
+
});
|
|
500
|
+
});
|
|
501
|
+
},
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @summary Generic POST request
|
|
505
|
+
* @param {string} path
|
|
506
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
507
|
+
* @param {{ [key: string]: any; }} [requestBody]
|
|
508
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
509
|
+
* @throws {RequiredError}
|
|
510
|
+
*/
|
|
511
|
+
genericPost: function (path, xSailPointExperimental, requestBody, axiosOptions) {
|
|
512
|
+
var _a, _b, _c;
|
|
513
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
514
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
515
|
+
return __generator(this, function (_d) {
|
|
516
|
+
switch (_d.label) {
|
|
517
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.genericPost(path, xSailPointExperimental, requestBody, axiosOptions)];
|
|
518
|
+
case 1:
|
|
519
|
+
localVarAxiosArgs = _d.sent();
|
|
520
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
521
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.genericPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
522
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
});
|
|
526
|
+
},
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @summary Generic PUT request
|
|
530
|
+
* @param {string} path
|
|
531
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
532
|
+
* @param {{ [key: string]: any; }} [requestBody]
|
|
533
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
534
|
+
* @throws {RequiredError}
|
|
535
|
+
*/
|
|
536
|
+
genericPut: function (path, xSailPointExperimental, requestBody, axiosOptions) {
|
|
537
|
+
var _a, _b, _c;
|
|
538
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
539
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
540
|
+
return __generator(this, function (_d) {
|
|
541
|
+
switch (_d.label) {
|
|
542
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.genericPut(path, xSailPointExperimental, requestBody, axiosOptions)];
|
|
543
|
+
case 1:
|
|
544
|
+
localVarAxiosArgs = _d.sent();
|
|
545
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
546
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.genericPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
547
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
548
|
+
}
|
|
549
|
+
});
|
|
550
|
+
});
|
|
551
|
+
},
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
555
|
+
/**
|
|
556
|
+
* DefaultApi - factory interface
|
|
557
|
+
* @export
|
|
558
|
+
*/
|
|
559
|
+
var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
560
|
+
var localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
561
|
+
return {
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @summary Generic DELETE request
|
|
565
|
+
* @param {DefaultApiGenericDeleteRequest} requestParameters Request parameters.
|
|
566
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
567
|
+
* @throws {RequiredError}
|
|
568
|
+
*/
|
|
569
|
+
genericDelete: function (requestParameters, axiosOptions) {
|
|
570
|
+
return localVarFp.genericDelete(requestParameters.path, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
571
|
+
},
|
|
572
|
+
/**
|
|
573
|
+
*
|
|
574
|
+
* @summary Generic GET request
|
|
575
|
+
* @param {DefaultApiGenericGetRequest} requestParameters Request parameters.
|
|
576
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
577
|
+
* @throws {RequiredError}
|
|
578
|
+
*/
|
|
579
|
+
genericGet: function (requestParameters, axiosOptions) {
|
|
580
|
+
return localVarFp.genericGet(requestParameters.path, requestParameters.limit, requestParameters.count, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
581
|
+
},
|
|
582
|
+
/**
|
|
583
|
+
*
|
|
584
|
+
* @summary Generic PATCH request
|
|
585
|
+
* @param {DefaultApiGenericPatchRequest} requestParameters Request parameters.
|
|
586
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
587
|
+
* @throws {RequiredError}
|
|
588
|
+
*/
|
|
589
|
+
genericPatch: function (requestParameters, axiosOptions) {
|
|
590
|
+
return localVarFp.genericPatch(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
591
|
+
},
|
|
592
|
+
/**
|
|
593
|
+
*
|
|
594
|
+
* @summary Generic POST request
|
|
595
|
+
* @param {DefaultApiGenericPostRequest} requestParameters Request parameters.
|
|
596
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
597
|
+
* @throws {RequiredError}
|
|
598
|
+
*/
|
|
599
|
+
genericPost: function (requestParameters, axiosOptions) {
|
|
600
|
+
return localVarFp.genericPost(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
601
|
+
},
|
|
602
|
+
/**
|
|
603
|
+
*
|
|
604
|
+
* @summary Generic PUT request
|
|
605
|
+
* @param {DefaultApiGenericPutRequest} requestParameters Request parameters.
|
|
606
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
607
|
+
* @throws {RequiredError}
|
|
608
|
+
*/
|
|
609
|
+
genericPut: function (requestParameters, axiosOptions) {
|
|
610
|
+
return localVarFp.genericPut(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
611
|
+
},
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
615
|
+
/**
|
|
616
|
+
* DefaultApi - object-oriented interface
|
|
617
|
+
* @export
|
|
618
|
+
* @class DefaultApi
|
|
619
|
+
* @extends {BaseAPI}
|
|
620
|
+
*/
|
|
621
|
+
var DefaultApi = /** @class */ (function (_super) {
|
|
622
|
+
__extends(DefaultApi, _super);
|
|
623
|
+
function DefaultApi() {
|
|
624
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
625
|
+
}
|
|
626
|
+
/**
|
|
627
|
+
*
|
|
628
|
+
* @summary Generic DELETE request
|
|
629
|
+
* @param {DefaultApiGenericDeleteRequest} requestParameters Request parameters.
|
|
630
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
631
|
+
* @throws {RequiredError}
|
|
632
|
+
* @memberof DefaultApi
|
|
633
|
+
*/
|
|
634
|
+
DefaultApi.prototype.genericDelete = function (requestParameters, axiosOptions) {
|
|
635
|
+
var _this = this;
|
|
636
|
+
return (0, exports.DefaultApiFp)(this.configuration).genericDelete(requestParameters.path, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
637
|
+
};
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @summary Generic GET request
|
|
641
|
+
* @param {DefaultApiGenericGetRequest} requestParameters Request parameters.
|
|
642
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
643
|
+
* @throws {RequiredError}
|
|
644
|
+
* @memberof DefaultApi
|
|
645
|
+
*/
|
|
646
|
+
DefaultApi.prototype.genericGet = function (requestParameters, axiosOptions) {
|
|
647
|
+
var _this = this;
|
|
648
|
+
return (0, exports.DefaultApiFp)(this.configuration).genericGet(requestParameters.path, requestParameters.limit, requestParameters.count, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
649
|
+
};
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @summary Generic PATCH request
|
|
653
|
+
* @param {DefaultApiGenericPatchRequest} requestParameters Request parameters.
|
|
654
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
655
|
+
* @throws {RequiredError}
|
|
656
|
+
* @memberof DefaultApi
|
|
657
|
+
*/
|
|
658
|
+
DefaultApi.prototype.genericPatch = function (requestParameters, axiosOptions) {
|
|
659
|
+
var _this = this;
|
|
660
|
+
return (0, exports.DefaultApiFp)(this.configuration).genericPatch(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
661
|
+
};
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @summary Generic POST request
|
|
665
|
+
* @param {DefaultApiGenericPostRequest} requestParameters Request parameters.
|
|
666
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
667
|
+
* @throws {RequiredError}
|
|
668
|
+
* @memberof DefaultApi
|
|
669
|
+
*/
|
|
670
|
+
DefaultApi.prototype.genericPost = function (requestParameters, axiosOptions) {
|
|
671
|
+
var _this = this;
|
|
672
|
+
return (0, exports.DefaultApiFp)(this.configuration).genericPost(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
673
|
+
};
|
|
674
|
+
/**
|
|
675
|
+
*
|
|
676
|
+
* @summary Generic PUT request
|
|
677
|
+
* @param {DefaultApiGenericPutRequest} requestParameters Request parameters.
|
|
678
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
679
|
+
* @throws {RequiredError}
|
|
680
|
+
* @memberof DefaultApi
|
|
681
|
+
*/
|
|
682
|
+
DefaultApi.prototype.genericPut = function (requestParameters, axiosOptions) {
|
|
683
|
+
var _this = this;
|
|
684
|
+
return (0, exports.DefaultApiFp)(this.configuration).genericPut(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
685
|
+
};
|
|
686
|
+
return DefaultApi;
|
|
687
|
+
}(base_1.BaseAPI));
|
|
688
|
+
exports.DefaultApi = DefaultApi;
|
|
689
|
+
//# sourceMappingURL=api.js.map
|