import { z } from "zod"; /** * Organization webhook subscriptions * * Control-plane storage for outbound webhook delivery configuration. * Mirrors legacy comms.webhook_subscriptions managed by the dash app. */ export declare const infraWebhookSubscriptionsTable: Omit; url: import("drizzle-orm/pg-core").PgColumn<{ name: "url"; tableName: "webhook_subscriptions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; events: import("drizzle-orm/pg-core").PgColumn<{ name: "events"; tableName: "webhook_subscriptions"; dataType: "array"; columnType: "PgArray"; data: string[]; driverParam: string | string[]; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: import("drizzle-orm").Column<{ name: "events"; tableName: "webhook_subscriptions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; identity: undefined; generated: undefined; }, {}, { baseBuilder: import("drizzle-orm/pg-core").PgColumnBuilder<{ name: "events"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }, {}, {}, import("drizzle-orm").ColumnBuilderExtraConfig>; size: undefined; }>; secret: import("drizzle-orm/pg-core").PgColumn<{ name: "secret"; tableName: "webhook_subscriptions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; active: import("drizzle-orm/pg-core").PgColumn<{ name: "active"; tableName: "webhook_subscriptions"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; maxRetries: import("drizzle-orm/pg-core").PgColumn<{ name: "max_retries"; tableName: "webhook_subscriptions"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; headers: import("drizzle-orm/pg-core").PgColumn<{ name: "headers"; tableName: "webhook_subscriptions"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; description: import("drizzle-orm/pg-core").PgColumn<{ name: "description"; tableName: "webhook_subscriptions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: import("drizzle-orm/pg-core").PgColumn<{ name: "created_at"; tableName: "webhook_subscriptions"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: import("drizzle-orm/pg-core").PgColumn<{ name: "updated_at"; tableName: "webhook_subscriptions"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; lastDeliveryAt: import("drizzle-orm/pg-core").PgColumn<{ name: "last_delivery_at"; tableName: "webhook_subscriptions"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; failureCount: import("drizzle-orm/pg-core").PgColumn<{ name: "failure_count"; tableName: "webhook_subscriptions"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>, "enableRLS">; export type InsertInfraWebhookSubscription = typeof infraWebhookSubscriptionsTable.$inferInsert; export type SelectInfraWebhookSubscription = typeof infraWebhookSubscriptionsTable.$inferSelect; export declare const infraWebhookSubscriptionInsertSchema: z.ZodObject<{ description: z.ZodNullable>; active: z.ZodDefault; url: z.ZodURL; events: z.ZodArray; secret: z.ZodString; maxRetries: z.ZodDefault; headers: z.ZodDefault>>>; }, z.core.$strip>; export declare const infraWebhookSubscriptionUpdateSchema: z.ZodObject<{ description: z.ZodOptional>>; active: z.ZodOptional>; url: z.ZodOptional; events: z.ZodOptional>; secret: z.ZodOptional; maxRetries: z.ZodOptional>; headers: z.ZodOptional>>>>; }, z.core.$strip>; export declare const infraWebhookSubscriptionSelectSchema: z.ZodObject<{ createdAt: z.ZodDate; updatedAt: z.ZodDate; url: z.ZodURL; events: z.ZodArray; secret: z.ZodString; active: z.ZodDefault; maxRetries: z.ZodDefault; headers: z.ZodDefault>>>; description: z.ZodNullable>; lastDeliveryAt: z.ZodOptional>; failureCount: z.ZodDefault; id: z.ZodString; }, z.core.$strip>; export type InfraWebhookSubscription = z.infer; export type NewInfraWebhookSubscription = z.infer; export type UpdateInfraWebhookSubscription = z.infer; //# sourceMappingURL=webhook_subscriptions.d.ts.map