Type alias GetRolesArg

GetRolesArg: {
    bustCache?: boolean;
    createdBy?: string;
    createdDate?: string;
    created_date.gte?: string;
    created_date.lte?: string;
    desc?: boolean;
    groupId?: string;
    isActive?: boolean;
    isDeleteProtected?: boolean;
    isGroupAdmin?: boolean;
    isProjectAdmin?: boolean;
    lastUpdatedBy?: string;
    lastUpdatedDate?: string;
    last_updated_date.gte?: string;
    last_updated_date.lte?: string;
    limit?: number;
    name?: string;
    name.regex?: string;
    objectCount?: boolean;
    orderBy?: string;
    page?: number;
    pageCount?: boolean;
    projectId?: string;
    search?: string;
    searchFields?: string;
    tags?: string;
    tags.contains?: string;
    tags.contains_any?: string;
}

Type declaration

  • Optional bustCache?: boolean

    Whether to bypass the cache and get the latest data

  • Optional createdBy?: string

    ID of the user who created the account

  • Optional createdDate?: string

    Created date of items to return

  • Optional created_date.gte?: string
  • Optional created_date.lte?: string
  • Optional desc?: boolean

    Whether to order results in descending order

  • Optional groupId?: string

    ID of the group the role is linked with, if any

  • Optional isActive?: boolean

    (Admin only) Whether to only return active accounts

  • Optional isDeleteProtected?: boolean

    Whether to only return delete-protected accounts

  • Optional isGroupAdmin?: boolean

    Whether to only return group admins

  • Optional isProjectAdmin?: boolean

    Whether to only return project admins

  • Optional lastUpdatedBy?: string

    ID of the user who last updated the account

  • Optional lastUpdatedDate?: string

    Last edited date of items to return

  • Optional last_updated_date.gte?: string
  • Optional last_updated_date.lte?: string
  • Optional limit?: number

    Maximum number of objects to return

  • Optional name?: string

    Name of the role

  • Optional name.regex?: string
  • Optional objectCount?: boolean

    Whether to only return the number of matching entries

  • Optional orderBy?: string

    Field to order results by

  • Optional page?: number

    Page number to return

  • Optional pageCount?: boolean

    Whether to only return the number of pages

  • Optional projectId?: string

    ID of the project the role is linked with, if any

  • Optional search?: string

    Search term to filter accounts by

  • Optional searchFields?: string

    Comma-delimited list of fields to search in

  • Optional tags?: string

    Comma delimited list of tags on this account

  • Optional tags.contains?: string
  • Optional tags.contains_any?: string