import { HttpClient } from '../../client/http-client'; import { OrderCreateInput, OrderResponse, OrderListQuery, OrderListResponse, OrderTypeConfirmInput, OrderUpdateInput } from '../../types/v2/orders'; import { BaseResource } from '../base.resource'; /** * Orders endpoints for API v2 * * @see {@link https://apidocs.culqi.com/#tag/Ordenes Documentation}. * */ export declare class Orders extends BaseResource { constructor(http: HttpClient, apiVersion: string); /** * Create order * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/orders/create.ts Usage Example} * */ create(data: OrderCreateInput): Promise; /** * Get orders * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/orders/find-by.ts Usage Example} * */ findBy(params?: OrderListQuery): Promise; /** * Confirm order * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/orders/confirm.ts Usage Example} * */ confirm(id: string): Promise; /** * Confirm order type * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/orders/confirm-with-type.ts Usage Example} * */ confirmWithType(data: OrderTypeConfirmInput): Promise; /** * Get order * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/orders/find.ts Usage Example} * */ find(id: string): Promise; /** * Update order * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/orders/update.ts Usage Example} * */ update(id: string, data: OrderUpdateInput): Promise; /** * Delete order * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/orders/remove.ts Usage Example} * */ remove(id: string): Promise; } //# sourceMappingURL=orders.resource.d.ts.map