sailpoint-api-client 1.6.5 → 1.6.7

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/v2025/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.6.5/ts'},
150
+ ...{'User-Agent':'OpenAPI-Generator/1.6.7/ts'},
151
151
  ...axiosArgs.axiosOptions.headers,
152
- ...{'X-SailPoint-SDK':'typescript-1.6.5'}
152
+ ...{'X-SailPoint-SDK':'typescript-1.6.7'}
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.6.5",
3
+ "version": "1.6.7",
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.6.5
1
+ ## sailpoint-sdk@1.6.7
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.6.5 --save
39
+ npm install sailpoint-sdk@1.6.7 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/v3/api.ts CHANGED
@@ -5017,8 +5017,7 @@ export interface CampaignAllOfFilter {
5017
5017
  }
5018
5018
 
5019
5019
  export const CampaignAllOfFilterTypeV3 = {
5020
- CampaignFilter: 'CAMPAIGN_FILTER',
5021
- Rule: 'RULE'
5020
+ CampaignFilter: 'CAMPAIGN_FILTER'
5022
5021
  } as const;
5023
5022
 
5024
5023
  export type CampaignAllOfFilterTypeV3 = typeof CampaignAllOfFilterTypeV3[keyof typeof CampaignAllOfFilterTypeV3];
@@ -6973,7 +6972,13 @@ export interface CreatePersonalAccessTokenRequest {
6973
6972
  * @type {number}
6974
6973
  * @memberof CreatePersonalAccessTokenRequest
6975
6974
  */
6976
- 'accessTokenValiditySeconds'?: number;
6975
+ 'accessTokenValiditySeconds'?: number | null;
6976
+ /**
6977
+ * Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date.
6978
+ * @type {string}
6979
+ * @memberof CreatePersonalAccessTokenRequest
6980
+ */
6981
+ 'expirationDate'?: string | null;
6977
6982
  }
6978
6983
  /**
6979
6984
  *
@@ -7023,6 +7028,12 @@ export interface CreatePersonalAccessTokenResponse {
7023
7028
  * @memberof CreatePersonalAccessTokenResponse
7024
7029
  */
7025
7030
  'accessTokenValiditySeconds': number;
7031
+ /**
7032
+ * Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date.
7033
+ * @type {string}
7034
+ * @memberof CreatePersonalAccessTokenResponse
7035
+ */
7036
+ 'expirationDate': string;
7026
7037
  }
7027
7038
  /**
7028
7039
  *
@@ -10308,6 +10319,18 @@ export interface GetPersonalAccessTokenResponse {
10308
10319
  * @memberof GetPersonalAccessTokenResponse
10309
10320
  */
10310
10321
  'managed'?: boolean;
10322
+ /**
10323
+ * Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200.
10324
+ * @type {number}
10325
+ * @memberof GetPersonalAccessTokenResponse
10326
+ */
10327
+ 'accessTokenValiditySeconds'?: number;
10328
+ /**
10329
+ * Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date.
10330
+ * @type {string}
10331
+ * @memberof GetPersonalAccessTokenResponse
10332
+ */
10333
+ 'expirationDate'?: string;
10311
10334
  }
10312
10335
  /**
10313
10336
  *
@@ -21606,6 +21629,38 @@ export const SodPolicyDtoTypeV3 = {
21606
21629
 
21607
21630
  export type SodPolicyDtoTypeV3 = typeof SodPolicyDtoTypeV3[keyof typeof SodPolicyDtoTypeV3];
21608
21631
 
21632
+ /**
21633
+ * SOD policy.
21634
+ * @export
21635
+ * @interface SodPolicyDto1
21636
+ */
21637
+ export interface SodPolicyDto1 {
21638
+ /**
21639
+ * SOD policy DTO type.
21640
+ * @type {string}
21641
+ * @memberof SodPolicyDto1
21642
+ */
21643
+ 'type'?: SodPolicyDto1TypeV3;
21644
+ /**
21645
+ * SOD policy ID.
21646
+ * @type {string}
21647
+ * @memberof SodPolicyDto1
21648
+ */
21649
+ 'id'?: string;
21650
+ /**
21651
+ * SOD policy display name.
21652
+ * @type {string}
21653
+ * @memberof SodPolicyDto1
21654
+ */
21655
+ 'name'?: string;
21656
+ }
21657
+
21658
+ export const SodPolicyDto1TypeV3 = {
21659
+ SodPolicy: 'SOD_POLICY'
21660
+ } as const;
21661
+
21662
+ export type SodPolicyDto1TypeV3 = typeof SodPolicyDto1TypeV3[keyof typeof SodPolicyDto1TypeV3];
21663
+
21609
21664
  /**
21610
21665
  * The owner of the SOD policy.
21611
21666
  * @export
@@ -22105,10 +22160,10 @@ export interface SodViolationCheckResult {
22105
22160
  'violationContexts'?: Array<SodViolationContext> | null;
22106
22161
  /**
22107
22162
  * A list of the SOD policies that were violated.
22108
- * @type {Array<SodPolicyDto>}
22163
+ * @type {Array<SodPolicyDto1>}
22109
22164
  * @memberof SodViolationCheckResult
22110
22165
  */
