interface ListDeviceTokenQuery {
    amount?: number;
    fields?: (keyof DeviceTokenData)[];
    filter?: RecursivePartial<DeviceTokenDataList<null>>;
    orderBy?: ["name" | "created_at" | "permission" | "serie_number" | "last_authorization", "desc" | "asc"];
    page?: number;
}

Hierarchy (view full)

  • Query<DeviceTokenDataList, "name" | "permission" | "serie_number" | "last_authorization" | "created_at">
    • ListDeviceTokenQuery

Properties

amount?: number

Amount of items will return.

fields?: (keyof DeviceTokenData)[]

Array of field names.

Filter object.

orderBy?: ["name" | "created_at" | "permission" | "serie_number" | "last_authorization", "desc" | "asc"]

Tuple with a field and an order

page?: number

Page of list starting from 1