sailpoint-api-client 1.3.0 → 1.3.2

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 (90) hide show
  1. package/beta/README.md +2 -2
  2. package/beta/api.ts +4381 -1280
  3. package/beta/base.ts +1 -1
  4. package/beta/common.ts +3 -3
  5. package/beta/package.json +1 -1
  6. package/configuration.ts +12 -32
  7. package/dist/beta/api.d.ts +3253 -1116
  8. package/dist/beta/api.js +3215 -1070
  9. package/dist/beta/api.js.map +1 -1
  10. package/dist/beta/base.js +1 -1
  11. package/dist/beta/base.js.map +1 -1
  12. package/dist/beta/common.js +3 -3
  13. package/dist/beta/common.js.map +1 -1
  14. package/dist/configuration.d.ts +1 -22
  15. package/dist/configuration.js +10 -8
  16. package/dist/configuration.js.map +1 -1
  17. package/dist/index.d.ts +0 -4
  18. package/dist/index.js +3 -9
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.spec.js +0 -35
  21. package/dist/index.spec.js.map +1 -1
  22. package/dist/v3/api.d.ts +5603 -1228
  23. package/dist/v3/api.js +15109 -10777
  24. package/dist/v3/api.js.map +1 -1
  25. package/dist/v3/base.js +1 -1
  26. package/dist/v3/base.js.map +1 -1
  27. package/dist/v3/common.js +3 -3
  28. package/dist/v3/common.js.map +1 -1
  29. package/index.spec.ts +1 -24
  30. package/index.ts +0 -6
  31. package/package.json +1 -1
  32. package/v3/README.md +2 -2
  33. package/v3/api.ts +9193 -2785
  34. package/v3/base.ts +1 -1
  35. package/v3/common.ts +3 -3
  36. package/v3/package.json +1 -1
  37. package/cc/.openapi-generator/FILES +0 -12
  38. package/cc/.openapi-generator/VERSION +0 -1
  39. package/cc/.openapi-generator-ignore +0 -23
  40. package/cc/README.md +0 -45
  41. package/cc/api.ts +0 -3877
  42. package/cc/base.ts +0 -71
  43. package/cc/common.ts +0 -142
  44. package/cc/configuration.ts +0 -101
  45. package/cc/git_push.sh +0 -57
  46. package/cc/index.ts +0 -17
  47. package/cc/package.json +0 -35
  48. package/cc/tsconfig.json +0 -21
  49. package/dist/cc/api.d.ts +0 -2946
  50. package/dist/cc/api.js +0 -2260
  51. package/dist/cc/api.js.map +0 -1
  52. package/dist/cc/base.d.ts +0 -55
  53. package/dist/cc/base.js +0 -86
  54. package/dist/cc/base.js.map +0 -1
  55. package/dist/cc/common.d.ts +0 -65
  56. package/dist/cc/common.js +0 -251
  57. package/dist/cc/common.js.map +0 -1
  58. package/dist/cc/configuration.d.ts +0 -83
  59. package/dist/cc/configuration.js +0 -45
  60. package/dist/cc/configuration.js.map +0 -1
  61. package/dist/cc/index.d.ts +0 -12
  62. package/dist/cc/index.js +0 -31
  63. package/dist/cc/index.js.map +0 -1
  64. package/dist/v2/api.d.ts +0 -1359
  65. package/dist/v2/api.js +0 -1242
  66. package/dist/v2/api.js.map +0 -1
  67. package/dist/v2/base.d.ts +0 -55
  68. package/dist/v2/base.js +0 -86
  69. package/dist/v2/base.js.map +0 -1
  70. package/dist/v2/common.d.ts +0 -65
  71. package/dist/v2/common.js +0 -251
  72. package/dist/v2/common.js.map +0 -1
  73. package/dist/v2/configuration.d.ts +0 -83
  74. package/dist/v2/configuration.js +0 -45
  75. package/dist/v2/configuration.js.map +0 -1
  76. package/dist/v2/index.d.ts +0 -12
  77. package/dist/v2/index.js +0 -31
  78. package/dist/v2/index.js.map +0 -1
  79. package/v2/.openapi-generator/FILES +0 -12
  80. package/v2/.openapi-generator/VERSION +0 -1
  81. package/v2/.openapi-generator-ignore +0 -23
  82. package/v2/README.md +0 -45
  83. package/v2/api.ts +0 -1900
  84. package/v2/base.ts +0 -71
  85. package/v2/common.ts +0 -142
  86. package/v2/configuration.ts +0 -101
  87. package/v2/git_push.sh +0 -57
  88. package/v2/index.ts +0 -17
  89. package/v2/package.json +0 -35
  90. package/v2/tsconfig.json +0 -21
