import { z } from 'zod'; import type { ThreekitAuthProps } from '../../ThreekitAuthProps.js'; import { Route } from '../Route.js'; export declare const Webhook: z.ZodObject; deletedAt: z.ZodOptional>; updatedAt: z.ZodOptional>; }, { id: z.ZodString; orgId: z.ZodString; topic: z.ZodString; address: z.ZodString; filter: z.ZodObject<{ status: z.ZodArray, z.ZodLiteral<"failed">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"List">, z.ZodLiteral<"Complete">, z.ZodLiteral<"New">, z.ZodLiteral<"In Cart">]>, "many">; type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }, { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }>; }>, "strip", z.ZodTypeAny, { orgId: string; filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; createdAt: string; id: string; topic: string; address: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }, { orgId: string; filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; createdAt: string; id: string; topic: string; address: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }>; export type Webhook = z.infer; export declare const WebhookResponse: z.ZodObject<{ webhook: z.ZodObject; deletedAt: z.ZodOptional>; updatedAt: z.ZodOptional>; }, { id: z.ZodString; orgId: z.ZodString; topic: z.ZodString; address: z.ZodString; filter: z.ZodObject<{ status: z.ZodArray, z.ZodLiteral<"failed">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"List">, z.ZodLiteral<"Complete">, z.ZodLiteral<"New">, z.ZodLiteral<"In Cart">]>, "many">; type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }, { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }>; }>, "strip", z.ZodTypeAny, { orgId: string; filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; createdAt: string; id: string; topic: string; address: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }, { orgId: string; filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; createdAt: string; id: string; topic: string; address: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { webhook: { orgId: string; filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; createdAt: string; id: string; topic: string; address: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }; }, { webhook: { orgId: string; filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; createdAt: string; id: string; topic: string; address: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }; }>; export type WebhookResponse = z.infer; export declare const WebhookListing: z.ZodObject; perPage: z.ZodOptional; sort: z.ZodOptional; }, { webhooks: z.ZodArray; deletedAt: z.ZodOptional>; updatedAt: z.ZodOptional>; }, { id: z.ZodString; orgId: z.ZodString; topic: z.ZodString; address: z.ZodString; filter: z.ZodObject<{ status: z.ZodArray, z.ZodLiteral<"failed">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"List">, z.ZodLiteral<"Complete">, z.ZodLiteral<"New">, z.ZodLiteral<"In Cart">]>, "many">; type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }, { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }>; }>, "strip", z.ZodTypeAny, { orgId: string; filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; createdAt: string; id: string; topic: string; address: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }, { orgId: string; filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; createdAt: string; id: string; topic: string; address: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }>, "many">; }>, "strip", z.ZodTypeAny, { webhooks: { orgId: string; filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; createdAt: string; id: string; topic: string; address: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }, { webhooks: { orgId: string; filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; createdAt: string; id: string; topic: string; address: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }>; export type WebhookListing = z.infer; export declare const CreateWebhookProps: z.ZodObject<{ orgId: z.ZodOptional; filter: z.ZodObject<{ status: z.ZodArray, z.ZodLiteral<"failed">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"List">, z.ZodLiteral<"Complete">, z.ZodLiteral<"New">, z.ZodLiteral<"In Cart">]>, "many">; type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }, { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }>; topic: z.ZodString; address: z.ZodString; }, "strip", z.ZodTypeAny, { filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; topic: string; address: string; orgId?: string | undefined; }, { filter: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }; topic: string; address: string; orgId?: string | undefined; }>; export type CreateWebhookProps = z.infer; export declare const UpdateWebhookProps: z.ZodObject<{ filter: z.ZodOptional, z.ZodLiteral<"failed">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"List">, z.ZodLiteral<"Complete">, z.ZodLiteral<"New">, z.ZodLiteral<"In Cart">]>, "many">; type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }, { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; }>>; topic: z.ZodOptional; address: z.ZodOptional; }, "strip", z.ZodTypeAny, { filter?: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; } | undefined; topic?: string | undefined; address?: string | undefined; }, { filter?: { status: ("success" | "failed" | "List" | "In Cart" | "New" | "In Progress" | "Complete")[]; type?: string[] | undefined; } | undefined; topic?: string | undefined; address?: string | undefined; }>; export type UpdateWebhookProps = z.infer; export type QueryWebhookProps = any; export declare class Webhooks extends Route { constructor(auth: ThreekitAuthProps); healthcheck(): Promise>; create(createProps: CreateWebhookProps): Promise>; deleteById(id: string): Promise>; get(queryProps?: QueryWebhookProps): Promise>; getById(id: string): Promise>; restoreById(id: string): Promise>; updateById(id: string, updateProps: UpdateWebhookProps): Promise>; }