sailpoint-api-client 2.0.7 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/index.d.ts +0 -3
  2. package/dist/index.js +98 -101
  3. package/dist/index.js.map +1 -1
  4. package/dist/nerm/common.js +2 -2
  5. package/dist/nermv2025/common.js +2 -2
  6. package/index.ts +0 -3
  7. package/nerm/README.md +2 -2
  8. package/nerm/common.ts +2 -2
  9. package/nerm/package.json +1 -1
  10. package/nermv2025/README.md +2 -2
  11. package/nermv2025/common.ts +2 -2
  12. package/nermv2025/package.json +1 -1
  13. package/package.json +1 -1
  14. package/dist/prompt_insights/api.d.ts +0 -367
  15. package/dist/prompt_insights/api.js +0 -349
  16. package/dist/prompt_insights/api.js.map +0 -1
  17. package/dist/prompt_insights/base.d.ts +0 -66
  18. package/dist/prompt_insights/base.js +0 -90
  19. package/dist/prompt_insights/base.js.map +0 -1
  20. package/dist/prompt_insights/common.d.ts +0 -65
  21. package/dist/prompt_insights/common.js +0 -292
  22. package/dist/prompt_insights/common.js.map +0 -1
  23. package/dist/prompt_insights/configuration.d.ts +0 -91
  24. package/dist/prompt_insights/configuration.js +0 -46
  25. package/dist/prompt_insights/configuration.js.map +0 -1
  26. package/dist/prompt_insights/index.d.ts +0 -13
  27. package/dist/prompt_insights/index.js +0 -32
  28. package/dist/prompt_insights/index.js.map +0 -1
  29. package/prompt_insights/.openapi-generator/FILES +0 -23
  30. package/prompt_insights/.openapi-generator/VERSION +0 -1
  31. package/prompt_insights/.openapi-generator-ignore +0 -23
  32. package/prompt_insights/.sdk-partition +0 -1
  33. package/prompt_insights/api.ts +0 -497
  34. package/prompt_insights/base.ts +0 -86
  35. package/prompt_insights/common.ts +0 -183
  36. package/prompt_insights/configuration.ts +0 -110
  37. package/prompt_insights/docs/Examples/typescript_code_examples_overlay.yaml +0 -31
  38. package/prompt_insights/docs/Methods/Index.md +0 -30
  39. package/prompt_insights/docs/Methods/PromptInsightsApi.md +0 -109
  40. package/prompt_insights/docs/Models/Errormessagedto.md +0 -21
  41. package/prompt_insights/docs/Models/Errorresponsedto.md +0 -22
  42. package/prompt_insights/docs/Models/GetPromptInsightsMetricsV1401Response.md +0 -19
  43. package/prompt_insights/docs/Models/GetPromptInsightsMetricsV1429Response.md +0 -19
  44. package/prompt_insights/docs/Models/Index.md +0 -19
  45. package/prompt_insights/docs/Models/Localeorigin.md +0 -21
  46. package/prompt_insights/docs/Models/Promptinsight.md +0 -27
  47. package/prompt_insights/docs/Models/Promptinsightsmetrics.md +0 -20
  48. package/prompt_insights/docs/Models/README.md +0 -46
  49. package/prompt_insights/git_push.sh +0 -57
  50. package/prompt_insights/index.ts +0 -18
  51. package/prompt_insights/package.json +0 -34
  52. package/prompt_insights/tsconfig.json +0 -21