22111
- 'violatedPolicies'?: Array<SodPolicyDto> | null;
22166
+ 'violatedPolicies'?: Array<SodPolicyDto1> | null;
22112
22167
  }
22113
22168
  /**
22114
22169
  * The contextual information of the violated criteria
@@ -22118,10 +22173,10 @@ export interface SodViolationCheckResult {
22118
22173
  export interface SodViolationContext {
22119
22174
  /**
22120
22175
  *
22121
- * @type {SodPolicyDto}
22176
+ * @type {SodPolicyDto1}
22122
22177
  * @memberof SodViolationContext
22123
22178
  */
22124
- 'policy'?: SodPolicyDto;
22179
+ 'policy'?: SodPolicyDto1;
22125
22180
  /**
22126
22181
  *
22127
22182
  * @type {SodViolationContextConflictingAccessCriteria}
@@ -50478,7 +50533,7 @@ export type GetReportFileFormatV3 = typeof GetReportFileFormatV3[keyof typeof Ge
50478
50533
  export const RequestableObjectsApiAxiosParamCreator = function (configuration?: Configuration) {
50479
50534
  return {
50480
50535
  /**
50481
- * Get a list of acccess items that can be requested through the [Access Request endpoints](https://developer.sailpoint.com/docs/api/v3/access-requests). Access items are marked with `AVAILABLE`, `PENDING` or `ASSIGNED` with respect to the identity provided using `identity-id` query parameter. Any authenticated token can call this endpoint to see their requestable access items.
50536
+ * Get a list of acccess items that can be requested through the [Access Request endpoints](https://developer.sailpoint.com/docs/api/v3/access-requests). Access items are marked with `AVAILABLE`, `PENDING` or `ASSIGNED` with respect to the identity provided using `identity-id` query parameter. This endpoint only lists roles and access profiles. For gathering requestable entitlements, the [Entitlements List API](https://developer.sailpoint.com/docs/api/v2025/list-entitlements) can be used with the segmented-for-identity parameter. Any authenticated token can call this endpoint to see their requestable access items.
50482
50537
  * @summary Requestable objects list
50483
50538
  * @param {string} [identityId] If present, the value returns only requestable objects for the specified identity. * Admin users can call this with any identity ID value. * Non-admin users can only specify *me* or pass their own identity ID value. * If absent, returns a list of all requestable objects for the tenant. Only admin users can make such a call. In this case, the available, pending, assigned accesses will not be annotated in the result.
50484
50539
  * @param {Array<ListRequestableObjectsTypesV3>} [types] Filters the results to the specified type/types, where each type is one of &#x60;ROLE&#x60; or &#x60;ACCESS_PROFILE&#x60;. If absent, all types are returned. SailPoint may add support for additional types in the future without notice.
@@ -50571,7 +50626,7 @@ export const RequestableObjectsApiFp = function(configuration?: Configuration) {
50571
50626
  const localVarAxiosParamCreator = RequestableObjectsApiAxiosParamCreator(configuration)
50572
50627
  return {
50573
50628
  /**
50574
- * Get a list of acccess items that can be requested through the [Access Request endpoints](https://developer.sailpoint.com/docs/api/v3/access-requests). Access items are marked with `AVAILABLE`, `PENDING` or `ASSIGNED` with respect to the identity provided using `identity-id` query parameter. Any authenticated token can call this endpoint to see their requestable access items.
50629
+ * Get a list of acccess items that can be requested through the [Access Request endpoints](https://developer.sailpoint.com/docs/api/v3/access-requests). Access items are marked with `AVAILABLE`, `PENDING` or `ASSIGNED` with respect to the identity provided using `identity-id` query parameter. This endpoint only lists roles and access profiles. For gathering requestable entitlements, the [Entitlements List API](https://developer.sailpoint.com/docs/api/v2025/list-entitlements) can be used with the segmented-for-identity parameter. Any authenticated token can call this endpoint to see their requestable access items.
50575
50630
  * @summary Requestable objects list
50576
50631
  * @param {string} [identityId] If present, the value returns only requestable objects for the specified identity. * Admin users can call this with any identity ID value. * Non-admin users can only specify *me* or pass their own identity ID value. * If absent, returns a list of all requestable objects for the tenant. Only admin users can make such a call. In this case, the available, pending, assigned accesses will not be annotated in the result.
50577
50632
  * @param {Array<ListRequestableObjectsTypesV3>} [types] Filters the results to the specified type/types, where each type is one of &#x60;ROLE&#x60; or &#x60;ACCESS_PROFILE&#x60;. If absent, all types are returned. SailPoint may add support for additional types in the future without notice.
@@ -50602,7 +50657,7 @@ export const RequestableObjectsApiFactory = function (configuration?: Configurat
50602
50657
  const localVarFp = RequestableObjectsApiFp(configuration)
50603
50658
  return {
50604
50659
  /**
50605
- * Get a list of acccess items that can be requested through the [Access Request endpoints](https://developer.sailpoint.com/docs/api/v3/access-requests). Access items are marked with `AVAILABLE`, `PENDING` or `ASSIGNED` with respect to the identity provided using `identity-id` query parameter. Any authenticated token can call this endpoint to see their requestable access items.
50660
+ * Get a list of acccess items that can be requested through the [Access Request endpoints](https://developer.sailpoint.com/docs/api/v3/access-requests). Access items are marked with `AVAILABLE`, `PENDING` or `ASSIGNED` with respect to the identity provided using `identity-id` query parameter. This endpoint only lists roles and access profiles. For gathering requestable entitlements, the [Entitlements List API](https://developer.sailpoint.com/docs/api/v2025/list-entitlements) can be used with the segmented-for-identity parameter. Any authenticated token can call this endpoint to see their requestable access items.
50606
50661
  * @summary Requestable objects list
50607
50662
  * @param {RequestableObjectsApiListRequestableObjectsRequest} requestParameters Request parameters.
50608
50663
  * @param {*} [axiosOptions] Override http request option.
@@ -50692,7 +50747,7 @@ export interface RequestableObjectsApiListRequestableObjectsRequest {
50692
50747
  */
