import Stigg from '@stigg/typescript';const client = new Stigg({ apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted});// Automatically fetches more pages as needed.for await (const customerListResourcesResponse of client.v1.customers.listResources('x')) { console.log(customerListResourcesResponse.id);}
import Stigg from '@stigg/typescript';const client = new Stigg({ apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted});// Automatically fetches more pages as needed.for await (const customerListResourcesResponse of client.v1.customers.listResources('x')) { console.log(customerListResourcesResponse.id);}