@parra/parra-js-sdk 0.3.519 → 0.3.521

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.
Files changed (2) hide show
  1. package/dist/ParraAPI.d.ts +10 -4
  2. package/package.json +1 -1
@@ -1527,6 +1527,7 @@ export interface CourseStub {
1527
1527
  updated_at: string;
1528
1528
  deleted_at?: string | null;
1529
1529
  icon?: ImageAssetStub | null;
1530
+ slug?: string | null;
1530
1531
  tenant_id: string;
1531
1532
  title: string;
1532
1533
  description?: string | null;
@@ -1539,6 +1540,7 @@ export interface Course {
1539
1540
  updated_at: string;
1540
1541
  deleted_at?: string | null;
1541
1542
  icon?: ImageAssetStub | null;
1543
+ slug?: string | null;
1542
1544
  tenant_id: string;
1543
1545
  title: string;
1544
1546
  description?: string | null;
@@ -1637,6 +1639,8 @@ export interface UpdateCourseLessonRequestBody {
1637
1639
  description?: string | null;
1638
1640
  is_preview?: boolean;
1639
1641
  sort_order?: number;
1642
+ youtube_video_id?: string | null;
1643
+ youtube_video_url?: string | null;
1640
1644
  }
1641
1645
  export interface CreateCourseLessonRequestBody {
1642
1646
  type?: LessonType;
@@ -1644,18 +1648,20 @@ export interface CreateCourseLessonRequestBody {
1644
1648
  description?: string | null;
1645
1649
  is_preview?: boolean;
1646
1650
  sort_order?: number;
1651
+ youtube_video_id?: string | null;
1652
+ youtube_video_url?: string | null;
1647
1653
  }
1648
1654
  export interface UpdateCourseLessonSectionRequestBody {
1649
1655
  title?: string;
1650
1656
  description?: string | null;
1651
- start_time?: string;
1652
- end_time?: string;
1657
+ start_time?: number;
1658
+ end_time?: number;
1653
1659
  }
1654
1660
  export interface CreateCourseLessonSectionRequestBody {
1655
1661
  title?: string;
1656
1662
  description?: string | null;
1657
- start_time?: string;
1658
- end_time?: string;
1663
+ start_time?: number;
1664
+ end_time?: number;
1659
1665
  }
1660
1666
  export interface ReportLessonProgressRequestBody {
1661
1667
  complete?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.519",
3
+ "version": "0.3.521",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",