/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { benefitGrantsList } from "../funcs/benefitGrantsList.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { BenefitGrantsListRequest, BenefitGrantsListResponse, } from "../models/operations/benefitgrantslist.js"; import { PageIterator, unwrapResultIterator } from "../types/operations.js"; export class BenefitGrants extends ClientSDK { /** * List Benefit Grants * * @remarks * List benefit grants across all benefits accessible to the authenticated subject. * * **Scopes**: `benefits:read` `benefits:write` */ async list( request: BenefitGrantsListRequest, options?: RequestOptions, ): Promise> { return unwrapResultIterator(benefitGrantsList( this, request, options, )); } }