Skip to content

Variable: SubjectListItem ​

ts
const SubjectListItem: z.ZodObject<{
  createdAt: z.ZodCoercedDate<unknown>;
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
  id: z.ZodGUID;
  kind: z.ZodEnum<{
     merchant: "merchant";
     seller: "seller";
     user: "user";
  }>;
  lastDecision: z.ZodOptional<z.ZodNullable<z.ZodObject<{
     createdAt: z.ZodCoercedDate<unknown>;
     outcome: z.ZodEnum<{
        approve: "approve";
        manual_review: "manual_review";
        reject: "reject";
     }>;
  }, z.core.$strip>>>;
  openCases: z.ZodOptional<z.ZodNumber>;
  riskScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
  status: z.ZodEnum<{
     active: "active";
     blocked: "blocked";
     closed: "closed";
  }>;
  tags: z.ZodArray<z.ZodString>;
  tenantId: z.ZodGUID;
  updatedAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>;

A subject in a list: the row plus whatever expand asked for.

Released under the Apache-2.0 License.