sailpoint-api-client 1.6.6 → 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.6/ts'},
150
+ ...{'User-Agent':'OpenAPI-Generator/1.6.7/ts'},
151
151
  ...axiosArgs.axiosOptions.headers,
152
- ...{'X-SailPoint-SDK':'typescript-1.6.6'}
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.6",
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.6
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.6 --save
39
+ npm install sailpoint-sdk@1.6.7 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/v3/api.ts CHANGED
@@ -6972,7 +6972,13 @@ export interface CreatePersonalAccessTokenRequest {
6972
6972
  * @type {number}
6973
6973
  * @memberof CreatePersonalAccessTokenRequest
6974
6974
  */
6975
- '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;
6976
6982
  }
6977
6983
  /**
6978
6984
  *
@@ -7022,6 +7028,12 @@ export interface CreatePersonalAccessTokenResponse {
7022
7028
  * @memberof CreatePersonalAccessTokenResponse
7023
7029
  */
7024
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;
7025
7037
  }
7026
7038
  /**
7027
7039
  *
@@ -10307,6 +10319,18 @@ export interface GetPersonalAccessTokenResponse {
10307
10319
  * @memberof GetPersonalAccessTokenResponse
10308
10320
  */
10309
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;
10310
10334
  }
10311
10335
  /**
10312
10336
  *
@@ -21605,6 +21629,38 @@ export const SodPolicyDtoTypeV3 = {
21605
21629
 
21606
21630
  export type SodPolicyDtoTypeV3 = typeof SodPolicyDtoTypeV3[keyof typeof SodPolicyDtoTypeV3];
21607
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
+
21608
21664
  /**
21609
21665
  * The owner of the SOD policy.
21610
21666
  * @export
@@ -22104,10 +22160,10 @@ export interface SodViolationCheckResult {
22104
22160
  'violationContexts'?: Array<SodViolationContext> | null;
22105
22161
  /**
22106
22162
  * A list of the SOD policies that were violated.
22107
- * @type {Array<SodPolicyDto>}
22163
+ * @type {Array<SodPolicyDto1>}
22108
22164
  * @memberof SodViolationCheckResult
22109
22165
  */
22110
- 'violatedPolicies'?: Array<SodPolicyDto> | null;
22166
+ 'violatedPolicies'?: Array<SodPolicyDto1> | null;
22111
22167
  }
22112
22168
  /**
22113
22169
  * The contextual information of the violated criteria
@@ -22117,10 +22173,10 @@ export interface SodViolationCheckResult {
22117
22173
  export interface SodViolationContext {
22118
22174
  /**
22119
22175
  *
22120
- * @type {SodPolicyDto}
22176
+ * @type {SodPolicyDto1}
22121
22177
  * @memberof SodViolationContext
22122
22178
  */
22123
- 'policy'?: SodPolicyDto;
22179
+ 'policy'?: SodPolicyDto1;
22124
22180
  /**
22125
22181
  *
22126
22182
  * @type {SodViolationContextConflictingAccessCriteria}
@@ -50477,7 +50533,7 @@ export type GetReportFileFormatV3 = typeof GetReportFileFormatV3[keyof typeof Ge
50477
50533
  export const RequestableObjectsApiAxiosParamCreator = function (configuration?: Configuration) {
50478
50534
  return {
50479
50535
  /**
50480
- * 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.
50481
50537
  * @summary Requestable objects list
50482
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.
50483
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.
@@ -50570,7 +50626,7 @@ export const RequestableObjectsApiFp = function(configuration?: Configuration) {
50570
50626
  const localVarAxiosParamCreator = RequestableObjectsApiAxiosParamCreator(configuration)
50571
50627
  return {
50572
50628
  /**
50573
- * 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.
50574
50630
  * @summary Requestable objects list
50575
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.
50576
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.
@@ -50601,7 +50657,7 @@ export const RequestableObjectsApiFactory = function (configuration?: Configurat
50601
50657
  const localVarFp = RequestableObjectsApiFp(configuration)
50602
50658
  return {
50603
50659
  /**
50604
- * 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.
50605
50661
  * @summary Requestable objects list
50606
50662
  * @param {RequestableObjectsApiListRequestableObjectsRequest} requestParameters Request parameters.
50607
50663
  * @param {*} [axiosOptions] Override http request option.
@@ -50691,7 +50747,7 @@ export interface RequestableObjectsApiListRequestableObjectsRequest {
50691
50747
  */