50693
50748
  export class RequestableObjectsApi extends BaseAPI {
50694
50749
  /**
50695
- * Get a list of acccess items that can be requested through the [Access Request endpoints](https://developer.sailpoint.com/docs/api/v3/access-requests). Access items are marked with `AVAILABLE`, `PENDING` or `ASSIGNED` with respect to the identity provided using `identity-id` query parameter. Any authenticated token can call this endpoint to see their requestable access items.
50750
+ * Get a list of acccess items that can be requested through the [Access Request endpoints](https://developer.sailpoint.com/docs/api/v3/access-requests). Access items are marked with `AVAILABLE`, `PENDING` or `ASSIGNED` with respect to the identity provided using `identity-id` query parameter. This endpoint only lists roles and access profiles. For gathering requestable entitlements, the [Entitlements List API](https://developer.sailpoint.com/docs/api/v2025/list-entitlements) can be used with the segmented-for-identity parameter. Any authenticated token can call this endpoint to see their requestable access items.
50696
50751
  * @summary Requestable objects list
50697
50752
  * @param {RequestableObjectsApiListRequestableObjectsRequest} requestParameters Request parameters.
50698
50753
  * @param {*} [axiosOptions] Override http request option.
@@ -64079,12 +64134,11 @@ export const WorkflowsApiAxiosParamCreator = function (configuration?: Configura
64079
64134
  * @param {string} id Workflow ID.
64080
64135
  * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
64081
64136
  * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
64082
- * @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 [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
64083
64137
  * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **start_time**: *eq, lt, le, gt, ge* **status**: *eq*
64084
64138
  * @param {*} [axiosOptions] Override http request option.
64085
64139
  * @throws {RequiredError}
64086
64140
  */
64087
- getWorkflowExecutions: async (id: string, limit?: number, offset?: number, count?: boolean, filters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
64141
+ getWorkflowExecutions: async (id: string, limit?: number, offset?: number, filters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
64088
64142
  // verify required parameter 'id' is not null or undefined
64089
64143
  assertParamExists('getWorkflowExecutions', 'id', id)
64090
64144
  const localVarPath = `/workflows/{id}/executions`
@@ -64116,10 +64170,6 @@ export const WorkflowsApiAxiosParamCreator = function (configuration?: Configura
64116
64170
  localVarQueryParameter['offset'] = offset;
64117
64171
  }
64118
64172
 
64119
- if (count !== undefined) {
64120
- localVarQueryParameter['count'] = count;
64121
- }
64122
-
64123
64173
  if (filters !== undefined) {
64124
64174
  localVarQueryParameter['filters'] = filters;
64125
64175
  }
@@ -64697,13 +64747,12 @@ export const WorkflowsApiFp = function(configuration?: Configuration) {
64697
64747
  * @param {string} id Workflow ID.
64698
64748
  * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
64699
64749
  * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
64700
- * @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 [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
64701
64750
  * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **start_time**: *eq, lt, le, gt, ge* **status**: *eq*
64702
64751
  * @param {*} [axiosOptions] Override http request option.
64703
64752
  * @throws {RequiredError}
64704
64753
  */
64705
- async getWorkflowExecutions(id: string, limit?: number, offset?: number, count?: boolean, filters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowExecution>>> {
64706
- const localVarAxiosArgs = await localVarAxiosParamCreator.getWorkflowExecutions(id, limit, offset, count, filters, axiosOptions);
64754
+ async getWorkflowExecutions(id: string, limit?: number, offset?: number, filters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowExecution>>> {
64755
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getWorkflowExecutions(id, limit, offset, filters, axiosOptions);
64707
64756
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
64708
64757
  const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.getWorkflowExecutions']?.[localVarOperationServerIndex]?.url;
64709
64758
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -64934,7 +64983,7 @@ export const WorkflowsApiFactory = function (configuration?: Configuration, base
64934
64983
  * @throws {RequiredError}
64935
64984
  */
64936
64985
  getWorkflowExecutions(requestParameters: WorkflowsApiGetWorkflowExecutionsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowExecution>> {
64937
- return localVarFp.getWorkflowExecutions(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, axiosOptions).then((request) => request(axios, basePath));
64986
+ return localVarFp.getWorkflowExecutions(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.filters, axiosOptions).then((request) => request(axios, basePath));
64938
64987
  },
64939
64988
  /**
64940
64989
  * This lists all triggers, actions, and operators in the library
@@ -65181,13 +65230,6 @@ export interface WorkflowsApiGetWorkflowExecutionsRequest {
65181
65230
  */
65182
65231
  readonly offset?: number
65183
65232
 
65184
- /**
65185
- * 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 [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
65186
- * @type {boolean}
65187
- * @memberof WorkflowsApiGetWorkflowExecutions
65188
- */
65189
- readonly count?: boolean
65190
-
65191
65233
  /**
65192
65234
  * Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **start_time**: *eq, lt, le, gt, ge* **status**: *eq*
65193
65235
  * @type {string}
@@ -65504,7 +65546,7 @@ export class WorkflowsApi extends BaseAPI {
65504
65546
  * @memberof WorkflowsApi
65505
65547
  */
65506
65548
  public getWorkflowExecutions(requestParameters: WorkflowsApiGetWorkflowExecutionsRequest, axiosOptions?: RawAxiosRequestConfig) {
65507
- return WorkflowsApiFp(this.configuration).getWorkflowExecutions(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath));
65549
+ return WorkflowsApiFp(this.configuration).getWorkflowExecutions(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath));
65508
65550
  }
65509
65551
 
65510
65552
  /**
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.6.5/ts'},
150
+ ...{'User-Agent':'OpenAPI-Generator/1.6.7/ts'},
151
151
  ...axiosArgs.axiosOptions.headers,
152
- ...{'X-SailPoint-SDK':'typescript-1.6.5'}
152
+ ...{'X-SailPoint-SDK':'typescript-1.6.7'}
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.6.5",
3
+ "version": "1.6.7",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {