From 326e6e8936a16e60af56b464f45908278550959e Mon Sep 17 00:00:00 2001 From: tokebe <43009413+tokebe@users.noreply.github.com> Date: Thu, 11 Apr 2024 17:44:48 -0400 Subject: [PATCH] feat: provide knowledge_level/agent_type in Record --- src/record.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/record.ts b/src/record.ts index e1a7b2f..5905ed7 100644 --- a/src/record.ts +++ b/src/record.ts @@ -531,6 +531,14 @@ export class Record { get publications(): string[] { return this.mappedResponse.publications || []; } + + get knowledge_level(): string | undefined { + return this.association.knowledge_level; + } + + get agent_type(): string | undefined { + return this.association.agent_type; + } } export interface FrozenRecord {