sailpoint-api-client 2.0.4 → 2.0.6
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/dist/index.d.ts +3 -0
- package/dist/index.js +192 -189
- package/dist/index.js.map +1 -1
- package/dist/intelligence/api.d.ts +952 -0
- package/dist/intelligence/api.js +589 -0
- package/dist/intelligence/api.js.map +1 -0
- package/dist/intelligence/base.d.ts +66 -0
- package/dist/intelligence/base.js +90 -0
- package/dist/intelligence/base.js.map +1 -0
- package/dist/intelligence/common.d.ts +65 -0
- package/dist/intelligence/common.js +292 -0
- package/dist/intelligence/common.js.map +1 -0
- package/dist/intelligence/configuration.d.ts +91 -0
- package/dist/intelligence/configuration.js +46 -0
- package/dist/intelligence/configuration.js.map +1 -0
- package/dist/intelligence/index.d.ts +13 -0
- package/dist/intelligence/index.js +32 -0
- package/dist/intelligence/index.js.map +1 -0
- package/dist/nerm/common.js +2 -2
- package/dist/nermv2025/common.js +2 -2
- package/dist/sources/api.d.ts +509 -1
- package/dist/sources/api.js +587 -4
- package/dist/sources/api.js.map +1 -1
- package/index.ts +3 -0
- package/intelligence/.openapi-generator/FILES +36 -0
- package/intelligence/.openapi-generator/VERSION +1 -0
- package/intelligence/.openapi-generator-ignore +23 -0
- package/intelligence/.sdk-partition +1 -0
- package/intelligence/api.ts +1220 -0
- package/intelligence/base.ts +86 -0
- package/intelligence/common.ts +183 -0
- package/intelligence/configuration.ts +110 -0
- package/intelligence/docs/Examples/typescript_code_examples_overlay.yaml +78 -0
- package/intelligence/docs/Methods/Index.md +30 -0
- package/intelligence/docs/Methods/IntelligenceApi.md +253 -0
- package/intelligence/docs/Models/Errormessagedto.md +21 -0
- package/intelligence/docs/Models/Errorresponsedto.md +22 -0
- package/intelligence/docs/Models/GetIdentityIntelligenceV1401Response.md +19 -0
- package/intelligence/docs/Models/GetIdentityIntelligenceV1429Response.md +19 -0
- package/intelligence/docs/Models/Index.md +19 -0
- package/intelligence/docs/Models/Intelaccessaccountwire.md +30 -0
- package/intelligence/docs/Models/Intelaccesshistory.md +20 -0
- package/intelligence/docs/Models/Intelaccesshistoryaccessitemsslice.md +20 -0
- package/intelligence/docs/Models/Intelaccesshistorycertificationsslice.md +20 -0
- package/intelligence/docs/Models/Intelaccessitemhistoryevent.md +20 -0
- package/intelligence/docs/Models/Intelaccesssourcewire.md +20 -0
- package/intelligence/docs/Models/Intelaccountsslice.md +20 -0
- package/intelligence/docs/Models/Intelcertificationhistoryevent.md +23 -0
- package/intelligence/docs/Models/Intelidentityaggregate.md +35 -0
- package/intelligence/docs/Models/Inteloutlieraccessitem.md +24 -0
- package/intelligence/docs/Models/Inteloutliersslice.md +19 -0
- package/intelligence/docs/Models/Intelprivilegedaccessitemwire.md +26 -0
- package/intelligence/docs/Models/IntelprivilegedaccessitemwireSource.md +20 -0
- package/intelligence/docs/Models/Intelprivilegedaccessslice.md +19 -0
- package/intelligence/docs/Models/Intelrareaccessslice.md +20 -0
- package/intelligence/docs/Models/Localeorigin.md +21 -0
- package/intelligence/docs/Models/README.md +46 -0
- package/intelligence/git_push.sh +57 -0
- package/intelligence/index.ts +18 -0
- package/intelligence/package.json +34 -0
- package/intelligence/tsconfig.json +21 -0
- package/nerm/README.md +2 -2
- package/nerm/common.ts +2 -2
- package/nerm/package.json +1 -1
- package/nermv2025/README.md +2 -2
- package/nermv2025/common.ts +2 -2
- package/nermv2025/package.json +1 -1
- package/package.json +1 -1
- package/sources/.openapi-generator/FILES +2 -0
- package/sources/api.ts +846 -9
- package/sources/docs/Examples/typescript_code_examples_overlay.yaml +101 -0
- package/sources/docs/Methods/SourcesApi.md +288 -0
- package/sources/docs/Models/Fielddetailsdtov2.md +24 -0
- package/sources/docs/Models/Provisioningpolicydtov2.md +24 -0
- package/sources/docs/Models/Usagetype.md +2 -0
package/dist/sources/api.js
CHANGED
|
@@ -78,8 +78,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
82
|
-
exports.UpdateSourceScheduleV1ScheduleTypeEnum = exports.GetSourceSchemasV1IncludeTypesEnum = exports.GetSourceScheduleV1ScheduleTypeEnum = exports.GetSourceConfigV1LocaleEnum = exports.DeleteSourceScheduleV1ScheduleTypeEnum = void 0;
|
|
81
|
+
exports.SourcesApiFactory = exports.SourcesApiFp = exports.SourcesApiAxiosParamCreator = exports.Usagetype = exports.TransformreadTypeEnum = exports.TransformTypeEnum = exports.TaskresultdtoTypeEnum = exports.StatusresponseStatusEnum = exports.SourcesyncjobStatusEnum = exports.SourcehealthdtoStatusEnum = exports.SourceSchemasInnerTypeEnum = exports.SourcePasswordPoliciesInnerTypeEnum = exports.SourceOwnerTypeEnum = exports.SourceManagerCorrelationRuleTypeEnum = exports.SourceManagementWorkgroupTypeEnum = exports.SourceClusterTypeEnum = exports.SourceBeforeProvisioningRuleTypeEnum = exports.SourceAccountCorrelationRuleTypeEnum = exports.SourceAccountCorrelationConfigTypeEnum = exports.SourceStatusEnum = exports.SourceFeaturesEnum = exports.SchemaFeaturesEnum = exports.Schedule3TypeEnum = exports.NativechangedetectionconfigOperationsEnum = exports.Localeorigin = exports.LoaduncorrelatedaccountstaskTaskMessagesInnerTypeEnum = exports.LoaduncorrelatedaccountstaskTaskCompletionStatusEnum = exports.LoadaccountstaskTaskMessagesInnerTypeEnum = exports.LoadaccountstaskTaskCompletionStatusEnum = exports.JsonpatchoperationOpEnum = exports.Fielddetailsdtov2TypeEnum = exports.FielddetailsdtoTypeEnum = exports.EntitlementapprovalschemeApproverTypeEnum = exports.EntitlementaccessrequestconfigMaxPermittedAccessDurationTimeUnitEnum = exports.Dtotype = exports.DependantconnectionsmissingdtoDependencyTypeEnum = exports.DeleteSourceV1202ResponseTypeEnum = exports.CorrelationconfigAttributeAssignmentsInnerMatchModeEnum = exports.CorrelationconfigAttributeAssignmentsInnerOperationEnum = exports.ConnectordetailStatusEnum = exports.AttrsyncsourceTypeEnum = exports.Attributedefinitiontype = exports.AttributedefinitionSchemaTypeEnum = exports.ApprovalconfigTimeoutConfigTimeoutResultEnum = exports.ApprovalconfigSerialChainInnerIdentityTypeEnum = exports.ApprovalconfigFallbackApproverTypeEnum = exports.ApprovalconfigEscalationConfigEscalationChainInnerIdentityTypeEnum = exports.ApprovalconfigAutoApproveEnum = exports.ApprovalconfigMachineIdentityManagerAssignmentEnum = exports.ApprovalconfigRequiresCommentEnum = void 0;
|
|
82
|
+
exports.UpdateSourceScheduleV1ScheduleTypeEnum = exports.GetSourceSchemasV1IncludeTypesEnum = exports.GetSourceScheduleV1ScheduleTypeEnum = exports.GetSourceConfigV1LocaleEnum = exports.DeleteSourceScheduleV1ScheduleTypeEnum = exports.SourcesApi = void 0;
|
|
83
83
|
var axios_1 = __importDefault(require("axios"));
|
|
84
84
|
// Some imports not used depending on template conditions
|
|
85
85
|
// @ts-ignore
|
|
@@ -299,6 +299,14 @@ exports.FielddetailsdtoTypeEnum = {
|
|
|
299
299
|
Boolean: 'boolean',
|
|
300
300
|
Secret: 'secret'
|
|
301
301
|
};
|
|
302
|
+
exports.Fielddetailsdtov2TypeEnum = {
|
|
303
|
+
String: 'string',
|
|
304
|
+
Int: 'int',
|
|
305
|
+
Long: 'long',
|
|
306
|
+
Date: 'date',
|
|
307
|
+
Boolean: 'boolean',
|
|
308
|
+
Secret: 'secret'
|
|
309
|
+
};
|
|
302
310
|
exports.JsonpatchoperationOpEnum = {
|
|
303
311
|
Add: 'add',
|
|
304
312
|
Remove: 'remove',
|
|
@@ -560,7 +568,7 @@ exports.TransformreadTypeEnum = {
|
|
|
560
568
|
Rfc5646: 'rfc5646'
|
|
561
569
|
};
|
|
562
570
|
/**
|
|
563
|
-
* The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source.
|
|
571
|
+
* The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. CREATE_MACHINE_ACCOUNT - This usage type can be used to create the provisioning template for a source subtype which will be used in creating a machine account. You can use these usage types for all your provisioning policy needs.
|
|
564
572
|
* @export
|
|
565
573
|
* @enum {string}
|
|
566
574
|
*/
|
|
@@ -580,7 +588,8 @@ exports.Usagetype = {
|
|
|
580
588
|
UpdateIdentity: 'UPDATE_IDENTITY',
|
|
581
589
|
EditGroup: 'EDIT_GROUP',
|
|
582
590
|
Unlock: 'UNLOCK',
|
|
583
|
-
ChangePassword: 'CHANGE_PASSWORD'
|
|
591
|
+
ChangePassword: 'CHANGE_PASSWORD',
|
|
592
|
+
CreateMachineAccount: 'CREATE_MACHINE_ACCOUNT'
|
|
584
593
|
};
|
|
585
594
|
/**
|
|
586
595
|
* SourcesApi - axios parameter creator
|
|
@@ -627,6 +636,55 @@ var SourcesApiAxiosParamCreator = function (configuration) {
|
|
|
627
636
|
});
|
|
628
637
|
});
|
|
629
638
|
},
|
|
639
|
+
/**
|
|
640
|
+
* This API generates a create policy/template based on field value transforms. This API is intended for use when setting up JDBC Provisioning type sources, but it will also work on other source types. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. The V2 API allows you to use a unique identifier (id) for each provisioning policy instead of usageType. This enables read, update, and delete operations on policies using their id. Note: The subtypeId field is required if usageType is CREATE_MACHINE_ACCOUNT. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
641
|
+
* @summary Create provisioning policy
|
|
642
|
+
* @param {string} sourceId The Source id
|
|
643
|
+
* @param {Provisioningpolicydtov2} provisioningpolicydtov2
|
|
644
|
+
* @param {boolean} [useDefaultFields] If passed as true, then it uses default fields from the connector template.
|
|
645
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
646
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
647
|
+
* @throws {RequiredError}
|
|
648
|
+
*/
|
|
649
|
+
createProvisioningPolicyV2: function (sourceId, provisioningpolicydtov2, useDefaultFields, xSailPointExperimental, axiosOptions) {
|
|
650
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
651
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
652
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
653
|
+
return __generator(this, function (_a) {
|
|
654
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
655
|
+
(0, common_1.assertParamExists)('createProvisioningPolicyV2', 'sourceId', sourceId);
|
|
656
|
+
// verify required parameter 'provisioningpolicydtov2' is not null or undefined
|
|
657
|
+
(0, common_1.assertParamExists)('createProvisioningPolicyV2', 'provisioningpolicydtov2', provisioningpolicydtov2);
|
|
658
|
+
if (xSailPointExperimental === undefined) {
|
|
659
|
+
xSailPointExperimental = 'true';
|
|
660
|
+
}
|
|
661
|
+
localVarPath = "/sources/v2/{sourceId}/provisioning-policies"
|
|
662
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)));
|
|
663
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
664
|
+
if (configuration) {
|
|
665
|
+
baseOptions = configuration.baseOptions;
|
|
666
|
+
}
|
|
667
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
668
|
+
localVarHeaderParameter = {};
|
|
669
|
+
localVarQueryParameter = {};
|
|
670
|
+
if (useDefaultFields !== undefined) {
|
|
671
|
+
localVarQueryParameter['useDefaultFields'] = useDefaultFields;
|
|
672
|
+
}
|
|
673
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
674
|
+
if (xSailPointExperimental != null) {
|
|
675
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
676
|
+
}
|
|
677
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
678
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
679
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
680
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisioningpolicydtov2, localVarRequestOptions, configuration);
|
|
681
|
+
return [2 /*return*/, {
|
|
682
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
683
|
+
axiosOptions: localVarRequestOptions,
|
|
684
|
+
}];
|
|
685
|
+
});
|
|
686
|
+
});
|
|
687
|
+
},
|
|
630
688
|
/**
|
|
631
689
|
* Use this API to create a new schedule for a type on the specified source in Identity Security Cloud (ISC).
|
|
632
690
|
* @summary Create schedule on source
|
|
@@ -844,6 +902,50 @@ var SourcesApiAxiosParamCreator = function (configuration) {
|
|
|
844
902
|
});
|
|
845
903
|
});
|
|
846
904
|
},
|
|
905
|
+
/**
|
|
906
|
+
* Deletes the provisioning policy with the specified ID on an application.
|
|
907
|
+
* @summary Delete provisioning policy by ID
|
|
908
|
+
* @param {string} sourceId The Source ID.
|
|
909
|
+
* @param {string} id The provisioning policy ID.
|
|
910
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
911
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
912
|
+
* @throws {RequiredError}
|
|
913
|
+
*/
|
|
914
|
+
deleteProvisioningPolicyV2: function (sourceId, id, xSailPointExperimental, axiosOptions) {
|
|
915
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
916
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
917
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
918
|
+
return __generator(this, function (_a) {
|
|
919
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
920
|
+
(0, common_1.assertParamExists)('deleteProvisioningPolicyV2', 'sourceId', sourceId);
|
|
921
|
+
// verify required parameter 'id' is not null or undefined
|
|
922
|
+
(0, common_1.assertParamExists)('deleteProvisioningPolicyV2', 'id', id);
|
|
923
|
+
if (xSailPointExperimental === undefined) {
|
|
924
|
+
xSailPointExperimental = 'true';
|
|
925
|
+
}
|
|
926
|
+
localVarPath = "/sources/v2/{sourceId}/provisioning-policies/{id}"
|
|
927
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
928
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
929
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
930
|
+
if (configuration) {
|
|
931
|
+
baseOptions = configuration.baseOptions;
|
|
932
|
+
}
|
|
933
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
934
|
+
localVarHeaderParameter = {};
|
|
935
|
+
localVarQueryParameter = {};
|
|
936
|
+
if (xSailPointExperimental != null) {
|
|
937
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
938
|
+
}
|
|
939
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
940
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
941
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
942
|
+
return [2 /*return*/, {
|
|
943
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
944
|
+
axiosOptions: localVarRequestOptions,
|
|
945
|
+
}];
|
|
946
|
+
});
|
|
947
|
+
});
|
|
948
|
+
},
|
|
847
949
|
/**
|
|
848
950
|
*
|
|
849
951
|
* @summary Delete source schedule by type.
|
|
@@ -1190,6 +1292,50 @@ var SourcesApiAxiosParamCreator = function (configuration) {
|
|
|
1190
1292
|
});
|
|
1191
1293
|
});
|
|
1192
1294
|
},
|
|
1295
|
+
/**
|
|
1296
|
+
* This end-point retrieves the ProvisioningPolicy with the specified ID on the specified Source in Identity Security Cloud.
|
|
1297
|
+
* @summary Get provisioning policy by ID
|
|
1298
|
+
* @param {string} sourceId The Source ID.
|
|
1299
|
+
* @param {string} id The provisioning policy ID.
|
|
1300
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1301
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1302
|
+
* @throws {RequiredError}
|
|
1303
|
+
*/
|
|
1304
|
+
getProvisioningPolicyV2: function (sourceId, id, xSailPointExperimental, axiosOptions) {
|
|
1305
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
1306
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1307
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1308
|
+
return __generator(this, function (_a) {
|
|
1309
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
1310
|
+
(0, common_1.assertParamExists)('getProvisioningPolicyV2', 'sourceId', sourceId);
|
|
1311
|
+
// verify required parameter 'id' is not null or undefined
|
|
1312
|
+
(0, common_1.assertParamExists)('getProvisioningPolicyV2', 'id', id);
|
|
1313
|
+
if (xSailPointExperimental === undefined) {
|
|
1314
|
+
xSailPointExperimental = 'true';
|
|
1315
|
+
}
|
|
1316
|
+
localVarPath = "/sources/v2/{sourceId}/provisioning-policies/{id}"
|
|
1317
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
1318
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1319
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1320
|
+
if (configuration) {
|
|
1321
|
+
baseOptions = configuration.baseOptions;
|
|
1322
|
+
}
|
|
1323
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
1324
|
+
localVarHeaderParameter = {};
|
|
1325
|
+
localVarQueryParameter = {};
|
|
1326
|
+
if (xSailPointExperimental != null) {
|
|
1327
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
1328
|
+
}
|
|
1329
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1330
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1331
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
1332
|
+
return [2 /*return*/, {
|
|
1333
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1334
|
+
axiosOptions: localVarRequestOptions,
|
|
1335
|
+
}];
|
|
1336
|
+
});
|
|
1337
|
+
});
|
|
1338
|
+
},
|
|
1193
1339
|
/**
|
|
1194
1340
|
* This API returns the existing attribute synchronization configuration for a source specified by the given ID. The response contains all attributes, regardless of whether they enabled or not.
|
|
1195
1341
|
* @summary Attribute sync config
|
|
@@ -1888,6 +2034,58 @@ var SourcesApiAxiosParamCreator = function (configuration) {
|
|
|
1888
2034
|
});
|
|
1889
2035
|
});
|
|
1890
2036
|
},
|
|
2037
|
+
/**
|
|
2038
|
+
* This end-point lists all the ProvisioningPolicies in IdentityNow.
|
|
2039
|
+
* @summary Lists Provisioning Policies
|
|
2040
|
+
* @param {string} sourceId The Source id
|
|
2041
|
+
* @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: **subtypeId**: *eq* **usageType**: *eq*
|
|
2042
|
+
* @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
|
|
2043
|
+
* @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
|
|
2044
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
2045
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2046
|
+
* @throws {RequiredError}
|
|
2047
|
+
*/
|
|
2048
|
+
listProvisioningPoliciesV2: function (sourceId, filters, offset, limit, xSailPointExperimental, axiosOptions) {
|
|
2049
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
2050
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
2051
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2052
|
+
return __generator(this, function (_a) {
|
|
2053
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
2054
|
+
(0, common_1.assertParamExists)('listProvisioningPoliciesV2', 'sourceId', sourceId);
|
|
2055
|
+
if (xSailPointExperimental === undefined) {
|
|
2056
|
+
xSailPointExperimental = 'true';
|
|
2057
|
+
}
|
|
2058
|
+
localVarPath = "/sources/v2/{sourceId}/provisioning-policies"
|
|
2059
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)));
|
|
2060
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2061
|
+
if (configuration) {
|
|
2062
|
+
baseOptions = configuration.baseOptions;
|
|
2063
|
+
}
|
|
2064
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
2065
|
+
localVarHeaderParameter = {};
|
|
2066
|
+
localVarQueryParameter = {};
|
|
2067
|
+
if (filters !== undefined) {
|
|
2068
|
+
localVarQueryParameter['filters'] = filters;
|
|
2069
|
+
}
|
|
2070
|
+
if (offset !== undefined) {
|
|
2071
|
+
localVarQueryParameter['offset'] = offset;
|
|
2072
|
+
}
|
|
2073
|
+
if (limit !== undefined) {
|
|
2074
|
+
localVarQueryParameter['limit'] = limit;
|
|
2075
|
+
}
|
|
2076
|
+
if (xSailPointExperimental != null) {
|
|
2077
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
2078
|
+
}
|
|
2079
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2080
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2081
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
2082
|
+
return [2 /*return*/, {
|
|
2083
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2084
|
+
axiosOptions: localVarRequestOptions,
|
|
2085
|
+
}];
|
|
2086
|
+
});
|
|
2087
|
+
});
|
|
2088
|
+
},
|
|
1891
2089
|
/**
|
|
1892
2090
|
* This end-point lists all the sources in IdentityNow.
|
|
1893
2091
|
* @summary Lists all sources in identitynow.
|
|
@@ -2096,6 +2294,55 @@ var SourcesApiAxiosParamCreator = function (configuration) {
|
|
|
2096
2294
|
});
|
|
2097
2295
|
});
|
|
2098
2296
|
},
|
|
2297
|
+
/**
|
|
2298
|
+
* This end-point updates the provisioning policy with the specified ID on the specified source in Identity Security Cloud. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
2299
|
+
* @summary Update provisioning policy by ID
|
|
2300
|
+
* @param {string} sourceId The Source ID.
|
|
2301
|
+
* @param {string} id The provisioning policy ID.
|
|
2302
|
+
* @param {Provisioningpolicydtov2} provisioningpolicydtov2
|
|
2303
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
2304
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2305
|
+
* @throws {RequiredError}
|
|
2306
|
+
*/
|
|
2307
|
+
putProvisioningPolicyV2: function (sourceId, id, provisioningpolicydtov2, xSailPointExperimental, axiosOptions) {
|
|
2308
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
2309
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
2310
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2311
|
+
return __generator(this, function (_a) {
|
|
2312
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
2313
|
+
(0, common_1.assertParamExists)('putProvisioningPolicyV2', 'sourceId', sourceId);
|
|
2314
|
+
// verify required parameter 'id' is not null or undefined
|
|
2315
|
+
(0, common_1.assertParamExists)('putProvisioningPolicyV2', 'id', id);
|
|
2316
|
+
// verify required parameter 'provisioningpolicydtov2' is not null or undefined
|
|
2317
|
+
(0, common_1.assertParamExists)('putProvisioningPolicyV2', 'provisioningpolicydtov2', provisioningpolicydtov2);
|
|
2318
|
+
if (xSailPointExperimental === undefined) {
|
|
2319
|
+
xSailPointExperimental = 'true';
|
|
2320
|
+
}
|
|
2321
|
+
localVarPath = "/sources/v2/{sourceId}/provisioning-policies/{id}"
|
|
2322
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
2323
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
2324
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2325
|
+
if (configuration) {
|
|
2326
|
+
baseOptions = configuration.baseOptions;
|
|
2327
|
+
}
|
|
2328
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), axiosOptions);
|
|
2329
|
+
localVarHeaderParameter = {};
|
|
2330
|
+
localVarQueryParameter = {};
|
|
2331
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2332
|
+
if (xSailPointExperimental != null) {
|
|
2333
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
2334
|
+
}
|
|
2335
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2336
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2337
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
2338
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(provisioningpolicydtov2, localVarRequestOptions, configuration);
|
|
2339
|
+
return [2 /*return*/, {
|
|
2340
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2341
|
+
axiosOptions: localVarRequestOptions,
|
|
2342
|
+
}];
|
|
2343
|
+
});
|
|
2344
|
+
});
|
|
2345
|
+
},
|
|
2099
2346
|
/**
|
|
2100
2347
|
* Replaces the attribute synchronization configuration for the source specified by the given ID with the configuration provided in the request body. Only the \"enabled\" field of the values in the \"attributes\" array is mutable. Attempting to change other attributes or add new values to the \"attributes\" array will result in an error.
|
|
2101
2348
|
* @summary Update attribute sync config
|
|
@@ -2559,6 +2806,55 @@ var SourcesApiAxiosParamCreator = function (configuration) {
|
|
|
2559
2806
|
});
|
|
2560
2807
|
});
|
|
2561
2808
|
},
|
|
2809
|
+
/**
|
|
2810
|
+
* This API selectively updates an existing Provisioning Policy using a JSONPatch payload. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
2811
|
+
* @summary Partial update of provisioning policy
|
|
2812
|
+
* @param {string} sourceId The Source id.
|
|
2813
|
+
* @param {string} id The provisioning policy ID.
|
|
2814
|
+
* @param {Array<Jsonpatchoperation>} jsonpatchoperation The JSONPatch payload used to update the schema.
|
|
2815
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
2816
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2817
|
+
* @throws {RequiredError}
|
|
2818
|
+
*/
|
|
2819
|
+
updateProvisioningPolicyV2: function (sourceId, id, jsonpatchoperation, xSailPointExperimental, axiosOptions) {
|
|
2820
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
2821
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
2822
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2823
|
+
return __generator(this, function (_a) {
|
|
2824
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
2825
|
+
(0, common_1.assertParamExists)('updateProvisioningPolicyV2', 'sourceId', sourceId);
|
|
2826
|
+
// verify required parameter 'id' is not null or undefined
|
|
2827
|
+
(0, common_1.assertParamExists)('updateProvisioningPolicyV2', 'id', id);
|
|
2828
|
+
// verify required parameter 'jsonpatchoperation' is not null or undefined
|
|
2829
|
+
(0, common_1.assertParamExists)('updateProvisioningPolicyV2', 'jsonpatchoperation', jsonpatchoperation);
|
|
2830
|
+
if (xSailPointExperimental === undefined) {
|
|
2831
|
+
xSailPointExperimental = 'true';
|
|
2832
|
+
}
|
|
2833
|
+
localVarPath = "/sources/v2/{sourceId}/provisioning-policies/{id}"
|
|
2834
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
2835
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
2836
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2837
|
+
if (configuration) {
|
|
2838
|
+
baseOptions = configuration.baseOptions;
|
|
2839
|
+
}
|
|
2840
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
|
|
2841
|
+
localVarHeaderParameter = {};
|
|
2842
|
+
localVarQueryParameter = {};
|
|
2843
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
2844
|
+
if (xSailPointExperimental != null) {
|
|
2845
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
2846
|
+
}
|
|
2847
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2848
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2849
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
2850
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jsonpatchoperation, localVarRequestOptions, configuration);
|
|
2851
|
+
return [2 /*return*/, {
|
|
2852
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2853
|
+
axiosOptions: localVarRequestOptions,
|
|
2854
|
+
}];
|
|
2855
|
+
});
|
|
2856
|
+
});
|
|
2857
|
+
},
|
|
2562
2858
|
/**
|
|
2563
2859
|
* 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.
|
|
2564
2860
|
* @summary Update source entitlement request configuration
|
|
@@ -2760,6 +3056,32 @@ var SourcesApiFp = function (configuration) {
|
|
|
2760
3056
|
});
|
|
2761
3057
|
});
|
|
2762
3058
|
},
|
|
3059
|
+
/**
|
|
3060
|
+
* This API generates a create policy/template based on field value transforms. This API is intended for use when setting up JDBC Provisioning type sources, but it will also work on other source types. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. The V2 API allows you to use a unique identifier (id) for each provisioning policy instead of usageType. This enables read, update, and delete operations on policies using their id. Note: The subtypeId field is required if usageType is CREATE_MACHINE_ACCOUNT. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
3061
|
+
* @summary Create provisioning policy
|
|
3062
|
+
* @param {string} sourceId The Source id
|
|
3063
|
+
* @param {Provisioningpolicydtov2} provisioningpolicydtov2
|
|
3064
|
+
* @param {boolean} [useDefaultFields] If passed as true, then it uses default fields from the connector template.
|
|
3065
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
3066
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3067
|
+
* @throws {RequiredError}
|
|
3068
|
+
*/
|
|
3069
|
+
createProvisioningPolicyV2: function (sourceId, provisioningpolicydtov2, useDefaultFields, xSailPointExperimental, axiosOptions) {
|
|
3070
|
+
var _a, _b, _c;
|
|
3071
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3072
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
3073
|
+
return __generator(this, function (_d) {
|
|
3074
|
+
switch (_d.label) {
|
|
3075
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createProvisioningPolicyV2(sourceId, provisioningpolicydtov2, useDefaultFields, xSailPointExperimental, axiosOptions)];
|
|
3076
|
+
case 1:
|
|
3077
|
+
localVarAxiosArgs = _d.sent();
|
|
3078
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3079
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourcesApi.createProvisioningPolicyV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3080
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
3081
|
+
}
|
|
3082
|
+
});
|
|
3083
|
+
});
|
|
3084
|
+
},
|
|
2763
3085
|
/**
|
|
2764
3086
|
* Use this API to create a new schedule for a type on the specified source in Identity Security Cloud (ISC).
|
|
2765
3087
|
* @summary Create schedule on source
|
|
@@ -2902,6 +3224,31 @@ var SourcesApiFp = function (configuration) {
|
|
|
2902
3224
|
});
|
|
2903
3225
|
});
|
|
2904
3226
|
},
|
|
3227
|
+
/**
|
|
3228
|
+
* Deletes the provisioning policy with the specified ID on an application.
|
|
3229
|
+
* @summary Delete provisioning policy by ID
|
|
3230
|
+
* @param {string} sourceId The Source ID.
|
|
3231
|
+
* @param {string} id The provisioning policy ID.
|
|
3232
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
3233
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3234
|
+
* @throws {RequiredError}
|
|
3235
|
+
*/
|
|
3236
|
+
deleteProvisioningPolicyV2: function (sourceId, id, xSailPointExperimental, axiosOptions) {
|
|
3237
|
+
var _a, _b, _c;
|
|
3238
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3239
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
3240
|
+
return __generator(this, function (_d) {
|
|
3241
|
+
switch (_d.label) {
|
|
3242
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteProvisioningPolicyV2(sourceId, id, xSailPointExperimental, axiosOptions)];
|
|
3243
|
+
case 1:
|
|
3244
|
+
localVarAxiosArgs = _d.sent();
|
|
3245
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3246
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourcesApi.deleteProvisioningPolicyV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3247
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
3248
|
+
}
|
|
3249
|
+
});
|
|
3250
|
+
});
|
|
3251
|
+
},
|
|
2905
3252
|
/**
|
|
2906
3253
|
*
|
|
2907
3254
|
* @summary Delete source schedule by type.
|
|
@@ -3136,6 +3483,31 @@ var SourcesApiFp = function (configuration) {
|
|
|
3136
3483
|
});
|
|
3137
3484
|
});
|
|
3138
3485
|
},
|
|
3486
|
+
/**
|
|
3487
|
+
* This end-point retrieves the ProvisioningPolicy with the specified ID on the specified Source in Identity Security Cloud.
|
|
3488
|
+
* @summary Get provisioning policy by ID
|
|
3489
|
+
* @param {string} sourceId The Source ID.
|
|
3490
|
+
* @param {string} id The provisioning policy ID.
|
|
3491
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
3492
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3493
|
+
* @throws {RequiredError}
|
|
3494
|
+
*/
|
|
3495
|
+
getProvisioningPolicyV2: function (sourceId, id, xSailPointExperimental, axiosOptions) {
|
|
3496
|
+
var _a, _b, _c;
|
|
3497
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3498
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
3499
|
+
return __generator(this, function (_d) {
|
|
3500
|
+
switch (_d.label) {
|
|
3501
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProvisioningPolicyV2(sourceId, id, xSailPointExperimental, axiosOptions)];
|
|
3502
|
+
case 1:
|
|
3503
|
+
localVarAxiosArgs = _d.sent();
|
|
3504
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3505
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourcesApi.getProvisioningPolicyV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3506
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
3507
|
+
}
|
|
3508
|
+
});
|
|
3509
|
+
});
|
|
3510
|
+
},
|
|
3139
3511
|
/**
|
|
3140
3512
|
* This API returns the existing attribute synchronization configuration for a source specified by the given ID. The response contains all attributes, regardless of whether they enabled or not.
|
|
3141
3513
|
* @summary Attribute sync config
|
|
@@ -3570,6 +3942,33 @@ var SourcesApiFp = function (configuration) {
|
|
|
3570
3942
|
});
|
|
3571
3943
|
});
|
|
3572
3944
|
},
|
|
3945
|
+
/**
|
|
3946
|
+
* This end-point lists all the ProvisioningPolicies in IdentityNow.
|
|
3947
|
+
* @summary Lists Provisioning Policies
|
|
3948
|
+
* @param {string} sourceId The Source id
|
|
3949
|
+
* @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: **subtypeId**: *eq* **usageType**: *eq*
|
|
3950
|
+
* @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
|
|
3951
|
+
* @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
|
|
3952
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
3953
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3954
|
+
* @throws {RequiredError}
|
|
3955
|
+
*/
|
|
3956
|
+
listProvisioningPoliciesV2: function (sourceId, filters, offset, limit, xSailPointExperimental, axiosOptions) {
|
|
3957
|
+
var _a, _b, _c;
|
|
3958
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3959
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
3960
|
+
return __generator(this, function (_d) {
|
|
3961
|
+
switch (_d.label) {
|
|
3962
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProvisioningPoliciesV2(sourceId, filters, offset, limit, xSailPointExperimental, axiosOptions)];
|
|
3963
|
+
case 1:
|
|
3964
|
+
localVarAxiosArgs = _d.sent();
|
|
3965
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3966
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourcesApi.listProvisioningPoliciesV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3967
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
3968
|
+
}
|
|
3969
|
+
});
|
|
3970
|
+
});
|
|
3971
|
+
},
|
|
3573
3972
|
/**
|
|
3574
3973
|
* This end-point lists all the sources in IdentityNow.
|
|
3575
3974
|
* @summary Lists all sources in identitynow.
|
|
@@ -3695,6 +4094,32 @@ var SourcesApiFp = function (configuration) {
|
|
|
3695
4094
|
});
|
|
3696
4095
|
});
|
|
3697
4096
|
},
|
|
4097
|
+
/**
|
|
4098
|
+
* This end-point updates the provisioning policy with the specified ID on the specified source in Identity Security Cloud. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
4099
|
+
* @summary Update provisioning policy by ID
|
|
4100
|
+
* @param {string} sourceId The Source ID.
|
|
4101
|
+
* @param {string} id The provisioning policy ID.
|
|
4102
|
+
* @param {Provisioningpolicydtov2} provisioningpolicydtov2
|
|
4103
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
4104
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
4105
|
+
* @throws {RequiredError}
|
|
4106
|
+
*/
|
|
4107
|
+
putProvisioningPolicyV2: function (sourceId, id, provisioningpolicydtov2, xSailPointExperimental, axiosOptions) {
|
|
4108
|
+
var _a, _b, _c;
|
|
4109
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4110
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4111
|
+
return __generator(this, function (_d) {
|
|
4112
|
+
switch (_d.label) {
|
|
4113
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putProvisioningPolicyV2(sourceId, id, provisioningpolicydtov2, xSailPointExperimental, axiosOptions)];
|
|
4114
|
+
case 1:
|
|
4115
|
+
localVarAxiosArgs = _d.sent();
|
|
4116
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4117
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourcesApi.putProvisioningPolicyV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4118
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4119
|
+
}
|
|
4120
|
+
});
|
|
4121
|
+
});
|
|
4122
|
+
},
|
|
3698
4123
|
/**
|
|
3699
4124
|
* Replaces the attribute synchronization configuration for the source specified by the given ID with the configuration provided in the request body. Only the \"enabled\" field of the values in the \"attributes\" array is mutable. Attempting to change other attributes or add new values to the \"attributes\" array will result in an error.
|
|
3700
4125
|
* @summary Update attribute sync config
|
|
@@ -3984,6 +4409,32 @@ var SourcesApiFp = function (configuration) {
|
|
|
3984
4409
|
});
|
|
3985
4410
|
});
|
|
3986
4411
|
},
|
|
4412
|
+
/**
|
|
4413
|
+
* This API selectively updates an existing Provisioning Policy using a JSONPatch payload. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
4414
|
+
* @summary Partial update of provisioning policy
|
|
4415
|
+
* @param {string} sourceId The Source id.
|
|
4416
|
+
* @param {string} id The provisioning policy ID.
|
|
4417
|
+
* @param {Array<Jsonpatchoperation>} jsonpatchoperation The JSONPatch payload used to update the schema.
|
|
4418
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
4419
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
4420
|
+
* @throws {RequiredError}
|
|
4421
|
+
*/
|
|
4422
|
+
updateProvisioningPolicyV2: function (sourceId, id, jsonpatchoperation, xSailPointExperimental, axiosOptions) {
|
|
4423
|
+
var _a, _b, _c;
|
|
4424
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4425
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4426
|
+
return __generator(this, function (_d) {
|
|
4427
|
+
switch (_d.label) {
|
|
4428
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateProvisioningPolicyV2(sourceId, id, jsonpatchoperation, xSailPointExperimental, axiosOptions)];
|
|
4429
|
+
case 1:
|
|
4430
|
+
localVarAxiosArgs = _d.sent();
|
|
4431
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4432
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourcesApi.updateProvisioningPolicyV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4433
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4434
|
+
}
|
|
4435
|
+
});
|
|
4436
|
+
});
|
|
4437
|
+
},
|
|
3987
4438
|
/**
|
|
3988
4439
|
* 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.
|
|
3989
4440
|
* @summary Update source entitlement request configuration
|
|
@@ -4103,6 +4554,16 @@ var SourcesApiFactory = function (configuration, basePath, axios) {
|
|
|
4103
4554
|
createProvisioningPolicyV1: function (requestParameters, axiosOptions) {
|
|
4104
4555
|
return localVarFp.createProvisioningPolicyV1(requestParameters.sourceId, requestParameters.provisioningpolicydto, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
4105
4556
|
},
|
|
4557
|
+
/**
|
|
4558
|
+
* This API generates a create policy/template based on field value transforms. This API is intended for use when setting up JDBC Provisioning type sources, but it will also work on other source types. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. The V2 API allows you to use a unique identifier (id) for each provisioning policy instead of usageType. This enables read, update, and delete operations on policies using their id. Note: The subtypeId field is required if usageType is CREATE_MACHINE_ACCOUNT. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
4559
|
+
* @summary Create provisioning policy
|
|
4560
|
+
* @param {SourcesApiCreateProvisioningPolicyV2Request} requestParameters Request parameters.
|
|
4561
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
4562
|
+
* @throws {RequiredError}
|
|
4563
|
+
*/
|
|
4564
|
+
createProvisioningPolicyV2: function (requestParameters, axiosOptions) {
|
|
4565
|
+
return localVarFp.createProvisioningPolicyV2(requestParameters.sourceId, requestParameters.provisioningpolicydtov2, requestParameters.useDefaultFields, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
4566
|
+
},
|
|
4106
4567
|
/**
|
|
4107
4568
|
* Use this API to create a new schedule for a type on the specified source in Identity Security Cloud (ISC).
|
|
4108
4569
|
* @summary Create schedule on source
|
|
@@ -4163,6 +4624,16 @@ var SourcesApiFactory = function (configuration, basePath, axios) {
|
|
|
4163
4624
|
deleteProvisioningPolicyV1: function (requestParameters, axiosOptions) {
|
|
4164
4625
|
return localVarFp.deleteProvisioningPolicyV1(requestParameters.sourceId, requestParameters.usageType, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
4165
4626
|
},
|
|
4627
|
+
/**
|
|
4628
|
+
* Deletes the provisioning policy with the specified ID on an application.
|
|
4629
|
+
* @summary Delete provisioning policy by ID
|
|
4630
|
+
* @param {SourcesApiDeleteProvisioningPolicyV2Request} requestParameters Request parameters.
|
|
4631
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
4632
|
+
* @throws {RequiredError}
|
|
4633
|
+
*/
|
|
4634
|
+
deleteProvisioningPolicyV2: function (requestParameters, axiosOptions) {
|
|
4635
|
+
return localVarFp.deleteProvisioningPolicyV2(requestParameters.sourceId, requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
4636
|
+
},
|
|
4166
4637
|
/**
|
|
4167
4638
|
*
|
|
4168
4639
|
* @summary Delete source schedule by type.
|
|
@@ -4263,6 +4734,16 @@ var SourcesApiFactory = function (configuration, basePath, axios) {
|
|
|
4263
4734
|
getProvisioningPolicyV1: function (requestParameters, axiosOptions) {
|
|
4264
4735
|
return localVarFp.getProvisioningPolicyV1(requestParameters.sourceId, requestParameters.usageType, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
4265
4736
|
},
|
|
4737
|
+
/**
|
|
4738
|
+
* This end-point retrieves the ProvisioningPolicy with the specified ID on the specified Source in Identity Security Cloud.
|
|
4739
|
+
* @summary Get provisioning policy by ID
|
|
4740
|
+
* @param {SourcesApiGetProvisioningPolicyV2Request} requestParameters Request parameters.
|
|
4741
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
4742
|
+
* @throws {RequiredError}
|
|
4743
|
+
*/
|
|
4744
|
+
getProvisioningPolicyV2: function (requestParameters, axiosOptions) {
|
|
4745
|
+
return localVarFp.getProvisioningPolicyV2(requestParameters.sourceId, requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
4746
|
+
},
|
|
4266
4747
|
/**
|
|
4267
4748
|
* This API returns the existing attribute synchronization configuration for a source specified by the given ID. The response contains all attributes, regardless of whether they enabled or not.
|
|
4268
4749
|
* @summary Attribute sync config
|
|
@@ -4443,6 +4924,16 @@ var SourcesApiFactory = function (configuration, basePath, axios) {
|
|
|
4443
4924
|
listProvisioningPoliciesV1: function (requestParameters, axiosOptions) {
|
|
4444
4925
|
return localVarFp.listProvisioningPoliciesV1(requestParameters.sourceId, requestParameters.offset, requestParameters.limit, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
4445
4926
|
},
|
|
4927
|
+
/**
|
|
4928
|
+
* This end-point lists all the ProvisioningPolicies in IdentityNow.
|
|
4929
|
+
* @summary Lists Provisioning Policies
|
|
4930
|
+
* @param {SourcesApiListProvisioningPoliciesV2Request} requestParameters Request parameters.
|
|
4931
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
4932
|
+
* @throws {RequiredError}
|
|
4933
|
+
*/
|
|
4934
|
+
listProvisioningPoliciesV2: function (requestParameters, axiosOptions) {
|
|
4935
|
+
return localVarFp.listProvisioningPoliciesV2(requestParameters.sourceId, requestParameters.filters, requestParameters.offset, requestParameters.limit, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
4936
|
+
},
|
|
4446
4937
|
/**
|
|
4447
4938
|
* This end-point lists all the sources in IdentityNow.
|
|
4448
4939
|
* @summary Lists all sources in identitynow.
|
|
@@ -4494,6 +4985,16 @@ var SourcesApiFactory = function (configuration, basePath, axios) {
|
|
|
4494
4985
|
putProvisioningPolicyV1: function (requestParameters, axiosOptions) {
|
|
4495
4986
|
return localVarFp.putProvisioningPolicyV1(requestParameters.sourceId, requestParameters.usageType, requestParameters.provisioningpolicydto, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
4496
4987
|
},
|
|
4988
|
+
/**
|
|
4989
|
+
* This end-point updates the provisioning policy with the specified ID on the specified source in Identity Security Cloud. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
4990
|
+
* @summary Update provisioning policy by ID
|
|
4991
|
+
* @param {SourcesApiPutProvisioningPolicyV2Request} requestParameters Request parameters.
|
|
4992
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
4993
|
+
* @throws {RequiredError}
|
|
4994
|
+
*/
|
|
4995
|
+
putProvisioningPolicyV2: function (requestParameters, axiosOptions) {
|
|
4996
|
+
return localVarFp.putProvisioningPolicyV2(requestParameters.sourceId, requestParameters.id, requestParameters.provisioningpolicydtov2, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
4997
|
+
},
|
|
4497
4998
|
/**
|
|
4498
4999
|
* Replaces the attribute synchronization configuration for the source specified by the given ID with the configuration provided in the request body. Only the \"enabled\" field of the values in the \"attributes\" array is mutable. Attempting to change other attributes or add new values to the \"attributes\" array will result in an error.
|
|
4499
5000
|
* @summary Update attribute sync config
|
|
@@ -4614,6 +5115,16 @@ var SourcesApiFactory = function (configuration, basePath, axios) {
|
|
|
4614
5115
|
updateProvisioningPolicyV1: function (requestParameters, axiosOptions) {
|
|
4615
5116
|
return localVarFp.updateProvisioningPolicyV1(requestParameters.sourceId, requestParameters.usageType, requestParameters.jsonpatchoperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
4616
5117
|
},
|
|
5118
|
+
/**
|
|
5119
|
+
* This API selectively updates an existing Provisioning Policy using a JSONPatch payload. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
5120
|
+
* @summary Partial update of provisioning policy
|
|
5121
|
+
* @param {SourcesApiUpdateProvisioningPolicyV2Request} requestParameters Request parameters.
|
|
5122
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
5123
|
+
* @throws {RequiredError}
|
|
5124
|
+
*/
|
|
5125
|
+
updateProvisioningPolicyV2: function (requestParameters, axiosOptions) {
|
|
5126
|
+
return localVarFp.updateProvisioningPolicyV2(requestParameters.sourceId, requestParameters.id, requestParameters.jsonpatchoperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
5127
|
+
},
|
|
4617
5128
|
/**
|
|
4618
5129
|
* 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.
|
|
4619
5130
|
* @summary Update source entitlement request configuration
|
|
@@ -4680,6 +5191,18 @@ var SourcesApi = /** @class */ (function (_super) {
|
|
|
4680
5191
|
var _this = this;
|
|
4681
5192
|
return (0, exports.SourcesApiFp)(this.configuration).createProvisioningPolicyV1(requestParameters.sourceId, requestParameters.provisioningpolicydto, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4682
5193
|
};
|
|
5194
|
+
/**
|
|
5195
|
+
* This API generates a create policy/template based on field value transforms. This API is intended for use when setting up JDBC Provisioning type sources, but it will also work on other source types. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. The V2 API allows you to use a unique identifier (id) for each provisioning policy instead of usageType. This enables read, update, and delete operations on policies using their id. Note: The subtypeId field is required if usageType is CREATE_MACHINE_ACCOUNT. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
5196
|
+
* @summary Create provisioning policy
|
|
5197
|
+
* @param {SourcesApiCreateProvisioningPolicyV2Request} requestParameters Request parameters.
|
|
5198
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
5199
|
+
* @throws {RequiredError}
|
|
5200
|
+
* @memberof SourcesApi
|
|
5201
|
+
*/
|
|
5202
|
+
SourcesApi.prototype.createProvisioningPolicyV2 = function (requestParameters, axiosOptions) {
|
|
5203
|
+
var _this = this;
|
|
5204
|
+
return (0, exports.SourcesApiFp)(this.configuration).createProvisioningPolicyV2(requestParameters.sourceId, requestParameters.provisioningpolicydtov2, requestParameters.useDefaultFields, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5205
|
+
};
|
|
4683
5206
|
/**
|
|
4684
5207
|
* Use this API to create a new schedule for a type on the specified source in Identity Security Cloud (ISC).
|
|
4685
5208
|
* @summary Create schedule on source
|
|
@@ -4752,6 +5275,18 @@ var SourcesApi = /** @class */ (function (_super) {
|
|
|
4752
5275
|
var _this = this;
|
|
4753
5276
|
return (0, exports.SourcesApiFp)(this.configuration).deleteProvisioningPolicyV1(requestParameters.sourceId, requestParameters.usageType, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4754
5277
|
};
|
|
5278
|
+
/**
|
|
5279
|
+
* Deletes the provisioning policy with the specified ID on an application.
|
|
5280
|
+
* @summary Delete provisioning policy by ID
|
|
5281
|
+
* @param {SourcesApiDeleteProvisioningPolicyV2Request} requestParameters Request parameters.
|
|
5282
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
5283
|
+
* @throws {RequiredError}
|
|
5284
|
+
* @memberof SourcesApi
|
|
5285
|
+
*/
|
|
5286
|
+
SourcesApi.prototype.deleteProvisioningPolicyV2 = function (requestParameters, axiosOptions) {
|
|
5287
|
+
var _this = this;
|
|
5288
|
+
return (0, exports.SourcesApiFp)(this.configuration).deleteProvisioningPolicyV2(requestParameters.sourceId, requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5289
|
+
};
|
|
4755
5290
|
/**
|
|
4756
5291
|
*
|
|
4757
5292
|
* @summary Delete source schedule by type.
|
|
@@ -4872,6 +5407,18 @@ var SourcesApi = /** @class */ (function (_super) {
|
|
|
4872
5407
|
var _this = this;
|
|
4873
5408
|
return (0, exports.SourcesApiFp)(this.configuration).getProvisioningPolicyV1(requestParameters.sourceId, requestParameters.usageType, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4874
5409
|
};
|
|
5410
|
+
/**
|
|
5411
|
+
* This end-point retrieves the ProvisioningPolicy with the specified ID on the specified Source in Identity Security Cloud.
|
|
5412
|
+
* @summary Get provisioning policy by ID
|
|
5413
|
+
* @param {SourcesApiGetProvisioningPolicyV2Request} requestParameters Request parameters.
|
|
5414
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
5415
|
+
* @throws {RequiredError}
|
|
5416
|
+
* @memberof SourcesApi
|
|
5417
|
+
*/
|
|
5418
|
+
SourcesApi.prototype.getProvisioningPolicyV2 = function (requestParameters, axiosOptions) {
|
|
5419
|
+
var _this = this;
|
|
5420
|
+
return (0, exports.SourcesApiFp)(this.configuration).getProvisioningPolicyV2(requestParameters.sourceId, requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5421
|
+
};
|
|
4875
5422
|
/**
|
|
4876
5423
|
* This API returns the existing attribute synchronization configuration for a source specified by the given ID. The response contains all attributes, regardless of whether they enabled or not.
|
|
4877
5424
|
* @summary Attribute sync config
|
|
@@ -5088,6 +5635,18 @@ var SourcesApi = /** @class */ (function (_super) {
|
|
|
5088
5635
|
var _this = this;
|
|
5089
5636
|
return (0, exports.SourcesApiFp)(this.configuration).listProvisioningPoliciesV1(requestParameters.sourceId, requestParameters.offset, requestParameters.limit, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5090
5637
|
};
|
|
5638
|
+
/**
|
|
5639
|
+
* This end-point lists all the ProvisioningPolicies in IdentityNow.
|
|
5640
|
+
* @summary Lists Provisioning Policies
|
|
5641
|
+
* @param {SourcesApiListProvisioningPoliciesV2Request} requestParameters Request parameters.
|
|
5642
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
5643
|
+
* @throws {RequiredError}
|
|
5644
|
+
* @memberof SourcesApi
|
|
5645
|
+
*/
|
|
5646
|
+
SourcesApi.prototype.listProvisioningPoliciesV2 = function (requestParameters, axiosOptions) {
|
|
5647
|
+
var _this = this;
|
|
5648
|
+
return (0, exports.SourcesApiFp)(this.configuration).listProvisioningPoliciesV2(requestParameters.sourceId, requestParameters.filters, requestParameters.offset, requestParameters.limit, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5649
|
+
};
|
|
5091
5650
|
/**
|
|
5092
5651
|
* This end-point lists all the sources in IdentityNow.
|
|
5093
5652
|
* @summary Lists all sources in identitynow.
|
|
@@ -5149,6 +5708,18 @@ var SourcesApi = /** @class */ (function (_super) {
|
|
|
5149
5708
|
var _this = this;
|
|
5150
5709
|
return (0, exports.SourcesApiFp)(this.configuration).putProvisioningPolicyV1(requestParameters.sourceId, requestParameters.usageType, requestParameters.provisioningpolicydto, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5151
5710
|
};
|
|
5711
|
+
/**
|
|
5712
|
+
* This end-point updates the provisioning policy with the specified ID on the specified source in Identity Security Cloud. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
5713
|
+
* @summary Update provisioning policy by ID
|
|
5714
|
+
* @param {SourcesApiPutProvisioningPolicyV2Request} requestParameters Request parameters.
|
|
5715
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
5716
|
+
* @throws {RequiredError}
|
|
5717
|
+
* @memberof SourcesApi
|
|
5718
|
+
*/
|
|
5719
|
+
SourcesApi.prototype.putProvisioningPolicyV2 = function (requestParameters, axiosOptions) {
|
|
5720
|
+
var _this = this;
|
|
5721
|
+
return (0, exports.SourcesApiFp)(this.configuration).putProvisioningPolicyV2(requestParameters.sourceId, requestParameters.id, requestParameters.provisioningpolicydtov2, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5722
|
+
};
|
|
5152
5723
|
/**
|
|
5153
5724
|
* Replaces the attribute synchronization configuration for the source specified by the given ID with the configuration provided in the request body. Only the \"enabled\" field of the values in the \"attributes\" array is mutable. Attempting to change other attributes or add new values to the \"attributes\" array will result in an error.
|
|
5154
5725
|
* @summary Update attribute sync config
|
|
@@ -5293,6 +5864,18 @@ var SourcesApi = /** @class */ (function (_super) {
|
|
|
5293
5864
|
var _this = this;
|
|
5294
5865
|
return (0, exports.SourcesApiFp)(this.configuration).updateProvisioningPolicyV1(requestParameters.sourceId, requestParameters.usageType, requestParameters.jsonpatchoperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5295
5866
|
};
|
|
5867
|
+
/**
|
|
5868
|
+
* This API selectively updates an existing Provisioning Policy using a JSONPatch payload. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
5869
|
+
* @summary Partial update of provisioning policy
|
|
5870
|
+
* @param {SourcesApiUpdateProvisioningPolicyV2Request} requestParameters Request parameters.
|
|
5871
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
5872
|
+
* @throws {RequiredError}
|
|
5873
|
+
* @memberof SourcesApi
|
|
5874
|
+
*/
|
|
5875
|
+
SourcesApi.prototype.updateProvisioningPolicyV2 = function (requestParameters, axiosOptions) {
|
|
5876
|
+
var _this = this;
|
|
5877
|
+
return (0, exports.SourcesApiFp)(this.configuration).updateProvisioningPolicyV2(requestParameters.sourceId, requestParameters.id, requestParameters.jsonpatchoperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5878
|
+
};
|
|
5296
5879
|
/**
|
|
5297
5880
|
* 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.
|
|
5298
5881
|
* @summary Update source entitlement request configuration
|