sailpoint-oss / typescript-sdk

MIT License
9 stars 6 forks source link

GovernanceGroupsBetaApiListWorkgroupsRequest does not have a filters property #16

Closed yannick-beot-sp closed 1 year ago

yannick-beot-sp commented 1 year ago

GovernanceGroupsBetaApiListWorkgroupsRequest is used by the GovernanceGroupsBetaApi's listWorkgroups.

In version 1.2.3, the GovernanceGroupsBetaApiListWorkgroupsRequest is defined as follow:

export interface GovernanceGroupsBetaApiListWorkgroupsRequest {
    /**
     * 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.
     * @type {number}
     * @memberof GovernanceGroupsBetaApiListWorkgroups
     */
    readonly offset?: number;
    /**
     * Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
     * @type {number}
     * @memberof GovernanceGroupsBetaApiListWorkgroups
     */
    readonly limit?: number;
    /**
     * 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=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.
     * @type {boolean}
     * @memberof GovernanceGroupsBetaApiListWorkgroups
     */
    readonly count?: boolean;
    /**
     * 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: **name, created, modified**
     * @type {string}
     * @memberof GovernanceGroupsBetaApiListWorkgroups
     */
    readonly sorters?: string;
}

The associated endpoint https://developer.sailpoint.com/idn/api/beta/list-workgroups does support filters

image

yannick-beot-sp commented 1 year ago

May be related: https://github.com/sailpoint-oss/developer.sailpoint.com/issues/349

yannick-beot-sp commented 1 year ago

Fixed in 1.3.0