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/v2026/api.ts CHANGED
@@ -1846,6 +1846,97 @@ export const TaskStatusV2026CompletionStatusV2026 = {
1846
1846
 
1847
1847
  export type TaskStatusV2026CompletionStatusV2026 = typeof TaskStatusV2026CompletionStatusV2026[keyof typeof TaskStatusV2026CompletionStatusV2026];
1848
1848
 
1849
+ /**
1850
+ * The notification delivery medium.
1851
+ * @export
1852
+ * @enum {string}
1853
+ */
1854
+
1855
+ export const TemplateMediumDtoV2026 = {
1856
+ Email: 'EMAIL',
1857
+ Slack: 'SLACK',
1858
+ Teams: 'TEAMS'
1859
+ } as const;
1860
+
1861
+ export type TemplateMediumDtoV2026 = typeof TemplateMediumDtoV2026[keyof typeof TemplateMediumDtoV2026];
1862
+
1863
+
1864
+ /**
1865
+ * 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.
1866
+ * @export
1867
+ * @interface TemplateVariableV2026
1868
+ */
1869
+ export interface TemplateVariableV2026 {
1870
+ /**
1871
+ * The variable name as used when rendering context in templates.
1872
+ * @type {string}
1873
+ * @memberof TemplateVariableV2026
1874
+ */
1875
+ 'key'?: string;
1876
+ /**
1877
+ * 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()).
1878
+ * @type {string}
1879
+ * @memberof TemplateVariableV2026
1880
+ */
1881
+ 'type'?: TemplateVariableV2026TypeV2026;
1882
+ /**
1883
+ * Human-readable description explaining what this variable represents.
1884
+ * @type {string}
1885
+ * @memberof TemplateVariableV2026
1886
+ */
1887
+ 'description'?: string | null;
1888
+ /**
1889
+ * 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.
1890
+ * @type {object}
1891
+ * @memberof TemplateVariableV2026
1892
+ */
1893
+ 'example'?: object | null;
1894
+ }
1895
+
1896
+ export const TemplateVariableV2026TypeV2026 = {
1897
+ String: 'string',
1898
+ Boolean: 'boolean',
1899
+ Number: 'number',
1900
+ Object: 'object',
1901
+ Array: 'array',
1902
+ Function: 'function'
1903
+ } as const;
1904
+
1905
+ export type TemplateVariableV2026TypeV2026 = typeof TemplateVariableV2026TypeV2026[keyof typeof TemplateVariableV2026TypeV2026];
1906
+
1907
+ /**
1908
+ * 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).
1909
+ * @export
1910
+ * @interface TemplateVariablesDtoV2026
1911
+ */
1912
+ export interface TemplateVariablesDtoV2026 {
1913
+ /**
1914
+ * The notification template key.
1915
+ * @type {string}
1916
+ * @memberof TemplateVariablesDtoV2026
1917
+ */
1918
+ 'key'?: string;
1919
+ /**
1920
+ *
1921
+ * @type {TemplateMediumDtoV2026}
1922
+ * @memberof TemplateVariablesDtoV2026
1923
+ */
1924
+ 'medium'?: TemplateMediumDtoV2026;
1925
+ /**
1926
+ * Global variables available to all templates for this tenant (e.g. __global.*, __recipient, __util.*, __dateTool.*, __esc.*). Includes both data variables and function-type helpers.
1927
+ * @type {Array<TemplateVariableV2026>}
1928
+ * @memberof TemplateVariablesDtoV2026
1929
+ */
1930
+ 'globalVariables'?: Array<TemplateVariableV2026> | null;
1931
+ /**
1932
+ * Template-specific variables for the given key and medium (e.g. approverPath, requester, attributes).
1933
+ * @type {Array<TemplateVariableV2026>}
1934
+ * @memberof TemplateVariablesDtoV2026
1935
+ */
1936
+ 'templateVariables'?: Array<TemplateVariableV2026> | null;
1937
+ }
1938
+
1939
+
1849
1940
 
1850
1941
  /**
1851
1942
  * AccessRequestsV2026Api - axios parameter creator
@@ -4226,6 +4317,170 @@ export class MachineSubtypeApprovalConfigV2026Api extends BaseAPI {
4226
4317
 
4227
4318
 
4228
4319
 
4320
+ /**
4321
+ * NotificationsV2026Api - axios parameter creator
4322
+ * @export
4323
+ */
4324
+ export const NotificationsV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
4325
+ return {
4326
+ /**
4327
+ * 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).
4328
+ * @summary Get notification template variables
4329
+ * @param {string} key The notification template key. Valid keys (and key/medium pairs) are available from the list notification templates operation.
4330
+ * @param {GetNotificationTemplateVariablesMediumV2026} medium The notification template medium (e.g. EMAIL, SLACK, TEAMS). Valid key/medium pairs are available from the list notification templates operation.
4331
+ * @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**
4332
+ * @param {*} [axiosOptions] Override http request option.
4333
+ * @throws {RequiredError}
4334
+ */
4335
+ getNotificationTemplateVariables: async (key: string, medium: GetNotificationTemplateVariablesMediumV2026, sorters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4336
+ // verify required parameter 'key' is not null or undefined
4337
+ assertParamExists('getNotificationTemplateVariables', 'key', key)
4338
+ // verify required parameter 'medium' is not null or undefined
4339
+ assertParamExists('getNotificationTemplateVariables', 'medium', medium)
4340
+ const localVarPath = `/notification-template-variables/{key}/{medium}`
4341
+ .replace(`{${"key"}}`, encodeURIComponent(String(key)))
4342
+ .replace(`{${"medium"}}`, encodeURIComponent(String(medium)));
4343
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4344
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4345
+ let baseOptions;
4346
+ if (configuration) {
4347
+ baseOptions = configuration.baseOptions;
4348
+ }
4349
+
4350
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
4351
+ const localVarHeaderParameter = {} as any;
4352
+ const localVarQueryParameter = {} as any;
4353
+
4354
+ // authentication userAuth required
4355
+ // oauth required
4356
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
4357
+
4358
+ // authentication userAuth required
4359
+ // oauth required
4360
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
4361
+
4362
+ if (sorters !== undefined) {
4363
+ localVarQueryParameter['sorters'] = sorters;
4364
+ }
4365
+
4366
+
4367
+
4368
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4369
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4370
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
4371
+
4372
+ return {
4373
+ url: toPathString(localVarUrlObj),
4374
+ axiosOptions: localVarRequestOptions,
4375
+ };
4376
+ },
4377
+ }
4378
+ };
4379
+
4380
+ /**
4381
+ * NotificationsV2026Api - functional programming interface
4382
+ * @export
4383
+ */
4384
+ export const NotificationsV2026ApiFp = function(configuration?: Configuration) {
4385
+ const localVarAxiosParamCreator = NotificationsV2026ApiAxiosParamCreator(configuration)
4386
+ return {
4387
+ /**
4388
+ * 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).
4389
+ * @summary Get notification template variables
4390
+ * @param {string} key The notification template key. Valid keys (and key/medium pairs) are available from the list notification templates operation.
4391
+ * @param {GetNotificationTemplateVariablesMediumV2026} medium The notification template medium (e.g. EMAIL, SLACK, TEAMS). Valid key/medium pairs are available from the list notification templates operation.
4392
+ * @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**
4393
+ * @param {*} [axiosOptions] Override http request option.
4394
+ * @throws {RequiredError}
4395
+ */
4396
+ async getNotificationTemplateVariables(key: string, medium: GetNotificationTemplateVariablesMediumV2026, sorters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVariablesDtoV2026>> {
4397
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getNotificationTemplateVariables(key, medium, sorters, axiosOptions);
4398
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4399
+ const localVarOperationServerBasePath = operationServerMap['NotificationsV2026Api.getNotificationTemplateVariables']?.[localVarOperationServerIndex]?.url;
4400
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4401
+ },
4402
+ }
4403
+ };
4404
+
4405
+ /**
4406
+ * NotificationsV2026Api - factory interface
4407
+ * @export
4408
+ */
4409
+ export const NotificationsV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4410
+ const localVarFp = NotificationsV2026ApiFp(configuration)
4411
+ return {
4412
+ /**
4413
+ * 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).
4414
+ * @summary Get notification template variables
4415
+ * @param {NotificationsV2026ApiGetNotificationTemplateVariablesRequest} requestParameters Request parameters.
4416
+ * @param {*} [axiosOptions] Override http request option.
4417
+ * @throws {RequiredError}
4418
+ */
4419
+ getNotificationTemplateVariables(requestParameters: NotificationsV2026ApiGetNotificationTemplateVariablesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<TemplateVariablesDtoV2026> {
4420
+ return localVarFp.getNotificationTemplateVariables(requestParameters.key, requestParameters.medium, requestParameters.sorters, axiosOptions).then((request) => request(axios, basePath));
4421
+ },
4422
+ };
4423
+ };
4424
+
4425
+ /**
4426
+ * Request parameters for getNotificationTemplateVariables operation in NotificationsV2026Api.
4427
+ * @export
4428
+ * @interface NotificationsV2026ApiGetNotificationTemplateVariablesRequest
4429
+ */
4430
+ export interface NotificationsV2026ApiGetNotificationTemplateVariablesRequest {
4431
+ /**
4432
+ * The notification template key. Valid keys (and key/medium pairs) are available from the list notification templates operation.
4433
+ * @type {string}
4434
+ * @memberof NotificationsV2026ApiGetNotificationTemplateVariables
4435
+ */
4436
+ readonly key: string
4437
+
4438
+ /**
4439
+ * The notification template medium (e.g. EMAIL, SLACK, TEAMS). Valid key/medium pairs are available from the list notification templates operation.
4440
+ * @type {'EMAIL' | 'SLACK' | 'TEAMS'}
4441
+ * @memberof NotificationsV2026ApiGetNotificationTemplateVariables
4442
+ */
4443
+ readonly medium: GetNotificationTemplateVariablesMediumV2026
4444
+
4445
+ /**
4446
+ * 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**
4447
+ * @type {string}
4448
+ * @memberof NotificationsV2026ApiGetNotificationTemplateVariables
4449
+ */
4450
+ readonly sorters?: string
4451
+ }
4452
+
4453
+ /**
4454
+ * NotificationsV2026Api - object-oriented interface
4455
+ * @export
4456
+ * @class NotificationsV2026Api
4457
+ * @extends {BaseAPI}
4458
+ */
4459
+ export class NotificationsV2026Api extends BaseAPI {
4460
+ /**
4461
+ * 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).
4462
+ * @summary Get notification template variables
4463
+ * @param {NotificationsV2026ApiGetNotificationTemplateVariablesRequest} requestParameters Request parameters.
4464
+ * @param {*} [axiosOptions] Override http request option.
4465
+ * @throws {RequiredError}
4466
+ * @memberof NotificationsV2026Api
4467
+ */
4468
+ public getNotificationTemplateVariables(requestParameters: NotificationsV2026ApiGetNotificationTemplateVariablesRequest, axiosOptions?: RawAxiosRequestConfig) {
4469
+ return NotificationsV2026ApiFp(this.configuration).getNotificationTemplateVariables(requestParameters.key, requestParameters.medium, requestParameters.sorters, axiosOptions).then((request) => request(this.axios, this.basePath));
4470
+ }
4471
+ }
4472
+
4473
+ /**
4474
+ * @export
4475
+ */
4476
+ export const GetNotificationTemplateVariablesMediumV2026 = {
4477
+ Email: 'EMAIL',
4478
+ Slack: 'SLACK',
4479
+ Teams: 'TEAMS'
4480
+ } as const;
4481
+ export type GetNotificationTemplateVariablesMediumV2026 = typeof GetNotificationTemplateVariablesMediumV2026[keyof typeof GetNotificationTemplateVariablesMediumV2026];
4482
+
4483
+
4229
4484
  /**
4230
4485
  * TaskManagementV2026Api - axios parameter creator
4231
4486
  * @export
package/v2026/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.27/ts'},
150
+ ...{'User-Agent':'OpenAPI-Generator/1.7.29/ts'},
151
151
  ...axiosArgs.axiosOptions.headers,
152
- ...{'X-SailPoint-SDK':'typescript-1.7.27'}
152
+ ...{'X-SailPoint-SDK':'typescript-1.7.29'}
153
153
  }
154
154
 
155
155
  if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailpoint-sdk",
3
- "version": "1.7.27",
3
+ "version": "1.7.29",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
package/v3/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## sailpoint-sdk@1.7.27
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.27 --save
39
+ npm install sailpoint-sdk@1.7.29 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/v3/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.27/ts'},
150
+ ...{'User-Agent':'OpenAPI-Generator/1.7.29/ts'},
151
151
  ...axiosArgs.axiosOptions.headers,
152
- ...{'X-SailPoint-SDK':'typescript-1.7.27'}
152
+ ...{'X-SailPoint-SDK':'typescript-1.7.29'}
153
153
  }
154
154
 
155
155
  if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
package/v3/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailpoint-sdk",
3
- "version": "1.7.27",
3
+ "version": "1.7.29",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {