@getlatedev/node 0.2.328 → 0.2.330
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/README.md +3 -3
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -3
- package/src/generated/types.gen.ts +2 -2
package/README.md
CHANGED
|
@@ -282,7 +282,7 @@ try {
|
|
|
282
282
|
### Usage
|
|
283
283
|
| Method | Description |
|
|
284
284
|
|--------|-------------|
|
|
285
|
-
| `usage.getCallsUsage()` | Calling usage
|
|
285
|
+
| `usage.getCallsUsage()` | Calling usage and cost |
|
|
286
286
|
| `usage.getSmsUsage()` | SMS usage (volumes) |
|
|
287
287
|
| `usage.getUsage()` | Get plan and usage snapshot |
|
|
288
288
|
| `usage.getUsageStats()` | Get plan and usage stats |
|
|
@@ -439,7 +439,7 @@ try {
|
|
|
439
439
|
|--------|-------------|
|
|
440
440
|
| `calls.listCalls()` | List all calls (unified history) |
|
|
441
441
|
| `calls.getCall()` | Get a call (any channel) |
|
|
442
|
-
| `calls.getCallRecording()` | Get a call recording
|
|
442
|
+
| `calls.getCallRecording()` | Get a call recording |
|
|
443
443
|
|
|
444
444
|
### Comment Automations
|
|
445
445
|
| Method | Description |
|
|
@@ -658,7 +658,7 @@ try {
|
|
|
658
658
|
| `sms.disableSmsOnNumber()` | Disable SMS on a number |
|
|
659
659
|
| `sms.enableSmsOnNumber()` | Enable SMS on a number |
|
|
660
660
|
| `sms.lookupSmsNumber()` | Look up carrier + line type |
|
|
661
|
-
| `sms.reuseSmsRegistrationForNumber()` | Add
|
|
661
|
+
| `sms.reuseSmsRegistrationForNumber()` | Add number to SMS registration |
|
|
662
662
|
| `sms.sendSms()` | Send an SMS/MMS |
|
|
663
663
|
| `sms.shareSmsRegistration()` | Create a registration share link |
|
|
664
664
|
| `sms.startSmsRegistration()` | Start a carrier registration |
|
package/dist/index.d.mts
CHANGED
|
@@ -9416,7 +9416,7 @@ type GetConnectUrlData = {
|
|
|
9416
9416
|
*/
|
|
9417
9417
|
profileId: string;
|
|
9418
9418
|
/**
|
|
9419
|
-
* Your custom redirect URL after connection completes. Standard mode appends
|
|
9419
|
+
* Your custom redirect URL after connection completes. Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path. Result params are appended with the URL API, so an existing query string is preserved. Standard mode appends connected={platform}&profileId=X&accountId=Y&username=Z. Headless mode appends OAuth data params for platforms requiring selection (e.g. LinkedIn orgs, Facebook pages). If no selection is needed, the account is created directly and the redirect includes accountId.
|
|
9420
9420
|
*/
|
|
9421
9421
|
redirect_url?: string;
|
|
9422
9422
|
};
|
|
@@ -9553,7 +9553,7 @@ type ConnectAdsData = {
|
|
|
9553
9553
|
*/
|
|
9554
9554
|
profileId: string;
|
|
9555
9555
|
/**
|
|
9556
|
-
* Custom redirect URL after OAuth completes (same-token platforms only)
|
|
9556
|
+
* Custom redirect URL after OAuth completes (same-token platforms only). Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path.
|
|
9557
9557
|
*/
|
|
9558
9558
|
redirect_url?: string;
|
|
9559
9559
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -9416,7 +9416,7 @@ type GetConnectUrlData = {
|
|
|
9416
9416
|
*/
|
|
9417
9417
|
profileId: string;
|
|
9418
9418
|
/**
|
|
9419
|
-
* Your custom redirect URL after connection completes. Standard mode appends
|
|
9419
|
+
* Your custom redirect URL after connection completes. Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path. Result params are appended with the URL API, so an existing query string is preserved. Standard mode appends connected={platform}&profileId=X&accountId=Y&username=Z. Headless mode appends OAuth data params for platforms requiring selection (e.g. LinkedIn orgs, Facebook pages). If no selection is needed, the account is created directly and the redirect includes accountId.
|
|
9420
9420
|
*/
|
|
9421
9421
|
redirect_url?: string;
|
|
9422
9422
|
};
|
|
@@ -9553,7 +9553,7 @@ type ConnectAdsData = {
|
|
|
9553
9553
|
*/
|
|
9554
9554
|
profileId: string;
|
|
9555
9555
|
/**
|
|
9556
|
-
* Custom redirect URL after OAuth completes (same-token platforms only)
|
|
9556
|
+
* Custom redirect URL after OAuth completes (same-token platforms only). Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path.
|
|
9557
9557
|
*/
|
|
9558
9558
|
redirect_url?: string;
|
|
9559
9559
|
};
|
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.330",
|
|
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.330",
|
|
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
|
@@ -680,7 +680,7 @@ export const getUsageStats = <ThrowOnError extends boolean = false>(options?: Op
|
|
|
680
680
|
};
|
|
681
681
|
|
|
682
682
|
/**
|
|
683
|
-
* Calling usage
|
|
683
|
+
* Calling usage and cost
|
|
684
684
|
* Aggregated calling usage across your numbers, both channels
|
|
685
685
|
* (WhatsApp Business Calling + regular phone/PSTN): call counts,
|
|
686
686
|
* answered counts, minutes, and cost. Use it for cost visibility or to
|
|
@@ -3618,7 +3618,7 @@ export const getCall = <ThrowOnError extends boolean = false>(options: OptionsLe
|
|
|
3618
3618
|
};
|
|
3619
3619
|
|
|
3620
3620
|
/**
|
|
3621
|
-
* Get a call recording
|
|
3621
|
+
* Get a call recording
|
|
3622
3622
|
* Channel-agnostic recording fetch: resolves a fresh, playable MP3 URL
|
|
3623
3623
|
* for any call regardless of channel (provider-signed URLs expire ~10
|
|
3624
3624
|
* minutes after signing, so this re-signs on demand). Default responds
|
|
@@ -4889,7 +4889,7 @@ export const disableSmsOnNumber = <ThrowOnError extends boolean = false>(options
|
|
|
4889
4889
|
};
|
|
4890
4890
|
|
|
4891
4891
|
/**
|
|
4892
|
-
* Add
|
|
4892
|
+
* Add number to SMS registration
|
|
4893
4893
|
* Attaches this number to your existing approved 10DLC campaign instead
|
|
4894
4894
|
* of running a fresh registration: the number inherits the campaign's
|
|
4895
4895
|
* approval (no new brand or campaign, no extra carrier fee). Enable SMS
|
|
@@ -9014,7 +9014,7 @@ export type GetConnectUrlData = {
|
|
|
9014
9014
|
*/
|
|
9015
9015
|
profileId: string;
|
|
9016
9016
|
/**
|
|
9017
|
-
* Your custom redirect URL after connection completes. Standard mode appends
|
|
9017
|
+
* Your custom redirect URL after connection completes. Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path. Result params are appended with the URL API, so an existing query string is preserved. Standard mode appends connected={platform}&profileId=X&accountId=Y&username=Z. Headless mode appends OAuth data params for platforms requiring selection (e.g. LinkedIn orgs, Facebook pages). If no selection is needed, the account is created directly and the redirect includes accountId.
|
|
9018
9018
|
*/
|
|
9019
9019
|
redirect_url?: string;
|
|
9020
9020
|
};
|
|
@@ -9157,7 +9157,7 @@ export type ConnectAdsData = {
|
|
|
9157
9157
|
*/
|
|
9158
9158
|
profileId: string;
|
|
9159
9159
|
/**
|
|
9160
|
-
* Custom redirect URL after OAuth completes (same-token platforms only)
|
|
9160
|
+
* Custom redirect URL after OAuth completes (same-token platforms only). Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path.
|
|
9161
9161
|
*/
|
|
9162
9162
|
redirect_url?: string;
|
|
9163
9163
|
};
|