/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { customerPortalDownloadablesList } from "../funcs/customerPortalDownloadablesList.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { CustomerPortalDownloadablesListRequest, CustomerPortalDownloadablesListResponse, CustomerPortalDownloadablesListSecurity, } from "../models/operations/customerportaldownloadableslist.js"; import { PageIterator, unwrapResultIterator } from "../types/operations.js"; export class Downloadables extends ClientSDK { /** * List Downloadables * * @remarks * **Scopes**: `customer_portal:read` `customer_portal:write` */ async list( security: CustomerPortalDownloadablesListSecurity, request: CustomerPortalDownloadablesListRequest, options?: RequestOptions, ): Promise< PageIterator > { return unwrapResultIterator(customerPortalDownloadablesList( this, security, request, options, )); } }