/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */ import { l } from "@atproto/lex"; import * as IdentityDefs from "./defs.defs.js"; const $nsid = "com.atproto.identity.refreshIdentity"; export { $nsid }; export const $params = /*#__PURE__*/ l.params(); export type $Params = l.InferOutput; export const $input = /*#__PURE__*/ l.jsonPayload({"identifier":/*#__PURE__*/ l.string({"format":"at-identifier"})}); export type $Input = l.InferPayload; export type $InputBody = l.InferPayloadBody; export const $output = /*#__PURE__*/ l.payload("application/json", /*#__PURE__*/ l.ref((() => IdentityDefs.identityInfo) as any)); export type $Output = l.InferPayload; export type $OutputBody = l.InferPayloadBody; /** Request that the server re-resolve an identity (DID and handle). The server may ignore this request, or require authentication, depending on the role, implementation, and policy of the server. */ const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["HandleNotFound","DidNotFound","DidDeactivated"]); export { main }; export const $lxm = $nsid;