diff --git a/cli/src/commands/quotes.ts b/cli/src/commands/quotes.ts index 744e4c8f..49a1a41b 100644 --- a/cli/src/commands/quotes.ts +++ b/cli/src/commands/quotes.ts @@ -1,5 +1,5 @@ import { Command } from "commander"; -import { GridClient, PaginatedResponse } from "../client"; +import { GridClient } from "../client"; import { outputResponse, formatError, output } from "../output"; import { GlobalOptions } from "../index"; import { @@ -49,40 +49,6 @@ export function registerQuotesCommand( .command("quotes") .description("Quote management commands"); - quotesCmd - .command("list") - .description("List transfer quotes") - .option("-l, --limit ", "Maximum results (default 20, max 100)", "20") - .option("--cursor ", "Pagination cursor") - .option("--customer-id ", "Filter by sending customer ID") - .option("--sending-account ", "Filter by sending account ID") - .option("--receiving-account ", "Filter by receiving account ID") - .option("--sending-uma
", "Filter by sending UMA address") - .option("--receiving-uma
", "Filter by receiving UMA address") - .option("--status ", "Filter by status (PENDING, PROCESSING, COMPLETED, FAILED, EXPIRED)") - .action(async (options) => { - const opts = program.opts(); - const client = getClient(opts); - if (!client) return; - - const params: Record = { - limit: parseInt(options.limit, 10), - cursor: options.cursor, - customerId: options.customerId, - sendingAccountId: options.sendingAccount, - receivingAccountId: options.receivingAccount, - sendingUmaAddress: options.sendingUma, - receivingUmaAddress: options.receivingUma, - status: options.status, - }; - - const response = await client.get>( - "/quotes", - params - ); - outputResponse(response); - }); - quotesCmd .command("get ") .description("Get quote details")