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.
Files changed (91) hide show
  1. package/beta/README.md +2 -2
  2. package/beta/common.ts +8 -3
  3. package/beta/package.json +1 -1
  4. package/configuration.ts +40 -4
  5. package/dist/beta/common.js +6 -1
  6. package/dist/beta/common.js.map +1 -1
  7. package/dist/configuration.d.ts +25 -0
  8. package/dist/configuration.js +11 -3
  9. package/dist/configuration.js.map +1 -1
  10. package/dist/index.d.ts +4 -0
  11. package/dist/index.js +9 -3
  12. package/dist/index.js.map +1 -1
  13. package/dist/nerm/api.d.ts +19169 -0
  14. package/dist/nerm/api.js +22633 -0
  15. package/dist/nerm/api.js.map +1 -0
  16. package/dist/nerm/base.d.ts +66 -0
  17. package/dist/nerm/base.js +89 -0
  18. package/dist/nerm/base.js.map +1 -0
  19. package/dist/nerm/common.d.ts +65 -0
  20. package/dist/nerm/common.js +271 -0
  21. package/dist/nerm/common.js.map +1 -0
  22. package/dist/nerm/configuration.d.ts +91 -0
  23. package/dist/nerm/configuration.js +46 -0
  24. package/dist/nerm/configuration.js.map +1 -0
  25. package/dist/nerm/index.d.ts +13 -0
  26. package/dist/nerm/index.js +32 -0
  27. package/dist/nerm/index.js.map +1 -0
  28. package/dist/nermv2025/api.d.ts +653 -0
  29. package/dist/nermv2025/api.js +556 -0
  30. package/dist/nermv2025/api.js.map +1 -0
  31. package/dist/nermv2025/base.d.ts +66 -0
  32. package/dist/nermv2025/base.js +89 -0
  33. package/dist/nermv2025/base.js.map +1 -0
  34. package/dist/nermv2025/common.d.ts +65 -0
  35. package/dist/nermv2025/common.js +271 -0
  36. package/dist/nermv2025/common.js.map +1 -0
  37. package/dist/nermv2025/configuration.d.ts +91 -0
  38. package/dist/nermv2025/configuration.js +46 -0
  39. package/dist/nermv2025/configuration.js.map +1 -0
  40. package/dist/nermv2025/index.d.ts +13 -0
  41. package/dist/nermv2025/index.js +32 -0
  42. package/dist/nermv2025/index.js.map +1 -0
  43. package/dist/v2024/common.js +6 -1
  44. package/dist/v2024/common.js.map +1 -1
  45. package/dist/v2025/common.js +6 -1
  46. package/dist/v2025/common.js.map +1 -1
  47. package/dist/v2026/common.js +6 -1
  48. package/dist/v2026/common.js.map +1 -1
  49. package/dist/v3/api.d.ts +4 -4
  50. package/dist/v3/api.js +4 -4
  51. package/dist/v3/common.js +6 -1
  52. package/dist/v3/common.js.map +1 -1
  53. package/index.ts +8 -1
  54. package/nerm/.openapi-generator/FILES +12 -0
  55. package/nerm/.openapi-generator/VERSION +1 -0
  56. package/nerm/.openapi-generator-ignore +23 -0
  57. package/nerm/README.md +46 -0
  58. package/nerm/api.ts +29579 -0
  59. package/nerm/base.ts +86 -0
  60. package/nerm/common.ts +171 -0
  61. package/nerm/configuration.ts +110 -0
  62. package/nerm/git_push.sh +57 -0
  63. package/nerm/index.ts +18 -0
  64. package/nerm/package.json +34 -0
  65. package/nerm/tsconfig.json +21 -0
  66. package/nermv2025/.openapi-generator/FILES +12 -0
  67. package/nermv2025/.openapi-generator/VERSION +1 -0
  68. package/nermv2025/.openapi-generator-ignore +23 -0
  69. package/nermv2025/README.md +46 -0
  70. package/nermv2025/api.ts +896 -0
  71. package/nermv2025/base.ts +86 -0
  72. package/nermv2025/common.ts +171 -0
  73. package/nermv2025/configuration.ts +110 -0
  74. package/nermv2025/git_push.sh +57 -0
  75. package/nermv2025/index.ts +18 -0
  76. package/nermv2025/package.json +34 -0
  77. package/nermv2025/tsconfig.json +21 -0
  78. package/package.json +1 -1
  79. package/v2024/README.md +2 -2
  80. package/v2024/common.ts +8 -3
  81. package/v2024/package.json +1 -1
  82. package/v2025/README.md +2 -2
  83. package/v2025/common.ts +8 -3
  84. package/v2025/package.json +1 -1
  85. package/v2026/README.md +2 -2
  86. package/v2026/common.ts +8 -3
  87. package/v2026/package.json +1 -1
  88. package/v3/README.md +2 -2
  89. package/v3/api.ts +4 -4
  90. package/v3/common.ts +8 -3
  91. package/v3/package.json +1 -1