@@ -1,367 +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 { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import type { RequestArgs } from './base';
15
- import { BaseAPI } from './base';
16
- /**
17
- *
18
- * @export
19
- * @interface Errormessagedto
20
- */
21
- export interface Errormessagedto {
22
- /**
23
- * The locale for the message text, a BCP 47 language tag.
24
- * @type {string}
25
- * @memberof Errormessagedto
26
- */
27
- 'locale'?: string | null;
28
- /**
29
- *
30
- * @type {Localeorigin}
31
- * @memberof Errormessagedto
32
- */
33
- 'localeOrigin'?: Localeorigin | null;
34
- /**
35
- * Actual text of the error message in the indicated locale.
36
- * @type {string}
37
- * @memberof Errormessagedto
38
- */
39
- 'text'?: string;
40
- }
41
- /**
42
- *
43
- * @export
44
- * @interface Errorresponsedto
45
- */
46
- export interface Errorresponsedto {
47
- /**
48
- * Fine-grained error code providing more detail of the error.
49
- * @type {string}
50
- * @memberof Errorresponsedto
51
- */
52
- 'detailCode'?: string;
53
- /**
54
- * Unique tracking id for the error.
55
- * @type {string}
56
- * @memberof Errorresponsedto
57
- */
58
- 'trackingId'?: string;
59
- /**
60
- * Generic localized reason for error
61
- * @type {Array<Errormessagedto>}
62
- * @memberof Errorresponsedto
63
- */
64
- 'messages'?: Array<Errormessagedto>;
65
- /**
66
- * Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
67
- * @type {Array<Errormessagedto>}
68
- * @memberof Errorresponsedto
69
- */
70
- 'causes'?: Array<Errormessagedto>;
71
- }
72
- /**
73
- *
74
- * @export
75
- * @interface GetPromptInsightsMetricsV1401Response
76
- */
77
- export interface GetPromptInsightsMetricsV1401Response {
78
- /**
79
- * A message describing the error
80
- * @type {any}
81
- * @memberof GetPromptInsightsMetricsV1401Response
82
- */
83
- 'error'?: any;
84
- }
85
- /**
86
- *
87
- * @export
88
- * @interface GetPromptInsightsMetricsV1429Response
89
- */
90
- export interface GetPromptInsightsMetricsV1429Response {
91
- /**
92
- * A message describing the error
93
- * @type {any}
94
- * @memberof GetPromptInsightsMetricsV1429Response
95
- */
96
- 'message'?: any;
97
- }
98
- /**
99
- * 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.
100
- * @export
101
- * @enum {string}
102
- */
103
- export declare const Localeorigin: {
104
- readonly Default: "DEFAULT";
105
- readonly Request: "REQUEST";
106
- };
107
- export type Localeorigin = typeof Localeorigin[keyof typeof Localeorigin];
108
- /**
109
- * A prompt security insight event.
110
- * @export
111
- * @interface Promptinsight
112
- */
113
- export interface Promptinsight {
114
- /**
115
- * Event time in UTC.
116
- * @type {string}
117
- * @memberof Promptinsight
118
- */
119
- 'timestamp'?: string;
120
- /**
121
- * User identifier or display name.
122
- * @type {string}
123
- * @memberof Promptinsight
124
- */
125
- 'user'?: string;
126
- /**
127
- * The AI agent that processed the prompt.
128
- * @type {string}
129
- * @memberof Promptinsight
130
- */
131
- 'agent'?: string;
132
- /**
133
- * The policy decision applied to the prompt.
134
- * @type {string}
135
- * @memberof Promptinsight
136
- */
137
- 'policyDecision'?: PromptinsightPolicyDecisionEnum;
138
- /**
139
- * The category of the prompt security finding.
140
- * @type {string}
141
- * @memberof Promptinsight
142
- */
143
- 'category'?: PromptinsightCategoryEnum;
144
- /**
145
- * The severity of the prompt security finding.
146
- * @type {string}
147
- * @memberof Promptinsight
148
- */
149
- 'severity'?: PromptinsightSeverityEnum;
150
- /**
151
- * Human-readable or structured reason for the policy decision.
152
- * @type {string}
153
- * @memberof Promptinsight
154
- */
155
- 'reason'?: string;
156
- /**
157
- * The rule that matched the prompt.
158
- * @type {string}
159
- * @memberof Promptinsight
160
- */
161
- 'rule'?: string;
162
- /**
163
- * The policy that matched the prompt.
164
- * @type {string}
165
- * @memberof Promptinsight
166
- */
167
- 'policy'?: string;
168
- }
169
- export declare const PromptinsightPolicyDecisionEnum: {
170
- readonly Allowed: "ALLOWED";
171
- readonly Redacted: "REDACTED";
172
- };
173
- export type PromptinsightPolicyDecisionEnum = typeof PromptinsightPolicyDecisionEnum[keyof typeof PromptinsightPolicyDecisionEnum];
174
- export declare const PromptinsightCategoryEnum: {
175
- readonly Anomalies: "ANOMALIES";
176
- readonly DataUploads: "DATA_UPLOADS";
177
- readonly McpToolCalls: "MCP_TOOL_CALLS";
178
- };
179
- export type PromptinsightCategoryEnum = typeof PromptinsightCategoryEnum[keyof typeof PromptinsightCategoryEnum];
180
- export declare const PromptinsightSeverityEnum: {
181
- readonly Low: "LOW";
182
- readonly Medium: "MEDIUM";
183
- readonly High: "HIGH";
184
- readonly Critical: "CRITICAL";
185
- };
186
- export type PromptinsightSeverityEnum = typeof PromptinsightSeverityEnum[keyof typeof PromptinsightSeverityEnum];
187
- /**
188
- * Aggregate prompt insights metrics for the requested time window.
189
- * @export
190
- * @interface Promptinsightsmetrics
191
- */
192
- export interface Promptinsightsmetrics {
193
- /**
194
- * Count of prompts scanned in the interval.
195
- * @type {number}
196
- * @memberof Promptinsightsmetrics
197
- */
198
- 'promptsScanned'?: number;
199
- /**
200
- * Count of prompts redacted in the interval.
201
- * @type {number}
202
- * @memberof Promptinsightsmetrics
203
- */
204
- 'promptsRedacted'?: number;
205
- }
206
- /**
207
- * PromptInsightsApi - axios parameter creator
208
- * @export
209
- */
210
- export declare const PromptInsightsApiAxiosParamCreator: (configuration?: Configuration) => {
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: (interval: GetPromptInsightsMetricsV1IntervalEnum, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
219
- /**
220
- * Returns a paginated list of prompt insights within a lookback window, with optional structured filters. Results are sorted by timestamp descending (most recent first).
221
- * @summary List prompt insights
222
- * @param {ListPromptInsightsV1IntervalEnum} interval Relative lookback window for prompt insights.
223
- * @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.
224
- * @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.
225
- * @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*
226
- * @param {*} [axiosOptions] Override http request option.
227
- * @throws {RequiredError}
228
- */
229
- listPromptInsightsV1: (interval: ListPromptInsightsV1IntervalEnum, limit?: number, offset?: number, filters?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
230
- };
231
- /**
232
- * PromptInsightsApi - functional programming interface
233
- * @export
234
- */
235
- export declare const PromptInsightsApiFp: (configuration?: Configuration) => {
236
- /**
237
- * Returns aggregate prompt insights metrics for the requested time window.
238
- * @summary Get prompt insights metrics
239
- * @param {GetPromptInsightsMetricsV1IntervalEnum} interval Relative lookback window for metrics aggregation.
240
- * @param {*} [axiosOptions] Override http request option.
241
- * @throws {RequiredError}
242
- */
243
- getPromptInsightsMetricsV1(interval: GetPromptInsightsMetricsV1IntervalEnum, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Promptinsightsmetrics>>;
244
- /**
245
- * Returns a paginated list of prompt insights within a lookback window, with optional structured filters. Results are sorted by timestamp descending (most recent first).
246
- * @summary List prompt insights
247
- * @param {ListPromptInsightsV1IntervalEnum} interval Relative lookback window for prompt insights.
248
- * @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.
249
- * @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.
250
- * @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*
251
- * @param {*} [axiosOptions] Override http request option.
252
- * @throws {RequiredError}
253
- */
254
- listPromptInsightsV1(interval: ListPromptInsightsV1IntervalEnum, limit?: number, offset?: number, filters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Promptinsight>>>;
255
- };
256
- /**
257
- * PromptInsightsApi - factory interface
258
- * @export
259
- */
260
- export declare const PromptInsightsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
261
- /**
262
- * Returns aggregate prompt insights metrics for the requested time window.
263
- * @summary Get prompt insights metrics
264
- * @param {PromptInsightsApiGetPromptInsightsMetricsV1Request} requestParameters Request parameters.
265
- * @param {*} [axiosOptions] Override http request option.
266
- * @throws {RequiredError}
267
- */
268
- getPromptInsightsMetricsV1(requestParameters: PromptInsightsApiGetPromptInsightsMetricsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Promptinsightsmetrics>;
269
- /**
270
- * Returns a paginated list of prompt insights within a lookback window, with optional structured filters. Results are sorted by timestamp descending (most recent first).
271
- * @summary List prompt insights
272
- * @param {PromptInsightsApiListPromptInsightsV1Request} requestParameters Request parameters.
273
- * @param {*} [axiosOptions] Override http request option.
274
- * @throws {RequiredError}
275
- */
276
- listPromptInsightsV1(requestParameters: PromptInsightsApiListPromptInsightsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<Promptinsight>>;
277
- };
278
- /**
279
- * Request parameters for getPromptInsightsMetricsV1 operation in PromptInsightsApi.
280
- * @export
281
- * @interface PromptInsightsApiGetPromptInsightsMetricsV1Request
282
- */
283
- export interface PromptInsightsApiGetPromptInsightsMetricsV1Request {
284
- /**
285
- * Relative lookback window for metrics aggregation.
286
- * @type {'-1h' | '-1d' | '-7d' | '-30d'}
287
- * @memberof PromptInsightsApiGetPromptInsightsMetricsV1
288
- */
289
- readonly interval: GetPromptInsightsMetricsV1IntervalEnum;
290
- }
291
- /**
292
- * Request parameters for listPromptInsightsV1 operation in PromptInsightsApi.
293
- * @export
294
- * @interface PromptInsightsApiListPromptInsightsV1Request
295
- */
296
- export interface PromptInsightsApiListPromptInsightsV1Request {
297
- /**
298
- * Relative lookback window for prompt insights.
299
- * @type {'-1h' | '-1d' | '-7d' | '-30d'}
300
- * @memberof PromptInsightsApiListPromptInsightsV1
301
- */
302
- readonly interval: ListPromptInsightsV1IntervalEnum;
303
- /**
304
- * Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
305
- * @type {number}
306
- * @memberof PromptInsightsApiListPromptInsightsV1
307
- */
308
- readonly limit?: number;
309
- /**
310
- * 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.
311
- * @type {number}
312
- * @memberof PromptInsightsApiListPromptInsightsV1
313
- */
314
- readonly offset?: number;
315
- /**
316
- * 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*
317
- * @type {string}
318
- * @memberof PromptInsightsApiListPromptInsightsV1
319
- */
320
- readonly filters?: string;
321
- }
322
- /**
323
- * PromptInsightsApi - object-oriented interface
324
- * @export
325
- * @class PromptInsightsApi
326
- * @extends {BaseAPI}
327
- */
328
- export declare class PromptInsightsApi extends BaseAPI {
329
- /**
330
- * Returns aggregate prompt insights metrics for the requested time window.
331
- * @summary Get prompt insights metrics
332
- * @param {PromptInsightsApiGetPromptInsightsMetricsV1Request} requestParameters Request parameters.
333
- * @param {*} [axiosOptions] Override http request option.
334
- * @throws {RequiredError}
335
- * @memberof PromptInsightsApi
336
- */
337
- getPromptInsightsMetricsV1(requestParameters: PromptInsightsApiGetPromptInsightsMetricsV1Request, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Promptinsightsmetrics, any>>;
338
- /**
339
- * Returns a paginated list of prompt insights within a lookback window, with optional structured filters. Results are sorted by timestamp descending (most recent first).
340
- * @summary List prompt insights
341
- * @param {PromptInsightsApiListPromptInsightsV1Request} requestParameters Request parameters.
342
- * @param {*} [axiosOptions] Override http request option.
343
- * @throws {RequiredError}
344
- * @memberof PromptInsightsApi
345
- */
346
- listPromptInsightsV1(requestParameters: PromptInsightsApiListPromptInsightsV1Request, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Promptinsight[], any>>;
347
- }
348
- /**
349
- * @export
350
- */
351
- export declare const GetPromptInsightsMetricsV1IntervalEnum: {
352
- readonly _1h: "-1h";
353
- readonly _1d: "-1d";
354
- readonly _7d: "-7d";
355
- readonly _30d: "-30d";
356
- };
357
- export type GetPromptInsightsMetricsV1IntervalEnum = typeof GetPromptInsightsMetricsV1IntervalEnum[keyof typeof GetPromptInsightsMetricsV1IntervalEnum];
358
- /**
359
- * @export
360
- */
361
- export declare const ListPromptInsightsV1IntervalEnum: {
362
- readonly _1h: "-1h";
363
- readonly _1d: "-1d";
364
- readonly _7d: "-7d";
365
- readonly _30d: "-30d";
366
- };
367
- export type ListPromptInsightsV1IntervalEnum = typeof ListPromptInsightsV1IntervalEnum[keyof typeof ListPromptInsightsV1IntervalEnum];