@zernio/node 0.2.704 → 0.2.706

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/dist/index.d.mts CHANGED
@@ -8202,6 +8202,17 @@ type WebhookPayloadCallEnded = {
8202
8202
  * SIP response code that ended the call when SIP-signalled (e.g. '403', '486', '603'). endReason collapses all three to 'rejected', so this is what separates a refused destination from a busy line. Null on non-SIP legs.
8203
8203
  */
8204
8204
  sipHangupCause?: (string) | null;
8205
+ /**
8206
+ * True when the inbound call was handled by voicemail, whether scheduled or because the forward did not connect.
8207
+ */
8208
+ isVoicemail?: boolean;
8209
+ /**
8210
+ * Failures recorded on the call up to hangup (bridge failed, dial failed, recording error). Empty on a clean call. `message` is free-form diagnostic text and is not stable, do not parse it. `code` is 0 unless a provider code is known. Errors the carrier reports after hangup appear only on GET /v1/calls/{id}.
8211
+ */
8212
+ callErrors?: Array<{
8213
+ code?: number;
8214
+ message?: string;
8215
+ }>;
8205
8216
  recordingUrl?: string;
8206
8217
  recordingExpiresAt?: string;
8207
8218
  billing?: {
@@ -15191,6 +15202,7 @@ type UpdateGoogleBusinessLocationDetailsData = {
15191
15202
  nanos?: number;
15192
15203
  };
15193
15204
  }>;
15205
+ [key: string]: unknown | string;
15194
15206
  };
15195
15207
  path: {
15196
15208
  /**
package/dist/index.d.ts CHANGED
@@ -8202,6 +8202,17 @@ type WebhookPayloadCallEnded = {
8202
8202
  * SIP response code that ended the call when SIP-signalled (e.g. '403', '486', '603'). endReason collapses all three to 'rejected', so this is what separates a refused destination from a busy line. Null on non-SIP legs.
8203
8203
  */
8204
8204
  sipHangupCause?: (string) | null;
8205
+ /**
8206
+ * True when the inbound call was handled by voicemail, whether scheduled or because the forward did not connect.
8207
+ */
8208
+ isVoicemail?: boolean;
8209
+ /**
8210
+ * Failures recorded on the call up to hangup (bridge failed, dial failed, recording error). Empty on a clean call. `message` is free-form diagnostic text and is not stable, do not parse it. `code` is 0 unless a provider code is known. Errors the carrier reports after hangup appear only on GET /v1/calls/{id}.
8211
+ */
8212
+ callErrors?: Array<{
8213
+ code?: number;
8214
+ message?: string;
8215
+ }>;
8205
8216
  recordingUrl?: string;
8206
8217
  recordingExpiresAt?: string;
8207
8218
  billing?: {
@@ -15191,6 +15202,7 @@ type UpdateGoogleBusinessLocationDetailsData = {
15191
15202
  nanos?: number;
15192
15203
  };
15193
15204
  }>;
15205
+ [key: string]: unknown | string;
15194
15206
  };
15195
15207
  path: {
15196
15208
  /**
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.704",
39
+ version: "0.2.706",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.704",
8
+ version: "0.2.706",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.704",
3
+ "version": "0.2.706",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -7122,6 +7122,17 @@ export type WebhookPayloadCallEnded = {
7122
7122
  * SIP response code that ended the call when SIP-signalled (e.g. '403', '486', '603'). endReason collapses all three to 'rejected', so this is what separates a refused destination from a busy line. Null on non-SIP legs.
7123
7123
  */
7124
7124
  sipHangupCause?: (string) | null;
7125
+ /**
7126
+ * True when the inbound call was handled by voicemail, whether scheduled or because the forward did not connect.
7127
+ */
7128
+ isVoicemail?: boolean;
7129
+ /**
7130
+ * Failures recorded on the call up to hangup (bridge failed, dial failed, recording error). Empty on a clean call. `message` is free-form diagnostic text and is not stable, do not parse it. `code` is 0 unless a provider code is known. Errors the carrier reports after hangup appear only on GET /v1/calls/{id}.
7131
+ */
7132
+ callErrors?: Array<{
7133
+ code?: number;
7134
+ message?: string;
7135
+ }>;
7125
7136
  recordingUrl?: string;
7126
7137
  recordingExpiresAt?: string;
7127
7138
  billing?: {
@@ -14510,6 +14521,7 @@ export type UpdateGoogleBusinessLocationDetailsData = {
14510
14521
  nanos?: number;
14511
14522
  };
14512
14523
  }>;
14524
+ [key: string]: unknown | string;
14513
14525
  };
14514
14526
  path: {
14515
14527
  /**