@techzunction/sdk 0.6.1 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -880,6 +880,12 @@ function createStorefrontMovies(c) {
880
880
  updateSessionCap(sessionId, meterCapPaise) {
881
881
  return c.patch(`/movies/session/${sessionId}/update-cap`, { meterCapPaise }, "enduser");
882
882
  },
883
+ rateSession(sessionId, rating) {
884
+ return c.patch(`/movies/session/${sessionId}/rate`, { rating }, "enduser");
885
+ },
886
+ getHistory(limit = 50, offset = 0) {
887
+ return c.get(`/movies/sessions/history?limit=${limit}&offset=${offset}`, "enduser");
888
+ },
883
889
  // ─── Watchlist ───────────────────────────────────────────────────
884
890
  getWatchlist() {
885
891
  return c.get("/watchlist", "enduser");