UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

26 lines 922 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.Matches = void 0; const resource_1 = require("../../resource.js"); class Matches extends resource_1.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 }); } } exports.Matches = Matches; //# sourceMappingURL=matches.js.map