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