sailpoint-api-client 2.0.0 → 2.0.1
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/nerm/common.js +2 -2
- package/dist/nermv2025/common.js +2 -2
- 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/nerm/common.js
CHANGED
|
@@ -251,12 +251,12 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
251
251
|
return __generator(this, function (_a) {
|
|
252
252
|
switch (_a.label) {
|
|
253
253
|
case 0:
|
|
254
|
-
userAgent = "SailPoint-SDK-TypeScript/2.0.
|
|
254
|
+
userAgent = "SailPoint-SDK-TypeScript/2.0.1";
|
|
255
255
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
256
256
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
257
257
|
}
|
|
258
258
|
userAgent += " (".concat(process.platform, "; ").concat(process.arch, ") Node/").concat(process.versions.node, " (openapi-generator/7.12.0)");
|
|
259
|
-
headers = __assign(__assign(__assign({ 'Accept': 'application/json' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-2.0.
|
|
259
|
+
headers = __assign(__assign(__assign({ 'Accept': 'application/json' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-2.0.1' }), { 'User-Agent': userAgent });
|
|
260
260
|
if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
261
261
|
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
|
|
262
262
|
}
|
package/dist/nermv2025/common.js
CHANGED
|
@@ -251,12 +251,12 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
251
251
|
return __generator(this, function (_a) {
|
|
252
252
|
switch (_a.label) {
|
|
253
253
|
case 0:
|
|
254
|
-
userAgent = "SailPoint-SDK-TypeScript/2.0.
|
|
254
|
+
userAgent = "SailPoint-SDK-TypeScript/2.0.1";
|
|
255
255
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
256
256
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
257
257
|
}
|
|
258
258
|
userAgent += " (".concat(process.platform, "; ").concat(process.arch, ") Node/").concat(process.versions.node, " (openapi-generator/7.12.0)");
|
|
259
|
-
headers = __assign(__assign(__assign({ 'Accept': 'application/json' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-2.0.
|
|
259
|
+
headers = __assign(__assign(__assign({ 'Accept': 'application/json' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-2.0.1' }), { 'User-Agent': userAgent });
|
|
260
260
|
if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
261
261
|
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
|
|
262
262
|
}
|
package/nerm/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-nerm-sdk@2.0.
|
|
1
|
+
## sailpoint-nerm-sdk@2.0.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-nerm-sdk@2.0.
|
|
39
|
+
npm install sailpoint-nerm-sdk@2.0.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/nerm/common.ts
CHANGED
|
@@ -144,7 +144,7 @@ export const toPathString = function (url: URL) {
|
|
|
144
144
|
*/
|
|
145
145
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
146
146
|
return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
147
|
-
let userAgent = `SailPoint-SDK-TypeScript/2.0.
|
|
147
|
+
let userAgent = `SailPoint-SDK-TypeScript/2.0.1`;
|
|
148
148
|
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
149
149
|
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
150
150
|
}
|
|
@@ -152,7 +152,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
152
152
|
const headers = {
|
|
153
153
|
...{'Accept': 'application/json'},
|
|
154
154
|
...axiosArgs.axiosOptions.headers,
|
|
155
|
-
...{'X-SailPoint-SDK':'typescript-2.0.
|
|
155
|
+
...{'X-SailPoint-SDK':'typescript-2.0.1'},
|
|
156
156
|
...{'User-Agent': userAgent},
|
|
157
157
|
}
|
|
158
158
|
|
package/nerm/package.json
CHANGED
package/nermv2025/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-nerm-sdk@2.0.
|
|
1
|
+
## sailpoint-nerm-sdk@2.0.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-nerm-sdk@2.0.
|
|
39
|
+
npm install sailpoint-nerm-sdk@2.0.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/nermv2025/common.ts
CHANGED
|
@@ -144,7 +144,7 @@ export const toPathString = function (url: URL) {
|
|
|
144
144
|
*/
|
|
145
145
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
146
146
|
return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
147
|
-
let userAgent = `SailPoint-SDK-TypeScript/2.0.
|
|
147
|
+
let userAgent = `SailPoint-SDK-TypeScript/2.0.1`;
|
|
148
148
|
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
149
149
|
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
150
150
|
}
|
|
@@ -152,7 +152,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
152
152
|
const headers = {
|
|
153
153
|
...{'Accept': 'application/json'},
|
|
154
154
|
...axiosArgs.axiosOptions.headers,
|
|
155
|
-
...{'X-SailPoint-SDK':'typescript-2.0.
|
|
155
|
+
...{'X-SailPoint-SDK':'typescript-2.0.1'},
|
|
156
156
|
...{'User-Agent': userAgent},
|
|
157
157
|
}
|
|
158
158
|
|
package/nermv2025/package.json
CHANGED