diff --git a/index.js b/index.js index 15dc3ff85..1b66c6c10 100644 --- a/index.js +++ b/index.js @@ -859,6 +859,9 @@ const createClient = (profile, userAgent, opt = {}) => { const disableSubscription = _setSubscriptionStatus.bind(null, 'EXPIRED') const enableSubscription = _setSubscriptionStatus.bind(null, 'ACTIVE') + // todo: subscribeToJourneysInterval + // https://gist.github.com/derhuerst/d267ac179e49e927d38daa1a4bdf7760#file-6-subscriptions-http-L81-L132 + const subscribeToJourney = async (userId, channelIds, journeyRefreshToken, opt = {}) => { if (!isNonEmptyString(userId)) { throw new TypeError('userId must be a non-empty string') diff --git a/parse/journey.js b/parse/journey.js index 1c8aba307..33702c5d9 100644 --- a/parse/journey.js +++ b/parse/journey.js @@ -22,7 +22,7 @@ const parseScheduledDays = (sDaysB, year, profile) => { return res } -// todo: c.conSubscr (e.g. `F`) +// todo: c.conSubscr (e.g. `F`, `U`) – is this journey subscribed to? // todo: c.trfRes x vbb-parse-ticket // todo: c.sotRating, c.isSotCon, c.sotCtxt // todo: c.showARSLink