import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type WebhookCredentials = { /** * The secret used for signing webhook requests. Auto-generated if omitted on creation by admin. Read-only for tenants unless rotating. */ secret?: string | undefined; /** * The previous secret used during rotation. Valid for 24 hours by default. Read-only. */ previousSecret?: string | undefined; /** * ISO timestamp when the previous secret becomes invalid. Read-only. */ previousSecretInvalidAt?: Date | undefined; }; /** @internal */ export declare const WebhookCredentials$inboundSchema: z.ZodType; /** @internal */ export type WebhookCredentials$Outbound = { secret?: string | undefined; previous_secret?: string | undefined; previous_secret_invalid_at?: string | undefined; }; /** @internal */ export declare const WebhookCredentials$outboundSchema: z.ZodType; export declare function webhookCredentialsToJSON(webhookCredentials: WebhookCredentials): string; export declare function webhookCredentialsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookcredentials.d.ts.map