sailpoint-api-client 1.8.24 → 1.8.25
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/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/common.js +2 -2
- package/dist/nerm/common.js +2 -2
- package/dist/nermv2025/common.js +2 -2
- package/dist/paginator.d.ts +1 -1
- package/dist/paginator.js +144 -87
- package/dist/paginator.js.map +1 -1
- package/dist/paginator.spec.d.ts +1 -0
- package/dist/paginator.spec.js +273 -0
- package/dist/paginator.spec.js.map +1 -0
- package/dist/v2024/common.js +2 -2
- package/dist/v2025/api.d.ts +144 -0
- package/dist/v2025/api.js +230 -0
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +2 -2
- package/dist/v2026/api.d.ts +481 -0
- package/dist/v2026/api.js +607 -20
- package/dist/v2026/api.js.map +1 -1
- package/dist/v2026/common.js +2 -2
- package/dist/v3/common.js +2 -2
- package/nerm/README.md +2 -2
- package/nerm/common.ts +2 -2
- package/nerm/package.json +1 -1
- package/nermv2025/README.md +2 -2
- package/nermv2025/common.ts +2 -2
- package/nermv2025/package.json +1 -1
- package/package.json +1 -1
- package/paginator.spec.ts +158 -0
- package/paginator.ts +101 -62
- package/v2024/README.md +2 -2
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +256 -0
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +757 -0
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
+
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;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
var paginator_1 = require("./paginator");
|
|
40
|
+
function makeResponse(count) {
|
|
41
|
+
return {
|
|
42
|
+
data: Array.from({ length: count }, function (_, i) { return ({ id: i }); }),
|
|
43
|
+
status: 200,
|
|
44
|
+
statusText: "OK",
|
|
45
|
+
headers: {},
|
|
46
|
+
config: {},
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function makeAxiosError(status) {
|
|
50
|
+
var err = new Error("Request failed with status code ".concat(status));
|
|
51
|
+
err.response = { status: status };
|
|
52
|
+
return err;
|
|
53
|
+
}
|
|
54
|
+
// Collects all items from an async generator without relying on for-await-of
|
|
55
|
+
// so we don't need ES2018.asyncIterable in the tsconfig lib.
|
|
56
|
+
function collect(generator) {
|
|
57
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
58
|
+
var items, result;
|
|
59
|
+
return __generator(this, function (_a) {
|
|
60
|
+
switch (_a.label) {
|
|
61
|
+
case 0:
|
|
62
|
+
items = [];
|
|
63
|
+
return [4 /*yield*/, generator.next()];
|
|
64
|
+
case 1:
|
|
65
|
+
result = _a.sent();
|
|
66
|
+
_a.label = 2;
|
|
67
|
+
case 2:
|
|
68
|
+
if (!!result.done) return [3 /*break*/, 4];
|
|
69
|
+
items.push(result.value);
|
|
70
|
+
return [4 /*yield*/, generator.next()];
|
|
71
|
+
case 3:
|
|
72
|
+
result = _a.sent();
|
|
73
|
+
return [3 /*break*/, 2];
|
|
74
|
+
case 4: return [2 /*return*/, items];
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
describe("Paginator.paginate", function () {
|
|
80
|
+
it("returns all results when the total is less than the increment", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
81
|
+
var mockFn, result;
|
|
82
|
+
return __generator(this, function (_a) {
|
|
83
|
+
switch (_a.label) {
|
|
84
|
+
case 0:
|
|
85
|
+
mockFn = jest.fn().mockResolvedValueOnce(makeResponse(123));
|
|
86
|
+
return [4 /*yield*/, paginator_1.Paginator.paginate({}, mockFn, {}, 250)];
|
|
87
|
+
case 1:
|
|
88
|
+
result = _a.sent();
|
|
89
|
+
expect(result.data).toHaveLength(123);
|
|
90
|
+
expect(mockFn).toHaveBeenCalledTimes(1);
|
|
91
|
+
return [2 /*return*/];
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
}); });
|
|
95
|
+
it("returns all results when the total is an exact multiple of the increment (the boundary bug)", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
96
|
+
var mockFn, result;
|
|
97
|
+
return __generator(this, function (_a) {
|
|
98
|
+
switch (_a.label) {
|
|
99
|
+
case 0:
|
|
100
|
+
mockFn = jest.fn()
|
|
101
|
+
.mockResolvedValueOnce(makeResponse(250))
|
|
102
|
+
.mockRejectedValueOnce(makeAxiosError(400));
|
|
103
|
+
return [4 /*yield*/, paginator_1.Paginator.paginate({}, mockFn, {}, 250)];
|
|
104
|
+
case 1:
|
|
105
|
+
result = _a.sent();
|
|
106
|
+
expect(result.data).toHaveLength(250);
|
|
107
|
+
expect(mockFn).toHaveBeenCalledTimes(2);
|
|
108
|
+
return [2 /*return*/];
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
}); });
|
|
112
|
+
it("returns all results across multiple pages when the total is an exact multiple of the increment", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
113
|
+
var mockFn, result;
|
|
114
|
+
return __generator(this, function (_a) {
|
|
115
|
+
switch (_a.label) {
|
|
116
|
+
case 0:
|
|
117
|
+
mockFn = jest.fn()
|
|
118
|
+
.mockResolvedValueOnce(makeResponse(250))
|
|
119
|
+
.mockResolvedValueOnce(makeResponse(250))
|
|
120
|
+
.mockRejectedValueOnce(makeAxiosError(400));
|
|
121
|
+
return [4 /*yield*/, paginator_1.Paginator.paginate({}, mockFn, {}, 250)];
|
|
122
|
+
case 1:
|
|
123
|
+
result = _a.sent();
|
|
124
|
+
expect(result.data).toHaveLength(500);
|
|
125
|
+
expect(mockFn).toHaveBeenCalledTimes(3);
|
|
126
|
+
return [2 /*return*/];
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}); });
|
|
130
|
+
it("returns all results across multiple full pages followed by a partial page", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
131
|
+
var mockFn, result;
|
|
132
|
+
return __generator(this, function (_a) {
|
|
133
|
+
switch (_a.label) {
|
|
134
|
+
case 0:
|
|
135
|
+
mockFn = jest.fn()
|
|
136
|
+
.mockResolvedValueOnce(makeResponse(250))
|
|
137
|
+
.mockResolvedValueOnce(makeResponse(87));
|
|
138
|
+
return [4 /*yield*/, paginator_1.Paginator.paginate({}, mockFn, {}, 250)];
|
|
139
|
+
case 1:
|
|
140
|
+
result = _a.sent();
|
|
141
|
+
expect(result.data).toHaveLength(337);
|
|
142
|
+
expect(mockFn).toHaveBeenCalledTimes(2);
|
|
143
|
+
return [2 /*return*/];
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
}); });
|
|
147
|
+
it("re-throws a 4xx error on the first call", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
148
|
+
var mockFn;
|
|
149
|
+
return __generator(this, function (_a) {
|
|
150
|
+
switch (_a.label) {
|
|
151
|
+
case 0:
|
|
152
|
+
mockFn = jest.fn().mockRejectedValueOnce(makeAxiosError(400));
|
|
153
|
+
return [4 /*yield*/, expect(paginator_1.Paginator.paginate({}, mockFn, {}, 250)).rejects.toMatchObject({ response: { status: 400 } })];
|
|
154
|
+
case 1:
|
|
155
|
+
_a.sent();
|
|
156
|
+
return [2 /*return*/];
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
}); });
|
|
160
|
+
it("re-throws a 5xx error on a subsequent page", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
161
|
+
var mockFn;
|
|
162
|
+
return __generator(this, function (_a) {
|
|
163
|
+
switch (_a.label) {
|
|
164
|
+
case 0:
|
|
165
|
+
mockFn = jest.fn()
|
|
166
|
+
.mockResolvedValueOnce(makeResponse(250))
|
|
167
|
+
.mockRejectedValueOnce(makeAxiosError(500));
|
|
168
|
+
return [4 /*yield*/, expect(paginator_1.Paginator.paginate({}, mockFn, {}, 250)).rejects.toMatchObject({ response: { status: 500 } })];
|
|
169
|
+
case 1:
|
|
170
|
+
_a.sent();
|
|
171
|
+
return [2 /*return*/];
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
}); });
|
|
175
|
+
});
|
|
176
|
+
describe("Paginator.paginateGenerator", function () {
|
|
177
|
+
it("yields all results when the total is less than the increment", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
178
|
+
var mockFn, items;
|
|
179
|
+
return __generator(this, function (_a) {
|
|
180
|
+
switch (_a.label) {
|
|
181
|
+
case 0:
|
|
182
|
+
mockFn = jest.fn().mockResolvedValueOnce(makeResponse(123));
|
|
183
|
+
return [4 /*yield*/, collect(paginator_1.Paginator.paginateGenerator({}, mockFn, {}, 250))];
|
|
184
|
+
case 1:
|
|
185
|
+
items = _a.sent();
|
|
186
|
+
expect(items).toHaveLength(123);
|
|
187
|
+
expect(mockFn).toHaveBeenCalledTimes(1);
|
|
188
|
+
return [2 /*return*/];
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
}); });
|
|
192
|
+
it("yields all results when the total is an exact multiple of the increment (the boundary bug)", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
193
|
+
var mockFn, items;
|
|
194
|
+
return __generator(this, function (_a) {
|
|
195
|
+
switch (_a.label) {
|
|
196
|
+
case 0:
|
|
197
|
+
mockFn = jest.fn()
|
|
198
|
+
.mockResolvedValueOnce(makeResponse(250))
|
|
199
|
+
.mockRejectedValueOnce(makeAxiosError(400));
|
|
200
|
+
return [4 /*yield*/, collect(paginator_1.Paginator.paginateGenerator({}, mockFn, {}, 250))];
|
|
201
|
+
case 1:
|
|
202
|
+
items = _a.sent();
|
|
203
|
+
expect(items).toHaveLength(250);
|
|
204
|
+
expect(mockFn).toHaveBeenCalledTimes(2);
|
|
205
|
+
return [2 /*return*/];
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
}); });
|
|
209
|
+
it("yields all results across multiple pages when the total is an exact multiple of the increment", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
210
|
+
var mockFn, items;
|
|
211
|
+
return __generator(this, function (_a) {
|
|
212
|
+
switch (_a.label) {
|
|
213
|
+
case 0:
|
|
214
|
+
mockFn = jest.fn()
|
|
215
|
+
.mockResolvedValueOnce(makeResponse(250))
|
|
216
|
+
.mockResolvedValueOnce(makeResponse(250))
|
|
217
|
+
.mockRejectedValueOnce(makeAxiosError(400));
|
|
218
|
+
return [4 /*yield*/, collect(paginator_1.Paginator.paginateGenerator({}, mockFn, {}, 250))];
|
|
219
|
+
case 1:
|
|
220
|
+
items = _a.sent();
|
|
221
|
+
expect(items).toHaveLength(500);
|
|
222
|
+
expect(mockFn).toHaveBeenCalledTimes(3);
|
|
223
|
+
return [2 /*return*/];
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
}); });
|
|
227
|
+
it("yields all results across multiple full pages followed by a partial page", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
228
|
+
var mockFn, items;
|
|
229
|
+
return __generator(this, function (_a) {
|
|
230
|
+
switch (_a.label) {
|
|
231
|
+
case 0:
|
|
232
|
+
mockFn = jest.fn()
|
|
233
|
+
.mockResolvedValueOnce(makeResponse(250))
|
|
234
|
+
.mockResolvedValueOnce(makeResponse(87));
|
|
235
|
+
return [4 /*yield*/, collect(paginator_1.Paginator.paginateGenerator({}, mockFn, {}, 250))];
|
|
236
|
+
case 1:
|
|
237
|
+
items = _a.sent();
|
|
238
|
+
expect(items).toHaveLength(337);
|
|
239
|
+
expect(mockFn).toHaveBeenCalledTimes(2);
|
|
240
|
+
return [2 /*return*/];
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
}); });
|
|
244
|
+
it("re-throws a 4xx error on the first call", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
245
|
+
var mockFn;
|
|
246
|
+
return __generator(this, function (_a) {
|
|
247
|
+
switch (_a.label) {
|
|
248
|
+
case 0:
|
|
249
|
+
mockFn = jest.fn().mockRejectedValueOnce(makeAxiosError(400));
|
|
250
|
+
return [4 /*yield*/, expect(collect(paginator_1.Paginator.paginateGenerator({}, mockFn, {}, 250))).rejects.toMatchObject({ response: { status: 400 } })];
|
|
251
|
+
case 1:
|
|
252
|
+
_a.sent();
|
|
253
|
+
return [2 /*return*/];
|
|
254
|
+
}
|
|
255
|
+
});
|
|
256
|
+
}); });
|
|
257
|
+
it("re-throws a 5xx error on a subsequent page", function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
258
|
+
var mockFn;
|
|
259
|
+
return __generator(this, function (_a) {
|
|
260
|
+
switch (_a.label) {
|
|
261
|
+
case 0:
|
|
262
|
+
mockFn = jest.fn()
|
|
263
|
+
.mockResolvedValueOnce(makeResponse(250))
|
|
264
|
+
.mockRejectedValueOnce(makeAxiosError(500));
|
|
265
|
+
return [4 /*yield*/, expect(collect(paginator_1.Paginator.paginateGenerator({}, mockFn, {}, 250))).rejects.toMatchObject({ response: { status: 500 } })];
|
|
266
|
+
case 1:
|
|
267
|
+
_a.sent();
|
|
268
|
+
return [2 /*return*/];
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
}); });
|
|
272
|
+
});
|
|
273
|
+
//# sourceMappingURL=paginator.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1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O,CAAC,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,EAAA;;oBAFtD,SAEsD,CAAC;;;;SACxD,CAAC,CAAC;IAEH,EAAE,CAAC,4CAA4C,EAAE;;;;;oBACzC,MAAM,GAAG,IAAI,CAAC,EAAE,EAAE;yBACrB,qBAAqB,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;yBACxC,qBAAqB,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;oBAE9C,qBAAM,MAAM,CACV,OAAO,CAAC,qBAAS,CAAC,iBAAiB,CAAC,EAAS,EAAE,MAAM,EAAE,EAAS,EAAE,GAAG,CAAC,CAAC,CACxE,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,EAAA;;oBAFtD,SAEsD,CAAC;;;;SACxD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/v2024/common.js
CHANGED
|
@@ -250,12 +250,12 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
250
250
|
if (axios === void 0) { axios = globalAxios; }
|
|
251
251
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
252
252
|
(0, axios_retry_1.default)(axios, configuration.retriesConfig);
|
|
253
|
-
var userAgent = "SailPoint-SDK-TypeScript/1.8.
|
|
253
|
+
var userAgent = "SailPoint-SDK-TypeScript/1.8.25";
|
|
254
254
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
255
255
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
256
256
|
}
|
|
257
257
|
userAgent += " (".concat(process.platform, "; ").concat(process.arch, ") Node/").concat(process.versions.node, " (openapi-generator/7.12.0)");
|
|
258
|
-
var headers = __assign(__assign(__assign({}, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.8.
|
|
258
|
+
var headers = __assign(__assign(__assign({}, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.8.25' }), { 'User-Agent': userAgent });
|
|
259
259
|
if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
260
260
|
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
|
|
261
261
|
}
|
package/dist/v2025/api.d.ts
CHANGED
|
@@ -39695,6 +39695,50 @@ export interface RoleMiningSessionStatusV2025 {
|
|
|
39695
39695
|
*/
|
|
39696
39696
|
'state'?: RoleMiningSessionStateV2025;
|
|
39697
39697
|
}
|
|
39698
|
+
/**
|
|
39699
|
+
* Role Change Propagation Config Input
|
|
39700
|
+
* @export
|
|
39701
|
+
* @interface RolePropagationConfigInputV2025
|
|
39702
|
+
*/
|
|
39703
|
+
export interface RolePropagationConfigInputV2025 {
|
|
39704
|
+
/**
|
|
39705
|
+
* Indicates if the Role Change Propagation process should be enabled for the tenant
|
|
39706
|
+
* @type {boolean}
|
|
39707
|
+
* @memberof RolePropagationConfigInputV2025
|
|
39708
|
+
*/
|
|
39709
|
+
'enabled'?: boolean;
|
|
39710
|
+
}
|
|
39711
|
+
/**
|
|
39712
|
+
* Role Change Propagation Config Response
|
|
39713
|
+
* @export
|
|
39714
|
+
* @interface RolePropagationConfigResponseV2025
|
|
39715
|
+
*/
|
|
39716
|
+
export interface RolePropagationConfigResponseV2025 {
|
|
39717
|
+
/**
|
|
39718
|
+
* Indicates if the Role Change Propagation process is enabled for the tenant
|
|
39719
|
+
* @type {boolean}
|
|
39720
|
+
* @memberof RolePropagationConfigResponseV2025
|
|
39721
|
+
*/
|
|
39722
|
+
'enabled'?: boolean;
|
|
39723
|
+
/**
|
|
39724
|
+
* The time when Role Change Propagation Process was last enabled on the tenant
|
|
39725
|
+
* @type {string}
|
|
39726
|
+
* @memberof RolePropagationConfigResponseV2025
|
|
39727
|
+
*/
|
|
39728
|
+
'enabledDate'?: string;
|
|
39729
|
+
/**
|
|
39730
|
+
* The time when Role Change Propagation Configuration was first created for the tenant
|
|
39731
|
+
* @type {string}
|
|
39732
|
+
* @memberof RolePropagationConfigResponseV2025
|
|
39733
|
+
*/
|
|
39734
|
+
'createdDate'?: string;
|
|
39735
|
+
/**
|
|
39736
|
+
* The time when Role Change Propagation Config was updated on the tenant
|
|
39737
|
+
* @type {string}
|
|
39738
|
+
* @memberof RolePropagationConfigResponseV2025
|
|
39739
|
+
*/
|
|
39740
|
+
'modifiedDate'?: string;
|
|
39741
|
+
}
|
|
39698
39742
|
/**
|
|
39699
39743
|
* Details of the ongoing role propagation process
|
|
39700
39744
|
* @export
|
|
@@ -86670,6 +86714,14 @@ export declare const RolePropagationV2025ApiAxiosParamCreator: (configuration?:
|
|
|
86670
86714
|
* @throws {RequiredError}
|
|
86671
86715
|
*/
|
|
86672
86716
|
getOngoingRolePropagation: (xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
86717
|
+
/**
|
|
86718
|
+
* This endpoint fetches the Role Change Propagation Configuration for the tenant
|
|
86719
|
+
* @summary Get Role Change Propagation Configuration
|
|
86720
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
86721
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
86722
|
+
* @throws {RequiredError}
|
|
86723
|
+
*/
|
|
86724
|
+
getRolePropagationConfig: (xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
86673
86725
|
/**
|
|
86674
86726
|
* This endpoint returns the information of the specified role change propagation process. The execution stage of the role propagation process can be one of the following: - PENDING - The role propagation process is queued to be executed. - DATA_AGGREGATION_RUNNING - The role propagation process is currently aggregating data. - LAUNCH_PROVISIONING - The role propagation process has started to provision the access to the identities. - SUCCEEDED - The role propagation process has successfully completed. - FAILED - The role propagation process has failed. - TERMINATED - The role propagation process was externally terminated.
|
|
86675
86727
|
* @summary Get status of Role-Propagation process
|
|
@@ -86679,6 +86731,15 @@ export declare const RolePropagationV2025ApiAxiosParamCreator: (configuration?:
|
|
|
86679
86731
|
* @throws {RequiredError}
|
|
86680
86732
|
*/
|
|
86681
86733
|
getRolePropagationStatus: (rolePropagationId: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
86734
|
+
/**
|
|
86735
|
+
* This endpoint enables or disables the Role Change Propagation Process for the tenant
|
|
86736
|
+
* @summary Update Role Change Propagation Configuration
|
|
86737
|
+
* @param {RolePropagationConfigInputV2025} rolePropagationConfigInputV2025
|
|
86738
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
86739
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
86740
|
+
* @throws {RequiredError}
|
|
86741
|
+
*/
|
|
86742
|
+
setRolePropagationConfig: (rolePropagationConfigInputV2025: RolePropagationConfigInputV2025, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
86682
86743
|
/**
|
|
86683
86744
|
* This endpoint initiates a role change propagation process for a tenant asynchronously. If all preconditions are met, the request is accepted and a rolePropagationId is returned which can be used to view the status. API throws 4xx if any of the following conditions are met - Role propagation feature is disabled - There is an ongoing role propagation for the tenant - Role refresh needs to be kicked off as part of the role propagation (skipRoleRefresh=false) and there is an ongoing refresh for the tenant
|
|
86684
86745
|
* @summary Initiate Role Propagation process
|
|
@@ -86710,6 +86771,14 @@ export declare const RolePropagationV2025ApiFp: (configuration?: Configuration)
|
|
|
86710
86771
|
* @throws {RequiredError}
|
|
86711
86772
|
*/
|
|
86712
86773
|
getOngoingRolePropagation(xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RolePropagationOngoingResponseV2025>>;
|
|
86774
|
+
/**
|
|
86775
|
+
* This endpoint fetches the Role Change Propagation Configuration for the tenant
|
|
86776
|
+
* @summary Get Role Change Propagation Configuration
|
|
86777
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
86778
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
86779
|
+
* @throws {RequiredError}
|
|
86780
|
+
*/
|
|
86781
|
+
getRolePropagationConfig(xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RolePropagationConfigResponseV2025>>;
|
|
86713
86782
|
/**
|
|
86714
86783
|
* This endpoint returns the information of the specified role change propagation process. The execution stage of the role propagation process can be one of the following: - PENDING - The role propagation process is queued to be executed. - DATA_AGGREGATION_RUNNING - The role propagation process is currently aggregating data. - LAUNCH_PROVISIONING - The role propagation process has started to provision the access to the identities. - SUCCEEDED - The role propagation process has successfully completed. - FAILED - The role propagation process has failed. - TERMINATED - The role propagation process was externally terminated.
|
|
86715
86784
|
* @summary Get status of Role-Propagation process
|
|
@@ -86719,6 +86788,15 @@ export declare const RolePropagationV2025ApiFp: (configuration?: Configuration)
|
|
|
86719
86788
|
* @throws {RequiredError}
|
|
86720
86789
|
*/
|
|
86721
86790
|
getRolePropagationStatus(rolePropagationId: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RolePropagationStatusResponseV2025>>;
|
|
86791
|
+
/**
|
|
86792
|
+
* This endpoint enables or disables the Role Change Propagation Process for the tenant
|
|
86793
|
+
* @summary Update Role Change Propagation Configuration
|
|
86794
|
+
* @param {RolePropagationConfigInputV2025} rolePropagationConfigInputV2025
|
|
86795
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
86796
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
86797
|
+
* @throws {RequiredError}
|
|
86798
|
+
*/
|
|
86799
|
+
setRolePropagationConfig(rolePropagationConfigInputV2025: RolePropagationConfigInputV2025, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RolePropagationConfigResponseV2025>>;
|
|
86722
86800
|
/**
|
|
86723
86801
|
* This endpoint initiates a role change propagation process for a tenant asynchronously. If all preconditions are met, the request is accepted and a rolePropagationId is returned which can be used to view the status. API throws 4xx if any of the following conditions are met - Role propagation feature is disabled - There is an ongoing role propagation for the tenant - Role refresh needs to be kicked off as part of the role propagation (skipRoleRefresh=false) and there is an ongoing refresh for the tenant
|
|
86724
86802
|
* @summary Initiate Role Propagation process
|
|
@@ -86750,6 +86828,14 @@ export declare const RolePropagationV2025ApiFactory: (configuration?: Configurat
|
|
|
86750
86828
|
* @throws {RequiredError}
|
|
86751
86829
|
*/
|
|
86752
86830
|
getOngoingRolePropagation(requestParameters?: RolePropagationV2025ApiGetOngoingRolePropagationRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<RolePropagationOngoingResponseV2025>;
|
|
86831
|
+
/**
|
|
86832
|
+
* This endpoint fetches the Role Change Propagation Configuration for the tenant
|
|
86833
|
+
* @summary Get Role Change Propagation Configuration
|
|
86834
|
+
* @param {RolePropagationV2025ApiGetRolePropagationConfigRequest} requestParameters Request parameters.
|
|
86835
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
86836
|
+
* @throws {RequiredError}
|
|
86837
|
+
*/
|
|
86838
|
+
getRolePropagationConfig(requestParameters?: RolePropagationV2025ApiGetRolePropagationConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<RolePropagationConfigResponseV2025>;
|
|
86753
86839
|
/**
|
|
86754
86840
|
* This endpoint returns the information of the specified role change propagation process. The execution stage of the role propagation process can be one of the following: - PENDING - The role propagation process is queued to be executed. - DATA_AGGREGATION_RUNNING - The role propagation process is currently aggregating data. - LAUNCH_PROVISIONING - The role propagation process has started to provision the access to the identities. - SUCCEEDED - The role propagation process has successfully completed. - FAILED - The role propagation process has failed. - TERMINATED - The role propagation process was externally terminated.
|
|
86755
86841
|
* @summary Get status of Role-Propagation process
|
|
@@ -86758,6 +86844,14 @@ export declare const RolePropagationV2025ApiFactory: (configuration?: Configurat
|
|
|
86758
86844
|
* @throws {RequiredError}
|
|
86759
86845
|
*/
|
|
86760
86846
|
getRolePropagationStatus(requestParameters: RolePropagationV2025ApiGetRolePropagationStatusRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<RolePropagationStatusResponseV2025>;
|
|
86847
|
+
/**
|
|
86848
|
+
* This endpoint enables or disables the Role Change Propagation Process for the tenant
|
|
86849
|
+
* @summary Update Role Change Propagation Configuration
|
|
86850
|
+
* @param {RolePropagationV2025ApiSetRolePropagationConfigRequest} requestParameters Request parameters.
|
|
86851
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
86852
|
+
* @throws {RequiredError}
|
|
86853
|
+
*/
|
|
86854
|
+
setRolePropagationConfig(requestParameters: RolePropagationV2025ApiSetRolePropagationConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<RolePropagationConfigResponseV2025>;
|
|
86761
86855
|
/**
|
|
86762
86856
|
* This endpoint initiates a role change propagation process for a tenant asynchronously. If all preconditions are met, the request is accepted and a rolePropagationId is returned which can be used to view the status. API throws 4xx if any of the following conditions are met - Role propagation feature is disabled - There is an ongoing role propagation for the tenant - Role refresh needs to be kicked off as part of the role propagation (skipRoleRefresh=false) and there is an ongoing refresh for the tenant
|
|
86763
86857
|
* @summary Initiate Role Propagation process
|
|
@@ -86793,6 +86887,19 @@ export interface RolePropagationV2025ApiGetOngoingRolePropagationRequest {
|
|
|
86793
86887
|
*/
|
|
86794
86888
|
readonly xSailPointExperimental?: string;
|
|
86795
86889
|
}
|
|
86890
|
+
/**
|
|
86891
|
+
* Request parameters for getRolePropagationConfig operation in RolePropagationV2025Api.
|
|
86892
|
+
* @export
|
|
86893
|
+
* @interface RolePropagationV2025ApiGetRolePropagationConfigRequest
|
|
86894
|
+
*/
|
|
86895
|
+
export interface RolePropagationV2025ApiGetRolePropagationConfigRequest {
|
|
86896
|
+
/**
|
|
86897
|
+
* Use this header to enable this experimental API.
|
|
86898
|
+
* @type {string}
|
|
86899
|
+
* @memberof RolePropagationV2025ApiGetRolePropagationConfig
|
|
86900
|
+
*/
|
|
86901
|
+
readonly xSailPointExperimental?: string;
|
|
86902
|
+
}
|
|
86796
86903
|
/**
|
|
86797
86904
|
* Request parameters for getRolePropagationStatus operation in RolePropagationV2025Api.
|
|
86798
86905
|
* @export
|
|
@@ -86812,6 +86919,25 @@ export interface RolePropagationV2025ApiGetRolePropagationStatusRequest {
|
|
|
86812
86919
|
*/
|
|
86813
86920
|
readonly xSailPointExperimental?: string;
|
|
86814
86921
|
}
|
|
86922
|
+
/**
|
|
86923
|
+
* Request parameters for setRolePropagationConfig operation in RolePropagationV2025Api.
|
|
86924
|
+
* @export
|
|
86925
|
+
* @interface RolePropagationV2025ApiSetRolePropagationConfigRequest
|
|
86926
|
+
*/
|
|
86927
|
+
export interface RolePropagationV2025ApiSetRolePropagationConfigRequest {
|
|
86928
|
+
/**
|
|
86929
|
+
*
|
|
86930
|
+
* @type {RolePropagationConfigInputV2025}
|
|
86931
|
+
* @memberof RolePropagationV2025ApiSetRolePropagationConfig
|
|
86932
|
+
*/
|
|
86933
|
+
readonly rolePropagationConfigInputV2025: RolePropagationConfigInputV2025;
|
|
86934
|
+
/**
|
|
86935
|
+
* Use this header to enable this experimental API.
|
|
86936
|
+
* @type {string}
|
|
86937
|
+
* @memberof RolePropagationV2025ApiSetRolePropagationConfig
|
|
86938
|
+
*/
|
|
86939
|
+
readonly xSailPointExperimental?: string;
|
|
86940
|
+
}
|
|
86815
86941
|
/**
|
|
86816
86942
|
* Request parameters for startRolePropagation operation in RolePropagationV2025Api.
|
|
86817
86943
|
* @export
|
|
@@ -86856,6 +86982,15 @@ export declare class RolePropagationV2025Api extends BaseAPI {
|
|
|
86856
86982
|
* @memberof RolePropagationV2025Api
|
|
86857
86983
|
*/
|
|
86858
86984
|
getOngoingRolePropagation(requestParameters?: RolePropagationV2025ApiGetOngoingRolePropagationRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RolePropagationOngoingResponseV2025, any>>;
|
|
86985
|
+
/**
|
|
86986
|
+
* This endpoint fetches the Role Change Propagation Configuration for the tenant
|
|
86987
|
+
* @summary Get Role Change Propagation Configuration
|
|
86988
|
+
* @param {RolePropagationV2025ApiGetRolePropagationConfigRequest} requestParameters Request parameters.
|
|
86989
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
86990
|
+
* @throws {RequiredError}
|
|
86991
|
+
* @memberof RolePropagationV2025Api
|
|
86992
|
+
*/
|
|
86993
|
+
getRolePropagationConfig(requestParameters?: RolePropagationV2025ApiGetRolePropagationConfigRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RolePropagationConfigResponseV2025, any>>;
|
|
86859
86994
|
/**
|
|
86860
86995
|
* This endpoint returns the information of the specified role change propagation process. The execution stage of the role propagation process can be one of the following: - PENDING - The role propagation process is queued to be executed. - DATA_AGGREGATION_RUNNING - The role propagation process is currently aggregating data. - LAUNCH_PROVISIONING - The role propagation process has started to provision the access to the identities. - SUCCEEDED - The role propagation process has successfully completed. - FAILED - The role propagation process has failed. - TERMINATED - The role propagation process was externally terminated.
|
|
86861
86996
|
* @summary Get status of Role-Propagation process
|
|
@@ -86865,6 +87000,15 @@ export declare class RolePropagationV2025Api extends BaseAPI {
|
|
|
86865
87000
|
* @memberof RolePropagationV2025Api
|
|
86866
87001
|
*/
|
|
86867
87002
|
getRolePropagationStatus(requestParameters: RolePropagationV2025ApiGetRolePropagationStatusRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RolePropagationStatusResponseV2025, any>>;
|
|
87003
|
+
/**
|
|
87004
|
+
* This endpoint enables or disables the Role Change Propagation Process for the tenant
|
|
87005
|
+
* @summary Update Role Change Propagation Configuration
|
|
87006
|
+
* @param {RolePropagationV2025ApiSetRolePropagationConfigRequest} requestParameters Request parameters.
|
|
87007
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
87008
|
+
* @throws {RequiredError}
|
|
87009
|
+
* @memberof RolePropagationV2025Api
|
|
87010
|
+
*/
|
|
87011
|
+
setRolePropagationConfig(requestParameters: RolePropagationV2025ApiSetRolePropagationConfigRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RolePropagationConfigResponseV2025, any>>;
|
|
86868
87012
|
/**
|
|
86869
87013
|
* This endpoint initiates a role change propagation process for a tenant asynchronously. If all preconditions are met, the request is accepted and a rolePropagationId is returned which can be used to view the status. API throws 4xx if any of the following conditions are met - Role propagation feature is disabled - There is an ongoing role propagation for the tenant - Role refresh needs to be kicked off as part of the role propagation (skipRoleRefresh=false) and there is an ongoing refresh for the tenant
|
|
86870
87014
|
* @summary Initiate Role Propagation process
|