@zernio/node 0.2.310 → 0.2.311

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 CHANGED
@@ -281,6 +281,9 @@ try {
281
281
  ### Usage
282
282
  | Method | Description |
283
283
  |--------|-------------|
284
+ | `usage.getCallsUsage()` | Calling usage (volumes + billable cost) |
285
+ | `usage.getSmsUsage()` | SMS usage (volumes) |
286
+ | `usage.getUsage()` | Get plan and usage snapshot |
284
287
  | `usage.getUsageStats()` | Get plan and usage stats |
285
288
  | `usage.getXApiPricing()` | Get X/Twitter API pricing table |
286
289
 
@@ -426,6 +429,13 @@ try {
426
429
  | `broadcasts.scheduleBroadcast()` | Schedule broadcast for later |
427
430
  | `broadcasts.sendBroadcast()` | Send broadcast now |
428
431
 
432
+ ### Calls
433
+ | Method | Description |
434
+ |--------|-------------|
435
+ | `calls.listCalls()` | List all calls (unified history) |
436
+ | `calls.getCall()` | Get a call (any channel) |
437
+ | `calls.getCallRecording()` | Get a call recording (any channel) |
438
+
429
439
  ### Comment Automations
430
440
  | Method | Description |
431
441
  |--------|-------------|
@@ -577,6 +587,30 @@ try {
577
587
  | `messages.sendTypingIndicator()` | Send typing indicator |
578
588
  | `messages.uploadMediaDirect()` | Upload media file |
579
589
 
590
+ ### Phone Numbers
591
+ | Method | Description |
592
+ |--------|-------------|
593
+ | `phoneNumbers.listPhoneNumberCountries()` | List offerable number countries |
594
+ | `phoneNumbers.listPhoneNumberPortIns()` | List port-in orders |
595
+ | `phoneNumbers.listPhoneNumbers()` | List phone numbers |
596
+ | `phoneNumbers.createPhoneNumberKycLink()` | Create a hosted KYC link |
597
+ | `phoneNumbers.createPhoneNumberPortIn()` | Port numbers in |
598
+ | `phoneNumbers.getPhoneNumber()` | Get phone number |
599
+ | `phoneNumbers.getPhoneNumberKycForm()` | Get KYC form spec |
600
+ | `phoneNumbers.getPhoneNumberRemediation()` | Get declined requirements |
601
+ | `phoneNumbers.cancelPhoneNumberPortIn()` | Cancel a port-in |
602
+ | `phoneNumbers.checkPhoneNumberAvailability()` | Check country availability |
603
+ | `phoneNumbers.checkPhoneNumberPortability()` | Check portability |
604
+ | `phoneNumbers.purchasePhoneNumber()` | Purchase phone number |
605
+ | `phoneNumbers.releasePhoneNumber()` | Release phone number |
606
+ | `phoneNumbers.remediatePhoneNumber()` | Resubmit a declined number |
607
+ | `phoneNumbers.reviewPhoneNumberKycPacket()` | Pre-review a KYC packet |
608
+ | `phoneNumbers.searchAvailablePhoneNumbers()` | Search available numbers |
609
+ | `phoneNumbers.submitPhoneNumberKyc()` | Submit KYC |
610
+ | `phoneNumbers.uploadPhoneNumberKycDocument()` | Upload a KYC document |
611
+ | `phoneNumbers.uploadPhoneNumberPortInDocument()` | Upload a porting document |
612
+ | `phoneNumbers.validatePhoneNumberKycAddress()` | Pre-validate KYC address |
613
+
580
614
  ### Reviews (Inbox)
581
615
  | Method | Description |
582
616
  |--------|-------------|
@@ -598,6 +632,22 @@ try {
598
632
  | `sequences.pauseSequence()` | Pause sequence |
599
633
  | `sequences.unenrollContact()` | Unenroll contact |
600
634
 
635
+ ### SMS
636
+ | Method | Description |
637
+ |--------|-------------|
638
+ | `sms.listSmsOptOuts()` | List SMS opt-outs |
639
+ | `sms.listSmsRegistrations()` | List carrier registrations |
640
+ | `sms.getSmsRegistration()` | Get a carrier registration |
641
+ | `sms.appealSmsRegistration()` | Appeal a rejected campaign |
642
+ | `sms.disableSmsOnNumber()` | Disable SMS on a number |
643
+ | `sms.enableSmsOnNumber()` | Enable SMS on a number |
644
+ | `sms.lookupSmsNumber()` | Look up carrier + line type |
645
+ | `sms.reuseSmsRegistrationForNumber()` | Add a number to an existing registration |
646
+ | `sms.sendSms()` | Send an SMS/MMS |
647
+ | `sms.shareSmsRegistration()` | Create a registration share link |
648
+ | `sms.startSmsRegistration()` | Start a carrier registration |
649
+ | `sms.verifySmsRegistrationOtp()` | Submit the sole-prop OTP |
650
+
601
651
  ### Tracking Tags
602
652
  | Method | Description |
603
653
  |--------|-------------|
@@ -628,6 +678,21 @@ try {
628
678
  | `validate.validatePostLength()` | Validate character count |
629
679
  | `validate.validateSubreddit()` | Check subreddit existence |
630
680
 
681
+ ### Voice
682
+ | Method | Description |
683
+ |--------|-------------|
684
+ | `voice.listVoiceCalls()` | List phone calls |
685
+ | `voice.createVoiceCall()` | Place an outbound phone call |
686
+ | `voice.createVoiceWebSession()` | Mint a browser softphone session |
687
+ | `voice.getVoiceCall()` | Get a phone call |
688
+ | `voice.getVoiceCallEstimate()` | Estimate call cost |
689
+ | `voice.getVoiceCallRecording()` | Get a call recording |
690
+ | `voice.dialVoiceWebCall()` | Dial from the browser softphone |
691
+ | `voice.disableVoiceOnNumber()` | Disable phone calling on a number |
692
+ | `voice.enableVoiceOnNumber()` | Enable phone calling on a number |
693
+ | `voice.endVoiceCall()` | Hang up a live call |
694
+ | `voice.transferVoiceCall()` | Blind-transfer a live call |
695
+
631
696
  ### WhatsApp
632
697
  | Method | Description |
633
698
  |--------|-------------|
@@ -671,11 +736,16 @@ try {
671
736
  | `whatsappCalling.listWhatsAppCalls()` | List call history for an account |
672
737
  | `whatsappCalling.getWhatsAppCall()` | Get a single call |
673
738
  | `whatsappCalling.getWhatsAppCallEstimate()` | Estimate per-minute cost |
739
+ | `whatsappCalling.getWhatsAppCalling()` | Get calling config for a number |
674
740
  | `whatsappCalling.getWhatsAppCallingConfig()` | Get calling config for an account |
675
741
  | `whatsappCalling.getWhatsAppCallPermissions()` | Check call permission |
742
+ | `whatsappCalling.getWhatsAppCallRecording()` | Get a call recording |
676
743
  | `whatsappCalling.updateWhatsAppCalling()` | Update calling config |
744
+ | `whatsappCalling.updateWhatsAppCallingLegacy()` | Update calling config |
677
745
  | `whatsappCalling.disableWhatsAppCalling()` | Disable calling on a number |
746
+ | `whatsappCalling.disableWhatsAppCallingLegacy()` | Disable calling on a number |
678
747
  | `whatsappCalling.enableWhatsAppCalling()` | Enable calling on a number |
748
+ | `whatsappCalling.enableWhatsAppCallingLegacy()` | Enable calling on a number |
679
749
  | `whatsappCalling.initiateWhatsAppCall()` | Initiate outbound call |
680
750
 
681
751
  ### WhatsApp Flows