/** Trigger-link record and lifecycle response schemas. */ import { z } from 'zod'; /** * `POST /api/hooks/trigger-links` — a freshly minted trigger link. `trigger_path` * is a relative path (`/trigger/`, never an absolute URL — Studio composes * the API origin); `token` is the raw token returned exactly ONCE, in this response * (nothing else stores or lists it — a listed link's QR is unrecoverable by * design). `expires_at` is an ISO-8601 instant, or `null` for a permanent link. */ export declare const triggerLinkCreated: z.ZodObject<{ name: z.ZodString; trigger_path: z.ZodString; token: z.ZodString; topic: z.ZodString; expires_at: z.ZodNullable; }, z.core.$strip>; export type TriggerLinkCreated = z.infer; /** * One listed trigger-link record (`GET /api/hooks/trigger-links` item). `tool_kwargs` * is the per-link params merged last into every fire (`null` or `{}` = none); * `created_by` is the ambient creator identity (`null` on an identity-less, * gate-off deployment); `token_hash_prefix` is a short hash prefix for log * correlation — never a raw token (none is stored). */ export declare const triggerLinkRecord: z.ZodObject<{ name: z.ZodString; topic: z.ZodString; execution_key: z.ZodString; trigger_auth: z.ZodEnum<{ token: "token"; public: "public"; verifier: "verifier"; "token+api_key": "token+api_key"; "out-of-service": "out-of-service"; }>; tool_kwargs: z.ZodNullable>; created_by: z.ZodNullable; created_at: z.ZodString; expires_at: z.ZodNullable; token_hash_prefix: z.ZodString; }, z.core.$strip>; export type TriggerLinkRecord = z.infer; /** `GET /api/hooks/trigger-links` — every live trigger-link record. */ export declare const triggerLinkList: z.ZodObject<{ items: z.ZodArray; tool_kwargs: z.ZodNullable>; created_by: z.ZodNullable; created_at: z.ZodString; expires_at: z.ZodNullable; token_hash_prefix: z.ZodString; }, z.core.$strip>>; total: z.ZodNumber; }, z.core.$strip>; export type TriggerLinkList = z.infer; /** `DELETE /api/hooks/trigger-links/{name}` — the revoked link. */ export declare const triggerLinkDeleted: z.ZodObject<{ removed: z.ZodBoolean; name: z.ZodString; }, z.core.$strip>; export type TriggerLinkDeleted = z.infer; //# sourceMappingURL=trigger-links.d.ts.map