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/base.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * IdentityNow Beta API
5
- * Use these APIs to interact with the IdentityNow 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.
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
- * IdentityNow Beta API
5
- * Use these APIs to interact with the IdentityNow 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.
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.1'
138
- axiosArgs.axiosOptions.headers['User-Agent'] = 'OpenAPI-Generator/1.3.1/ts'
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
  };
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * IdentityNow Beta API
5
- * Use these APIs to interact with the IdentityNow 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.
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
- * IdentityNow Beta API
5
- * Use these APIs to interact with the IdentityNow 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.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailpoint-sdk",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
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
- const url = `${this.tokenUrl}`;
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 {