phonic 0.32.27 → 0.32.28

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.
Files changed (29) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/agents/client/requests/AgentsCreateRequest.d.ts +2 -0
  3. package/dist/cjs/api/resources/agents/client/requests/UpdateAgentRequest.d.ts +9 -0
  4. package/dist/cjs/api/resources/agents/client/requests/UpdateAgentRequest.js +6 -0
  5. package/dist/cjs/api/types/Agent.d.ts +9 -0
  6. package/dist/cjs/api/types/Agent.js +6 -0
  7. package/dist/cjs/api/types/ConfigOptions.d.ts +9 -0
  8. package/dist/cjs/api/types/ConfigOptions.js +6 -0
  9. package/dist/cjs/api/types/CreateAgentRequest.d.ts +9 -0
  10. package/dist/cjs/api/types/CreateAgentRequest.js +6 -0
  11. package/dist/cjs/api/types/OutboundCallConfig.d.ts +9 -0
  12. package/dist/cjs/api/types/OutboundCallConfig.js +6 -0
  13. package/dist/cjs/version.d.ts +1 -1
  14. package/dist/cjs/version.js +1 -1
  15. package/dist/esm/BaseClient.mjs +2 -2
  16. package/dist/esm/api/resources/agents/client/requests/AgentsCreateRequest.d.mts +2 -0
  17. package/dist/esm/api/resources/agents/client/requests/UpdateAgentRequest.d.mts +9 -0
  18. package/dist/esm/api/resources/agents/client/requests/UpdateAgentRequest.mjs +6 -0
  19. package/dist/esm/api/types/Agent.d.mts +9 -0
  20. package/dist/esm/api/types/Agent.mjs +6 -0
  21. package/dist/esm/api/types/ConfigOptions.d.mts +9 -0
  22. package/dist/esm/api/types/ConfigOptions.mjs +6 -0
  23. package/dist/esm/api/types/CreateAgentRequest.d.mts +9 -0
  24. package/dist/esm/api/types/CreateAgentRequest.mjs +6 -0
  25. package/dist/esm/api/types/OutboundCallConfig.d.mts +9 -0
  26. package/dist/esm/api/types/OutboundCallConfig.mjs +6 -0
  27. package/dist/esm/version.d.mts +1 -1
  28. package/dist/esm/version.mjs +1 -1
  29. package/package.json +1 -1
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "phonic",
46
- "X-Fern-SDK-Version": "0.32.27",
47
- "User-Agent": "phonic/0.32.27",
46
+ "X-Fern-SDK-Version": "0.32.28",
47
+ "User-Agent": "phonic/0.32.28",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -117,6 +117,8 @@ export interface AgentsCreateRequest {
117
117
  push_to_talk?: boolean;
118
118
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
119
119
  intelligence_level?: Phonic.CreateAgentRequest.IntelligenceLevel;
120
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
121
+ phonic_model?: Phonic.CreateAgentRequest.PhonicModel;
120
122
  /** These words, or short phrases, will be more accurately recognized by the agent. */
121
123
  boosted_keywords?: string[];
122
124
  /** Array of `{ word, pronunciation }` entries. Words must be unique. */
@@ -123,6 +123,8 @@ export interface UpdateAgentRequest {
123
123
  push_to_talk?: boolean;
124
124
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
125
125
  intelligence_level?: UpdateAgentRequest.IntelligenceLevel;
126
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
127
+ phonic_model?: UpdateAgentRequest.PhonicModel;
126
128
  /** These words, or short phrases, will be more accurately recognized by the agent. */
127
129
  boosted_keywords?: string[];
128
130
  /** Array of `{ word, pronunciation }` entries. Words must be unique. */
@@ -202,6 +204,13 @@ export declare namespace UpdateAgentRequest {
202
204
  readonly High: "high";
203
205
  };
204
206
  type IntelligenceLevel = (typeof IntelligenceLevel)[keyof typeof IntelligenceLevel];
207
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
208
+ const PhonicModel: {
209
+ readonly PhonicV05: "phonic_v0_5";
210
+ readonly PhonicV1: "phonic_v1";
211
+ readonly PhonicV11: "phonic_v1_1";
212
+ };
213
+ type PhonicModel = (typeof PhonicModel)[keyof typeof PhonicModel];
205
214
  type PronunciationDictionary = PronunciationDictionary.Item[];
206
215
  namespace PronunciationDictionary {
207
216
  interface Item {
@@ -33,4 +33,10 @@ var UpdateAgentRequest;
33
33
  Standard: "standard",
34
34
  High: "high",
35
35
  };
36
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
37
+ UpdateAgentRequest.PhonicModel = {
38
+ PhonicV05: "phonic_v0_5",
39
+ PhonicV1: "phonic_v1",
40
+ PhonicV11: "phonic_v1_1",
41
+ };
36
42
  })(UpdateAgentRequest || (exports.UpdateAgentRequest = UpdateAgentRequest = {}));
@@ -64,6 +64,8 @@ export interface Agent {
64
64
  push_to_talk: boolean;
65
65
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
66
66
  intelligence_level: Agent.IntelligenceLevel;
67
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
68
+ phonic_model?: Agent.PhonicModel | undefined;
67
69
  /** These words, or short phrases, will be more accurately recognized by the agent. */
68
70
  boosted_keywords: string[];
69
71
  /** Names of observability integrations enabled for the agent. Each must be one of the supported providers. */
@@ -151,6 +153,13 @@ export declare namespace Agent {
151
153
  readonly High: "high";
152
154
  };
153
155
  type IntelligenceLevel = (typeof IntelligenceLevel)[keyof typeof IntelligenceLevel];
156
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
157
+ const PhonicModel: {
158
+ readonly PhonicV05: "phonic_v0_5";
159
+ readonly PhonicV1: "phonic_v1";
160
+ readonly PhonicV11: "phonic_v1_1";
161
+ };
162
+ type PhonicModel = (typeof PhonicModel)[keyof typeof PhonicModel];
154
163
  type PronunciationDictionary = PronunciationDictionary.Item[];
155
164
  namespace PronunciationDictionary {
156
165
  interface Item {
@@ -29,4 +29,10 @@ var Agent;
29
29
  Standard: "standard",
30
30
  High: "high",
31
31
  };
32
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
33
+ Agent.PhonicModel = {
34
+ PhonicV05: "phonic_v0_5",
35
+ PhonicV1: "phonic_v1",
36
+ PhonicV11: "phonic_v1_1",
37
+ };
32
38
  })(Agent || (exports.Agent = Agent = {}));
@@ -61,6 +61,8 @@ export interface ConfigOptions {
61
61
  stream_ahead_of_real_time?: boolean | undefined;
62
62
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
63
63
  intelligence_level?: ConfigOptions.IntelligenceLevel | undefined;
64
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
65
+ phonic_model?: ConfigOptions.PhonicModel | undefined;
64
66
  /** Keywords to boost in speech recognition */
65
67
  boosted_keywords?: string[] | undefined;
66
68
  /** Array of `{ word, pronunciation }` entries. Words must be unique. */
@@ -136,6 +138,13 @@ export declare namespace ConfigOptions {
136
138
  readonly High: "high";
137
139
  };
138
140
  type IntelligenceLevel = (typeof IntelligenceLevel)[keyof typeof IntelligenceLevel];
141
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
142
+ const PhonicModel: {
143
+ readonly PhonicV05: "phonic_v0_5";
144
+ readonly PhonicV1: "phonic_v1";
145
+ readonly PhonicV11: "phonic_v1_1";
146
+ };
147
+ type PhonicModel = (typeof PhonicModel)[keyof typeof PhonicModel];
139
148
  type PronunciationDictionary = PronunciationDictionary.Item[];
140
149
  namespace PronunciationDictionary {
141
150
  interface Item {
@@ -37,4 +37,10 @@ var ConfigOptions;
37
37
  Standard: "standard",
38
38
  High: "high",
39
39
  };
40
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
41
+ ConfigOptions.PhonicModel = {
42
+ PhonicV05: "phonic_v0_5",
43
+ PhonicV1: "phonic_v1",
44
+ PhonicV11: "phonic_v1_1",
45
+ };
40
46
  })(ConfigOptions || (exports.ConfigOptions = ConfigOptions = {}));
@@ -70,6 +70,8 @@ export interface CreateAgentRequest {
70
70
  push_to_talk?: boolean | undefined;
71
71
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
72
72
  intelligence_level?: CreateAgentRequest.IntelligenceLevel | undefined;
73
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
74
+ phonic_model?: CreateAgentRequest.PhonicModel | undefined;
73
75
  /** These words, or short phrases, will be more accurately recognized by the agent. */
74
76
  boosted_keywords?: string[] | undefined;
75
77
  /** Array of `{ word, pronunciation }` entries. Words must be unique. */
@@ -149,6 +151,13 @@ export declare namespace CreateAgentRequest {
149
151
  readonly High: "high";
150
152
  };
151
153
  type IntelligenceLevel = (typeof IntelligenceLevel)[keyof typeof IntelligenceLevel];
154
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
155
+ const PhonicModel: {
156
+ readonly PhonicV05: "phonic_v0_5";
157
+ readonly PhonicV1: "phonic_v1";
158
+ readonly PhonicV11: "phonic_v1_1";
159
+ };
160
+ type PhonicModel = (typeof PhonicModel)[keyof typeof PhonicModel];
152
161
  type PronunciationDictionary = PronunciationDictionary.Item[];
153
162
  namespace PronunciationDictionary {
154
163
  interface Item {
@@ -33,4 +33,10 @@ var CreateAgentRequest;
33
33
  Standard: "standard",
34
34
  High: "high",
35
35
  };
36
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
37
+ CreateAgentRequest.PhonicModel = {
38
+ PhonicV05: "phonic_v0_5",
39
+ PhonicV1: "phonic_v1",
40
+ PhonicV11: "phonic_v1_1",
41
+ };
36
42
  })(CreateAgentRequest || (exports.CreateAgentRequest = CreateAgentRequest = {}));
@@ -39,6 +39,8 @@ export interface OutboundCallConfig {
39
39
  push_to_talk?: boolean | undefined;
40
40
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
41
41
  intelligence_level?: OutboundCallConfig.IntelligenceLevel | undefined;
42
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
43
+ phonic_model?: OutboundCallConfig.PhonicModel | undefined;
42
44
  /** These words, or short phrases, will be more accurately recognized by the agent. */
43
45
  boosted_keywords?: string[] | undefined;
44
46
  /** Array of `{ word, pronunciation }` entries. Words must be unique. */
@@ -90,6 +92,13 @@ export declare namespace OutboundCallConfig {
90
92
  readonly High: "high";
91
93
  };
92
94
  type IntelligenceLevel = (typeof IntelligenceLevel)[keyof typeof IntelligenceLevel];
95
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
96
+ const PhonicModel: {
97
+ readonly PhonicV05: "phonic_v0_5";
98
+ readonly PhonicV1: "phonic_v1";
99
+ readonly PhonicV11: "phonic_v1_1";
100
+ };
101
+ type PhonicModel = (typeof PhonicModel)[keyof typeof PhonicModel];
93
102
  type PronunciationDictionary = PronunciationDictionary.Item[];
94
103
  namespace PronunciationDictionary {
95
104
  interface Item {
@@ -15,6 +15,12 @@ var OutboundCallConfig;
15
15
  Standard: "standard",
16
16
  High: "high",
17
17
  };
18
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
19
+ OutboundCallConfig.PhonicModel = {
20
+ PhonicV05: "phonic_v0_5",
21
+ PhonicV1: "phonic_v1",
22
+ PhonicV11: "phonic_v1_1",
23
+ };
18
24
  /** The background noise type. Can be "office", "call-center", "coffee-shop", or null. */
19
25
  OutboundCallConfig.BackgroundNoise = {
20
26
  Office: "office",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.32.27";
1
+ export declare const SDK_VERSION = "0.32.28";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.32.27";
4
+ exports.SDK_VERSION = "0.32.28";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "phonic",
9
- "X-Fern-SDK-Version": "0.32.27",
10
- "User-Agent": "phonic/0.32.27",
9
+ "X-Fern-SDK-Version": "0.32.28",
10
+ "User-Agent": "phonic/0.32.28",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -117,6 +117,8 @@ export interface AgentsCreateRequest {
117
117
  push_to_talk?: boolean;
118
118
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
119
119
  intelligence_level?: Phonic.CreateAgentRequest.IntelligenceLevel;
120
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
121
+ phonic_model?: Phonic.CreateAgentRequest.PhonicModel;
120
122
  /** These words, or short phrases, will be more accurately recognized by the agent. */
121
123
  boosted_keywords?: string[];
122
124
  /** Array of `{ word, pronunciation }` entries. Words must be unique. */
@@ -123,6 +123,8 @@ export interface UpdateAgentRequest {
123
123
  push_to_talk?: boolean;
124
124
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
125
125
  intelligence_level?: UpdateAgentRequest.IntelligenceLevel;
126
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
127
+ phonic_model?: UpdateAgentRequest.PhonicModel;
126
128
  /** These words, or short phrases, will be more accurately recognized by the agent. */
127
129
  boosted_keywords?: string[];
128
130
  /** Array of `{ word, pronunciation }` entries. Words must be unique. */
@@ -202,6 +204,13 @@ export declare namespace UpdateAgentRequest {
202
204
  readonly High: "high";
203
205
  };
204
206
  type IntelligenceLevel = (typeof IntelligenceLevel)[keyof typeof IntelligenceLevel];
207
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
208
+ const PhonicModel: {
209
+ readonly PhonicV05: "phonic_v0_5";
210
+ readonly PhonicV1: "phonic_v1";
211
+ readonly PhonicV11: "phonic_v1_1";
212
+ };
213
+ type PhonicModel = (typeof PhonicModel)[keyof typeof PhonicModel];
205
214
  type PronunciationDictionary = PronunciationDictionary.Item[];
206
215
  namespace PronunciationDictionary {
207
216
  interface Item {
@@ -30,4 +30,10 @@ export var UpdateAgentRequest;
30
30
  Standard: "standard",
31
31
  High: "high",
32
32
  };
33
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
34
+ UpdateAgentRequest.PhonicModel = {
35
+ PhonicV05: "phonic_v0_5",
36
+ PhonicV1: "phonic_v1",
37
+ PhonicV11: "phonic_v1_1",
38
+ };
33
39
  })(UpdateAgentRequest || (UpdateAgentRequest = {}));
@@ -64,6 +64,8 @@ export interface Agent {
64
64
  push_to_talk: boolean;
65
65
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
66
66
  intelligence_level: Agent.IntelligenceLevel;
67
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
68
+ phonic_model?: Agent.PhonicModel | undefined;
67
69
  /** These words, or short phrases, will be more accurately recognized by the agent. */
68
70
  boosted_keywords: string[];
69
71
  /** Names of observability integrations enabled for the agent. Each must be one of the supported providers. */
@@ -151,6 +153,13 @@ export declare namespace Agent {
151
153
  readonly High: "high";
152
154
  };
153
155
  type IntelligenceLevel = (typeof IntelligenceLevel)[keyof typeof IntelligenceLevel];
156
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
157
+ const PhonicModel: {
158
+ readonly PhonicV05: "phonic_v0_5";
159
+ readonly PhonicV1: "phonic_v1";
160
+ readonly PhonicV11: "phonic_v1_1";
161
+ };
162
+ type PhonicModel = (typeof PhonicModel)[keyof typeof PhonicModel];
154
163
  type PronunciationDictionary = PronunciationDictionary.Item[];
155
164
  namespace PronunciationDictionary {
156
165
  interface Item {
@@ -26,4 +26,10 @@ export var Agent;
26
26
  Standard: "standard",
27
27
  High: "high",
28
28
  };
29
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
30
+ Agent.PhonicModel = {
31
+ PhonicV05: "phonic_v0_5",
32
+ PhonicV1: "phonic_v1",
33
+ PhonicV11: "phonic_v1_1",
34
+ };
29
35
  })(Agent || (Agent = {}));
@@ -61,6 +61,8 @@ export interface ConfigOptions {
61
61
  stream_ahead_of_real_time?: boolean | undefined;
62
62
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
63
63
  intelligence_level?: ConfigOptions.IntelligenceLevel | undefined;
64
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
65
+ phonic_model?: ConfigOptions.PhonicModel | undefined;
64
66
  /** Keywords to boost in speech recognition */
65
67
  boosted_keywords?: string[] | undefined;
66
68
  /** Array of `{ word, pronunciation }` entries. Words must be unique. */
@@ -136,6 +138,13 @@ export declare namespace ConfigOptions {
136
138
  readonly High: "high";
137
139
  };
138
140
  type IntelligenceLevel = (typeof IntelligenceLevel)[keyof typeof IntelligenceLevel];
141
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
142
+ const PhonicModel: {
143
+ readonly PhonicV05: "phonic_v0_5";
144
+ readonly PhonicV1: "phonic_v1";
145
+ readonly PhonicV11: "phonic_v1_1";
146
+ };
147
+ type PhonicModel = (typeof PhonicModel)[keyof typeof PhonicModel];
139
148
  type PronunciationDictionary = PronunciationDictionary.Item[];
140
149
  namespace PronunciationDictionary {
141
150
  interface Item {
@@ -34,4 +34,10 @@ export var ConfigOptions;
34
34
  Standard: "standard",
35
35
  High: "high",
36
36
  };
37
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
38
+ ConfigOptions.PhonicModel = {
39
+ PhonicV05: "phonic_v0_5",
40
+ PhonicV1: "phonic_v1",
41
+ PhonicV11: "phonic_v1_1",
42
+ };
37
43
  })(ConfigOptions || (ConfigOptions = {}));
@@ -70,6 +70,8 @@ export interface CreateAgentRequest {
70
70
  push_to_talk?: boolean | undefined;
71
71
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
72
72
  intelligence_level?: CreateAgentRequest.IntelligenceLevel | undefined;
73
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
74
+ phonic_model?: CreateAgentRequest.PhonicModel | undefined;
73
75
  /** These words, or short phrases, will be more accurately recognized by the agent. */
74
76
  boosted_keywords?: string[] | undefined;
75
77
  /** Array of `{ word, pronunciation }` entries. Words must be unique. */
@@ -149,6 +151,13 @@ export declare namespace CreateAgentRequest {
149
151
  readonly High: "high";
150
152
  };
151
153
  type IntelligenceLevel = (typeof IntelligenceLevel)[keyof typeof IntelligenceLevel];
154
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
155
+ const PhonicModel: {
156
+ readonly PhonicV05: "phonic_v0_5";
157
+ readonly PhonicV1: "phonic_v1";
158
+ readonly PhonicV11: "phonic_v1_1";
159
+ };
160
+ type PhonicModel = (typeof PhonicModel)[keyof typeof PhonicModel];
152
161
  type PronunciationDictionary = PronunciationDictionary.Item[];
153
162
  namespace PronunciationDictionary {
154
163
  interface Item {
@@ -30,4 +30,10 @@ export var CreateAgentRequest;
30
30
  Standard: "standard",
31
31
  High: "high",
32
32
  };
33
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
34
+ CreateAgentRequest.PhonicModel = {
35
+ PhonicV05: "phonic_v0_5",
36
+ PhonicV1: "phonic_v1",
37
+ PhonicV11: "phonic_v1_1",
38
+ };
33
39
  })(CreateAgentRequest || (CreateAgentRequest = {}));
@@ -39,6 +39,8 @@ export interface OutboundCallConfig {
39
39
  push_to_talk?: boolean | undefined;
40
40
  /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */
41
41
  intelligence_level?: OutboundCallConfig.IntelligenceLevel | undefined;
42
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
43
+ phonic_model?: OutboundCallConfig.PhonicModel | undefined;
42
44
  /** These words, or short phrases, will be more accurately recognized by the agent. */
43
45
  boosted_keywords?: string[] | undefined;
44
46
  /** Array of `{ word, pronunciation }` entries. Words must be unique. */
@@ -90,6 +92,13 @@ export declare namespace OutboundCallConfig {
90
92
  readonly High: "high";
91
93
  };
92
94
  type IntelligenceLevel = (typeof IntelligenceLevel)[keyof typeof IntelligenceLevel];
95
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
96
+ const PhonicModel: {
97
+ readonly PhonicV05: "phonic_v0_5";
98
+ readonly PhonicV1: "phonic_v1";
99
+ readonly PhonicV11: "phonic_v1_1";
100
+ };
101
+ type PhonicModel = (typeof PhonicModel)[keyof typeof PhonicModel];
93
102
  type PronunciationDictionary = PronunciationDictionary.Item[];
94
103
  namespace PronunciationDictionary {
95
104
  interface Item {
@@ -12,6 +12,12 @@ export var OutboundCallConfig;
12
12
  Standard: "standard",
13
13
  High: "high",
14
14
  };
15
+ /** The Phonic speech-to-speech model to generate with. Omit it to use the current default model. */
16
+ OutboundCallConfig.PhonicModel = {
17
+ PhonicV05: "phonic_v0_5",
18
+ PhonicV1: "phonic_v1",
19
+ PhonicV11: "phonic_v1_1",
20
+ };
15
21
  /** The background noise type. Can be "office", "call-center", "coffee-shop", or null. */
16
22
  OutboundCallConfig.BackgroundNoise = {
17
23
  Office: "office",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.32.27";
1
+ export declare const SDK_VERSION = "0.32.28";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.32.27";
1
+ export const SDK_VERSION = "0.32.28";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phonic",
3
- "version": "0.32.27",
3
+ "version": "0.32.28",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",