phonic 0.30.17 → 0.30.18

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.
@@ -50,8 +50,8 @@ class PhonicClient {
50
50
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
51
51
  "X-Fern-Language": "JavaScript",
52
52
  "X-Fern-SDK-Name": "phonic",
53
- "X-Fern-SDK-Version": "0.30.16",
54
- "User-Agent": "phonic/0.30.16",
53
+ "X-Fern-SDK-Version": "0.30.18",
54
+ "User-Agent": "phonic/0.30.18",
55
55
  "X-Fern-Runtime": core.RUNTIME.type,
56
56
  "X-Fern-Runtime-Version": core.RUNTIME.version,
57
57
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AddSystemMessagePayload {
5
+ type: "add_system_message";
6
+ /** New system message */
7
+ system_message: string;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -24,6 +24,7 @@ export * from "./ConversationEval.js";
24
24
  export * from "./ConfigPayload.js";
25
25
  export * from "./AudioChunkPayload.js";
26
26
  export * from "./UpdateSystemPromptPayload.js";
27
+ export * from "./AddSystemMessagePayload.js";
27
28
  export * from "./SetExternalIdPayload.js";
28
29
  export * from "./SetTwilioCallSidPayload.js";
29
30
  export * from "./ToolCallOutputPayload.js";
@@ -40,6 +40,7 @@ __exportStar(require("./ConversationEval.js"), exports);
40
40
  __exportStar(require("./ConfigPayload.js"), exports);
41
41
  __exportStar(require("./AudioChunkPayload.js"), exports);
42
42
  __exportStar(require("./UpdateSystemPromptPayload.js"), exports);
43
+ __exportStar(require("./AddSystemMessagePayload.js"), exports);
43
44
  __exportStar(require("./SetExternalIdPayload.js"), exports);
44
45
  __exportStar(require("./SetTwilioCallSidPayload.js"), exports);
45
46
  __exportStar(require("./ToolCallOutputPayload.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.30.16";
1
+ export declare const SDK_VERSION = "0.30.18";
@@ -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.30.16";
4
+ exports.SDK_VERSION = "0.30.18";
@@ -14,8 +14,8 @@ export class PhonicClient {
14
14
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
15
15
  "X-Fern-Language": "JavaScript",
16
16
  "X-Fern-SDK-Name": "phonic",
17
- "X-Fern-SDK-Version": "0.30.16",
18
- "User-Agent": "phonic/0.30.16",
17
+ "X-Fern-SDK-Version": "0.30.18",
18
+ "User-Agent": "phonic/0.30.18",
19
19
  "X-Fern-Runtime": core.RUNTIME.type,
20
20
  "X-Fern-Runtime-Version": core.RUNTIME.version,
21
21
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AddSystemMessagePayload {
5
+ type: "add_system_message";
6
+ /** New system message */
7
+ system_message: string;
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -24,6 +24,7 @@ export * from "./ConversationEval.mjs";
24
24
  export * from "./ConfigPayload.mjs";
25
25
  export * from "./AudioChunkPayload.mjs";
26
26
  export * from "./UpdateSystemPromptPayload.mjs";
27
+ export * from "./AddSystemMessagePayload.mjs";
27
28
  export * from "./SetExternalIdPayload.mjs";
28
29
  export * from "./SetTwilioCallSidPayload.mjs";
29
30
  export * from "./ToolCallOutputPayload.mjs";
@@ -24,6 +24,7 @@ export * from "./ConversationEval.mjs";
24
24
  export * from "./ConfigPayload.mjs";
25
25
  export * from "./AudioChunkPayload.mjs";
26
26
  export * from "./UpdateSystemPromptPayload.mjs";
27
+ export * from "./AddSystemMessagePayload.mjs";
27
28
  export * from "./SetExternalIdPayload.mjs";
28
29
  export * from "./SetTwilioCallSidPayload.mjs";
29
30
  export * from "./ToolCallOutputPayload.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.30.16";
1
+ export declare const SDK_VERSION = "0.30.18";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.30.16";
1
+ export const SDK_VERSION = "0.30.18";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phonic",
3
- "version": "0.30.17",
3
+ "version": "0.30.18",
4
4
  "private": false,
5
5
  "repository": "github:Phonic-Co/phonic-node",
6
6
  "type": "commonjs",