import z from 'zod'; export interface StripeService { listProducts(request: ListStripeProductsRequest): Promise; upgradeInfo(request: StripeUpgradeInfoRequest): Promise; createCustomer(request: CreateStripeCustomerRequest): Promise; createSession(request: CreateStripeSessionRequest): Promise; createBillingPortalSession(request: CreateStripeBillingPortalSessionRequest): Promise; } /** ****************************************************************************** * List Stripe Products ******************************************************************************* */ export declare const listStripeProductsParams: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const listStripeProductsRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodOptional>; }, "strip", z.ZodTypeAny, { auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; params?: {} | undefined; }, { auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; params?: {} | undefined; }>; export declare const listStripeProductsResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; products: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; products?: any[] | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; products?: any[] | undefined; }>; export type ListStripeProductsParams = z.infer; export type ListStripeProductsRequest = z.infer; export type ListStripeProductsResponse = z.infer; /** ****************************************************************************** * Get Stripe Upgrade Info ******************************************************************************* */ export declare const stripeUpgradeInfoParams: z.ZodObject<{ productId: z.ZodString; priceId: z.ZodString; }, "strip", z.ZodTypeAny, { productId: string; priceId: string; }, { productId: string; priceId: string; }>; export declare const stripeUpgradeInfoRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{ productId: z.ZodString; priceId: z.ZodString; }, "strip", z.ZodTypeAny, { productId: string; priceId: string; }, { productId: string; priceId: string; }>; }, "strip", z.ZodTypeAny, { params: { productId: string; priceId: string; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { productId: string; priceId: string; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const stripeUpgradeInfoResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; upgradeInfo: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { total: number; items: { name: string; quantity: number; amount: number; }[]; }, { total: number; items: { name: string; quantity: number; amount: number; }[]; }>>>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; upgradeInfo?: { total: number; items: { name: string; quantity: number; amount: number; }[]; } | null | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; upgradeInfo?: { total: number; items: { name: string; quantity: number; amount: number; }[]; } | null | undefined; }>; export type StripeUpgradeInfoParams = z.infer; export type StripeUpgradeInfoRequest = z.infer; export type StripeUpgradeInfoResponse = z.infer; /** ****************************************************************************** * Create Stripe Customer ******************************************************************************* */ export declare const createStripeCustomerParams: z.ZodObject<{ organizationId: z.ZodString; }, "strip", z.ZodTypeAny, { organizationId: string; }, { organizationId: string; }>; export declare const createStripeCustomerRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{ organizationId: z.ZodString; }, "strip", z.ZodTypeAny, { organizationId: string; }, { organizationId: string; }>; }, "strip", z.ZodTypeAny, { params: { organizationId: string; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { organizationId: string; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const createStripeCustomerResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; customerId: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; customerId?: string | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; customerId?: string | undefined; }>; export type CreateStripeCustomerParams = z.infer; export type CreateStripeCustomerRequest = z.infer; export type CreateStripeCustomerResponse = z.infer; /** ****************************************************************************** * Create Stripe Session ******************************************************************************* */ export declare const createStripeSessionParams: z.ZodObject<{ priceId: z.ZodString; invoiceId: z.ZodOptional; }, "strip", z.ZodTypeAny, { priceId: string; invoiceId?: string | undefined; }, { priceId: string; invoiceId?: string | undefined; }>; export declare const createStripeSessionRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{ priceId: z.ZodString; invoiceId: z.ZodOptional; }, "strip", z.ZodTypeAny, { priceId: string; invoiceId?: string | undefined; }, { priceId: string; invoiceId?: string | undefined; }>; }, "strip", z.ZodTypeAny, { params: { priceId: string; invoiceId?: string | undefined; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { priceId: string; invoiceId?: string | undefined; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const createStripeSessionResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; sessionId: z.ZodOptional; sessionUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; sessionId?: string | undefined; sessionUrl?: string | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; sessionId?: string | undefined; sessionUrl?: string | undefined; }>; export type CreateStripeSessionParams = z.infer; export type CreateStripeSessionRequest = z.infer; export type CreateStripeSessionResponse = z.infer; /** ****************************************************************************** * Create Stripe Billing Portal Session ******************************************************************************* */ export declare const createStripeBillingPortalSessionParams: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const createStripeBillingPortalSessionRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: {}; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const createStripeBillingPortalSessionResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; billingPortalUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; billingPortalUrl?: string | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; billingPortalUrl?: string | undefined; }>; export type CreateStripeBillingPortalSessionParams = z.infer; export type CreateStripeBillingPortalSessionRequest = z.infer; export type CreateStripeBillingPortalSessionResponse = z.infer;