@boldvideo/bold-js 1.0.0 → 1.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @boldvideo/bold-js
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 844d6f1: Add persona and ai_search types to Account settings
8
+
9
+ - Added `Persona` type (discriminated union based on `enabled` flag)
10
+ - Added `AccountAISearch` type with `enabled` boolean
11
+ - Updated `Account` type to include `ai_search` and `persona` fields
12
+
3
13
  ## 1.0.0
4
14
 
5
15
  ### Major Changes
package/dist/index.d.ts CHANGED
@@ -133,9 +133,24 @@ type AccountAI = {
133
133
  greeting: string;
134
134
  name: string;
135
135
  };
136
+ type AccountAISearch = {
137
+ enabled: boolean;
138
+ };
139
+ type PersonaEnabled = {
140
+ enabled: true;
141
+ name: string;
142
+ greeting: string;
143
+ conversation_starters: string[];
144
+ };
145
+ type PersonaDisabled = {
146
+ enabled: false;
147
+ };
148
+ type Persona = PersonaEnabled | PersonaDisabled;
136
149
  type Account = {
137
150
  ai: AccountAI;
151
+ ai_search: AccountAISearch;
138
152
  name: string;
153
+ persona: Persona;
139
154
  slug: string;
140
155
  };
141
156
  type Settings = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@boldvideo/bold-js",
3
3
  "license": "MIT",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",