import { HttpClient } from '../../client/http-client'; import { DeleteResponse } from '../../types/v2/common'; import { PlanCreateInput, PlanCreateResponse, PlanListQuery, PlanListResponse, PlanResponse, PlanUpdateInput } from '../../types/v2/plans'; import { BaseResource } from '../base.resource'; /** * Plans endpoints for API v2 * * @see {@link https://apidocs.culqi.com/#tag/Planes Documentation}. * */ export declare class Plans extends BaseResource { constructor(http: HttpClient, apiVersion: string); /** * Create plan * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/plans/create.ts Usage Example} * */ create(data: PlanCreateInput): Promise; /** * Get plans * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/plans/find-by.ts Usage Example} * */ findBy(params?: PlanListQuery): Promise; /** * Get plan * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/plans/find.ts Usage Example} * */ find(id: string): Promise; /** * Update plan * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/plans/update.ts Usage Example} * */ update(id: string, data: PlanUpdateInput): Promise; /** * Delete plan * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/plans/remove.ts Usage Example} * */ remove(id: string): Promise; } //# sourceMappingURL=plans.resource.d.ts.map