cloudflare
Version:
The official TypeScript library for the Cloudflare API
26 lines • 949 B
JavaScript
;
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.LogoMatches = void 0;
const resource_1 = require("../../resource.js");
class LogoMatches extends resource_1.APIResource {
/**
* Return matches as CSV for logo queries based on ID
*/
download(params, options) {
const { account_id, ...query } = params;
return this._client.get(`/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(`/accounts/${account_id}/brand-protection/logo-matches`, { query, ...options });
}
}
exports.LogoMatches = LogoMatches;
//# sourceMappingURL=logo-matches.js.map