@brighterly/lib-core-types 0.7.6 → 0.7.8

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;
@@ -2,5 +2,6 @@ export declare enum ExperimentsCode {
2
2
  Exp58 = "exp-58_preselected-slots",
3
3
  Exp62 = "exp-62_mobile-vs-desktop",
4
4
  Exp63 = "exp-63_ai-livechat-in-demo-cs",
5
- Exp68 = "exp-68_ics-download-btn"
5
+ Exp68 = "exp-68_ics-download-btn",
6
+ Exp85 = "exp-85_device-pick-buttons-change"
6
7
  }
@@ -4,4 +4,5 @@ export var ExperimentsCode;
4
4
  ExperimentsCode["Exp62"] = "exp-62_mobile-vs-desktop";
5
5
  ExperimentsCode["Exp63"] = "exp-63_ai-livechat-in-demo-cs";
6
6
  ExperimentsCode["Exp68"] = "exp-68_ics-download-btn";
7
+ ExperimentsCode["Exp85"] = "exp-85_device-pick-buttons-change";
7
8
  })(ExperimentsCode || (ExperimentsCode = {}));
@@ -5,4 +5,5 @@ export interface Experiments {
5
5
  [ExperimentsCode.Exp62]: ExperimentValue;
6
6
  [ExperimentsCode.Exp63]: ExperimentValue;
7
7
  [ExperimentsCode.Exp68]: ExperimentValue;
8
+ [ExperimentsCode.Exp85]: ExperimentValue;
8
9
  }
@@ -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.6",
3
+ "version": "0.7.8",
4
4
  "description": "Official Brighterly lib-core-types",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",