/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */ import { l } from "@atproto/lex"; import * as ServerDefs from "./defs.defs.js"; const $nsid = "place.stream.server.getWebhook"; export { $nsid }; export const $params = /*#__PURE__*/ l.params({"id":/*#__PURE__*/ l.string()}); export type $Params = l.InferOutput; export const $output = /*#__PURE__*/ l.jsonPayload({"webhook":/*#__PURE__*/ l.ref((() => ServerDefs.webhook) as any)}); export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Get details for a specific webhook. */ const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["WebhookNotFound","Unauthorized"]); export { main }; export const $lxm = $nsid;