@sailpoint/api-client 2.2.51 → 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 (208) hide show
  1. package/dist/approvals/api.d.ts +121 -46
  2. package/dist/approvals/api.js +37 -24
  3. package/dist/approvals/api.js.map +1 -1
  4. package/dist/capabilities/api.d.ts +2 -2
  5. package/dist/capabilities/api.js +2 -2
  6. package/dist/capabilities/api.js.map +1 -1
  7. package/dist/capabilities/base.d.ts +2 -2
  8. package/dist/capabilities/base.js +2 -2
  9. package/dist/capabilities/base.js.map +1 -1
  10. package/dist/capabilities/common.d.ts +2 -2
  11. package/dist/capabilities/common.js +2 -2
  12. package/dist/capabilities/common.js.map +1 -1
  13. package/dist/capabilities/configuration.d.ts +2 -2
  14. package/dist/capabilities/configuration.js +2 -2
  15. package/dist/capabilities/configuration.js.map +1 -1
  16. package/dist/capabilities/index.d.ts +2 -2
  17. package/dist/capabilities/index.js +2 -2
  18. package/dist/capabilities/index.js.map +1 -1
  19. package/dist/credentials/api.d.ts +2 -2
  20. package/dist/credentials/api.js +2 -2
  21. package/dist/credentials/api.js.map +1 -1
  22. package/dist/credentials/base.d.ts +2 -2
  23. package/dist/credentials/base.js +2 -2
  24. package/dist/credentials/base.js.map +1 -1
  25. package/dist/credentials/common.d.ts +2 -2
  26. package/dist/credentials/common.js +2 -2
  27. package/dist/credentials/common.js.map +1 -1
  28. package/dist/credentials/configuration.d.ts +2 -2
  29. package/dist/credentials/configuration.js +2 -2
  30. package/dist/credentials/configuration.js.map +1 -1
  31. package/dist/credentials/index.d.ts +2 -2
  32. package/dist/credentials/index.js +2 -2
  33. package/dist/credentials/index.js.map +1 -1
  34. package/dist/devices/api.d.ts +2 -2
  35. package/dist/devices/api.js +2 -2
  36. package/dist/devices/api.js.map +1 -1
  37. package/dist/devices/base.d.ts +2 -2
  38. package/dist/devices/base.js +2 -2
  39. package/dist/devices/base.js.map +1 -1
  40. package/dist/devices/common.d.ts +2 -2
  41. package/dist/devices/common.js +2 -2
  42. package/dist/devices/common.js.map +1 -1
  43. package/dist/devices/configuration.d.ts +2 -2
  44. package/dist/devices/configuration.js +2 -2
  45. package/dist/devices/configuration.js.map +1 -1
  46. package/dist/devices/index.d.ts +2 -2
  47. package/dist/devices/index.js +2 -2
  48. package/dist/devices/index.js.map +1 -1
  49. package/dist/esm/approvals/api.js +36 -23
  50. package/dist/esm/capabilities/api.js +2 -2
  51. package/dist/esm/capabilities/base.js +2 -2
  52. package/dist/esm/capabilities/common.js +2 -2
  53. package/dist/esm/capabilities/configuration.js +2 -2
  54. package/dist/esm/capabilities/index.js +2 -2
  55. package/dist/esm/credentials/api.js +2 -2
  56. package/dist/esm/credentials/base.js +2 -2
  57. package/dist/esm/credentials/common.js +2 -2
  58. package/dist/esm/credentials/configuration.js +2 -2
  59. package/dist/esm/credentials/index.js +2 -2
  60. package/dist/esm/devices/api.js +2 -2
  61. package/dist/esm/devices/base.js +2 -2
  62. package/dist/esm/devices/common.js +2 -2
  63. package/dist/esm/devices/configuration.js +2 -2
  64. package/dist/esm/devices/index.js +2 -2
  65. package/dist/esm/generic_request_approval_config/api.js +2 -2
  66. package/dist/esm/generic_request_approval_config/base.js +2 -2
  67. package/dist/esm/generic_request_approval_config/common.js +2 -2
  68. package/dist/esm/generic_request_approval_config/configuration.js +2 -2
  69. package/dist/esm/generic_request_approval_config/index.js +2 -2
  70. package/dist/esm/index.js +6 -0
  71. package/dist/esm/machine_account_recommendation/api.js +2 -2
  72. package/dist/esm/machine_account_recommendation/base.js +2 -2
  73. package/dist/esm/machine_account_recommendation/common.js +2 -2
  74. package/dist/esm/machine_account_recommendation/configuration.js +2 -2
  75. package/dist/esm/machine_account_recommendation/index.js +2 -2
  76. package/dist/esm/machine_identities_lifecycle_actions/api.js +35 -32
  77. package/dist/esm/machine_identity_metadata/api.js +2 -2
  78. package/dist/esm/machine_identity_metadata/base.js +2 -2
  79. package/dist/esm/machine_identity_metadata/common.js +2 -2
  80. package/dist/esm/machine_identity_metadata/configuration.js +2 -2
  81. package/dist/esm/machine_identity_metadata/index.js +2 -2
  82. package/dist/esm/machine_mapping_metadata/api.js +2 -2
  83. package/dist/esm/machine_mapping_metadata/base.js +2 -2
  84. package/dist/esm/machine_mapping_metadata/common.js +2 -2
  85. package/dist/esm/machine_mapping_metadata/configuration.js +2 -2
  86. package/dist/esm/machine_mapping_metadata/index.js +2 -2
  87. package/dist/esm/nerm/common.js +2 -2
  88. package/dist/esm/nermv2025/common.js +2 -2
  89. package/dist/esm/reminder_escalations/api.js +522 -0
  90. package/dist/esm/reminder_escalations/base.js +83 -0
  91. package/dist/esm/reminder_escalations/common.js +287 -0
  92. package/dist/esm/reminder_escalations/configuration.js +42 -0
  93. package/dist/esm/reminder_escalations/index.js +15 -0
  94. package/dist/esm/roles/api.js +529 -2
  95. package/dist/esm/sources/api.js +2 -1
  96. package/dist/esm/ui_plugins/api.js +1657 -0
  97. package/dist/esm/ui_plugins/base.js +83 -0
  98. package/dist/esm/ui_plugins/common.js +287 -0
  99. package/dist/esm/ui_plugins/configuration.js +42 -0
  100. package/dist/esm/ui_plugins/index.js +15 -0
  101. package/dist/generic_request_approval_config/api.d.ts +2 -2
  102. package/dist/generic_request_approval_config/api.js +2 -2
  103. package/dist/generic_request_approval_config/api.js.map +1 -1
  104. package/dist/generic_request_approval_config/base.d.ts +2 -2
  105. package/dist/generic_request_approval_config/base.js +2 -2
  106. package/dist/generic_request_approval_config/base.js.map +1 -1
  107. package/dist/generic_request_approval_config/common.d.ts +2 -2
  108. package/dist/generic_request_approval_config/common.js +2 -2
  109. package/dist/generic_request_approval_config/common.js.map +1 -1
  110. package/dist/generic_request_approval_config/configuration.d.ts +2 -2
  111. package/dist/generic_request_approval_config/configuration.js +2 -2
  112. package/dist/generic_request_approval_config/configuration.js.map +1 -1
  113. package/dist/generic_request_approval_config/index.d.ts +2 -2
  114. package/dist/generic_request_approval_config/index.js +2 -2
  115. package/dist/generic_request_approval_config/index.js.map +1 -1
  116. package/dist/index.d.ts +6 -0
  117. package/dist/index.js +103 -97
  118. package/dist/index.js.map +1 -1
  119. package/dist/machine_account_recommendation/api.d.ts +2 -2
  120. package/dist/machine_account_recommendation/api.js +2 -2
  121. package/dist/machine_account_recommendation/api.js.map +1 -1
  122. package/dist/machine_account_recommendation/base.d.ts +2 -2
  123. package/dist/machine_account_recommendation/base.js +2 -2
  124. package/dist/machine_account_recommendation/base.js.map +1 -1
  125. package/dist/machine_account_recommendation/common.d.ts +2 -2
  126. package/dist/machine_account_recommendation/common.js +2 -2
  127. package/dist/machine_account_recommendation/common.js.map +1 -1
  128. package/dist/machine_account_recommendation/configuration.d.ts +2 -2
  129. package/dist/machine_account_recommendation/configuration.js +2 -2
  130. package/dist/machine_account_recommendation/configuration.js.map +1 -1
  131. package/dist/machine_account_recommendation/index.d.ts +2 -2
  132. package/dist/machine_account_recommendation/index.js +2 -2
  133. package/dist/machine_account_recommendation/index.js.map +1 -1
  134. package/dist/machine_identities_lifecycle_actions/api.d.ts +67 -63
  135. package/dist/machine_identities_lifecycle_actions/api.js +36 -33
  136. package/dist/machine_identities_lifecycle_actions/api.js.map +1 -1
  137. package/dist/machine_identity_metadata/api.d.ts +2 -2
  138. package/dist/machine_identity_metadata/api.js +2 -2
  139. package/dist/machine_identity_metadata/api.js.map +1 -1
  140. package/dist/machine_identity_metadata/base.d.ts +2 -2
  141. package/dist/machine_identity_metadata/base.js +2 -2
  142. package/dist/machine_identity_metadata/base.js.map +1 -1
  143. package/dist/machine_identity_metadata/common.d.ts +2 -2
  144. package/dist/machine_identity_metadata/common.js +2 -2
  145. package/dist/machine_identity_metadata/common.js.map +1 -1
  146. package/dist/machine_identity_metadata/configuration.d.ts +2 -2
  147. package/dist/machine_identity_metadata/configuration.js +2 -2
  148. package/dist/machine_identity_metadata/configuration.js.map +1 -1
  149. package/dist/machine_identity_metadata/index.d.ts +2 -2
  150. package/dist/machine_identity_metadata/index.js +2 -2
  151. package/dist/machine_identity_metadata/index.js.map +1 -1
  152. package/dist/machine_mapping_metadata/api.d.ts +2 -2
  153. package/dist/machine_mapping_metadata/api.js +2 -2
  154. package/dist/machine_mapping_metadata/api.js.map +1 -1
  155. package/dist/machine_mapping_metadata/base.d.ts +2 -2
  156. package/dist/machine_mapping_metadata/base.js +2 -2
  157. package/dist/machine_mapping_metadata/base.js.map +1 -1
  158. package/dist/machine_mapping_metadata/common.d.ts +2 -2
  159. package/dist/machine_mapping_metadata/common.js +2 -2
  160. package/dist/machine_mapping_metadata/common.js.map +1 -1
  161. package/dist/machine_mapping_metadata/configuration.d.ts +2 -2
  162. package/dist/machine_mapping_metadata/configuration.js +2 -2
  163. package/dist/machine_mapping_metadata/configuration.js.map +1 -1
  164. package/dist/machine_mapping_metadata/index.d.ts +2 -2
  165. package/dist/machine_mapping_metadata/index.js +2 -2
  166. package/dist/machine_mapping_metadata/index.js.map +1 -1
  167. package/dist/nerm/common.js +2 -2
  168. package/dist/nerm/common.js.map +1 -1
  169. package/dist/nermv2025/common.js +2 -2
  170. package/dist/nermv2025/common.js.map +1 -1
  171. package/dist/reminder_escalations/api.d.ts +665 -0
  172. package/dist/reminder_escalations/api.js +532 -0
  173. package/dist/reminder_escalations/api.js.map +1 -0
  174. package/dist/reminder_escalations/base.d.ts +66 -0
  175. package/dist/reminder_escalations/base.js +90 -0
  176. package/dist/reminder_escalations/base.js.map +1 -0
  177. package/dist/reminder_escalations/common.d.ts +65 -0
  178. package/dist/reminder_escalations/common.js +300 -0
  179. package/dist/reminder_escalations/common.js.map +1 -0
  180. package/dist/reminder_escalations/configuration.d.ts +91 -0
  181. package/dist/reminder_escalations/configuration.js +46 -0
  182. package/dist/reminder_escalations/configuration.js.map +1 -0
  183. package/dist/reminder_escalations/index.d.ts +13 -0
  184. package/dist/reminder_escalations/index.js +32 -0
  185. package/dist/reminder_escalations/index.js.map +1 -0
  186. package/dist/roles/api.d.ts +972 -88
  187. package/dist/roles/api.js +530 -3
  188. package/dist/roles/api.js.map +1 -1
  189. package/dist/sources/api.d.ts +2 -1
  190. package/dist/sources/api.js +2 -1
  191. package/dist/sources/api.js.map +1 -1
  192. package/dist/ui_plugins/api.d.ts +1514 -0
  193. package/dist/ui_plugins/api.js +1667 -0
  194. package/dist/ui_plugins/api.js.map +1 -0
  195. package/dist/ui_plugins/base.d.ts +66 -0
  196. package/dist/ui_plugins/base.js +90 -0
  197. package/dist/ui_plugins/base.js.map +1 -0
  198. package/dist/ui_plugins/common.d.ts +65 -0
  199. package/dist/ui_plugins/common.js +300 -0
  200. package/dist/ui_plugins/common.js.map +1 -0
  201. package/dist/ui_plugins/configuration.d.ts +91 -0
  202. package/dist/ui_plugins/configuration.js +46 -0
  203. package/dist/ui_plugins/configuration.js.map +1 -0
  204. package/dist/ui_plugins/index.d.ts +13 -0
  205. package/dist/ui_plugins/index.js +32 -0
  206. package/dist/ui_plugins/index.js.map +1 -0
  207. package/package.json +1 -1
  208. package/sailpoint-scopes.json +325 -1
