Parameters for the searchUsers function.

interface SearchUsersParams {
    beneficiaryId?: string;
    createdFrom?: number;
    createdTo?: number;
    name?: string;
    pageKeyMap?: string;
    phone?: string;
    sortDesc?: boolean;
    sortOrder?: "name" | "created" | "updated";
    updatedFrom?: number;
    updatedTo?: number;
}

Properties

beneficiaryId?: string

Unique id of related Beneficiary record.

createdFrom?: number

Unix ms timestamp of earliest created value.

createdTo?: number

Unix ms timestamp of latest created value.

name?: string

First characters of either first or last name. Case, whitespace & diacritic insensitive.

pageKeyMap?: string

Page key map from previous search page.

phone?: string

First characters of phone number. Case, whitespace & diacritic insensitive.

sortDesc?: boolean

Sort results in descending order if true.

sortOrder?: "name" | "created" | "updated"

Sort order of results. Default reflects search params, created if none.

updatedFrom?: number

Unix ms timestamp of earliest updated value.

updatedTo?: number

Unix ms timestamp of latest updated value.