sailpoint-api-client 1.8.3 → 1.8.4

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/v2024/api.js CHANGED
@@ -1153,7 +1153,8 @@ exports.DtoTypeV2024 = {
1153
1153
  exports.EmailStatusDtoV2024VerificationStatusV2024 = {
1154
1154
  Pending: 'PENDING',
1155
1155
  Success: 'SUCCESS',
1156
- Failed: 'FAILED'
1156
+ Failed: 'FAILED',
1157
+ Na: 'NA'
1157
1158
  };
1158
1159
  exports.EntitlementApprovalSchemeV2024ApproverTypeV2024 = {
1159
1160
  EntitlementOwner: 'ENTITLEMENT_OWNER',
@@ -1893,14 +1894,12 @@ exports.ManualWorkItemStateV2024 = {
1893
1894
  Archived: 'ARCHIVED'
1894
1895
  };
1895
1896
  /**
1896
- *
1897
+ * The notification medium (EMAIL, SLACK, or TEAMS)
1897
1898
  * @export
1898
1899
  * @enum {string}
1899
1900
  */
1900
1901
  exports.MediumV2024 = {
1901
1902
  Email: 'EMAIL',
1902
- Sms: 'SMS',
1903
- Phone: 'PHONE',
1904
1903
  Slack: 'SLACK',
1905
1904
  Teams: 'TEAMS'
1906
1905
  };
@@ -3141,20 +3140,16 @@ exports.TaskStatusV2024CompletionStatusV2024 = {
3141
3140
  };
3142
3141
  exports.TemplateBulkDeleteDtoV2024MediumV2024 = {
3143
3142
  Email: 'EMAIL',
3144
- Phone: 'PHONE',
3145
- Sms: 'SMS'
3143
+ Slack: 'SLACK',
3144
+ Teams: 'TEAMS'
3146
3145
  };
3147
3146
  exports.TemplateDtoDefaultV2024MediumV2024 = {
3148
3147
  Email: 'EMAIL',
3149
- Phone: 'PHONE',
3150
- Sms: 'SMS',
3151
3148
  Slack: 'SLACK',
3152
3149
  Teams: 'TEAMS'
3153
3150
  };
3154
3151
  exports.TemplateDtoV2024MediumV2024 = {
3155
3152
  Email: 'EMAIL',
3156
- Phone: 'PHONE',
3157
- Sms: 'SMS',
3158
3153
  Slack: 'SLACK',
3159
3154
  Teams: 'TEAMS'
3160
3155
  };
@@ -54622,7 +54617,7 @@ var NotificationsV2024ApiAxiosParamCreator = function (configuration) {
54622
54617
  });
54623
54618
  },
54624
54619
  /**
54625
- * This lets you bulk delete templates that you previously created for your site. Since this is a beta feature, please contact support to enable usage.
54620
+ * This lets you bulk delete templates that you previously created for your site.
54626
54621
  * @summary Bulk delete notification templates
54627
54622
  * @param {Array<TemplateBulkDeleteDtoV2024>} templateBulkDeleteDtoV2024
54628
54623
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
@@ -54801,24 +54796,25 @@ var NotificationsV2024ApiAxiosParamCreator = function (configuration) {
54801
54796
  /**
54802
54797
  * Retrieve MAIL FROM attributes for a given AWS SES identity.
54803
54798
  * @summary Get mail from attributes
54804
- * @param {string} id Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status
54799
+ * @param {string} identity Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status
54805
54800
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
54806
54801
  * @param {*} [axiosOptions] Override http request option.
54807
54802
  * @throws {RequiredError}
54808
54803
  */
