@getlatedev/node
Advanced tools
+1
-1
| { | ||
| "name": "@getlatedev/node", | ||
| "version": "0.2.310", | ||
| "version": "0.2.311", | ||
| "description": "The official Node.js library for the Zernio API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+70
-0
@@ -284,2 +284,5 @@ <p align="center"> | ||
| |--------|-------------| | ||
| | `usage.getCallsUsage()` | Calling usage (volumes + billable cost) | | ||
| | `usage.getSmsUsage()` | SMS usage (volumes) | | ||
| | `usage.getUsage()` | Get plan and usage snapshot | | ||
| | `usage.getUsageStats()` | Get plan and usage stats | | ||
@@ -430,2 +433,9 @@ | `usage.getXApiPricing()` | Get X/Twitter API pricing table | | ||
| ### Calls | ||
| | Method | Description | | ||
| |--------|-------------| | ||
| | `calls.listCalls()` | List all calls (unified history) | | ||
| | `calls.getCall()` | Get a call (any channel) | | ||
| | `calls.getCallRecording()` | Get a call recording (any channel) | | ||
| ### Comment Automations | ||
@@ -582,2 +592,26 @@ | Method | Description | | ||
| ### Phone Numbers | ||
| | Method | Description | | ||
| |--------|-------------| | ||
| | `phoneNumbers.listPhoneNumberCountries()` | List offerable number countries | | ||
| | `phoneNumbers.listPhoneNumberPortIns()` | List port-in orders | | ||
| | `phoneNumbers.listPhoneNumbers()` | List phone numbers | | ||
| | `phoneNumbers.createPhoneNumberKycLink()` | Create a hosted KYC link | | ||
| | `phoneNumbers.createPhoneNumberPortIn()` | Port numbers in | | ||
| | `phoneNumbers.getPhoneNumber()` | Get phone number | | ||
| | `phoneNumbers.getPhoneNumberKycForm()` | Get KYC form spec | | ||
| | `phoneNumbers.getPhoneNumberRemediation()` | Get declined requirements | | ||
| | `phoneNumbers.cancelPhoneNumberPortIn()` | Cancel a port-in | | ||
| | `phoneNumbers.checkPhoneNumberAvailability()` | Check country availability | | ||
| | `phoneNumbers.checkPhoneNumberPortability()` | Check portability | | ||
| | `phoneNumbers.purchasePhoneNumber()` | Purchase phone number | | ||
| | `phoneNumbers.releasePhoneNumber()` | Release phone number | | ||
| | `phoneNumbers.remediatePhoneNumber()` | Resubmit a declined number | | ||
| | `phoneNumbers.reviewPhoneNumberKycPacket()` | Pre-review a KYC packet | | ||
| | `phoneNumbers.searchAvailablePhoneNumbers()` | Search available numbers | | ||
| | `phoneNumbers.submitPhoneNumberKyc()` | Submit KYC | | ||
| | `phoneNumbers.uploadPhoneNumberKycDocument()` | Upload a KYC document | | ||
| | `phoneNumbers.uploadPhoneNumberPortInDocument()` | Upload a porting document | | ||
| | `phoneNumbers.validatePhoneNumberKycAddress()` | Pre-validate KYC address | | ||
| ### Reviews (Inbox) | ||
@@ -604,2 +638,18 @@ | Method | Description | | ||
| ### SMS | ||
| | Method | Description | | ||
| |--------|-------------| | ||
| | `sms.listSmsOptOuts()` | List SMS opt-outs | | ||
| | `sms.listSmsRegistrations()` | List carrier registrations | | ||
| | `sms.getSmsRegistration()` | Get a carrier registration | | ||
| | `sms.appealSmsRegistration()` | Appeal a rejected campaign | | ||
| | `sms.disableSmsOnNumber()` | Disable SMS on a number | | ||
| | `sms.enableSmsOnNumber()` | Enable SMS on a number | | ||
| | `sms.lookupSmsNumber()` | Look up carrier + line type | | ||
| | `sms.reuseSmsRegistrationForNumber()` | Add a number to an existing registration | | ||
| | `sms.sendSms()` | Send an SMS/MMS | | ||
| | `sms.shareSmsRegistration()` | Create a registration share link | | ||
| | `sms.startSmsRegistration()` | Start a carrier registration | | ||
| | `sms.verifySmsRegistrationOtp()` | Submit the sole-prop OTP | | ||
| ### Tracking Tags | ||
@@ -635,2 +685,17 @@ | Method | Description | | ||
| ### Voice | ||
| | Method | Description | | ||
| |--------|-------------| | ||
| | `voice.listVoiceCalls()` | List phone calls | | ||
| | `voice.createVoiceCall()` | Place an outbound phone call | | ||
| | `voice.createVoiceWebSession()` | Mint a browser softphone session | | ||
| | `voice.getVoiceCall()` | Get a phone call | | ||
| | `voice.getVoiceCallEstimate()` | Estimate call cost | | ||
| | `voice.getVoiceCallRecording()` | Get a call recording | | ||
| | `voice.dialVoiceWebCall()` | Dial from the browser softphone | | ||
| | `voice.disableVoiceOnNumber()` | Disable phone calling on a number | | ||
| | `voice.enableVoiceOnNumber()` | Enable phone calling on a number | | ||
| | `voice.endVoiceCall()` | Hang up a live call | | ||
| | `voice.transferVoiceCall()` | Blind-transfer a live call | | ||
@@ -679,7 +744,12 @@ | Method | Description | | ||
| | `whatsappCalling.getWhatsAppCallEstimate()` | Estimate per-minute cost | | ||
| | `whatsappCalling.getWhatsAppCalling()` | Get calling config for a number | | ||
| | `whatsappCalling.getWhatsAppCallingConfig()` | Get calling config for an account | | ||
| | `whatsappCalling.getWhatsAppCallPermissions()` | Check call permission | | ||
| | `whatsappCalling.getWhatsAppCallRecording()` | Get a call recording | | ||
| | `whatsappCalling.updateWhatsAppCalling()` | Update calling config | | ||
| | `whatsappCalling.updateWhatsAppCallingLegacy()` | Update calling config | | ||
| | `whatsappCalling.disableWhatsAppCalling()` | Disable calling on a number | | ||
| | `whatsappCalling.disableWhatsAppCallingLegacy()` | Disable calling on a number | | ||
| | `whatsappCalling.enableWhatsAppCalling()` | Enable calling on a number | | ||
| | `whatsappCalling.enableWhatsAppCallingLegacy()` | Enable calling on a number | | ||
| | `whatsappCalling.initiateWhatsAppCall()` | Initiate outbound call | | ||
@@ -686,0 +756,0 @@ |
+135
-3
@@ -14,2 +14,3 @@ import packageJson from '../package.json'; | ||
| adjustConversions, | ||
| appealSmsRegistration, | ||
| approveWhatsAppGroupJoinRequests, | ||
@@ -25,2 +26,5 @@ archiveLeadForm, | ||
| cancelBroadcast, | ||
| cancelPhoneNumberPortIn, | ||
| checkPhoneNumberAvailability, | ||
| checkPhoneNumberPortability, | ||
| checkWhatsAppNumberAvailability, | ||
@@ -50,2 +54,4 @@ clearContactFieldValue, | ||
| createLeadForm, | ||
| createPhoneNumberKycLink, | ||
| createPhoneNumberPortIn, | ||
| createPost, | ||
@@ -58,2 +64,4 @@ createProfile, | ||
| createTrackingTag, | ||
| createVoiceCall, | ||
| createVoiceWebSession, | ||
| createWebhookSettings, | ||
@@ -101,3 +109,7 @@ createWhatsAppDataset, | ||
| deprecateWhatsAppFlow, | ||
| dialVoiceWebCall, | ||
| disableSmsOnNumber, | ||
| disableVoiceOnNumber, | ||
| disableWhatsAppCalling, | ||
| disableWhatsAppCallingLegacy, | ||
| duplicateAdCampaign, | ||
@@ -107,3 +119,7 @@ duplicateWorkflow, | ||
| editPost, | ||
| enableSmsOnNumber, | ||
| enableVoiceOnNumber, | ||
| enableWhatsAppCalling, | ||
| enableWhatsAppCallingLegacy, | ||
| endVoiceCall, | ||
| enrollContacts, | ||
@@ -125,2 +141,5 @@ estimateAdReach, | ||
| getBroadcast, | ||
| getCall, | ||
| getCallRecording, | ||
| getCallsUsage, | ||
| getCampaignAnalytics, | ||
@@ -177,2 +196,5 @@ getCommentAutomation, | ||
| getPendingOAuthData, | ||
| getPhoneNumber, | ||
| getPhoneNumberKycForm, | ||
| getPhoneNumberRemediation, | ||
| getPinterestBoards, | ||
@@ -187,2 +209,4 @@ getPost, | ||
| getSequence, | ||
| getSmsRegistration, | ||
| getSmsUsage, | ||
| getTelegramCommands, | ||
@@ -194,4 +218,8 @@ getTelegramConnectStatus, | ||
| getTrackingTagStats, | ||
| getUsage, | ||
| getUsageStats, | ||
| getUser, | ||
| getVoiceCall, | ||
| getVoiceCallEstimate, | ||
| getVoiceCallRecording, | ||
| getWebhookLogs, | ||
@@ -205,2 +233,4 @@ getWebhookSettings, | ||
| getWhatsAppCallPermissions, | ||
| getWhatsAppCallRecording, | ||
| getWhatsAppCalling, | ||
| getWhatsAppCallingConfig, | ||
@@ -248,2 +278,3 @@ getWhatsAppDataset, | ||
| listBroadcasts, | ||
| listCalls, | ||
| listCommentAutomationLogs, | ||
@@ -274,2 +305,5 @@ listCommentAutomations, | ||
| listLogs, | ||
| listPhoneNumberCountries, | ||
| listPhoneNumberPortIns, | ||
| listPhoneNumbers, | ||
| listPinterestBoardsForSelection, | ||
@@ -281,2 +315,4 @@ listPosts, | ||
| listSequences, | ||
| listSmsOptOuts, | ||
| listSmsRegistrations, | ||
| listSnapchatProfiles, | ||
@@ -286,2 +322,3 @@ listTrackingTagSharedAccounts, | ||
| listUsers, | ||
| listVoiceCalls, | ||
| listWhatsAppCalls, | ||
@@ -301,2 +338,3 @@ listWhatsAppConversions, | ||
| listWorkflows, | ||
| lookupSmsNumber, | ||
| markConversationRead, | ||
@@ -309,5 +347,8 @@ moveAccountToProfile, | ||
| publishWhatsAppFlow, | ||
| purchasePhoneNumber, | ||
| purchaseWhatsAppPhoneNumber, | ||
| rejectWhatsAppGroupJoinRequests, | ||
| releasePhoneNumber, | ||
| releaseWhatsAppPhoneNumber, | ||
| remediatePhoneNumber, | ||
| remediateWhatsAppNumber, | ||
@@ -326,5 +367,8 @@ removeBookmark, | ||
| retweetPost, | ||
| reuseSmsRegistrationForNumber, | ||
| reviewPhoneNumberKycPacket, | ||
| scheduleBroadcast, | ||
| searchAdInterests, | ||
| searchAdTargeting, | ||
| searchAvailablePhoneNumbers, | ||
| searchAvailableWhatsAppNumbers, | ||
@@ -342,2 +386,3 @@ searchReddit, | ||
| sendPrivateReplyToComment, | ||
| sendSms, | ||
| sendTypingIndicator, | ||
@@ -351,6 +396,10 @@ sendWhatsAppConversion, | ||
| setWhatsappBusinessUsername, | ||
| shareSmsRegistration, | ||
| startGoogleBusinessVerification, | ||
| startSmsRegistration, | ||
| submitPhoneNumberKyc, | ||
| submitWhatsAppNumberKyc, | ||
| syncExternalPosts, | ||
| testWebhook, | ||
| transferVoiceCall, | ||
| triggerWorkflow, | ||
@@ -400,2 +449,3 @@ unblockWhatsAppUsers, | ||
| updateWhatsAppCalling, | ||
| updateWhatsAppCallingLegacy, | ||
| updateWhatsAppDisplayName, | ||
@@ -408,2 +458,4 @@ updateWhatsAppFlow, | ||
| uploadMediaDirect, | ||
| uploadPhoneNumberKycDocument, | ||
| uploadPhoneNumberPortInDocument, | ||
| uploadWhatsAppFlowJson, | ||
@@ -413,2 +465,3 @@ uploadWhatsAppNumberKycDocument, | ||
| validateMedia, | ||
| validatePhoneNumberKycAddress, | ||
| validatePost, | ||
@@ -418,2 +471,3 @@ validatePostLength, | ||
| validateWhatsAppNumberKycAddress, | ||
| verifySmsRegistrationOtp, | ||
| } from './generated/sdk.gen'; | ||
@@ -564,3 +618,6 @@ | ||
| getXApiPricing: getXApiPricing, | ||
| getUsage: getUsage, | ||
| getUsageStats: getUsageStats, | ||
| getCallsUsage: getCallsUsage, | ||
| getSmsUsage: getSmsUsage, | ||
| }; | ||
@@ -937,5 +994,5 @@ | ||
| getWhatsAppCallingConfig: getWhatsAppCallingConfig, | ||
| enableWhatsAppCalling: enableWhatsAppCalling, | ||
| updateWhatsAppCalling: updateWhatsAppCalling, | ||
| disableWhatsAppCalling: disableWhatsAppCalling, | ||
| enableWhatsAppCallingLegacy: enableWhatsAppCallingLegacy, | ||
| updateWhatsAppCallingLegacy: updateWhatsAppCallingLegacy, | ||
| disableWhatsAppCallingLegacy: disableWhatsAppCallingLegacy, | ||
| getWhatsAppCallPermissions: getWhatsAppCallPermissions, | ||
@@ -945,6 +1002,55 @@ initiateWhatsAppCall: initiateWhatsAppCall, | ||
| getWhatsAppCall: getWhatsAppCall, | ||
| getWhatsAppCallRecording: getWhatsAppCallRecording, | ||
| getWhatsAppCallEstimate: getWhatsAppCallEstimate, | ||
| getWhatsAppCalling: getWhatsAppCalling, | ||
| enableWhatsAppCalling: enableWhatsAppCalling, | ||
| updateWhatsAppCalling: updateWhatsAppCalling, | ||
| disableWhatsAppCalling: disableWhatsAppCalling, | ||
| }; | ||
| /** | ||
| * calls API | ||
| */ | ||
| calls = { | ||
| listCalls: listCalls, | ||
| getCall: getCall, | ||
| getCallRecording: getCallRecording, | ||
| }; | ||
| /** | ||
| * voice API | ||
| */ | ||
| voice = { | ||
| createVoiceCall: createVoiceCall, | ||
| listVoiceCalls: listVoiceCalls, | ||
| getVoiceCall: getVoiceCall, | ||
| endVoiceCall: endVoiceCall, | ||
| getVoiceCallRecording: getVoiceCallRecording, | ||
| transferVoiceCall: transferVoiceCall, | ||
| getVoiceCallEstimate: getVoiceCallEstimate, | ||
| createVoiceWebSession: createVoiceWebSession, | ||
| dialVoiceWebCall: dialVoiceWebCall, | ||
| enableVoiceOnNumber: enableVoiceOnNumber, | ||
| disableVoiceOnNumber: disableVoiceOnNumber, | ||
| }; | ||
| /** | ||
| * sms API | ||
| */ | ||
| sms = { | ||
| sendSms: sendSms, | ||
| lookupSmsNumber: lookupSmsNumber, | ||
| listSmsOptOuts: listSmsOptOuts, | ||
| startSmsRegistration: startSmsRegistration, | ||
| listSmsRegistrations: listSmsRegistrations, | ||
| getSmsRegistration: getSmsRegistration, | ||
| verifySmsRegistrationOtp: verifySmsRegistrationOtp, | ||
| appealSmsRegistration: appealSmsRegistration, | ||
| shareSmsRegistration: shareSmsRegistration, | ||
| enableSmsOnNumber: enableSmsOnNumber, | ||
| disableSmsOnNumber: disableSmsOnNumber, | ||
| reuseSmsRegistrationForNumber: reuseSmsRegistrationForNumber, | ||
| }; | ||
| /** | ||
| * whatsapptemplates API | ||
@@ -978,2 +1084,28 @@ */ | ||
| /** | ||
| * phonenumbers API | ||
| */ | ||
| phonenumbers = { | ||
| listPhoneNumbers: listPhoneNumbers, | ||
| getPhoneNumber: getPhoneNumber, | ||
| releasePhoneNumber: releasePhoneNumber, | ||
| purchasePhoneNumber: purchasePhoneNumber, | ||
| listPhoneNumberCountries: listPhoneNumberCountries, | ||
| searchAvailablePhoneNumbers: searchAvailablePhoneNumbers, | ||
| checkPhoneNumberAvailability: checkPhoneNumberAvailability, | ||
| getPhoneNumberKycForm: getPhoneNumberKycForm, | ||
| submitPhoneNumberKyc: submitPhoneNumberKyc, | ||
| uploadPhoneNumberKycDocument: uploadPhoneNumberKycDocument, | ||
| validatePhoneNumberKycAddress: validatePhoneNumberKycAddress, | ||
| createPhoneNumberKycLink: createPhoneNumberKycLink, | ||
| createPhoneNumberPortIn: createPhoneNumberPortIn, | ||
| listPhoneNumberPortIns: listPhoneNumberPortIns, | ||
| checkPhoneNumberPortability: checkPhoneNumberPortability, | ||
| uploadPhoneNumberPortInDocument: uploadPhoneNumberPortInDocument, | ||
| cancelPhoneNumberPortIn: cancelPhoneNumberPortIn, | ||
| reviewPhoneNumberKycPacket: reviewPhoneNumberKycPacket, | ||
| getPhoneNumberRemediation: getPhoneNumberRemediation, | ||
| remediatePhoneNumber: remediatePhoneNumber, | ||
| }; | ||
| /** | ||
| * whatsappsandbox API | ||
@@ -980,0 +1112,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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
3114692
10.26%63542
10.32%836
9.14%