@sailpoint/api-client 2.2.39 → 2.2.41
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/dist/certifications/api.d.ts +3 -3
- package/dist/certifications/api.js +2 -2
- package/dist/certifications/api.js.map +1 -1
- package/dist/custom_forms/api.d.ts +20 -8
- package/dist/custom_forms/api.js +18 -9
- package/dist/custom_forms/api.js.map +1 -1
- package/dist/esm/certifications/api.js +2 -2
- package/dist/esm/custom_forms/api.js +18 -9
- package/dist/esm/gov_certification/api.js +5565 -0
- package/dist/esm/gov_certification/base.js +83 -0
- package/dist/esm/gov_certification/common.js +287 -0
- package/dist/esm/gov_certification/configuration.js +42 -0
- package/dist/esm/gov_certification/index.js +15 -0
- package/dist/esm/identities/api.js +205 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/jit_activation_convert/api.js +226 -0
- package/dist/esm/jit_activation_convert/base.js +83 -0
- package/dist/esm/jit_activation_convert/common.js +287 -0
- package/dist/esm/jit_activation_convert/configuration.js +42 -0
- package/dist/esm/jit_activation_convert/index.js +15 -0
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/privilege_criteria/api.js +2 -2
- package/dist/esm/sources/api.js +88 -0
- package/dist/gov_certification/api.d.ts +7599 -0
- package/dist/gov_certification/api.js +5576 -0
- package/dist/gov_certification/api.js.map +1 -0
- package/dist/gov_certification/base.d.ts +66 -0
- package/dist/gov_certification/base.js +90 -0
- package/dist/gov_certification/base.js.map +1 -0
- package/dist/gov_certification/common.d.ts +65 -0
- package/dist/gov_certification/common.js +300 -0
- package/dist/gov_certification/common.js.map +1 -0
- package/dist/gov_certification/configuration.d.ts +91 -0
- package/dist/gov_certification/configuration.js +46 -0
- package/dist/gov_certification/configuration.js.map +1 -0
- package/dist/gov_certification/index.d.ts +13 -0
- package/dist/gov_certification/index.js +32 -0
- package/dist/gov_certification/index.js.map +1 -0
- package/dist/identities/api.d.ts +339 -0
- package/dist/identities/api.js +206 -1
- package/dist/identities/api.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +240 -234
- package/dist/index.js.map +1 -1
- package/dist/jit_activation_convert/api.d.ts +241 -0
- package/dist/jit_activation_convert/api.js +236 -0
- package/dist/jit_activation_convert/api.js.map +1 -0
- package/dist/jit_activation_convert/base.d.ts +66 -0
- package/dist/jit_activation_convert/base.js +90 -0
- package/dist/jit_activation_convert/base.js.map +1 -0
- package/dist/jit_activation_convert/common.d.ts +65 -0
- package/dist/jit_activation_convert/common.js +300 -0
- package/dist/jit_activation_convert/common.js.map +1 -0
- package/dist/jit_activation_convert/configuration.d.ts +91 -0
- package/dist/jit_activation_convert/configuration.js +46 -0
- package/dist/jit_activation_convert/configuration.js.map +1 -0
- package/dist/jit_activation_convert/index.d.ts +13 -0
- package/dist/jit_activation_convert/index.js +32 -0
- package/dist/jit_activation_convert/index.js.map +1 -0
- package/dist/nerm/common.js +2 -2
- package/dist/nerm/common.js.map +1 -1
- package/dist/nermv2025/common.js +2 -2
- package/dist/nermv2025/common.js.map +1 -1
- package/dist/privilege_criteria/api.d.ts +3 -3
- package/dist/privilege_criteria/api.js +2 -2
- package/dist/privilege_criteria/api.js.map +1 -1
- package/dist/sources/api.d.ts +87 -0
- package/dist/sources/api.js +88 -0
- package/dist/sources/api.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Identity Security Cloud API - JIT Activation Convert
|
|
5
|
+
* Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __assign = (this && this.__assign) || function () {
|
|
15
|
+
__assign = Object.assign || function(t) {
|
|
16
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
17
|
+
s = arguments[i];
|
|
18
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
19
|
+
t[p] = s[p];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
return __assign.apply(this, arguments);
|
|
24
|
+
};
|
|
25
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
35
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
36
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
37
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
38
|
+
function step(op) {
|
|
39
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
40
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
41
|
+
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;
|
|
42
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
43
|
+
switch (op[0]) {
|
|
44
|
+
case 0: case 1: t = op; break;
|
|
45
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
46
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
47
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
48
|
+
default:
|
|
49
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
50
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
51
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
52
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
53
|
+
if (t[2]) _.ops.pop();
|
|
54
|
+
_.trys.pop(); continue;
|
|
55
|
+
}
|
|
56
|
+
op = body.call(thisArg, _);
|
|
57
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
58
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
import { RequiredError } from "./base";
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @export
|
|
65
|
+
*/
|
|
66
|
+
export var DUMMY_BASE_URL = 'https://example.com';
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
* @export
|
|
71
|
+
*/
|
|
72
|
+
export var assertParamExists = function (functionName, paramName, paramValue) {
|
|
73
|
+
if (paramValue === null || paramValue === undefined) {
|
|
74
|
+
throw new RequiredError(paramName, "Required parameter ".concat(paramName, " was null or undefined when calling ").concat(functionName, "."));
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @export
|
|
80
|
+
*/
|
|
81
|
+
export var setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var localVarApiKeyValue, _a;
|
|
84
|
+
return __generator(this, function (_b) {
|
|
85
|
+
switch (_b.label) {
|
|
86
|
+
case 0:
|
|
87
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
88
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
89
|
+
return [4 /*yield*/, configuration.apiKey(keyParamName)];
|
|
90
|
+
case 1:
|
|
91
|
+
_a = _b.sent();
|
|
92
|
+
return [3 /*break*/, 4];
|
|
93
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
94
|
+
case 3:
|
|
95
|
+
_a = _b.sent();
|
|
96
|
+
_b.label = 4;
|
|
97
|
+
case 4:
|
|
98
|
+
localVarApiKeyValue = _a;
|
|
99
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
100
|
+
_b.label = 5;
|
|
101
|
+
case 5: return [2 /*return*/];
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
export var setBasicAuthToObject = function (object, configuration) {
|
|
111
|
+
if (configuration && (configuration.username || configuration.password)) {
|
|
112
|
+
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @export
|
|
118
|
+
*/
|
|
119
|
+
export var setBearerAuthToObject = function (object, configuration) {
|
|
120
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
121
|
+
var accessToken, _a;
|
|
122
|
+
return __generator(this, function (_b) {
|
|
123
|
+
switch (_b.label) {
|
|
124
|
+
case 0:
|
|
125
|
+
if (!(configuration && configuration.accessToken)) return [3 /*break*/, 5];
|
|
126
|
+
if (!(typeof configuration.accessToken === 'function')) return [3 /*break*/, 2];
|
|
127
|
+
return [4 /*yield*/, configuration.accessToken()];
|
|
128
|
+
case 1:
|
|
129
|
+
_a = _b.sent();
|
|
130
|
+
return [3 /*break*/, 4];
|
|
131
|
+
case 2: return [4 /*yield*/, configuration.accessToken];
|
|
132
|
+
case 3:
|
|
133
|
+
_a = _b.sent();
|
|
134
|
+
_b.label = 4;
|
|
135
|
+
case 4:
|
|
136
|
+
accessToken = _a;
|
|
137
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
138
|
+
_b.label = 5;
|
|
139
|
+
case 5: return [2 /*return*/];
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @export
|
|
147
|
+
*/
|
|
148
|
+
export var setOAuthToObject = function (object, name, scopes, configuration) {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
150
|
+
var localVarAccessTokenValue, _a;
|
|
151
|
+
return __generator(this, function (_b) {
|
|
152
|
+
switch (_b.label) {
|
|
153
|
+
case 0:
|
|
154
|
+
if (!(configuration && configuration.accessToken)) return [3 /*break*/, 5];
|
|
155
|
+
if (!(typeof configuration.accessToken === 'function')) return [3 /*break*/, 2];
|
|
156
|
+
return [4 /*yield*/, configuration.accessToken(name, scopes)];
|
|
157
|
+
case 1:
|
|
158
|
+
_a = _b.sent();
|
|
159
|
+
return [3 /*break*/, 4];
|
|
160
|
+
case 2: return [4 /*yield*/, configuration.accessToken];
|
|
161
|
+
case 3:
|
|
162
|
+
_a = _b.sent();
|
|
163
|
+
_b.label = 4;
|
|
164
|
+
case 4:
|
|
165
|
+
localVarAccessTokenValue = _a;
|
|
166
|
+
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
167
|
+
_b.label = 5;
|
|
168
|
+
case 5: return [2 /*return*/];
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
});
|
|
172
|
+
};
|
|
173
|
+
function setFlattenedQueryParams(urlSearchParams, parameter, key) {
|
|
174
|
+
if (key === void 0) { key = ""; }
|
|
175
|
+
if (parameter == null)
|
|
176
|
+
return;
|
|
177
|
+
if (typeof parameter === "object") {
|
|
178
|
+
if (Array.isArray(parameter)) {
|
|
179
|
+
parameter.forEach(function (item) { return setFlattenedQueryParams(urlSearchParams, item, key); });
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
Object.keys(parameter).forEach(function (currentKey) {
|
|
183
|
+
return setFlattenedQueryParams(urlSearchParams, parameter[currentKey], "".concat(key).concat(key !== '' ? '.' : '').concat(currentKey));
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
else {
|
|
188
|
+
if (urlSearchParams.has(key)) {
|
|
189
|
+
urlSearchParams.append(key, parameter);
|
|
190
|
+
}
|
|
191
|
+
else {
|
|
192
|
+
urlSearchParams.set(key, parameter);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @export
|
|
199
|
+
*/
|
|
200
|
+
export var setSearchParams = function (url) {
|
|
201
|
+
var objects = [];
|
|
202
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
203
|
+
objects[_i - 1] = arguments[_i];
|
|
204
|
+
}
|
|
205
|
+
var searchParams = new URLSearchParams(url.search);
|
|
206
|
+
setFlattenedQueryParams(searchParams, objects);
|
|
207
|
+
url.search = searchParams.toString();
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @export
|
|
212
|
+
*/
|
|
213
|
+
export var serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
214
|
+
var nonString = typeof value !== 'string';
|
|
215
|
+
var needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
216
|
+
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
217
|
+
: nonString;
|
|
218
|
+
return needsSerialization
|
|
219
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
220
|
+
: (value || "");
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @export
|
|
225
|
+
*/
|
|
226
|
+
export var toPathString = function (url) {
|
|
227
|
+
return url.pathname + url.search + url.hash;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @export
|
|
232
|
+
*/
|
|
233
|
+
export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
234
|
+
var _this = this;
|
|
235
|
+
return function (axios, basePath) {
|
|
236
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
237
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
238
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
239
|
+
var headers, userAgent, axiosRequestArgs;
|
|
240
|
+
var _a;
|
|
241
|
+
return __generator(this, function (_b) {
|
|
242
|
+
switch (_b.label) {
|
|
243
|
+
case 0:
|
|
244
|
+
headers = __assign({}, axiosArgs.axiosOptions.headers);
|
|
245
|
+
// Node-only headers. Browsers reject a User-Agent override, and a custom
|
|
246
|
+
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
247
|
+
// not allow, which blocks the request outright.
|
|
248
|
+
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
249
|
+
headers['X-SailPoint-SDK'] = 'typescript-1.0.0';
|
|
250
|
+
userAgent = "SailPoint-SDK-TypeScript/1.0.0";
|
|
251
|
+
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
252
|
+
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
253
|
+
}
|
|
254
|
+
userAgent += " (".concat(process.platform, "; ").concat(process.arch, ") Node/").concat(process.versions.node, " (openapi-generator/7.12.0)");
|
|
255
|
+
headers['User-Agent'] = userAgent;
|
|
256
|
+
}
|
|
257
|
+
if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
258
|
+
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
|
|
259
|
+
}
|
|
260
|
+
else if (configuration.experimental == true && ("X-SailPoint-Experimental" in headers)) {
|
|
261
|
+
console.log("Warning: You are using Experimental APIs");
|
|
262
|
+
}
|
|
263
|
+
return [4 /*yield*/, setBearerAuthToObject(headers, configuration)];
|
|
264
|
+
case 1:
|
|
265
|
+
_b.sent();
|
|
266
|
+
axiosRequestArgs = __assign(__assign({}, axiosArgs.axiosOptions), { url: (basePath || (configuration === null || configuration === void 0 ? void 0 : configuration.basePath)) + axiosArgs.url, headers: headers });
|
|
267
|
+
return [2 /*return*/, axios.request(axiosRequestArgs).catch(function (error) {
|
|
268
|
+
var _a;
|
|
269
|
+
if ((error === null || error === void 0 ? void 0 : error.isAxiosError) === true) {
|
|
270
|
+
var clean = new Error((_a = error.message) !== null && _a !== void 0 ? _a : 'API request failed');
|
|
271
|
+
clean.name = 'ApiError';
|
|
272
|
+
clean.stack = error.stack;
|
|
273
|
+
clean.code = error.code;
|
|
274
|
+
if (error.response) {
|
|
275
|
+
clean.status = error.response.status;
|
|
276
|
+
clean.statusText = error.response.statusText;
|
|
277
|
+
clean.data = error.response.data;
|
|
278
|
+
}
|
|
279
|
+
throw clean;
|
|
280
|
+
}
|
|
281
|
+
throw error;
|
|
282
|
+
})];
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
});
|
|
286
|
+
};
|
|
287
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Identity Security Cloud API - JIT Activation Convert
|
|
5
|
+
* Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var Configuration = /** @class */ (function () {
|
|
15
|
+
function Configuration(param) {
|
|
16
|
+
if (param === void 0) { param = {}; }
|
|
17
|
+
this.apiKey = param.apiKey;
|
|
18
|
+
this.username = param.username;
|
|
19
|
+
this.password = param.password;
|
|
20
|
+
this.accessToken = param.accessToken;
|
|
21
|
+
this.basePath = param.basePath;
|
|
22
|
+
this.serverIndex = param.serverIndex;
|
|
23
|
+
this.baseOptions = param.baseOptions;
|
|
24
|
+
this.formDataCtor = param.formDataCtor;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if the given MIME is a JSON MIME.
|
|
28
|
+
* JSON MIME examples:
|
|
29
|
+
* application/json
|
|
30
|
+
* application/json; charset=UTF8
|
|
31
|
+
* APPLICATION/JSON
|
|
32
|
+
* application/vnd.company+json
|
|
33
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
34
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
35
|
+
*/
|
|
36
|
+
Configuration.prototype.isJsonMime = function (mime) {
|
|
37
|
+
var jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
38
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
39
|
+
};
|
|
40
|
+
return Configuration;
|
|
41
|
+
}());
|
|
42
|
+
export { Configuration };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Identity Security Cloud API - JIT Activation Convert
|
|
5
|
+
* Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export * from "./api";
|
|
15
|
+
export * from "../configuration";
|
package/dist/esm/nerm/common.js
CHANGED
|
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
|
|
|
246
246
|
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
247
247
|
// not allow, which blocks the request outright.
|
|
248
248
|
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
249
|
-
headers['X-SailPoint-SDK'] = 'typescript-2.2.
|
|
250
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
249
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.41';
|
|
250
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.41";
|
|
251
251
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
252
252
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
253
253
|
}
|
|
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
|
|
|
246
246
|
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
247
247
|
// not allow, which blocks the request outright.
|
|
248
248
|
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
249
|
-
headers['X-SailPoint-SDK'] = 'typescript-2.2.
|
|
250
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
249
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.41';
|
|
250
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.41";
|
|
251
251
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
252
252
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
253
253
|
}
|
|
@@ -257,7 +257,7 @@ export var PrivilegeCriteriaApiAxiosParamCreator = function (configuration) {
|
|
|
257
257
|
/**
|
|
258
258
|
* Use this API to list all privilege criteria matching a filter
|
|
259
259
|
* @summary List privilege criteria
|
|
260
|
-
* @param {string} filters Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **type**: *eq* **sourceId**: *eq* **privilegeLevel**: *eq*
|
|
260
|
+
* @param {string} filters Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **type**: *eq* **sourceId**: *eq* **privilegeLevel**: *eq* Supported composite operators are *and* All filter values are case-sensitive for this API. For example, the following is valid: `?filters=type eq \"CUSTOM\" and sourceId eq \"2c91809175e6c63f0175fb5570220569\"`
|
|
261
261
|
* @param {*} [axiosOptions] Override http request option.
|
|
262
262
|
* @throws {RequiredError}
|
|
263
263
|
*/
|
|
@@ -408,7 +408,7 @@ export var PrivilegeCriteriaApiFp = function (configuration) {
|
|
|
408
408
|
/**
|
|
409
409
|
* Use this API to list all privilege criteria matching a filter
|
|
410
410
|
* @summary List privilege criteria
|
|
411
|
-
* @param {string} filters Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **type**: *eq* **sourceId**: *eq* **privilegeLevel**: *eq*
|
|
411
|
+
* @param {string} filters Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **type**: *eq* **sourceId**: *eq* **privilegeLevel**: *eq* Supported composite operators are *and* All filter values are case-sensitive for this API. For example, the following is valid: `?filters=type eq \"CUSTOM\" and sourceId eq \"2c91809175e6c63f0175fb5570220569\"`
|
|
412
412
|
* @param {*} [axiosOptions] Override http request option.
|
|
413
413
|
* @throws {RequiredError}
|
|
414
414
|
*/
|
package/dist/esm/sources/api.js
CHANGED
|
@@ -2191,6 +2191,47 @@ export var SourcesApiAxiosParamCreator = function (configuration) {
|
|
|
2191
2191
|
});
|
|
2192
2192
|
});
|
|
2193
2193
|
},
|
|
2194
|
+
/**
|
|
2195
|
+
* Use this API to list the Service Desk Integrations that carry out provisioning for a source in Identity Security Cloud (ISC). A source is provisioned either entirely through its own connector or entirely through a Service Desk Integration; provisioning is never split between the two. An empty list therefore means the source\'s own connector handles provisioning, and a non-empty list means every provisioning request for the source is routed to the integrations named in the response. Use this API to determine why provisioning settings on the source itself have no effect, and to identify the integration an administrator must change instead.
|
|
2196
|
+
* @summary List source service desk integrations
|
|
2197
|
+
* @param {string} sourceId Source ID.
|
|
2198
|
+
* @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.
|
|
2199
|
+
* @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.
|
|
2200
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2201
|
+
* @throws {RequiredError}
|
|
2202
|
+
*/
|
|
2203
|
+
getSourceServiceDeskIntegrationsV1: function (sourceId, limit, offset, axiosOptions) {
|
|
2204
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
2205
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
2206
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2207
|
+
return __generator(this, function (_a) {
|
|
2208
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
2209
|
+
assertParamExists('getSourceServiceDeskIntegrationsV1', 'sourceId', sourceId);
|
|
2210
|
+
localVarPath = "/sources/v1/{sourceId}/service-desk-integrations"
|
|
2211
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)));
|
|
2212
|
+
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2213
|
+
if (configuration) {
|
|
2214
|
+
baseOptions = configuration.baseOptions;
|
|
2215
|
+
}
|
|
2216
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
2217
|
+
localVarHeaderParameter = {};
|
|
2218
|
+
localVarQueryParameter = {};
|
|
2219
|
+
if (limit !== undefined) {
|
|
2220
|
+
localVarQueryParameter['limit'] = limit;
|
|
2221
|
+
}
|
|
2222
|
+
if (offset !== undefined) {
|
|
2223
|
+
localVarQueryParameter['offset'] = offset;
|
|
2224
|
+
}
|
|
2225
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2226
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2227
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
2228
|
+
return [2 /*return*/, {
|
|
2229
|
+
url: toPathString(localVarUrlObj),
|
|
2230
|
+
axiosOptions: localVarRequestOptions,
|
|
2231
|
+
}];
|
|
2232
|
+
});
|
|
2233
|
+
});
|
|
2234
|
+
},
|
|
2194
2235
|
/**
|
|
2195
2236
|
* Use this API to get a source by a specified ID in Identity Security Cloud (ISC).
|
|
2196
2237
|
* @summary Get source by id
|
|
@@ -4733,6 +4774,31 @@ export var SourcesApiFp = function (configuration) {
|
|
|
4733
4774
|
});
|
|
4734
4775
|
});
|
|
4735
4776
|
},
|
|
4777
|
+
/**
|
|
4778
|
+
* Use this API to list the Service Desk Integrations that carry out provisioning for a source in Identity Security Cloud (ISC). A source is provisioned either entirely through its own connector or entirely through a Service Desk Integration; provisioning is never split between the two. An empty list therefore means the source\'s own connector handles provisioning, and a non-empty list means every provisioning request for the source is routed to the integrations named in the response. Use this API to determine why provisioning settings on the source itself have no effect, and to identify the integration an administrator must change instead.
|
|
4779
|
+
* @summary List source service desk integrations
|
|
4780
|
+
* @param {string} sourceId Source ID.
|
|
4781
|
+
* @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.
|
|
4782
|
+
* @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.
|
|
4783
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
4784
|
+
* @throws {RequiredError}
|
|
4785
|
+
*/
|
|
4786
|
+
getSourceServiceDeskIntegrationsV1: function (sourceId, limit, offset, axiosOptions) {
|
|
4787
|
+
var _a, _b, _c;
|
|
4788
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4789
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4790
|
+
return __generator(this, function (_d) {
|
|
4791
|
+
switch (_d.label) {
|
|
4792
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSourceServiceDeskIntegrationsV1(sourceId, limit, offset, axiosOptions)];
|
|
4793
|
+
case 1:
|
|
4794
|
+
localVarAxiosArgs = _d.sent();
|
|
4795
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4796
|
+
localVarOperationServerBasePath = (_c = (_b = operationServerMap['SourcesApi.getSourceServiceDeskIntegrationsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4797
|
+
return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4798
|
+
}
|
|
4799
|
+
});
|
|
4800
|
+
});
|
|
4801
|
+
},
|
|
4736
4802
|
/**
|
|
4737
4803
|
* Use this API to get a source by a specified ID in Identity Security Cloud (ISC).
|
|
4738
4804
|
* @summary Get source by id
|
|
@@ -6073,6 +6139,16 @@ export var SourcesApiFactory = function (configuration, basePath, axios) {
|
|
|
6073
6139
|
getSourceSchemasV1: function (requestParameters, axiosOptions) {
|
|
6074
6140
|
return localVarFp.getSourceSchemasV1(requestParameters.sourceId, requestParameters.includeTypes, requestParameters.includeNames, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
6075
6141
|
},
|
|
6142
|
+
/**
|
|
6143
|
+
* Use this API to list the Service Desk Integrations that carry out provisioning for a source in Identity Security Cloud (ISC). A source is provisioned either entirely through its own connector or entirely through a Service Desk Integration; provisioning is never split between the two. An empty list therefore means the source\'s own connector handles provisioning, and a non-empty list means every provisioning request for the source is routed to the integrations named in the response. Use this API to determine why provisioning settings on the source itself have no effect, and to identify the integration an administrator must change instead.
|
|
6144
|
+
* @summary List source service desk integrations
|
|
6145
|
+
* @param {SourcesApiGetSourceServiceDeskIntegrationsV1Request} requestParameters Request parameters.
|
|
6146
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
6147
|
+
* @throws {RequiredError}
|
|
6148
|
+
*/
|
|
6149
|
+
getSourceServiceDeskIntegrationsV1: function (requestParameters, axiosOptions) {
|
|
6150
|
+
return localVarFp.getSourceServiceDeskIntegrationsV1(requestParameters.sourceId, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
6151
|
+
},
|
|
6076
6152
|
/**
|
|
6077
6153
|
* Use this API to get a source by a specified ID in Identity Security Cloud (ISC).
|
|
6078
6154
|
* @summary Get source by id
|
|
@@ -6935,6 +7011,18 @@ var SourcesApi = /** @class */ (function (_super) {
|
|
|
6935
7011
|
var _this = this;
|
|
6936
7012
|
return SourcesApiFp(this.configuration).getSourceSchemasV1(requestParameters.sourceId, requestParameters.includeTypes, requestParameters.includeNames, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6937
7013
|
};
|
|
7014
|
+
/**
|
|
7015
|
+
* Use this API to list the Service Desk Integrations that carry out provisioning for a source in Identity Security Cloud (ISC). A source is provisioned either entirely through its own connector or entirely through a Service Desk Integration; provisioning is never split between the two. An empty list therefore means the source\'s own connector handles provisioning, and a non-empty list means every provisioning request for the source is routed to the integrations named in the response. Use this API to determine why provisioning settings on the source itself have no effect, and to identify the integration an administrator must change instead.
|
|
7016
|
+
* @summary List source service desk integrations
|
|
7017
|
+
* @param {SourcesApiGetSourceServiceDeskIntegrationsV1Request} requestParameters Request parameters.
|
|
7018
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7019
|
+
* @throws {RequiredError}
|
|
7020
|
+
* @memberof SourcesApi
|
|
7021
|
+
*/
|
|
7022
|
+
SourcesApi.prototype.getSourceServiceDeskIntegrationsV1 = function (requestParameters, axiosOptions) {
|
|
7023
|
+
var _this = this;
|
|
7024
|
+
return SourcesApiFp(this.configuration).getSourceServiceDeskIntegrationsV1(requestParameters.sourceId, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7025
|
+
};
|
|
6938
7026
|
/**
|
|
6939
7027
|
* Use this API to get a source by a specified ID in Identity Security Cloud (ISC).
|
|
6940
7028
|
* @summary Get source by id
|