@getlatedev/node 0.2.388 → 0.2.389
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 +5 -1
- package/dist/index.d.mts +396 -261
- package/dist/index.d.ts +396 -261
- package/dist/index.js +29 -1
- package/dist/index.mjs +29 -1
- package/package.json +1 -1
- package/src/client.ts +8 -0
- package/src/generated/sdk.gen.ts +64 -2
- package/src/generated/types.gen.ts +413 -265
package/README.md
CHANGED
|
@@ -395,15 +395,18 @@ try {
|
|
|
395
395
|
| `ads.listLeadForms()` | List lead forms |
|
|
396
396
|
| `ads.listLeads()` | List submitted leads |
|
|
397
397
|
| `ads.createAdInsightsReport()` | Submit an async insights report run (Meta) |
|
|
398
|
+
| `ads.createCallAd()` | Create Click-to-Call ad |
|
|
398
399
|
| `ads.createConversionDestination()` | Create a conversion destination |
|
|
399
|
-
| `ads.createCtwaAd()` | Create Click-to-WhatsApp ad |
|
|
400
|
+
| `ads.createCtwaAd()` | Create Click-to-WhatsApp ad (deprecated) |
|
|
400
401
|
| `ads.createLeadForm()` | Create a lead form |
|
|
402
|
+
| `ads.createMessagingAd()` | Create click-to-message ad (WhatsApp / Messenger / Instagram Direct) |
|
|
401
403
|
| `ads.createStandaloneAd()` | Create standalone ad |
|
|
402
404
|
| `ads.createTestLead()` | Create a test lead |
|
|
403
405
|
| `ads.getAd()` | Get ad details |
|
|
404
406
|
| `ads.getAdAnalytics()` | Get ad analytics |
|
|
405
407
|
| `ads.getAdComments()` | List comments on an ad |
|
|
406
408
|
| `ads.getAdInsightsReport()` | Poll an async insights report run (Meta) |
|
|
409
|
+
| `ads.getAdPreviews()` | Render previews of an existing ad (Meta) |
|
|
407
410
|
| `ads.getAdTrackingTags()` | Get ad tracking tags |
|
|
408
411
|
| `ads.getCampaignAnalytics()` | Get campaign analytics |
|
|
409
412
|
| `ads.getConversionDestination()` | Get a conversion destination |
|
|
@@ -426,6 +429,7 @@ try {
|
|
|
426
429
|
| `ads.archiveLeadForm()` | Archive a lead form |
|
|
427
430
|
| `ads.boostPost()` | Boost post as ad |
|
|
428
431
|
| `ads.estimateAdReach()` | Estimate audience reach |
|
|
432
|
+
| `ads.generateAdPreviews()` | Render pre-create ad previews (Meta) |
|
|
429
433
|
| `ads.queryAdInsights()` | Flexible live insights query (Meta) |
|
|
430
434
|
| `ads.removeConversionAssociations()` | Remove associated campaigns |
|
|
431
435
|
| `ads.searchAdInterests()` | Search targeting interests |
|