@getlatedev/node 0.2.1764 → 0.2.1765
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +4 -0
package/dist/index.d.mts
CHANGED
|
@@ -56776,6 +56776,10 @@ type TransferVoiceCallData = {
|
|
|
56776
56776
|
* +E164 phone number (tel: prefix optional) or a sip: URI. wss:// is not a valid transfer target.
|
|
56777
56777
|
*/
|
|
56778
56778
|
to: string;
|
|
56779
|
+
/**
|
|
56780
|
+
* Caller ID shown on the transfer leg. `business` is your own number. `caller` is the original caller's number, for inbound calls only. The carrier may refuse `caller` on some routes: you get a 422, then retry with `business`.
|
|
56781
|
+
*/
|
|
56782
|
+
callerId?: 'business' | 'caller';
|
|
56779
56783
|
};
|
|
56780
56784
|
path: {
|
|
56781
56785
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -56776,6 +56776,10 @@ type TransferVoiceCallData = {
|
|
|
56776
56776
|
* +E164 phone number (tel: prefix optional) or a sip: URI. wss:// is not a valid transfer target.
|
|
56777
56777
|
*/
|
|
56778
56778
|
to: string;
|
|
56779
|
+
/**
|
|
56780
|
+
* Caller ID shown on the transfer leg. `business` is your own number. `caller` is the original caller's number, for inbound calls only. The carrier may refuse `caller` on some routes: you get a 422, then retry with `business`.
|
|
56781
|
+
*/
|
|
56782
|
+
callerId?: 'business' | 'caller';
|
|
56779
56783
|
};
|
|
56780
56784
|
path: {
|
|
56781
56785
|
id: string;
|
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: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1765",
|
|
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: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1765",
|
|
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
|
@@ -10308,7 +10308,7 @@ export const getVoiceCallRecording = <ThrowOnError extends boolean = false>(opti
|
|
|
10308
10308
|
* Blind-transfer a live call
|
|
10309
10309
|
* Moves the call's current leg to a new destination (a phone number or a SIP endpoint).
|
|
10310
10310
|
*
|
|
10311
|
-
* This is a BLIND transfer: control of the leg is handed off and the call ends normally when the transferred leg hangs up. The caller ID presented on the transfer leg is
|
|
10311
|
+
* This is a BLIND transfer: control of the leg is handed off and the call ends normally when the transferred leg hangs up. The caller ID presented on the transfer leg is your own number unless you pass `callerId: "caller"` on an inbound call, which presents the original caller's number.
|
|
10312
10312
|
*
|
|
10313
10313
|
*/
|
|
10314
10314
|
export const transferVoiceCall = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<TransferVoiceCallData, ThrowOnError>) => {
|
|
@@ -57149,6 +57149,10 @@ export type TransferVoiceCallData = {
|
|
|
57149
57149
|
* +E164 phone number (tel: prefix optional) or a sip: URI. wss:// is not a valid transfer target.
|
|
57150
57150
|
*/
|
|
57151
57151
|
to: string;
|
|
57152
|
+
/**
|
|
57153
|
+
* Caller ID shown on the transfer leg. `business` is your own number. `caller` is the original caller's number, for inbound calls only. The carrier may refuse `caller` on some routes: you get a 422, then retry with `business`.
|
|
57154
|
+
*/
|
|
57155
|
+
callerId?: 'business' | 'caller';
|
|
57152
57156
|
};
|
|
57153
57157
|
path: {
|
|
57154
57158
|
id: string;
|