cloudflare
Version:
The official TypeScript library for the Cloudflare API
68 lines • 1.84 kB
TypeScript
import { APIResource } from "../../core/resource.js";
import { APIPromise } from "../../core/api-promise.js";
import { RequestOptions } from "../../internal/request-options.js";
export declare class BaseLogoMatches extends APIResource {
static readonly _key: readonly ['brandProtection', 'logoMatches'];
/**
* Return matches as CSV for logo queries based on ID
*/
download(params: LogoMatchDownloadParams, options?: RequestOptions): APIPromise<LogoMatchDownloadResponse>;
/**
* Return matches for logo queries based on ID
*/
get(params: LogoMatchGetParams, options?: RequestOptions): APIPromise<LogoMatchGetResponse>;
}
export declare class LogoMatches extends BaseLogoMatches {
}
export interface LogoMatchDownloadResponse {
matches?: Array<{
[key: string]: unknown;
}>;
total?: number;
}
export interface LogoMatchGetResponse {
matches?: Array<{
[key: string]: unknown;
}>;
total?: number;
}
export interface LogoMatchDownloadParams {
/**
* Path param
*/
account_id: string;
/**
* Query param
*/
limit?: string;
/**
* Query param
*/
logo_id?: Array<string>;
/**
* Query param
*/
offset?: string;
}
export interface LogoMatchGetParams {
/**
* Path param
*/
account_id: string;
/**
* Query param
*/
limit?: string;
/**
* Query param
*/
logo_id?: Array<string>;
/**
* Query param
*/
offset?: string;
}
export declare namespace LogoMatches {
export { type LogoMatchDownloadResponse as LogoMatchDownloadResponse, type LogoMatchGetResponse as LogoMatchGetResponse, type LogoMatchDownloadParams as LogoMatchDownloadParams, type LogoMatchGetParams as LogoMatchGetParams, };
}
//# sourceMappingURL=logo-matches.d.ts.map