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.
- package/dist/cjs/index.js +7 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Education.d.ts +5 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
- package/src/api/Education.ts +8 -0
package/dist/index.d.ts
CHANGED
|
@@ -7179,6 +7179,11 @@ declare class Education {
|
|
|
7179
7179
|
static getAdoptionReport<T>(): AxiosPromise<Response<T>>;
|
|
7180
7180
|
static getQuestionPerformanceReport<T>(params?: object): AxiosPromise<Response<T>>;
|
|
7181
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>>;
|
|
7182
7187
|
static myBadges<T>(): AxiosPromise<Response<T>>;
|
|
7183
7188
|
static awardBadge<T>(data: object): AxiosPromise<Response<T>>;
|
|
7184
7189
|
static myCertificates<T>(): AxiosPromise<Response<T>>;
|
package/package.json
CHANGED
package/src/api/Education.ts
CHANGED
|
@@ -155,6 +155,14 @@ class Education {
|
|
|
155
155
|
return Requests.processRoute(EducationRoute.routes.reportRetention);
|
|
156
156
|
}
|
|
157
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
|
+
}
|
|
165
|
+
|
|
158
166
|
// --- 9. ACHIEVEMENTS (BADGES & CERTIFICATES) ---
|
|
159
167
|
public static myBadges<T>(): AxiosPromise<Response<T>> {
|
|
160
168
|
return Requests.processRoute(EducationRoute.routes.myBadges);
|