50692
50748
  export class RequestableObjectsApi extends BaseAPI {
50693
50749
  /**
50694
- * 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.
50695
50751
  * @summary Requestable objects list
50696
50752
  * @param {RequestableObjectsApiListRequestableObjectsRequest} requestParameters Request parameters.
50697
50753
  * @param {*} [axiosOptions] Override http request option.
@@ -64078,12 +64134,11 @@ export const WorkflowsApiAxiosParamCreator = function (configuration?: Configura
64078
64134
  * @param {string} id Workflow ID.
64079
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.
64080
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.
64081
- * @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.
64082
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*
64083
64138
  * @param {*} [axiosOptions] Override http request option.
64084
64139
  * @throws {RequiredError}
64085
64140
  */
64086
- 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> => {
64087
64142
  // verify required parameter 'id' is not null or undefined
64088
64143
  assertParamExists('getWorkflowExecutions', 'id', id)
64089
64144
  const localVarPath = `/workflows/{id}/executions`
@@ -64115,10 +64170,6 @@ export const WorkflowsApiAxiosParamCreator = function (configuration?: Configura
64115
64170
  localVarQueryParameter['offset'] = offset;
64116
64171
  }
64117
64172
 
64118
- if (count !== undefined) {
64119
- localVarQueryParameter['count'] = count;
64120
- }
64121
-
64122
64173
  if (filters !== undefined) {
64123
64174
  localVarQueryParameter['filters'] = filters;
64124
64175
  }
@@ -64696,13 +64747,12 @@ export const WorkflowsApiFp = function(configuration?: Configuration) {
64696
64747
  * @param {string} id Workflow ID.
64697
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.
64698
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.
64699
- * @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.
64700
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*
64701
64751
  * @param {*} [axiosOptions] Override http request option.
64702
64752
  * @throws {RequiredError}
64703
64753
  */
64704
- async getWorkflowExecutions(id: string, limit?: number, offset?: number, count?: boolean, filters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowExecution>>> {
64705
- 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);
64706
64756
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
64707
64757
  const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.getWorkflowExecutions']?.[localVarOperationServerIndex]?.url;
64708
64758
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -64933,7 +64983,7 @@ export const WorkflowsApiFactory = function (configuration?: Configuration, base
64933
64983
  * @throws {RequiredError}
64934
64984
  */
64935
64985
  getWorkflowExecutions(requestParameters: WorkflowsApiGetWorkflowExecutionsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowExecution>> {
64936
- 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));
64937
64987
  },
64938
64988
  /**
64939
64989
  * This lists all triggers, actions, and operators in the library
@@ -65180,13 +65230,6 @@ export interface WorkflowsApiGetWorkflowExecutionsRequest {
65180
65230
  */
65181
65231
  readonly offset?: number
65182
65232
 
65183
- /**
65184
- * 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.
65185
- * @type {boolean}
65186
- * @memberof WorkflowsApiGetWorkflowExecutions
65187
- */
65188
- readonly count?: boolean
65189
-
65190
65233
  /**
65191
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*
65192
65235
  * @type {string}
@@ -65503,7 +65546,7 @@ export class WorkflowsApi extends BaseAPI {
65503
65546
  * @memberof WorkflowsApi
65504
65547
  */
65505
65548
  public getWorkflowExecutions(requestParameters: WorkflowsApiGetWorkflowExecutionsRequest, axiosOptions?: RawAxiosRequestConfig) {
65506
- 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));
65507
65550
  }
65508
65551
 
65509
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.6/ts'},
150
+ ...{'User-Agent':'OpenAPI-Generator/1.6.7/ts'},
151
151
  ...axiosArgs.axiosOptions.headers,
152
- ...{'X-SailPoint-SDK':'typescript-1.6.6'}
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.6",
3
+ "version": "1.6.7",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {