@sailpoint/api-client 2.2.50 → 2.2.52

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.
Files changed (216) hide show
  1. package/dist/access_profiles/api.d.ts +1110 -3
  2. package/dist/access_profiles/api.js +964 -6
  3. package/dist/access_profiles/api.js.map +1 -1
  4. package/dist/approvals/api.d.ts +121 -46
  5. package/dist/approvals/api.js +37 -24
  6. package/dist/approvals/api.js.map +1 -1
  7. package/dist/capabilities/api.d.ts +2 -2
  8. package/dist/capabilities/api.js +2 -2
  9. package/dist/capabilities/api.js.map +1 -1
  10. package/dist/capabilities/base.d.ts +2 -2
  11. package/dist/capabilities/base.js +2 -2
  12. package/dist/capabilities/base.js.map +1 -1
  13. package/dist/capabilities/common.d.ts +2 -2
  14. package/dist/capabilities/common.js +2 -2
  15. package/dist/capabilities/common.js.map +1 -1
  16. package/dist/capabilities/configuration.d.ts +2 -2
  17. package/dist/capabilities/configuration.js +2 -2
  18. package/dist/capabilities/configuration.js.map +1 -1
  19. package/dist/capabilities/index.d.ts +2 -2
  20. package/dist/capabilities/index.js +2 -2
  21. package/dist/capabilities/index.js.map +1 -1
  22. package/dist/credentials/api.d.ts +2 -2
  23. package/dist/credentials/api.js +2 -2
  24. package/dist/credentials/api.js.map +1 -1
  25. package/dist/credentials/base.d.ts +2 -2
  26. package/dist/credentials/base.js +2 -2
  27. package/dist/credentials/base.js.map +1 -1
  28. package/dist/credentials/common.d.ts +2 -2
  29. package/dist/credentials/common.js +2 -2
  30. package/dist/credentials/common.js.map +1 -1
  31. package/dist/credentials/configuration.d.ts +2 -2
  32. package/dist/credentials/configuration.js +2 -2
  33. package/dist/credentials/configuration.js.map +1 -1
  34. package/dist/credentials/index.d.ts +2 -2
  35. package/dist/credentials/index.js +2 -2
  36. package/dist/credentials/index.js.map +1 -1
  37. package/dist/data_access_security/api.d.ts +10 -10
  38. package/dist/data_access_security/api.js +8 -8
  39. package/dist/data_access_security/api.js.map +1 -1
  40. package/dist/devices/api.d.ts +2 -2
  41. package/dist/devices/api.js +2 -2
  42. package/dist/devices/api.js.map +1 -1
  43. package/dist/devices/base.d.ts +2 -2
  44. package/dist/devices/base.js +2 -2
  45. package/dist/devices/base.js.map +1 -1
  46. package/dist/devices/common.d.ts +2 -2
  47. package/dist/devices/common.js +2 -2
  48. package/dist/devices/common.js.map +1 -1
  49. package/dist/devices/configuration.d.ts +2 -2
  50. package/dist/devices/configuration.js +2 -2
  51. package/dist/devices/configuration.js.map +1 -1
  52. package/dist/devices/index.d.ts +2 -2
  53. package/dist/devices/index.js +2 -2
  54. package/dist/devices/index.js.map +1 -1
  55. package/dist/esm/access_profiles/api.js +963 -5
  56. package/dist/esm/approvals/api.js +36 -23
  57. package/dist/esm/capabilities/api.js +2 -2
  58. package/dist/esm/capabilities/base.js +2 -2
  59. package/dist/esm/capabilities/common.js +2 -2
  60. package/dist/esm/capabilities/configuration.js +2 -2
  61. package/dist/esm/capabilities/index.js +2 -2
  62. package/dist/esm/credentials/api.js +2 -2
  63. package/dist/esm/credentials/base.js +2 -2
  64. package/dist/esm/credentials/common.js +2 -2
  65. package/dist/esm/credentials/configuration.js +2 -2
  66. package/dist/esm/credentials/index.js +2 -2
  67. package/dist/esm/data_access_security/api.js +8 -8
  68. package/dist/esm/devices/api.js +2 -2
  69. package/dist/esm/devices/base.js +2 -2
  70. package/dist/esm/devices/common.js +2 -2
  71. package/dist/esm/devices/configuration.js +2 -2
  72. package/dist/esm/devices/index.js +2 -2
  73. package/dist/esm/generic_request_approval_config/api.js +2 -2
  74. package/dist/esm/generic_request_approval_config/base.js +2 -2
  75. package/dist/esm/generic_request_approval_config/common.js +2 -2
  76. package/dist/esm/generic_request_approval_config/configuration.js +2 -2
  77. package/dist/esm/generic_request_approval_config/index.js +2 -2
  78. package/dist/esm/index.js +6 -0
  79. package/dist/esm/machine_account_recommendation/api.js +2 -2
  80. package/dist/esm/machine_account_recommendation/base.js +2 -2
  81. package/dist/esm/machine_account_recommendation/common.js +2 -2
  82. package/dist/esm/machine_account_recommendation/configuration.js +2 -2
  83. package/dist/esm/machine_account_recommendation/index.js +2 -2
  84. package/dist/esm/machine_identities_lifecycle_actions/api.js +35 -32
  85. package/dist/esm/machine_identity_metadata/api.js +2 -2
  86. package/dist/esm/machine_identity_metadata/base.js +2 -2
  87. package/dist/esm/machine_identity_metadata/common.js +2 -2
  88. package/dist/esm/machine_identity_metadata/configuration.js +2 -2
  89. package/dist/esm/machine_identity_metadata/index.js +2 -2
  90. package/dist/esm/machine_mapping_metadata/api.js +2 -2
  91. package/dist/esm/machine_mapping_metadata/base.js +2 -2
  92. package/dist/esm/machine_mapping_metadata/common.js +2 -2
  93. package/dist/esm/machine_mapping_metadata/configuration.js +2 -2
  94. package/dist/esm/machine_mapping_metadata/index.js +2 -2
  95. package/dist/esm/nerm/common.js +2 -2
  96. package/dist/esm/nermv2025/common.js +2 -2
  97. package/dist/esm/reminder_escalations/api.js +522 -0
  98. package/dist/esm/reminder_escalations/base.js +83 -0
  99. package/dist/esm/reminder_escalations/common.js +287 -0
  100. package/dist/esm/reminder_escalations/configuration.js +42 -0
  101. package/dist/esm/reminder_escalations/index.js +15 -0
  102. package/dist/esm/roles/api.js +529 -2
  103. package/dist/esm/sources/api.js +2 -1
  104. package/dist/esm/ui_plugins/api.js +1657 -0
  105. package/dist/esm/ui_plugins/base.js +83 -0
  106. package/dist/esm/ui_plugins/common.js +287 -0
  107. package/dist/esm/ui_plugins/configuration.js +42 -0
  108. package/dist/esm/ui_plugins/index.js +15 -0
  109. package/dist/generic_request_approval_config/api.d.ts +2 -2
  110. package/dist/generic_request_approval_config/api.js +2 -2
  111. package/dist/generic_request_approval_config/api.js.map +1 -1
  112. package/dist/generic_request_approval_config/base.d.ts +2 -2
  113. package/dist/generic_request_approval_config/base.js +2 -2
  114. package/dist/generic_request_approval_config/base.js.map +1 -1
  115. package/dist/generic_request_approval_config/common.d.ts +2 -2
  116. package/dist/generic_request_approval_config/common.js +2 -2
  117. package/dist/generic_request_approval_config/common.js.map +1 -1
  118. package/dist/generic_request_approval_config/configuration.d.ts +2 -2
  119. package/dist/generic_request_approval_config/configuration.js +2 -2
  120. package/dist/generic_request_approval_config/configuration.js.map +1 -1
  121. package/dist/generic_request_approval_config/index.d.ts +2 -2
  122. package/dist/generic_request_approval_config/index.js +2 -2
  123. package/dist/generic_request_approval_config/index.js.map +1 -1
  124. package/dist/index.d.ts +6 -0
  125. package/dist/index.js +103 -97
  126. package/dist/index.js.map +1 -1
  127. package/dist/machine_account_recommendation/api.d.ts +2 -2
  128. package/dist/machine_account_recommendation/api.js +2 -2
  129. package/dist/machine_account_recommendation/api.js.map +1 -1
  130. package/dist/machine_account_recommendation/base.d.ts +2 -2
  131. package/dist/machine_account_recommendation/base.js +2 -2
  132. package/dist/machine_account_recommendation/base.js.map +1 -1
  133. package/dist/machine_account_recommendation/common.d.ts +2 -2
  134. package/dist/machine_account_recommendation/common.js +2 -2
  135. package/dist/machine_account_recommendation/common.js.map +1 -1
  136. package/dist/machine_account_recommendation/configuration.d.ts +2 -2
  137. package/dist/machine_account_recommendation/configuration.js +2 -2
  138. package/dist/machine_account_recommendation/configuration.js.map +1 -1
  139. package/dist/machine_account_recommendation/index.d.ts +2 -2
  140. package/dist/machine_account_recommendation/index.js +2 -2
  141. package/dist/machine_account_recommendation/index.js.map +1 -1
  142. package/dist/machine_identities_lifecycle_actions/api.d.ts +67 -63
  143. package/dist/machine_identities_lifecycle_actions/api.js +36 -33
  144. package/dist/machine_identities_lifecycle_actions/api.js.map +1 -1
  145. package/dist/machine_identity_metadata/api.d.ts +2 -2
  146. package/dist/machine_identity_metadata/api.js +2 -2
  147. package/dist/machine_identity_metadata/api.js.map +1 -1
  148. package/dist/machine_identity_metadata/base.d.ts +2 -2
  149. package/dist/machine_identity_metadata/base.js +2 -2
  150. package/dist/machine_identity_metadata/base.js.map +1 -1
  151. package/dist/machine_identity_metadata/common.d.ts +2 -2
  152. package/dist/machine_identity_metadata/common.js +2 -2
  153. package/dist/machine_identity_metadata/common.js.map +1 -1
  154. package/dist/machine_identity_metadata/configuration.d.ts +2 -2
  155. package/dist/machine_identity_metadata/configuration.js +2 -2
  156. package/dist/machine_identity_metadata/configuration.js.map +1 -1
  157. package/dist/machine_identity_metadata/index.d.ts +2 -2
  158. package/dist/machine_identity_metadata/index.js +2 -2
  159. package/dist/machine_identity_metadata/index.js.map +1 -1
  160. package/dist/machine_mapping_metadata/api.d.ts +2 -2
  161. package/dist/machine_mapping_metadata/api.js +2 -2
  162. package/dist/machine_mapping_metadata/api.js.map +1 -1
  163. package/dist/machine_mapping_metadata/base.d.ts +2 -2
  164. package/dist/machine_mapping_metadata/base.js +2 -2
  165. package/dist/machine_mapping_metadata/base.js.map +1 -1
  166. package/dist/machine_mapping_metadata/common.d.ts +2 -2
  167. package/dist/machine_mapping_metadata/common.js +2 -2
  168. package/dist/machine_mapping_metadata/common.js.map +1 -1
  169. package/dist/machine_mapping_metadata/configuration.d.ts +2 -2
  170. package/dist/machine_mapping_metadata/configuration.js +2 -2
  171. package/dist/machine_mapping_metadata/configuration.js.map +1 -1
  172. package/dist/machine_mapping_metadata/index.d.ts +2 -2
  173. package/dist/machine_mapping_metadata/index.js +2 -2
  174. package/dist/machine_mapping_metadata/index.js.map +1 -1
  175. package/dist/nerm/common.js +2 -2
  176. package/dist/nerm/common.js.map +1 -1
  177. package/dist/nermv2025/common.js +2 -2
  178. package/dist/nermv2025/common.js.map +1 -1
  179. package/dist/reminder_escalations/api.d.ts +665 -0
  180. package/dist/reminder_escalations/api.js +532 -0
  181. package/dist/reminder_escalations/api.js.map +1 -0
  182. package/dist/reminder_escalations/base.d.ts +66 -0
  183. package/dist/reminder_escalations/base.js +90 -0
  184. package/dist/reminder_escalations/base.js.map +1 -0
  185. package/dist/reminder_escalations/common.d.ts +65 -0
  186. package/dist/reminder_escalations/common.js +300 -0
  187. package/dist/reminder_escalations/common.js.map +1 -0
  188. package/dist/reminder_escalations/configuration.d.ts +91 -0
  189. package/dist/reminder_escalations/configuration.js +46 -0
  190. package/dist/reminder_escalations/configuration.js.map +1 -0
  191. package/dist/reminder_escalations/index.d.ts +13 -0
  192. package/dist/reminder_escalations/index.js +32 -0
  193. package/dist/reminder_escalations/index.js.map +1 -0
  194. package/dist/roles/api.d.ts +972 -88
  195. package/dist/roles/api.js +530 -3
  196. package/dist/roles/api.js.map +1 -1
  197. package/dist/sources/api.d.ts +2 -1
  198. package/dist/sources/api.js +2 -1
  199. package/dist/sources/api.js.map +1 -1
  200. package/dist/ui_plugins/api.d.ts +1514 -0
  201. package/dist/ui_plugins/api.js +1667 -0
  202. package/dist/ui_plugins/api.js.map +1 -0
  203. package/dist/ui_plugins/base.d.ts +66 -0
  204. package/dist/ui_plugins/base.js +90 -0
  205. package/dist/ui_plugins/base.js.map +1 -0
  206. package/dist/ui_plugins/common.d.ts +65 -0
  207. package/dist/ui_plugins/common.js +300 -0
  208. package/dist/ui_plugins/common.js.map +1 -0
  209. package/dist/ui_plugins/configuration.d.ts +91 -0
  210. package/dist/ui_plugins/configuration.js +46 -0
  211. package/dist/ui_plugins/configuration.js.map +1 -0
  212. package/dist/ui_plugins/index.d.ts +13 -0
  213. package/dist/ui_plugins/index.js +32 -0
  214. package/dist/ui_plugins/index.js.map +1 -0
  215. package/package.json +1 -1
  216. package/sailpoint-scopes.json +487 -18
@@ -0,0 +1,522 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * SailPoint Identity Security API - Reminder Escalations
5
+ * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __extends = (this && this.__extends) || (function () {
15
+ var extendStatics = function (d, b) {
16
+ extendStatics = Object.setPrototypeOf ||
17
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
18
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
19
+ return extendStatics(d, b);
20
+ };
21
+ return function (d, b) {
22
+ if (typeof b !== "function" && b !== null)
23
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
24
+ extendStatics(d, b);
25
+ function __() { this.constructor = d; }
26
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
27
+ };
28
+ })();
29
+ var __assign = (this && this.__assign) || function () {
30
+ __assign = Object.assign || function(t) {
31
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
32
+ s = arguments[i];
33
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
34
+ t[p] = s[p];
35
+ }
36
+ return t;
37
+ };
38
+ return __assign.apply(this, arguments);
39
+ };
40
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
41
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
42
+ return new (P || (P = Promise))(function (resolve, reject) {
43
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
44
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
45
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
46
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
47
+ });
48
+ };
49
+ var __generator = (this && this.__generator) || function (thisArg, body) {
50
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
51
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
52
+ function verb(n) { return function (v) { return step([n, v]); }; }
53
+ function step(op) {
54
+ if (f) throw new TypeError("Generator is already executing.");
55
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
56
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
57
+ if (y = 0, t) op = [op[0] & 2, t.value];
58
+ switch (op[0]) {
59
+ case 0: case 1: t = op; break;
60
+ case 4: _.label++; return { value: op[1], done: false };
61
+ case 5: _.label++; y = op[1]; op = [0]; continue;
62
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
63
+ default:
64
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
65
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
66
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
67
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
68
+ if (t[2]) _.ops.pop();
69
+ _.trys.pop(); continue;
70
+ }
71
+ op = body.call(thisArg, _);
72
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
73
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
74
+ }
75
+ };
76
+ import globalAxios from 'axios';
77
+ // Some imports not used depending on template conditions
78
+ // @ts-ignore
79
+ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
80
+ // @ts-ignore
81
+ import { BASE_PATH, BaseAPI, operationServerMap } from './base';
82
+ /**
83
+ * An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.
84
+ * @export
85
+ * @enum {string}
86
+ */
87
+ export var LocaleOrigin = {
88
+ Default: 'DEFAULT',
89
+ Request: 'REQUEST'
90
+ };
91
+ export var ReminderescalationtargetTargetTypeEnum = {
92
+ ManagerOf: 'MANAGER_OF',
93
+ Identity: 'IDENTITY',
94
+ GovernanceGroup: 'GOVERNANCE_GROUP',
95
+ EntitlementOwner: 'ENTITLEMENT_OWNER',
96
+ SourceOwner: 'SOURCE_OWNER'
97
+ };
98
+ export var ReminderescalationtenantconfigDomainObjectTypeEnum = {
99
+ PersonalAccessToken: 'PERSONAL_ACCESS_TOKEN',
100
+ Certification: 'CERTIFICATION'
101
+ };
102
+ export var ReminderescalationtenantconfigcreateDomainObjectTypeEnum = {
103
+ PersonalAccessToken: 'PERSONAL_ACCESS_TOKEN',
104
+ Certification: 'CERTIFICATION'
105
+ };
106
+ export var ReminderescalationtriggerTriggerTypeEnum = {
107
+ OnCron: 'ON_CRON',
108
+ AfterReminderCount: 'AFTER_REMINDER_COUNT'
109
+ };
110
+ /**
111
+ * ReminderEscalationsApi - axios parameter creator
112
+ * @export
113
+ */
114
+ export var ReminderEscalationsApiAxiosParamCreator = function (configuration) {
115
+ var _this = this;
116
+ return {
117
+ /**
118
+ * Creates the default reminder and escalation ruleset for a domain object type in the authenticated tenant. A tenant has one default per domain object type. Creating the same type again returns 409.
119
+ * @summary Create Reminder Escalation Tenant Config
120
+ * @param {Reminderescalationtenantconfigcreate} reminderescalationtenantconfigcreate
121
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
122
+ * @param {*} [axiosOptions] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ createReminderEscalationTenantConfigV1: function (reminderescalationtenantconfigcreate, xSailPointExperimental, axiosOptions) {
126
+ if (axiosOptions === void 0) { axiosOptions = {}; }
127
+ return __awaiter(_this, void 0, void 0, function () {
128
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
129
+ return __generator(this, function (_a) {
130
+ // verify required parameter 'reminderescalationtenantconfigcreate' is not null or undefined
131
+ assertParamExists('createReminderEscalationTenantConfigV1', 'reminderescalationtenantconfigcreate', reminderescalationtenantconfigcreate);
132
+ if (xSailPointExperimental === undefined) {
133
+ xSailPointExperimental = 'true';
134
+ }
135
+ localVarPath = "/reminder-escalations/v1/config/tenants";
136
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
137
+ if (configuration) {
138
+ baseOptions = configuration.baseOptions;
139
+ }
140
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
141
+ localVarHeaderParameter = {};
142
+ localVarQueryParameter = {};
143
+ localVarHeaderParameter['Content-Type'] = 'application/json';
144
+ if (xSailPointExperimental != null) {
145
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
146
+ }
147
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
148
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
149
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
150
+ localVarRequestOptions.data = serializeDataIfNeeded(reminderescalationtenantconfigcreate, localVarRequestOptions, configuration);
151
+ return [2 /*return*/, {
152
+ url: toPathString(localVarUrlObj),
153
+ axiosOptions: localVarRequestOptions,
154
+ }];
155
+ });
156
+ });
157
+ },
158
+ /**
159
+ * Deletes the tenant-default ruleset for a domain object type in the authenticated tenant.
160
+ * @summary Delete Reminder Escalation Tenant Config
161
+ * @param {DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.
162
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
163
+ * @param {*} [axiosOptions] Override http request option.
164
+ * @throws {RequiredError}
165
+ */
166
+ deleteReminderEscalationTenantConfigV1: function (domainObjectType, xSailPointExperimental, axiosOptions) {
167
+ if (axiosOptions === void 0) { axiosOptions = {}; }
168
+ return __awaiter(_this, void 0, void 0, function () {
169
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
170
+ return __generator(this, function (_a) {
171
+ // verify required parameter 'domainObjectType' is not null or undefined
172
+ assertParamExists('deleteReminderEscalationTenantConfigV1', 'domainObjectType', domainObjectType);
173
+ if (xSailPointExperimental === undefined) {
174
+ xSailPointExperimental = 'true';
175
+ }
176
+ localVarPath = "/reminder-escalations/v1/config/tenants/{domainObjectType}"
177
+ .replace("{".concat("domainObjectType", "}"), encodeURIComponent(String(domainObjectType)));
178
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
179
+ if (configuration) {
180
+ baseOptions = configuration.baseOptions;
181
+ }
182
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
183
+ localVarHeaderParameter = {};
184
+ localVarQueryParameter = {};
185
+ if (xSailPointExperimental != null) {
186
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
187
+ }
188
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
189
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
190
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
191
+ return [2 /*return*/, {
192
+ url: toPathString(localVarUrlObj),
193
+ axiosOptions: localVarRequestOptions,
194
+ }];
195
+ });
196
+ });
197
+ },
198
+ /**
199
+ * Returns the tenant-default reminder and escalation ruleset for a domain object type in the authenticated tenant.
200
+ * @summary Get Reminder Escalation Tenant Config
201
+ * @param {GetReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.
202
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
203
+ * @param {*} [axiosOptions] Override http request option.
204
+ * @throws {RequiredError}
205
+ */
206
+ getReminderEscalationTenantConfigV1: function (domainObjectType, xSailPointExperimental, axiosOptions) {
207
+ if (axiosOptions === void 0) { axiosOptions = {}; }
208
+ return __awaiter(_this, void 0, void 0, function () {
209
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
210
+ return __generator(this, function (_a) {
211
+ // verify required parameter 'domainObjectType' is not null or undefined
212
+ assertParamExists('getReminderEscalationTenantConfigV1', 'domainObjectType', domainObjectType);
213
+ if (xSailPointExperimental === undefined) {
214
+ xSailPointExperimental = 'true';
215
+ }
216
+ localVarPath = "/reminder-escalations/v1/config/tenants/{domainObjectType}"
217
+ .replace("{".concat("domainObjectType", "}"), encodeURIComponent(String(domainObjectType)));
218
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
219
+ if (configuration) {
220
+ baseOptions = configuration.baseOptions;
221
+ }
222
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
223
+ localVarHeaderParameter = {};
224
+ localVarQueryParameter = {};
225
+ if (xSailPointExperimental != null) {
226
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
227
+ }
228
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
229
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
230
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
231
+ return [2 /*return*/, {
232
+ url: toPathString(localVarUrlObj),
233
+ axiosOptions: localVarRequestOptions,
234
+ }];
235
+ });
236
+ });
237
+ },
238
+ /**
239
+ * Replaces the tenant-default ruleset for a domain object type. Send the `revision` from the latest read. A stale revision returns 409.
240
+ * @summary Update Reminder Escalation Tenant Config
241
+ * @param {PutReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.
242
+ * @param {Reminderescalationtenantconfigupdate} reminderescalationtenantconfigupdate
243
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
244
+ * @param {*} [axiosOptions] Override http request option.
245
+ * @throws {RequiredError}
246
+ */
247
+ putReminderEscalationTenantConfigV1: function (domainObjectType, reminderescalationtenantconfigupdate, xSailPointExperimental, axiosOptions) {
248
+ if (axiosOptions === void 0) { axiosOptions = {}; }
249
+ return __awaiter(_this, void 0, void 0, function () {
250
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
251
+ return __generator(this, function (_a) {
252
+ // verify required parameter 'domainObjectType' is not null or undefined
253
+ assertParamExists('putReminderEscalationTenantConfigV1', 'domainObjectType', domainObjectType);
254
+ // verify required parameter 'reminderescalationtenantconfigupdate' is not null or undefined
255
+ assertParamExists('putReminderEscalationTenantConfigV1', 'reminderescalationtenantconfigupdate', reminderescalationtenantconfigupdate);
256
+ if (xSailPointExperimental === undefined) {
257
+ xSailPointExperimental = 'true';
258
+ }
259
+ localVarPath = "/reminder-escalations/v1/config/tenants/{domainObjectType}"
260
+ .replace("{".concat("domainObjectType", "}"), encodeURIComponent(String(domainObjectType)));
261
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
262
+ if (configuration) {
263
+ baseOptions = configuration.baseOptions;
264
+ }
265
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), axiosOptions);
266
+ localVarHeaderParameter = {};
267
+ localVarQueryParameter = {};
268
+ localVarHeaderParameter['Content-Type'] = 'application/json';
269
+ if (xSailPointExperimental != null) {
270
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
271
+ }
272
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
273
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
274
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
275
+ localVarRequestOptions.data = serializeDataIfNeeded(reminderescalationtenantconfigupdate, localVarRequestOptions, configuration);
276
+ return [2 /*return*/, {
277
+ url: toPathString(localVarUrlObj),
278
+ axiosOptions: localVarRequestOptions,
279
+ }];
280
+ });
281
+ });
282
+ },
283
+ };
284
+ };
285
+ /**
286
+ * ReminderEscalationsApi - functional programming interface
287
+ * @export
288
+ */
289
+ export var ReminderEscalationsApiFp = function (configuration) {
290
+ var localVarAxiosParamCreator = ReminderEscalationsApiAxiosParamCreator(configuration);
291
+ return {
292
+ /**
293
+ * Creates the default reminder and escalation ruleset for a domain object type in the authenticated tenant. A tenant has one default per domain object type. Creating the same type again returns 409.
294
+ * @summary Create Reminder Escalation Tenant Config
295
+ * @param {Reminderescalationtenantconfigcreate} reminderescalationtenantconfigcreate
296
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
297
+ * @param {*} [axiosOptions] Override http request option.
298
+ * @throws {RequiredError}
299
+ */
300
+ createReminderEscalationTenantConfigV1: function (reminderescalationtenantconfigcreate, xSailPointExperimental, axiosOptions) {
301
+ var _a, _b, _c;
302
+ return __awaiter(this, void 0, void 0, function () {
303
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
304
+ return __generator(this, function (_d) {
305
+ switch (_d.label) {
306
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createReminderEscalationTenantConfigV1(reminderescalationtenantconfigcreate, xSailPointExperimental, axiosOptions)];
307
+ case 1:
308
+ localVarAxiosArgs = _d.sent();
309
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
310
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReminderEscalationsApi.createReminderEscalationTenantConfigV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
311
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
312
+ }
313
+ });
314
+ });
315
+ },
316
+ /**
317
+ * Deletes the tenant-default ruleset for a domain object type in the authenticated tenant.
318
+ * @summary Delete Reminder Escalation Tenant Config
319
+ * @param {DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.
320
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
321
+ * @param {*} [axiosOptions] Override http request option.
322
+ * @throws {RequiredError}
323
+ */
324
+ deleteReminderEscalationTenantConfigV1: function (domainObjectType, xSailPointExperimental, axiosOptions) {
325
+ var _a, _b, _c;
326
+ return __awaiter(this, void 0, void 0, function () {
327
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
328
+ return __generator(this, function (_d) {
329
+ switch (_d.label) {
330
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteReminderEscalationTenantConfigV1(domainObjectType, xSailPointExperimental, axiosOptions)];
331
+ case 1:
332
+ localVarAxiosArgs = _d.sent();
333
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
334
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReminderEscalationsApi.deleteReminderEscalationTenantConfigV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
335
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
336
+ }
337
+ });
338
+ });
339
+ },
340
+ /**
341
+ * Returns the tenant-default reminder and escalation ruleset for a domain object type in the authenticated tenant.
342
+ * @summary Get Reminder Escalation Tenant Config
343
+ * @param {GetReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.
344
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
345
+ * @param {*} [axiosOptions] Override http request option.
346
+ * @throws {RequiredError}
347
+ */
348
+ getReminderEscalationTenantConfigV1: function (domainObjectType, xSailPointExperimental, axiosOptions) {
349
+ var _a, _b, _c;
350
+ return __awaiter(this, void 0, void 0, function () {
351
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
352
+ return __generator(this, function (_d) {
353
+ switch (_d.label) {
354
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReminderEscalationTenantConfigV1(domainObjectType, xSailPointExperimental, axiosOptions)];
355
+ case 1:
356
+ localVarAxiosArgs = _d.sent();
357
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
358
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReminderEscalationsApi.getReminderEscalationTenantConfigV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
359
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
360
+ }
361
+ });
362
+ });
363
+ },
364
+ /**
365
+ * Replaces the tenant-default ruleset for a domain object type. Send the `revision` from the latest read. A stale revision returns 409.
366
+ * @summary Update Reminder Escalation Tenant Config
367
+ * @param {PutReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.
368
+ * @param {Reminderescalationtenantconfigupdate} reminderescalationtenantconfigupdate
369
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
370
+ * @param {*} [axiosOptions] Override http request option.
371
+ * @throws {RequiredError}
372
+ */
373
+ putReminderEscalationTenantConfigV1: function (domainObjectType, reminderescalationtenantconfigupdate, xSailPointExperimental, axiosOptions) {
374
+ var _a, _b, _c;
375
+ return __awaiter(this, void 0, void 0, function () {
376
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
377
+ return __generator(this, function (_d) {
378
+ switch (_d.label) {
379
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.putReminderEscalationTenantConfigV1(domainObjectType, reminderescalationtenantconfigupdate, xSailPointExperimental, axiosOptions)];
380
+ case 1:
381
+ localVarAxiosArgs = _d.sent();
382
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
383
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReminderEscalationsApi.putReminderEscalationTenantConfigV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
384
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
385
+ }
386
+ });
387
+ });
388
+ },
389
+ };
390
+ };
391
+ /**
392
+ * ReminderEscalationsApi - factory interface
393
+ * @export
394
+ */
395
+ export var ReminderEscalationsApiFactory = function (configuration, basePath, axios) {
396
+ var localVarFp = ReminderEscalationsApiFp(configuration);
397
+ return {
398
+ /**
399
+ * Creates the default reminder and escalation ruleset for a domain object type in the authenticated tenant. A tenant has one default per domain object type. Creating the same type again returns 409.
400
+ * @summary Create Reminder Escalation Tenant Config
401
+ * @param {ReminderEscalationsApiCreateReminderEscalationTenantConfigV1Request} requestParameters Request parameters.
402
+ * @param {*} [axiosOptions] Override http request option.
403
+ * @throws {RequiredError}
404
+ */
405
+ createReminderEscalationTenantConfigV1: function (requestParameters, axiosOptions) {
406
+ return localVarFp.createReminderEscalationTenantConfigV1(requestParameters.reminderescalationtenantconfigcreate, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
407
+ },
408
+ /**
409
+ * Deletes the tenant-default ruleset for a domain object type in the authenticated tenant.
410
+ * @summary Delete Reminder Escalation Tenant Config
411
+ * @param {ReminderEscalationsApiDeleteReminderEscalationTenantConfigV1Request} requestParameters Request parameters.
412
+ * @param {*} [axiosOptions] Override http request option.
413
+ * @throws {RequiredError}
414
+ */
415
+ deleteReminderEscalationTenantConfigV1: function (requestParameters, axiosOptions) {
416
+ return localVarFp.deleteReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
417
+ },
418
+ /**
419
+ * Returns the tenant-default reminder and escalation ruleset for a domain object type in the authenticated tenant.
420
+ * @summary Get Reminder Escalation Tenant Config
421
+ * @param {ReminderEscalationsApiGetReminderEscalationTenantConfigV1Request} requestParameters Request parameters.
422
+ * @param {*} [axiosOptions] Override http request option.
423
+ * @throws {RequiredError}
424
+ */
425
+ getReminderEscalationTenantConfigV1: function (requestParameters, axiosOptions) {
426
+ return localVarFp.getReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
427
+ },
428
+ /**
429
+ * Replaces the tenant-default ruleset for a domain object type. Send the `revision` from the latest read. A stale revision returns 409.
430
+ * @summary Update Reminder Escalation Tenant Config
431
+ * @param {ReminderEscalationsApiPutReminderEscalationTenantConfigV1Request} requestParameters Request parameters.
432
+ * @param {*} [axiosOptions] Override http request option.
433
+ * @throws {RequiredError}
434
+ */
435
+ putReminderEscalationTenantConfigV1: function (requestParameters, axiosOptions) {
436
+ return localVarFp.putReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.reminderescalationtenantconfigupdate, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
437
+ },
438
+ };
439
+ };
440
+ /**
441
+ * ReminderEscalationsApi - object-oriented interface
442
+ * @export
443
+ * @class ReminderEscalationsApi
444
+ * @extends {BaseAPI}
445
+ */
446
+ var ReminderEscalationsApi = /** @class */ (function (_super) {
447
+ __extends(ReminderEscalationsApi, _super);
448
+ function ReminderEscalationsApi() {
449
+ return _super !== null && _super.apply(this, arguments) || this;
450
+ }
451
+ /**
452
+ * Creates the default reminder and escalation ruleset for a domain object type in the authenticated tenant. A tenant has one default per domain object type. Creating the same type again returns 409.
453
+ * @summary Create Reminder Escalation Tenant Config
454
+ * @param {ReminderEscalationsApiCreateReminderEscalationTenantConfigV1Request} requestParameters Request parameters.
455
+ * @param {*} [axiosOptions] Override http request option.
456
+ * @throws {RequiredError}
457
+ * @memberof ReminderEscalationsApi
458
+ */
459
+ ReminderEscalationsApi.prototype.createReminderEscalationTenantConfigV1 = function (requestParameters, axiosOptions) {
460
+ var _this = this;
461
+ return ReminderEscalationsApiFp(this.configuration).createReminderEscalationTenantConfigV1(requestParameters.reminderescalationtenantconfigcreate, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
462
+ };
463
+ /**
464
+ * Deletes the tenant-default ruleset for a domain object type in the authenticated tenant.
465
+ * @summary Delete Reminder Escalation Tenant Config
466
+ * @param {ReminderEscalationsApiDeleteReminderEscalationTenantConfigV1Request} requestParameters Request parameters.
467
+ * @param {*} [axiosOptions] Override http request option.
468
+ * @throws {RequiredError}
469
+ * @memberof ReminderEscalationsApi
470
+ */
471
+ ReminderEscalationsApi.prototype.deleteReminderEscalationTenantConfigV1 = function (requestParameters, axiosOptions) {
472
+ var _this = this;
473
+ return ReminderEscalationsApiFp(this.configuration).deleteReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
474
+ };
475
+ /**
476
+ * Returns the tenant-default reminder and escalation ruleset for a domain object type in the authenticated tenant.
477
+ * @summary Get Reminder Escalation Tenant Config
478
+ * @param {ReminderEscalationsApiGetReminderEscalationTenantConfigV1Request} requestParameters Request parameters.
479
+ * @param {*} [axiosOptions] Override http request option.
480
+ * @throws {RequiredError}
481
+ * @memberof ReminderEscalationsApi
482
+ */
483
+ ReminderEscalationsApi.prototype.getReminderEscalationTenantConfigV1 = function (requestParameters, axiosOptions) {
484
+ var _this = this;
485
+ return ReminderEscalationsApiFp(this.configuration).getReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
486
+ };
487
+ /**
488
+ * Replaces the tenant-default ruleset for a domain object type. Send the `revision` from the latest read. A stale revision returns 409.
489
+ * @summary Update Reminder Escalation Tenant Config
490
+ * @param {ReminderEscalationsApiPutReminderEscalationTenantConfigV1Request} requestParameters Request parameters.
491
+ * @param {*} [axiosOptions] Override http request option.
492
+ * @throws {RequiredError}
493
+ * @memberof ReminderEscalationsApi
494
+ */
495
+ ReminderEscalationsApi.prototype.putReminderEscalationTenantConfigV1 = function (requestParameters, axiosOptions) {
496
+ var _this = this;
497
+ return ReminderEscalationsApiFp(this.configuration).putReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.reminderescalationtenantconfigupdate, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
498
+ };
499
+ return ReminderEscalationsApi;
500
+ }(BaseAPI));
501
+ export { ReminderEscalationsApi };
502
+ /**
503
+ * @export
504
+ */
505
+ export var DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum = {
506
+ PersonalAccessToken: 'PERSONAL_ACCESS_TOKEN',
507
+ Certification: 'CERTIFICATION'
508
+ };
509
+ /**
510
+ * @export
511
+ */
512
+ export var GetReminderEscalationTenantConfigV1DomainObjectTypeEnum = {
513
+ PersonalAccessToken: 'PERSONAL_ACCESS_TOKEN',
514
+ Certification: 'CERTIFICATION'
515
+ };
516
+ /**
517
+ * @export
518
+ */
519
+ export var PutReminderEscalationTenantConfigV1DomainObjectTypeEnum = {
520
+ PersonalAccessToken: 'PERSONAL_ACCESS_TOKEN',
521
+ Certification: 'CERTIFICATION'
522
+ };
@@ -0,0 +1,83 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * SailPoint Identity Security API - Reminder Escalations
5
+ * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __extends = (this && this.__extends) || (function () {
15
+ var extendStatics = function (d, b) {
16
+ extendStatics = Object.setPrototypeOf ||
17
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
18
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
19
+ return extendStatics(d, b);
20
+ };
21
+ return function (d, b) {
22
+ if (typeof b !== "function" && b !== null)
23
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
24
+ extendStatics(d, b);
25
+ function __() { this.constructor = d; }
26
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
27
+ };
28
+ })();
29
+ import globalAxios from 'axios';
30
+ export var BASE_PATH = "https://sailpoint.api.identitynow.com".replace(/\/+$/, "");
31
+ /**
32
+ *
33
+ * @export
34
+ */
35
+ export var COLLECTION_FORMATS = {
36
+ csv: ",",
37
+ ssv: " ",
38
+ tsv: "\t",
39
+ pipes: "|",
40
+ };
41
+ /**
42
+ *
43
+ * @export
44
+ * @class BaseAPI
45
+ */
46
+ var BaseAPI = /** @class */ (function () {
47
+ function BaseAPI(configuration, basePath, axios) {
48
+ if (basePath === void 0) { basePath = BASE_PATH; }
49
+ if (axios === void 0) { axios = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.axiosInstance) !== null && _a !== void 0 ? _a : globalAxios; }
50
+ var _a;
51
+ this.basePath = basePath;
52
+ this.axios = axios;
53
+ if (configuration) {
54
+ this.configuration = configuration;
55
+ this.basePath = configuration.basePath || this.basePath;
56
+ }
57
+ }
58
+ return BaseAPI;
59
+ }());
60
+ export { BaseAPI };
61
+ ;
62
+ /**
63
+ *
64
+ * @export
65
+ * @class RequiredError
66
+ * @extends {Error}
67
+ */
68
+ var RequiredError = /** @class */ (function (_super) {
69
+ __extends(RequiredError, _super);
70
+ function RequiredError(field, msg) {
71
+ var _this = _super.call(this, msg) || this;
72
+ _this.field = field;
73
+ _this.name = "RequiredError";
74
+ return _this;
75
+ }
76
+ return RequiredError;
77
+ }(Error));
78
+ export { RequiredError };
79
+ /**
80
+ *
81
+ * @export
82
+ */
83
+ export var operationServerMap = {};