cloudflare
Version:
The official TypeScript library for the Cloudflare API
22 lines • 790 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../resource.mjs";
export class Matches extends APIResource {
/**
* Return matches as CSV for string queries based on ID
*/
download(params, options) {
const { account_id, ...query } = params;
return this._client.get(`/accounts/${account_id}/brand-protection/matches/download`, {
query,
...options,
});
}
/**
* Return matches for string queries based on ID
*/
get(params, options) {
const { account_id, ...query } = params;
return this._client.get(`/accounts/${account_id}/brand-protection/matches`, { query, ...options });
}
}
//# sourceMappingURL=matches.mjs.map