(
Page: new (...args: ConstructorParameters<typeof Pagination.AbstractPage>) => PageClass,
options: PromiseOrValue<FinalRequestOptions>,
)
| 955 | } |
| 956 | |
| 957 | requestAPIList< |
| 958 | Item = unknown, |
| 959 | PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>, |
| 960 | >( |
| 961 | Page: new (...args: ConstructorParameters<typeof Pagination.AbstractPage>) => PageClass, |
| 962 | options: PromiseOrValue<FinalRequestOptions>, |
| 963 | ): Pagination.PagePromise<PageClass, Item> { |
| 964 | const request = this.makeRequest(options, null, undefined); |
| 965 | return new Pagination.PagePromise<PageClass, Item>(this as any as OpenAI, request, Page); |
| 966 | } |
| 967 | |
| 968 | protected async fetchWithAuth( |
| 969 | url: RequestInfo, |
no test coverage detected