sailpoint-api-client 1.7.30 → 1.8.0
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 +8 -3
- package/beta/package.json +1 -1
- package/configuration.ts +40 -4
- package/dist/beta/common.js +6 -1
- package/dist/beta/common.js.map +1 -1
- package/dist/configuration.d.ts +25 -0
- package/dist/configuration.js +11 -3
- package/dist/configuration.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/nerm/api.d.ts +19169 -0
- package/dist/nerm/api.js +22633 -0
- package/dist/nerm/api.js.map +1 -0
- package/dist/nerm/base.d.ts +66 -0
- package/dist/nerm/base.js +89 -0
- package/dist/nerm/base.js.map +1 -0
- package/dist/nerm/common.d.ts +65 -0
- package/dist/nerm/common.js +271 -0
- package/dist/nerm/common.js.map +1 -0
- package/dist/nerm/configuration.d.ts +91 -0
- package/dist/nerm/configuration.js +46 -0
- package/dist/nerm/configuration.js.map +1 -0
- package/dist/nerm/index.d.ts +13 -0
- package/dist/nerm/index.js +32 -0
- package/dist/nerm/index.js.map +1 -0
- package/dist/nermv2025/api.d.ts +653 -0
- package/dist/nermv2025/api.js +556 -0
- package/dist/nermv2025/api.js.map +1 -0
- package/dist/nermv2025/base.d.ts +66 -0
- package/dist/nermv2025/base.js +89 -0
- package/dist/nermv2025/base.js.map +1 -0
- package/dist/nermv2025/common.d.ts +65 -0
- package/dist/nermv2025/common.js +271 -0
- package/dist/nermv2025/common.js.map +1 -0
- package/dist/nermv2025/configuration.d.ts +91 -0
- package/dist/nermv2025/configuration.js +46 -0
- package/dist/nermv2025/configuration.js.map +1 -0
- package/dist/nermv2025/index.d.ts +13 -0
- package/dist/nermv2025/index.js +32 -0
- package/dist/nermv2025/index.js.map +1 -0
- package/dist/v2024/common.js +6 -1
- package/dist/v2024/common.js.map +1 -1
- package/dist/v2025/common.js +6 -1
- package/dist/v2025/common.js.map +1 -1
- package/dist/v2026/common.js +6 -1
- package/dist/v2026/common.js.map +1 -1
- package/dist/v3/api.d.ts +4 -4
- package/dist/v3/api.js +4 -4
- package/dist/v3/common.js +6 -1
- package/dist/v3/common.js.map +1 -1
- package/index.ts +8 -1
- package/nerm/.openapi-generator/FILES +12 -0
- package/nerm/.openapi-generator/VERSION +1 -0
- package/nerm/.openapi-generator-ignore +23 -0
- package/nerm/README.md +46 -0
- package/nerm/api.ts +29579 -0
- package/nerm/base.ts +86 -0
- package/nerm/common.ts +171 -0
- package/nerm/configuration.ts +110 -0
- package/nerm/git_push.sh +57 -0
- package/nerm/index.ts +18 -0
- package/nerm/package.json +34 -0
- package/nerm/tsconfig.json +21 -0
- package/nermv2025/.openapi-generator/FILES +12 -0
- package/nermv2025/.openapi-generator/VERSION +1 -0
- package/nermv2025/.openapi-generator-ignore +23 -0
- package/nermv2025/README.md +46 -0
- package/nermv2025/api.ts +896 -0
- package/nermv2025/base.ts +86 -0
- package/nermv2025/common.ts +171 -0
- package/nermv2025/configuration.ts +110 -0
- package/nermv2025/git_push.sh +57 -0
- package/nermv2025/index.ts +18 -0
- package/nermv2025/package.json +34 -0
- package/nermv2025/tsconfig.json +21 -0
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/common.ts +8 -3
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/common.ts +8 -3
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/common.ts +8 -3
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +4 -4
- package/v3/common.ts +8 -3
- package/v3/package.json +1 -1
package/v3/api.ts
CHANGED
|
@@ -64697,7 +64697,7 @@ export const WorkflowsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
64697
64697
|
};
|
|
64698
64698
|
},
|
|
64699
64699
|
/**
|
|
64700
|
-
* :::info Workflow must be disabled in order to use this endpoint. ::: Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/docs/extensibility/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.**
|
|
64700
|
+
* :::info Workflow must be disabled in order to use this endpoint. ::: Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/docs/extensibility/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.** This endpoint has a rate limit of 5 requests per 10 seconds.
|
|
64701
64701
|
* @summary Test workflow by id
|
|
64702
64702
|
* @param {string} id Id of the workflow
|
|
64703
64703
|
* @param {TestWorkflowRequest} testWorkflowRequest
|
|
@@ -64992,7 +64992,7 @@ export const WorkflowsApiFp = function(configuration?: Configuration) {
|
|
|
64992
64992
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
64993
64993
|
},
|
|
64994
64994
|
/**
|
|
64995
|
-
* :::info Workflow must be disabled in order to use this endpoint. ::: Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/docs/extensibility/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.**
|
|
64995
|
+
* :::info Workflow must be disabled in order to use this endpoint. ::: Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/docs/extensibility/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.** This endpoint has a rate limit of 5 requests per 10 seconds.
|
|
64996
64996
|
* @summary Test workflow by id
|
|
64997
64997
|
* @param {string} id Id of the workflow
|
|
64998
64998
|
* @param {TestWorkflowRequest} testWorkflowRequest
|
|
@@ -65186,7 +65186,7 @@ export const WorkflowsApiFactory = function (configuration?: Configuration, base
|
|
|
65186
65186
|
return localVarFp.testExternalExecuteWorkflow(requestParameters.id, requestParameters.testExternalExecuteWorkflowRequest, axiosOptions).then((request) => request(axios, basePath));
|
|
65187
65187
|
},
|
|
65188
65188
|
/**
|
|
65189
|
-
* :::info Workflow must be disabled in order to use this endpoint. ::: Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/docs/extensibility/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.**
|
|
65189
|
+
* :::info Workflow must be disabled in order to use this endpoint. ::: Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/docs/extensibility/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.** This endpoint has a rate limit of 5 requests per 10 seconds.
|
|
65190
65190
|
* @summary Test workflow by id
|
|
65191
65191
|
* @param {WorkflowsApiTestWorkflowRequest} requestParameters Request parameters.
|
|
65192
65192
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -65767,7 +65767,7 @@ export class WorkflowsApi extends BaseAPI {
|
|
|
65767
65767
|
}
|
|
65768
65768
|
|
|
65769
65769
|
/**
|
|
65770
|
-
* :::info Workflow must be disabled in order to use this endpoint. ::: Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/docs/extensibility/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.**
|
|
65770
|
+
* :::info Workflow must be disabled in order to use this endpoint. ::: Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/docs/extensibility/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.** This endpoint has a rate limit of 5 requests per 10 seconds.
|
|
65771
65771
|
* @summary Test workflow by id
|
|
65772
65772
|
* @param {WorkflowsApiTestWorkflowRequest} requestParameters Request parameters.
|
|
65773
65773
|
* @param {*} [axiosOptions] Override http request option.
|
package/v3/common.ts
CHANGED
|
@@ -146,10 +146,15 @@ export const toPathString = function (url: URL) {
|
|
|
146
146
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
|
+
let userAgent = `SailPoint-SDK-TypeScript/1.8.0`;
|
|
150
|
+
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
151
|
+
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
152
|
+
}
|
|
153
|
+
userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;
|
|
149
154
|
const headers = {
|
|
150
|
-
...{'User-Agent':'OpenAPI-Generator/1.7.30/ts'},
|
|
151
155
|
...axiosArgs.axiosOptions.headers,
|
|
152
|
-
...{'X-SailPoint-SDK':'typescript-1.
|
|
156
|
+
...{'X-SailPoint-SDK':'typescript-1.8.0'},
|
|
157
|
+
...{'User-Agent': userAgent},
|
|
153
158
|
}
|
|
154
159
|
|
|
155
160
|
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
@@ -159,7 +164,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
159
164
|
}
|
|
160
165
|
|
|
161
166
|
axiosArgs.axiosOptions.headers = headers
|
|
162
|
-
const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePath
|
|
167
|
+
const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePath+ "/v3" || basePath) + axiosArgs.url};
|
|
163
168
|
return axios.request<T, R>(axiosRequestArgs);
|
|
164
169
|
};
|
|
165
170
|
}
|