sailpoint-api-client 1.6.7 → 1.6.9
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 +87 -577
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/api.d.ts +81 -452
- package/dist/beta/api.js +30 -300
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +1 -1
- package/dist/generic/api.d.ts +386 -0
- package/dist/generic/api.js +689 -0
- package/dist/generic/api.js.map +1 -0
- package/dist/generic/base.d.ts +66 -0
- package/dist/generic/base.js +89 -0
- package/dist/generic/base.js.map +1 -0
- package/dist/generic/common.d.ts +65 -0
- package/dist/generic/common.js +260 -0
- package/dist/generic/common.js.map +1 -0
- package/dist/generic/configuration.d.ts +91 -0
- package/dist/generic/configuration.js +46 -0
- package/dist/generic/configuration.js.map +1 -0
- package/dist/generic/index.d.ts +13 -0
- package/dist/generic/index.js +32 -0
- package/dist/generic/index.js.map +1 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/paginator.d.ts +3 -1
- package/dist/paginator.js +146 -0
- package/dist/paginator.js.map +1 -1
- package/dist/v2024/api.d.ts +1838 -575
- package/dist/v2024/api.js +1894 -593
- package/dist/v2024/api.js.map +1 -1
- package/dist/v2024/common.js +1 -1
- package/dist/v2025/api.d.ts +4368 -679
- package/dist/v2025/api.js +3866 -904
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +1 -1
- package/dist/v3/api.d.ts +45 -83
- package/dist/v3/api.js +31 -30
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/common.js +1 -1
- package/generic/.openapi-generator/FILES +11 -0
- package/generic/.openapi-generator/VERSION +1 -0
- package/generic/.openapi-generator-ignore +23 -0
- package/generic/README.md +46 -0
- package/generic/api.ts +681 -0
- package/generic/base.ts +86 -0
- package/generic/common.ts +159 -0
- package/generic/configuration.ts +110 -0
- package/generic/git_push.sh +57 -0
- package/generic/index.ts +18 -0
- package/generic/package.json +34 -0
- package/generic/tsconfig.json +21 -0
- package/index.ts +9 -7
- package/package.json +1 -1
- package/paginator.ts +137 -11
- package/v2024/README.md +2 -2
- package/v2024/api.ts +3049 -1208
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +7717 -2573
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +61 -97
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/v2025/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.6.
|
|
150
|
+
...{'User-Agent':'OpenAPI-Generator/1.6.9/ts'},
|
|
151
151
|
...axiosArgs.axiosOptions.headers,
|
|
152
|
-
...{'X-SailPoint-SDK':'typescript-1.6.
|
|
152
|
+
...{'X-SailPoint-SDK':'typescript-1.6.9'}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
package/v2025/package.json
CHANGED
package/v3/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.6.
|
|
1
|
+
## sailpoint-sdk@1.6.9
|
|
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.6.
|
|
39
|
+
npm install sailpoint-sdk@1.6.9 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/v3/api.ts
CHANGED
|
@@ -8499,38 +8499,6 @@ export const EntitlementRefTypeV3 = {
|
|
|
8499
8499
|
|
|
8500
8500
|
export type EntitlementRefTypeV3 = typeof EntitlementRefTypeV3[keyof typeof EntitlementRefTypeV3];
|
|
8501
8501
|
|
|
8502
|
-
/**
|
|
8503
|
-
* Entitlement including a specific set of access.
|
|
8504
|
-
* @export
|
|
8505
|
-
* @interface EntitlementRef1
|
|
8506
|
-
*/
|
|
8507
|
-
export interface EntitlementRef1 {
|
|
8508
|
-
/**
|
|
8509
|
-
* Entitlement\'s DTO type.
|
|
8510
|
-
* @type {string}
|
|
8511
|
-
* @memberof EntitlementRef1
|
|
8512
|
-
*/
|
|
8513
|
-
'type'?: EntitlementRef1TypeV3;
|
|
8514
|
-
/**
|
|
8515
|
-
* Entitlement\'s ID.
|
|
8516
|
-
* @type {string}
|
|
8517
|
-
* @memberof EntitlementRef1
|
|
8518
|
-
*/
|
|
8519
|
-
'id'?: string;
|
|
8520
|
-
/**
|
|
8521
|
-
* Entitlement\'s display name.
|
|
8522
|
-
* @type {string}
|
|
8523
|
-
* @memberof EntitlementRef1
|
|
8524
|
-
*/
|
|
8525
|
-
'name'?: string;
|
|
8526
|
-
}
|
|
8527
|
-
|
|
8528
|
-
export const EntitlementRef1TypeV3 = {
|
|
8529
|
-
Entitlement: 'ENTITLEMENT'
|
|
8530
|
-
} as const;
|
|
8531
|
-
|
|
8532
|
-
export type EntitlementRef1TypeV3 = typeof EntitlementRef1TypeV3[keyof typeof EntitlementRef1TypeV3];
|
|
8533
|
-
|
|
8534
8502
|
/**
|
|
8535
8503
|
*
|
|
8536
8504
|
* @export
|
|
@@ -11797,31 +11765,6 @@ export interface IdentityWithNewAccess {
|
|
|
11797
11765
|
*/
|
|
11798
11766
|
'accessRefs': Array<IdentityWithNewAccessAccessRefsInner>;
|
|
11799
11767
|
}
|
|
11800
|
-
/**
|
|
11801
|
-
* An identity with a set of access to be added
|
|
11802
|
-
* @export
|
|
11803
|
-
* @interface IdentityWithNewAccess1
|
|
11804
|
-
*/
|
|
11805
|
-
export interface IdentityWithNewAccess1 {
|
|
11806
|
-
/**
|
|
11807
|
-
* Set of identity IDs to be checked.
|
|
11808
|
-
* @type {string}
|
|
11809
|
-
* @memberof IdentityWithNewAccess1
|
|
11810
|
-
*/
|
|
11811
|
-
'identityId': string;
|
|
11812
|
-
/**
|
|
11813
|
-
* The bundle of access profiles to be added to the identities specified. All references must be ENTITLEMENT type.
|
|
11814
|
-
* @type {Array<EntitlementRef1>}
|
|
11815
|
-
* @memberof IdentityWithNewAccess1
|
|
11816
|
-
*/
|
|
11817
|
-
'accessRefs': Array<EntitlementRef1>;
|
|
11818
|
-
/**
|
|
11819
|
-
* Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on completion of the violation check.
|
|
11820
|
-
* @type {{ [key: string]: string; }}
|
|
11821
|
-
* @memberof IdentityWithNewAccess1
|
|
11822
|
-
*/
|
|
11823
|
-
'clientMetadata'?: { [key: string]: string; };
|
|
11824
|
-
}
|
|
11825
11768
|
/**
|
|
11826
11769
|
* Entitlement including a specific set of access.
|
|
11827
11770
|
* @export
|
|
@@ -11840,12 +11783,6 @@ export interface IdentityWithNewAccessAccessRefsInner {
|
|
|
11840
11783
|
* @memberof IdentityWithNewAccessAccessRefsInner
|
|
11841
11784
|
*/
|
|
11842
11785
|
'id'?: string;
|
|
11843
|
-
/**
|
|
11844
|
-
* Entitlement\'s display name.
|
|
11845
|
-
* @type {string}
|
|
11846
|
-
* @memberof IdentityWithNewAccessAccessRefsInner
|
|
11847
|
-
*/
|
|
11848
|
-
'name'?: string;
|
|
11849
11786
|
}
|
|
11850
11787
|
|
|
11851
11788
|
export const IdentityWithNewAccessAccessRefsInnerTypeV3 = {
|
|
@@ -12957,7 +12894,7 @@ export interface ManagedCluster {
|
|
|
12957
12894
|
*/
|
|
12958
12895
|
'ccgVersion': string;
|
|
12959
12896
|
/**
|
|
12960
|
-
* boolean flag
|
|
12897
|
+
* boolean flag indicating whether or not the cluster configuration is pinned
|
|
12961
12898
|
* @type {boolean}
|
|
12962
12899
|
* @memberof ManagedCluster
|
|
12963
12900
|
*/
|
|
@@ -12998,6 +12935,12 @@ export interface ManagedCluster {
|
|
|
12998
12935
|
* @memberof ManagedCluster
|
|
12999
12936
|
*/
|
|
13000
12937
|
'publicKey'?: string | null;
|
|
12938
|
+
/**
|
|
12939
|
+
*
|
|
12940
|
+
* @type {ManagedClusterEncryptionConfig}
|
|
12941
|
+
* @memberof ManagedCluster
|
|
12942
|
+
*/
|
|
12943
|
+
'encryptionConfiguration'?: ManagedClusterEncryptionConfig;
|
|
13001
12944
|
/**
|
|
13002
12945
|
* Key describing any immediate cluster alerts
|
|
13003
12946
|
* @type {string}
|
|
@@ -13065,6 +13008,27 @@ export interface ManagedClusterAttributes {
|
|
|
13065
13008
|
*/
|
|
13066
13009
|
'keystore'?: string | null;
|
|
13067
13010
|
}
|
|
13011
|
+
/**
|
|
13012
|
+
* Defines the encryption settings for a managed cluster, including the format used for storing and processing encrypted data.
|
|
13013
|
+
* @export
|
|
13014
|
+
* @interface ManagedClusterEncryptionConfig
|
|
13015
|
+
*/
|
|
13016
|
+
export interface ManagedClusterEncryptionConfig {
|
|
13017
|
+
/**
|
|
13018
|
+
* Specifies the format used for encrypted data, such as secrets. The format determines how the encrypted data is structured and processed.
|
|
13019
|
+
* @type {string}
|
|
13020
|
+
* @memberof ManagedClusterEncryptionConfig
|
|
13021
|
+
*/
|
|
13022
|
+
'format'?: ManagedClusterEncryptionConfigFormatV3;
|
|
13023
|
+
}
|
|
13024
|
+
|
|
13025
|
+
export const ManagedClusterEncryptionConfigFormatV3 = {
|
|
13026
|
+
V2: 'V2',
|
|
13027
|
+
V3: 'V3'
|
|
13028
|
+
} as const;
|
|
13029
|
+
|
|
13030
|
+
export type ManagedClusterEncryptionConfigFormatV3 = typeof ManagedClusterEncryptionConfigFormatV3[keyof typeof ManagedClusterEncryptionConfigFormatV3];
|
|
13031
|
+
|
|
13068
13032
|
/**
|
|
13069
13033
|
* Managed Cluster key pair for Cluster
|
|
13070
13034
|
* @export
|
|
@@ -22278,7 +22242,7 @@ export interface Source {
|
|
|
22278
22242
|
* @type {SourceOwner}
|
|
22279
22243
|
* @memberof Source
|
|
22280
22244
|
*/
|
|
22281
|
-
'owner': SourceOwner;
|
|
22245
|
+
'owner': SourceOwner | null;
|
|
22282
22246
|
/**
|
|
22283
22247
|
*
|
|
22284
22248
|
* @type {SourceCluster}
|
|
@@ -40096,7 +40060,7 @@ export const LifecycleStatesApiAxiosParamCreator = function (configuration?: Con
|
|
|
40096
40060
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
40097
40061
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
40098
40062
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
40099
|
-
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified**
|
|
40063
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, priority, created, modified**
|
|
40100
40064
|
* @param {*} [axiosOptions] Override http request option.
|
|
40101
40065
|
* @throws {RequiredError}
|
|
40102
40066
|
*/
|
|
@@ -40318,7 +40282,7 @@ export const LifecycleStatesApiFp = function(configuration?: Configuration) {
|
|
|
40318
40282
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
40319
40283
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
40320
40284
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
40321
|
-
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified**
|
|
40285
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, priority, created, modified**
|
|
40322
40286
|
* @param {*} [axiosOptions] Override http request option.
|
|
40323
40287
|
* @throws {RequiredError}
|
|
40324
40288
|
*/
|
|
@@ -40528,7 +40492,7 @@ export interface LifecycleStatesApiGetLifecycleStatesRequest {
|
|
|
40528
40492
|
readonly count?: boolean
|
|
40529
40493
|
|
|
40530
40494
|
/**
|
|
40531
|
-
* Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified**
|
|
40495
|
+
* Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, priority, created, modified**
|
|
40532
40496
|
* @type {string}
|
|
40533
40497
|
* @memberof LifecycleStatesApiGetLifecycleStates
|
|
40534
40498
|
*/
|
|
@@ -53364,13 +53328,13 @@ export const SODViolationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
53364
53328
|
/**
|
|
53365
53329
|
* This API initiates a SOD policy verification asynchronously.
|
|
53366
53330
|
* @summary Check sod violations
|
|
53367
|
-
* @param {
|
|
53331
|
+
* @param {IdentityWithNewAccess} identityWithNewAccess
|
|
53368
53332
|
* @param {*} [axiosOptions] Override http request option.
|
|
53369
53333
|
* @throws {RequiredError}
|
|
53370
53334
|
*/
|
|
53371
|
-
startViolationCheck: async (
|
|
53372
|
-
// verify required parameter '
|
|
53373
|
-
assertParamExists('startViolationCheck', '
|
|
53335
|
+
startViolationCheck: async (identityWithNewAccess: IdentityWithNewAccess, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53336
|
+
// verify required parameter 'identityWithNewAccess' is not null or undefined
|
|
53337
|
+
assertParamExists('startViolationCheck', 'identityWithNewAccess', identityWithNewAccess)
|
|
53374
53338
|
const localVarPath = `/sod-violations/check`;
|
|
53375
53339
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53376
53340
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -53398,7 +53362,7 @@ export const SODViolationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
53398
53362
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53399
53363
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53400
53364
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
53401
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
53365
|
+
localVarRequestOptions.data = serializeDataIfNeeded(identityWithNewAccess, localVarRequestOptions, configuration)
|
|
53402
53366
|
|
|
53403
53367
|
return {
|
|
53404
53368
|
url: toPathString(localVarUrlObj),
|
|
@@ -53431,12 +53395,12 @@ export const SODViolationsApiFp = function(configuration?: Configuration) {
|
|
|
53431
53395
|
/**
|
|
53432
53396
|
* This API initiates a SOD policy verification asynchronously.
|
|
53433
53397
|
* @summary Check sod violations
|
|
53434
|
-
* @param {
|
|
53398
|
+
* @param {IdentityWithNewAccess} identityWithNewAccess
|
|
53435
53399
|
* @param {*} [axiosOptions] Override http request option.
|
|
53436
53400
|
* @throws {RequiredError}
|
|
53437
53401
|
*/
|
|
53438
|
-
async startViolationCheck(
|
|
53439
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.startViolationCheck(
|
|
53402
|
+
async startViolationCheck(identityWithNewAccess: IdentityWithNewAccess, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SodViolationCheck>> {
|
|
53403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.startViolationCheck(identityWithNewAccess, axiosOptions);
|
|
53440
53404
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53441
53405
|
const localVarOperationServerBasePath = operationServerMap['SODViolationsApi.startViolationCheck']?.[localVarOperationServerIndex]?.url;
|
|
53442
53406
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -53469,7 +53433,7 @@ export const SODViolationsApiFactory = function (configuration?: Configuration,
|
|
|
53469
53433
|
* @throws {RequiredError}
|
|
53470
53434
|
*/
|
|
53471
53435
|
startViolationCheck(requestParameters: SODViolationsApiStartViolationCheckRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SodViolationCheck> {
|
|
53472
|
-
return localVarFp.startViolationCheck(requestParameters.
|
|
53436
|
+
return localVarFp.startViolationCheck(requestParameters.identityWithNewAccess, axiosOptions).then((request) => request(axios, basePath));
|
|
53473
53437
|
},
|
|
53474
53438
|
};
|
|
53475
53439
|
};
|
|
@@ -53496,10 +53460,10 @@ export interface SODViolationsApiStartPredictSodViolationsRequest {
|
|
|
53496
53460
|
export interface SODViolationsApiStartViolationCheckRequest {
|
|
53497
53461
|
/**
|
|
53498
53462
|
*
|
|
53499
|
-
* @type {
|
|
53463
|
+
* @type {IdentityWithNewAccess}
|
|
53500
53464
|
* @memberof SODViolationsApiStartViolationCheck
|
|
53501
53465
|
*/
|
|
53502
|
-
readonly
|
|
53466
|
+
readonly identityWithNewAccess: IdentityWithNewAccess
|
|
53503
53467
|
}
|
|
53504
53468
|
|
|
53505
53469
|
/**
|
|
@@ -53530,7 +53494,7 @@ export class SODViolationsApi extends BaseAPI {
|
|
|
53530
53494
|
* @memberof SODViolationsApi
|
|
53531
53495
|
*/
|
|
53532
53496
|
public startViolationCheck(requestParameters: SODViolationsApiStartViolationCheckRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
53533
|
-
return SODViolationsApiFp(this.configuration).startViolationCheck(requestParameters.
|
|
53497
|
+
return SODViolationsApiFp(this.configuration).startViolationCheck(requestParameters.identityWithNewAccess, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
53534
53498
|
}
|
|
53535
53499
|
}
|
|
53536
53500
|
|
|
@@ -64380,14 +64344,14 @@ export const WorkflowsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
64380
64344
|
/**
|
|
64381
64345
|
* List all workflows in the tenant.
|
|
64382
64346
|
* @summary List workflows
|
|
64383
|
-
* @param {string} [
|
|
64384
|
-
* @param {string} [
|
|
64347
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **enabled**: *eq* **connectorInstanceId**: *eq* **triggerId**: *eq*
|
|
64348
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **modified, name**
|
|
64385
64349
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
64386
64350
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
64387
64351
|
* @param {*} [axiosOptions] Override http request option.
|
|
64388
64352
|
* @throws {RequiredError}
|
|
64389
64353
|
*/
|
|
64390
|
-
listWorkflows: async (
|
|
64354
|
+
listWorkflows: async (filters?: string, sorters?: string, limit?: number, offset?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
64391
64355
|
const localVarPath = `/workflows`;
|
|
64392
64356
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
64393
64357
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -64408,12 +64372,12 @@ export const WorkflowsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
64408
64372
|
// oauth required
|
|
64409
64373
|
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
64410
64374
|
|
|
64411
|
-
if (
|
|
64412
|
-
localVarQueryParameter['
|
|
64375
|
+
if (filters !== undefined) {
|
|
64376
|
+
localVarQueryParameter['filters'] = filters;
|
|
64413
64377
|
}
|
|
64414
64378
|
|
|
64415
|
-
if (
|
|
64416
|
-
localVarQueryParameter['
|
|
64379
|
+
if (sorters !== undefined) {
|
|
64380
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
64417
64381
|
}
|
|
64418
64382
|
|
|
64419
64383
|
if (limit !== undefined) {
|
|
@@ -64816,15 +64780,15 @@ export const WorkflowsApiFp = function(configuration?: Configuration) {
|
|
|
64816
64780
|
/**
|
|
64817
64781
|
* List all workflows in the tenant.
|
|
64818
64782
|
* @summary List workflows
|
|
64819
|
-
* @param {string} [
|
|
64820
|
-
* @param {string} [
|
|
64783
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **enabled**: *eq* **connectorInstanceId**: *eq* **triggerId**: *eq*
|
|
64784
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **modified, name**
|
|
64821
64785
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
64822
64786
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
64823
64787
|
* @param {*} [axiosOptions] Override http request option.
|
|
64824
64788
|
* @throws {RequiredError}
|
|
64825
64789
|
*/
|
|
64826
|
-
async listWorkflows(
|
|
64827
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkflows(
|
|
64790
|
+
async listWorkflows(filters?: string, sorters?: string, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Workflow>>> {
|
|
64791
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkflows(filters, sorters, limit, offset, axiosOptions);
|
|
64828
64792
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
64829
64793
|
const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.listWorkflows']?.[localVarOperationServerIndex]?.url;
|
|
64830
64794
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -65032,7 +64996,7 @@ export const WorkflowsApiFactory = function (configuration?: Configuration, base
|
|
|
65032
64996
|
* @throws {RequiredError}
|
|
65033
64997
|
*/
|
|
65034
64998
|
listWorkflows(requestParameters: WorkflowsApiListWorkflowsRequest = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<Workflow>> {
|
|
65035
|
-
return localVarFp.listWorkflows(requestParameters.
|
|
64999
|
+
return localVarFp.listWorkflows(requestParameters.filters, requestParameters.sorters, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
|
|
65036
65000
|
},
|
|
65037
65001
|
/**
|
|
65038
65002
|
* Partially update an existing Workflow using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax.
|
|
@@ -65322,18 +65286,18 @@ export interface WorkflowsApiListWorkflowLibraryTriggersRequest {
|
|
|
65322
65286
|
*/
|
|
65323
65287
|
export interface WorkflowsApiListWorkflowsRequest {
|
|
65324
65288
|
/**
|
|
65325
|
-
*
|
|
65289
|
+
* Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **enabled**: *eq* **connectorInstanceId**: *eq* **triggerId**: *eq*
|
|
65326
65290
|
* @type {string}
|
|
65327
65291
|
* @memberof WorkflowsApiListWorkflows
|
|
65328
65292
|
*/
|
|
65329
|
-
readonly
|
|
65293
|
+
readonly filters?: string
|
|
65330
65294
|
|
|
65331
65295
|
/**
|
|
65332
|
-
*
|
|
65296
|
+
* Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **modified, name**
|
|
65333
65297
|
* @type {string}
|
|
65334
65298
|
* @memberof WorkflowsApiListWorkflows
|
|
65335
65299
|
*/
|
|
65336
|
-
readonly
|
|
65300
|
+
readonly sorters?: string
|
|
65337
65301
|
|
|
65338
65302
|
/**
|
|
65339
65303
|
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
@@ -65605,7 +65569,7 @@ export class WorkflowsApi extends BaseAPI {
|
|
|
65605
65569
|
* @memberof WorkflowsApi
|
|
65606
65570
|
*/
|
|
65607
65571
|
public listWorkflows(requestParameters: WorkflowsApiListWorkflowsRequest = {}, axiosOptions?: RawAxiosRequestConfig) {
|
|
65608
|
-
return WorkflowsApiFp(this.configuration).listWorkflows(requestParameters.
|
|
65572
|
+
return WorkflowsApiFp(this.configuration).listWorkflows(requestParameters.filters, requestParameters.sorters, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
65609
65573
|
}
|
|
65610
65574
|
|
|
65611
65575
|
/**
|
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.6.
|
|
150
|
+
...{'User-Agent':'OpenAPI-Generator/1.6.9/ts'},
|
|
151
151
|
...axiosArgs.axiosOptions.headers,
|
|
152
|
-
...{'X-SailPoint-SDK':'typescript-1.6.
|
|
152
|
+
...{'X-SailPoint-SDK':'typescript-1.6.9'}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|