@speakableio/core 0.1.70 → 0.1.72

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.
@@ -465,7 +465,7 @@ interface PageScore {
465
465
  correct?: number;
466
466
  success?: boolean;
467
467
  aiSuccess?: boolean;
468
- grading_method?: 'simple' | 'rubric' | 'manual' | 'standards_based';
468
+ grading_method?: 'simple' | 'rubric' | 'manual' | 'standards_based' | null;
469
469
  grammar_insights?: {
470
470
  type?: string;
471
471
  justification?: string;
@@ -480,10 +480,10 @@ interface PageScore {
480
480
  };
481
481
  suggested_response?: string;
482
482
  summary?: string;
483
- transcript?: string;
483
+ transcript?: string | null;
484
484
  errors?: any;
485
485
  improvedResponse?: string;
486
- audio?: string;
486
+ audio?: string | null;
487
487
  actfl?: {
488
488
  justification: string;
489
489
  level: string;
@@ -493,7 +493,7 @@ interface PageScore {
493
493
  level: string;
494
494
  };
495
495
  earned_points?: number;
496
- fileName?: string;
496
+ fileName?: string | null;
497
497
  max_points?: number;
498
498
  passing_score?: number;
499
499
  rubric?: {
@@ -503,7 +503,7 @@ interface PageScore {
503
503
  score: number;
504
504
  score_title: string;
505
505
  title: string;
506
- }[];
506
+ }[] | null;
507
507
  scoring_type?: string;
508
508
  history?: PageScore[];
509
509
  media_area_opened?: boolean;
@@ -514,9 +514,10 @@ interface PageScore {
514
514
  justification: string;
515
515
  key_indicators?: string[];
516
516
  };
517
- status?: string;
517
+ status?: string | null;
518
518
  transcriptError?: boolean;
519
519
  feedbackError?: boolean;
520
+ feedback_language?: string | null;
520
521
  }
521
522
 
522
523
  declare const enum AssignmentAnalyticsType {
@@ -465,7 +465,7 @@ interface PageScore {
465
465
  correct?: number;
466
466
  success?: boolean;
467
467
  aiSuccess?: boolean;
468
- grading_method?: 'simple' | 'rubric' | 'manual' | 'standards_based';
468
+ grading_method?: 'simple' | 'rubric' | 'manual' | 'standards_based' | null;
469
469
  grammar_insights?: {
470
470
  type?: string;
471
471
  justification?: string;
@@ -480,10 +480,10 @@ interface PageScore {
480
480
  };
481
481
  suggested_response?: string;
482
482
  summary?: string;
483
- transcript?: string;
483
+ transcript?: string | null;
484
484
  errors?: any;
485
485
  improvedResponse?: string;
486
- audio?: string;
486
+ audio?: string | null;
487
487
  actfl?: {
488
488
  justification: string;
489
489
  level: string;
@@ -493,7 +493,7 @@ interface PageScore {
493
493
  level: string;
494
494
  };
495
495
  earned_points?: number;
496
- fileName?: string;
496
+ fileName?: string | null;
497
497
  max_points?: number;
498
498
  passing_score?: number;
499
499
  rubric?: {
@@ -503,7 +503,7 @@ interface PageScore {
503
503
  score: number;
504
504
  score_title: string;
505
505
  title: string;
506
- }[];
506
+ }[] | null;
507
507
  scoring_type?: string;
508
508
  history?: PageScore[];
509
509
  media_area_opened?: boolean;
@@ -514,9 +514,10 @@ interface PageScore {
514
514
  justification: string;
515
515
  key_indicators?: string[];
516
516
  };
517
- status?: string;
517
+ status?: string | null;
518
518
  transcriptError?: boolean;
519
519
  feedbackError?: boolean;
520
+ feedback_language?: string | null;
520
521
  }
521
522
 
522
523
  declare const enum AssignmentAnalyticsType {
package/dist/index.web.js CHANGED
@@ -936,6 +936,10 @@ var ANALYTICS_EVENT_TYPES = {
936
936
  RESPOND_CARD_FAIL: "respond_card_fail",
937
937
  RESPOND_WRITE_CARD_SUCCESS: "respond_write_card_success",
938
938
  RESPOND_WRITE_CARD_FAIL: "respond_write_card_fail",
939
+ RESPOND_WRITE_CARD_SUBMITTED: "respond_write_card_submitted",
940
+ RESPOND_WRITE_CARD_ERROR: "respond_write_card_error",
941
+ RESPOND_CARD_ERROR: "respond_card_error",
942
+ RESPOND_CARD_SUBMITTED: "respond_card_submitted",
939
943
  RESPOND_FREE_PLAN: "respond_free_plan",
940
944
  RESPOND_WRITE_FREE_PLAN: "respond_write_free_plan",
941
945
  SUBMISSION: "assignment_submitted",