@techzunction/sdk 0.6.0 → 0.6.1

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.d.cts CHANGED
@@ -1857,6 +1857,7 @@ declare const TZ: {
1857
1857
  pauseSession(sessionId: string): TZQuery<WatchSessionStatus>;
1858
1858
  resumeSession(sessionId: string): TZQuery<WatchSessionStatus>;
1859
1859
  endSession(sessionId: string): TZQuery<WatchSessionSummary>;
1860
+ updateSessionCap(sessionId: string, meterCapPaise: number): TZQuery<WatchSessionStatus>;
1860
1861
  getWatchlist(): TZQuery<Movie[]>;
1861
1862
  addToWatchlist(catalogItemId: string): TZQuery<void>;
1862
1863
  removeFromWatchlist(catalogItemId: string): TZQuery<void>;
@@ -2594,6 +2595,7 @@ declare function createTZ(options?: TZInitOptions): {
2594
2595
  pauseSession(sessionId: string): TZQuery<WatchSessionStatus>;
2595
2596
  resumeSession(sessionId: string): TZQuery<WatchSessionStatus>;
2596
2597
  endSession(sessionId: string): TZQuery<WatchSessionSummary>;
2598
+ updateSessionCap(sessionId: string, meterCapPaise: number): TZQuery<WatchSessionStatus>;
2597
2599
  getWatchlist(): TZQuery<Movie[]>;
2598
2600
  addToWatchlist(catalogItemId: string): TZQuery<void>;
2599
2601
  removeFromWatchlist(catalogItemId: string): TZQuery<void>;
package/dist/index.d.ts CHANGED
@@ -1857,6 +1857,7 @@ declare const TZ: {
1857
1857
  pauseSession(sessionId: string): TZQuery<WatchSessionStatus>;
1858
1858
  resumeSession(sessionId: string): TZQuery<WatchSessionStatus>;
1859
1859
  endSession(sessionId: string): TZQuery<WatchSessionSummary>;
1860
+ updateSessionCap(sessionId: string, meterCapPaise: number): TZQuery<WatchSessionStatus>;
1860
1861
  getWatchlist(): TZQuery<Movie[]>;
1861
1862
  addToWatchlist(catalogItemId: string): TZQuery<void>;
1862
1863
  removeFromWatchlist(catalogItemId: string): TZQuery<void>;
@@ -2594,6 +2595,7 @@ declare function createTZ(options?: TZInitOptions): {
2594
2595
  pauseSession(sessionId: string): TZQuery<WatchSessionStatus>;
2595
2596
  resumeSession(sessionId: string): TZQuery<WatchSessionStatus>;
2596
2597
  endSession(sessionId: string): TZQuery<WatchSessionSummary>;
2598
+ updateSessionCap(sessionId: string, meterCapPaise: number): TZQuery<WatchSessionStatus>;
2597
2599
  getWatchlist(): TZQuery<Movie[]>;
2598
2600
  addToWatchlist(catalogItemId: string): TZQuery<void>;
2599
2601
  removeFromWatchlist(catalogItemId: string): TZQuery<void>;
package/dist/index.js CHANGED
@@ -874,6 +874,9 @@ function createStorefrontMovies(c) {
874
874
  endSession(sessionId) {
875
875
  return c.post(`/movies/session/${sessionId}/end`, void 0, "enduser");
876
876
  },
877
+ updateSessionCap(sessionId, meterCapPaise) {
878
+ return c.patch(`/movies/session/${sessionId}/update-cap`, { meterCapPaise }, "enduser");
879
+ },
877
880
  // ─── Watchlist ───────────────────────────────────────────────────
878
881
  getWatchlist() {
879
882
  return c.get("/watchlist", "enduser");