@webitel/api-services
    Preparing search index...
    type ListSourcesParams = {
        fields?: string[];
        id?: string[];
        page?: number;
        q?: string;
        size?: number;
        sort?: string;
        type?: ListSourcesTypeItem[];
    }
    Index

    Properties

    fields?: string[]

    Fields to be retrieved as a result. Default: [] (all fields)

    id?: string[]

    Filter by unique IDs.

    page?: number

    Page number of result dataset records. offset = (page * size) Default: 0

    q?: string

    Search query string for filtering by name. Supports:

    • Wildcards (*)
    • Placeholder (?)
    • Exact match
    size?: number

    Size count of records on result page. limit = (size++) Default: 25

    sort?: string

    Sort the result according to fields. Default: "id:desc"

    Filter by source type.

    • TYPE_UNSPECIFIED: Unspecified source type.
    • CALL: Phone call source type.
    • CHAT: Chat source type.
    • SOCIAL_MEDIA: Social media source type.
    • EMAIL: Email source type.
    • API: API source type.
    • MANUAL: Manual source type.