@getlatedev/node
Advanced tools
+1
-29
@@ -1300,14 +1300,2 @@ "use strict"; | ||
| }; | ||
| var searchAvailableWhatsAppNumbers = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/whatsapp/phone-numbers/available" | ||
| }); | ||
| }; | ||
| var getPreverifiedWhatsAppNumbers = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/whatsapp/phone-numbers/preverified" | ||
| }); | ||
| }; | ||
| var purchaseWhatsAppPhoneNumber = (options) => { | ||
@@ -1331,14 +1319,2 @@ return (options?.client ?? client).post({ | ||
| }; | ||
| var requestWhatsAppVerificationCode = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/whatsapp/phone-numbers/{phoneNumberId}/request-code" | ||
| }); | ||
| }; | ||
| var verifyWhatsAppPhoneNumber = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/whatsapp/phone-numbers/{phoneNumberId}/verify" | ||
| }); | ||
| }; | ||
@@ -1769,9 +1745,5 @@ // src/errors.ts | ||
| getWhatsAppPhoneNumbers, | ||
| searchAvailableWhatsAppNumbers, | ||
| getPreverifiedWhatsAppNumbers, | ||
| purchaseWhatsAppPhoneNumber, | ||
| getWhatsAppPhoneNumber, | ||
| releaseWhatsAppPhoneNumber, | ||
| requestWhatsAppVerificationCode, | ||
| verifyWhatsAppPhoneNumber | ||
| releaseWhatsAppPhoneNumber | ||
| }; | ||
@@ -1778,0 +1750,0 @@ const apiKey = options.apiKey ?? process.env["LATE_API_KEY"]; |
+1
-29
@@ -1271,14 +1271,2 @@ var __defProp = Object.defineProperty; | ||
| }; | ||
| var searchAvailableWhatsAppNumbers = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/whatsapp/phone-numbers/available" | ||
| }); | ||
| }; | ||
| var getPreverifiedWhatsAppNumbers = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/whatsapp/phone-numbers/preverified" | ||
| }); | ||
| }; | ||
| var purchaseWhatsAppPhoneNumber = (options) => { | ||
@@ -1302,14 +1290,2 @@ return (options?.client ?? client).post({ | ||
| }; | ||
| var requestWhatsAppVerificationCode = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/whatsapp/phone-numbers/{phoneNumberId}/request-code" | ||
| }); | ||
| }; | ||
| var verifyWhatsAppPhoneNumber = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/whatsapp/phone-numbers/{phoneNumberId}/verify" | ||
| }); | ||
| }; | ||
@@ -1740,9 +1716,5 @@ // src/errors.ts | ||
| getWhatsAppPhoneNumbers, | ||
| searchAvailableWhatsAppNumbers, | ||
| getPreverifiedWhatsAppNumbers, | ||
| purchaseWhatsAppPhoneNumber, | ||
| getWhatsAppPhoneNumber, | ||
| releaseWhatsAppPhoneNumber, | ||
| requestWhatsAppVerificationCode, | ||
| verifyWhatsAppPhoneNumber | ||
| releaseWhatsAppPhoneNumber | ||
| }; | ||
@@ -1749,0 +1721,0 @@ const apiKey = options.apiKey ?? process.env["LATE_API_KEY"]; |
+1
-1
| { | ||
| "name": "@getlatedev/node", | ||
| "version": "0.1.44", | ||
| "version": "0.1.45", | ||
| "description": "The official Node.js library for the Late API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+0
-4
@@ -444,3 +444,2 @@ <p align="center"> | ||
| |--------|-------------| | ||
| | `whatsappPhoneNumbers.getPreverifiedWhatsAppNumbers()` | Get pre-verified numbers | | ||
| | `whatsappPhoneNumbers.getWhatsAppPhoneNumber()` | Get phone number | | ||
@@ -450,5 +449,2 @@ | `whatsappPhoneNumbers.getWhatsAppPhoneNumbers()` | List phone numbers | | ||
| | `whatsappPhoneNumbers.releaseWhatsAppPhoneNumber()` | Release phone number | | ||
| | `whatsappPhoneNumbers.requestWhatsAppVerificationCode()` | Request OTP | | ||
| | `whatsappPhoneNumbers.searchAvailableWhatsAppNumbers()` | Search available numbers | | ||
| | `whatsappPhoneNumbers.verifyWhatsAppPhoneNumber()` | Verify OTP | | ||
@@ -455,0 +451,0 @@ ### Invites |
+0
-8
@@ -81,3 +81,2 @@ import { | ||
| getPostingFrequency, | ||
| getPreverifiedWhatsAppNumbers, | ||
| getProfile, | ||
@@ -137,6 +136,4 @@ getRedditFeed, | ||
| replyToInboxReview, | ||
| requestWhatsAppVerificationCode, | ||
| retryPost, | ||
| scheduleWhatsAppBroadcast, | ||
| searchAvailableWhatsAppNumbers, | ||
| searchReddit, | ||
@@ -181,3 +178,2 @@ selectFacebookPage, | ||
| validateSubreddit, | ||
| verifyWhatsAppPhoneNumber, | ||
| } from './generated/sdk.gen'; | ||
@@ -597,9 +593,5 @@ | ||
| getWhatsAppPhoneNumbers: getWhatsAppPhoneNumbers, | ||
| searchAvailableWhatsAppNumbers: searchAvailableWhatsAppNumbers, | ||
| getPreverifiedWhatsAppNumbers: getPreverifiedWhatsAppNumbers, | ||
| purchaseWhatsAppPhoneNumber: purchaseWhatsAppPhoneNumber, | ||
| getWhatsAppPhoneNumber: getWhatsAppPhoneNumber, | ||
| releaseWhatsAppPhoneNumber: releaseWhatsAppPhoneNumber, | ||
| requestWhatsAppVerificationCode: requestWhatsAppVerificationCode, | ||
| verifyWhatsAppPhoneNumber: verifyWhatsAppPhoneNumber, | ||
| }; | ||
@@ -606,0 +598,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
960497
-1.56%21750
-1.42%468
-0.85%