@zernio/node 0.2.611 → 0.2.640
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 +13 -0
- package/dist/index.d.mts +934 -70
- package/dist/index.d.ts +934 -70
- package/dist/index.js +99 -2
- package/dist/index.mjs +99 -2
- package/package.json +1 -1
- package/src/client.ts +32 -0
- package/src/generated/sdk.gen.ts +239 -9
- package/src/generated/types.gen.ts +958 -70
package/README.md
CHANGED
|
@@ -336,9 +336,12 @@ try {
|
|
|
336
336
|
| `connect.configureTikTokAdsBrandIdentity()` | Set TikTok brand identity |
|
|
337
337
|
| `connect.connectAds()` | Connect ads for a platform |
|
|
338
338
|
| `connect.connectBlueskyCredentials()` | Connect Bluesky account |
|
|
339
|
+
| `connect.connectDiscordChannel()` | Connect a Discord channel |
|
|
339
340
|
| `connect.connectOpenAIAdsCredentials()` | Connect an OpenAI Ads account |
|
|
340
341
|
| `connect.connectShopifyWithToken()` | Connect a Shopify store with a custom-app Admin token |
|
|
342
|
+
| `connect.connectSlackChannel()` | Connect a Slack channel |
|
|
341
343
|
| `connect.connectWhatsAppCredentials()` | Connect WhatsApp via credentials |
|
|
344
|
+
| `connect.connectWhatsAppEmbeddedSignup()` | Connect WhatsApp from Embedded Signup |
|
|
342
345
|
| `connect.handleOAuthCallback()` | Complete OAuth callback |
|
|
343
346
|
| `connect.initiateTelegramConnect()` | Connect Telegram directly |
|
|
344
347
|
| `connect.selectFacebookPage()` | Select Facebook page |
|
|
@@ -440,11 +443,14 @@ try {
|
|
|
440
443
|
| `adCreatives.listAdVideos()` | Ad video library |
|
|
441
444
|
| `adCreatives.createAdCreative()` | Create a standalone creative |
|
|
442
445
|
| `adCreatives.getAdCreative()` | Creative details |
|
|
446
|
+
| `adCreatives.getAdMedia()` | Direct video and image URLs for an ad |
|
|
443
447
|
| `adCreatives.getAdPreviews()` | Render previews of an existing ad |
|
|
444
448
|
| `adCreatives.updateAdCreative()` | Rename a creative |
|
|
445
449
|
| `adCreatives.deleteAdCreative()` | Delete a creative |
|
|
450
|
+
| `adCreatives.deleteAdVideo()` | Delete an ad video |
|
|
446
451
|
| `adCreatives.generateAdPreviews()` | Render pre-create ad previews |
|
|
447
452
|
| `adCreatives.uploadAdImage()` | Upload an ad image from base64 |
|
|
453
|
+
| `adCreatives.uploadAdVideo()` | Upload an ad video |
|
|
448
454
|
|
|
449
455
|
### Ad Insights
|
|
450
456
|
| Method | Description |
|
|
@@ -846,16 +852,23 @@ try {
|
|
|
846
852
|
### Voice
|
|
847
853
|
| Method | Description |
|
|
848
854
|
|--------|-------------|
|
|
855
|
+
| `voice.listSipTrunks()` | List SIP trunks |
|
|
849
856
|
| `voice.listVoiceCalls()` | List phone calls |
|
|
857
|
+
| `voice.createSipTrunk()` | Create a SIP trunk |
|
|
850
858
|
| `voice.createVoiceCall()` | Place an outbound phone call |
|
|
851
859
|
| `voice.createVoiceWebSession()` | Mint a browser softphone session |
|
|
860
|
+
| `voice.getSipTrunk()` | Get a SIP trunk |
|
|
852
861
|
| `voice.getVoiceCall()` | Get a phone call |
|
|
853
862
|
| `voice.getVoiceCallEstimate()` | Estimate call cost |
|
|
854
863
|
| `voice.getVoiceCallRecording()` | Get a call recording |
|
|
864
|
+
| `voice.deleteSipTrunk()` | Delete a SIP trunk |
|
|
865
|
+
| `voice.attachNumberToSipTrunk()` | Attach a number to a SIP trunk |
|
|
866
|
+
| `voice.detachNumberFromSipTrunk()` | Detach a number from its SIP trunk |
|
|
855
867
|
| `voice.dialVoiceWebCall()` | Dial from the browser softphone |
|
|
856
868
|
| `voice.disableVoiceOnNumber()` | Disable phone calling on a number |
|
|
857
869
|
| `voice.enableVoiceOnNumber()` | Enable phone calling on a number |
|
|
858
870
|
| `voice.endVoiceCall()` | Hang up a live call |
|
|
871
|
+
| `voice.rotateSipTrunkCredentials()` | Rotate a SIP trunk's password |
|
|
859
872
|
| `voice.transferVoiceCall()` | Blind-transfer a live call |
|
|
860
873
|
|
|
861
874
|
### WhatsApp
|