@getlatedev/node 0.2.1752 → 0.2.1753
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 +3 -2
- package/src/generated/types.gen.ts +4 -0
package/dist/index.d.mts
CHANGED
|
@@ -61574,6 +61574,10 @@ type DeleteSipTrunkData = {
|
|
|
61574
61574
|
};
|
|
61575
61575
|
type DeleteSipTrunkResponse = ({
|
|
61576
61576
|
deleted?: boolean;
|
|
61577
|
+
/**
|
|
61578
|
+
* Numbers (E.164) that were attached to the trunk and are now detached.
|
|
61579
|
+
*/
|
|
61580
|
+
detachedNumbers?: Array<(string)>;
|
|
61577
61581
|
});
|
|
61578
61582
|
type DeleteSipTrunkError = (ErrorResponse | unknown);
|
|
61579
61583
|
type RotateSipTrunkCredentialsData = {
|
package/dist/index.d.ts
CHANGED
|
@@ -61574,6 +61574,10 @@ type DeleteSipTrunkData = {
|
|
|
61574
61574
|
};
|
|
61575
61575
|
type DeleteSipTrunkResponse = ({
|
|
61576
61576
|
deleted?: boolean;
|
|
61577
|
+
/**
|
|
61578
|
+
* Numbers (E.164) that were attached to the trunk and are now detached.
|
|
61579
|
+
*/
|
|
61580
|
+
detachedNumbers?: Array<(string)>;
|
|
61577
61581
|
});
|
|
61578
61582
|
type DeleteSipTrunkError = (ErrorResponse | unknown);
|
|
61579
61583
|
type RotateSipTrunkCredentialsData = {
|
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.1753",
|
|
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.1753",
|
|
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
|
@@ -12859,8 +12859,9 @@ export const getSipTrunk = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
12859
12859
|
|
|
12860
12860
|
/**
|
|
12861
12861
|
* Delete a SIP trunk
|
|
12862
|
-
*
|
|
12863
|
-
*
|
|
12862
|
+
* Detaches every number still attached to the trunk (their inbound calls
|
|
12863
|
+
* go back to Zernio calling), then tears down the trunk and its
|
|
12864
|
+
* carrier-side objects. Its credentials stop working immediately.
|
|
12864
12865
|
*
|
|
12865
12866
|
*/
|
|
12866
12867
|
export const deleteSipTrunk = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeleteSipTrunkData, ThrowOnError>) => {
|
|
@@ -62385,6 +62385,10 @@ export type DeleteSipTrunkData = {
|
|
|
62385
62385
|
|
|
62386
62386
|
export type DeleteSipTrunkResponse = ({
|
|
62387
62387
|
deleted?: boolean;
|
|
62388
|
+
/**
|
|
62389
|
+
* Numbers (E.164) that were attached to the trunk and are now detached.
|
|
62390
|
+
*/
|
|
62391
|
+
detachedNumbers?: Array<(string)>;
|
|
62388
62392
|
});
|
|
62389
62393
|
|
|
62390
62394
|
export type DeleteSipTrunkError = (ErrorResponse | unknown);
|