UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

20 lines • 816 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../core/resource.mjs"; import { SinglePage } from "../../core/pagination.mjs"; import { path } from "../../internal/utils/path.mjs"; export var BaseAuthors = /* @__PURE__ */ (() => { class BaseAuthors extends APIResource { /** * Searches Workers AI models by author or organization name. */ list(params, options) { const { account_id } = params; return this._client.getAPIList(path `/accounts/${account_id}/ai/authors/search`, (SinglePage), options); } } BaseAuthors._key = Object.freeze(['ai', 'authors']); return BaseAuthors; })(); export class Authors extends BaseAuthors { } //# sourceMappingURL=authors.mjs.map