@@ -0,0 +1,86 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * NERM API v2025
5
+ * The NERM API v2025 accesss and modifies resources in your environment.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from '../configuration';
17
+ // Some imports not used depending on template conditions
18
+ // @ts-ignore
19
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
20
+ import globalAxios from 'axios';
21
+
22
+ export const BASE_PATH = "https://acmeco.nonemployee.com/api/v2025".replace(/\/+$/, "");
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ */
28
+ export const COLLECTION_FORMATS = {
29
+ csv: ",",
30
+ ssv: " ",
31
+ tsv: "\t",
32
+ pipes: "|",
33
+ };
34
+
35
+ /**
36
+ *
37
+ * @export
38
+ * @interface RequestArgs
39
+ */
40
+ export interface RequestArgs {
41
+ url: string;
42
+ axiosOptions: RawAxiosRequestConfig;
43
+ }
44
+
45
+ /**
46
+ *
47
+ * @export
48
+ * @class BaseAPI
49
+ */
50
+ export class BaseAPI {
51
+ protected configuration: Configuration | undefined;
52
+
53
+ constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
54
+ if (configuration) {
55
+ this.configuration = configuration;
56
+ this.basePath = configuration.nermBasePath+ "/2025";
57
+ }
58
+ }
59
+ };
60
+
61
+ /**
62
+ *
63
+ * @export
64
+ * @class RequiredError
65
+ * @extends {Error}
66
+ */
67
+ export class RequiredError extends Error {
68
+ constructor(public field: string, msg?: string) {
69
+ super(msg);
70
+ this.name = "RequiredError"
71
+ }
72
+ }
73
+
74
+ interface ServerMap {
75
+ [key: string]: {
76
+ url: string,
77
+ description: string,
78
+ }[];
79
+ }
80
+
81
+ /**
82
+ *
83
+ * @export
84
+ */
85
+ export const operationServerMap: ServerMap = {
86
+ }
@@ -0,0 +1,171 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * NERM API v2025
5
+ * The NERM API v2025 accesss and modifies resources in your environment.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from "../configuration";
17
+ import type { RequestArgs } from "./base";
18
+ import type { AxiosInstance, AxiosResponse } from 'axios';
19
+ import { RequiredError } from "./base";
20
+ import axiosRetry from "axios-retry";
21
+
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ export const DUMMY_BASE_URL = 'https://example.com'
27
+
28
+ /**
29
+ *
30
+ * @throws {RequiredError}
31
+ * @export
32
+ */
33
+ export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
34
+ if (paramValue === null || paramValue === undefined) {
35
+ throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
36
+ }
37
+ }
38
+
39
+ /**
40
+ *
41
+ * @export
42
+ */
43
+ export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
44
+ if (configuration && configuration.apiKey) {
45
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
46
+ ? await configuration.apiKey(keyParamName)
47
+ : await configuration.apiKey;
48
+ object[keyParamName] = localVarApiKeyValue;
49
+ }
50
+ }
51
+
52
+ /**
53
+ *
54
+ * @export
55
+ */
56
+ export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
57
+ if (configuration && (configuration.username || configuration.password)) {
58
+ object["auth"] = { username: configuration.username, password: configuration.password };
59
+ }
60
+ }
61
+
62
+ /**
63
+ *
64
+ * @export
65
+ */
66
+ export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
67
+ if (configuration && configuration.accessToken) {
68
+ const accessToken = typeof configuration.accessToken === 'function'
69
+ ? await configuration.accessToken()
70
+ : await configuration.accessToken;
71
+ object["Authorization"] = "Bearer " + accessToken;
72
+ }
73
+ }
74
+
75
+ /**
76
+ *
77
+ * @export
78
+ */
79
+ export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
80
+ if (configuration && configuration.accessToken) {
81
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
82
+ ? await configuration.accessToken(name, scopes)
83
+ : await configuration.accessToken;
84
+ object["Authorization"] = "Bearer " + localVarAccessTokenValue;
85
+ }
86
+ }
87
+
88
+ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
89
+ if (parameter == null) return;
90
+ if (typeof parameter === "object") {
91
+ if (Array.isArray(parameter)) {
92
+ (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
93
+ }
94
+ else {
95
+ Object.keys(parameter).forEach(currentKey =>
96
+ setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)
97
+ );
98
+ }
99
+ }
100
+ else {
101
+ if (urlSearchParams.has(key)) {
102
+ urlSearchParams.append(key, parameter);
103
+ }
104
+ else {
105
+ urlSearchParams.set(key, parameter);
106
+ }
107
+ }
108
+ }
109
+
110
+ /**
111
+ *
112
+ * @export
113
+ */
114
+ export const setSearchParams = function (url: URL, ...objects: any[]) {
115
+ const searchParams = new URLSearchParams(url.search);
116
+ setFlattenedQueryParams(searchParams, objects);
117
+ url.search = searchParams.toString();
118
+ }
119
+
120
+ /**
121
+ *
122
+ * @export
123
+ */
124
+ export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
125
+ const nonString = typeof value !== 'string';
126
+ const needsSerialization = nonString && configuration && configuration.isJsonMime
127
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
128
+ : nonString;
129
+ return needsSerialization
130
+ ? JSON.stringify(value !== undefined ? value : {})
131
+ : (value || "");
132
+ }
133
+
134
+ /**
135
+ *
136
+ * @export
137
+ */
138
+ export const toPathString = function (url: URL) {
139
+ return url.pathname + url.search + url.hash
140
+ }
141
+
142
+ /**
143
+ *
144
+ * @export
145
+ */
146
+ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
147
+ return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
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)`;
154
+ const headers = {
155
+ ...{'Accept': 'application/json'},
156
+ ...axiosArgs.axiosOptions.headers,
157
+ ...{'X-SailPoint-SDK':'typescript-1.8.0'},
158
+ ...{'User-Agent': userAgent},
159
+ }
160
+
161
+ if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
162
+ throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.")
163
+ } else if(configuration.experimental == true && ("X-SailPoint-Experimental" in headers)) {
164
+ console.log("Warning: You are using Experimental APIs")
165
+ }
166
+
167
+ axiosArgs.axiosOptions.headers = headers
168
+ const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.nermBasePath+ "/2025" || basePath) + axiosArgs.url};
169
+ return axios.request<T, R>(axiosRequestArgs);
170
+ };
171
+ }
@@ -0,0 +1,110 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * NERM API v2025
5
+ * The NERM API v2025 accesss and modifies resources in your environment.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ export interface ConfigurationParameters {
17
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
18
+ username?: string;
19
+ password?: string;
20
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
21
+ basePath?: string;
22
+ serverIndex?: number;
23
+ baseOptions?: any;
24
+ formDataCtor?: new () => any;
25
+ }
26
+
27
+ export class Configuration {
28
+ /**
29
+ * parameter for apiKey security
30
+ * @param name security name
31
+ * @memberof Configuration
32
+ */
33
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
34
+ /**
35
+ * parameter for basic security
36
+ *
37
+ * @type {string}
38
+ * @memberof Configuration
39
+ */
40
+ username?: string;
41
+ /**
42
+ * parameter for basic security
43
+ *
44
+ * @type {string}
45
+ * @memberof Configuration
46
+ */
47
+ password?: string;
48
+ /**
49
+ * parameter for oauth2 security
50
+ * @param name security name
51
+ * @param scopes oauth2 scope
52
+ * @memberof Configuration
53
+ */
54
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
55
+ /**
56
+ * override base path
57
+ *
58
+ * @type {string}
59
+ * @memberof Configuration
60
+ */
61
+ basePath?: string;
62
+ /**
63
+ * override server index
64
+ *
65
+ * @type {number}
66
+ * @memberof Configuration
67
+ */
68
+ serverIndex?: number;
69
+ /**
70
+ * base options for axios calls
71
+ *
72
+ * @type {any}
73
+ * @memberof Configuration
74
+ */
75
+ baseOptions?: any;
76
+ /**
77
+ * The FormData constructor that will be used to create multipart form data
78
+ * requests. You can inject this here so that execution environments that
79
+ * do not support the FormData class can still run the generated client.
80
+ *
81
+ * @type {new () => FormData}
82
+ */
83
+ formDataCtor?: new () => any;
84
+
85
+ constructor(param: ConfigurationParameters = {}) {
86
+ this.apiKey = param.apiKey;
87
+ this.username = param.username;
88
+ this.password = param.password;
89
+ this.accessToken = param.accessToken;
90
+ this.basePath = param.basePath;
91
+ this.serverIndex = param.serverIndex;
92
+ this.baseOptions = param.baseOptions;
93
+ this.formDataCtor = param.formDataCtor;
94
+ }
95
+
96
+ /**
97
+ * Check if the given MIME is a JSON MIME.
98
+ * JSON MIME examples:
99
+ * application/json
100
+ * application/json; charset=UTF8
101
+ * APPLICATION/JSON
102
+ * application/vnd.company+json
103
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
104
+ * @return True if the given MIME is JSON, false otherwise.
105
+ */
106
+ public isJsonMime(mime: string): boolean {
107
+ const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
108
+ return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
109
+ }
110
+ }
@@ -0,0 +1,57 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="GIT_USER_ID"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="GIT_REPO_ID"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=$(git remote)
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
@@ -0,0 +1,18 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * NERM API v2025
5
+ * The NERM API v2025 accesss and modifies resources in your environment.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ export * from "./api";
17
+ export * from "../configuration";
18
+
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "sailpoint-nerm-sdk",
3
+ "version": "1.8.0",
4
+ "description": "OpenAPI client for sailpoint-nerm-sdk",
5
+ "author": "OpenAPI-Generator Contributors",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
9
+ },
10
+ "keywords": [
11
+ "axios",
12
+ "typescript",
13
+ "openapi-client",
14
+ "openapi-generator",
15
+ "sailpoint-nerm-sdk"
16
+ ],
17
+ "license": "Unlicense",
18
+ "main": "./dist/index.js",
19
+ "typings": "./dist/index.d.ts",
20
+ "scripts": {
21
+ "build": "tsc",
22
+ "prepare": "npm run build"
23
+ },
24
+ "dependencies": {
25
+ "axios": "^1.6.1"
26
+ },
27
+ "devDependencies": {
28
+ "@types/node": "12.11.5 - 12.20.42",
29
+ "typescript": "^4.0 || ^5.0"
30
+ },
31
+ "publishConfig": {
32
+ "registry": "sailpoint.com"
33
+ }
34
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "compilerOptions": {
3
+ "declaration": true,
4
+ "target": "ES5",
5
+ "module": "commonjs",
6
+ "noImplicitAny": true,
7
+ "outDir": "dist",
8
+ "rootDir": ".",
9
+ "lib": [
10
+ "es6",
11
+ "dom"
12
+ ],
13
+ "typeRoots": [
14
+ "node_modules/@types"
15
+ ]
16
+ },
17
+ "exclude": [
18
+ "dist",
19
+ "node_modules"
20
+ ]
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailpoint-api-client",
3
- "version": "1.7.30",
3
+ "version": "1.8.0",
4
4
  "description": "Official library for using the SailPoint API",
5
5
  "author": "SailPoint DevOps",
6
6
  "repository": {
package/v2024/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## sailpoint-sdk@1.7.30
1
+ ## sailpoint-sdk@1.8.0
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-sdk@1.7.30 --save
39
+ npm install sailpoint-sdk@1.8.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/v2024/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.7.30'}
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 + "/v2024" || basePath) + axiosArgs.url};
167
+ const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePath+ "/v2024" || basePath) + axiosArgs.url};
163
168
  return axios.request<T, R>(axiosRequestArgs);
164
169
  };
165
170
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailpoint-sdk",
3
- "version": "1.7.30",
3
+ "version": "1.8.0",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
package/v2025/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## sailpoint-sdk@1.7.30
1
+ ## sailpoint-sdk@1.8.0
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-sdk@1.7.30 --save
39
+ npm install sailpoint-sdk@1.8.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/v2025/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.7.30'}
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 + "/v2025" || basePath) + axiosArgs.url};
167
+ const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePath+ "/v2025" || basePath) + axiosArgs.url};
163
168
  return axios.request<T, R>(axiosRequestArgs);
164
169
  };
165
170
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailpoint-sdk",
3
- "version": "1.7.30",
3
+ "version": "1.8.0",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
package/v2026/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## sailpoint-sdk@1.7.30
1
+ ## sailpoint-sdk@1.8.0
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-sdk@1.7.30 --save
39
+ npm install sailpoint-sdk@1.8.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/v2026/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.7.30'}
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 + "/v2026" || basePath) + axiosArgs.url};
167
+ const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePath+ "/v2026" || basePath) + axiosArgs.url};
163
168
  return axios.request<T, R>(axiosRequestArgs);
164
169
  };
165
170
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailpoint-sdk",
3
- "version": "1.7.30",
3
+ "version": "1.8.0",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
package/v3/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## sailpoint-sdk@1.7.30
1
+ ## sailpoint-sdk@1.8.0
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-sdk@1.7.30 --save
39
+ npm install sailpoint-sdk@1.8.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_