import { z } from 'zod'; import { CredentialType } from '@bubblelab/shared-schemas'; export declare const StripeCustomerSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional>; email: z.ZodOptional>; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; }, { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; }>; export declare const StripeProductSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; active: z.ZodBoolean; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; id: string; created: number; active: boolean; description?: string | null | undefined; metadata?: Record | undefined; }, { name: string; id: string; created: number; active: boolean; description?: string | null | undefined; metadata?: Record | undefined; }>; export declare const StripePriceSchema: z.ZodObject<{ id: z.ZodString; product: z.ZodString; unit_amount: z.ZodNullable; currency: z.ZodString; type: z.ZodEnum<["one_time", "recurring"]>; active: z.ZodBoolean; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "one_time" | "recurring"; id: string; created: number; currency: string; active: boolean; product: string; unit_amount: number | null; metadata?: Record | undefined; }, { type: "one_time" | "recurring"; id: string; created: number; currency: string; active: boolean; product: string; unit_amount: number | null; metadata?: Record | undefined; }>; export declare const StripePaymentLinkSchema: z.ZodObject<{ id: z.ZodString; url: z.ZodString; active: z.ZodBoolean; created: z.ZodOptional; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; url: string; active: boolean; metadata?: Record | undefined; created?: number | undefined; }, { id: string; url: string; active: boolean; metadata?: Record | undefined; created?: number | undefined; }>; export declare const StripeInvoiceSchema: z.ZodObject<{ id: z.ZodString; customer: z.ZodNullable; status: z.ZodNullable>; total: z.ZodNumber; currency: z.ZodString; created: z.ZodOptional; due_date: z.ZodOptional>; hosted_invoice_url: z.ZodOptional>; invoice_pdf: z.ZodOptional>; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }>; export declare const StripeInvoiceItemSchema: z.ZodObject<{ id: z.ZodString; invoice: z.ZodOptional>; customer: z.ZodString; amount: z.ZodNumber; unit_amount: z.ZodOptional>; currency: z.ZodString; description: z.ZodOptional>; quantity: z.ZodOptional; date: z.ZodOptional; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; currency: string; amount: number; customer: string; description?: string | null | undefined; date?: number | undefined; metadata?: Record | undefined; invoice?: string | null | undefined; quantity?: number | undefined; unit_amount?: number | null | undefined; }, { id: string; currency: string; amount: number; customer: string; description?: string | null | undefined; date?: number | undefined; metadata?: Record | undefined; invoice?: string | null | undefined; quantity?: number | undefined; unit_amount?: number | null | undefined; }>; export declare const StripeBalanceSchema: z.ZodObject<{ available: z.ZodArray, "many">; pending: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { pending: { currency: string; amount: number; }[]; available: { currency: string; amount: number; }[]; }, { pending: { currency: string; amount: number; }[]; available: { currency: string; amount: number; }[]; }>; export declare const StripePaymentIntentSchema: z.ZodObject<{ id: z.ZodString; amount: z.ZodNumber; currency: z.ZodString; status: z.ZodEnum<["requires_payment_method", "requires_confirmation", "requires_action", "processing", "requires_capture", "canceled", "succeeded"]>; customer: z.ZodOptional>; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded"; id: string; created: number; currency: string; amount: number; metadata?: Record | undefined; customer?: string | null | undefined; }, { status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded"; id: string; created: number; currency: string; amount: number; metadata?: Record | undefined; customer?: string | null | undefined; }>; export declare const StripeSubscriptionSchema: z.ZodObject<{ id: z.ZodString; customer: z.ZodString; status: z.ZodEnum<["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"]>; current_period_start: z.ZodOptional; current_period_end: z.ZodOptional; cancel_at_period_end: z.ZodBoolean; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; }, { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; }>; export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"create_customer">; name: z.ZodString; email: z.ZodOptional; metadata: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "create_customer"; credentials?: Partial> | undefined; metadata?: Record | undefined; email?: string | undefined; }, { name: string; operation: "create_customer"; credentials?: Partial> | undefined; metadata?: Record | undefined; email?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_customers">; limit: z.ZodDefault>; email: z.ZodOptional; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_customers"; limit: number; credentials?: Partial> | undefined; email?: string | undefined; cursor?: string | undefined; }, { operation: "list_customers"; credentials?: Partial> | undefined; email?: string | undefined; limit?: number | undefined; cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_customer">; customer_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_customer"; customer_id: string; credentials?: Partial> | undefined; }, { operation: "retrieve_customer"; customer_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_product">; name: z.ZodString; description: z.ZodOptional; metadata: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "create_product"; description?: string | undefined; credentials?: Partial> | undefined; metadata?: Record | undefined; }, { name: string; operation: "create_product"; description?: string | undefined; credentials?: Partial> | undefined; metadata?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_products">; limit: z.ZodDefault>; active: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_products"; limit: number; credentials?: Partial> | undefined; active?: boolean | undefined; }, { operation: "list_products"; credentials?: Partial> | undefined; limit?: number | undefined; active?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_price">; product: z.ZodString; unit_amount: z.ZodNumber; currency: z.ZodDefault; recurring: z.ZodOptional; interval_count: z.ZodDefault>; }, "strip", z.ZodTypeAny, { interval: "year" | "month" | "day" | "week"; interval_count: number; }, { interval: "year" | "month" | "day" | "week"; interval_count?: number | undefined; }>>; metadata: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_price"; currency: string; product: string; unit_amount: number; credentials?: Partial> | undefined; metadata?: Record | undefined; recurring?: { interval: "year" | "month" | "day" | "week"; interval_count: number; } | undefined; }, { operation: "create_price"; product: string; unit_amount: number; credentials?: Partial> | undefined; metadata?: Record | undefined; currency?: string | undefined; recurring?: { interval: "year" | "month" | "day" | "week"; interval_count?: number | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_prices">; limit: z.ZodDefault>; product: z.ZodOptional; active: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_prices"; limit: number; credentials?: Partial> | undefined; active?: boolean | undefined; product?: string | undefined; }, { operation: "list_prices"; credentials?: Partial> | undefined; limit?: number | undefined; active?: boolean | undefined; product?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_payment_link">; price: z.ZodString; quantity: z.ZodDefault; redirect_url: z.ZodOptional; metadata: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_payment_link"; price: string; quantity: number; credentials?: Partial> | undefined; metadata?: Record | undefined; redirect_url?: string | undefined; }, { operation: "create_payment_link"; price: string; credentials?: Partial> | undefined; metadata?: Record | undefined; quantity?: number | undefined; redirect_url?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_invoice">; customer: z.ZodString; auto_advance: z.ZodDefault>; collection_method: z.ZodDefault>>; days_until_due: z.ZodOptional; items: z.ZodOptional; quantity: z.ZodDefault>; }, "strip", z.ZodTypeAny, { quantity: number; unit_amount: number; description?: string | undefined; }, { unit_amount: number; description?: string | undefined; quantity?: number | undefined; }>, "many">>; metadata: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_invoice"; customer: string; auto_advance: boolean; collection_method: "charge_automatically" | "send_invoice"; items?: { quantity: number; unit_amount: number; description?: string | undefined; }[] | undefined; credentials?: Partial> | undefined; metadata?: Record | undefined; days_until_due?: number | undefined; }, { operation: "create_invoice"; customer: string; items?: { unit_amount: number; description?: string | undefined; quantity?: number | undefined; }[] | undefined; credentials?: Partial> | undefined; metadata?: Record | undefined; auto_advance?: boolean | undefined; collection_method?: "charge_automatically" | "send_invoice" | undefined; days_until_due?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_invoices">; limit: z.ZodDefault>; customer: z.ZodOptional; status: z.ZodOptional>; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_invoices"; limit: number; status?: "void" | "draft" | "paid" | "open" | "uncollectible" | undefined; credentials?: Partial> | undefined; cursor?: string | undefined; customer?: string | undefined; }, { operation: "list_invoices"; status?: "void" | "draft" | "paid" | "open" | "uncollectible" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; customer?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_invoice">; invoice_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_invoice"; invoice_id: string; credentials?: Partial> | undefined; }, { operation: "retrieve_invoice"; invoice_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"finalize_invoice">; invoice_id: z.ZodString; auto_advance: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "finalize_invoice"; invoice_id: string; credentials?: Partial> | undefined; auto_advance?: boolean | undefined; }, { operation: "finalize_invoice"; invoice_id: string; credentials?: Partial> | undefined; auto_advance?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_invoice_item">; customer: z.ZodString; invoice: z.ZodOptional; unit_amount: z.ZodNumber; currency: z.ZodDefault>; description: z.ZodOptional; quantity: z.ZodDefault>; metadata: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_invoice_item"; currency: string; quantity: number; unit_amount: number; customer: string; description?: string | undefined; credentials?: Partial> | undefined; metadata?: Record | undefined; invoice?: string | undefined; }, { operation: "create_invoice_item"; unit_amount: number; customer: string; description?: string | undefined; credentials?: Partial> | undefined; metadata?: Record | undefined; currency?: string | undefined; invoice?: string | undefined; quantity?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"send_invoice">; invoice_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "send_invoice"; invoice_id: string; credentials?: Partial> | undefined; }, { operation: "send_invoice"; invoice_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_balance">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_balance"; credentials?: Partial> | undefined; }, { operation: "get_balance"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_payment_intents">; limit: z.ZodDefault>; customer: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_payment_intents"; limit: number; credentials?: Partial> | undefined; customer?: string | undefined; }, { operation: "list_payment_intents"; credentials?: Partial> | undefined; limit?: number | undefined; customer?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_subscriptions">; limit: z.ZodDefault>; customer: z.ZodOptional; status: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_subscriptions"; limit: number; status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined; credentials?: Partial> | undefined; customer?: string | undefined; }, { operation: "list_subscriptions"; status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; customer?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"cancel_subscription">; subscription_id: z.ZodString; cancel_at_period_end: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "cancel_subscription"; cancel_at_period_end: boolean; subscription_id: string; credentials?: Partial> | undefined; }, { operation: "cancel_subscription"; subscription_id: string; credentials?: Partial> | undefined; cancel_at_period_end?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_payment_links">; limit: z.ZodDefault>; active: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_payment_links"; limit: number; credentials?: Partial> | undefined; active?: boolean | undefined; }, { operation: "list_payment_links"; credentials?: Partial> | undefined; limit?: number | undefined; active?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_subscription">; customer: z.ZodString; price: z.ZodString; trial_period_days: z.ZodOptional; payment_behavior: z.ZodDefault>>; metadata: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_subscription"; price: string; customer: string; payment_behavior: "default_incomplete" | "error_if_incomplete" | "allow_incomplete"; credentials?: Partial> | undefined; metadata?: Record | undefined; trial_period_days?: number | undefined; }, { operation: "create_subscription"; price: string; customer: string; credentials?: Partial> | undefined; metadata?: Record | undefined; trial_period_days?: number | undefined; payment_behavior?: "default_incomplete" | "error_if_incomplete" | "allow_incomplete" | undefined; }>]>; export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"create_customer">; success: z.ZodBoolean; customer: z.ZodOptional>; email: z.ZodOptional>; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; }, { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_customer"; customer?: { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_customer"; customer?: { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_customers">; success: z.ZodBoolean; customers: z.ZodOptional>; email: z.ZodOptional>; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; }, { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; }>, "many">>; has_more: z.ZodOptional; next_cursor: z.ZodOptional>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_customers"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; customers?: { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_customers"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; customers?: { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_customer">; success: z.ZodBoolean; customer: z.ZodOptional>; email: z.ZodOptional>; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; }, { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; }>>; deleted: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_customer"; deleted?: boolean | undefined; customer?: { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "retrieve_customer"; deleted?: boolean | undefined; customer?: { id: string; created: number; name?: string | null | undefined; metadata?: Record | undefined; email?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_product">; success: z.ZodBoolean; product: z.ZodOptional>; active: z.ZodBoolean; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; id: string; created: number; active: boolean; description?: string | null | undefined; metadata?: Record | undefined; }, { name: string; id: string; created: number; active: boolean; description?: string | null | undefined; metadata?: Record | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_product"; product?: { name: string; id: string; created: number; active: boolean; description?: string | null | undefined; metadata?: Record | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_product"; product?: { name: string; id: string; created: number; active: boolean; description?: string | null | undefined; metadata?: Record | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_products">; success: z.ZodBoolean; products: z.ZodOptional>; active: z.ZodBoolean; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; id: string; created: number; active: boolean; description?: string | null | undefined; metadata?: Record | undefined; }, { name: string; id: string; created: number; active: boolean; description?: string | null | undefined; metadata?: Record | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_products"; products?: { name: string; id: string; created: number; active: boolean; description?: string | null | undefined; metadata?: Record | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_products"; products?: { name: string; id: string; created: number; active: boolean; description?: string | null | undefined; metadata?: Record | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_price">; success: z.ZodBoolean; price: z.ZodOptional; currency: z.ZodString; type: z.ZodEnum<["one_time", "recurring"]>; active: z.ZodBoolean; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "one_time" | "recurring"; id: string; created: number; currency: string; active: boolean; product: string; unit_amount: number | null; metadata?: Record | undefined; }, { type: "one_time" | "recurring"; id: string; created: number; currency: string; active: boolean; product: string; unit_amount: number | null; metadata?: Record | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_price"; price?: { type: "one_time" | "recurring"; id: string; created: number; currency: string; active: boolean; product: string; unit_amount: number | null; metadata?: Record | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_price"; price?: { type: "one_time" | "recurring"; id: string; created: number; currency: string; active: boolean; product: string; unit_amount: number | null; metadata?: Record | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_prices">; success: z.ZodBoolean; prices: z.ZodOptional; currency: z.ZodString; type: z.ZodEnum<["one_time", "recurring"]>; active: z.ZodBoolean; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "one_time" | "recurring"; id: string; created: number; currency: string; active: boolean; product: string; unit_amount: number | null; metadata?: Record | undefined; }, { type: "one_time" | "recurring"; id: string; created: number; currency: string; active: boolean; product: string; unit_amount: number | null; metadata?: Record | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_prices"; prices?: { type: "one_time" | "recurring"; id: string; created: number; currency: string; active: boolean; product: string; unit_amount: number | null; metadata?: Record | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_prices"; prices?: { type: "one_time" | "recurring"; id: string; created: number; currency: string; active: boolean; product: string; unit_amount: number | null; metadata?: Record | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_payment_link">; success: z.ZodBoolean; payment_link: z.ZodOptional; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; url: string; active: boolean; metadata?: Record | undefined; created?: number | undefined; }, { id: string; url: string; active: boolean; metadata?: Record | undefined; created?: number | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_payment_link"; payment_link?: { id: string; url: string; active: boolean; metadata?: Record | undefined; created?: number | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_payment_link"; payment_link?: { id: string; url: string; active: boolean; metadata?: Record | undefined; created?: number | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_invoice">; success: z.ZodBoolean; invoice: z.ZodOptional; status: z.ZodNullable>; total: z.ZodNumber; currency: z.ZodString; created: z.ZodOptional; due_date: z.ZodOptional>; hosted_invoice_url: z.ZodOptional>; invoice_pdf: z.ZodOptional>; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_invoice"; invoice?: { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_invoice"; invoice?: { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_invoices">; success: z.ZodBoolean; invoices: z.ZodOptional; status: z.ZodNullable>; total: z.ZodNumber; currency: z.ZodString; created: z.ZodOptional; due_date: z.ZodOptional>; hosted_invoice_url: z.ZodOptional>; invoice_pdf: z.ZodOptional>; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }>, "many">>; has_more: z.ZodOptional; next_cursor: z.ZodOptional>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_invoices"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; invoices?: { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_invoices"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; invoices?: { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_invoice">; success: z.ZodBoolean; invoice: z.ZodOptional; status: z.ZodNullable>; total: z.ZodNumber; currency: z.ZodString; created: z.ZodOptional; due_date: z.ZodOptional>; hosted_invoice_url: z.ZodOptional>; invoice_pdf: z.ZodOptional>; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_invoice"; invoice?: { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "retrieve_invoice"; invoice?: { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"finalize_invoice">; success: z.ZodBoolean; invoice: z.ZodOptional; status: z.ZodNullable>; total: z.ZodNumber; currency: z.ZodString; created: z.ZodOptional; due_date: z.ZodOptional>; hosted_invoice_url: z.ZodOptional>; invoice_pdf: z.ZodOptional>; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "finalize_invoice"; invoice?: { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "finalize_invoice"; invoice?: { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_invoice_item">; success: z.ZodBoolean; invoice_item: z.ZodOptional>; customer: z.ZodString; amount: z.ZodNumber; unit_amount: z.ZodOptional>; currency: z.ZodString; description: z.ZodOptional>; quantity: z.ZodOptional; date: z.ZodOptional; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; currency: string; amount: number; customer: string; description?: string | null | undefined; date?: number | undefined; metadata?: Record | undefined; invoice?: string | null | undefined; quantity?: number | undefined; unit_amount?: number | null | undefined; }, { id: string; currency: string; amount: number; customer: string; description?: string | null | undefined; date?: number | undefined; metadata?: Record | undefined; invoice?: string | null | undefined; quantity?: number | undefined; unit_amount?: number | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_invoice_item"; invoice_item?: { id: string; currency: string; amount: number; customer: string; description?: string | null | undefined; date?: number | undefined; metadata?: Record | undefined; invoice?: string | null | undefined; quantity?: number | undefined; unit_amount?: number | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_invoice_item"; invoice_item?: { id: string; currency: string; amount: number; customer: string; description?: string | null | undefined; date?: number | undefined; metadata?: Record | undefined; invoice?: string | null | undefined; quantity?: number | undefined; unit_amount?: number | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"send_invoice">; success: z.ZodBoolean; invoice: z.ZodOptional; status: z.ZodNullable>; total: z.ZodNumber; currency: z.ZodString; created: z.ZodOptional; due_date: z.ZodOptional>; hosted_invoice_url: z.ZodOptional>; invoice_pdf: z.ZodOptional>; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }, { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "send_invoice"; invoice?: { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "send_invoice"; invoice?: { status: "void" | "draft" | "paid" | "open" | "uncollectible" | null; id: string; total: number; currency: string; customer: string | null; metadata?: Record | undefined; created?: number | undefined; due_date?: string | null | undefined; hosted_invoice_url?: string | null | undefined; invoice_pdf?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_balance">; success: z.ZodBoolean; balance: z.ZodOptional, "many">; pending: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { pending: { currency: string; amount: number; }[]; available: { currency: string; amount: number; }[]; }, { pending: { currency: string; amount: number; }[]; available: { currency: string; amount: number; }[]; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_balance"; balance?: { pending: { currency: string; amount: number; }[]; available: { currency: string; amount: number; }[]; } | undefined; }, { error: string; success: boolean; operation: "get_balance"; balance?: { pending: { currency: string; amount: number; }[]; available: { currency: string; amount: number; }[]; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_payment_intents">; success: z.ZodBoolean; payment_intents: z.ZodOptional; customer: z.ZodOptional>; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded"; id: string; created: number; currency: string; amount: number; metadata?: Record | undefined; customer?: string | null | undefined; }, { status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded"; id: string; created: number; currency: string; amount: number; metadata?: Record | undefined; customer?: string | null | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_payment_intents"; payment_intents?: { status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded"; id: string; created: number; currency: string; amount: number; metadata?: Record | undefined; customer?: string | null | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_payment_intents"; payment_intents?: { status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded"; id: string; created: number; currency: string; amount: number; metadata?: Record | undefined; customer?: string | null | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_subscriptions">; success: z.ZodBoolean; subscriptions: z.ZodOptional; current_period_start: z.ZodOptional; current_period_end: z.ZodOptional; cancel_at_period_end: z.ZodBoolean; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; }, { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_subscriptions"; subscriptions?: { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_subscriptions"; subscriptions?: { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"cancel_subscription">; success: z.ZodBoolean; subscription: z.ZodOptional; current_period_start: z.ZodOptional; current_period_end: z.ZodOptional; cancel_at_period_end: z.ZodBoolean; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; }, { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "cancel_subscription"; subscription?: { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; } | undefined; }, { error: string; success: boolean; operation: "cancel_subscription"; subscription?: { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_payment_links">; success: z.ZodBoolean; payment_links: z.ZodOptional; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; url: string; active: boolean; metadata?: Record | undefined; created?: number | undefined; }, { id: string; url: string; active: boolean; metadata?: Record | undefined; created?: number | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_payment_links"; payment_links?: { id: string; url: string; active: boolean; metadata?: Record | undefined; created?: number | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_payment_links"; payment_links?: { id: string; url: string; active: boolean; metadata?: Record | undefined; created?: number | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_subscription">; success: z.ZodBoolean; subscription: z.ZodOptional; current_period_start: z.ZodOptional; current_period_end: z.ZodOptional; cancel_at_period_end: z.ZodBoolean; created: z.ZodNumber; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; }, { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_subscription"; subscription?: { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_subscription"; subscription?: { status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid"; id: string; created: number; customer: string; cancel_at_period_end: boolean; metadata?: Record | undefined; current_period_start?: number | undefined; current_period_end?: number | undefined; } | undefined; }>]>; export type StripeParamsInput = z.input; export type StripeParams = z.output; export type StripeResult = z.output; //# sourceMappingURL=stripe.schema.d.ts.map