mercadopago
Version:
Mercadopago SDK for Node.js
28 lines (27 loc) • 906 B
TypeScript
import type { MercadoPagoConfig } from '../../../mercadoPagoConfig';
import type { SearchOptions } from '../../../types';
import type { PreApprovalPlanResponse } from '../commonTypes';
import type { Options } from '../../../types';
export declare type PreApprovalPlanSearchClient = {
options?: PreApprovalPlanSearchOptions;
config: MercadoPagoConfig;
};
export declare interface PreApprovalPlanSearchOptions extends SearchOptions {
status?: string;
q?: string;
sort?: string;
criteria?: string;
}
export declare type PreApprovalPlanSearchResponse = {
paging?: PreApprovalPlanSearchPaging;
results?: Array<PreApprovalPlanResponse>;
};
export declare type PreApprovalPlanSearchPaging = {
total: number;
limit: number;
offset: number;
};
export declare type PreApprovalPlanSearchData = {
options?: PreApprovalPlanSearchOptions;
requestOptions?: Options;
};