All files / src/models update-call-data-subscription.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27                                                     
import { UpdateCallDataSubscriptionKeys } from './update-call-data-subscription-keys';
 
/**
 * Interface representing a push notification subscription.
 * Contains all the necessary information for the server to send push notifications
 * to this client through a push service provider.
 */
export interface UpdateCallDataSubscription {
    /**
     * The URL endpoint for the push service that can be used to send notifications to this client.
     * Provided by the browser's Push API when subscribing to push notifications.
     */
    a: string;
 
    /**
     * Optional timestamp when the subscription expires, if applicable.
     * Some push services may issue time-limited subscriptions.
     */
    b: number | null;
 
    /**
     * Cryptographic keys required for encrypting push notification payloads.
     * Ensures that only the intended recipient can decrypt and read the notification content.
     */
    c: UpdateCallDataSubscriptionKeys;
}