glitch-javascript-sdk 2.5.9 → 2.6.0

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.
@@ -21,6 +21,7 @@ declare class Education {
21
21
  static deleteContent<T>(uuid: string): AxiosPromise<Response<T>>;
22
22
  static heartbeat<T>(uuid: string, data: object): AxiosPromise<Response<T>>;
23
23
  static getSecureVideo<T>(uuid: string): AxiosPromise<Response<T>>;
24
+ static getPreviewSecureVideo<T>(uuid: string): AxiosPromise<Response<T>>;
24
25
  static listTrackContent<T>(track_id: string): AxiosPromise<Response<T>>;
25
26
  static addContentToTrack<T>(track_id: string, data: object): AxiosPromise<Response<T>>;
26
27
  static removeContentFromTrack<T>(track_id: string, content_id: string): AxiosPromise<Response<T>>;
package/dist/esm/index.js CHANGED
@@ -16516,6 +16516,7 @@ var EducationRoute = /** @class */ (function () {
16516
16516
  saveContentModuleState: { url: '/education/content/{uuid}/module-state', method: HTTP_METHODS.POST },
16517
16517
  getContentModuleState: { url: '/education/content/{uuid}/module-state', method: HTTP_METHODS.GET },
16518
16518
  getSecureVideo: { url: '/education/content/{uuid}/secure-video', method: HTTP_METHODS.GET },
16519
+ getPreviewSecureVideo: { url: '/education/content/{uuid}/preview-secure-video', method: HTTP_METHODS.GET },
16519
16520
  // 4. EducationContentTrackController (Pivot)
16520
16521
  listTrackContent: { url: '/education/tracks/{track_id}/content', method: HTTP_METHODS.GET },
16521
16522
  addContentToTrack: { url: '/education/tracks/{track_id}/content', method: HTTP_METHODS.POST },
@@ -16679,6 +16680,9 @@ var Education = /** @class */ (function () {
16679
16680
  Education.getSecureVideo = function (uuid) {
16680
16681
  return Requests.processRoute(EducationRoute.routes.getSecureVideo, undefined, { uuid: uuid });
16681
16682
  };
16683
+ Education.getPreviewSecureVideo = function (uuid) {
16684
+ return Requests.processRoute(EducationRoute.routes.getPreviewSecureVideo, undefined, { uuid: uuid });
16685
+ };
16682
16686
  // --- 4. TRACK CONTENT (PIVOT) ---
16683
16687
  Education.listTrackContent = function (track_id) {
16684
16688
  return Requests.processRoute(EducationRoute.routes.listTrackContent, undefined, { track_id: track_id });