@iblai/data-layer 1.16.0 → 1.17.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.
package/dist/index.d.ts CHANGED
@@ -66666,6 +66666,8 @@ interface UserDetailsStatsArgs {
66666
66666
  }
66667
66667
  interface UserDetailsStatsResponse {
66668
66668
  results: Array<{
66669
+ /** Null for users the backend could not attribute to an account. */
66670
+ username?: string | null;
66669
66671
  email: string;
66670
66672
  full_name: string;
66671
66673
  messages: number;
@@ -66857,6 +66859,10 @@ interface ContentAnalyticsArgs {
66857
66859
  page?: number;
66858
66860
  platform_key?: string;
66859
66861
  mentor_unique_id?: string;
66862
+ /** Free-text filter over the content list. */
66863
+ search?: string;
66864
+ /** Column the content list is ordered by, e.g. `active_enrollments`. */
66865
+ sort_by?: string;
66860
66866
  }
66861
66867
  interface ContentAnalyticsTotals {
66862
66868
  total_learners: number;
@@ -66907,6 +66913,11 @@ interface ContentAnalyticsPagination {
66907
66913
  }
66908
66914
  interface ContentAnalyticsItem {
66909
66915
  id: string;
66916
+ /**
66917
+ * The id the program's own page is keyed by, which is not the `id` this
66918
+ * list reports on. Programs only — course rows carry no such field.
66919
+ */
66920
+ program_id?: string;
66910
66921
  name: string;
66911
66922
  slug: string;
66912
66923
  platform: string;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/data-layer",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "ibl.ai data layer",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
@@ -331,6 +331,8 @@ export interface UserDetailsStatsArgs {
331
331
  }
332
332
  export interface UserDetailsStatsResponse {
333
333
  results: Array<{
334
+ /** Null for users the backend could not attribute to an account. */
335
+ username?: string | null;
334
336
  email: string;
335
337
  full_name: string;
336
338
  messages: number;
@@ -522,6 +524,10 @@ export interface ContentAnalyticsArgs {
522
524
  page?: number;
523
525
  platform_key?: string;
524
526
  mentor_unique_id?: string;
527
+ /** Free-text filter over the content list. */
528
+ search?: string;
529
+ /** Column the content list is ordered by, e.g. `active_enrollments`. */
530
+ sort_by?: string;
525
531
  }
526
532
  export interface ContentAnalyticsTotals {
527
533
  total_learners: number;
@@ -572,6 +578,11 @@ export interface ContentAnalyticsPagination {
572
578
  }
573
579
  export interface ContentAnalyticsItem {
574
580
  id: string;
581
+ /**
582
+ * The id the program's own page is keyed by, which is not the `id` this
583
+ * list reports on. Programs only — course rows carry no such field.
584
+ */
585
+ program_id?: string;
575
586
  name: string;
576
587
  slug: string;
577
588
  platform: string;