@paybyrd/ai-agent-toolkit
Version:
Toolkit for building AI agents with various models
18 lines (17 loc) • 748 B
TypeScript
import { z } from 'zod';
import { createPaymentLinkParameters, createRefundParameters, retrieveOrderParameters } from './parameters.js';
interface AuthInfo {
authToken: string;
isApiKey: boolean;
}
export declare const createPaymentLink: (auth: AuthInfo, baseUrl: string, params: z.infer<typeof createPaymentLinkParameters>) => Promise<string | {
checkoutUrl: any;
orderId: any;
}>;
export declare const createRefund: (auth: AuthInfo, baseUrl: string, params: z.infer<typeof createRefundParameters>) => Promise<string | {
success: boolean;
code: any;
description: any;
}>;
export declare const retrieveOrder: (auth: AuthInfo, baseUrl: string, params: z.infer<typeof retrieveOrderParameters>) => Promise<any>;
export {};