cloudflare
Version:
The official TypeScript library for the Cloudflare API
64 lines • 1.64 kB
TypeScript
import { APIResource } from "../../resource.js";
import * as Core from "../../core.js";
export declare class LogoMatches extends APIResource {
/**
* Return matches as CSV for logo queries based on ID
*/
download(params: LogoMatchDownloadParams, options?: Core.RequestOptions): Core.APIPromise<LogoMatchDownloadResponse>;
/**
* Return matches for logo queries based on ID
*/
get(params: LogoMatchGetParams, options?: Core.RequestOptions): Core.APIPromise<LogoMatchGetResponse>;
}
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