@hivetechs/hive-ai
Version:
Real-time streaming AI consensus platform with HTTP+SSE MCP integration for Claude Code, VS Code, Cursor, and Windsurf - powered by OpenRouter's unified API
36 lines • 1.79 kB
TypeScript
/**
* Purchase Flow Integration Tester
* Tests the complete subscription and credit purchase flow with Paddle
*/
import { z } from 'zod';
export declare const purchaseFlowTesterToolName = "test_purchase_flow";
export declare const purchaseFlowTesterToolDescription = "Test the complete purchase flow integration with Paddle";
export declare const PurchaseFlowTesterSchema: z.ZodObject<{
test_type: z.ZodEnum<["subscription_upgrade", "credit_purchase", "webhook_simulation", "full_flow", "validate_urls"]>;
tier: z.ZodOptional<z.ZodEnum<["basic", "standard", "premium", "team"]>>;
billing: z.ZodOptional<z.ZodEnum<["monthly", "yearly"]>>;
credit_pack: z.ZodOptional<z.ZodEnum<["starter", "value", "power"]>>;
simulate_user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
test_type: "credit_purchase" | "subscription_upgrade" | "webhook_simulation" | "full_flow" | "validate_urls";
tier?: "premium" | "basic" | "standard" | "team" | undefined;
billing?: "monthly" | "yearly" | undefined;
credit_pack?: "value" | "starter" | "power" | undefined;
simulate_user_id?: string | undefined;
}, {
test_type: "credit_purchase" | "subscription_upgrade" | "webhook_simulation" | "full_flow" | "validate_urls";
tier?: "premium" | "basic" | "standard" | "team" | undefined;
billing?: "monthly" | "yearly" | undefined;
credit_pack?: "value" | "starter" | "power" | undefined;
simulate_user_id?: string | undefined;
}>;
export declare function runPurchaseFlowTesterTool(args: z.infer<typeof PurchaseFlowTesterSchema>): Promise<{
test_results: string;
message: string;
error?: undefined;
} | {
error: string;
message: string;
test_results?: undefined;
}>;
//# sourceMappingURL=purchase-flow-tester.d.ts.map