sailpoint-api-client 1.7.27 → 1.7.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/beta/README.md +2 -2
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/common.js +1 -1
- package/dist/v2024/api.d.ts +2 -2
- package/dist/v2024/common.js +1 -1
- package/dist/v2025/api.d.ts +2 -2
- package/dist/v2025/common.js +1 -1
- package/dist/v2026/api.d.ts +179 -0
- package/dist/v2026/api.js +180 -1
- package/dist/v2026/api.js.map +1 -1
- package/dist/v2026/common.js +1 -1
- package/dist/v3/common.js +1 -1
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/api.ts +2 -2
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +2 -2
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +255 -0
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/beta/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.7.
|
|
1
|
+
## sailpoint-sdk@1.7.29
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-sdk@1.7.
|
|
39
|
+
npm install sailpoint-sdk@1.7.29 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/beta/common.ts
CHANGED
|
@@ -147,9 +147,9 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
149
|
const headers = {
|
|
150
|
-
...{'User-Agent':'OpenAPI-Generator/1.7.
|
|
150
|
+
...{'User-Agent':'OpenAPI-Generator/1.7.29/ts'},
|
|
151
151
|
...axiosArgs.axiosOptions.headers,
|
|
152
|
-
...{'X-SailPoint-SDK':'typescript-1.7.
|
|
152
|
+
...{'X-SailPoint-SDK':'typescript-1.7.29'}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
package/beta/package.json
CHANGED
package/dist/beta/common.js
CHANGED
|
@@ -250,7 +250,7 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
250
250
|
if (axios === void 0) { axios = globalAxios; }
|
|
251
251
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
252
252
|
(0, axios_retry_1.default)(axios, configuration.retriesConfig);
|
|
253
|
-
var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.7.
|
|
253
|
+
var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.7.29/ts' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.7.29' });
|
|
254
254
|
if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
255
255
|
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
|
|
256
256
|
}
|
package/dist/v2024/api.d.ts
CHANGED
|
@@ -6119,7 +6119,7 @@ export interface ApprovalReferenceV2024 {
|
|
|
6119
6119
|
'type'?: string;
|
|
6120
6120
|
}
|
|
6121
6121
|
/**
|
|
6122
|
-
*
|
|
6122
|
+
* Configuration for approval reminder and escalation behavior. Important: Modifying this object will override the sp-approval service\'s reminderConfig and escalationConfig settings. Changes made here take precedence over any configuration set directly in the sp-approval service.
|
|
6123
6123
|
* @export
|
|
6124
6124
|
* @interface ApprovalReminderAndEscalationConfigV2024
|
|
6125
6125
|
*/
|
|
@@ -6137,7 +6137,7 @@ export interface ApprovalReminderAndEscalationConfigV2024 {
|
|
|
6137
6137
|
*/
|
|
6138
6138
|
'daysBetweenReminders'?: number | null;
|
|
6139
6139
|
/**
|
|
6140
|
-
* Maximum number of reminder
|
|
6140
|
+
* Maximum number of reminder notifications to send to the reviewer before approval escalation. The maximum allowed value is 20.
|
|
6141
6141
|
* @type {number}
|
|
6142
6142
|
* @memberof ApprovalReminderAndEscalationConfigV2024
|
|
6143
6143
|
*/
|
package/dist/v2024/common.js
CHANGED
|
@@ -250,7 +250,7 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
250
250
|
if (axios === void 0) { axios = globalAxios; }
|
|
251
251
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
252
252
|
(0, axios_retry_1.default)(axios, configuration.retriesConfig);
|
|
253
|
-
var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.7.
|
|
253
|
+
var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.7.29/ts' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.7.29' });
|
|
254
254
|
if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
255
255
|
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
|
|
256
256
|
}
|
package/dist/v2025/api.d.ts
CHANGED
|
@@ -7805,7 +7805,7 @@ export interface ApprovalRejectRequestV2025 {
|
|
|
7805
7805
|
'comment'?: string;
|
|
7806
7806
|
}
|
|
7807
7807
|
/**
|
|
7808
|
-
*
|
|
7808
|
+
* Configuration for approval reminder and escalation behavior. Important: Modifying this object will override the sp-approval service\'s reminderConfig and escalationConfig settings. Changes made here take precedence over any configuration set directly in the sp-approval service.
|
|
7809
7809
|
* @export
|
|
7810
7810
|
* @interface ApprovalReminderAndEscalationConfigV2025
|
|
7811
7811
|
*/
|
|
@@ -7823,7 +7823,7 @@ export interface ApprovalReminderAndEscalationConfigV2025 {
|
|
|
7823
7823
|
*/
|
|
7824
7824
|
'daysBetweenReminders'?: number | null;
|
|
7825
7825
|
/**
|
|
7826
|
-
* Maximum number of reminder
|
|
7826
|
+
* Maximum number of reminder notifications to send to the reviewer before approval escalation. The maximum allowed value is 20.
|
|
7827
7827
|
* @type {number}
|
|
7828
7828
|
* @memberof ApprovalReminderAndEscalationConfigV2025
|
|
7829
7829
|
*/
|
package/dist/v2025/common.js
CHANGED
|
@@ -250,7 +250,7 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
250
250
|
if (axios === void 0) { axios = globalAxios; }
|
|
251
251
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
252
252
|
(0, axios_retry_1.default)(axios, configuration.retriesConfig);
|
|
253
|
-
var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.7.
|
|
253
|
+
var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.7.29/ts' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.7.29' });
|
|
254
254
|
if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
255
255
|
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
|
|
256
256
|
}
|
package/dist/v2026/api.d.ts
CHANGED
|
@@ -1793,6 +1793,88 @@ export declare const TaskStatusV2026CompletionStatusV2026: {
|
|
|
1793
1793
|
readonly Temperror: "TEMPERROR";
|
|
1794
1794
|
};
|
|
1795
1795
|
export type TaskStatusV2026CompletionStatusV2026 = typeof TaskStatusV2026CompletionStatusV2026[keyof typeof TaskStatusV2026CompletionStatusV2026];
|
|
1796
|
+
/**
|
|
1797
|
+
* The notification delivery medium.
|
|
1798
|
+
* @export
|
|
1799
|
+
* @enum {string}
|
|
1800
|
+
*/
|
|
1801
|
+
export declare const TemplateMediumDtoV2026: {
|
|
1802
|
+
readonly Email: "EMAIL";
|
|
1803
|
+
readonly Slack: "SLACK";
|
|
1804
|
+
readonly Teams: "TEAMS";
|
|
1805
|
+
};
|
|
1806
|
+
export type TemplateMediumDtoV2026 = typeof TemplateMediumDtoV2026[keyof typeof TemplateMediumDtoV2026];
|
|
1807
|
+
/**
|
|
1808
|
+
* A variable available for use in a notification template. Variables can be template-specific (from domain events) or global (available to all templates like __recipient, __global, __util). Template variables provide self-documenting metadata about what variables are available when customizing notification templates.
|
|
1809
|
+
* @export
|
|
1810
|
+
* @interface TemplateVariableV2026
|
|
1811
|
+
*/
|
|
1812
|
+
export interface TemplateVariableV2026 {
|
|
1813
|
+
/**
|
|
1814
|
+
* The variable name as used when rendering context in templates.
|
|
1815
|
+
* @type {string}
|
|
1816
|
+
* @memberof TemplateVariableV2026
|
|
1817
|
+
*/
|
|
1818
|
+
'key'?: string;
|
|
1819
|
+
/**
|
|
1820
|
+
* The data type for this variable. Use JSON Schema-like names for values (string, boolean, number, object, array) or \"function\" for template utility/helper functions (e.g. __dateTool.format(), __esc.html()).
|
|
1821
|
+
* @type {string}
|
|
1822
|
+
* @memberof TemplateVariableV2026
|
|
1823
|
+
*/
|
|
1824
|
+
'type'?: TemplateVariableV2026TypeV2026;
|
|
1825
|
+
/**
|
|
1826
|
+
* Human-readable description explaining what this variable represents.
|
|
1827
|
+
* @type {string}
|
|
1828
|
+
* @memberof TemplateVariableV2026
|
|
1829
|
+
*/
|
|
1830
|
+
'description'?: string | null;
|
|
1831
|
+
/**
|
|
1832
|
+
* Example value demonstrating the format and usage. For type \"function\", often a Velocity-style call (e.g. $__esc.html($value)). Can be a string, number, boolean, object, array, or null when no example is defined.
|
|
1833
|
+
* @type {object}
|
|
1834
|
+
* @memberof TemplateVariableV2026
|
|
1835
|
+
*/
|
|
1836
|
+
'example'?: object | null;
|
|
1837
|
+
}
|
|
1838
|
+
export declare const TemplateVariableV2026TypeV2026: {
|
|
1839
|
+
readonly String: "string";
|
|
1840
|
+
readonly Boolean: "boolean";
|
|
1841
|
+
readonly Number: "number";
|
|
1842
|
+
readonly Object: "object";
|
|
1843
|
+
readonly Array: "array";
|
|
1844
|
+
readonly Function: "function";
|
|
1845
|
+
};
|
|
1846
|
+
export type TemplateVariableV2026TypeV2026 = typeof TemplateVariableV2026TypeV2026[keyof typeof TemplateVariableV2026TypeV2026];
|
|
1847
|
+
/**
|
|
1848
|
+
* Variables available for use in a notification template. Variables can be template-specific (from domain events) or global (available to all templates like __recipient, __global, __util).
|
|
1849
|
+
* @export
|
|
1850
|
+
* @interface TemplateVariablesDtoV2026
|
|
1851
|
+
*/
|
|
1852
|
+
export interface TemplateVariablesDtoV2026 {
|
|
1853
|
+
/**
|
|
1854
|
+
* The notification template key.
|
|
1855
|
+
* @type {string}
|
|
1856
|
+
* @memberof TemplateVariablesDtoV2026
|
|
1857
|
+
*/
|
|
1858
|
+
'key'?: string;
|
|
1859
|
+
/**
|
|
1860
|
+
*
|
|
1861
|
+
* @type {TemplateMediumDtoV2026}
|
|
1862
|
+
* @memberof TemplateVariablesDtoV2026
|
|
1863
|
+
*/
|
|
1864
|
+
'medium'?: TemplateMediumDtoV2026;
|
|
1865
|
+
/**
|
|
1866
|
+
* Global variables available to all templates for this tenant (e.g. __global.*, __recipient, __util.*, __dateTool.*, __esc.*). Includes both data variables and function-type helpers.
|
|
1867
|
+
* @type {Array<TemplateVariableV2026>}
|
|
1868
|
+
* @memberof TemplateVariablesDtoV2026
|
|
1869
|
+
*/
|
|
1870
|
+
'globalVariables'?: Array<TemplateVariableV2026> | null;
|
|
1871
|
+
/**
|
|
1872
|
+
* Template-specific variables for the given key and medium (e.g. approverPath, requester, attributes).
|
|
1873
|
+
* @type {Array<TemplateVariableV2026>}
|
|
1874
|
+
* @memberof TemplateVariablesDtoV2026
|
|
1875
|
+
*/
|
|
1876
|
+
'templateVariables'?: Array<TemplateVariableV2026> | null;
|
|
1877
|
+
}
|
|
1796
1878
|
/**
|
|
1797
1879
|
* AccessRequestsV2026Api - axios parameter creator
|
|
1798
1880
|
* @export
|
|
@@ -3068,6 +3150,103 @@ export declare class MachineSubtypeApprovalConfigV2026Api extends BaseAPI {
|
|
|
3068
3150
|
*/
|
|
3069
3151
|
updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters: MachineSubtypeApprovalConfigV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MachineAccountSubTypeConfigDtoV2026, any>>;
|
|
3070
3152
|
}
|
|
3153
|
+
/**
|
|
3154
|
+
* NotificationsV2026Api - axios parameter creator
|
|
3155
|
+
* @export
|
|
3156
|
+
*/
|
|
3157
|
+
export declare const NotificationsV2026ApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3158
|
+
/**
|
|
3159
|
+
* Returns global variables and template-specific variables for a given notification template key and medium. Use these variable names in template content; they are replaced at send time with the corresponding values. Variable lists can be sorted by key, type, or description via the sorters query parameter (default ascending by key).
|
|
3160
|
+
* @summary Get notification template variables
|
|
3161
|
+
* @param {string} key The notification template key. Valid keys (and key/medium pairs) are available from the list notification templates operation.
|
|
3162
|
+
* @param {GetNotificationTemplateVariablesMediumV2026} medium The notification template medium (e.g. EMAIL, SLACK, TEAMS). Valid key/medium pairs are available from the list notification templates operation.
|
|
3163
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **key, type, description**
|
|
3164
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3165
|
+
* @throws {RequiredError}
|
|
3166
|
+
*/
|
|
3167
|
+
getNotificationTemplateVariables: (key: string, medium: GetNotificationTemplateVariablesMediumV2026, sorters?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3168
|
+
};
|
|
3169
|
+
/**
|
|
3170
|
+
* NotificationsV2026Api - functional programming interface
|
|
3171
|
+
* @export
|
|
3172
|
+
*/
|
|
3173
|
+
export declare const NotificationsV2026ApiFp: (configuration?: Configuration) => {
|
|
3174
|
+
/**
|
|
3175
|
+
* Returns global variables and template-specific variables for a given notification template key and medium. Use these variable names in template content; they are replaced at send time with the corresponding values. Variable lists can be sorted by key, type, or description via the sorters query parameter (default ascending by key).
|
|
3176
|
+
* @summary Get notification template variables
|
|
3177
|
+
* @param {string} key The notification template key. Valid keys (and key/medium pairs) are available from the list notification templates operation.
|
|
3178
|
+
* @param {GetNotificationTemplateVariablesMediumV2026} medium The notification template medium (e.g. EMAIL, SLACK, TEAMS). Valid key/medium pairs are available from the list notification templates operation.
|
|
3179
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **key, type, description**
|
|
3180
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3181
|
+
* @throws {RequiredError}
|
|
3182
|
+
*/
|
|
3183
|
+
getNotificationTemplateVariables(key: string, medium: GetNotificationTemplateVariablesMediumV2026, sorters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVariablesDtoV2026>>;
|
|
3184
|
+
};
|
|
3185
|
+
/**
|
|
3186
|
+
* NotificationsV2026Api - factory interface
|
|
3187
|
+
* @export
|
|
3188
|
+
*/
|
|
3189
|
+
export declare const NotificationsV2026ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3190
|
+
/**
|
|
3191
|
+
* Returns global variables and template-specific variables for a given notification template key and medium. Use these variable names in template content; they are replaced at send time with the corresponding values. Variable lists can be sorted by key, type, or description via the sorters query parameter (default ascending by key).
|
|
3192
|
+
* @summary Get notification template variables
|
|
3193
|
+
* @param {NotificationsV2026ApiGetNotificationTemplateVariablesRequest} requestParameters Request parameters.
|
|
3194
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3195
|
+
* @throws {RequiredError}
|
|
3196
|
+
*/
|
|
3197
|
+
getNotificationTemplateVariables(requestParameters: NotificationsV2026ApiGetNotificationTemplateVariablesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<TemplateVariablesDtoV2026>;
|
|
3198
|
+
};
|
|
3199
|
+
/**
|
|
3200
|
+
* Request parameters for getNotificationTemplateVariables operation in NotificationsV2026Api.
|
|
3201
|
+
* @export
|
|
3202
|
+
* @interface NotificationsV2026ApiGetNotificationTemplateVariablesRequest
|
|
3203
|
+
*/
|
|
3204
|
+
export interface NotificationsV2026ApiGetNotificationTemplateVariablesRequest {
|
|
3205
|
+
/**
|
|
3206
|
+
* The notification template key. Valid keys (and key/medium pairs) are available from the list notification templates operation.
|
|
3207
|
+
* @type {string}
|
|
3208
|
+
* @memberof NotificationsV2026ApiGetNotificationTemplateVariables
|
|
3209
|
+
*/
|
|
3210
|
+
readonly key: string;
|
|
3211
|
+
/**
|
|
3212
|
+
* The notification template medium (e.g. EMAIL, SLACK, TEAMS). Valid key/medium pairs are available from the list notification templates operation.
|
|
3213
|
+
* @type {'EMAIL' | 'SLACK' | 'TEAMS'}
|
|
3214
|
+
* @memberof NotificationsV2026ApiGetNotificationTemplateVariables
|
|
3215
|
+
*/
|
|
3216
|
+
readonly medium: GetNotificationTemplateVariablesMediumV2026;
|
|
3217
|
+
/**
|
|
3218
|
+
* Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **key, type, description**
|
|
3219
|
+
* @type {string}
|
|
3220
|
+
* @memberof NotificationsV2026ApiGetNotificationTemplateVariables
|
|
3221
|
+
*/
|
|
3222
|
+
readonly sorters?: string;
|
|
3223
|
+
}
|
|
3224
|
+
/**
|
|
3225
|
+
* NotificationsV2026Api - object-oriented interface
|
|
3226
|
+
* @export
|
|
3227
|
+
* @class NotificationsV2026Api
|
|
3228
|
+
* @extends {BaseAPI}
|
|
3229
|
+
*/
|
|
3230
|
+
export declare class NotificationsV2026Api extends BaseAPI {
|
|
3231
|
+
/**
|
|
3232
|
+
* Returns global variables and template-specific variables for a given notification template key and medium. Use these variable names in template content; they are replaced at send time with the corresponding values. Variable lists can be sorted by key, type, or description via the sorters query parameter (default ascending by key).
|
|
3233
|
+
* @summary Get notification template variables
|
|
3234
|
+
* @param {NotificationsV2026ApiGetNotificationTemplateVariablesRequest} requestParameters Request parameters.
|
|
3235
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
3236
|
+
* @throws {RequiredError}
|
|
3237
|
+
* @memberof NotificationsV2026Api
|
|
3238
|
+
*/
|
|
3239
|
+
getNotificationTemplateVariables(requestParameters: NotificationsV2026ApiGetNotificationTemplateVariablesRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TemplateVariablesDtoV2026, any>>;
|
|
3240
|
+
}
|
|
3241
|
+
/**
|
|
3242
|
+
* @export
|
|
3243
|
+
*/
|
|
3244
|
+
export declare const GetNotificationTemplateVariablesMediumV2026: {
|
|
3245
|
+
readonly Email: "EMAIL";
|
|
3246
|
+
readonly Slack: "SLACK";
|
|
3247
|
+
readonly Teams: "TEAMS";
|
|
3248
|
+
};
|
|
3249
|
+
export type GetNotificationTemplateVariablesMediumV2026 = typeof GetNotificationTemplateVariablesMediumV2026[keyof typeof GetNotificationTemplateVariablesMediumV2026];
|
|
3071
3250
|
/**
|
|
3072
3251
|
* TaskManagementV2026Api - axios parameter creator
|
|
3073
3252
|
* @export
|
package/dist/v2026/api.js
CHANGED
|
@@ -78,7 +78,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.NotificationsV2026ApiFactory = exports.NotificationsV2026ApiFp = exports.NotificationsV2026ApiAxiosParamCreator = exports.MachineSubtypeApprovalConfigV2026Api = exports.MachineSubtypeApprovalConfigV2026ApiFactory = exports.MachineSubtypeApprovalConfigV2026ApiFp = exports.MachineSubtypeApprovalConfigV2026ApiAxiosParamCreator = exports.MachineAccountDeletionApprovalConfigV2026Api = exports.MachineAccountDeletionApprovalConfigV2026ApiFactory = exports.MachineAccountDeletionApprovalConfigV2026ApiFp = exports.MachineAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = exports.HumanAccountDeletionApprovalConfigV2026Api = exports.HumanAccountDeletionApprovalConfigV2026ApiFactory = exports.HumanAccountDeletionApprovalConfigV2026ApiFp = exports.HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = exports.EntitlementsV2026Api = exports.EntitlementsV2026ApiFactory = exports.EntitlementsV2026ApiFp = exports.EntitlementsV2026ApiAxiosParamCreator = exports.DeleteAccountV2026Api = exports.DeleteAccountV2026ApiFactory = exports.DeleteAccountV2026ApiFp = exports.DeleteAccountV2026ApiAxiosParamCreator = exports.AccountDeletionRequestsV2026Api = exports.AccountDeletionRequestsV2026ApiFactory = exports.AccountDeletionRequestsV2026ApiFp = exports.AccountDeletionRequestsV2026ApiAxiosParamCreator = exports.AccessRequestsV2026Api = exports.AccessRequestsV2026ApiFactory = exports.AccessRequestsV2026ApiFp = exports.AccessRequestsV2026ApiAxiosParamCreator = exports.TemplateVariableV2026TypeV2026 = exports.TemplateMediumDtoV2026 = exports.TaskStatusV2026CompletionStatusV2026 = exports.TaskStatusV2026TypeV2026 = exports.TaskStatusMessageV2026TypeV2026 = exports.TargetV2026TypeV2026 = exports.LocaleOriginV2026 = exports.JsonPatchOperationV2026OpV2026 = exports.EntitlementPrivilegeLevelV2026EffectiveV2026 = exports.EntitlementPrivilegeLevelV2026InheritedV2026 = exports.EntitlementPrivilegeLevelV2026SetByTypeV2026 = exports.EntitlementPrivilegeLevelV2026DirectV2026 = exports.EntitlementOwnerV2026TypeV2026 = exports.EntitlementApprovalSchemeV2026ApproverTypeV2026 = exports.EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026 = exports.DtoTypeV2026 = exports.ApprovalConfigV2026CommentsV2026 = exports.AccountRequestPhaseV2026NameV2026 = exports.AccountRequestPhaseStateV2026 = void 0;
|
|
82
|
+
exports.TaskManagementV2026Api = exports.TaskManagementV2026ApiFactory = exports.TaskManagementV2026ApiFp = exports.TaskManagementV2026ApiAxiosParamCreator = exports.GetNotificationTemplateVariablesMediumV2026 = exports.NotificationsV2026Api = void 0;
|
|
82
83
|
var axios_1 = __importDefault(require("axios"));
|
|
83
84
|
// Some imports not used depending on template conditions
|
|
84
85
|
// @ts-ignore
|
|
@@ -244,6 +245,24 @@ exports.TaskStatusV2026CompletionStatusV2026 = {
|
|
|
244
245
|
Terminated: 'TERMINATED',
|
|
245
246
|
Temperror: 'TEMPERROR'
|
|
246
247
|
};
|
|
248
|
+
/**
|
|
249
|
+
* The notification delivery medium.
|
|
250
|
+
* @export
|
|
251
|
+
* @enum {string}
|
|
252
|
+
*/
|
|
253
|
+
exports.TemplateMediumDtoV2026 = {
|
|
254
|
+
Email: 'EMAIL',
|
|
255
|
+
Slack: 'SLACK',
|
|
256
|
+
Teams: 'TEAMS'
|
|
257
|
+
};
|
|
258
|
+
exports.TemplateVariableV2026TypeV2026 = {
|
|
259
|
+
String: 'string',
|
|
260
|
+
Boolean: 'boolean',
|
|
261
|
+
Number: 'number',
|
|
262
|
+
Object: 'object',
|
|
263
|
+
Array: 'array',
|
|
264
|
+
Function: 'function'
|
|
265
|
+
};
|
|
247
266
|
/**
|
|
248
267
|
* AccessRequestsV2026Api - axios parameter creator
|
|
249
268
|
* @export
|
|
@@ -2461,6 +2480,166 @@ var MachineSubtypeApprovalConfigV2026Api = /** @class */ (function (_super) {
|
|
|
2461
2480
|
return MachineSubtypeApprovalConfigV2026Api;
|
|
2462
2481
|
}(base_1.BaseAPI));
|
|
2463
2482
|
exports.MachineSubtypeApprovalConfigV2026Api = MachineSubtypeApprovalConfigV2026Api;
|
|
2483
|
+
/**
|
|
2484
|
+
* NotificationsV2026Api - axios parameter creator
|
|
2485
|
+
* @export
|
|
2486
|
+
*/
|
|
2487
|
+
var NotificationsV2026ApiAxiosParamCreator = function (configuration) {
|
|
2488
|
+
var _this = this;
|
|
2489
|
+
return {
|
|
2490
|
+
/**
|
|
2491
|
+
* Returns global variables and template-specific variables for a given notification template key and medium. Use these variable names in template content; they are replaced at send time with the corresponding values. Variable lists can be sorted by key, type, or description via the sorters query parameter (default ascending by key).
|
|
2492
|
+
* @summary Get notification template variables
|
|
2493
|
+
* @param {string} key The notification template key. Valid keys (and key/medium pairs) are available from the list notification templates operation.
|
|
2494
|
+
* @param {GetNotificationTemplateVariablesMediumV2026} medium The notification template medium (e.g. EMAIL, SLACK, TEAMS). Valid key/medium pairs are available from the list notification templates operation.
|
|
2495
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **key, type, description**
|
|
2496
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2497
|
+
* @throws {RequiredError}
|
|
2498
|
+
*/
|
|
2499
|
+
getNotificationTemplateVariables: function (key, medium, sorters, axiosOptions) {
|
|
2500
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
2501
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
2502
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2503
|
+
return __generator(this, function (_a) {
|
|
2504
|
+
switch (_a.label) {
|
|
2505
|
+
case 0:
|
|
2506
|
+
// verify required parameter 'key' is not null or undefined
|
|
2507
|
+
(0, common_1.assertParamExists)('getNotificationTemplateVariables', 'key', key);
|
|
2508
|
+
// verify required parameter 'medium' is not null or undefined
|
|
2509
|
+
(0, common_1.assertParamExists)('getNotificationTemplateVariables', 'medium', medium);
|
|
2510
|
+
localVarPath = "/notification-template-variables/{key}/{medium}"
|
|
2511
|
+
.replace("{".concat("key", "}"), encodeURIComponent(String(key)))
|
|
2512
|
+
.replace("{".concat("medium", "}"), encodeURIComponent(String(medium)));
|
|
2513
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2514
|
+
if (configuration) {
|
|
2515
|
+
baseOptions = configuration.baseOptions;
|
|
2516
|
+
}
|
|
2517
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
2518
|
+
localVarHeaderParameter = {};
|
|
2519
|
+
localVarQueryParameter = {};
|
|
2520
|
+
// authentication userAuth required
|
|
2521
|
+
// oauth required
|
|
2522
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
2523
|
+
// authentication userAuth required
|
|
2524
|
+
// oauth required
|
|
2525
|
+
];
|
|
2526
|
+
case 1:
|
|
2527
|
+
// authentication userAuth required
|
|
2528
|
+
// oauth required
|
|
2529
|
+
_a.sent();
|
|
2530
|
+
// authentication userAuth required
|
|
2531
|
+
// oauth required
|
|
2532
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
|
|
2533
|
+
case 2:
|
|
2534
|
+
// authentication userAuth required
|
|
2535
|
+
// oauth required
|
|
2536
|
+
_a.sent();
|
|
2537
|
+
if (sorters !== undefined) {
|
|
2538
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
2539
|
+
}
|
|
2540
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2541
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2542
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
2543
|
+
return [2 /*return*/, {
|
|
2544
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2545
|
+
axiosOptions: localVarRequestOptions,
|
|
2546
|
+
}];
|
|
2547
|
+
}
|
|
2548
|
+
});
|
|
2549
|
+
});
|
|
2550
|
+
},
|
|
2551
|
+
};
|
|
2552
|
+
};
|
|
2553
|
+
exports.NotificationsV2026ApiAxiosParamCreator = NotificationsV2026ApiAxiosParamCreator;
|
|
2554
|
+
/**
|
|
2555
|
+
* NotificationsV2026Api - functional programming interface
|
|
2556
|
+
* @export
|
|
2557
|
+
*/
|
|
2558
|
+
var NotificationsV2026ApiFp = function (configuration) {
|
|
2559
|
+
var localVarAxiosParamCreator = (0, exports.NotificationsV2026ApiAxiosParamCreator)(configuration);
|
|
2560
|
+
return {
|
|
2561
|
+
/**
|
|
2562
|
+
* Returns global variables and template-specific variables for a given notification template key and medium. Use these variable names in template content; they are replaced at send time with the corresponding values. Variable lists can be sorted by key, type, or description via the sorters query parameter (default ascending by key).
|
|
2563
|
+
* @summary Get notification template variables
|
|
2564
|
+
* @param {string} key The notification template key. Valid keys (and key/medium pairs) are available from the list notification templates operation.
|
|
2565
|
+
* @param {GetNotificationTemplateVariablesMediumV2026} medium The notification template medium (e.g. EMAIL, SLACK, TEAMS). Valid key/medium pairs are available from the list notification templates operation.
|
|
2566
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **key, type, description**
|
|
2567
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2568
|
+
* @throws {RequiredError}
|
|
2569
|
+
*/
|
|
2570
|
+
getNotificationTemplateVariables: function (key, medium, sorters, axiosOptions) {
|
|
2571
|
+
var _a, _b, _c;
|
|
2572
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2573
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2574
|
+
return __generator(this, function (_d) {
|
|
2575
|
+
switch (_d.label) {
|
|
2576
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getNotificationTemplateVariables(key, medium, sorters, axiosOptions)];
|
|
2577
|
+
case 1:
|
|
2578
|
+
localVarAxiosArgs = _d.sent();
|
|
2579
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2580
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsV2026Api.getNotificationTemplateVariables']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2581
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2582
|
+
}
|
|
2583
|
+
});
|
|
2584
|
+
});
|
|
2585
|
+
},
|
|
2586
|
+
};
|
|
2587
|
+
};
|
|
2588
|
+
exports.NotificationsV2026ApiFp = NotificationsV2026ApiFp;
|
|
2589
|
+
/**
|
|
2590
|
+
* NotificationsV2026Api - factory interface
|
|
2591
|
+
* @export
|
|
2592
|
+
*/
|
|
2593
|
+
var NotificationsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
2594
|
+
var localVarFp = (0, exports.NotificationsV2026ApiFp)(configuration);
|
|
2595
|
+
return {
|
|
2596
|
+
/**
|
|
2597
|
+
* Returns global variables and template-specific variables for a given notification template key and medium. Use these variable names in template content; they are replaced at send time with the corresponding values. Variable lists can be sorted by key, type, or description via the sorters query parameter (default ascending by key).
|
|
2598
|
+
* @summary Get notification template variables
|
|
2599
|
+
* @param {NotificationsV2026ApiGetNotificationTemplateVariablesRequest} requestParameters Request parameters.
|
|
2600
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2601
|
+
* @throws {RequiredError}
|
|
2602
|
+
*/
|
|
2603
|
+
getNotificationTemplateVariables: function (requestParameters, axiosOptions) {
|
|
2604
|
+
return localVarFp.getNotificationTemplateVariables(requestParameters.key, requestParameters.medium, requestParameters.sorters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
2605
|
+
},
|
|
2606
|
+
};
|
|
2607
|
+
};
|
|
2608
|
+
exports.NotificationsV2026ApiFactory = NotificationsV2026ApiFactory;
|
|
2609
|
+
/**
|
|
2610
|
+
* NotificationsV2026Api - object-oriented interface
|
|
2611
|
+
* @export
|
|
2612
|
+
* @class NotificationsV2026Api
|
|
2613
|
+
* @extends {BaseAPI}
|
|
2614
|
+
*/
|
|
2615
|
+
var NotificationsV2026Api = /** @class */ (function (_super) {
|
|
2616
|
+
__extends(NotificationsV2026Api, _super);
|
|
2617
|
+
function NotificationsV2026Api() {
|
|
2618
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2619
|
+
}
|
|
2620
|
+
/**
|
|
2621
|
+
* Returns global variables and template-specific variables for a given notification template key and medium. Use these variable names in template content; they are replaced at send time with the corresponding values. Variable lists can be sorted by key, type, or description via the sorters query parameter (default ascending by key).
|
|
2622
|
+
* @summary Get notification template variables
|
|
2623
|
+
* @param {NotificationsV2026ApiGetNotificationTemplateVariablesRequest} requestParameters Request parameters.
|
|
2624
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2625
|
+
* @throws {RequiredError}
|
|
2626
|
+
* @memberof NotificationsV2026Api
|
|
2627
|
+
*/
|
|
2628
|
+
NotificationsV2026Api.prototype.getNotificationTemplateVariables = function (requestParameters, axiosOptions) {
|
|
2629
|
+
var _this = this;
|
|
2630
|
+
return (0, exports.NotificationsV2026ApiFp)(this.configuration).getNotificationTemplateVariables(requestParameters.key, requestParameters.medium, requestParameters.sorters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2631
|
+
};
|
|
2632
|
+
return NotificationsV2026Api;
|
|
2633
|
+
}(base_1.BaseAPI));
|
|
2634
|
+
exports.NotificationsV2026Api = NotificationsV2026Api;
|
|
2635
|
+
/**
|
|
2636
|
+
* @export
|
|
2637
|
+
*/
|
|
2638
|
+
exports.GetNotificationTemplateVariablesMediumV2026 = {
|
|
2639
|
+
Email: 'EMAIL',
|
|
2640
|
+
Slack: 'SLACK',
|
|
2641
|
+
Teams: 'TEAMS'
|
|
2642
|
+
};
|
|
2464
2643
|
/**
|
|
2465
2644
|
* TaskManagementV2026Api - axios parameter creator
|
|
2466
2645
|
* @export
|