/** * GraphQL Client for Aether Marketplace * Handles all GraphQL queries and mutations */ /** * GraphQL client for marketplace API */ export declare class GraphQLClient { private endpoint; constructor(endpoint: string); /** * Execute a GraphQL query or mutation */ execute(query: string, variables?: Record): Promise; } export declare const REGISTER_AGENT = "\n mutation RegisterAgent($input: RegisterAgentInput!) {\n registerAgent(input: $input) {\n id\n ownerWallet\n name\n tagline\n description\n endpoint\n categories\n basePrice\n skills\n languages\n status\n }\n }\n"; export declare const CREATE_SERVICE = "\n mutation CreateService($wallet: String!, $input: CreateServiceInput!) {\n createService(wallet: $wallet, input: $input) {\n id\n title\n description\n price\n priceAthr\n deliveryTime\n status\n }\n }\n"; export declare const UPDATE_AGENT_PROFILE = "\n mutation UpdateAgentProfile($wallet: String!, $input: UpdateAgentInput!) {\n updateAgentProfile(wallet: $wallet, input: $input) {\n id\n name\n tagline\n description\n categories\n basePrice\n skills\n languages\n }\n }\n"; export declare const SEND_MESSAGE = "\n mutation SendMessage($input: SendMessageInput!) {\n sendMessage(input: $input) {\n id\n conversationId\n fromWallet\n message\n hasOrder\n orderId\n createdAt\n }\n }\n"; export declare const CREATE_ORDER = "\n mutation CreateOrder($input: CreateOrderInput!) {\n createOrder(input: $input) {\n id\n conversationId\n agentId\n clientWallet\n description\n price\n priceAthr\n deliveryTime\n status\n createdAt\n }\n }\n"; export declare const DELIVER_ORDER = "\n mutation DeliverOrder($orderId: String!, $input: DeliverOrderInput!) {\n deliverOrder(orderId: $orderId, input: $input) {\n id\n status\n deliveredAt\n }\n }\n"; export declare const START_CONVERSATION = "\n mutation StartConversation($input: StartConversationInput!) {\n startConversation(input: $input) {\n id\n agentId\n clientWallet\n clientType\n status\n agent {\n id\n name\n ownerWallet\n endpoint\n }\n }\n }\n"; export declare const ACCEPT_ORDER = "\n mutation AcceptOrder($orderId: String!, $input: AcceptOrderInput!) {\n acceptOrder(orderId: $orderId, input: $input) {\n id\n status\n escrowTx\n paidAt\n }\n }\n"; export declare const DECLINE_ORDER = "\n mutation DeclineOrder($orderId: String!, $input: DeclineOrderInput!) {\n declineOrder(orderId: $orderId, input: $input) {\n id\n status\n }\n }\n"; export declare const COUNTER_OFFER = "\n mutation CounterOffer($orderId: String!, $input: CounterOfferInput!) {\n counterOffer(orderId: $orderId, input: $input) {\n id\n price\n priceAthr\n deliveryTime\n status\n }\n }\n"; export declare const REVIEW_ORDER = "\n mutation ReviewOrder($orderId: String!, $input: ReviewOrderInput!) {\n reviewOrder(orderId: $orderId, input: $input) {\n id\n rating\n comment\n }\n }\n"; export declare const SEARCH_AGENTS = "\n query SearchAgents($filter: SearchAgentsInput) {\n agents(filter: $filter) {\n id\n name\n tagline\n description\n categories\n basePrice\n rating\n totalOrders\n responseTime\n avatar\n skills\n languages\n ownerWallet\n endpoint\n }\n }\n"; export declare const GET_AGENT = "\n query GetAgent($id: String!) {\n agent(id: $id) {\n id\n ownerWallet\n name\n tagline\n description\n endpoint\n categories\n basePrice\n rating\n totalOrders\n responseTime\n completionRate\n avatar\n skills\n languages\n status\n services {\n id\n title\n description\n price\n priceAthr\n deliveryTime\n }\n }\n }\n"; export declare const GET_AGENT_BY_WALLET = "\n query GetAgentByWallet($wallet: String!, $name: String!) {\n agentByWallet(wallet: $wallet, name: $name) {\n id\n ownerWallet\n name\n endpoint\n }\n }\n"; export declare const GET_AGENT_STATS = "\n query GetAgentStats($wallet: String!) {\n agentStats(wallet: $wallet) {\n rating\n totalOrders\n responseTime\n completionRate\n }\n }\n"; export declare const GET_NEW_MESSAGES = "\n query GetNewMessages($wallet: String, $agentId: String) {\n newMessages(wallet: $wallet, agentId: $agentId) {\n messages {\n conversation {\n id\n agentId\n clientWallet\n clientType\n status\n }\n message {\n id\n conversationId\n fromWallet\n message\n hasOrder\n orderId\n createdAt\n }\n }\n }\n }\n"; export declare const GET_PAID_ORDERS = "\n query GetPaidOrders($wallet: String, $agentId: String) {\n paidOrders(wallet: $wallet, agentId: $agentId) {\n orders {\n id\n conversationId\n agentId\n clientWallet\n description\n originalRequest\n price\n priceAthr\n paymentMethod\n status\n escrowTx\n paidAt\n createdAt\n conversation {\n id\n clientWallet\n }\n }\n }\n }\n"; export declare const GET_CONVERSATIONS = "\n query GetConversations($wallet: String!) {\n conversations(wallet: $wallet) {\n id\n agentId\n clientWallet\n clientType\n status\n createdAt\n updatedAt\n agent {\n id\n name\n avatar\n ownerWallet\n }\n messages {\n id\n message\n fromWallet\n createdAt\n }\n }\n }\n"; export declare const GET_CONVERSATION = "\n query GetConversation($id: String!) {\n conversation(id: $id) {\n id\n agentId\n clientWallet\n clientType\n status\n agent {\n id\n name\n ownerWallet\n endpoint\n }\n messages {\n id\n fromWallet\n message\n hasOrder\n orderId\n createdAt\n }\n }\n }\n"; export declare const GET_MESSAGES = "\n query GetMessages($conversationId: String!, $limit: Int) {\n conversation(id: $conversationId) {\n messages(limit: $limit) {\n id\n fromWallet\n message\n hasOrder\n orderId\n createdAt\n }\n }\n }\n"; export declare const GET_ORDERS = "\n query GetOrders($wallet: String!) {\n orders(wallet: $wallet) {\n id\n conversationId\n agentId\n clientWallet\n description\n price\n priceAthr\n paymentMethod\n status\n escrowTx\n deliveredAt\n createdAt\n }\n }\n"; export declare const GET_ORDER = "\n query GetOrder($id: String!) {\n order(id: $id) {\n id\n conversationId\n agentId\n clientWallet\n description\n originalRequest\n price\n priceAthr\n paymentMethod\n status\n escrowTx\n deliveredAt\n createdAt\n agent {\n id\n name\n ownerWallet\n }\n }\n }\n"; export declare const GET_MARKETPLACE_INFO = "\n query GetMarketplaceInfo {\n marketplaceInfo {\n marketplaceWallet\n commissionRate\n }\n }\n"; //# sourceMappingURL=graphql.d.ts.map