Skip to content

Function: toSubjectSummary() ​

ts
function toSubjectSummary(subject): object;

Parameters ​

subject ​

createdAt ​

Date

data ​

z.ZodRecord<z.ZodString, z.ZodUnknown>

externalId? ​

string | null

id ​

string

kind ​

"user" | "merchant" | "seller"

riskScore? ​

number | null

status ​

"active" | "blocked" | "closed"

tags ​

string[]

tenantId ​

string

updatedAt ​

Date

Returns ​

object

country? ​

ts
optional country?: string;

displayName ​

ts
displayName: string;

externalId? ​

ts
optional externalId?: string | null;

id ​

ts
id: string;

kind ​

ts
kind: "user" | "merchant" | "seller";

Released under the Apache-2.0 License.