sailpoint-api-client 1.3.1 → 1.3.3
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/api.ts +3383 -512
- package/beta/base.ts +2 -2
- package/beta/common.ts +4 -4
- package/beta/configuration.ts +2 -2
- package/beta/index.ts +2 -2
- package/beta/package.json +1 -1
- package/configuration.ts +6 -7
- package/dist/beta/api.d.ts +2152 -194
- package/dist/beta/api.js +2704 -606
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/base.d.ts +2 -2
- package/dist/beta/base.js +2 -2
- package/dist/beta/common.d.ts +2 -2
- package/dist/beta/common.js +4 -4
- package/dist/beta/configuration.d.ts +2 -2
- package/dist/beta/configuration.js +2 -2
- package/dist/beta/index.d.ts +2 -2
- package/dist/beta/index.js +2 -2
- package/dist/configuration.js +5 -5
- package/dist/configuration.js.map +1 -1
- package/dist/v3/api.d.ts +2321 -50
- package/dist/v3/api.js +2608 -113
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/base.d.ts +2 -2
- package/dist/v3/base.js +2 -2
- package/dist/v3/common.d.ts +2 -2
- package/dist/v3/common.js +4 -4
- package/dist/v3/configuration.d.ts +2 -2
- package/dist/v3/configuration.js +2 -2
- package/dist/v3/index.d.ts +2 -2
- package/dist/v3/index.js +2 -2
- package/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +3513 -115
- package/v3/base.ts +2 -2
- package/v3/common.ts +4 -4
- package/v3/configuration.ts +2 -2
- package/v3/index.ts +2 -2
- package/v3/package.json +1 -1
package/beta/base.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* Use these APIs to interact with the
|
|
4
|
+
* Identity Security Cloud Beta API
|
|
5
|
+
* Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. These APIs are in beta and are subject to change. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 3.1.0-beta
|
|
8
8
|
*
|
package/beta/common.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* Use these APIs to interact with the
|
|
4
|
+
* Identity Security Cloud Beta API
|
|
5
|
+
* Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. These APIs are in beta and are subject to change. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 3.1.0-beta
|
|
8
8
|
*
|
|
@@ -134,8 +134,8 @@ export const toPathString = function (url: URL) {
|
|
|
134
134
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
135
135
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
136
136
|
axiosRetry(globalAxios, configuration.retriesConfig)
|
|
137
|
-
axiosArgs.axiosOptions.headers['X-SailPoint-SDK'] = 'typescript-1.3.
|
|
138
|
-
axiosArgs.axiosOptions.headers['User-Agent'] = 'OpenAPI-Generator/1.3.
|
|
137
|
+
axiosArgs.axiosOptions.headers['X-SailPoint-SDK'] = 'typescript-1.3.3'
|
|
138
|
+
axiosArgs.axiosOptions.headers['User-Agent'] = 'OpenAPI-Generator/1.3.3/ts'
|
|
139
139
|
const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePath + "/beta" || basePath) + axiosArgs.url};
|
|
140
140
|
return axios.request<T, R>(axiosRequestArgs);
|
|
141
141
|
};
|
package/beta/configuration.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* Use these APIs to interact with the
|
|
4
|
+
* Identity Security Cloud Beta API
|
|
5
|
+
* Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. These APIs are in beta and are subject to change. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 3.1.0-beta
|
|
8
8
|
*
|
package/beta/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* Use these APIs to interact with the
|
|
4
|
+
* Identity Security Cloud Beta API
|
|
5
|
+
* Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. These APIs are in beta and are subject to change. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 3.1.0-beta
|
|
8
8
|
*
|
package/beta/package.json
CHANGED
package/configuration.ts
CHANGED
|
@@ -133,16 +133,15 @@ export class Configuration {
|
|
|
133
133
|
this.tokenUrl = param.tokenUrl
|
|
134
134
|
this.clientId = param.clientId;
|
|
135
135
|
this.clientSecret = param.clientSecret;
|
|
136
|
-
|
|
137
|
-
const formData = new FormData()
|
|
138
|
-
formData .append('grant_type', 'client_credentials')
|
|
139
|
-
formData .append('client_id', this.clientId)
|
|
140
|
-
formData .append('client_secret', this.clientSecret)
|
|
141
|
-
|
|
136
|
+
|
|
142
137
|
if (!this.accessToken) {
|
|
138
|
+
const url = `${this.tokenUrl}`;
|
|
139
|
+
const formData = new FormData()
|
|
140
|
+
formData.append('grant_type', 'client_credentials')
|
|
141
|
+
formData.append('client_id', this.clientId)
|
|
142
|
+
formData.append('client_secret', this.clientSecret)
|
|
143
143
|
this.accessToken = this.getAccessToken(url, formData);
|
|
144
144
|
}
|
|
145
|
-
|
|
146
145
|
}
|
|
147
146
|
|
|
148
147
|
private getHomeParams(): ConfigurationParameters {
|