sailpoint-api-client 1.4.14 → 1.4.15
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 +94 -25
- package/beta/common.ts +3 -3
- package/beta/package.json +1 -1
- package/configuration.ts +5 -1
- package/dist/beta/api.d.ts +76 -19
- package/dist/beta/api.js +41 -13
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +2 -2
- package/dist/beta/common.js.map +1 -1
- package/dist/configuration.js +6 -2
- package/dist/configuration.js.map +1 -1
- package/dist/v2024/api.d.ts +1014 -1520
- package/dist/v2024/api.js +461 -321
- package/dist/v2024/api.js.map +1 -1
- package/dist/v2024/common.js +2 -2
- package/dist/v2024/common.js.map +1 -1
- package/dist/v3/api.d.ts +312 -103
- package/dist/v3/api.js +38 -15
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/common.js +2 -2
- package/dist/v3/common.js.map +1 -1
- package/package.json +4 -3
- package/v2024/README.md +2 -2
- package/v2024/api.ts +1287 -1732
- package/v2024/common.ts +3 -3
- package/v2024/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +329 -103
- package/v3/common.ts +3 -3
- package/v3/package.json +1 -1
package/beta/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.4.
|
|
1
|
+
## sailpoint-sdk@1.4.15
|
|
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.4.
|
|
39
|
+
npm install sailpoint-sdk@1.4.15 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/beta/api.ts
CHANGED
|
@@ -2138,10 +2138,10 @@ export interface AccessRequestTrackingBeta {
|
|
|
2138
2138
|
'requestedItemsDetails'?: Array<RequestedItemDetailsBeta>;
|
|
2139
2139
|
/**
|
|
2140
2140
|
* a hash representation of the access requested, useful for longer term tracking client side.
|
|
2141
|
-
* @type {
|
|
2141
|
+
* @type {number}
|
|
2142
2142
|
* @memberof AccessRequestTrackingBeta
|
|
2143
2143
|
*/
|
|
2144
|
-
'attributesHash'?:
|
|
2144
|
+
'attributesHash'?: number;
|
|
2145
2145
|
/**
|
|
2146
2146
|
* a list of access request identifiers, generally only one will be populated, but high volume requested may result in multiple ids.
|
|
2147
2147
|
* @type {Array<string>}
|
|
@@ -2890,7 +2890,7 @@ export interface AccountBeta {
|
|
|
2890
2890
|
* @type {string}
|
|
2891
2891
|
* @memberof AccountBeta
|
|
2892
2892
|
*/
|
|
2893
|
-
'name': string;
|
|
2893
|
+
'name': string | null;
|
|
2894
2894
|
/**
|
|
2895
2895
|
* Creation date of the Object
|
|
2896
2896
|
* @type {string}
|
|
@@ -5094,7 +5094,7 @@ export interface BaseCommonDto1Beta {
|
|
|
5094
5094
|
* @type {string}
|
|
5095
5095
|
* @memberof BaseCommonDto1Beta
|
|
5096
5096
|
*/
|
|
5097
|
-
'name': string;
|
|
5097
|
+
'name': string | null;
|
|
5098
5098
|
/**
|
|
5099
5099
|
* Creation date of the Object
|
|
5100
5100
|
* @type {string}
|
|
@@ -5125,7 +5125,7 @@ export interface BaseCommonDtoBeta {
|
|
|
5125
5125
|
* @type {string}
|
|
5126
5126
|
* @memberof BaseCommonDtoBeta
|
|
5127
5127
|
*/
|
|
5128
|
-
'name': string;
|
|
5128
|
+
'name': string | null;
|
|
5129
5129
|
/**
|
|
5130
5130
|
* Creation date of the Object
|
|
5131
5131
|
* @type {string}
|
|
@@ -10246,6 +10246,7 @@ export const ExportOptionsBetaExcludeTypesBeta = {
|
|
|
10246
10246
|
AttrSyncSourceConfig: 'ATTR_SYNC_SOURCE_CONFIG',
|
|
10247
10247
|
AuthOrg: 'AUTH_ORG',
|
|
10248
10248
|
CampaignFilter: 'CAMPAIGN_FILTER',
|
|
10249
|
+
ConnectorRule: 'CONNECTOR_RULE',
|
|
10249
10250
|
FormDefinition: 'FORM_DEFINITION',
|
|
10250
10251
|
GovernanceGroup: 'GOVERNANCE_GROUP',
|
|
10251
10252
|
IdentityObjectConfig: 'IDENTITY_OBJECT_CONFIG',
|
|
@@ -10274,6 +10275,7 @@ export const ExportOptionsBetaIncludeTypesBeta = {
|
|
|
10274
10275
|
AttrSyncSourceConfig: 'ATTR_SYNC_SOURCE_CONFIG',
|
|
10275
10276
|
AuthOrg: 'AUTH_ORG',
|
|
10276
10277
|
CampaignFilter: 'CAMPAIGN_FILTER',
|
|
10278
|
+
ConnectorRule: 'CONNECTOR_RULE',
|
|
10277
10279
|
FormDefinition: 'FORM_DEFINITION',
|
|
10278
10280
|
GovernanceGroup: 'GOVERNANCE_GROUP',
|
|
10279
10281
|
IdentityObjectConfig: 'IDENTITY_OBJECT_CONFIG',
|
|
@@ -10335,6 +10337,7 @@ export const ExportPayloadBetaExcludeTypesBeta = {
|
|
|
10335
10337
|
AttrSyncSourceConfig: 'ATTR_SYNC_SOURCE_CONFIG',
|
|
10336
10338
|
AuthOrg: 'AUTH_ORG',
|
|
10337
10339
|
CampaignFilter: 'CAMPAIGN_FILTER',
|
|
10340
|
+
ConnectorRule: 'CONNECTOR_RULE',
|
|
10338
10341
|
FormDefinition: 'FORM_DEFINITION',
|
|
10339
10342
|
GovernanceGroup: 'GOVERNANCE_GROUP',
|
|
10340
10343
|
IdentityObjectConfig: 'IDENTITY_OBJECT_CONFIG',
|
|
@@ -10363,6 +10366,7 @@ export const ExportPayloadBetaIncludeTypesBeta = {
|
|
|
10363
10366
|
AttrSyncSourceConfig: 'ATTR_SYNC_SOURCE_CONFIG',
|
|
10364
10367
|
AuthOrg: 'AUTH_ORG',
|
|
10365
10368
|
CampaignFilter: 'CAMPAIGN_FILTER',
|
|
10369
|
+
ConnectorRule: 'CONNECTOR_RULE',
|
|
10366
10370
|
FormDefinition: 'FORM_DEFINITION',
|
|
10367
10371
|
GovernanceGroup: 'GOVERNANCE_GROUP',
|
|
10368
10372
|
IdentityObjectConfig: 'IDENTITY_OBJECT_CONFIG',
|
|
@@ -10832,7 +10836,8 @@ export interface FormDefinitionInputBeta {
|
|
|
10832
10836
|
}
|
|
10833
10837
|
|
|
10834
10838
|
export const FormDefinitionInputBetaTypeBeta = {
|
|
10835
|
-
String: 'STRING'
|
|
10839
|
+
String: 'STRING',
|
|
10840
|
+
Array: 'ARRAY'
|
|
10836
10841
|
} as const;
|
|
10837
10842
|
|
|
10838
10843
|
export type FormDefinitionInputBetaTypeBeta = typeof FormDefinitionInputBetaTypeBeta[keyof typeof FormDefinitionInputBetaTypeBeta];
|
|
@@ -13634,7 +13639,7 @@ export interface IdentityProfile1Beta {
|
|
|
13634
13639
|
* @type {string}
|
|
13635
13640
|
* @memberof IdentityProfile1Beta
|
|
13636
13641
|
*/
|
|
13637
|
-
'name': string;
|
|
13642
|
+
'name': string | null;
|
|
13638
13643
|
/**
|
|
13639
13644
|
* Creation date of the Object
|
|
13640
13645
|
* @type {string}
|
|
@@ -13783,7 +13788,7 @@ export interface IdentityProfileBeta {
|
|
|
13783
13788
|
* @type {string}
|
|
13784
13789
|
* @memberof IdentityProfileBeta
|
|
13785
13790
|
*/
|
|
13786
|
-
'name': string;
|
|
13791
|
+
'name': string | null;
|
|
13787
13792
|
/**
|
|
13788
13793
|
* Creation date of the Object
|
|
13789
13794
|
* @type {string}
|
|
@@ -14299,6 +14304,7 @@ export interface ImportObjectBeta {
|
|
|
14299
14304
|
}
|
|
14300
14305
|
|
|
14301
14306
|
export const ImportObjectBetaTypeBeta = {
|
|
14307
|
+
ConnectorRule: 'CONNECTOR_RULE',
|
|
14302
14308
|
IdentityObjectConfig: 'IDENTITY_OBJECT_CONFIG',
|
|
14303
14309
|
IdentityProfile: 'IDENTITY_PROFILE',
|
|
14304
14310
|
Rule: 'RULE',
|
|
@@ -14348,6 +14354,7 @@ export interface ImportOptionsBeta {
|
|
|
14348
14354
|
}
|
|
14349
14355
|
|
|
14350
14356
|
export const ImportOptionsBetaExcludeTypesBeta = {
|
|
14357
|
+
ConnectorRule: 'CONNECTOR_RULE',
|
|
14351
14358
|
IdentityObjectConfig: 'IDENTITY_OBJECT_CONFIG',
|
|
14352
14359
|
IdentityProfile: 'IDENTITY_PROFILE',
|
|
14353
14360
|
Rule: 'RULE',
|
|
@@ -14358,6 +14365,7 @@ export const ImportOptionsBetaExcludeTypesBeta = {
|
|
|
14358
14365
|
|
|
14359
14366
|
export type ImportOptionsBetaExcludeTypesBeta = typeof ImportOptionsBetaExcludeTypesBeta[keyof typeof ImportOptionsBetaExcludeTypesBeta];
|
|
14360
14367
|
export const ImportOptionsBetaIncludeTypesBeta = {
|
|
14368
|
+
ConnectorRule: 'CONNECTOR_RULE',
|
|
14361
14369
|
IdentityObjectConfig: 'IDENTITY_OBJECT_CONFIG',
|
|
14362
14370
|
IdentityProfile: 'IDENTITY_PROFILE',
|
|
14363
14371
|
Rule: 'RULE',
|
|
@@ -14368,6 +14376,7 @@ export const ImportOptionsBetaIncludeTypesBeta = {
|
|
|
14368
14376
|
|
|
14369
14377
|
export type ImportOptionsBetaIncludeTypesBeta = typeof ImportOptionsBetaIncludeTypesBeta[keyof typeof ImportOptionsBetaIncludeTypesBeta];
|
|
14370
14378
|
export const ImportOptionsBetaDefaultReferencesBeta = {
|
|
14379
|
+
ConnectorRule: 'CONNECTOR_RULE',
|
|
14371
14380
|
IdentityObjectConfig: 'IDENTITY_OBJECT_CONFIG',
|
|
14372
14381
|
IdentityProfile: 'IDENTITY_PROFILE',
|
|
14373
14382
|
Rule: 'RULE',
|
|
@@ -20507,6 +20516,12 @@ export interface PendingApprovalBeta {
|
|
|
20507
20516
|
* @memberof PendingApprovalBeta
|
|
20508
20517
|
*/
|
|
20509
20518
|
'sodViolationContext'?: SodViolationContextCheckCompleted1Beta | null;
|
|
20519
|
+
/**
|
|
20520
|
+
* Arbitrary key-value pairs, if any were included in the corresponding access request item
|
|
20521
|
+
* @type {{ [key: string]: string; }}
|
|
20522
|
+
* @memberof PendingApprovalBeta
|
|
20523
|
+
*/
|
|
20524
|
+
'clientMetadata'?: { [key: string]: string; } | null;
|
|
20510
20525
|
}
|
|
20511
20526
|
|
|
20512
20527
|
|
|
@@ -22262,6 +22277,12 @@ export type RequestedItemDetailsBetaTypeBeta = typeof RequestedItemDetailsBetaTy
|
|
|
22262
22277
|
* @interface RequestedItemStatusBeta
|
|
22263
22278
|
*/
|
|
22264
22279
|
export interface RequestedItemStatusBeta {
|
|
22280
|
+
/**
|
|
22281
|
+
* The ID of the access request.
|
|
22282
|
+
* @type {string}
|
|
22283
|
+
* @memberof RequestedItemStatusBeta
|
|
22284
|
+
*/
|
|
22285
|
+
'id'?: string;
|
|
22265
22286
|
/**
|
|
22266
22287
|
* Human-readable display name of the item being requested.
|
|
22267
22288
|
* @type {string}
|
|
@@ -25882,7 +25903,7 @@ export interface SelectorBeta {
|
|
|
25882
25903
|
*/
|
|
25883
25904
|
export interface SelfImportExportDtoBeta {
|
|
25884
25905
|
/**
|
|
25885
|
-
* Imported/exported object\'s DTO type. Import is currently only possible with the IDENTITY_OBJECT_CONFIG, IDENTITY_PROFILE, RULE, SOURCE, TRANSFORM, and TRIGGER_SUBSCRIPTION object types.
|
|
25906
|
+
* Imported/exported object\'s DTO type. Import is currently only possible with the CONNECTOR_RULE, IDENTITY_OBJECT_CONFIG, IDENTITY_PROFILE, RULE, SOURCE, TRANSFORM, and TRIGGER_SUBSCRIPTION object types.
|
|
25886
25907
|
* @type {string}
|
|
25887
25908
|
* @memberof SelfImportExportDtoBeta
|
|
25888
25909
|
*/
|
|
@@ -25907,6 +25928,7 @@ export const SelfImportExportDtoBetaTypeBeta = {
|
|
|
25907
25928
|
AttrSyncSourceConfig: 'ATTR_SYNC_SOURCE_CONFIG',
|
|
25908
25929
|
AuthOrg: 'AUTH_ORG',
|
|
25909
25930
|
CampaignFilter: 'CAMPAIGN_FILTER',
|
|
25931
|
+
ConnectorRule: 'CONNECTOR_RULE',
|
|
25910
25932
|
FormDefinition: 'FORM_DEFINITION',
|
|
25911
25933
|
GovernanceGroup: 'GOVERNANCE_GROUP',
|
|
25912
25934
|
IdentityObjectConfig: 'IDENTITY_OBJECT_CONFIG',
|
|
@@ -26143,7 +26165,7 @@ export interface ServiceDeskIntegrationTemplateDtoBeta {
|
|
|
26143
26165
|
* @type {string}
|
|
26144
26166
|
* @memberof ServiceDeskIntegrationTemplateDtoBeta
|
|
26145
26167
|
*/
|
|
26146
|
-
'name': string;
|
|
26168
|
+
'name': string | null;
|
|
26147
26169
|
/**
|
|
26148
26170
|
* Creation date of the Object
|
|
26149
26171
|
* @type {string}
|
|
@@ -26302,7 +26324,7 @@ export interface SimIntegrationDetailsBeta {
|
|
|
26302
26324
|
* @type {string}
|
|
26303
26325
|
* @memberof SimIntegrationDetailsBeta
|
|
26304
26326
|
*/
|
|
26305
|
-
'name': string;
|
|
26327
|
+
'name': string | null;
|
|
26306
26328
|
/**
|
|
26307
26329
|
* Creation date of the Object
|
|
26308
26330
|
* @type {string}
|
|
@@ -91567,10 +91589,11 @@ export const WorkItemsBetaApiAxiosParamCreator = function (configuration?: Confi
|
|
|
91567
91589
|
* This API completes a work item. Either an admin, or the owning/current user must make this request.
|
|
91568
91590
|
* @summary Complete a Work Item
|
|
91569
91591
|
* @param {string} id The ID of the work item
|
|
91592
|
+
* @param {string | null} [body] Body is the request payload to create form definition request
|
|
91570
91593
|
* @param {*} [axiosOptions] Override http request option.
|
|
91571
91594
|
* @throws {RequiredError}
|
|
91572
91595
|
*/
|
|
91573
|
-
completeWorkItem: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91596
|
+
completeWorkItem: async (id: string, body?: string | null, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91574
91597
|
// verify required parameter 'id' is not null or undefined
|
|
91575
91598
|
assertParamExists('completeWorkItem', 'id', id)
|
|
91576
91599
|
const localVarPath = `/work-items/{id}`
|
|
@@ -91596,9 +91619,12 @@ export const WorkItemsBetaApiAxiosParamCreator = function (configuration?: Confi
|
|
|
91596
91619
|
|
|
91597
91620
|
|
|
91598
91621
|
|
|
91622
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
91623
|
+
|
|
91599
91624
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91600
91625
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
91601
91626
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
91627
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
91602
91628
|
|
|
91603
91629
|
return {
|
|
91604
91630
|
url: toPathString(localVarUrlObj),
|
|
@@ -92122,11 +92148,12 @@ export const WorkItemsBetaApiFp = function(configuration?: Configuration) {
|
|
|
92122
92148
|
* This API completes a work item. Either an admin, or the owning/current user must make this request.
|
|
92123
92149
|
* @summary Complete a Work Item
|
|
92124
92150
|
* @param {string} id The ID of the work item
|
|
92151
|
+
* @param {string | null} [body] Body is the request payload to create form definition request
|
|
92125
92152
|
* @param {*} [axiosOptions] Override http request option.
|
|
92126
92153
|
* @throws {RequiredError}
|
|
92127
92154
|
*/
|
|
92128
|
-
async completeWorkItem(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkItemsBeta>> {
|
|
92129
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.completeWorkItem(id, axiosOptions);
|
|
92155
|
+
async completeWorkItem(id: string, body?: string | null, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkItemsBeta>> {
|
|
92156
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.completeWorkItem(id, body, axiosOptions);
|
|
92130
92157
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
92131
92158
|
const localVarOperationServerBasePath = operationServerMap['WorkItemsBetaApi.completeWorkItem']?.[localVarOperationServerIndex]?.url;
|
|
92132
92159
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -92195,7 +92222,7 @@ export const WorkItemsBetaApiFp = function(configuration?: Configuration) {
|
|
|
92195
92222
|
* @param {*} [axiosOptions] Override http request option.
|
|
92196
92223
|
* @throws {RequiredError}
|
|
92197
92224
|
*/
|
|
92198
|
-
async getWorkItem(id: string, ownerId?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
92225
|
+
async getWorkItem(id: string, ownerId?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
92199
92226
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getWorkItem(id, ownerId, axiosOptions);
|
|
92200
92227
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
92201
92228
|
const localVarOperationServerBasePath = operationServerMap['WorkItemsBetaApi.getWorkItem']?.[localVarOperationServerIndex]?.url;
|
|
@@ -92309,7 +92336,7 @@ export const WorkItemsBetaApiFactory = function (configuration?: Configuration,
|
|
|
92309
92336
|
* @throws {RequiredError}
|
|
92310
92337
|
*/
|
|
92311
92338
|
completeWorkItem(requestParameters: WorkItemsBetaApiCompleteWorkItemRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<WorkItemsBeta> {
|
|
92312
|
-
return localVarFp.completeWorkItem(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
|
|
92339
|
+
return localVarFp.completeWorkItem(requestParameters.id, requestParameters.body, axiosOptions).then((request) => request(axios, basePath));
|
|
92313
92340
|
},
|
|
92314
92341
|
/**
|
|
92315
92342
|
* This API forwards a work item to a new owner. Either an admin, or the owning/current user must make this request.
|
|
@@ -92358,7 +92385,7 @@ export const WorkItemsBetaApiFactory = function (configuration?: Configuration,
|
|
|
92358
92385
|
* @param {*} [axiosOptions] Override http request option.
|
|
92359
92386
|
* @throws {RequiredError}
|
|
92360
92387
|
*/
|
|
92361
|
-
getWorkItem(requestParameters: WorkItemsBetaApiGetWorkItemRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<
|
|
92388
|
+
getWorkItem(requestParameters: WorkItemsBetaApiGetWorkItemRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
92362
92389
|
return localVarFp.getWorkItem(requestParameters.id, requestParameters.ownerId, axiosOptions).then((request) => request(axios, basePath));
|
|
92363
92390
|
},
|
|
92364
92391
|
/**
|
|
@@ -92461,6 +92488,13 @@ export interface WorkItemsBetaApiCompleteWorkItemRequest {
|
|
|
92461
92488
|
* @memberof WorkItemsBetaApiCompleteWorkItem
|
|
92462
92489
|
*/
|
|
92463
92490
|
readonly id: string
|
|
92491
|
+
|
|
92492
|
+
/**
|
|
92493
|
+
* Body is the request payload to create form definition request
|
|
92494
|
+
* @type {string}
|
|
92495
|
+
* @memberof WorkItemsBetaApiCompleteWorkItem
|
|
92496
|
+
*/
|
|
92497
|
+
readonly body?: string | null
|
|
92464
92498
|
}
|
|
92465
92499
|
|
|
92466
92500
|
/**
|
|
@@ -92713,7 +92747,7 @@ export class WorkItemsBetaApi extends BaseAPI {
|
|
|
92713
92747
|
* @memberof WorkItemsBetaApi
|
|
92714
92748
|
*/
|
|
92715
92749
|
public completeWorkItem(requestParameters: WorkItemsBetaApiCompleteWorkItemRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
92716
|
-
return WorkItemsBetaApiFp(this.configuration).completeWorkItem(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
92750
|
+
return WorkItemsBetaApiFp(this.configuration).completeWorkItem(requestParameters.id, requestParameters.body, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
92717
92751
|
}
|
|
92718
92752
|
|
|
92719
92753
|
/**
|
|
@@ -93107,10 +93141,12 @@ export const WorkReassignmentBetaApiAxiosParamCreator = function (configuration?
|
|
|
93107
93141
|
/**
|
|
93108
93142
|
* Gets all Reassignment configuration for the current org.
|
|
93109
93143
|
* @summary List Reassignment Configurations
|
|
93144
|
+
* @param {number} [limit] Max number of results to return.
|
|
93145
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified.
|
|
93110
93146
|
* @param {*} [axiosOptions] Override http request option.
|
|
93111
93147
|
* @throws {RequiredError}
|
|
93112
93148
|
*/
|
|
93113
|
-
listReassignmentConfigurations: async (axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
93149
|
+
listReassignmentConfigurations: async (limit?: number, offset?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
93114
93150
|
const localVarPath = `/reassignment-configurations`;
|
|
93115
93151
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
93116
93152
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -93131,6 +93167,14 @@ export const WorkReassignmentBetaApiAxiosParamCreator = function (configuration?
|
|
|
93131
93167
|
// oauth required
|
|
93132
93168
|
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
93133
93169
|
|
|
93170
|
+
if (limit !== undefined) {
|
|
93171
|
+
localVarQueryParameter['limit'] = limit;
|
|
93172
|
+
}
|
|
93173
|
+
|
|
93174
|
+
if (offset !== undefined) {
|
|
93175
|
+
localVarQueryParameter['offset'] = offset;
|
|
93176
|
+
}
|
|
93177
|
+
|
|
93134
93178
|
|
|
93135
93179
|
|
|
93136
93180
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -93326,11 +93370,13 @@ export const WorkReassignmentBetaApiFp = function(configuration?: Configuration)
|
|
|
93326
93370
|
/**
|
|
93327
93371
|
* Gets all Reassignment configuration for the current org.
|
|
93328
93372
|
* @summary List Reassignment Configurations
|
|
93373
|
+
* @param {number} [limit] Max number of results to return.
|
|
93374
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified.
|
|
93329
93375
|
* @param {*} [axiosOptions] Override http request option.
|
|
93330
93376
|
* @throws {RequiredError}
|
|
93331
93377
|
*/
|
|
93332
|
-
async listReassignmentConfigurations(axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ConfigurationResponseBeta>>> {
|
|
93333
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReassignmentConfigurations(axiosOptions);
|
|
93378
|
+
async listReassignmentConfigurations(limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ConfigurationResponseBeta>>> {
|
|
93379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReassignmentConfigurations(limit, offset, axiosOptions);
|
|
93334
93380
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
93335
93381
|
const localVarOperationServerBasePath = operationServerMap['WorkReassignmentBetaApi.listReassignmentConfigurations']?.[localVarOperationServerIndex]?.url;
|
|
93336
93382
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -93433,11 +93479,12 @@ export const WorkReassignmentBetaApiFactory = function (configuration?: Configur
|
|
|
93433
93479
|
/**
|
|
93434
93480
|
* Gets all Reassignment configuration for the current org.
|
|
93435
93481
|
* @summary List Reassignment Configurations
|
|
93482
|
+
* @param {WorkReassignmentBetaApiListReassignmentConfigurationsRequest} requestParameters Request parameters.
|
|
93436
93483
|
* @param {*} [axiosOptions] Override http request option.
|
|
93437
93484
|
* @throws {RequiredError}
|
|
93438
93485
|
*/
|
|
93439
|
-
listReassignmentConfigurations(axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<ConfigurationResponseBeta>> {
|
|
93440
|
-
return localVarFp.listReassignmentConfigurations(axiosOptions).then((request) => request(axios, basePath));
|
|
93486
|
+
listReassignmentConfigurations(requestParameters: WorkReassignmentBetaApiListReassignmentConfigurationsRequest = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<ConfigurationResponseBeta>> {
|
|
93487
|
+
return localVarFp.listReassignmentConfigurations(requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
|
|
93441
93488
|
},
|
|
93442
93489
|
/**
|
|
93443
93490
|
* Replaces existing Reassignment configuration for an identity with the newly provided configuration.
|
|
@@ -93539,6 +93586,27 @@ export interface WorkReassignmentBetaApiGetReassignmentConfigurationRequest {
|
|
|
93539
93586
|
readonly identityId: string
|
|
93540
93587
|
}
|
|
93541
93588
|
|
|
93589
|
+
/**
|
|
93590
|
+
* Request parameters for listReassignmentConfigurations operation in WorkReassignmentBetaApi.
|
|
93591
|
+
* @export
|
|
93592
|
+
* @interface WorkReassignmentBetaApiListReassignmentConfigurationsRequest
|
|
93593
|
+
*/
|
|
93594
|
+
export interface WorkReassignmentBetaApiListReassignmentConfigurationsRequest {
|
|
93595
|
+
/**
|
|
93596
|
+
* Max number of results to return.
|
|
93597
|
+
* @type {number}
|
|
93598
|
+
* @memberof WorkReassignmentBetaApiListReassignmentConfigurations
|
|
93599
|
+
*/
|
|
93600
|
+
readonly limit?: number
|
|
93601
|
+
|
|
93602
|
+
/**
|
|
93603
|
+
* Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified.
|
|
93604
|
+
* @type {number}
|
|
93605
|
+
* @memberof WorkReassignmentBetaApiListReassignmentConfigurations
|
|
93606
|
+
*/
|
|
93607
|
+
readonly offset?: number
|
|
93608
|
+
}
|
|
93609
|
+
|
|
93542
93610
|
/**
|
|
93543
93611
|
* Request parameters for putReassignmentConfig operation in WorkReassignmentBetaApi.
|
|
93544
93612
|
* @export
|
|
@@ -93654,12 +93722,13 @@ export class WorkReassignmentBetaApi extends BaseAPI {
|
|
|
93654
93722
|
/**
|
|
93655
93723
|
* Gets all Reassignment configuration for the current org.
|
|
93656
93724
|
* @summary List Reassignment Configurations
|
|
93725
|
+
* @param {WorkReassignmentBetaApiListReassignmentConfigurationsRequest} requestParameters Request parameters.
|
|
93657
93726
|
* @param {*} [axiosOptions] Override http request option.
|
|
93658
93727
|
* @throws {RequiredError}
|
|
93659
93728
|
* @memberof WorkReassignmentBetaApi
|
|
93660
93729
|
*/
|
|
93661
|
-
public listReassignmentConfigurations(axiosOptions?: RawAxiosRequestConfig) {
|
|
93662
|
-
return WorkReassignmentBetaApiFp(this.configuration).listReassignmentConfigurations(axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
93730
|
+
public listReassignmentConfigurations(requestParameters: WorkReassignmentBetaApiListReassignmentConfigurationsRequest = {}, axiosOptions?: RawAxiosRequestConfig) {
|
|
93731
|
+
return WorkReassignmentBetaApiFp(this.configuration).listReassignmentConfigurations(requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
93663
93732
|
}
|
|
93664
93733
|
|
|
93665
93734
|
/**
|
package/beta/common.ts
CHANGED
|
@@ -145,11 +145,11 @@ export const toPathString = function (url: URL) {
|
|
|
145
145
|
*/
|
|
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
|
-
axiosRetry(
|
|
148
|
+
axiosRetry(axios, configuration.retriesConfig)
|
|
149
149
|
const headers = {
|
|
150
|
-
...{'User-Agent':'OpenAPI-Generator/1.4.
|
|
150
|
+
...{'User-Agent':'OpenAPI-Generator/1.4.15/ts'},
|
|
151
151
|
...axiosArgs.axiosOptions.headers,
|
|
152
|
-
...{'X-SailPoint-SDK':'typescript-1.4.
|
|
152
|
+
...{'X-SailPoint-SDK':'typescript-1.4.15'}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
package/beta/package.json
CHANGED
package/configuration.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as yaml from "js-yaml";
|
|
|
5
5
|
import * as fs from "fs";
|
|
6
6
|
import FormData from "form-data";
|
|
7
7
|
import { IAxiosRetryConfig } from "axios-retry";
|
|
8
|
+
import { ProxyAgent } from "proxy-agent";
|
|
8
9
|
|
|
9
10
|
export interface ConfigurationParameters {
|
|
10
11
|
baseurl?: string;
|
|
@@ -238,7 +239,10 @@ export class Configuration {
|
|
|
238
239
|
formData: FormData
|
|
239
240
|
): Promise<string> {
|
|
240
241
|
try {
|
|
241
|
-
const
|
|
242
|
+
const agent = new ProxyAgent();
|
|
243
|
+
const { data, status } = await axios.post(url, formData, {
|
|
244
|
+
httpsAgent: agent,
|
|
245
|
+
});
|
|
242
246
|
if (status === 200) {
|
|
243
247
|
return data.access_token;
|
|
244
248
|
} else {
|