@sailpoint/api-client 2.2.8 → 2.2.10

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.
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
246
246
  // header such as X-SailPoint-SDK forces a CORS preflight that tenants do
247
247
  // not allow, which blocks the request outright.
248
248
  if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
249
- headers['X-SailPoint-SDK'] = 'typescript-2.2.8';
250
- userAgent = "SailPoint-SDK-TypeScript/2.2.8";
249
+ headers['X-SailPoint-SDK'] = 'typescript-2.2.10';
250
+ userAgent = "SailPoint-SDK-TypeScript/2.2.10";
251
251
  if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
252
252
  userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
253
253
  }
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
246
246
  // header such as X-SailPoint-SDK forces a CORS preflight that tenants do
247
247
  // not allow, which blocks the request outright.
248
248
  if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
249
- headers['X-SailPoint-SDK'] = 'typescript-2.2.8';
250
- userAgent = "SailPoint-SDK-TypeScript/2.2.8";
249
+ headers['X-SailPoint-SDK'] = 'typescript-2.2.10';
250
+ userAgent = "SailPoint-SDK-TypeScript/2.2.10";
251
251
  if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
252
252
  userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
253
253
  }
@@ -326,19 +326,6 @@ export var DtoType = {
326
326
  AccountActivity: 'ACCOUNT_ACTIVITY',
327
327
  Workgroup: 'WORKGROUP'
328
328
  };