@@ -0,0 +1,1657 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * SailPoint Identity Security API - UI Plugins
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, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
80
+ // @ts-ignore
81
+ import { BASE_PATH, BaseAPI, operationServerMap } from './base';
82
+ export var CreateUIPluginRequestIframeSandboxEnum = {
83
+ AllowTopNavigation: 'allow-top-navigation',
84
+ AllowPopups: 'allow-popups',
85
+ AllowPopupsToEscapeSandbox: 'allow-popups-to-escape-sandbox',
86
+ AllowDownloads: 'allow-downloads',
87
+ AllowModals: 'allow-modals'
88
+ };
89
+ export var CreateUIPluginResponseIframeSandboxEnum = {
90
+ AllowTopNavigation: 'allow-top-navigation',
91
+ AllowPopups: 'allow-popups',
92
+ AllowPopupsToEscapeSandbox: 'allow-popups-to-escape-sandbox',
93
+ AllowDownloads: 'allow-downloads',
94
+ AllowModals: 'allow-modals'
95
+ };
96
+ /**
97
+ * 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.
98
+ * @export
99
+ * @enum {string}
100
+ */
101
+ export var LocaleOrigin = {
102
+ Default: 'DEFAULT',
103
+ Request: 'REQUEST'
104
+ };
105
+ /**
106
+ * Lifecycle state for a tenant plugin installation. DISABLED instances are omitted from active-slots delivery.
107
+ * @export
108
+ * @enum {string}
109
+ */
110
+ export var PluginInstanceState = {
111
+ Enabled: 'ENABLED',
112
+ Disabled: 'DISABLED'
113
+ };
114
+ export var PluginSlotRequiredCapabilitiesEnum = {
115
+ OrgAdmin: 'ORG_ADMIN',
116
+ SourceAdmin: 'SOURCE_ADMIN',
117
+ ReportAdmin: 'REPORT_ADMIN',
118
+ AccessRequestAdmin: 'ACCESS_REQUEST_ADMIN',
119
+ RoleAdmin: 'ROLE_ADMIN',
120
+ CertAdmin: 'CERT_ADMIN',
121
+ Dashboard: 'DASHBOARD',
122
+ SourceSubadmin: 'SOURCE_SUBADMIN',
123
+ Helpdesk: 'HELPDESK',
124
+ CloudGovAdmin: 'CLOUD_GOV_ADMIN',
125
+ CloudGovUser: 'CLOUD_GOV_USER'
126
+ };
127
+ /**
128
+ * - active: accepts new plugin registrations - deprecated: still works; avoid for new plugins - removed: no longer functions
129
+ * @export
130
+ * @enum {string}
131
+ */
132
+ export var SlotState = {
133
+ Active: 'active',
134
+ Deprecated: 'deprecated',
135
+ Removed: 'removed'
136
+ };
137
+ /**
138
+ * How the App Shell renders plugins in this slot (Armada 2.0 patterns)
139
+ * @export
140
+ * @enum {string}
141
+ */
142
+ export var SlotType = {
143
+ FullPage: 'full-page',
144
+ Embed: 'embed',
145
+ Aside: 'aside',
146
+ Popup: 'popup'
147
+ };
148
+ export var UIPluginIframeSandboxEnum = {
149
+ AllowTopNavigation: 'allow-top-navigation',
150
+ AllowPopups: 'allow-popups',
151
+ AllowPopupsToEscapeSandbox: 'allow-popups-to-escape-sandbox',
152
+ AllowDownloads: 'allow-downloads',
153
+ AllowModals: 'allow-modals'
154
+ };
155
+ export var UpdateUIPluginRequestIframeSandboxEnum = {
156
+ AllowTopNavigation: 'allow-top-navigation',
157
+ AllowPopups: 'allow-popups',
158
+ AllowPopupsToEscapeSandbox: 'allow-popups-to-escape-sandbox',
159
+ AllowDownloads: 'allow-downloads',
160
+ AllowModals: 'allow-modals'
161
+ };
162
+ /**
163
+ * UIPluginsApi - axios parameter creator
164
+ * @export
165
+ */
166
+ export var UIPluginsApiAxiosParamCreator = function (configuration) {
167
+ var _this = this;
168
+ return {
169
+ /**
170
+ * Accepts `multipart/form-data` with one or more parts named **`file`**. The bundle-relative path for each object is taken from the part\'s multipart **filename** (`originalname`). Paths are normalized (no `..`, no absolute paths) and stored under `{pluginInstanceId}/{assetBundleId}/...` in S3. Folder structure is preserved, not flattened. Requirements: - Bundle must include root `index.html` - Configurable limits on file count, per-file bytes, and total bundle bytes - Product license `idn:ui-plugins-author` required (404 if missing) - Caller tenant id is present (400 `User context is invalid` otherwise). The plugin instance must belong to that tenant (404 otherwise). Creates a new immutable bundle record; previous active bundles are tombstoned via `cleanupAfter`. Emits the `UI_PLUGIN_ASSET_BUNDLE_CREATED` audit event.
171
+ * @summary Create a plugin asset bundle
172
+ * @param {string} pluginInstanceId UUID of the plugin instance
173
+ * @param {Array<File>} file Repeatable form field. Send one part per file; use the part filename for the bundle-relative path (e.g. &#x60;assets/app.js&#x60;).
174
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
175
+ * @param {*} [axiosOptions] Override http request option.
176
+ * @throws {RequiredError}
177
+ */
178
+ createUiPluginAssetBundleV1: function (pluginInstanceId, file, xSailPointExperimental, axiosOptions) {
179
+ if (axiosOptions === void 0) { axiosOptions = {}; }
180
+ return __awaiter(_this, void 0, void 0, function () {
181
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
182
+ return __generator(this, function (_a) {
183
+ switch (_a.label) {
184
+ case 0:
185
+ // verify required parameter 'pluginInstanceId' is not null or undefined
186
+ assertParamExists('createUiPluginAssetBundleV1', 'pluginInstanceId', pluginInstanceId);
187
+ // verify required parameter 'file' is not null or undefined
188
+ assertParamExists('createUiPluginAssetBundleV1', 'file', file);
189
+ if (xSailPointExperimental === undefined) {
190
+ xSailPointExperimental = 'true';
191
+ }
192
+ localVarPath = "/ui-plugins/v1/{pluginInstanceId}/asset-bundles"
193
+ .replace("{".concat("pluginInstanceId", "}"), encodeURIComponent(String(pluginInstanceId)));
194
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
195
+ if (configuration) {
196
+ baseOptions = configuration.baseOptions;
197
+ }
198
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
199
+ localVarHeaderParameter = {};
200
+ localVarQueryParameter = {};
201
+ localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
202
+ // authentication userAuth required
203
+ // oauth required
204
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
205
+ // authentication userAuth required
206
+ // oauth required
207
+ ];
208
+ case 1:
209
+ // authentication userAuth required
210
+ // oauth required
211
+ _a.sent();
212
+ // authentication userAuth required
213
+ // oauth required
214
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
215
+ // authentication applicationAuth required
216
+ // oauth required
217
+ ];
218
+ case 2:
219
+ // authentication userAuth required
220
+ // oauth required
221
+ _a.sent();
222
+ // authentication applicationAuth required
223
+ // oauth required
224
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
225
+ case 3:
226
+ // authentication applicationAuth required
227
+ // oauth required
228
+ _a.sent();
229
+ if (file) {
230
+ file.forEach(function (element) {
231
+ localVarFormParams.append('file', element);
232
+ });
233
+ }
234
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
235
+ if (xSailPointExperimental != null) {
236
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
237
+ }
238
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
239
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
240
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
241
+ localVarRequestOptions.data = localVarFormParams;
242
+ return [2 /*return*/, {
243
+ url: toPathString(localVarUrlObj),
244
+ axiosOptions: localVarRequestOptions,
245
+ }];
246
+ }
247
+ });
248
+ });
249
+ },
250
+ /**
251
+ * Registers the caller\'s identity against a local HTTPS origin `https://localhost:{port}` in the instance\'s `devOverrides` map. Used by the `sail ui-plugins link` CLI flow. Requires product license `idn:ui-plugins-author` (404 if missing). Returns 400 `User context is invalid` when the caller has no tenant id or identity id. That identity id is the key in `devOverrides`, so the caller can only set their own local-dev URL. A plugin instance in another tenant is 404. Response body contains the updated `devOverrides` map (`identityId` to `https://localhost:{port}`) and `devDocumentHeaders`, the ephemeral `Content-Security-Policy` and `Permissions-Policy` header values a local dev server can use for CSP parity with the deployed plugin.
252
+ * @summary Create a plugin dev link
253
+ * @param {string} pluginInstanceId UUID of the plugin instance
254
+ * @param {LinkUIPluginRequest} linkUIPluginRequest
255
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
256
+ * @param {*} [axiosOptions] Override http request option.
257
+ * @throws {RequiredError}
258
+ */
259
+ createUiPluginLinkV1: function (pluginInstanceId, linkUIPluginRequest, xSailPointExperimental, axiosOptions) {
260
+ if (axiosOptions === void 0) { axiosOptions = {}; }
261
+ return __awaiter(_this, void 0, void 0, function () {
262
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
263
+ return __generator(this, function (_a) {
264
+ switch (_a.label) {
265
+ case 0:
266
+ // verify required parameter 'pluginInstanceId' is not null or undefined
267
+ assertParamExists('createUiPluginLinkV1', 'pluginInstanceId', pluginInstanceId);
268
+ // verify required parameter 'linkUIPluginRequest' is not null or undefined
269
+ assertParamExists('createUiPluginLinkV1', 'linkUIPluginRequest', linkUIPluginRequest);
270
+ if (xSailPointExperimental === undefined) {
271
+ xSailPointExperimental = 'true';
272
+ }
273
+ localVarPath = "/ui-plugins/v1/{pluginInstanceId}/link"
274
+ .replace("{".concat("pluginInstanceId", "}"), encodeURIComponent(String(pluginInstanceId)));
275
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
276
+ if (configuration) {
277
+ baseOptions = configuration.baseOptions;
278
+ }
279
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
280
+ localVarHeaderParameter = {};
281
+ localVarQueryParameter = {};
282
+ // authentication userAuth required
283
+ // oauth required
284
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
285
+ // authentication userAuth required
286
+ // oauth required
287
+ ];
288
+ case 1:
289
+ // authentication userAuth required
290
+ // oauth required
291
+ _a.sent();
292
+ // authentication userAuth required
293
+ // oauth required
294
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
295
+ // authentication applicationAuth required
296
+ // oauth required
297
+ ];
298
+ case 2:
299
+ // authentication userAuth required
300
+ // oauth required
301
+ _a.sent();
302
+ // authentication applicationAuth required
303
+ // oauth required
304
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
305
+ case 3:
306
+ // authentication applicationAuth required
307
+ // oauth required
308
+ _a.sent();
309
+ localVarHeaderParameter['Content-Type'] = 'application/json';
310
+ if (xSailPointExperimental != null) {
311
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
312
+ }
313
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
314
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
315
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
316
+ localVarRequestOptions.data = serializeDataIfNeeded(linkUIPluginRequest, localVarRequestOptions, configuration);
317
+ return [2 /*return*/, {
318
+ url: toPathString(localVarUrlObj),
319
+ axiosOptions: localVarRequestOptions,
320
+ }];
321
+ }
322
+ });
323
+ });
324
+ },
325
+ /**
326
+ * Registers a new tenant-scoped plugin installation. Enforces: - Max **20** plugin instances per tenant - Slot registry rules (`slotId` must exist; per-slot `maxPlugins`; no duplicate slotIds) - Alias uniqueness within the tenant (normalized lowercase) - CSP / Permissions-Policy / iframe-allow / iframe-sandbox allowlists - Product license `idn:ui-plugins-author` (404 if missing) - Caller tenant id is present (400 `User context is invalid` otherwise). The instance is created in that tenant. Emits Kafka audit event `UI_PLUGIN_INSTANCE_CREATED` on success. Response body is the created plugin instance plus `devDocumentHeaders`, the ephemeral `Content-Security-Policy` and `Permissions-Policy` header values a local dev server can use for CSP parity with the deployed plugin. They are returned only on create (and link), not when reading the instance.
327
+ * @summary Create a plugin instance
328
+ * @param {CreateUIPluginRequest} createUIPluginRequest
329
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
330
+ * @param {*} [axiosOptions] Override http request option.
331
+ * @throws {RequiredError}
332
+ */
333
+ createUiPluginV1: function (createUIPluginRequest, xSailPointExperimental, axiosOptions) {
334
+ if (axiosOptions === void 0) { axiosOptions = {}; }
335
+ return __awaiter(_this, void 0, void 0, function () {
336
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
337
+ return __generator(this, function (_a) {
338
+ switch (_a.label) {
339
+ case 0:
340
+ // verify required parameter 'createUIPluginRequest' is not null or undefined
341
+ assertParamExists('createUiPluginV1', 'createUIPluginRequest', createUIPluginRequest);
342
+ if (xSailPointExperimental === undefined) {
343
+ xSailPointExperimental = 'true';
344
+ }
345
+ localVarPath = "/ui-plugins/v1";
346
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
347
+ if (configuration) {
348
+ baseOptions = configuration.baseOptions;
349
+ }
350
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
351
+ localVarHeaderParameter = {};
352
+ localVarQueryParameter = {};
353
+ // authentication userAuth required
354
+ // oauth required
355
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
356
+ // authentication userAuth required
357
+ // oauth required
358
+ ];
359
+ case 1:
360
+ // authentication userAuth required
361
+ // oauth required
362
+ _a.sent();
363
+ // authentication userAuth required
364
+ // oauth required
365
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
366
+ // authentication applicationAuth required
367
+ // oauth required
368
+ ];
369
+ case 2:
370
+ // authentication userAuth required
371
+ // oauth required
372
+ _a.sent();
373
+ // authentication applicationAuth required
374
+ // oauth required
375
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
376
+ case 3:
377
+ // authentication applicationAuth required
378
+ // oauth required
379
+ _a.sent();
380
+ localVarHeaderParameter['Content-Type'] = 'application/json';
381
+ if (xSailPointExperimental != null) {
382
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
383
+ }
384
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
385
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
386
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
387
+ localVarRequestOptions.data = serializeDataIfNeeded(createUIPluginRequest, localVarRequestOptions, configuration);
388
+ return [2 /*return*/, {
389
+ url: toPathString(localVarUrlObj),
390
+ axiosOptions: localVarRequestOptions,
391
+ }];
392
+ }
393
+ });
394
+ });
395
+ },
396
+ /**
397
+ * Removes only the current caller\'s `identityId` entry from `devOverrides`. Other developers\' overrides are preserved. Requires product license `idn:ui-plugins-author` (404 if missing). Returns 400 `User context is invalid` when the caller has no tenant id or identity id. A plugin instance in another tenant is 404.
398
+ * @summary Delete a plugin dev link
399
+ * @param {string} pluginInstanceId UUID of the plugin instance
400
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
401
+ * @param {*} [axiosOptions] Override http request option.
402
+ * @throws {RequiredError}
403
+ */
404
+ deleteUiPluginLinkV1: function (pluginInstanceId, xSailPointExperimental, axiosOptions) {
405
+ if (axiosOptions === void 0) { axiosOptions = {}; }
406
+ return __awaiter(_this, void 0, void 0, function () {
407
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
408
+ return __generator(this, function (_a) {
409
+ switch (_a.label) {
410
+ case 0:
411
+ // verify required parameter 'pluginInstanceId' is not null or undefined
412
+ assertParamExists('deleteUiPluginLinkV1', 'pluginInstanceId', pluginInstanceId);
413
+ if (xSailPointExperimental === undefined) {
414
+ xSailPointExperimental = 'true';
415
+ }
416
+ localVarPath = "/ui-plugins/v1/{pluginInstanceId}/link"
417
+ .replace("{".concat("pluginInstanceId", "}"), encodeURIComponent(String(pluginInstanceId)));
418
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
419
+ if (configuration) {
420
+ baseOptions = configuration.baseOptions;
421
+ }
422
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
423
+ localVarHeaderParameter = {};
424
+ localVarQueryParameter = {};
425
+ // authentication userAuth required
426
+ // oauth required
427
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
428
+ // authentication userAuth required
429
+ // oauth required
430
+ ];
431
+ case 1:
432
+ // authentication userAuth required
433
+ // oauth required
434
+ _a.sent();
435
+ // authentication userAuth required
436
+ // oauth required
437
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
438
+ // authentication applicationAuth required
439
+ // oauth required
440
+ ];
441
+ case 2:
442
+ // authentication userAuth required
443
+ // oauth required
444
+ _a.sent();
445
+ // authentication applicationAuth required
446
+ // oauth required
447
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
448
+ case 3:
449
+ // authentication applicationAuth required
450
+ // oauth required
451
+ _a.sent();
452
+ if (xSailPointExperimental != null) {
453
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
454
+ }
455
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
456
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
457
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
458
+ return [2 /*return*/, {
459
+ url: toPathString(localVarUrlObj),
460
+ axiosOptions: localVarRequestOptions,
461
+ }];
462
+ }
463
+ });
464
+ });
465
+ },
466
+ /**
467
+ * Deletes the plugin instance and associated resources (asset bundles tombstoned for deferred cleanup). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is deleted only when it belongs to that tenant; a mismatch is 404. Emits Kafka audit event `UI_PLUGIN_INSTANCE_DELETED` on success.
468
+ * @summary Delete a plugin instance
469
+ * @param {string} pluginInstanceId UUID of the plugin instance
470
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
471
+ * @param {*} [axiosOptions] Override http request option.
472
+ * @throws {RequiredError}
473
+ */
474
+ deleteUiPluginV1: function (pluginInstanceId, xSailPointExperimental, axiosOptions) {
475
+ if (axiosOptions === void 0) { axiosOptions = {}; }
476
+ return __awaiter(_this, void 0, void 0, function () {
477
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
478
+ return __generator(this, function (_a) {
479
+ switch (_a.label) {
480
+ case 0:
481
+ // verify required parameter 'pluginInstanceId' is not null or undefined
482
+ assertParamExists('deleteUiPluginV1', 'pluginInstanceId', pluginInstanceId);
483
+ if (xSailPointExperimental === undefined) {
484
+ xSailPointExperimental = 'true';
485
+ }
486
+ localVarPath = "/ui-plugins/v1/{pluginInstanceId}"
487
+ .replace("{".concat("pluginInstanceId", "}"), encodeURIComponent(String(pluginInstanceId)));
488
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
489
+ if (configuration) {
490
+ baseOptions = configuration.baseOptions;
491
+ }
492
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
493
+ localVarHeaderParameter = {};
494
+ localVarQueryParameter = {};
495
+ // authentication userAuth required
496
+ // oauth required
497
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
498
+ // authentication userAuth required
499
+ // oauth required
500
+ ];
501
+ case 1:
502
+ // authentication userAuth required
503
+ // oauth required
504
+ _a.sent();
505
+ // authentication userAuth required
506
+ // oauth required
507
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
508
+ // authentication applicationAuth required
509
+ // oauth required
510
+ ];
511
+ case 2:
512
+ // authentication userAuth required
513
+ // oauth required
514
+ _a.sent();
515
+ // authentication applicationAuth required
516
+ // oauth required
517
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
518
+ case 3:
519
+ // authentication applicationAuth required
520
+ // oauth required
521
+ _a.sent();
522
+ if (xSailPointExperimental != null) {
523
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
524
+ }
525
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
526
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
527
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
528
+ return [2 /*return*/, {
529
+ url: toPathString(localVarUrlObj),
530
+ axiosOptions: localVarRequestOptions,
531
+ }];
532
+ }
533
+ });
534
+ });
535
+ },
536
+ /**
537
+ * Resolves a tenant-scoped alias to its `UiPlugin`. Returns 404 if no match; 409 if the alias is ambiguous (more than one match; should not occur after uniqueness enforcement). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The alias is resolved only within that tenant; no match is 404.
538
+ * @summary Get plugin by alias
539
+ * @param {string} alias Alias to resolve within the caller\&#39;s tenant
540
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
541
+ * @param {*} [axiosOptions] Override http request option.
542
+ * @throws {RequiredError}
543
+ */
544
+ getUiPluginByAliasV1: function (alias, xSailPointExperimental, axiosOptions) {
545
+ if (axiosOptions === void 0) { axiosOptions = {}; }
546
+ return __awaiter(_this, void 0, void 0, function () {
547
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
548
+ return __generator(this, function (_a) {
549
+ switch (_a.label) {
550
+ case 0:
551
+ // verify required parameter 'alias' is not null or undefined
552
+ assertParamExists('getUiPluginByAliasV1', 'alias', alias);
553
+ if (xSailPointExperimental === undefined) {
554
+ xSailPointExperimental = 'true';
555
+ }
556
+ localVarPath = "/ui-plugins/v1/resolve-alias";
557
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
558
+ if (configuration) {
559
+ baseOptions = configuration.baseOptions;
560
+ }
561
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
562
+ localVarHeaderParameter = {};
563
+ localVarQueryParameter = {};
564
+ // authentication userAuth required
565
+ // oauth required
566
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
567
+ // authentication userAuth required
568
+ // oauth required
569
+ ];
570
+ case 1:
571
+ // authentication userAuth required
572
+ // oauth required
573
+ _a.sent();
574
+ // authentication userAuth required
575
+ // oauth required
576
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
577
+ // authentication applicationAuth required
578
+ // oauth required
579
+ ];
580
+ case 2:
581
+ // authentication userAuth required
582
+ // oauth required
583
+ _a.sent();
584
+ // authentication applicationAuth required
585
+ // oauth required
586
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
587
+ case 3:
588
+ // authentication applicationAuth required
589
+ // oauth required
590
+ _a.sent();
591
+ if (alias !== undefined) {
592
+ localVarQueryParameter['alias'] = alias;
593
+ }
594
+ if (xSailPointExperimental != null) {
595
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
596
+ }
597
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
598
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
599
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
600
+ return [2 /*return*/, {
601
+ url: toPathString(localVarUrlObj),
602
+ axiosOptions: localVarRequestOptions,
603
+ }];
604
+ }
605
+ });
606
+ });
607
+ },
608
+ /**
609
+ * Returns a plugin instance by ID for the caller\'s tenant. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is loaded only when it belongs to that tenant; a mismatch is 404.
610
+ * @summary Get a plugin instance
611
+ * @param {string} pluginInstanceId UUID of the plugin instance
612
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
613
+ * @param {*} [axiosOptions] Override http request option.
614
+ * @throws {RequiredError}
615
+ */
616
+ getUiPluginV1: function (pluginInstanceId, xSailPointExperimental, axiosOptions) {
617
+ if (axiosOptions === void 0) { axiosOptions = {}; }
618
+ return __awaiter(_this, void 0, void 0, function () {
619
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
620
+ return __generator(this, function (_a) {
621
+ switch (_a.label) {
622
+ case 0:
623
+ // verify required parameter 'pluginInstanceId' is not null or undefined
624
+ assertParamExists('getUiPluginV1', 'pluginInstanceId', pluginInstanceId);
625
+ if (xSailPointExperimental === undefined) {
626
+ xSailPointExperimental = 'true';
627
+ }
628
+ localVarPath = "/ui-plugins/v1/{pluginInstanceId}"
629
+ .replace("{".concat("pluginInstanceId", "}"), encodeURIComponent(String(pluginInstanceId)));
630
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
631
+ if (configuration) {
632
+ baseOptions = configuration.baseOptions;
633
+ }
634
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
635
+ localVarHeaderParameter = {};
636
+ localVarQueryParameter = {};
637
+ // authentication userAuth required
638
+ // oauth required
639
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
640
+ // authentication userAuth required
641
+ // oauth required
642
+ ];
643
+ case 1:
644
+ // authentication userAuth required
645
+ // oauth required
646
+ _a.sent();
647
+ // authentication userAuth required
648
+ // oauth required
649
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
650
+ // authentication applicationAuth required
651
+ // oauth required
652
+ ];
653
+ case 2:
654
+ // authentication userAuth required
655
+ // oauth required
656
+ _a.sent();
657
+ // authentication applicationAuth required
658
+ // oauth required
659
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
660
+ case 3:
661
+ // authentication applicationAuth required
662
+ // oauth required
663
+ _a.sent();
664
+ if (xSailPointExperimental != null) {
665
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
666
+ }
667
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
668
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
669
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
670
+ return [2 /*return*/, {
671
+ url: toPathString(localVarUrlObj),
672
+ axiosOptions: localVarRequestOptions,
673
+ }];
674
+ }
675
+ });
676
+ });
677
+ },
678
+ /**
679
+ * Returns asset bundles for the given plugin instance (newest-first). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. Bundles are listed only when the plugin instance belongs to that tenant; a mismatch is 404.
680
+ * @summary List plugin asset bundles
681
+ * @param {string} pluginInstanceId UUID of the plugin instance
682
+ * @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
683
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
684
+ * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count&#x3D;true** if that value will not be used. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
685
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
686
+ * @param {*} [axiosOptions] Override http request option.
687
+ * @throws {RequiredError}
688
+ */
689
+ listUiPluginAssetBundlesV1: function (pluginInstanceId, limit, offset, count, xSailPointExperimental, axiosOptions) {
690
+ if (axiosOptions === void 0) { axiosOptions = {}; }
691
+ return __awaiter(_this, void 0, void 0, function () {
692
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
693
+ return __generator(this, function (_a) {
694
+ switch (_a.label) {
695
+ case 0:
696
+ // verify required parameter 'pluginInstanceId' is not null or undefined
697
+ assertParamExists('listUiPluginAssetBundlesV1', 'pluginInstanceId', pluginInstanceId);
698
+ if (xSailPointExperimental === undefined) {
699
+ xSailPointExperimental = 'true';
700
+ }
701
+ localVarPath = "/ui-plugins/v1/{pluginInstanceId}/asset-bundles"
702
+ .replace("{".concat("pluginInstanceId", "}"), encodeURIComponent(String(pluginInstanceId)));
703
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
704
+ if (configuration) {
705
+ baseOptions = configuration.baseOptions;
706
+ }
707
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
708
+ localVarHeaderParameter = {};
709
+ localVarQueryParameter = {};
710
+ // authentication userAuth required
711
+ // oauth required
712
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
713
+ // authentication userAuth required
714
+ // oauth required
715
+ ];
716
+ case 1:
717
+ // authentication userAuth required
718
+ // oauth required
719
+ _a.sent();
720
+ // authentication userAuth required
721
+ // oauth required
722
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
723
+ // authentication applicationAuth required
724
+ // oauth required
725
+ ];
726
+ case 2:
727
+ // authentication userAuth required
728
+ // oauth required
729
+ _a.sent();
730
+ // authentication applicationAuth required
731
+ // oauth required
732
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
733
+ case 3:
734
+ // authentication applicationAuth required
735
+ // oauth required
736
+ _a.sent();
737
+ if (limit !== undefined) {
738
+ localVarQueryParameter['limit'] = limit;
739
+ }
740
+ if (offset !== undefined) {
741
+ localVarQueryParameter['offset'] = offset;
742
+ }
743
+ if (count !== undefined) {
744
+ localVarQueryParameter['count'] = count;
745
+ }
746
+ if (xSailPointExperimental != null) {
747
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
748
+ }
749
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
750
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
751
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
752
+ return [2 /*return*/, {
753
+ url: toPathString(localVarUrlObj),
754
+ axiosOptions: localVarRequestOptions,
755
+ }];
756
+ }
757
+ });
758
+ });
759
+ },
760
+ /**
761
+ * Returns the static slot registry (extension points the platform exposes). `name` / `description` are localized via AtlasJS TranslateService. Filtering uses API Standard Collection Parameters. `state` supports `eq` with values `active`, `deprecated`, or `removed`. Example: `filters=state eq \"active\"`. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present).
762
+ * @summary List UI plugin slots
763
+ * @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **state**: *eq*
764
+ * @param {boolean} [allLangs] When &#x60;true&#x60;, &#x60;name&#x60; and &#x60;description&#x60; are returned as full locale maps instead of a single translated string.
765
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
766
+ * @param {*} [axiosOptions] Override http request option.
767
+ * @throws {RequiredError}
768
+ */
769
+ listUiPluginSlotsV1: function (filters, allLangs, xSailPointExperimental, axiosOptions) {
770
+ if (axiosOptions === void 0) { axiosOptions = {}; }
771
+ return __awaiter(_this, void 0, void 0, function () {
772
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
773
+ return __generator(this, function (_a) {
774
+ switch (_a.label) {
775
+ case 0:
776
+ if (xSailPointExperimental === undefined) {
777
+ xSailPointExperimental = 'true';
778
+ }
779
+ localVarPath = "/ui-plugin-slots/v1";
780
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
781
+ if (configuration) {
782
+ baseOptions = configuration.baseOptions;
783
+ }
784
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
785
+ localVarHeaderParameter = {};
786
+ localVarQueryParameter = {};
787
+ // authentication userAuth required
788
+ // oauth required
789
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
790
+ // authentication userAuth required
791
+ // oauth required
792
+ ];
793
+ case 1:
794
+ // authentication userAuth required
795
+ // oauth required
796
+ _a.sent();
797
+ // authentication userAuth required
798
+ // oauth required
799
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
800
+ // authentication applicationAuth required
801
+ // oauth required
802
+ ];
803
+ case 2:
804
+ // authentication userAuth required
805
+ // oauth required
806
+ _a.sent();
807
+ // authentication applicationAuth required
808
+ // oauth required
809
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
810
+ case 3:
811
+ // authentication applicationAuth required
812
+ // oauth required
813
+ _a.sent();
814
+ if (filters !== undefined) {
815
+ localVarQueryParameter['filters'] = filters;
816
+ }
817
+ if (allLangs !== undefined) {
818
+ localVarQueryParameter['allLangs'] = allLangs;
819
+ }
820
+ if (xSailPointExperimental != null) {
821
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
822
+ }
823
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
824
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
825
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
826
+ return [2 /*return*/, {
827
+ url: toPathString(localVarUrlObj),
828
+ axiosOptions: localVarRequestOptions,
829
+ }];
830
+ }
831
+ });
832
+ });
833
+ },
834
+ /**
835
+ * Returns plugin instances for the caller\'s tenant with optional V3-style pagination. When `count=true`, the response includes header `x-total-count`. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. Results include only that tenant\'s plugin instances.
836
+ * @summary List plugin instances
837
+ * @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
838
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
839
+ * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count&#x3D;true** if that value will not be used. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
840
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
841
+ * @param {*} [axiosOptions] Override http request option.
842
+ * @throws {RequiredError}
843
+ */
844
+ listUiPluginsV1: function (limit, offset, count, xSailPointExperimental, axiosOptions) {
845
+ if (axiosOptions === void 0) { axiosOptions = {}; }
846
+ return __awaiter(_this, void 0, void 0, function () {
847
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
848
+ return __generator(this, function (_a) {
849
+ switch (_a.label) {
850
+ case 0:
851
+ if (xSailPointExperimental === undefined) {
852
+ xSailPointExperimental = 'true';
853
+ }
854
+ localVarPath = "/ui-plugins/v1";
855
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
856
+ if (configuration) {
857
+ baseOptions = configuration.baseOptions;
858
+ }
859
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
860
+ localVarHeaderParameter = {};
861
+ localVarQueryParameter = {};
862
+ // authentication userAuth required
863
+ // oauth required
864
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
865
+ // authentication userAuth required
866
+ // oauth required
867
+ ];
868
+ case 1:
869
+ // authentication userAuth required
870
+ // oauth required
871
+ _a.sent();
872
+ // authentication userAuth required
873
+ // oauth required
874
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
875
+ // authentication applicationAuth required
876
+ // oauth required
877
+ ];
878
+ case 2:
879
+ // authentication userAuth required
880
+ // oauth required
881
+ _a.sent();
882
+ // authentication applicationAuth required
883
+ // oauth required
884
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
885
+ case 3:
886
+ // authentication applicationAuth required
887
+ // oauth required
888
+ _a.sent();
889
+ if (limit !== undefined) {
890
+ localVarQueryParameter['limit'] = limit;
891
+ }
892
+ if (offset !== undefined) {
893
+ localVarQueryParameter['offset'] = offset;
894
+ }
895
+ if (count !== undefined) {
896
+ localVarQueryParameter['count'] = count;
897
+ }
898
+ if (xSailPointExperimental != null) {
899
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
900
+ }
901
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
902
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
903
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
904
+ return [2 /*return*/, {
905
+ url: toPathString(localVarUrlObj),
906
+ axiosOptions: localVarRequestOptions,
907
+ }];
908
+ }
909
+ });
910
+ });
911
+ },
912
+ /**
913
+ * Checks whether the given alias is available within the caller\'s tenant. Alias is normalized (trim + lowercase) server-side. Success returns an empty body (HTTP 200). Conflict when the alias is taken. UUID-shaped aliases are rejected as invalid. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The alias is evaluated only within that tenant.
914
+ * @summary Test plugin alias availability
915
+ * @param {string} alias Alias to validate (3-63 chars; letters, numbers, dashes; no leading/trailing/consecutive dashes)
916
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
917
+ * @param {*} [axiosOptions] Override http request option.
918
+ * @throws {RequiredError}
919
+ */
920
+ testUiPluginAliasV1: function (alias, xSailPointExperimental, axiosOptions) {
921
+ if (axiosOptions === void 0) { axiosOptions = {}; }
922
+ return __awaiter(_this, void 0, void 0, function () {
923
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
924
+ return __generator(this, function (_a) {
925
+ switch (_a.label) {
926
+ case 0:
927
+ // verify required parameter 'alias' is not null or undefined
928
+ assertParamExists('testUiPluginAliasV1', 'alias', alias);
929
+ if (xSailPointExperimental === undefined) {
930
+ xSailPointExperimental = 'true';
931
+ }
932
+ localVarPath = "/ui-plugins/v1/validate-alias";
933
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
934
+ if (configuration) {
935
+ baseOptions = configuration.baseOptions;
936
+ }
937
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
938
+ localVarHeaderParameter = {};
939
+ localVarQueryParameter = {};
940
+ // authentication userAuth required
941
+ // oauth required
942
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
943
+ // authentication userAuth required
944
+ // oauth required
945
+ ];
946
+ case 1:
947
+ // authentication userAuth required
948
+ // oauth required
949
+ _a.sent();
950
+ // authentication userAuth required
951
+ // oauth required
952
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
953
+ // authentication applicationAuth required
954
+ // oauth required
955
+ ];
956
+ case 2:
957
+ // authentication userAuth required
958
+ // oauth required
959
+ _a.sent();
960
+ // authentication applicationAuth required
961
+ // oauth required
962
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
963
+ case 3:
964
+ // authentication applicationAuth required
965
+ // oauth required
966
+ _a.sent();
967
+ if (alias !== undefined) {
968
+ localVarQueryParameter['alias'] = alias;
969
+ }
970
+ if (xSailPointExperimental != null) {
971
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
972
+ }
973
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
974
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
975
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
976
+ return [2 /*return*/, {
977
+ url: toPathString(localVarUrlObj),
978
+ axiosOptions: localVarRequestOptions,
979
+ }];
980
+ }
981
+ });
982
+ });
983
+ },
984
+ /**
985
+ * Patch any subset of mutable fields. When `slots` is provided, replaces the entire slots list and re-validates registry / maxPlugins rules. When `apiScopes` is provided, replaces the entire scopes list. When `iframeSandbox` is provided, replaces the entire sandbox grant list; unlike CSP / Permissions-Policy changes, it does not rotate the active asset bundle. `state` may be set to `ENABLED` or `DISABLED` (DISABLED omits the instance from active-slots delivery). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is updated only when it belongs to that tenant; a mismatch is 404. Emits Kafka audit event `UI_PLUGIN_INSTANCE_UPDATED` on success.
986
+ * @summary Partially update a plugin instance
987
+ * @param {string} pluginInstanceId UUID of the plugin instance
988
+ * @param {UpdateUIPluginRequest} updateUIPluginRequest
989
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
990
+ * @param {*} [axiosOptions] Override http request option.
991
+ * @throws {RequiredError}
992
+ */
993
+ updateUiPluginV1: function (pluginInstanceId, updateUIPluginRequest, xSailPointExperimental, axiosOptions) {
994
+ if (axiosOptions === void 0) { axiosOptions = {}; }
995
+ return __awaiter(_this, void 0, void 0, function () {
996
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
997
+ return __generator(this, function (_a) {
998
+ switch (_a.label) {
999
+ case 0:
1000
+ // verify required parameter 'pluginInstanceId' is not null or undefined
1001
+ assertParamExists('updateUiPluginV1', 'pluginInstanceId', pluginInstanceId);
1002
+ // verify required parameter 'updateUIPluginRequest' is not null or undefined
1003
+ assertParamExists('updateUiPluginV1', 'updateUIPluginRequest', updateUIPluginRequest);
1004
+ if (xSailPointExperimental === undefined) {
1005
+ xSailPointExperimental = 'true';
1006
+ }
1007
+ localVarPath = "/ui-plugins/v1/{pluginInstanceId}"
1008
+ .replace("{".concat("pluginInstanceId", "}"), encodeURIComponent(String(pluginInstanceId)));
1009
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1010
+ if (configuration) {
1011
+ baseOptions = configuration.baseOptions;
1012
+ }
1013
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
1014
+ localVarHeaderParameter = {};
1015
+ localVarQueryParameter = {};
1016
+ // authentication userAuth required
1017
+ // oauth required
1018
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
1019
+ // authentication userAuth required
1020
+ // oauth required
1021
+ ];
1022
+ case 1:
1023
+ // authentication userAuth required
1024
+ // oauth required
1025
+ _a.sent();
1026
+ // authentication userAuth required
1027
+ // oauth required
1028
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
1029
+ // authentication applicationAuth required
1030
+ // oauth required
1031
+ ];
1032
+ case 2:
1033
+ // authentication userAuth required
1034
+ // oauth required
1035
+ _a.sent();
1036
+ // authentication applicationAuth required
1037
+ // oauth required
1038
+ return [4 /*yield*/, setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)];
1039
+ case 3:
1040
+ // authentication applicationAuth required
1041
+ // oauth required
1042
+ _a.sent();
1043
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1044
+ if (xSailPointExperimental != null) {
1045
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
1046
+ }
1047
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1048
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1049
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
1050
+ localVarRequestOptions.data = serializeDataIfNeeded(updateUIPluginRequest, localVarRequestOptions, configuration);
1051
+ return [2 /*return*/, {
1052
+ url: toPathString(localVarUrlObj),
1053
+ axiosOptions: localVarRequestOptions,
1054
+ }];
1055
+ }
1056
+ });
1057
+ });
1058
+ },
1059
+ };
1060
+ };
1061
+ /**
1062
+ * UIPluginsApi - functional programming interface
1063
+ * @export
1064
+ */
1065
+ export var UIPluginsApiFp = function (configuration) {
1066
+ var localVarAxiosParamCreator = UIPluginsApiAxiosParamCreator(configuration);
1067
+ return {
1068
+ /**
1069
+ * Accepts `multipart/form-data` with one or more parts named **`file`**. The bundle-relative path for each object is taken from the part\'s multipart **filename** (`originalname`). Paths are normalized (no `..`, no absolute paths) and stored under `{pluginInstanceId}/{assetBundleId}/...` in S3. Folder structure is preserved, not flattened. Requirements: - Bundle must include root `index.html` - Configurable limits on file count, per-file bytes, and total bundle bytes - Product license `idn:ui-plugins-author` required (404 if missing) - Caller tenant id is present (400 `User context is invalid` otherwise). The plugin instance must belong to that tenant (404 otherwise). Creates a new immutable bundle record; previous active bundles are tombstoned via `cleanupAfter`. Emits the `UI_PLUGIN_ASSET_BUNDLE_CREATED` audit event.
1070
+ * @summary Create a plugin asset bundle
1071
+ * @param {string} pluginInstanceId UUID of the plugin instance
1072
+ * @param {Array<File>} file Repeatable form field. Send one part per file; use the part filename for the bundle-relative path (e.g. &#x60;assets/app.js&#x60;).
1073
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1074
+ * @param {*} [axiosOptions] Override http request option.
1075
+ * @throws {RequiredError}
1076
+ */
1077
+ createUiPluginAssetBundleV1: function (pluginInstanceId, file, xSailPointExperimental, axiosOptions) {
1078
+ var _a, _b, _c;
1079
+ return __awaiter(this, void 0, void 0, function () {
1080
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1081
+ return __generator(this, function (_d) {
1082
+ switch (_d.label) {
1083
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createUiPluginAssetBundleV1(pluginInstanceId, file, xSailPointExperimental, axiosOptions)];
1084
+ case 1:
1085
+ localVarAxiosArgs = _d.sent();
1086
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1087
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.createUiPluginAssetBundleV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1088
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1089
+ }
1090
+ });
1091
+ });
1092
+ },
1093
+ /**
1094
+ * Registers the caller\'s identity against a local HTTPS origin `https://localhost:{port}` in the instance\'s `devOverrides` map. Used by the `sail ui-plugins link` CLI flow. Requires product license `idn:ui-plugins-author` (404 if missing). Returns 400 `User context is invalid` when the caller has no tenant id or identity id. That identity id is the key in `devOverrides`, so the caller can only set their own local-dev URL. A plugin instance in another tenant is 404. Response body contains the updated `devOverrides` map (`identityId` to `https://localhost:{port}`) and `devDocumentHeaders`, the ephemeral `Content-Security-Policy` and `Permissions-Policy` header values a local dev server can use for CSP parity with the deployed plugin.
1095
+ * @summary Create a plugin dev link
1096
+ * @param {string} pluginInstanceId UUID of the plugin instance
1097
+ * @param {LinkUIPluginRequest} linkUIPluginRequest
1098
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1099
+ * @param {*} [axiosOptions] Override http request option.
1100
+ * @throws {RequiredError}
1101
+ */
1102
+ createUiPluginLinkV1: function (pluginInstanceId, linkUIPluginRequest, xSailPointExperimental, axiosOptions) {
1103
+ var _a, _b, _c;
1104
+ return __awaiter(this, void 0, void 0, function () {
1105
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1106
+ return __generator(this, function (_d) {
1107
+ switch (_d.label) {
1108
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createUiPluginLinkV1(pluginInstanceId, linkUIPluginRequest, xSailPointExperimental, axiosOptions)];
1109
+ case 1:
1110
+ localVarAxiosArgs = _d.sent();
1111
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1112
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.createUiPluginLinkV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1113
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1114
+ }
1115
+ });
1116
+ });
1117
+ },
1118
+ /**
1119
+ * Registers a new tenant-scoped plugin installation. Enforces: - Max **20** plugin instances per tenant - Slot registry rules (`slotId` must exist; per-slot `maxPlugins`; no duplicate slotIds) - Alias uniqueness within the tenant (normalized lowercase) - CSP / Permissions-Policy / iframe-allow / iframe-sandbox allowlists - Product license `idn:ui-plugins-author` (404 if missing) - Caller tenant id is present (400 `User context is invalid` otherwise). The instance is created in that tenant. Emits Kafka audit event `UI_PLUGIN_INSTANCE_CREATED` on success. Response body is the created plugin instance plus `devDocumentHeaders`, the ephemeral `Content-Security-Policy` and `Permissions-Policy` header values a local dev server can use for CSP parity with the deployed plugin. They are returned only on create (and link), not when reading the instance.
1120
+ * @summary Create a plugin instance
1121
+ * @param {CreateUIPluginRequest} createUIPluginRequest
1122
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1123
+ * @param {*} [axiosOptions] Override http request option.
1124
+ * @throws {RequiredError}
1125
+ */
1126
+ createUiPluginV1: function (createUIPluginRequest, xSailPointExperimental, axiosOptions) {
1127
+ var _a, _b, _c;
1128
+ return __awaiter(this, void 0, void 0, function () {
1129
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1130
+ return __generator(this, function (_d) {
1131
+ switch (_d.label) {
1132
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createUiPluginV1(createUIPluginRequest, xSailPointExperimental, axiosOptions)];
1133
+ case 1:
1134
+ localVarAxiosArgs = _d.sent();
1135
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1136
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.createUiPluginV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1137
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1138
+ }
1139
+ });
1140
+ });
1141
+ },
1142
+ /**
1143
+ * Removes only the current caller\'s `identityId` entry from `devOverrides`. Other developers\' overrides are preserved. Requires product license `idn:ui-plugins-author` (404 if missing). Returns 400 `User context is invalid` when the caller has no tenant id or identity id. A plugin instance in another tenant is 404.
1144
+ * @summary Delete a plugin dev link
1145
+ * @param {string} pluginInstanceId UUID of the plugin instance
1146
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1147
+ * @param {*} [axiosOptions] Override http request option.
1148
+ * @throws {RequiredError}
1149
+ */
1150
+ deleteUiPluginLinkV1: function (pluginInstanceId, xSailPointExperimental, axiosOptions) {
1151
+ var _a, _b, _c;
1152
+ return __awaiter(this, void 0, void 0, function () {
1153
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1154
+ return __generator(this, function (_d) {
1155
+ switch (_d.label) {
1156
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteUiPluginLinkV1(pluginInstanceId, xSailPointExperimental, axiosOptions)];
1157
+ case 1:
1158
+ localVarAxiosArgs = _d.sent();
1159
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1160
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.deleteUiPluginLinkV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1161
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1162
+ }
1163
+ });
1164
+ });
1165
+ },
1166
+ /**
1167
+ * Deletes the plugin instance and associated resources (asset bundles tombstoned for deferred cleanup). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is deleted only when it belongs to that tenant; a mismatch is 404. Emits Kafka audit event `UI_PLUGIN_INSTANCE_DELETED` on success.
1168
+ * @summary Delete a plugin instance
1169
+ * @param {string} pluginInstanceId UUID of the plugin instance
1170
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1171
+ * @param {*} [axiosOptions] Override http request option.
1172
+ * @throws {RequiredError}
1173
+ */
1174
+ deleteUiPluginV1: function (pluginInstanceId, xSailPointExperimental, axiosOptions) {
1175
+ var _a, _b, _c;
1176
+ return __awaiter(this, void 0, void 0, function () {
1177
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1178
+ return __generator(this, function (_d) {
1179
+ switch (_d.label) {
1180
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteUiPluginV1(pluginInstanceId, xSailPointExperimental, axiosOptions)];
1181
+ case 1:
1182
+ localVarAxiosArgs = _d.sent();
1183
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1184
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.deleteUiPluginV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1185
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1186
+ }
1187
+ });
1188
+ });
1189
+ },
1190
+ /**
1191
+ * Resolves a tenant-scoped alias to its `UiPlugin`. Returns 404 if no match; 409 if the alias is ambiguous (more than one match; should not occur after uniqueness enforcement). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The alias is resolved only within that tenant; no match is 404.
1192
+ * @summary Get plugin by alias
1193
+ * @param {string} alias Alias to resolve within the caller\&#39;s tenant
1194
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1195
+ * @param {*} [axiosOptions] Override http request option.
1196
+ * @throws {RequiredError}
1197
+ */
1198
+ getUiPluginByAliasV1: function (alias, xSailPointExperimental, axiosOptions) {
1199
+ var _a, _b, _c;
1200
+ return __awaiter(this, void 0, void 0, function () {
1201
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1202
+ return __generator(this, function (_d) {
1203
+ switch (_d.label) {
1204
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUiPluginByAliasV1(alias, xSailPointExperimental, axiosOptions)];
1205
+ case 1:
1206
+ localVarAxiosArgs = _d.sent();
1207
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1208
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.getUiPluginByAliasV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1209
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1210
+ }
1211
+ });
1212
+ });
1213
+ },
1214
+ /**
1215
+ * Returns a plugin instance by ID for the caller\'s tenant. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is loaded only when it belongs to that tenant; a mismatch is 404.
1216
+ * @summary Get a plugin instance
1217
+ * @param {string} pluginInstanceId UUID of the plugin instance
1218
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1219
+ * @param {*} [axiosOptions] Override http request option.
1220
+ * @throws {RequiredError}
1221
+ */
1222
+ getUiPluginV1: function (pluginInstanceId, xSailPointExperimental, axiosOptions) {
1223
+ var _a, _b, _c;
1224
+ return __awaiter(this, void 0, void 0, function () {
1225
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1226
+ return __generator(this, function (_d) {
1227
+ switch (_d.label) {
1228
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUiPluginV1(pluginInstanceId, xSailPointExperimental, axiosOptions)];
1229
+ case 1:
1230
+ localVarAxiosArgs = _d.sent();
1231
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1232
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.getUiPluginV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1233
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1234
+ }
1235
+ });
1236
+ });
1237
+ },
1238
+ /**
1239
+ * Returns asset bundles for the given plugin instance (newest-first). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. Bundles are listed only when the plugin instance belongs to that tenant; a mismatch is 404.
1240
+ * @summary List plugin asset bundles
1241
+ * @param {string} pluginInstanceId UUID of the plugin instance
1242
+ * @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
1243
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
1244
+ * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count&#x3D;true** if that value will not be used. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
1245
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1246
+ * @param {*} [axiosOptions] Override http request option.
1247
+ * @throws {RequiredError}
1248
+ */
1249
+ listUiPluginAssetBundlesV1: function (pluginInstanceId, limit, offset, count, xSailPointExperimental, axiosOptions) {
1250
+ var _a, _b, _c;
1251
+ return __awaiter(this, void 0, void 0, function () {
1252
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1253
+ return __generator(this, function (_d) {
1254
+ switch (_d.label) {
1255
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listUiPluginAssetBundlesV1(pluginInstanceId, limit, offset, count, xSailPointExperimental, axiosOptions)];
1256
+ case 1:
1257
+ localVarAxiosArgs = _d.sent();
1258
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1259
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.listUiPluginAssetBundlesV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1260
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1261
+ }
1262
+ });
1263
+ });
1264
+ },
1265
+ /**
1266
+ * Returns the static slot registry (extension points the platform exposes). `name` / `description` are localized via AtlasJS TranslateService. Filtering uses API Standard Collection Parameters. `state` supports `eq` with values `active`, `deprecated`, or `removed`. Example: `filters=state eq \"active\"`. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present).
1267
+ * @summary List UI plugin slots
1268
+ * @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **state**: *eq*
1269
+ * @param {boolean} [allLangs] When &#x60;true&#x60;, &#x60;name&#x60; and &#x60;description&#x60; are returned as full locale maps instead of a single translated string.
1270
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1271
+ * @param {*} [axiosOptions] Override http request option.
1272
+ * @throws {RequiredError}
1273
+ */
1274
+ listUiPluginSlotsV1: function (filters, allLangs, xSailPointExperimental, axiosOptions) {
1275
+ var _a, _b, _c;
1276
+ return __awaiter(this, void 0, void 0, function () {
1277
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1278
+ return __generator(this, function (_d) {
1279
+ switch (_d.label) {
1280
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listUiPluginSlotsV1(filters, allLangs, xSailPointExperimental, axiosOptions)];
1281
+ case 1:
1282
+ localVarAxiosArgs = _d.sent();
1283
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1284
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.listUiPluginSlotsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1285
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1286
+ }
1287
+ });
1288
+ });
1289
+ },
1290
+ /**
1291
+ * Returns plugin instances for the caller\'s tenant with optional V3-style pagination. When `count=true`, the response includes header `x-total-count`. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. Results include only that tenant\'s plugin instances.
1292
+ * @summary List plugin instances
1293
+ * @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
1294
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
1295
+ * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count&#x3D;true** if that value will not be used. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
1296
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1297
+ * @param {*} [axiosOptions] Override http request option.
1298
+ * @throws {RequiredError}
1299
+ */
1300
+ listUiPluginsV1: function (limit, offset, count, xSailPointExperimental, axiosOptions) {
1301
+ var _a, _b, _c;
1302
+ return __awaiter(this, void 0, void 0, function () {
1303
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1304
+ return __generator(this, function (_d) {
1305
+ switch (_d.label) {
1306
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listUiPluginsV1(limit, offset, count, xSailPointExperimental, axiosOptions)];
1307
+ case 1:
1308
+ localVarAxiosArgs = _d.sent();
1309
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1310
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.listUiPluginsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1311
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1312
+ }
1313
+ });
1314
+ });
1315
+ },
1316
+ /**
1317
+ * Checks whether the given alias is available within the caller\'s tenant. Alias is normalized (trim + lowercase) server-side. Success returns an empty body (HTTP 200). Conflict when the alias is taken. UUID-shaped aliases are rejected as invalid. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The alias is evaluated only within that tenant.
1318
+ * @summary Test plugin alias availability
1319
+ * @param {string} alias Alias to validate (3-63 chars; letters, numbers, dashes; no leading/trailing/consecutive dashes)
1320
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1321
+ * @param {*} [axiosOptions] Override http request option.
1322
+ * @throws {RequiredError}
1323
+ */
1324
+ testUiPluginAliasV1: function (alias, xSailPointExperimental, axiosOptions) {
1325
+ var _a, _b, _c;
1326
+ return __awaiter(this, void 0, void 0, function () {
1327
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1328
+ return __generator(this, function (_d) {
1329
+ switch (_d.label) {
1330
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.testUiPluginAliasV1(alias, xSailPointExperimental, axiosOptions)];
1331
+ case 1:
1332
+ localVarAxiosArgs = _d.sent();
1333
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1334
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.testUiPluginAliasV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1335
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1336
+ }
1337
+ });
1338
+ });
1339
+ },
1340
+ /**
1341
+ * Patch any subset of mutable fields. When `slots` is provided, replaces the entire slots list and re-validates registry / maxPlugins rules. When `apiScopes` is provided, replaces the entire scopes list. When `iframeSandbox` is provided, replaces the entire sandbox grant list; unlike CSP / Permissions-Policy changes, it does not rotate the active asset bundle. `state` may be set to `ENABLED` or `DISABLED` (DISABLED omits the instance from active-slots delivery). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is updated only when it belongs to that tenant; a mismatch is 404. Emits Kafka audit event `UI_PLUGIN_INSTANCE_UPDATED` on success.
1342
+ * @summary Partially update a plugin instance
1343
+ * @param {string} pluginInstanceId UUID of the plugin instance
1344
+ * @param {UpdateUIPluginRequest} updateUIPluginRequest
1345
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1346
+ * @param {*} [axiosOptions] Override http request option.
1347
+ * @throws {RequiredError}
1348
+ */
1349
+ updateUiPluginV1: function (pluginInstanceId, updateUIPluginRequest, xSailPointExperimental, axiosOptions) {
1350
+ var _a, _b, _c;
1351
+ return __awaiter(this, void 0, void 0, function () {
1352
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1353
+ return __generator(this, function (_d) {
1354
+ switch (_d.label) {
1355
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateUiPluginV1(pluginInstanceId, updateUIPluginRequest, xSailPointExperimental, axiosOptions)];
1356
+ case 1:
1357
+ localVarAxiosArgs = _d.sent();
1358
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1359
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['UIPluginsApi.updateUiPluginV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1360
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1361
+ }
1362
+ });
1363
+ });
1364
+ },
1365
+ };
1366
+ };
1367
+ /**
1368
+ * UIPluginsApi - factory interface
1369
+ * @export
1370
+ */
1371
+ export var UIPluginsApiFactory = function (configuration, basePath, axios) {
1372
+ var localVarFp = UIPluginsApiFp(configuration);
1373
+ return {
1374
+ /**
1375
+ * Accepts `multipart/form-data` with one or more parts named **`file`**. The bundle-relative path for each object is taken from the part\'s multipart **filename** (`originalname`). Paths are normalized (no `..`, no absolute paths) and stored under `{pluginInstanceId}/{assetBundleId}/...` in S3. Folder structure is preserved, not flattened. Requirements: - Bundle must include root `index.html` - Configurable limits on file count, per-file bytes, and total bundle bytes - Product license `idn:ui-plugins-author` required (404 if missing) - Caller tenant id is present (400 `User context is invalid` otherwise). The plugin instance must belong to that tenant (404 otherwise). Creates a new immutable bundle record; previous active bundles are tombstoned via `cleanupAfter`. Emits the `UI_PLUGIN_ASSET_BUNDLE_CREATED` audit event.
1376
+ * @summary Create a plugin asset bundle
1377
+ * @param {UIPluginsApiCreateUiPluginAssetBundleV1Request} requestParameters Request parameters.
1378
+ * @param {*} [axiosOptions] Override http request option.
1379
+ * @throws {RequiredError}
1380
+ */
1381
+ createUiPluginAssetBundleV1: function (requestParameters, axiosOptions) {
1382
+ return localVarFp.createUiPluginAssetBundleV1(requestParameters.pluginInstanceId, requestParameters.file, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1383
+ },
1384
+ /**
1385
+ * Registers the caller\'s identity against a local HTTPS origin `https://localhost:{port}` in the instance\'s `devOverrides` map. Used by the `sail ui-plugins link` CLI flow. Requires product license `idn:ui-plugins-author` (404 if missing). Returns 400 `User context is invalid` when the caller has no tenant id or identity id. That identity id is the key in `devOverrides`, so the caller can only set their own local-dev URL. A plugin instance in another tenant is 404. Response body contains the updated `devOverrides` map (`identityId` to `https://localhost:{port}`) and `devDocumentHeaders`, the ephemeral `Content-Security-Policy` and `Permissions-Policy` header values a local dev server can use for CSP parity with the deployed plugin.
1386
+ * @summary Create a plugin dev link
1387
+ * @param {UIPluginsApiCreateUiPluginLinkV1Request} requestParameters Request parameters.
1388
+ * @param {*} [axiosOptions] Override http request option.
1389
+ * @throws {RequiredError}
1390
+ */
1391
+ createUiPluginLinkV1: function (requestParameters, axiosOptions) {
1392
+ return localVarFp.createUiPluginLinkV1(requestParameters.pluginInstanceId, requestParameters.linkUIPluginRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1393
+ },
1394
+ /**
1395
+ * Registers a new tenant-scoped plugin installation. Enforces: - Max **20** plugin instances per tenant - Slot registry rules (`slotId` must exist; per-slot `maxPlugins`; no duplicate slotIds) - Alias uniqueness within the tenant (normalized lowercase) - CSP / Permissions-Policy / iframe-allow / iframe-sandbox allowlists - Product license `idn:ui-plugins-author` (404 if missing) - Caller tenant id is present (400 `User context is invalid` otherwise). The instance is created in that tenant. Emits Kafka audit event `UI_PLUGIN_INSTANCE_CREATED` on success. Response body is the created plugin instance plus `devDocumentHeaders`, the ephemeral `Content-Security-Policy` and `Permissions-Policy` header values a local dev server can use for CSP parity with the deployed plugin. They are returned only on create (and link), not when reading the instance.
1396
+ * @summary Create a plugin instance
1397
+ * @param {UIPluginsApiCreateUiPluginV1Request} requestParameters Request parameters.
1398
+ * @param {*} [axiosOptions] Override http request option.
1399
+ * @throws {RequiredError}
1400
+ */
1401
+ createUiPluginV1: function (requestParameters, axiosOptions) {
1402
+ return localVarFp.createUiPluginV1(requestParameters.createUIPluginRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1403
+ },
1404
+ /**
1405
+ * Removes only the current caller\'s `identityId` entry from `devOverrides`. Other developers\' overrides are preserved. Requires product license `idn:ui-plugins-author` (404 if missing). Returns 400 `User context is invalid` when the caller has no tenant id or identity id. A plugin instance in another tenant is 404.
1406
+ * @summary Delete a plugin dev link
1407
+ * @param {UIPluginsApiDeleteUiPluginLinkV1Request} requestParameters Request parameters.
1408
+ * @param {*} [axiosOptions] Override http request option.
1409
+ * @throws {RequiredError}
1410
+ */
1411
+ deleteUiPluginLinkV1: function (requestParameters, axiosOptions) {
1412
+ return localVarFp.deleteUiPluginLinkV1(requestParameters.pluginInstanceId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1413
+ },
1414
+ /**
1415
+ * Deletes the plugin instance and associated resources (asset bundles tombstoned for deferred cleanup). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is deleted only when it belongs to that tenant; a mismatch is 404. Emits Kafka audit event `UI_PLUGIN_INSTANCE_DELETED` on success.
1416
+ * @summary Delete a plugin instance
1417
+ * @param {UIPluginsApiDeleteUiPluginV1Request} requestParameters Request parameters.
1418
+ * @param {*} [axiosOptions] Override http request option.
1419
+ * @throws {RequiredError}
1420
+ */
1421
+ deleteUiPluginV1: function (requestParameters, axiosOptions) {
1422
+ return localVarFp.deleteUiPluginV1(requestParameters.pluginInstanceId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1423
+ },
1424
+ /**
1425
+ * Resolves a tenant-scoped alias to its `UiPlugin`. Returns 404 if no match; 409 if the alias is ambiguous (more than one match; should not occur after uniqueness enforcement). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The alias is resolved only within that tenant; no match is 404.
1426
+ * @summary Get plugin by alias
1427
+ * @param {UIPluginsApiGetUiPluginByAliasV1Request} requestParameters Request parameters.
1428
+ * @param {*} [axiosOptions] Override http request option.
1429
+ * @throws {RequiredError}
1430
+ */
1431
+ getUiPluginByAliasV1: function (requestParameters, axiosOptions) {
1432
+ return localVarFp.getUiPluginByAliasV1(requestParameters.alias, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1433
+ },
1434
+ /**
1435
+ * Returns a plugin instance by ID for the caller\'s tenant. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is loaded only when it belongs to that tenant; a mismatch is 404.
1436
+ * @summary Get a plugin instance
1437
+ * @param {UIPluginsApiGetUiPluginV1Request} requestParameters Request parameters.
1438
+ * @param {*} [axiosOptions] Override http request option.
1439
+ * @throws {RequiredError}
1440
+ */
1441
+ getUiPluginV1: function (requestParameters, axiosOptions) {
1442
+ return localVarFp.getUiPluginV1(requestParameters.pluginInstanceId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1443
+ },
1444
+ /**
1445
+ * Returns asset bundles for the given plugin instance (newest-first). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. Bundles are listed only when the plugin instance belongs to that tenant; a mismatch is 404.
1446
+ * @summary List plugin asset bundles
1447
+ * @param {UIPluginsApiListUiPluginAssetBundlesV1Request} requestParameters Request parameters.
1448
+ * @param {*} [axiosOptions] Override http request option.
1449
+ * @throws {RequiredError}
1450
+ */
1451
+ listUiPluginAssetBundlesV1: function (requestParameters, axiosOptions) {
1452
+ return localVarFp.listUiPluginAssetBundlesV1(requestParameters.pluginInstanceId, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1453
+ },
1454
+ /**
1455
+ * Returns the static slot registry (extension points the platform exposes). `name` / `description` are localized via AtlasJS TranslateService. Filtering uses API Standard Collection Parameters. `state` supports `eq` with values `active`, `deprecated`, or `removed`. Example: `filters=state eq \"active\"`. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present).
1456
+ * @summary List UI plugin slots
1457
+ * @param {UIPluginsApiListUiPluginSlotsV1Request} requestParameters Request parameters.
1458
+ * @param {*} [axiosOptions] Override http request option.
1459
+ * @throws {RequiredError}
1460
+ */
1461
+ listUiPluginSlotsV1: function (requestParameters, axiosOptions) {
1462
+ if (requestParameters === void 0) { requestParameters = {}; }
1463
+ return localVarFp.listUiPluginSlotsV1(requestParameters.filters, requestParameters.allLangs, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1464
+ },
1465
+ /**
1466
+ * Returns plugin instances for the caller\'s tenant with optional V3-style pagination. When `count=true`, the response includes header `x-total-count`. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. Results include only that tenant\'s plugin instances.
1467
+ * @summary List plugin instances
1468
+ * @param {UIPluginsApiListUiPluginsV1Request} requestParameters Request parameters.
1469
+ * @param {*} [axiosOptions] Override http request option.
1470
+ * @throws {RequiredError}
1471
+ */
1472
+ listUiPluginsV1: function (requestParameters, axiosOptions) {
1473
+ if (requestParameters === void 0) { requestParameters = {}; }
1474
+ return localVarFp.listUiPluginsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1475
+ },
1476
+ /**
1477
+ * Checks whether the given alias is available within the caller\'s tenant. Alias is normalized (trim + lowercase) server-side. Success returns an empty body (HTTP 200). Conflict when the alias is taken. UUID-shaped aliases are rejected as invalid. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The alias is evaluated only within that tenant.
1478
+ * @summary Test plugin alias availability
1479
+ * @param {UIPluginsApiTestUiPluginAliasV1Request} requestParameters Request parameters.
1480
+ * @param {*} [axiosOptions] Override http request option.
1481
+ * @throws {RequiredError}
1482
+ */
1483
+ testUiPluginAliasV1: function (requestParameters, axiosOptions) {
1484
+ return localVarFp.testUiPluginAliasV1(requestParameters.alias, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1485
+ },
1486
+ /**
1487
+ * Patch any subset of mutable fields. When `slots` is provided, replaces the entire slots list and re-validates registry / maxPlugins rules. When `apiScopes` is provided, replaces the entire scopes list. When `iframeSandbox` is provided, replaces the entire sandbox grant list; unlike CSP / Permissions-Policy changes, it does not rotate the active asset bundle. `state` may be set to `ENABLED` or `DISABLED` (DISABLED omits the instance from active-slots delivery). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is updated only when it belongs to that tenant; a mismatch is 404. Emits Kafka audit event `UI_PLUGIN_INSTANCE_UPDATED` on success.
1488
+ * @summary Partially update a plugin instance
1489
+ * @param {UIPluginsApiUpdateUiPluginV1Request} requestParameters Request parameters.
1490
+ * @param {*} [axiosOptions] Override http request option.
1491
+ * @throws {RequiredError}
1492
+ */
1493
+ updateUiPluginV1: function (requestParameters, axiosOptions) {
1494
+ return localVarFp.updateUiPluginV1(requestParameters.pluginInstanceId, requestParameters.updateUIPluginRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1495
+ },
1496
+ };
1497
+ };
1498
+ /**
1499
+ * UIPluginsApi - object-oriented interface
1500
+ * @export
1501
+ * @class UIPluginsApi
1502
+ * @extends {BaseAPI}
1503
+ */
1504
+ var UIPluginsApi = /** @class */ (function (_super) {
1505
+ __extends(UIPluginsApi, _super);
1506
+ function UIPluginsApi() {
1507
+ return _super !== null && _super.apply(this, arguments) || this;
1508
+ }
1509
+ /**
1510
+ * Accepts `multipart/form-data` with one or more parts named **`file`**. The bundle-relative path for each object is taken from the part\'s multipart **filename** (`originalname`). Paths are normalized (no `..`, no absolute paths) and stored under `{pluginInstanceId}/{assetBundleId}/...` in S3. Folder structure is preserved, not flattened. Requirements: - Bundle must include root `index.html` - Configurable limits on file count, per-file bytes, and total bundle bytes - Product license `idn:ui-plugins-author` required (404 if missing) - Caller tenant id is present (400 `User context is invalid` otherwise). The plugin instance must belong to that tenant (404 otherwise). Creates a new immutable bundle record; previous active bundles are tombstoned via `cleanupAfter`. Emits the `UI_PLUGIN_ASSET_BUNDLE_CREATED` audit event.
1511
+ * @summary Create a plugin asset bundle
1512
+ * @param {UIPluginsApiCreateUiPluginAssetBundleV1Request} requestParameters Request parameters.
1513
+ * @param {*} [axiosOptions] Override http request option.
1514
+ * @throws {RequiredError}
1515
+ * @memberof UIPluginsApi
1516
+ */
1517
+ UIPluginsApi.prototype.createUiPluginAssetBundleV1 = function (requestParameters, axiosOptions) {
1518
+ var _this = this;
1519
+ return UIPluginsApiFp(this.configuration).createUiPluginAssetBundleV1(requestParameters.pluginInstanceId, requestParameters.file, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1520
+ };
1521
+ /**
1522
+ * Registers the caller\'s identity against a local HTTPS origin `https://localhost:{port}` in the instance\'s `devOverrides` map. Used by the `sail ui-plugins link` CLI flow. Requires product license `idn:ui-plugins-author` (404 if missing). Returns 400 `User context is invalid` when the caller has no tenant id or identity id. That identity id is the key in `devOverrides`, so the caller can only set their own local-dev URL. A plugin instance in another tenant is 404. Response body contains the updated `devOverrides` map (`identityId` to `https://localhost:{port}`) and `devDocumentHeaders`, the ephemeral `Content-Security-Policy` and `Permissions-Policy` header values a local dev server can use for CSP parity with the deployed plugin.
1523
+ * @summary Create a plugin dev link
1524
+ * @param {UIPluginsApiCreateUiPluginLinkV1Request} requestParameters Request parameters.
1525
+ * @param {*} [axiosOptions] Override http request option.
1526
+ * @throws {RequiredError}
1527
+ * @memberof UIPluginsApi
1528
+ */
1529
+ UIPluginsApi.prototype.createUiPluginLinkV1 = function (requestParameters, axiosOptions) {
1530
+ var _this = this;
1531
+ return UIPluginsApiFp(this.configuration).createUiPluginLinkV1(requestParameters.pluginInstanceId, requestParameters.linkUIPluginRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1532
+ };
1533
+ /**
1534
+ * Registers a new tenant-scoped plugin installation. Enforces: - Max **20** plugin instances per tenant - Slot registry rules (`slotId` must exist; per-slot `maxPlugins`; no duplicate slotIds) - Alias uniqueness within the tenant (normalized lowercase) - CSP / Permissions-Policy / iframe-allow / iframe-sandbox allowlists - Product license `idn:ui-plugins-author` (404 if missing) - Caller tenant id is present (400 `User context is invalid` otherwise). The instance is created in that tenant. Emits Kafka audit event `UI_PLUGIN_INSTANCE_CREATED` on success. Response body is the created plugin instance plus `devDocumentHeaders`, the ephemeral `Content-Security-Policy` and `Permissions-Policy` header values a local dev server can use for CSP parity with the deployed plugin. They are returned only on create (and link), not when reading the instance.
1535
+ * @summary Create a plugin instance
1536
+ * @param {UIPluginsApiCreateUiPluginV1Request} requestParameters Request parameters.
1537
+ * @param {*} [axiosOptions] Override http request option.
1538
+ * @throws {RequiredError}
1539
+ * @memberof UIPluginsApi
1540
+ */
1541
+ UIPluginsApi.prototype.createUiPluginV1 = function (requestParameters, axiosOptions) {
1542
+ var _this = this;
1543
+ return UIPluginsApiFp(this.configuration).createUiPluginV1(requestParameters.createUIPluginRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1544
+ };
1545
+ /**
1546
+ * Removes only the current caller\'s `identityId` entry from `devOverrides`. Other developers\' overrides are preserved. Requires product license `idn:ui-plugins-author` (404 if missing). Returns 400 `User context is invalid` when the caller has no tenant id or identity id. A plugin instance in another tenant is 404.
1547
+ * @summary Delete a plugin dev link
1548
+ * @param {UIPluginsApiDeleteUiPluginLinkV1Request} requestParameters Request parameters.
1549
+ * @param {*} [axiosOptions] Override http request option.
1550
+ * @throws {RequiredError}
1551
+ * @memberof UIPluginsApi
1552
+ */
1553
+ UIPluginsApi.prototype.deleteUiPluginLinkV1 = function (requestParameters, axiosOptions) {
1554
+ var _this = this;
1555
+ return UIPluginsApiFp(this.configuration).deleteUiPluginLinkV1(requestParameters.pluginInstanceId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1556
+ };
1557
+ /**
1558
+ * Deletes the plugin instance and associated resources (asset bundles tombstoned for deferred cleanup). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is deleted only when it belongs to that tenant; a mismatch is 404. Emits Kafka audit event `UI_PLUGIN_INSTANCE_DELETED` on success.
1559
+ * @summary Delete a plugin instance
1560
+ * @param {UIPluginsApiDeleteUiPluginV1Request} requestParameters Request parameters.
1561
+ * @param {*} [axiosOptions] Override http request option.
1562
+ * @throws {RequiredError}
1563
+ * @memberof UIPluginsApi
1564
+ */
1565
+ UIPluginsApi.prototype.deleteUiPluginV1 = function (requestParameters, axiosOptions) {
1566
+ var _this = this;
1567
+ return UIPluginsApiFp(this.configuration).deleteUiPluginV1(requestParameters.pluginInstanceId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1568
+ };
1569
+ /**
1570
+ * Resolves a tenant-scoped alias to its `UiPlugin`. Returns 404 if no match; 409 if the alias is ambiguous (more than one match; should not occur after uniqueness enforcement). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The alias is resolved only within that tenant; no match is 404.
1571
+ * @summary Get plugin by alias
1572
+ * @param {UIPluginsApiGetUiPluginByAliasV1Request} requestParameters Request parameters.
1573
+ * @param {*} [axiosOptions] Override http request option.
1574
+ * @throws {RequiredError}
1575
+ * @memberof UIPluginsApi
1576
+ */
1577
+ UIPluginsApi.prototype.getUiPluginByAliasV1 = function (requestParameters, axiosOptions) {
1578
+ var _this = this;
1579
+ return UIPluginsApiFp(this.configuration).getUiPluginByAliasV1(requestParameters.alias, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1580
+ };
1581
+ /**
1582
+ * Returns a plugin instance by ID for the caller\'s tenant. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is loaded only when it belongs to that tenant; a mismatch is 404.
1583
+ * @summary Get a plugin instance
1584
+ * @param {UIPluginsApiGetUiPluginV1Request} requestParameters Request parameters.
1585
+ * @param {*} [axiosOptions] Override http request option.
1586
+ * @throws {RequiredError}
1587
+ * @memberof UIPluginsApi
1588
+ */
1589
+ UIPluginsApi.prototype.getUiPluginV1 = function (requestParameters, axiosOptions) {
1590
+ var _this = this;
1591
+ return UIPluginsApiFp(this.configuration).getUiPluginV1(requestParameters.pluginInstanceId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1592
+ };
1593
+ /**
1594
+ * Returns asset bundles for the given plugin instance (newest-first). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. Bundles are listed only when the plugin instance belongs to that tenant; a mismatch is 404.
1595
+ * @summary List plugin asset bundles
1596
+ * @param {UIPluginsApiListUiPluginAssetBundlesV1Request} requestParameters Request parameters.
1597
+ * @param {*} [axiosOptions] Override http request option.
1598
+ * @throws {RequiredError}
1599
+ * @memberof UIPluginsApi
1600
+ */
1601
+ UIPluginsApi.prototype.listUiPluginAssetBundlesV1 = function (requestParameters, axiosOptions) {
1602
+ var _this = this;
1603
+ return UIPluginsApiFp(this.configuration).listUiPluginAssetBundlesV1(requestParameters.pluginInstanceId, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1604
+ };
1605
+ /**
1606
+ * Returns the static slot registry (extension points the platform exposes). `name` / `description` are localized via AtlasJS TranslateService. Filtering uses API Standard Collection Parameters. `state` supports `eq` with values `active`, `deprecated`, or `removed`. Example: `filters=state eq \"active\"`. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present).
1607
+ * @summary List UI plugin slots
1608
+ * @param {UIPluginsApiListUiPluginSlotsV1Request} requestParameters Request parameters.
1609
+ * @param {*} [axiosOptions] Override http request option.
1610
+ * @throws {RequiredError}
1611
+ * @memberof UIPluginsApi
1612
+ */
1613
+ UIPluginsApi.prototype.listUiPluginSlotsV1 = function (requestParameters, axiosOptions) {
1614
+ var _this = this;
1615
+ if (requestParameters === void 0) { requestParameters = {}; }
1616
+ return UIPluginsApiFp(this.configuration).listUiPluginSlotsV1(requestParameters.filters, requestParameters.allLangs, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1617
+ };
1618
+ /**
1619
+ * Returns plugin instances for the caller\'s tenant with optional V3-style pagination. When `count=true`, the response includes header `x-total-count`. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. Results include only that tenant\'s plugin instances.
1620
+ * @summary List plugin instances
1621
+ * @param {UIPluginsApiListUiPluginsV1Request} requestParameters Request parameters.
1622
+ * @param {*} [axiosOptions] Override http request option.
1623
+ * @throws {RequiredError}
1624
+ * @memberof UIPluginsApi
1625
+ */
1626
+ UIPluginsApi.prototype.listUiPluginsV1 = function (requestParameters, axiosOptions) {
1627
+ var _this = this;
1628
+ if (requestParameters === void 0) { requestParameters = {}; }
1629
+ return UIPluginsApiFp(this.configuration).listUiPluginsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1630
+ };
1631
+ /**
1632
+ * Checks whether the given alias is available within the caller\'s tenant. Alias is normalized (trim + lowercase) server-side. Success returns an empty body (HTTP 200). Conflict when the alias is taken. UUID-shaped aliases are rejected as invalid. Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The alias is evaluated only within that tenant.
1633
+ * @summary Test plugin alias availability
1634
+ * @param {UIPluginsApiTestUiPluginAliasV1Request} requestParameters Request parameters.
1635
+ * @param {*} [axiosOptions] Override http request option.
1636
+ * @throws {RequiredError}
1637
+ * @memberof UIPluginsApi
1638
+ */
1639
+ UIPluginsApi.prototype.testUiPluginAliasV1 = function (requestParameters, axiosOptions) {
1640
+ var _this = this;
1641
+ return UIPluginsApiFp(this.configuration).testUiPluginAliasV1(requestParameters.alias, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1642
+ };
1643
+ /**
1644
+ * Patch any subset of mutable fields. When `slots` is provided, replaces the entire slots list and re-validates registry / maxPlugins rules. When `apiScopes` is provided, replaces the entire scopes list. When `iframeSandbox` is provided, replaces the entire sandbox grant list; unlike CSP / Permissions-Policy changes, it does not rotate the active asset bundle. `state` may be set to `ENABLED` or `DISABLED` (DISABLED omits the instance from active-slots delivery). Requires product license `idn:ui-plugins` or `idn:ui-plugins-author` (404 if neither is present). Returns 400 `User context is invalid` when the caller has no tenant id. The instance is updated only when it belongs to that tenant; a mismatch is 404. Emits Kafka audit event `UI_PLUGIN_INSTANCE_UPDATED` on success.
1645
+ * @summary Partially update a plugin instance
1646
+ * @param {UIPluginsApiUpdateUiPluginV1Request} requestParameters Request parameters.
1647
+ * @param {*} [axiosOptions] Override http request option.
1648
+ * @throws {RequiredError}
1649
+ * @memberof UIPluginsApi
1650
+ */
1651
+ UIPluginsApi.prototype.updateUiPluginV1 = function (requestParameters, axiosOptions) {
1652
+ var _this = this;
1653
+ return UIPluginsApiFp(this.configuration).updateUiPluginV1(requestParameters.pluginInstanceId, requestParameters.updateUIPluginRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1654
+ };
1655
+ return UIPluginsApi;
1656
+ }(BaseAPI));
1657
+ export { UIPluginsApi };