import { z } from 'zod'; import { CredentialType } from '@bubblelab/shared-schemas'; /** * Amazon Cart Item schema */ export declare const CartItemSchema: z.ZodObject<{ asin: z.ZodString; title: z.ZodString; price: z.ZodString; quantity: z.ZodNumber; image: z.ZodOptional; url: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; price: string; quantity: number; asin: string; image?: string | undefined; url?: string | undefined; }, { title: string; price: string; quantity: number; asin: string; image?: string | undefined; url?: string | undefined; }>; export type CartItem = z.infer; /** * Amazon Shopping Tool parameters schema * Multi-operation tool for Amazon shopping automation */ export declare const AmazonShoppingToolParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"add_to_cart">; product_url: z.ZodString; quantity: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "add_to_cart"; quantity: number; product_url: string; credentials?: Partial> | undefined; }, { operation: "add_to_cart"; product_url: string; credentials?: Partial> | undefined; quantity?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_cart">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_cart"; credentials?: Partial> | undefined; }, { operation: "get_cart"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"checkout">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "checkout"; credentials?: Partial> | undefined; }, { operation: "checkout"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; query: z.ZodString; max_results: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { query: string; operation: "search"; max_results: number; credentials?: Partial> | undefined; }, { query: string; operation: "search"; credentials?: Partial> | undefined; max_results?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_product">; product_url: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_product"; product_url: string; credentials?: Partial> | undefined; }, { operation: "get_product"; product_url: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"screenshot">; url: z.ZodOptional; full_page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "screenshot"; full_page: boolean; credentials?: Partial> | undefined; url?: string | undefined; }, { operation: "screenshot"; credentials?: Partial> | undefined; url?: string | undefined; full_page?: boolean | undefined; }>]>; /** * Search result item */ export declare const SearchResultSchema: z.ZodObject<{ asin: z.ZodString; title: z.ZodString; price: z.ZodOptional; rating: z.ZodOptional; reviews_count: z.ZodOptional; url: z.ZodString; image: z.ZodOptional; prime: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; url: string; asin: string; image?: string | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; prime?: boolean | undefined; }, { title: string; url: string; asin: string; image?: string | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; prime?: boolean | undefined; }>; export type SearchResult = z.infer; /** * Product details */ export declare const ProductDetailsSchema: z.ZodObject<{ asin: z.ZodString; title: z.ZodString; price: z.ZodOptional; rating: z.ZodOptional; reviews_count: z.ZodOptional; description: z.ZodOptional; features: z.ZodOptional>; availability: z.ZodOptional; url: z.ZodString; images: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; url: string; asin: string; description?: string | undefined; images?: string[] | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; features?: string[] | undefined; availability?: string | undefined; }, { title: string; url: string; asin: string; description?: string | undefined; images?: string[] | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; features?: string[] | undefined; availability?: string | undefined; }>; export type ProductDetails = z.infer; /** * Amazon Shopping Tool result schemas */ export declare const AmazonShoppingToolResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"add_to_cart">; success: z.ZodBoolean; message: z.ZodOptional; cart_count: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "add_to_cart"; message?: string | undefined; cart_count?: number | undefined; }, { error: string; success: boolean; operation: "add_to_cart"; message?: string | undefined; cart_count?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_cart">; success: z.ZodBoolean; items: z.ZodOptional; url: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; price: string; quantity: number; asin: string; image?: string | undefined; url?: string | undefined; }, { title: string; price: string; quantity: number; asin: string; image?: string | undefined; url?: string | undefined; }>, "many">>; subtotal: z.ZodOptional; total_items: z.ZodOptional; screenshot_url: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_cart"; items?: { title: string; price: string; quantity: number; asin: string; image?: string | undefined; url?: string | undefined; }[] | undefined; subtotal?: string | undefined; total_items?: number | undefined; screenshot_url?: string | undefined; }, { error: string; success: boolean; operation: "get_cart"; items?: { title: string; price: string; quantity: number; asin: string; image?: string | undefined; url?: string | undefined; }[] | undefined; subtotal?: string | undefined; total_items?: number | undefined; screenshot_url?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"checkout">; success: z.ZodBoolean; order_number: z.ZodOptional; estimated_delivery: z.ZodOptional; total: z.ZodOptional; subtotal: z.ZodOptional; shipping_cost: z.ZodOptional; tax: z.ZodOptional; shipping_address: z.ZodOptional; payment_method: z.ZodOptional; items: z.ZodOptional; price: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; price?: string | undefined; quantity?: number | undefined; }, { title: string; price?: string | undefined; quantity?: number | undefined; }>, "many">>; screenshot_url: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "checkout"; items?: { title: string; price?: string | undefined; quantity?: number | undefined; }[] | undefined; total?: string | undefined; subtotal?: string | undefined; screenshot_url?: string | undefined; order_number?: string | undefined; estimated_delivery?: string | undefined; shipping_cost?: string | undefined; tax?: string | undefined; shipping_address?: string | undefined; payment_method?: string | undefined; }, { error: string; success: boolean; operation: "checkout"; items?: { title: string; price?: string | undefined; quantity?: number | undefined; }[] | undefined; total?: string | undefined; subtotal?: string | undefined; screenshot_url?: string | undefined; order_number?: string | undefined; estimated_delivery?: string | undefined; shipping_cost?: string | undefined; tax?: string | undefined; shipping_address?: string | undefined; payment_method?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; success: z.ZodBoolean; results: z.ZodOptional; rating: z.ZodOptional; reviews_count: z.ZodOptional; url: z.ZodString; image: z.ZodOptional; prime: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; url: string; asin: string; image?: string | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; prime?: boolean | undefined; }, { title: string; url: string; asin: string; image?: string | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; prime?: boolean | undefined; }>, "many">>; total_results: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search"; results?: { title: string; url: string; asin: string; image?: string | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; prime?: boolean | undefined; }[] | undefined; total_results?: number | undefined; }, { error: string; success: boolean; operation: "search"; results?: { title: string; url: string; asin: string; image?: string | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; prime?: boolean | undefined; }[] | undefined; total_results?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_product">; success: z.ZodBoolean; product: z.ZodOptional; rating: z.ZodOptional; reviews_count: z.ZodOptional; description: z.ZodOptional; features: z.ZodOptional>; availability: z.ZodOptional; url: z.ZodString; images: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; url: string; asin: string; description?: string | undefined; images?: string[] | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; features?: string[] | undefined; availability?: string | undefined; }, { title: string; url: string; asin: string; description?: string | undefined; images?: string[] | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; features?: string[] | undefined; availability?: string | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_product"; product?: { title: string; url: string; asin: string; description?: string | undefined; images?: string[] | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; features?: string[] | undefined; availability?: string | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_product"; product?: { title: string; url: string; asin: string; description?: string | undefined; images?: string[] | undefined; price?: string | undefined; rating?: string | undefined; reviews_count?: string | undefined; features?: string[] | undefined; availability?: string | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"screenshot">; success: z.ZodBoolean; screenshot_url: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "screenshot"; screenshot_url?: string | undefined; }, { error: string; success: boolean; operation: "screenshot"; screenshot_url?: string | undefined; }>]>; export type AmazonShoppingToolParams = z.output; export type AmazonShoppingToolParamsInput = z.input; export type AmazonShoppingToolResult = z.output; //# sourceMappingURL=amazon-shopping-tool.schema.d.ts.map