sailpoint-api-client 1.6.10 → 1.7.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.
- package/beta/README.md +2 -2
- package/beta/api.ts +8 -4
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/api.d.ts +8 -4
- package/dist/beta/api.js +8 -4
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +1 -1
- package/dist/beta/common.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/index.spec.js +18 -0
- package/dist/index.spec.js.map +1 -1
- package/dist/v2024/common.js +1 -1
- package/dist/v2024/common.js.map +1 -1
- package/dist/v2025/api.d.ts +3 -3
- package/dist/v2025/api.js +2 -2
- package/dist/v2025/common.js +1 -1
- package/dist/v2025/common.js.map +1 -1
- package/dist/v2026/api.d.ts +810 -0
- package/dist/v2026/api.js +792 -0
- package/dist/v2026/api.js.map +1 -0
- package/dist/v2026/base.d.ts +66 -0
- package/dist/v2026/base.js +89 -0
- package/dist/v2026/base.js.map +1 -0
- package/dist/v2026/common.d.ts +65 -0
- package/dist/v2026/common.js +266 -0
- package/dist/v2026/common.js.map +1 -0
- package/dist/v2026/configuration.d.ts +91 -0
- package/dist/v2026/configuration.js +46 -0
- package/dist/v2026/configuration.js.map +1 -0
- package/dist/v2026/index.d.ts +13 -0
- package/dist/v2026/index.js +32 -0
- package/dist/v2026/index.js.map +1 -0
- package/dist/v3/api.d.ts +8 -4
- package/dist/v3/api.js +8 -4
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/common.js +1 -1
- package/dist/v3/common.js.map +1 -1
- package/index.spec.ts +11 -1
- package/index.ts +3 -0
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +3 -3
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/.openapi-generator/FILES +12 -0
- package/v2026/.openapi-generator/VERSION +1 -0
- package/v2026/.openapi-generator-ignore +23 -0
- package/v2026/README.md +46 -0
- package/v2026/api.ts +1180 -0
- package/v2026/base.ts +86 -0
- package/v2026/common.ts +165 -0
- package/v2026/configuration.ts +110 -0
- package/v2026/git_push.sh +57 -0
- package/v2026/index.ts +18 -0
- package/v2026/package.json +34 -0
- package/v2026/tsconfig.json +21 -0
- package/v3/README.md +2 -2
- package/v3/api.ts +8 -4
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/v2026/base.ts
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Identity Security Cloud v2026 API
|
|
5
|
+
* Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. 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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v2026
|
|
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://sailpoint.api.identitynow.com/v2026".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.basePath + "/v2026"|| this.basePath;
|
|
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
|
+
}
|
package/v2026/common.ts
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Identity Security Cloud v2026 API
|
|
5
|
+
* Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. 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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v2026
|
|
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
|
+
const headers = {
|
|
150
|
+
...{'User-Agent':'OpenAPI-Generator/1.7.0/ts'},
|
|
151
|
+
...axiosArgs.axiosOptions.headers,
|
|
152
|
+
...{'X-SailPoint-SDK':'typescript-1.7.0'}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
156
|
+
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.")
|
|
157
|
+
} else if(configuration.experimental == true && ("X-SailPoint-Experimental" in headers)) {
|
|
158
|
+
console.log("Warning: You are using Experimental APIs")
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
axiosArgs.axiosOptions.headers = headers
|
|
162
|
+
const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePath + "/v2026" || basePath) + axiosArgs.url};
|
|
163
|
+
return axios.request<T, R>(axiosRequestArgs);
|
|
164
|
+
};
|
|
165
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Identity Security Cloud v2026 API
|
|
5
|
+
* Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. 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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v2026
|
|
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'
|
package/v2026/index.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Identity Security Cloud v2026 API
|
|
5
|
+
* Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. 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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v2026
|
|
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-sdk",
|
|
3
|
+
"version": "1.7.0",
|
|
4
|
+
"description": "OpenAPI client for sailpoint-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-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/v3/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.
|
|
1
|
+
## sailpoint-sdk@1.7.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.
|
|
39
|
+
npm install sailpoint-sdk@1.7.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/v3/api.ts
CHANGED
|
@@ -63622,10 +63622,11 @@ export const WorkflowsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
63622
63622
|
};
|
|
63623
63623
|
},
|
|
63624
63624
|
/**
|
|
63625
|
-
*
|
|
63625
|
+
* [Deprecated] This endpoint will be removed in October 2027. Please use `/workflow-executions/{id}/history-v2` instead. Retrieves the detailed history of a single workflow execution. Workflow executions are available for up to 90 days before being archived; accessing an archived execution will return a 404 Not Found.
|
|
63626
63626
|
* @summary Get workflow execution history
|
|
63627
63627
|
* @param {string} id Id of the workflow execution
|
|
63628
63628
|
* @param {*} [axiosOptions] Override http request option.
|
|
63629
|
+
* @deprecated
|
|
63629
63630
|
* @throws {RequiredError}
|
|
63630
63631
|
*/
|
|
63631
63632
|
getWorkflowExecutionHistory: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -64264,10 +64265,11 @@ export const WorkflowsApiFp = function(configuration?: Configuration) {
|
|
|
64264
64265
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
64265
64266
|
},
|
|
64266
64267
|
/**
|
|
64267
|
-
*
|
|
64268
|
+
* [Deprecated] This endpoint will be removed in October 2027. Please use `/workflow-executions/{id}/history-v2` instead. Retrieves the detailed history of a single workflow execution. Workflow executions are available for up to 90 days before being archived; accessing an archived execution will return a 404 Not Found.
|
|
64268
64269
|
* @summary Get workflow execution history
|
|
64269
64270
|
* @param {string} id Id of the workflow execution
|
|
64270
64271
|
* @param {*} [axiosOptions] Override http request option.
|
|
64272
|
+
* @deprecated
|
|
64271
64273
|
* @throws {RequiredError}
|
|
64272
64274
|
*/
|
|
64273
64275
|
async getWorkflowExecutionHistory(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowExecutionEvent>>> {
|
|
@@ -64501,10 +64503,11 @@ export const WorkflowsApiFactory = function (configuration?: Configuration, base
|
|
|
64501
64503
|
return localVarFp.getWorkflowExecution(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
|
|
64502
64504
|
},
|
|
64503
64505
|
/**
|
|
64504
|
-
*
|
|
64506
|
+
* [Deprecated] This endpoint will be removed in October 2027. Please use `/workflow-executions/{id}/history-v2` instead. Retrieves the detailed history of a single workflow execution. Workflow executions are available for up to 90 days before being archived; accessing an archived execution will return a 404 Not Found.
|
|
64505
64507
|
* @summary Get workflow execution history
|
|
64506
64508
|
* @param {WorkflowsApiGetWorkflowExecutionHistoryRequest} requestParameters Request parameters.
|
|
64507
64509
|
* @param {*} [axiosOptions] Override http request option.
|
|
64510
|
+
* @deprecated
|
|
64508
64511
|
* @throws {RequiredError}
|
|
64509
64512
|
*/
|
|
64510
64513
|
getWorkflowExecutionHistory(requestParameters: WorkflowsApiGetWorkflowExecutionHistoryRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowExecutionEvent>> {
|
|
@@ -65061,10 +65064,11 @@ export class WorkflowsApi extends BaseAPI {
|
|
|
65061
65064
|
}
|
|
65062
65065
|
|
|
65063
65066
|
/**
|
|
65064
|
-
*
|
|
65067
|
+
* [Deprecated] This endpoint will be removed in October 2027. Please use `/workflow-executions/{id}/history-v2` instead. Retrieves the detailed history of a single workflow execution. Workflow executions are available for up to 90 days before being archived; accessing an archived execution will return a 404 Not Found.
|
|
65065
65068
|
* @summary Get workflow execution history
|
|
65066
65069
|
* @param {WorkflowsApiGetWorkflowExecutionHistoryRequest} requestParameters Request parameters.
|
|
65067
65070
|
* @param {*} [axiosOptions] Override http request option.
|
|
65071
|
+
* @deprecated
|
|
65068
65072
|
* @throws {RequiredError}
|
|
65069
65073
|
* @memberof WorkflowsApi
|
|
65070
65074
|
*/
|
package/v3/common.ts
CHANGED
|
@@ -147,9 +147,9 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
149
|
const headers = {
|
|
150
|
-
...{'User-Agent':'OpenAPI-Generator/1.
|
|
150
|
+
...{'User-Agent':'OpenAPI-Generator/1.7.0/ts'},
|
|
151
151
|
...axiosArgs.axiosOptions.headers,
|
|
152
|
-
...{'X-SailPoint-SDK':'typescript-1.
|
|
152
|
+
...{'X-SailPoint-SDK':'typescript-1.7.0'}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|