@zernio/node 0.2.956 → 0.2.957
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 +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +5 -1
- package/src/generated/types.gen.ts +8 -0
package/dist/index.d.mts
CHANGED
|
@@ -28305,6 +28305,10 @@ type TransferVoiceCallError = ({
|
|
|
28305
28305
|
} | unknown);
|
|
28306
28306
|
type GetVoiceCallEstimateData = {
|
|
28307
28307
|
query: {
|
|
28308
|
+
/**
|
|
28309
|
+
* The number the call would dial from, E.164. When it is verified on a Branded Calling identity and `to` is a US number, the estimate includes the per-call Branded Calling surcharge.
|
|
28310
|
+
*/
|
|
28311
|
+
from?: string;
|
|
28308
28312
|
minutes?: number;
|
|
28309
28313
|
recording?: boolean;
|
|
28310
28314
|
/**
|
|
@@ -28325,6 +28329,10 @@ type GetVoiceCallEstimateResponse = ({
|
|
|
28325
28329
|
telnyxCostUSD?: number;
|
|
28326
28330
|
recordingCostUSD?: number;
|
|
28327
28331
|
transcriptionCostUSD?: number;
|
|
28332
|
+
/**
|
|
28333
|
+
* Branded Calling surcharge, 0 unless `from` is a verified branded number calling a US destination.
|
|
28334
|
+
*/
|
|
28335
|
+
brandedCallUSD?: number;
|
|
28328
28336
|
/**
|
|
28329
28337
|
* What Zernio bills for the call.
|
|
28330
28338
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -28305,6 +28305,10 @@ type TransferVoiceCallError = ({
|
|
|
28305
28305
|
} | unknown);
|
|
28306
28306
|
type GetVoiceCallEstimateData = {
|
|
28307
28307
|
query: {
|
|
28308
|
+
/**
|
|
28309
|
+
* The number the call would dial from, E.164. When it is verified on a Branded Calling identity and `to` is a US number, the estimate includes the per-call Branded Calling surcharge.
|
|
28310
|
+
*/
|
|
28311
|
+
from?: string;
|
|
28308
28312
|
minutes?: number;
|
|
28309
28313
|
recording?: boolean;
|
|
28310
28314
|
/**
|
|
@@ -28325,6 +28329,10 @@ type GetVoiceCallEstimateResponse = ({
|
|
|
28325
28329
|
telnyxCostUSD?: number;
|
|
28326
28330
|
recordingCostUSD?: number;
|
|
28327
28331
|
transcriptionCostUSD?: number;
|
|
28332
|
+
/**
|
|
28333
|
+
* Branded Calling surcharge, 0 unless `from` is a verified branded number calling a US destination.
|
|
28334
|
+
*/
|
|
28335
|
+
brandedCallUSD?: number;
|
|
28328
28336
|
/**
|
|
28329
28337
|
* What Zernio bills for the call.
|
|
28330
28338
|
*/
|
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.957",
|
|
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.957",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -5811,7 +5811,11 @@ export const listBrandedCallingCallReasons = <ThrowOnError extends boolean = fal
|
|
|
5811
5811
|
*
|
|
5812
5812
|
* Billing: $100 per identity per month, the first month charged when the
|
|
5813
5813
|
* identity is filed with the carrier and not refunded if the carrier rejects it,
|
|
5814
|
-
* then monthly while the identity exists. Branded calls add $0.10 each
|
|
5814
|
+
* then monthly while the identity exists. Branded calls add $0.10 each, counted
|
|
5815
|
+
* on every outbound call from a verified branded number to a US destination
|
|
5816
|
+
* (whether or not the callee's carrier displayed the branding); the surcharge
|
|
5817
|
+
* shows as `brandedCallUSD` on the call's billing and in
|
|
5818
|
+
* `GET /v1/voice/calls/estimate` when you pass `from`.
|
|
5815
5819
|
*
|
|
5816
5820
|
*/
|
|
5817
5821
|
export const createBrandedCallingIdentity = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateBrandedCallingIdentityData, ThrowOnError>) => {
|
|
@@ -27946,6 +27946,10 @@ export type TransferVoiceCallError = ({
|
|
|
27946
27946
|
|
|
27947
27947
|
export type GetVoiceCallEstimateData = {
|
|
27948
27948
|
query: {
|
|
27949
|
+
/**
|
|
27950
|
+
* The number the call would dial from, E.164. When it is verified on a Branded Calling identity and `to` is a US number, the estimate includes the per-call Branded Calling surcharge.
|
|
27951
|
+
*/
|
|
27952
|
+
from?: string;
|
|
27949
27953
|
minutes?: number;
|
|
27950
27954
|
recording?: boolean;
|
|
27951
27955
|
/**
|
|
@@ -27967,6 +27971,10 @@ export type GetVoiceCallEstimateResponse = ({
|
|
|
27967
27971
|
telnyxCostUSD?: number;
|
|
27968
27972
|
recordingCostUSD?: number;
|
|
27969
27973
|
transcriptionCostUSD?: number;
|
|
27974
|
+
/**
|
|
27975
|
+
* Branded Calling surcharge, 0 unless `from` is a verified branded number calling a US destination.
|
|
27976
|
+
*/
|
|
27977
|
+
brandedCallUSD?: number;
|
|
27970
27978
|
/**
|
|
27971
27979
|
* What Zernio bills for the call.
|
|
27972
27980
|
*/
|