phonic 0.24.1 → 0.24.2

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/README.md CHANGED
@@ -541,8 +541,14 @@ Sent when the assistant decides to end the conversation.
541
541
  endpoint_url: string | null;
542
542
  endpoint_timeout_ms: number | null;
543
543
  endpoint_called_at: string | null;
544
- request_body: object | null;
545
- response_body: object | null;
544
+ request_body: {
545
+ call_info: {
546
+ from_phone_number: string;
547
+ to_phone_number: string;
548
+ } | null;
549
+ [key: string]: unknown;
550
+ } | null;
551
+ response_body: Record<string, unknown> | null;
546
552
  response_status_code: number | null;
547
553
  timed_out: boolean | null;
548
554
  error_message: string | null;
package/dist/index.d.mts CHANGED
@@ -97,8 +97,14 @@ type PhonicSTSWebSocketResponseMessage = {
97
97
  endpoint_url: string | null;
98
98
  endpoint_timeout_ms: number | null;
99
99
  endpoint_called_at: string | null;
100
- request_body: object | null;
101
- response_body: object | null;
100
+ request_body: {
101
+ call_info: {
102
+ from_phone_number: string;
103
+ to_phone_number: string;
104
+ } | null;
105
+ [key: string]: unknown;
106
+ } | null;
107
+ response_body: Record<string, unknown> | null;
102
108
  response_status_code: number | null;
103
109
  timed_out: boolean | null;
104
110
  error_message: string | null;
package/dist/index.d.ts CHANGED
@@ -97,8 +97,14 @@ type PhonicSTSWebSocketResponseMessage = {
97
97
  endpoint_url: string | null;
98
98
  endpoint_timeout_ms: number | null;
99
99
  endpoint_called_at: string | null;
100
- request_body: object | null;
101
- response_body: object | null;
100
+ request_body: {
101
+ call_info: {
102
+ from_phone_number: string;
103
+ to_phone_number: string;
104
+ } | null;
105
+ [key: string]: unknown;
106
+ } | null;
107
+ response_body: Record<string, unknown> | null;
102
108
  response_status_code: number | null;
103
109
  timed_out: boolean | null;
104
110
  error_message: string | null;
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ __export(index_exports, {
35
35
  module.exports = __toCommonJS(index_exports);
36
36
 
37
37
  // package.json
38
- var version = "0.24.1";
38
+ var version = "0.24.2";
39
39
 
40
40
  // src/agents/index.ts
41
41
  var Agents = class {
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.24.1";
2
+ var version = "0.24.2";
3
3
 
4
4
  // src/agents/index.ts
5
5
  var Agents = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phonic",
3
- "version": "0.24.1",
3
+ "version": "0.24.2",
4
4
  "description": "Phonic Node.js SDK",
5
5
  "scripts": {
6
6
  "build": "tsup",