@zernio/node 0.2.703 → 0.2.705
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 +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +12 -1
package/dist/index.d.mts
CHANGED
|
@@ -7712,7 +7712,7 @@ type Webhook = {
|
|
|
7712
7712
|
*/
|
|
7713
7713
|
lastFiredAt?: string;
|
|
7714
7714
|
/**
|
|
7715
|
-
* Consecutive delivery failures (resets on success
|
|
7715
|
+
* Consecutive terminal delivery failures (resets to 0 on any successful delivery). Auto-disable only triggers when the endpoint has had no successful delivery within a 3-day window AND either reaches 20 consecutive terminal failures or has been failing continuously for 3 days; any success within that window keeps the endpoint enabled regardless of the count.
|
|
7716
7716
|
*/
|
|
7717
7717
|
failureCount?: number;
|
|
7718
7718
|
/**
|
|
@@ -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?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -7712,7 +7712,7 @@ type Webhook = {
|
|
|
7712
7712
|
*/
|
|
7713
7713
|
lastFiredAt?: string;
|
|
7714
7714
|
/**
|
|
7715
|
-
* Consecutive delivery failures (resets on success
|
|
7715
|
+
* Consecutive terminal delivery failures (resets to 0 on any successful delivery). Auto-disable only triggers when the endpoint has had no successful delivery within a 3-day window AND either reaches 20 consecutive terminal failures or has been failing continuously for 3 days; any success within that window keeps the endpoint enabled regardless of the count.
|
|
7716
7716
|
*/
|
|
7717
7717
|
failureCount?: number;
|
|
7718
7718
|
/**
|
|
@@ -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?: {
|
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.
|
|
39
|
+
version: "0.2.705",
|
|
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.
|
|
8
|
+
version: "0.2.705",
|
|
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
|
@@ -6615,7 +6615,7 @@ export type Webhook = {
|
|
|
6615
6615
|
*/
|
|
6616
6616
|
lastFiredAt?: string;
|
|
6617
6617
|
/**
|
|
6618
|
-
* Consecutive delivery failures (resets on success
|
|
6618
|
+
* Consecutive terminal delivery failures (resets to 0 on any successful delivery). Auto-disable only triggers when the endpoint has had no successful delivery within a 3-day window AND either reaches 20 consecutive terminal failures or has been failing continuously for 3 days; any success within that window keeps the endpoint enabled regardless of the count.
|
|
6619
6619
|
*/
|
|
6620
6620
|
failureCount?: number;
|
|
6621
6621
|
/**
|
|
@@ -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?: {
|