329
- export var EntitlementAccessRequestConfigMaxPermittedAccessDurationTimeUnitEnum = {
330
- Hours: 'HOURS',
331
- Days: 'DAYS',
332
- Weeks: 'WEEKS',
333
- Months: 'MONTHS'
334
- };
335
- export var EntitlementApprovalSchemeApproverTypeEnum = {
336
- EntitlementOwner: 'ENTITLEMENT_OWNER',
337
- SourceOwner: 'SOURCE_OWNER',
338
- Manager: 'MANAGER',
339
- GovernanceGroup: 'GOVERNANCE_GROUP',
340
- Workflow: 'WORKFLOW'
341
- };
342
329
  export var FieldDetailsDtoTypeEnum = {
343
330
  String: 'string',
344
331
  Int: 'int',
@@ -500,6 +487,18 @@ export var SourceBeforeProvisioningRuleTypeEnum = {
500
487
  export var SourceClusterTypeEnum = {
501
488
  Cluster: 'CLUSTER'
502
489
  };
490
+ export var SourceEntitlementAccessRequestConfigMaxPermittedAccessDurationTimeUnitEnum = {
491
+ Hours: 'HOURS',
492
+ Days: 'DAYS',
493
+ Weeks: 'WEEKS',
494
+ Months: 'MONTHS'
495
+ };
496
+ export var SourceEntitlementApprovalSchemeApproverTypeEnum = {
497
+ EntitlementOwner: 'ENTITLEMENT_OWNER',
498
+ SourceOwner: 'SOURCE_OWNER',
499
+ Manager: 'MANAGER',
500
+ GovernanceGroup: 'GOVERNANCE_GROUP'
501
+ };
503
502
  export var SourceHealthDtoStatusEnum = {
504
503
  SourceStateErrorCluster: 'SOURCE_STATE_ERROR_CLUSTER',
505
504
  SourceStateErrorSource: 'SOURCE_STATE_ERROR_SOURCE',
@@ -1843,7 +1842,7 @@ export var SourcesApiAxiosParamCreator = function (configuration) {
1843
1842
  });
1844
1843
  },
1845
1844
  /**
1846
- * This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
1845
+ * This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. The `WORKFLOW` approver type is not supported in source-level configuration. To use a workflow as an approver, configure it on the entitlement with [Replace entitlement request config](https://developer.sailpoint.com/docs/api/put-entitlement-request-config-v-1). A source-level request that contains `WORKFLOW` fails with a 400.
1847
1846
  * @summary Get source entitlement request configuration
1848
1847
  * @param {string} id The Source id
1849
1848
  * @param {*} [axiosOptions] Override http request option.
@@ -3575,7 +3574,7 @@ export var SourcesApiAxiosParamCreator = function (configuration) {
3575
3574
  });
3576
3575
  },
3577
3576
  /**
3578
- * This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
3577
+ * This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. The `WORKFLOW` approver type is not supported in source-level configuration. To use a workflow as an approver, configure it on the entitlement with [Replace entitlement request config](https://developer.sailpoint.com/docs/api/put-entitlement-request-config-v-1). A source-level request that contains `WORKFLOW` fails with a 400.
3579
3578
  * @summary Update source entitlement request configuration
3580
3579
  * @param {string} id The Source id
3581
3580
  * @param {SourceEntitlementRequestConfig} sourceEntitlementRequestConfig
@@ -4517,7 +4516,7 @@ export var SourcesApiFp = function (configuration) {
4517
4516
  });
4518
4517
  },
4519
4518
  /**
4520
- * This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
4519
+ * This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. The `WORKFLOW` approver type is not supported in source-level configuration. To use a workflow as an approver, configure it on the entitlement with [Replace entitlement request config](https://developer.sailpoint.com/docs/api/put-entitlement-request-config-v-1). A source-level request that contains `WORKFLOW` fails with a 400.
4521
4520
  * @summary Get source entitlement request configuration
4522
4521
  * @param {string} id The Source id
4523
4522
  * @param {*} [axiosOptions] Override http request option.
@@ -5552,7 +5551,7 @@ export var SourcesApiFp = function (configuration) {
5552
5551
  });
5553
5552
  },
5554
5553
  /**
5555
- * This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
5554
+ * This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. The `WORKFLOW` approver type is not supported in source-level configuration. To use a workflow as an approver, configure it on the entitlement with [Replace entitlement request config](https://developer.sailpoint.com/docs/api/put-entitlement-request-config-v-1). A source-level request that contains `WORKFLOW` fails with a 400.
5556
5555
  * @summary Update source entitlement request configuration
5557
5556
  * @param {string} id The Source id
5558
5557
  * @param {SourceEntitlementRequestConfig} sourceEntitlementRequestConfig
@@ -5985,7 +5984,7 @@ export var SourcesApiFactory = function (configuration, basePath, axios) {
5985
5984
  return localVarFp.getSourceDatasetsV1(requestParameters.sourceId, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
5986
5985
  },
5987
5986
  /**
5988
- * This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
5987
+ * This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. The `WORKFLOW` approver type is not supported in source-level configuration. To use a workflow as an approver, configure it on the entitlement with [Replace entitlement request config](https://developer.sailpoint.com/docs/api/put-entitlement-request-config-v-1). A source-level request that contains `WORKFLOW` fails with a 400.
5989
5988
  * @summary Get source entitlement request configuration
5990
5989
  * @param {SourcesApiGetSourceEntitlementRequestConfigV1Request} requestParameters Request parameters.
5991
5990
  * @param {*} [axiosOptions] Override http request option.
@@ -6406,7 +6405,7 @@ export var SourcesApiFactory = function (configuration, basePath, axios) {
6406
6405
  return localVarFp.updateSourceDatasetV1(requestParameters.sourceId, requestParameters.datasetId, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
6407
6406
  },
6408
6407
  /**
6409
- * This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
6408
+ * This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. The `WORKFLOW` approver type is not supported in source-level configuration. To use a workflow as an approver, configure it on the entitlement with [Replace entitlement request config](https://developer.sailpoint.com/docs/api/put-entitlement-request-config-v-1). A source-level request that contains `WORKFLOW` fails with a 400.
6410
6409
  * @summary Update source entitlement request configuration
6411
6410
  * @param {SourcesApiUpdateSourceEntitlementRequestConfigV1Request} requestParameters Request parameters.
6412
6411
  * @param {*} [axiosOptions] Override http request option.
@@ -6829,7 +6828,7 @@ var SourcesApi = /** @class */ (function (_super) {
6829
6828
  return SourcesApiFp(this.configuration).getSourceDatasetsV1(requestParameters.sourceId, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
6830
6829
  };
6831
6830
  /**
6832
- * This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
6831
+ * This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. The `WORKFLOW` approver type is not supported in source-level configuration. To use a workflow as an approver, configure it on the entitlement with [Replace entitlement request config](https://developer.sailpoint.com/docs/api/put-entitlement-request-config-v-1). A source-level request that contains `WORKFLOW` fails with a 400.
6833
6832
  * @summary Get source entitlement request configuration
6834
6833
  * @param {SourcesApiGetSourceEntitlementRequestConfigV1Request} requestParameters Request parameters.
6835
6834
  * @param {*} [axiosOptions] Override http request option.
@@ -7334,7 +7333,7 @@ var SourcesApi = /** @class */ (function (_super) {
7334
7333
  return SourcesApiFp(this.configuration).updateSourceDatasetV1(requestParameters.sourceId, requestParameters.datasetId, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
7335
7334
  };
7336
7335
  /**
7337
- * This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
7336
+ * This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. The `WORKFLOW` approver type is not supported in source-level configuration. To use a workflow as an approver, configure it on the entitlement with [Replace entitlement request config](https://developer.sailpoint.com/docs/api/put-entitlement-request-config-v-1). A source-level request that contains `WORKFLOW` fails with a 400.
7338
7337
  * @summary Update source entitlement request configuration
7339
7338
  * @param {SourcesApiUpdateSourceEntitlementRequestConfigV1Request} requestParameters Request parameters.
7340
7339
  * @param {*} [axiosOptions] Override http request option.
@@ -88,6 +88,10 @@ export var AccessItemRequestedForDtoTypeEnum = {
88
88
  export var AccessItemRequesterDtoTypeEnum = {
89
89
  Identity: 'IDENTITY'
90
90
  };
91
+ export var AccessRequestDynamicApprovalResponseTypeEnum = {
92
+ Identity: 'IDENTITY',
93
+ GovernanceGroup: 'GOVERNANCE_GROUP'
94
+ };
91
95
  export var AccessRequestDynamicApprover2TypeEnum = {
92
96
  Identity: 'IDENTITY',
93
97
  GovernanceGroup: 'GOVERNANCE_GROUP'
@@ -257,6 +261,13 @@ export var CertificationPhase = {
257
261
  export var CertificationReferenceTypeEnum = {
258
262
  Certification: 'CERTIFICATION'
259
263
  };
264
+ export var FormSubmittedCreatedByTypeEnum = {
265
+ WorkflowExecution: 'WORKFLOW_EXECUTION',
266
+ Source: 'SOURCE'
267
+ };
268
+ export var FormSubmittedSubmittedByTypeEnum = {
269
+ Identity: 'IDENTITY'
270
+ };
260
271
  /**
261
272
  * Defines the HTTP Authentication type. Additional values may be added in the future. If *NO_AUTH* is selected, no extra information will be in HttpConfig. If *BASIC_AUTH* is selected, HttpConfig will include BasicAuthConfig with Username and Password as strings. If *BEARER_TOKEN* is selected, HttpConfig will include BearerTokenAuthConfig with Token as string.
262
273
  * @export
@@ -332,6 +343,12 @@ export var MachineIdentityUpdatedMachineIdentitySubtypeEnum = {
332
343
  AiAgent: 'AI Agent',
333
344
  Application: 'Application'
334
345
  };
346
+ export var OutlierDetectedOutlierTypeEnum = {
347
+ LowSimilarity: 'LOW_SIMILARITY'
348
+ };
349
+ export var OutlierDetectedIdentityTypeEnum = {
350
+ Identity: 'IDENTITY'
351
+ };
335
352
  export var ProvisioningCompletedAccountRequestsInnerProvisioningResultEnum = {
336
353
  Success: 'SUCCESS',
337
354
  Pending: 'PENDING',
@@ -355,6 +372,47 @@ export var ReviewerTypeEnum = {
355
372
  Identity: 'IDENTITY',
356
373
  GovernanceGroup: 'GOVERNANCE_GROUP'
357
374
  };
375
+ export var SODViolationClosedPayloadPreviousStatusEnum = {
376
+ Open: 'Open',
377
+ Mitigated: 'Mitigated'
378
+ };
379
+ export var SODViolationClosedPayloadCurrentStatusEnum = {
380
+ Closed: 'Closed'
381
+ };
382
+ export var SODViolationClosedPayloadOwnerTypeEnum = {
383
+ Identity: 'IDENTITY',
384
+ GovernanceGroup: 'GOVERNANCE_GROUP'
385
+ };
386
+ export var SODViolationClosedPayloadPolicyTypeEnum = {
387
+ Sod: 'SOD'
388
+ };
389
+ export var SODViolationClosedPayloadTargetTypeEnum = {
390
+ Identity: 'IDENTITY'
391
+ };
392
+ export var SODViolationCreatedPayloadOwnerTypeEnum = {
393
+ Identity: 'IDENTITY',
394
+ GovernanceGroup: 'GOVERNANCE_GROUP'
395
+ };
396
+ export var SODViolationCreatedPayloadPolicyTypeEnum = {
397
+ Sod: 'SOD'
398
+ };
399
+ export var SODViolationCreatedPayloadTargetTypeEnum = {
400
+ Identity: 'IDENTITY'
401
+ };
402
+ export var SODViolationMitigatedPayloadAppliedControlsInnerApplierTypeEnum = {
403
+ Identity: 'IDENTITY'
404
+ };
405
+ export var SODViolationMitigatedPayloadAppliedControlsInnerControlTypeEnum = {
406
+ CompensatingControl: 'COMPENSATING_CONTROL'
407
+ };
408
+ export var SODViolationMitigatedPayloadOwnerTypeEnum = {
409
+ Identity: 'IDENTITY',
410
+ GovernanceGroup: 'GOVERNANCE_GROUP'
411
+ };
412
+ export var SODViolationReopenedPayloadReasonEnum = {
413
+ ConflictingCriteriaUpdated: 'Conflicting Criteria Updated',
414
+ AppliedControlExpired: 'Applied Control Expired'
415
+ };
358
416
  export var SourceCreatedActorTypeEnum = {
359
417
  Identity: 'IDENTITY'
360
418
  };
@@ -404,6 +462,18 @@ export var VAClusterStatusChangeEventPreviousHealthCheckResultStatusEnum = {
404
462
  Succeeded: 'Succeeded',
405
463
  Failed: 'Failed'
406
464
  };
465
+ /**
466
+ * Lifecycle status of a compensating control application on a violation. **Pending** - not yet in effect; **Active** - currently mitigating the violation; **Completed** - finished successfully; **Canceled** - withdrawn before completion; **Failed** - could not be completed successfully.
467
+ * @export
468
+ * @enum {string}
469
+ */
470
+ export var ViolationAppliedControlStatus = {
471
+ Pending: 'Pending',
472
+ Active: 'Active',
473
+ Completed: 'Completed',
474
+ Canceled: 'Canceled',
475
+ Failed: 'Failed'
476
+ };
407
477
  /**
408
478
  * TriggersApi - axios parameter creator
409
479
  * @export
@@ -373,13 +373,15 @@ export var WorkReassignmentApiAxiosParamCreator = function (configuration) {
373
373
  });
374
374
  },
375
375
  /**
376
- * Gets all Reassignment configuration for the current org.
376
+ * Gets a paginated list of Reassignment configurations for the current org.
377
377
  * @summary List reassignment configurations
378
+ * @param {number} [limit] Max number of results to return.
379
+ * @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.
378
380
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
379
381
  * @param {*} [axiosOptions] Override http request option.
380
382
  * @throws {RequiredError}
381
383
  */
382
- listReassignmentConfigurationsV1: function (xSailPointExperimental, axiosOptions) {
384
+ listReassignmentConfigurationsV1: function (limit, offset, xSailPointExperimental, axiosOptions) {
383
385
  if (axiosOptions === void 0) { axiosOptions = {}; }
384
386
  return __awaiter(_this, void 0, void 0, function () {
385
387
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -395,6 +397,12 @@ export var WorkReassignmentApiAxiosParamCreator = function (configuration) {
395
397
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
396
398
  localVarHeaderParameter = {};
397
399
  localVarQueryParameter = {};
400
+ if (limit !== undefined) {
401
+ localVarQueryParameter['limit'] = limit;
402
+ }
403
+ if (offset !== undefined) {
404
+ localVarQueryParameter['offset'] = offset;
405
+ }
398
406
  if (xSailPointExperimental != null) {
399
407
  localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
400
408
  }
@@ -649,19 +657,21 @@ export var WorkReassignmentApiFp = function (configuration) {
649
657
  });
650
658
  },
651
659
  /**
652
- * Gets all Reassignment configuration for the current org.
660
+ * Gets a paginated list of Reassignment configurations for the current org.
653
661
  * @summary List reassignment configurations
662
+ * @param {number} [limit] Max number of results to return.
663
+ * @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.
654
664
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
655
665
  * @param {*} [axiosOptions] Override http request option.
656
666
  * @throws {RequiredError}
657
667
  */
658
- listReassignmentConfigurationsV1: function (xSailPointExperimental, axiosOptions) {
668
+ listReassignmentConfigurationsV1: function (limit, offset, xSailPointExperimental, axiosOptions) {
659
669
  var _a, _b, _c;
660
670
  return __awaiter(this, void 0, void 0, function () {
661
671
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
662
672
  return __generator(this, function (_d) {
663
673
  switch (_d.label) {
664
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listReassignmentConfigurationsV1(xSailPointExperimental, axiosOptions)];
674
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listReassignmentConfigurationsV1(limit, offset, xSailPointExperimental, axiosOptions)];
665
675
  case 1:
666
676
  localVarAxiosArgs = _d.sent();
667
677
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -792,7 +802,7 @@ export var WorkReassignmentApiFactory = function (configuration, basePath, axios
792
802
  return localVarFp.getTenantConfigConfigurationV1(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
793
803
  },
794
804
  /**
795
- * Gets all Reassignment configuration for the current org.
805
+ * Gets a paginated list of Reassignment configurations for the current org.
796
806
  * @summary List reassignment configurations
797
807
  * @param {WorkReassignmentApiListReassignmentConfigurationsV1Request} requestParameters Request parameters.
798
808
  * @param {*} [axiosOptions] Override http request option.
@@ -800,7 +810,7 @@ export var WorkReassignmentApiFactory = function (configuration, basePath, axios
800
810
  */
801
811
  listReassignmentConfigurationsV1: function (requestParameters, axiosOptions) {
802
812
  if (requestParameters === void 0) { requestParameters = {}; }
803
- return localVarFp.listReassignmentConfigurationsV1(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
813
+ return localVarFp.listReassignmentConfigurationsV1(requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
804
814
  },
805
815
  /**
806
816
  * Replaces existing Reassignment configuration for an identity with the newly provided configuration.
@@ -910,7 +920,7 @@ var WorkReassignmentApi = /** @class */ (function (_super) {
910
920
  return WorkReassignmentApiFp(this.configuration).getTenantConfigConfigurationV1(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
911
921
  };
912
922
  /**
913
- * Gets all Reassignment configuration for the current org.
923
+ * Gets a paginated list of Reassignment configurations for the current org.
914
924
  * @summary List reassignment configurations
915
925
  * @param {WorkReassignmentApiListReassignmentConfigurationsV1Request} requestParameters Request parameters.
916
926
  * @param {*} [axiosOptions] Override http request option.
@@ -920,7 +930,7 @@ var WorkReassignmentApi = /** @class */ (function (_super) {
920
930
  WorkReassignmentApi.prototype.listReassignmentConfigurationsV1 = function (requestParameters, axiosOptions) {
921
931
  var _this = this;
922
932
  if (requestParameters === void 0) { requestParameters = {}; }
923
- return WorkReassignmentApiFp(this.configuration).listReassignmentConfigurationsV1(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
933
+ return WorkReassignmentApiFp(this.configuration).listReassignmentConfigurationsV1(requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
924
934
  };
925
935
  /**
926
936
  * Replaces existing Reassignment configuration for an identity with the newly provided configuration.
@@ -257,8 +257,8 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
257
257
  // header such as X-SailPoint-SDK forces a CORS preflight that tenants do
258
258
  // not allow, which blocks the request outright.
259
259
  if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
260
- headers['X-SailPoint-SDK'] = 'typescript-2.2.8';
261
- userAgent = "SailPoint-SDK-TypeScript/2.2.8";
260
+ headers['X-SailPoint-SDK'] = 'typescript-2.2.10';
261
+ userAgent = "SailPoint-SDK-TypeScript/2.2.10";
262
262
  if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
263
263
  userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
264
264
  }
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../nerm/common.ts"],"names":[],"mapp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I,GAAG,KAAK,CAAC,IAAI,CAAC;oCACxB,IAAI,KAAK,CAAC,QAAQ,EAAE;wCAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;wCACrC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;wCAC7C,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA7CY,QAAA,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API\n * The NERM API accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.8';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.8`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../nerm/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAo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C;oCACxB,IAAI,KAAK,CAAC,QAAQ,EAAE;wCAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;wCACrC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;wCAC7C,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA7CY,QAAA,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API\n * The NERM API accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.10';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.10`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
@@ -257,8 +257,8 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
257
257
  // header such as X-SailPoint-SDK forces a CORS preflight that tenants do
258
258
  // not allow, which blocks the request outright.
259
259
  if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
260
- headers['X-SailPoint-SDK'] = 'typescript-2.2.8';
261
- userAgent = "SailPoint-SDK-TypeScript/2.2.8";
260
+ headers['X-SailPoint-SDK'] = 'typescript-2.2.10';
261
+ userAgent = "SailPoint-SDK-TypeScript/2.2.10";
262
262
  if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
263
263
  userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
264
264
  }
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../nermv2025/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,+BAAuC;AAEvC;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,IAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,oBAAa,CAAC,SAAS,EAAE,6BAAsB,SAAS,iDAAuC,YAAY,MAAG,CAAC,CAAC;KAC7H;AACL,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAED;;;GAGG;AACI,IAAM,iBAAiB,GAAG,UAAgB,MAAW,EAAE,YAAoB,EAAE,aAA6B;;;;;;yBACzG,CAAA,aAAa,IAAI,aAAa,CAAC,MAAM,CAAA,EAArC,wBAAqC;yBACT,CAAA,OAAO,aAAa,CAAC,MAAM,KAAK,UAAU,CAAA,EAA1C,wBAA0C;oBAChE,qBAAM,aAAa,CAAC,MAAM,CAAC,YAAY,CAAC,EAAA;;oBAAxC,KAAA,SAA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aAAa,CAAE,YAAY,CAAA,CAAC,GAAG,SAAS,CAAC,GAAG,EAAE,OAAO,SAAA,GAAC,CAAC;wBAC9H,sBAAO,KAAK,CAAC,OAAO,CAAO,gBAAgB,CAAC,CAAC,KAAK,CAAC,UAAC,KAAU;;gCAC1D,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,MAAK,IAAI,EAAE;oCAC9B,IAAM,KAAK,GAAQ,IAAI,KAAK,CAAC,MAAA,KAAK,CAAC,OAAO,mCAAI,oBAAoB,CAAC,CAAC;oCACpE,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;oCACxB,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;oCAC1B,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;oCACxB,IAAI,KAAK,CAAC,QAAQ,EAAE;wCAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;wCACrC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;wCAC7C,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA7CY,QAAA,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API v2025\n * The NERM API v2025 accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.8';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.8`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../nermv2025/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,+BAAuC;AAEvC;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,IAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,oBAAa,CAAC,SAAS,EAAE,6BAAsB,SAAS,iDAAuC,YAAY,MAAG,CAAC,CAAC;KAC7H;AACL,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAED;;;GAGG;AACI,IAAM,iBAAiB,GAAG,UAAgB,MAAW,EAAE,YAAoB,EAAE,aAA6B;;;;;;yBACzG,CAAA,aAAa,IAAI,aAAa,CAAC,MAAM,CAAA,EAArC,wBAAqC;yBACT,CAAA,OAAO,aAAa,CAAC,MAAM,KAAK,UAAU,CAAA,EAA1C,wBAA0C;oBAChE,qBAAM,aAAa,CAAC,MAAM,CAAC,YAAY,CAAC,EAAA;;oBAAxC,KAAA,SAAwC,CAAA;;wBACxC,q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AAA,CAAC,GAAG,SAAS,CAAC,GAAG,EAAE,OAAO,SAAA,GAAC,CAAC;wBAC9H,sBAAO,KAAK,CAAC,OAAO,CAAO,gBAAgB,CAAC,CAAC,KAAK,CAAC,UAAC,KAAU;;gCAC1D,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,MAAK,IAAI,EAAE;oCAC9B,IAAM,KAAK,GAAQ,IAAI,KAAK,CAAC,MAAA,KAAK,CAAC,OAAO,mCAAI,oBAAoB,CAAC,CAAC;oCACpE,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;oCACxB,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;oCAC1B,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;oCACxB,IAAI,KAAK,CAAC,QAAQ,EAAE;wCAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;wCACrC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;wCAC7C,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA7CY,QAAA,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API v2025\n * The NERM API v2025 accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.10';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.10`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}