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.
- package/dist/cjs/index.js +10 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Education.d.ts +6 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
- package/src/api/Education.ts +11 -0
package/dist/index.d.ts
CHANGED
|
@@ -7178,6 +7178,12 @@ declare class Education {
|
|
|
7178
7178
|
static getConversionReport<T>(): AxiosPromise<Response<T>>;
|
|
7179
7179
|
static getAdoptionReport<T>(): AxiosPromise<Response<T>>;
|
|
7180
7180
|
static getQuestionPerformanceReport<T>(params?: object): AxiosPromise<Response<T>>;
|
|
7181
|
+
static getRetentionReport<T>(): AxiosPromise<Response<T>>;
|
|
7182
|
+
/**
|
|
7183
|
+
* List raw engagement logs.
|
|
7184
|
+
* @param params Filter by user_id, content_id, or is_paid
|
|
7185
|
+
*/
|
|
7186
|
+
static listViews<T>(params?: object): AxiosPromise<Response<T>>;
|
|
7181
7187
|
static myBadges<T>(): AxiosPromise<Response<T>>;
|
|
7182
7188
|
static awardBadge<T>(data: object): AxiosPromise<Response<T>>;
|
|
7183
7189
|
static myCertificates<T>(): AxiosPromise<Response<T>>;
|
package/package.json
CHANGED
package/src/api/Education.ts
CHANGED
|
@@ -151,6 +151,17 @@ class Education {
|
|
|
151
151
|
public static getQuestionPerformanceReport<T>(params?: object): AxiosPromise<Response<T>> {
|
|
152
152
|
return Requests.processRoute(EducationRoute.routes.reportQuestionPerformance, undefined, undefined, params);
|
|
153
153
|
}
|
|
154
|
+
public static getRetentionReport<T>(): AxiosPromise<Response<T>> {
|
|
155
|
+
return Requests.processRoute(EducationRoute.routes.reportRetention);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* List raw engagement logs.
|
|
160
|
+
* @param params Filter by user_id, content_id, or is_paid
|
|
161
|
+
*/
|
|
162
|
+
public static listViews<T>(params?: object): AxiosPromise<Response<T>> {
|
|
163
|
+
return Requests.processRoute(EducationRoute.routes.listViews, undefined, undefined, params);
|
|
164
|
+
}
|
|
154
165
|
|
|
155
166
|
// --- 9. ACHIEVEMENTS (BADGES & CERTIFICATES) ---
|
|
156
167
|
public static myBadges<T>(): AxiosPromise<Response<T>> {
|