@getlatedev/node 0.2.312 → 0.2.313
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 +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -2
- package/src/generated/types.gen.ts +6 -4
package/dist/index.d.mts
CHANGED
|
@@ -15587,10 +15587,6 @@ type CreateVoiceCallData = {
|
|
|
15587
15587
|
* 'auto' derives from the callee's country; 'en'/'es' force it.
|
|
15588
15588
|
*/
|
|
15589
15589
|
transcriptionLanguage?: 'auto' | 'en' | 'es';
|
|
15590
|
-
/**
|
|
15591
|
-
* A retry with the same key returns the original call instead of dialing again.
|
|
15592
|
-
*/
|
|
15593
|
-
idempotencyKey?: string;
|
|
15594
15590
|
/**
|
|
15595
15591
|
* Answering-machine detection; defers the bridge until human vs machine is known.
|
|
15596
15592
|
*/
|
|
@@ -17986,6 +17982,9 @@ type DisableVoiceOnNumberData = {
|
|
|
17986
17982
|
};
|
|
17987
17983
|
};
|
|
17988
17984
|
type DisableVoiceOnNumberResponse = ({
|
|
17985
|
+
/**
|
|
17986
|
+
* Always false after a successful disable.
|
|
17987
|
+
*/
|
|
17989
17988
|
enabled?: boolean;
|
|
17990
17989
|
phoneNumber?: string;
|
|
17991
17990
|
});
|
|
@@ -18052,6 +18051,9 @@ type DisableSmsOnNumberData = {
|
|
|
18052
18051
|
};
|
|
18053
18052
|
};
|
|
18054
18053
|
type DisableSmsOnNumberResponse = ({
|
|
18054
|
+
/**
|
|
18055
|
+
* Always false after a successful disable.
|
|
18056
|
+
*/
|
|
18055
18057
|
enabled?: boolean;
|
|
18056
18058
|
phoneNumber?: string;
|
|
18057
18059
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -15587,10 +15587,6 @@ type CreateVoiceCallData = {
|
|
|
15587
15587
|
* 'auto' derives from the callee's country; 'en'/'es' force it.
|
|
15588
15588
|
*/
|
|
15589
15589
|
transcriptionLanguage?: 'auto' | 'en' | 'es';
|
|
15590
|
-
/**
|
|
15591
|
-
* A retry with the same key returns the original call instead of dialing again.
|
|
15592
|
-
*/
|
|
15593
|
-
idempotencyKey?: string;
|
|
15594
15590
|
/**
|
|
15595
15591
|
* Answering-machine detection; defers the bridge until human vs machine is known.
|
|
15596
15592
|
*/
|
|
@@ -17986,6 +17982,9 @@ type DisableVoiceOnNumberData = {
|
|
|
17986
17982
|
};
|
|
17987
17983
|
};
|
|
17988
17984
|
type DisableVoiceOnNumberResponse = ({
|
|
17985
|
+
/**
|
|
17986
|
+
* Always false after a successful disable.
|
|
17987
|
+
*/
|
|
17989
17988
|
enabled?: boolean;
|
|
17990
17989
|
phoneNumber?: string;
|
|
17991
17990
|
});
|
|
@@ -18052,6 +18051,9 @@ type DisableSmsOnNumberData = {
|
|
|
18052
18051
|
};
|
|
18053
18052
|
};
|
|
18054
18053
|
type DisableSmsOnNumberResponse = ({
|
|
18054
|
+
/**
|
|
18055
|
+
* Always false after a successful disable.
|
|
18056
|
+
*/
|
|
18055
18057
|
enabled?: boolean;
|
|
18056
18058
|
phoneNumber?: string;
|
|
18057
18059
|
/**
|
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.313",
|
|
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.313",
|
|
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
|
@@ -3357,8 +3357,7 @@ export const getCallRecording = <ThrowOnError extends boolean = false>(options:
|
|
|
3357
3357
|
*
|
|
3358
3358
|
* **Idempotency:** send an `Idempotency-Key` header to make retries safe;
|
|
3359
3359
|
* same key + same body replays the original response instead of dialing
|
|
3360
|
-
* (and billing) a second call.
|
|
3361
|
-
* the header and keeps working; prefer the header.
|
|
3360
|
+
* (and billing) a second call.
|
|
3362
3361
|
*
|
|
3363
3362
|
*/
|
|
3364
3363
|
export const createVoiceCall = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateVoiceCallData, ThrowOnError>) => {
|
|
@@ -15659,10 +15659,6 @@ export type CreateVoiceCallData = {
|
|
|
15659
15659
|
* 'auto' derives from the callee's country; 'en'/'es' force it.
|
|
15660
15660
|
*/
|
|
15661
15661
|
transcriptionLanguage?: 'auto' | 'en' | 'es';
|
|
15662
|
-
/**
|
|
15663
|
-
* A retry with the same key returns the original call instead of dialing again.
|
|
15664
|
-
*/
|
|
15665
|
-
idempotencyKey?: string;
|
|
15666
15662
|
/**
|
|
15667
15663
|
* Answering-machine detection; defers the bridge until human vs machine is known.
|
|
15668
15664
|
*/
|
|
@@ -18258,6 +18254,9 @@ export type DisableVoiceOnNumberData = {
|
|
|
18258
18254
|
};
|
|
18259
18255
|
|
|
18260
18256
|
export type DisableVoiceOnNumberResponse = ({
|
|
18257
|
+
/**
|
|
18258
|
+
* Always false after a successful disable.
|
|
18259
|
+
*/
|
|
18261
18260
|
enabled?: boolean;
|
|
18262
18261
|
phoneNumber?: string;
|
|
18263
18262
|
});
|
|
@@ -18330,6 +18329,9 @@ export type DisableSmsOnNumberData = {
|
|
|
18330
18329
|
};
|
|
18331
18330
|
|
|
18332
18331
|
export type DisableSmsOnNumberResponse = ({
|
|
18332
|
+
/**
|
|
18333
|
+
* Always false after a successful disable.
|
|
18334
|
+
*/
|
|
18333
18335
|
enabled?: boolean;
|
|
18334
18336
|
phoneNumber?: string;
|
|
18335
18337
|
/**
|