glitch-javascript-sdk 2.5.6 → 2.5.7

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.
@@ -46,6 +46,11 @@ declare class Education {
46
46
  static getAdoptionReport<T>(): AxiosPromise<Response<T>>;
47
47
  static getQuestionPerformanceReport<T>(params?: object): AxiosPromise<Response<T>>;
48
48
  static getRetentionReport<T>(): AxiosPromise<Response<T>>;
49
+ /**
50
+ * List raw engagement logs.
51
+ * @param params Filter by user_id, content_id, or is_paid
52
+ */
53
+ static listViews<T>(params?: object): AxiosPromise<Response<T>>;
49
54
  static myBadges<T>(): AxiosPromise<Response<T>>;
50
55
  static awardBadge<T>(data: object): AxiosPromise<Response<T>>;
51
56
  static myCertificates<T>(): AxiosPromise<Response<T>>;
package/dist/esm/index.js CHANGED
@@ -16736,6 +16736,13 @@ var Education = /** @class */ (function () {
16736
16736
  Education.getRetentionReport = function () {
16737
16737
  return Requests.processRoute(EducationRoute.routes.reportRetention);
16738
16738
  };
16739
+ /**
16740
+ * List raw engagement logs.
16741
+ * @param params Filter by user_id, content_id, or is_paid
16742
+ */
16743
+ Education.listViews = function (params) {
16744
+ return Requests.processRoute(EducationRoute.routes.listViews, undefined, undefined, params);
16745
+ };
16739
16746
  // --- 9. ACHIEVEMENTS (BADGES & CERTIFICATES) ---
16740
16747
  Education.myBadges = function () {
16741
16748
  return Requests.processRoute(EducationRoute.routes.myBadges);