/** * This file was auto-generated by Fern from our API Definition. */ /** * @example * { * fact: "fact", * factName: "fact_name" * } */ export interface AddTripleRequest { /** The timestamp of the message */ createdAt?: string; /** * Additional attributes of the edge. Values must be scalar types (string, number, boolean, or null). * Nested objects and arrays are not allowed. */ edgeAttributes?: Record; /** The time (if any) at which the edge expires */ expiredAt?: string; /** The fact relating the two nodes that this edge represents */ fact: string; /** The name of the edge to add. Should be all caps using snake case (eg RELATES_TO) */ factName: string; /** The uuid of the edge to add */ factUuid?: string; graphId?: string; /** The time (if any) at which the fact stops being true */ invalidAt?: string; /** * Additional attributes of the source node. Values must be scalar types (string, number, boolean, or null). * Nested objects and arrays are not allowed. */ sourceNodeAttributes?: Record; /** The labels for the source node */ sourceNodeLabels?: string[]; /** The name of the source node to add */ sourceNodeName?: string; /** The summary of the source node to add */ sourceNodeSummary?: string; /** The source node uuid */ sourceNodeUuid?: string; /** * Additional attributes of the target node. Values must be scalar types (string, number, boolean, or null). * Nested objects and arrays are not allowed. */ targetNodeAttributes?: Record; /** The labels for the target node */ targetNodeLabels?: string[]; /** The name of the target node to add */ targetNodeName?: string; /** The summary of the target node to add */ targetNodeSummary?: string; /** The target node uuid */ targetNodeUuid?: string; userId?: string; /** The time at which the fact becomes true */ validAt?: string; }