export var VerificationError;
(function (VerificationError) {
  function is(value) {
    return (value &&
      value.status == 400 &&
      value.type == "malformed content" &&
      value.content &&
      value.content.description == "verification required" &&
      value.content.details &&
      (value.content.details.visible == undefined ||
        value.content.details.visible == true ||
        value.content.details.visible == false) &&
      typeof value.content.details.url == "string" &&
      typeof value.content.details.data == "object" &&
      Object.entries(value.content.details.data).every(v => typeof v[0] == "string" && typeof v[1] == "string"));
  }
  VerificationError.is = is;
})(VerificationError || (VerificationError = {}));
