import { TraktCheckinRequest, TraktCheckin } from '../../models/trakt-checkin.model.cjs'; import { TraktClientEndpoint } from '../../models/trakt-client.model.cjs'; import '../../models/trakt-entity.model.cjs'; import '@dvcol/common-utils/common/models'; import '../../models/trakt-id.model.cjs'; import '@dvcol/base-http-client'; import '@dvcol/common-utils/http/fetch'; import '../trakt-api.filters.cjs'; import '../../models/trakt-episode.model.cjs'; import '../../models/trakt-image.model.cjs'; import '../../models/trakt-people.model.cjs'; import '../../models/trakt-movie.model.cjs'; import '../../models/trakt-show.model.cjs'; /** * Checking in is a manual action used by mobile apps allowing the user to indicate what they are watching right now. While not as effortless as scrobbling, checkins help fill in the gaps. * You might be watching live tv, at a friend's house, or watching a movie in theaters. You can simply checkin from your phone or tablet in those situations. * The item will display as watching on the site, then automatically switch to watched status once the duration has elapsed. * * @see [checkin]{@link https://trakt.docs.apiary.io/#reference/checkin} */ declare const checkin: { /** * Check into a movie or episode. This should be tied to a user action to manually indicate they are watching something. * The item will display as watching on the site, then automatically switch to watched status once the duration has elapsed. * A unique history id (64-bit integer) will be returned and can be used to reference this checkin directly. * * Note: For episode checkin you can either provide episode ids, or the show and either episode's season & number or episodes's number_abs * * @auth required * * @throws TraktCheckinError * * @see [check-into-an-item]{@link https://trakt.docs.apiary.io/#reference/checkin/checkin/check-into-an-item} */ add: TraktClientEndpoint; /** * Removes any active checkins, no need to provide a specific item. * * @see [delete-any-active-checkins]{@link https://trakt.docs.apiary.io/#reference/checkin/checkin/delete-any-active-checkins} */ delete: TraktClientEndpoint, unknown, false>; }; export { checkin };