package/v3/base.ts CHANGED
@@ -52,7 +52,7 @@ export class BaseAPI {
52
52
  constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
53
53
  if (configuration) {
54
54
  this.configuration = configuration;
55
- this.basePath = configuration.basePathV3 || this.basePath;
55
+ this.basePath = configuration.basePath + "/v3"|| this.basePath;
56
56
  }
57
57
  }
58
58
  };
package/v3/common.ts CHANGED
@@ -134,9 +134,9 @@ 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.0'
138
- axiosArgs.axiosOptions.headers['User-Agent'] = 'OpenAPI-Generator/1.3.0/ts'
139
- const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePathV3 || basePath) + axiosArgs.url};
137
+ axiosArgs.axiosOptions.headers['X-SailPoint-SDK'] = 'typescript-1.3.2'
138
+ axiosArgs.axiosOptions.headers['User-Agent'] = 'OpenAPI-Generator/1.3.2/ts'
139
+ const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePath + "/v3" || basePath) + axiosArgs.url};
140
140
  return axios.request<T, R>(axiosRequestArgs);
141
141
  };
142
142
  }
package/v3/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailpoint-sdk",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,12 +0,0 @@
1
- .gitignore
2
- .npmignore
3
- .openapi-generator-ignore
4
- README.md
5
- api.ts
6
- base.ts
7
- common.ts
8
- configuration.ts
9
- git_push.sh
10
- index.ts
11
- package.json
12
- tsconfig.json
@@ -1 +0,0 @@
1
- 6.0.1
@@ -1,23 +0,0 @@
1
- # OpenAPI Generator Ignore
2
- # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
-
4
- # Use this file to prevent files from being overwritten by the generator.
5
- # The patterns follow closely to .gitignore or .dockerignore.
6
-
7
- # As an example, the C# client generator defines ApiClient.cs.
8
- # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
- #ApiClient.cs
10
-
11
- # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
- #foo/*/qux
13
- # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
-
15
- # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
- #foo/**/qux
17
- # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
-
19
- # You can also negate patterns with an exclamation (!).
20
- # For example, you can ignore all files in a docs folder with the file extension .md:
21
- #docs/*.md
22
- # Then explicitly reverse the ignore rule for a single file:
23
- #!docs/README.md
package/cc/README.md DELETED
@@ -1,45 +0,0 @@
1
- ## sailpoint-sdk@1.3.0
2
-
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
-
5
- Environment
6
- * Node.js
7
- * Webpack
8
- * Browserify
9
-
10
- Language level
11
- * ES5 - you must have a Promises/A+ library installed
12
- * ES6
13
-
14
- Module system
15
- * CommonJS
16
- * ES6 module system
17
-
18
- It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via `package.json`. ([Reference](http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html))
19
-
20
- ### Building
21
-
22
- To build and compile the typescript sources to javascript use:
23
- ```
24
- npm install
25
- npm run build
26
- ```
27
-
28
- ### Publishing
29
-
30
- First build the package then run ```npm publish```
31
-
32
- ### Consuming
33
-
34
- navigate to the folder of your consuming project and run one of the following commands.
35
-
36
- _published:_
37
-
38
- ```
39
- npm install sailpoint-sdk@1.3.0 --save
40
- ```
41
-
42
- _unPublished (not recommended):_
43
-
44
- ```
45
- npm install PATH_TO_GENERATED_PACKAGE --save