Skip to content

Variable: UserPageSchema ​

ts
const UserPageSchema: ZodObject<{
  data: ZodOptional<ZodArray<ZodObject<{
     access_billable: ZodOptional<ZodBoolean>;
     account_id: ZodString;
     account_status: ZodCustom<"active" | "inactive" | "closed" | string & object, "active" | "inactive" | "closed" | string & object>;
     account_type: ZodCustom<string & object | "atlassian" | "app" | "customer", string & object | "atlassian" | "app" | "customer">;
     email: ZodOptional<ZodString>;
     last_active: ZodOptional<ZodCoercedDate<unknown>>;
     links: ZodOptional<ZodObject<{
        self: ZodNullable<ZodString>;
     }, ApiObjectConfig<undefined>>>;
     name: ZodString;
     picture: ZodString;
     product_access: ZodOptional<ZodArray<ZodObject<{
        key: ZodCustom<..., ...>;
        last_active: ZodOptional<...>;
        name: ZodString;
        url: ZodOptional<...>;
     }, ApiObjectConfig<undefined>>>>;
  }, ApiObjectConfig<undefined>>>>;
  links: ZodOptional<ZodObject<{
     next: ZodOptional<ZodNullable<ZodString>>;
     prev: ZodOptional<ZodNullable<ZodString>>;
     self: ZodOptional<ZodNullable<ZodString>>;
  }, ApiObjectConfig<undefined>>>;
  meta: ZodOptional<ZodObject<{
     total: ZodOptional<ZodNumber>;
  }, ApiObjectConfig<undefined>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/admin/models/userPage.ts:6