glitch-javascript-sdk 2.5.5 → 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.
@@ -45,6 +45,12 @@ declare class Education {
45
45
  static getConversionReport<T>(): AxiosPromise<Response<T>>;
46
46
  static getAdoptionReport<T>(): AxiosPromise<Response<T>>;
47
47
  static getQuestionPerformanceReport<T>(params?: object): AxiosPromise<Response<T>>;
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>>;
48
54
  static myBadges<T>(): AxiosPromise<Response<T>>;
49
55
  static awardBadge<T>(data: object): AxiosPromise<Response<T>>;
50
56
  static myCertificates<T>(): AxiosPromise<Response<T>>;
package/dist/esm/index.js CHANGED
@@ -16733,6 +16733,16 @@ var Education = /** @class */ (function () {
16733
16733
  Education.getQuestionPerformanceReport = function (params) {
16734
16734
  return Requests.processRoute(EducationRoute.routes.reportQuestionPerformance, undefined, undefined, params);
16735
16735
  };
16736
+ Education.getRetentionReport = function () {
16737
+ return Requests.processRoute(EducationRoute.routes.reportRetention);
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
+ };
16736
16746
  // --- 9. ACHIEVEMENTS (BADGES & CERTIFICATES) ---
16737
16747
  Education.myBadges = function () {
16738
16748
  return Requests.processRoute(EducationRoute.routes.myBadges);