@getlatedev/node 0.2.395 → 0.2.397
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 -16
- package/dist/index.d.mts +145 -518
- package/dist/index.d.ts +145 -518
- package/dist/index.js +39 -106
- package/dist/index.mjs +39 -106
- package/package.json +1 -1
- package/src/client.ts +20 -30
- package/src/generated/sdk.gen.ts +94 -229
- package/src/generated/types.gen.ts +146 -547
package/README.md
CHANGED
|
@@ -363,7 +363,7 @@ try {
|
|
|
363
363
|
| `adAudiences.listAdAudiences()` | List custom audiences |
|
|
364
364
|
| `adAudiences.createAdAudience()` | Create custom audience |
|
|
365
365
|
| `adAudiences.getAdAudience()` | Get audience details |
|
|
366
|
-
| `adAudiences.updateAdAudience()` | Update
|
|
366
|
+
| `adAudiences.updateAdAudience()` | Update saved targeting audience |
|
|
367
367
|
| `adAudiences.deleteAdAudience()` | Delete custom audience |
|
|
368
368
|
| `adAudiences.addUsersToAdAudience()` | Add users to audience |
|
|
369
369
|
|
|
@@ -372,7 +372,6 @@ try {
|
|
|
372
372
|
|--------|-------------|
|
|
373
373
|
| `adCampaigns.listAdCampaigns()` | List campaigns |
|
|
374
374
|
| `adCampaigns.bulkUpdateAdCampaignStatus()` | Pause or resume many campaigns |
|
|
375
|
-
| `adCampaigns.createAdCampaign()` | Create a standalone campaign (Meta) |
|
|
376
375
|
| `adCampaigns.getAdSetDetails()` | Live ad-set details incl. learning phase (Meta) |
|
|
377
376
|
| `adCampaigns.getAdsTimeline()` | Get daily account metrics |
|
|
378
377
|
| `adCampaigns.getAdTree()` | Get campaign tree |
|
|
@@ -382,7 +381,6 @@ try {
|
|
|
382
381
|
| `adCampaigns.updateAdSetStatus()` | Pause or resume a single ad set |
|
|
383
382
|
| `adCampaigns.deleteAdCampaign()` | Delete a campaign |
|
|
384
383
|
| `adCampaigns.duplicateAdCampaign()` | Duplicate a campaign |
|
|
385
|
-
| `adCampaigns.duplicateAdSet()` | Duplicate an ad set (Meta) |
|
|
386
384
|
|
|
387
385
|
### Ads
|
|
388
386
|
| Method | Description |
|
|
@@ -390,19 +388,14 @@ try {
|
|
|
390
388
|
| `ads.listAdAccounts()` | List ad accounts |
|
|
391
389
|
| `ads.listAdCatalogProductSets()` | List a catalog's product sets |
|
|
392
390
|
| `ads.listAdCatalogs()` | List Meta product catalogs |
|
|
393
|
-
| `ads.listAdCreatives()` | Creative library (Meta) |
|
|
394
|
-
| `ads.listAdImages()` | Ad image library (Meta) |
|
|
395
|
-
| `ads.listAdLabels()` | Ad labels (Meta) |
|
|
396
391
|
| `ads.listAds()` | List ads |
|
|
397
392
|
| `ads.listAdsBusinessCenters()` | List TikTok Business Centers |
|
|
398
393
|
| `ads.listAdStudies()` | A/B tests and lift studies (Meta) |
|
|
399
394
|
| `ads.listConversionAssociations()` | List associated campaigns |
|
|
400
395
|
| `ads.listConversionDestinations()` | List conversion destinations |
|
|
401
396
|
| `ads.listFormLeads()` | List leads for a single form |
|
|
402
|
-
| `ads.listHighDemandPeriods()` | High demand periods / budget schedules (Meta) |
|
|
403
397
|
| `ads.listLeadForms()` | List lead forms |
|
|
404
398
|
| `ads.listLeads()` | List submitted leads |
|
|
405
|
-
| `ads.createAdCreative()` | Create a standalone creative (Meta) |
|
|
406
399
|
| `ads.createAdInsightsReport()` | Submit an async insights report run (Meta) |
|
|
407
400
|
| `ads.createCallAd()` | Create Click-to-Call ad |
|
|
408
401
|
| `ads.createConversionDestination()` | Create a conversion destination |
|
|
@@ -416,7 +409,6 @@ try {
|
|
|
416
409
|
| `ads.getAdAccountFinance()` | Ad account finances (Meta) |
|
|
417
410
|
| `ads.getAdAnalytics()` | Get ad analytics |
|
|
418
411
|
| `ads.getAdComments()` | List comments on an ad |
|
|
419
|
-
| `ads.getAdCreative()` | Creative details (Meta) |
|
|
420
412
|
| `ads.getAdInsightsReport()` | Poll an async insights report run (Meta) |
|
|
421
413
|
| `ads.getAdPreviews()` | Render previews of an existing ad (Meta) |
|
|
422
414
|
| `ads.getAdsActivityLog()` | Ad account change / audit log (Meta) |
|
|
@@ -433,19 +425,16 @@ try {
|
|
|
433
425
|
| `ads.getRfPrediction()` | Read a Reach & Frequency prediction (Meta) |
|
|
434
426
|
| `ads.updateAd()` | Update ad |
|
|
435
427
|
| `ads.updateAdAccount()` | Update ad account settings |
|
|
436
|
-
| `ads.updateAdCreative()` | Rename a creative (Meta) |
|
|
437
428
|
| `ads.updateAdStatus()` | Pause or resume a single ad |
|
|
438
429
|
| `ads.updateAdTrackingTags()` | Set ad tracking tags |
|
|
439
430
|
| `ads.updateConversionDestination()` | Update a conversion destination |
|
|
440
431
|
| `ads.deleteAd()` | Cancel an ad |
|
|
441
|
-
| `ads.deleteAdCreative()` | Delete a creative (Meta) |
|
|
442
432
|
| `ads.deleteConversionDestination()` | Delete a conversion destination |
|
|
443
433
|
| `ads.addConversionAssociations()` | Associate campaigns |
|
|
444
434
|
| `ads.adjustConversions()` | Adjust uploaded conversions |
|
|
445
435
|
| `ads.archiveLeadForm()` | Archive a lead form |
|
|
446
436
|
| `ads.boostPost()` | Boost post as ad |
|
|
447
437
|
| `ads.cancelRfReservation()` | Cancel a Reach & Frequency reservation (Meta) |
|
|
448
|
-
| `ads.duplicateAd()` | Duplicate an ad (Meta) |
|
|
449
438
|
| `ads.estimateAdReach()` | Estimate audience reach |
|
|
450
439
|
| `ads.generateAdPreviews()` | Render pre-create ad previews (Meta) |
|
|
451
440
|
| `ads.queryAdInsights()` | Flexible live insights query (Meta) |
|
|
@@ -597,6 +586,11 @@ try {
|
|
|
597
586
|
| `gmbVerifications.fetchGoogleBusinessVerificationOptions()` | Fetch verification options |
|
|
598
587
|
| `gmbVerifications.startGoogleBusinessVerification()` | Start a verification |
|
|
599
588
|
|
|
589
|
+
### Inbox
|
|
590
|
+
| Method | Description |
|
|
591
|
+
|--------|-------------|
|
|
592
|
+
| `inbox.getWhatsAppMedia()` | Download WhatsApp media |
|
|
593
|
+
|
|
600
594
|
### Inbox Analytics
|
|
601
595
|
| Method | Description |
|
|
602
596
|
|--------|-------------|
|
|
@@ -691,16 +685,12 @@ try {
|
|
|
691
685
|
|--------|-------------|
|
|
692
686
|
| `sms.listSmsOptOuts()` | List SMS opt-outs |
|
|
693
687
|
| `sms.listSmsRegistrations()` | List carrier registrations |
|
|
694
|
-
| `sms.listSmsSenderIds()` | List alphanumeric sender IDs |
|
|
695
|
-
| `sms.createSmsSenderId()` | Create an alphanumeric sender ID |
|
|
696
688
|
| `sms.getSmsRegistration()` | Get a carrier registration |
|
|
697
|
-
| `sms.deleteSmsSenderId()` | Delete an alphanumeric sender ID |
|
|
698
689
|
| `sms.appealSmsRegistration()` | Appeal a rejected campaign |
|
|
699
690
|
| `sms.deactivateSmsRegistration()` | Deactivate a brand/campaign registration |
|
|
700
691
|
| `sms.disableSmsOnNumber()` | Disable SMS on a number |
|
|
701
692
|
| `sms.enableSmsOnNumber()` | Enable SMS on a number |
|
|
702
693
|
| `sms.lookupSmsNumber()` | Look up carrier + line type |
|
|
703
|
-
| `sms.requestSmsSenderIdLimitIncrease()` | Request a higher sender ID daily limit |
|
|
704
694
|
| `sms.resendSmsRegistrationOtp()` | Re-send the sole-prop OTP |
|
|
705
695
|
| `sms.reuseSmsRegistrationForNumber()` | Add number to SMS registration |
|
|
706
696
|
| `sms.sendSms()` | Send an SMS/MMS |
|
|
@@ -740,6 +730,13 @@ try {
|
|
|
740
730
|
| `validate.validatePostLength()` | Validate character count |
|
|
741
731
|
| `validate.validateSubreddit()` | Check subreddit existence |
|
|
742
732
|
|
|
733
|
+
### Verify
|
|
734
|
+
| Method | Description |
|
|
735
|
+
|--------|-------------|
|
|
736
|
+
| `verify.createVerification()` | Send a verification code |
|
|
737
|
+
| `verify.getVerification()` | Get a verification |
|
|
738
|
+
| `verify.checkVerification()` | Check a verification code |
|
|
739
|
+
|
|
743
740
|
### Voice
|
|
744
741
|
| Method | Description |
|
|
745
742
|
|--------|-------------|
|