sailpoint-api-client 2.0.7 → 2.0.8
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/index.d.ts +0 -3
- package/dist/index.js +98 -101
- package/dist/index.js.map +1 -1
- package/dist/nerm/common.js +2 -2
- package/dist/nermv2025/common.js +2 -2
- package/index.ts +0 -3
- 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/dist/prompt_insights/api.d.ts +0 -367
- package/dist/prompt_insights/api.js +0 -349
- package/dist/prompt_insights/api.js.map +0 -1
- package/dist/prompt_insights/base.d.ts +0 -66
- package/dist/prompt_insights/base.js +0 -90
- package/dist/prompt_insights/base.js.map +0 -1
- package/dist/prompt_insights/common.d.ts +0 -65
- package/dist/prompt_insights/common.js +0 -292
- package/dist/prompt_insights/common.js.map +0 -1
- package/dist/prompt_insights/configuration.d.ts +0 -91
- package/dist/prompt_insights/configuration.js +0 -46
- package/dist/prompt_insights/configuration.js.map +0 -1
- package/dist/prompt_insights/index.d.ts +0 -13
- package/dist/prompt_insights/index.js +0 -32
- package/dist/prompt_insights/index.js.map +0 -1
- package/prompt_insights/.openapi-generator/FILES +0 -23
- package/prompt_insights/.openapi-generator/VERSION +0 -1
- package/prompt_insights/.openapi-generator-ignore +0 -23
- package/prompt_insights/.sdk-partition +0 -1
- package/prompt_insights/api.ts +0 -497
- package/prompt_insights/base.ts +0 -86
- package/prompt_insights/common.ts +0 -183
- package/prompt_insights/configuration.ts +0 -110
- package/prompt_insights/docs/Examples/typescript_code_examples_overlay.yaml +0 -31
- package/prompt_insights/docs/Methods/Index.md +0 -30
- package/prompt_insights/docs/Methods/PromptInsightsApi.md +0 -109
- package/prompt_insights/docs/Models/Errormessagedto.md +0 -21
- package/prompt_insights/docs/Models/Errorresponsedto.md +0 -22
- package/prompt_insights/docs/Models/GetPromptInsightsMetricsV1401Response.md +0 -19
- package/prompt_insights/docs/Models/GetPromptInsightsMetricsV1429Response.md +0 -19
- package/prompt_insights/docs/Models/Index.md +0 -19
- package/prompt_insights/docs/Models/Localeorigin.md +0 -21
- package/prompt_insights/docs/Models/Promptinsight.md +0 -27
- package/prompt_insights/docs/Models/Promptinsightsmetrics.md +0 -20
- package/prompt_insights/docs/Models/README.md +0 -46
- package/prompt_insights/git_push.sh +0 -57
- package/prompt_insights/index.ts +0 -18
- package/prompt_insights/package.json +0 -34
- package/prompt_insights/tsconfig.json +0 -21
|
@@ -1,349 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Identity Security Cloud API - Prompt Insights
|
|
6
|
-
* 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.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
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.ListPromptInsightsV1IntervalEnum = exports.GetPromptInsightsMetricsV1IntervalEnum = exports.PromptInsightsApi = exports.PromptInsightsApiFactory = exports.PromptInsightsApiFp = exports.PromptInsightsApiAxiosParamCreator = exports.PromptinsightSeverityEnum = exports.PromptinsightCategoryEnum = exports.PromptinsightPolicyDecisionEnum = exports.Localeorigin = 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
|
-
* An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.
|
|
90
|
-
* @export
|
|
91
|
-
* @enum {string}
|
|
92
|
-
*/
|
|
93
|
-
exports.Localeorigin = {
|
|
94
|
-
Default: 'DEFAULT',
|
|
95
|
-
Request: 'REQUEST'
|
|
96
|
-
};
|
|
97
|
-
exports.PromptinsightPolicyDecisionEnum = {
|
|
98
|
-
Allowed: 'ALLOWED',
|
|
99
|
-
Redacted: 'REDACTED'
|
|
100
|
-
};
|
|
101
|
-
exports.PromptinsightCategoryEnum = {
|
|
102
|
-
Anomalies: 'ANOMALIES',
|
|
103
|
-
DataUploads: 'DATA_UPLOADS',
|
|
104
|
-
McpToolCalls: 'MCP_TOOL_CALLS'
|
|
105
|
-
};
|
|
106
|
-
exports.PromptinsightSeverityEnum = {
|
|
107
|
-
Low: 'LOW',
|
|
108
|
-
Medium: 'MEDIUM',
|
|
109
|
-
High: 'HIGH',
|
|
110
|
-
Critical: 'CRITICAL'
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* PromptInsightsApi - axios parameter creator
|
|
114
|
-
* @export
|
|
115
|
-
*/
|
|
116
|
-
var PromptInsightsApiAxiosParamCreator = function (configuration) {
|
|
117
|
-
var _this = this;
|
|
118
|
-
return {
|
|
119
|
-
/**
|
|
120
|
-
* Returns aggregate prompt insights metrics for the requested time window.
|
|
121
|
-
* @summary Get prompt insights metrics
|
|
122
|
-
* @param {GetPromptInsightsMetricsV1IntervalEnum} interval Relative lookback window for metrics aggregation.
|
|
123
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
124
|
-
* @throws {RequiredError}
|
|
125
|
-
*/
|
|
126
|
-
getPromptInsightsMetricsV1: function (interval, axiosOptions) {
|
|
127
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
128
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
129
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
130
|
-
return __generator(this, function (_a) {
|
|
131
|
-
// verify required parameter 'interval' is not null or undefined
|
|
132
|
-
(0, common_1.assertParamExists)('getPromptInsightsMetricsV1', 'interval', interval);
|
|
133
|
-
localVarPath = "/prompt-insights/v1/metrics";
|
|
134
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
135
|
-
if (configuration) {
|
|
136
|
-
baseOptions = configuration.baseOptions;
|
|
137
|
-
}
|
|
138
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
139
|
-
localVarHeaderParameter = {};
|
|
140
|
-
localVarQueryParameter = {};
|
|
141
|
-
if (interval !== undefined) {
|
|
142
|
-
localVarQueryParameter['interval'] = interval;
|
|
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
|
-
* Returns a paginated list of prompt insights within a lookback window, with optional structured filters. Results are sorted by timestamp descending (most recent first).
|
|
156
|
-
* @summary List prompt insights
|
|
157
|
-
* @param {ListPromptInsightsV1IntervalEnum} interval Relative lookback window for prompt insights.
|
|
158
|
-
* @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.
|
|
159
|
-
* @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.
|
|
160
|
-
* @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: **policyDecision**: *eq* **category**: *eq* **severity**: *eq* **user**: *eq, sw, co* **agent**: *eq, sw, co* **reason**: *eq, sw, co* **rule**: *eq, sw, co* **policy**: *eq, sw, co*
|
|
161
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
162
|
-
* @throws {RequiredError}
|
|
163
|
-
*/
|
|
164
|
-
listPromptInsightsV1: function (interval, limit, offset, filters, axiosOptions) {
|
|
165
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
166
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
167
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
168
|
-
return __generator(this, function (_a) {
|
|
169
|
-
// verify required parameter 'interval' is not null or undefined
|
|
170
|
-
(0, common_1.assertParamExists)('listPromptInsightsV1', 'interval', interval);
|
|
171
|
-
localVarPath = "/prompt-insights/v1";
|
|
172
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
173
|
-
if (configuration) {
|
|
174
|
-
baseOptions = configuration.baseOptions;
|
|
175
|
-
}
|
|
176
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
177
|
-
localVarHeaderParameter = {};
|
|
178
|
-
localVarQueryParameter = {};
|
|
179
|
-
if (interval !== undefined) {
|
|
180
|
-
localVarQueryParameter['interval'] = interval;
|
|
181
|
-
}
|
|
182
|
-
if (limit !== undefined) {
|
|
183
|
-
localVarQueryParameter['limit'] = limit;
|
|
184
|
-
}
|
|
185
|
-
if (offset !== undefined) {
|
|
186
|
-
localVarQueryParameter['offset'] = offset;
|
|
187
|
-
}
|
|
188
|
-
if (filters !== undefined) {
|
|
189
|
-
localVarQueryParameter['filters'] = filters;
|
|
190
|
-
}
|
|
191
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
192
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
194
|
-
return [2 /*return*/, {
|
|
195
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
196
|
-
axiosOptions: localVarRequestOptions,
|
|
197
|
-
}];
|
|
198
|
-
});
|
|
199
|
-
});
|
|
200
|
-
},
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
exports.PromptInsightsApiAxiosParamCreator = PromptInsightsApiAxiosParamCreator;
|
|
204
|
-
/**
|
|
205
|
-
* PromptInsightsApi - functional programming interface
|
|
206
|
-
* @export
|
|
207
|
-
*/
|
|
208
|
-
var PromptInsightsApiFp = function (configuration) {
|
|
209
|
-
var localVarAxiosParamCreator = (0, exports.PromptInsightsApiAxiosParamCreator)(configuration);
|
|
210
|
-
return {
|
|
211
|
-
/**
|
|
212
|
-
* Returns aggregate prompt insights metrics for the requested time window.
|
|
213
|
-
* @summary Get prompt insights metrics
|
|
214
|
-
* @param {GetPromptInsightsMetricsV1IntervalEnum} interval Relative lookback window for metrics aggregation.
|
|
215
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
216
|
-
* @throws {RequiredError}
|
|
217
|
-
*/
|
|
218
|
-
getPromptInsightsMetricsV1: function (interval, axiosOptions) {
|
|
219
|
-
var _a, _b, _c;
|
|
220
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
221
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
222
|
-
return __generator(this, function (_d) {
|
|
223
|
-
switch (_d.label) {
|
|
224
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPromptInsightsMetricsV1(interval, axiosOptions)];
|
|
225
|
-
case 1:
|
|
226
|
-
localVarAxiosArgs = _d.sent();
|
|
227
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
228
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PromptInsightsApi.getPromptInsightsMetricsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
229
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
});
|
|
233
|
-
},
|
|
234
|
-
/**
|
|
235
|
-
* Returns a paginated list of prompt insights within a lookback window, with optional structured filters. Results are sorted by timestamp descending (most recent first).
|
|
236
|
-
* @summary List prompt insights
|
|
237
|
-
* @param {ListPromptInsightsV1IntervalEnum} interval Relative lookback window for prompt insights.
|
|
238
|
-
* @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.
|
|
239
|
-
* @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.
|
|
240
|
-
* @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: **policyDecision**: *eq* **category**: *eq* **severity**: *eq* **user**: *eq, sw, co* **agent**: *eq, sw, co* **reason**: *eq, sw, co* **rule**: *eq, sw, co* **policy**: *eq, sw, co*
|
|
241
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
242
|
-
* @throws {RequiredError}
|
|
243
|
-
*/
|
|
244
|
-
listPromptInsightsV1: function (interval, limit, offset, filters, axiosOptions) {
|
|
245
|
-
var _a, _b, _c;
|
|
246
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
247
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
248
|
-
return __generator(this, function (_d) {
|
|
249
|
-
switch (_d.label) {
|
|
250
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPromptInsightsV1(interval, limit, offset, filters, axiosOptions)];
|
|
251
|
-
case 1:
|
|
252
|
-
localVarAxiosArgs = _d.sent();
|
|
253
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
254
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PromptInsightsApi.listPromptInsightsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
255
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
|
-
});
|
|
259
|
-
},
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
exports.PromptInsightsApiFp = PromptInsightsApiFp;
|
|
263
|
-
/**
|
|
264
|
-
* PromptInsightsApi - factory interface
|
|
265
|
-
* @export
|
|
266
|
-
*/
|
|
267
|
-
var PromptInsightsApiFactory = function (configuration, basePath, axios) {
|
|
268
|
-
var localVarFp = (0, exports.PromptInsightsApiFp)(configuration);
|
|
269
|
-
return {
|
|
270
|
-
/**
|
|
271
|
-
* Returns aggregate prompt insights metrics for the requested time window.
|
|
272
|
-
* @summary Get prompt insights metrics
|
|
273
|
-
* @param {PromptInsightsApiGetPromptInsightsMetricsV1Request} requestParameters Request parameters.
|
|
274
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
275
|
-
* @throws {RequiredError}
|
|
276
|
-
*/
|
|
277
|
-
getPromptInsightsMetricsV1: function (requestParameters, axiosOptions) {
|
|
278
|
-
return localVarFp.getPromptInsightsMetricsV1(requestParameters.interval, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
279
|
-
},
|
|
280
|
-
/**
|
|
281
|
-
* Returns a paginated list of prompt insights within a lookback window, with optional structured filters. Results are sorted by timestamp descending (most recent first).
|
|
282
|
-
* @summary List prompt insights
|
|
283
|
-
* @param {PromptInsightsApiListPromptInsightsV1Request} requestParameters Request parameters.
|
|
284
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
285
|
-
* @throws {RequiredError}
|
|
286
|
-
*/
|
|
287
|
-
listPromptInsightsV1: function (requestParameters, axiosOptions) {
|
|
288
|
-
return localVarFp.listPromptInsightsV1(requestParameters.interval, requestParameters.limit, requestParameters.offset, requestParameters.filters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
289
|
-
},
|
|
290
|
-
};
|
|
291
|
-
};
|
|
292
|
-
exports.PromptInsightsApiFactory = PromptInsightsApiFactory;
|
|
293
|
-
/**
|
|
294
|
-
* PromptInsightsApi - object-oriented interface
|
|
295
|
-
* @export
|
|
296
|
-
* @class PromptInsightsApi
|
|
297
|
-
* @extends {BaseAPI}
|
|
298
|
-
*/
|
|
299
|
-
var PromptInsightsApi = /** @class */ (function (_super) {
|
|
300
|
-
__extends(PromptInsightsApi, _super);
|
|
301
|
-
function PromptInsightsApi() {
|
|
302
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* Returns aggregate prompt insights metrics for the requested time window.
|
|
306
|
-
* @summary Get prompt insights metrics
|
|
307
|
-
* @param {PromptInsightsApiGetPromptInsightsMetricsV1Request} requestParameters Request parameters.
|
|
308
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
309
|
-
* @throws {RequiredError}
|
|
310
|
-
* @memberof PromptInsightsApi
|
|
311
|
-
*/
|
|
312
|
-
PromptInsightsApi.prototype.getPromptInsightsMetricsV1 = function (requestParameters, axiosOptions) {
|
|
313
|
-
var _this = this;
|
|
314
|
-
return (0, exports.PromptInsightsApiFp)(this.configuration).getPromptInsightsMetricsV1(requestParameters.interval, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
315
|
-
};
|
|
316
|
-
/**
|
|
317
|
-
* Returns a paginated list of prompt insights within a lookback window, with optional structured filters. Results are sorted by timestamp descending (most recent first).
|
|
318
|
-
* @summary List prompt insights
|
|
319
|
-
* @param {PromptInsightsApiListPromptInsightsV1Request} requestParameters Request parameters.
|
|
320
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
321
|
-
* @throws {RequiredError}
|
|
322
|
-
* @memberof PromptInsightsApi
|
|
323
|
-
*/
|
|
324
|
-
PromptInsightsApi.prototype.listPromptInsightsV1 = function (requestParameters, axiosOptions) {
|
|
325
|
-
var _this = this;
|
|
326
|
-
return (0, exports.PromptInsightsApiFp)(this.configuration).listPromptInsightsV1(requestParameters.interval, requestParameters.limit, requestParameters.offset, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
327
|
-
};
|
|
328
|
-
return PromptInsightsApi;
|
|
329
|
-
}(base_1.BaseAPI));
|
|
330
|
-
exports.PromptInsightsApi = PromptInsightsApi;
|
|
331
|
-
/**
|
|
332
|
-
* @export
|
|
333
|
-
*/
|
|
334
|
-
exports.GetPromptInsightsMetricsV1IntervalEnum = {
|
|
335
|
-
_1h: '-1h',
|
|
336
|
-
_1d: '-1d',
|
|
337
|
-
_7d: '-7d',
|
|
338
|
-
_30d: '-30d'
|
|
339
|
-
};
|
|
340
|
-
/**
|
|
341
|
-
* @export
|
|
342
|
-
*/
|
|
343
|
-
exports.ListPromptInsightsV1IntervalEnum = {
|
|
344
|
-
_1h: '-1h',
|
|
345
|
-
_1d: '-1d',
|
|
346
|
-
_7d: '-7d',
|
|
347
|
-
_30d: '-30d'
|
|
348
|
-
};
|
|
349
|
-
//# sourceMappingURL=api.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../prompt_insights/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,gDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,mCAA4N;AAE5N,aAAa;AACb,+BAAmG;AAsFnG;;;;GAIG;AAEU,QAAA,YAAY,GAAG;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACZ,CAAC;AAmEE,QAAA,+BAA+B,GAAG;IAC3C,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACd,CAAC;AAGE,QAAA,yBAAyB,GAAG;IACrC,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,cAAc;IAC3B,YAAY,EAAE,gBAAgB;CACxB,CAAC;AAGE,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;CACd,CAAC;AAwBX;;;GAGG;AACI,IAAM,kCAAkC,GAAG,UAAU,aAA6B;IAAvC,iBA4FjD;IA3FG,OAAO;QACH;;;;;;WAMG;QACH,0BAA0B,EAAE,UAAO,QAAgD,EAAE,YAAwC;YAAxC,6BAAA,EAAA,iBAAwC;;;;oBACzH,gEAAgE;oBAChE,IAAA,0BAAiB,EAAC,4BAA4B,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAA;oBAC/D,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AoB,CAAC,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IACtP,CAAC;IACL,wBAAC;AAAD,CAAC,AAxBD,CAAuC,cAAO,GAwB7C;AAxBY,8CAAiB;AA0B9B;;GAEG;AACU,QAAA,sCAAsC,GAAG;IAClD,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACN,CAAC;AAEX;;GAEG;AACU,QAAA,gCAAgC,GAAG;IAC5C,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACN,CAAC"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Identity Security Cloud API - Prompt Insights
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Configuration } from '../configuration';
|
|
13
|
-
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
-
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export declare const COLLECTION_FORMATS: {
|
|
20
|
-
csv: string;
|
|
21
|
-
ssv: string;
|
|
22
|
-
tsv: string;
|
|
23
|
-
pipes: string;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
|
-
export interface RequestArgs {
|
|
31
|
-
url: string;
|
|
32
|
-
axiosOptions: RawAxiosRequestConfig;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
|
-
export declare class BaseAPI {
|
|
40
|
-
protected basePath: string;
|
|
41
|
-
protected axios: AxiosInstance;
|
|
42
|
-
protected configuration: Configuration | undefined;
|
|
43
|
-
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
|
-
export declare class RequiredError extends Error {
|
|
52
|
-
field: string;
|
|
53
|
-
constructor(field: string, msg?: string);
|
|
54
|
-
}
|
|
55
|
-
interface ServerMap {
|
|
56
|
-
[key: string]: {
|
|
57
|
-
url: string;
|
|
58
|
-
description: string;
|
|
59
|
-
}[];
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
|
-
export declare const operationServerMap: ServerMap;
|
|
66
|
-
export {};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Identity Security Cloud API - Prompt Insights
|
|
6
|
-
* 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.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
31
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
32
|
-
};
|
|
33
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
-
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
35
|
-
var axios_1 = __importDefault(require("axios"));
|
|
36
|
-
exports.BASE_PATH = "https://sailpoint.api.identitynow.com".replace(/\/+$/, "");
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @export
|
|
40
|
-
*/
|
|
41
|
-
exports.COLLECTION_FORMATS = {
|
|
42
|
-
csv: ",",
|
|
43
|
-
ssv: " ",
|
|
44
|
-
tsv: "\t",
|
|
45
|
-
pipes: "|",
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
* @class BaseAPI
|
|
51
|
-
*/
|
|
52
|
-
var BaseAPI = /** @class */ (function () {
|
|
53
|
-
function BaseAPI(configuration, basePath, axios) {
|
|
54
|
-
if (basePath === void 0) { basePath = exports.BASE_PATH; }
|
|
55
|
-
if (axios === void 0) { axios = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.axiosInstance) !== null && _a !== void 0 ? _a : axios_1.default; }
|
|
56
|
-
var _a;
|
|
57
|
-
this.basePath = basePath;
|
|
58
|
-
this.axios = axios;
|
|
59
|
-
if (configuration) {
|
|
60
|
-
this.configuration = configuration;
|
|
61
|
-
this.basePath = configuration.basePath || this.basePath;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
return BaseAPI;
|
|
65
|
-
}());
|
|
66
|
-
exports.BaseAPI = BaseAPI;
|
|
67
|
-
;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @export
|
|
71
|
-
* @class RequiredError
|
|
72
|
-
* @extends {Error}
|
|
73
|
-
*/
|
|
74
|
-
var RequiredError = /** @class */ (function (_super) {
|
|
75
|
-
__extends(RequiredError, _super);
|
|
76
|
-
function RequiredError(field, msg) {
|
|
77
|
-
var _this = _super.call(this, msg) || this;
|
|
78
|
-
_this.field = field;
|
|
79
|
-
_this.name = "RequiredError";
|
|
80
|
-
return _this;
|
|
81
|
-
}
|
|
82
|
-
return RequiredError;
|
|
83
|
-
}(Error));
|
|
84
|
-
exports.RequiredError = RequiredError;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @export
|
|
88
|
-
*/
|
|
89
|
-
exports.operationServerMap = {};
|
|
90
|
-
//# sourceMappingURL=base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../prompt_insights/base.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;AAOH,gDAAgC;AAEnB,QAAA,SAAS,GAAG,uCAAuC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAErF;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAC9B,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,GAAG;CACb,CAAC;AAYF;;;;GAIG;AACH;IAGI,iBAAY,aAA6B,EAAY,QAA4B,EAAY,KAAkE;QAA1G,yBAAA,EAAA,WAAmB,iBAAS;QAAY,sBAAA,EAAA,cAAuB,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,aAAa,mCAAI,eAAW;;QAA1G,aAAQ,GAAR,QAAQ,CAAoB;QAAY,UAAK,GAAL,KAAK,CAA6D;QAC3J,IAAI,aAAa,EAAE;YACf,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;YACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC;SAC3D;IACL,CAAC;IACL,cAAC;AAAD,CAAC,AATD,IASC;AATY,0BAAO;AASnB,CAAC;AAEF;;;;;GAKG;AACH;IAAmC,iCAAK;IACpC,uBAAmB,KAAa,EAAE,GAAY;QAA9C,YACI,kBAAM,GAAG,CAAC,SAEb;QAHkB,WAAK,GAAL,KAAK,CAAQ;QAE5B,KAAI,CAAC,IAAI,GAAG,eAAe,CAAA;;IAC/B,CAAC;IACL,oBAAC;AAAD,CAAC,AALD,CAAmC,KAAK,GAKvC;AALY,sCAAa;AAc1B;;;GAGG;AACU,QAAA,kBAAkB,GAAc,EAC5C,CAAA"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Identity Security Cloud API - Prompt Insights
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Configuration } from "../configuration";
|
|
13
|
-
import type { RequestArgs } from "./base";
|
|
14
|
-
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
|
-
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
|
-
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
|
-
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
|
-
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
|
-
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
|
-
export declare const toPathString: (url: URL) => string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|