Skip to content

Variable: UserListSchema ​

ts
const UserListSchema: ZodObject<{
  end-index: ZodOptional<ZodNumber>;
  items: ZodOptional<ZodArray<ZodObject<{
     accountId: ZodOptional<ZodString>;
     accountType: ZodOptional<ZodCustom<"unknown" | string & object | "atlassian" | "app" | "customer", "unknown" | string & object | "atlassian" | "app" | "customer">>;
     active: ZodOptional<ZodBoolean>;
     applicationRoles: ZodOptional<ZodObject<{
        callback: ZodOptional<ZodObject<..., ...>>;
        items: ZodOptional<ZodArray<...>>;
        max-results: ZodOptional<ZodNumber>;
        pagingCallback: ZodOptional<ZodObject<..., ...>>;
        size: ZodOptional<ZodNumber>;
     }, ApiObjectConfig<undefined>>>;
     appType: ZodOptional<ZodString>;
     avatarUrls: ZodOptional<ZodObject<{
        16x16: ZodOptional<ZodURL>;
        24x24: ZodOptional<ZodURL>;
        32x32: ZodOptional<ZodURL>;
        48x48: ZodOptional<ZodURL>;
     }, ApiObjectConfig<undefined>>>;
     displayName: ZodOptional<ZodString>;
     emailAddress: ZodOptional<ZodType<string | undefined, string | null | undefined, $ZodTypeInternals<string | undefined, string | null | undefined>>>;
     expand: ZodOptional<ZodString>;
     groups: ZodOptional<ZodObject<{
        callback: ZodOptional<ZodObject<..., ...>>;
        items: ZodOptional<ZodArray<...>>;
        max-results: ZodOptional<ZodNumber>;
        pagingCallback: ZodOptional<ZodObject<..., ...>>;
        size: ZodOptional<ZodNumber>;
     }, ApiObjectConfig<undefined>>>;
     guest: ZodOptional<ZodBoolean>;
     locale: ZodOptional<ZodType<string | undefined, string | null | undefined, $ZodTypeInternals<string | undefined, string | null | undefined>>>;
     self: ZodOptional<ZodURL>;
     timeZone: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>>;
  max-results: ZodOptional<ZodNumber>;
  size: ZodOptional<ZodNumber>;
  start-index: ZodOptional<ZodNumber>;
}, ApiObjectConfig<undefined>>;

Defined in: src/cloud/models/userList.ts:9

A paginated list of users sharing the filter. This includes users that are members of the groups or can browse the projects that the filter is shared with.