@brighterly/lib-core-types 0.7.5 → 0.7.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.
@@ -1,3 +1,4 @@
1
+ import type { ActiveSurvey } from "../survey/interfaces.ts";
1
2
  export interface SummarizeTopic {
2
3
  title: string;
3
4
  description: string;
@@ -15,6 +16,7 @@ export interface SummarizeData {
15
16
  speaking_time: number | null;
16
17
  summary: string | null;
17
18
  topic: string | null;
19
+ survey: ActiveSurvey | null;
18
20
  }
19
21
  export interface BookingAiSummarize {
20
22
  booking_id: number;
@@ -1,6 +1,7 @@
1
1
  import type { Discipline } from '../discipline/enums';
2
2
  import type { Feedback, Tutor } from '../tutor/interfaces';
3
3
  import { type ActivityStatus, type Reason, type ReasonCategory, type Status, type TutorAction, type Type } from './enums';
4
+ import type { AdditionalAiSummarize } from "../ai-summarize/interfaces.ts";
4
5
  export interface RoomData {
5
6
  code: string;
6
7
  type: 'test' | 'live';
@@ -34,6 +35,7 @@ export interface Booking {
34
35
  tutor: Tutor | null;
35
36
  tutor_action: Record<TutorAction, any> | null;
36
37
  tasks: any[];
38
+ ai_summary: AdditionalAiSummarize | null;
37
39
  }
38
40
  export interface TimeSlot {
39
41
  busy: boolean;
@@ -6,7 +6,7 @@ export interface SurveyAnswer {
6
6
  }
7
7
  export interface ActiveSurvey {
8
8
  id: number;
9
- key: 'after_first_paid_booking' | 'before_finish_first_package' | 'nps' | 'seven_day_before_rebill';
9
+ key: 'after_first_paid_booking' | 'before_finish_first_package' | 'nps' | 'seven_day_before_rebill' | 'ai_summary_feedback';
10
10
  status: SurveyStatus;
11
11
  answers: SurveyAnswer[];
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brighterly/lib-core-types",
3
- "version": "0.7.5",
3
+ "version": "0.7.7",
4
4
  "description": "Official Brighterly lib-core-types",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",