Conditions a subscription must match to qualify for the query result set. Not all fields are required. A subscription must match all conditions specified in order to qualify for the result set.

interface SubscriptionQueryCondition {
    filter?: ISubscriptionFilter;
    flags?: SubscriptionFlags;
    scope?: string;
    subscriberId?: string;
    subscriptionId?: string;
}

Properties

Filter conditions that matching subscriptions must have. Typically only the filter's type and event type are used for matching.

Flags to specify the type subscriptions to query for.

scope?: string

Scope that matching subscriptions must have.

subscriberId?: string

ID of the subscriber (user or group) that matching subscriptions must be subscribed to.

subscriptionId?: string

ID of the subscription to query for.