54809
- getMailFromAttributes: function (id, xSailPointExperimental, axiosOptions) {
54804
+ getMailFromAttributes: function (identity, xSailPointExperimental, axiosOptions) {
54810
54805
  if (axiosOptions === void 0) { axiosOptions = {}; }
54811
54806
  return __awaiter(_this, void 0, void 0, function () {
54812
54807
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
54813
54808
  return __generator(this, function (_a) {
54814
54809
  switch (_a.label) {
54815
54810
  case 0:
54816
- // verify required parameter 'id' is not null or undefined
54817
- (0, common_1.assertParamExists)('getMailFromAttributes', 'id', id);
54811
+ // verify required parameter 'identity' is not null or undefined
54812
+ (0, common_1.assertParamExists)('getMailFromAttributes', 'identity', identity);
54818
54813
  if (xSailPointExperimental === undefined) {
54819
54814
  xSailPointExperimental = 'true';
54820
54815
  }
54821
- localVarPath = "/mail-from-attributes/{identity}";
54816
+ localVarPath = "/mail-from-attributes/{identity}"
54817
+ .replace("{".concat("identity", "}"), encodeURIComponent(String(identity)));
54822
54818
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
54823
54819
  if (configuration) {
54824
54820
  baseOptions = configuration.baseOptions;
@@ -54843,9 +54839,6 @@ var NotificationsV2024ApiAxiosParamCreator = function (configuration) {
54843
54839
  // authentication userAuth required
54844
54840
  // oauth required
54845
54841
  _a.sent();
54846
- if (id !== undefined) {
54847
- localVarQueryParameter['id'] = id;
54848
- }
54849
54842
  if (xSailPointExperimental != null) {
54850
54843
  localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
54851
54844
  }
@@ -55453,7 +55446,7 @@ var NotificationsV2024ApiFp = function (configuration) {
55453
55446
  });
55454
55447
  },
55455
55448
  /**
55456
- * This lets you bulk delete templates that you previously created for your site. Since this is a beta feature, please contact support to enable usage.
55449
+ * This lets you bulk delete templates that you previously created for your site.
55457
55450
  * @summary Bulk delete notification templates
55458
55451
  * @param {Array<TemplateBulkDeleteDtoV2024>} templateBulkDeleteDtoV2024
55459
55452
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
@@ -55526,18 +55519,18 @@ var NotificationsV2024ApiFp = function (configuration) {
55526
55519
  /**
55527
55520
  * Retrieve MAIL FROM attributes for a given AWS SES identity.
55528
55521
  * @summary Get mail from attributes
55529
- * @param {string} id Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status
55522
+ * @param {string} identity Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status
55530
55523
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55531
55524
  * @param {*} [axiosOptions] Override http request option.
55532
55525
  * @throws {RequiredError}
55533
55526
  */
55534
- getMailFromAttributes: function (id, xSailPointExperimental, axiosOptions) {
55527
+ getMailFromAttributes: function (identity, xSailPointExperimental, axiosOptions) {
55535
55528
  var _a, _b, _c;
55536
55529
  return __awaiter(this, void 0, void 0, function () {
55537
55530
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
55538
55531
  return __generator(this, function (_d) {
55539
55532
  switch (_d.label) {
55540
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMailFromAttributes(id, xSailPointExperimental, axiosOptions)];
55533
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMailFromAttributes(identity, xSailPointExperimental, axiosOptions)];
55541
55534
  case 1:
55542
55535
  localVarAxiosArgs = _d.sent();
55543
55536
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -55787,7 +55780,7 @@ var NotificationsV2024ApiFactory = function (configuration, basePath, axios) {
55787
55780
  return localVarFp.createVerifiedFromAddress(requestParameters.emailStatusDtoV2024, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
55788
55781
  },
55789
55782
  /**
55790
- * This lets you bulk delete templates that you previously created for your site. Since this is a beta feature, please contact support to enable usage.
55783
+ * This lets you bulk delete templates that you previously created for your site.
55791
55784
  * @summary Bulk delete notification templates
55792
55785
  * @param {NotificationsV2024ApiDeleteNotificationTemplatesInBulkRequest} requestParameters Request parameters.
55793
55786
  * @param {*} [axiosOptions] Override http request option.
@@ -55825,7 +55818,7 @@ var NotificationsV2024ApiFactory = function (configuration, basePath, axios) {
55825
55818
  * @throws {RequiredError}
55826
55819
  */
55827
55820
  getMailFromAttributes: function (requestParameters, axiosOptions) {
55828
- return localVarFp.getMailFromAttributes(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
55821
+ return localVarFp.getMailFromAttributes(requestParameters.identity, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
55829
55822
  },
55830
55823
  /**
55831
55824
  * This gets a template that you have modified for your site by Id.
@@ -55963,7 +55956,7 @@ var NotificationsV2024Api = /** @class */ (function (_super) {
55963
55956
  return (0, exports.NotificationsV2024ApiFp)(this.configuration).createVerifiedFromAddress(requestParameters.emailStatusDtoV2024, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
55964
55957
  };
55965
55958
  /**
55966
- * This lets you bulk delete templates that you previously created for your site. Since this is a beta feature, please contact support to enable usage.
55959
+ * This lets you bulk delete templates that you previously created for your site.
55967
55960
  * @summary Bulk delete notification templates
55968
55961
  * @param {NotificationsV2024ApiDeleteNotificationTemplatesInBulkRequest} requestParameters Request parameters.
55969
55962
  * @param {*} [axiosOptions] Override http request option.
@@ -56009,7 +56002,7 @@ var NotificationsV2024Api = /** @class */ (function (_super) {
56009
56002
  */
56010
56003
  NotificationsV2024Api.prototype.getMailFromAttributes = function (requestParameters, axiosOptions) {
56011
56004
  var _this = this;
56012
- return (0, exports.NotificationsV2024ApiFp)(this.configuration).getMailFromAttributes(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
56005
+ return (0, exports.NotificationsV2024ApiFp)(this.configuration).getMailFromAttributes(requestParameters.identity, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
56013
56006
  };
56014
56007
  /**
56015
56008
  * This gets a template that you have modified for your site by Id.