/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */ import { l } from "@atproto/lex"; const $nsid = "place.stream.media.deleteVideo"; export { $nsid }; export const $params = /*#__PURE__*/ l.params(); export type $Params = l.InferOutput; export const $input = /*#__PURE__*/ l.jsonPayload({"uri":/*#__PURE__*/ l.string({"format":"at-uri"}),"tracks":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false))}); export type $Input = l.InferPayload; export type $InputBody = l.InferPayloadBody; export const $output = /*#__PURE__*/ l.jsonPayload({"deleted":/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({"format":"at-uri"}), )}); export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Delete a place.stream.video record and, on request, the track records its source points at. The content blob and the upload stay, so the record can be published again from the same upload. The caller must be the record's owner or hold livestream.manage from them; the records are deleted with the owner's session. */ const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["NotPermitted","VideoNotFound"]); export { main }; export const $lxm = $nsid;