UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

35 lines • 1.23 kB
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../core/resource.mjs"; import { path } from "../../internal/utils/path.mjs"; export var BaseLogoMatches = /* @__PURE__ */ (() => { class BaseLogoMatches extends APIResource { /** * Return matches as CSV for logo queries based on ID */ download(params, options) { const { account_id, ...query } = params; return this._client.get(path `/accounts/${account_id}/brand-protection/logo-matches/download`, { query, ...options, }); } /** * Return matches for logo queries based on ID */ get(params, options) { const { account_id, ...query } = params; return this._client.get(path `/accounts/${account_id}/brand-protection/logo-matches`, { query, ...options, }); } } BaseLogoMatches._key = Object.freeze([ 'brandProtection', 'logoMatches', ]); return BaseLogoMatches; })(); export class LogoMatches extends BaseLogoMatches { } //# sourceMappingURL=logo-matches.mjs.map