@zernio/node 0.2.731 → 0.2.733
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 +26 -4
- package/dist/index.d.mts +1093 -179
- package/dist/index.d.ts +1093 -179
- package/dist/index.js +199 -1
- package/dist/index.mjs +199 -1
- package/package.json +1 -1
- package/src/client.ts +88 -0
- package/src/generated/sdk.gen.ts +302 -30
- package/src/generated/types.gen.ts +1103 -178
package/src/client.ts
CHANGED
|
@@ -4,6 +4,8 @@ import {
|
|
|
4
4
|
activateSequence,
|
|
5
5
|
activateWorkflow,
|
|
6
6
|
addAccountCallouts,
|
|
7
|
+
addAccountSitelinks,
|
|
8
|
+
addAccountStructuredSnippets,
|
|
7
9
|
addAdKeywords,
|
|
8
10
|
addBroadcastRecipients,
|
|
9
11
|
addBusinessAgentAllowlistEntry,
|
|
@@ -19,6 +21,7 @@ import {
|
|
|
19
21
|
approveWhatsAppGroupJoinRequests,
|
|
20
22
|
archiveLeadForm,
|
|
21
23
|
assignGoogleBusinessLocation,
|
|
24
|
+
attachAdGroupAssets,
|
|
22
25
|
attachCampaignAssets,
|
|
23
26
|
attachNumberToSipTrunk,
|
|
24
27
|
batchGetGoogleBusinessReviews,
|
|
@@ -117,6 +120,7 @@ import {
|
|
|
117
120
|
deleteAd,
|
|
118
121
|
deleteAdAudience,
|
|
119
122
|
deleteAdCampaign,
|
|
123
|
+
deleteAdComment,
|
|
120
124
|
deleteAdCreative,
|
|
121
125
|
deleteAdNegativeKeywordList,
|
|
122
126
|
deleteAdSet,
|
|
@@ -284,6 +288,7 @@ import {
|
|
|
284
288
|
getInstagramIceBreakers,
|
|
285
289
|
getInstagramPublishingLimit,
|
|
286
290
|
getInstagramStoryInsights,
|
|
291
|
+
getIosFourteenCampaignLimits,
|
|
287
292
|
getLeadForm,
|
|
288
293
|
getLinkedInAggregateAnalytics,
|
|
289
294
|
getLinkedInBidPricing,
|
|
@@ -375,6 +380,7 @@ import {
|
|
|
375
380
|
getYoutubeCaptions,
|
|
376
381
|
getYoutubePlaylists,
|
|
377
382
|
handleOAuthCallback,
|
|
383
|
+
hideAdComment,
|
|
378
384
|
hideInboxComment,
|
|
379
385
|
initiateTelegramConnect,
|
|
380
386
|
initiateWhatsAppCall,
|
|
@@ -382,6 +388,8 @@ import {
|
|
|
382
388
|
likePost,
|
|
383
389
|
listAccountCallouts,
|
|
384
390
|
listAccountGroups,
|
|
391
|
+
listAccountSitelinks,
|
|
392
|
+
listAccountStructuredSnippets,
|
|
385
393
|
listAccounts,
|
|
386
394
|
listAdAccounts,
|
|
387
395
|
listAdAudiences,
|
|
@@ -389,6 +397,7 @@ import {
|
|
|
389
397
|
listAdCatalogProductSets,
|
|
390
398
|
listAdCatalogs,
|
|
391
399
|
listAdCreatives,
|
|
400
|
+
listAdGroupAssets,
|
|
392
401
|
listAdImages,
|
|
393
402
|
listAdKeywords,
|
|
394
403
|
listAdLabels,
|
|
@@ -398,6 +407,8 @@ import {
|
|
|
398
407
|
listAdVideos,
|
|
399
408
|
listAds,
|
|
400
409
|
listAdsBusinessCenters,
|
|
410
|
+
listAdsInstagramAccounts,
|
|
411
|
+
listAdvertisableApplications,
|
|
401
412
|
listApiKeys,
|
|
402
413
|
listBidStrategies,
|
|
403
414
|
listBlogArticles,
|
|
@@ -414,6 +425,7 @@ import {
|
|
|
414
425
|
listBusinessAgentUiSkills,
|
|
415
426
|
listBusinessAgentWebsites,
|
|
416
427
|
listCalls,
|
|
428
|
+
listCampaignAssets,
|
|
417
429
|
listCampaignNegativeKeywordLists,
|
|
418
430
|
listCampaignNegativeKeywords,
|
|
419
431
|
listCommentAutomationLogs,
|
|
@@ -510,9 +522,13 @@ import {
|
|
|
510
522
|
remediatePhoneNumber,
|
|
511
523
|
remediateWhatsAppNumber,
|
|
512
524
|
removeAccountCallout,
|
|
525
|
+
removeAccountSitelink,
|
|
526
|
+
removeAccountStructuredSnippet,
|
|
527
|
+
removeAdGroupAssets,
|
|
513
528
|
removeAdKeyword,
|
|
514
529
|
removeBookmark,
|
|
515
530
|
removeBusinessAgentAllowlistEntry,
|
|
531
|
+
removeCampaignAssets,
|
|
516
532
|
removeConversionAssociations,
|
|
517
533
|
removeDiscordMemberRole,
|
|
518
534
|
removeMessageReaction,
|
|
@@ -524,6 +540,7 @@ import {
|
|
|
524
540
|
replaceBusinessAgentBusinessInformation,
|
|
525
541
|
replaceCampaignNegativeKeywordLists,
|
|
526
542
|
replaceCampaignNegativeKeywords,
|
|
543
|
+
replyToAdComment,
|
|
527
544
|
replyToGoogleBusinessReview,
|
|
528
545
|
replyToInboxPost,
|
|
529
546
|
replyToInboxReview,
|
|
@@ -603,13 +620,17 @@ import {
|
|
|
603
620
|
unpinDiscordMessage,
|
|
604
621
|
unpublishPost,
|
|
605
622
|
updateAccount,
|
|
623
|
+
updateAccountCallouts,
|
|
606
624
|
updateAccountGroup,
|
|
625
|
+
updateAccountSitelinks,
|
|
626
|
+
updateAccountStructuredSnippets,
|
|
607
627
|
updateAd,
|
|
608
628
|
updateAdAccount,
|
|
609
629
|
updateAdAudience,
|
|
610
630
|
updateAdCampaign,
|
|
611
631
|
updateAdCampaignStatus,
|
|
612
632
|
updateAdCreative,
|
|
633
|
+
updateAdGroupAssets,
|
|
613
634
|
updateAdKeyword,
|
|
614
635
|
updateAdNegativeKeywordList,
|
|
615
636
|
updateAdSet,
|
|
@@ -628,6 +649,7 @@ import {
|
|
|
628
649
|
updateBusinessAgentSkill,
|
|
629
650
|
updateBusinessAgentUiSkill,
|
|
630
651
|
updateBusinessAgentWebsite,
|
|
652
|
+
updateCampaignAssets,
|
|
631
653
|
updateCampaignTargeting,
|
|
632
654
|
updateCommentAutomation,
|
|
633
655
|
updateContact,
|
|
@@ -1653,7 +1675,14 @@ export class Zernio {
|
|
|
1653
1675
|
updateAd: this._bind(updateAd),
|
|
1654
1676
|
deleteAd: this._bind(deleteAd),
|
|
1655
1677
|
updateAdStatus: this._bind(updateAdStatus),
|
|
1678
|
+
listCampaignAssets: this._bind(listCampaignAssets),
|
|
1656
1679
|
attachCampaignAssets: this._bind(attachCampaignAssets),
|
|
1680
|
+
updateCampaignAssets: this._bind(updateCampaignAssets),
|
|
1681
|
+
removeCampaignAssets: this._bind(removeCampaignAssets),
|
|
1682
|
+
listAdGroupAssets: this._bind(listAdGroupAssets),
|
|
1683
|
+
attachAdGroupAssets: this._bind(attachAdGroupAssets),
|
|
1684
|
+
updateAdGroupAssets: this._bind(updateAdGroupAssets),
|
|
1685
|
+
removeAdGroupAssets: this._bind(removeAdGroupAssets),
|
|
1657
1686
|
listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
|
|
1658
1687
|
replaceCampaignNegativeKeywordLists: this._bind(replaceCampaignNegativeKeywordLists),
|
|
1659
1688
|
boostPost: this._bind(boostPost),
|
|
@@ -1718,9 +1747,15 @@ export class Zernio {
|
|
|
1718
1747
|
*/
|
|
1719
1748
|
adaccounts = {
|
|
1720
1749
|
getAdComments: this._bind(getAdComments),
|
|
1750
|
+
replyToAdComment: this._bind(replyToAdComment),
|
|
1751
|
+
hideAdComment: this._bind(hideAdComment),
|
|
1752
|
+
deleteAdComment: this._bind(deleteAdComment),
|
|
1721
1753
|
listAdsBusinessCenters: this._bind(listAdsBusinessCenters),
|
|
1722
1754
|
getAdsActivityLog: this._bind(getAdsActivityLog),
|
|
1723
1755
|
listAdStudies: this._bind(listAdStudies),
|
|
1756
|
+
listAdsInstagramAccounts: this._bind(listAdsInstagramAccounts),
|
|
1757
|
+
listAdvertisableApplications: this._bind(listAdvertisableApplications),
|
|
1758
|
+
getIosFourteenCampaignLimits: this._bind(getIosFourteenCampaignLimits),
|
|
1724
1759
|
listMetaBusinesses: this._bind(listMetaBusinesses),
|
|
1725
1760
|
listAdLabels: this._bind(listAdLabels),
|
|
1726
1761
|
listHighDemandPeriods: this._bind(listHighDemandPeriods),
|
|
@@ -1738,7 +1773,16 @@ export class Zernio {
|
|
|
1738
1773
|
replaceAdNegativeKeywordListKeywords: this._bind(replaceAdNegativeKeywordListKeywords),
|
|
1739
1774
|
listAccountCallouts: this._bind(listAccountCallouts),
|
|
1740
1775
|
addAccountCallouts: this._bind(addAccountCallouts),
|
|
1776
|
+
updateAccountCallouts: this._bind(updateAccountCallouts),
|
|
1741
1777
|
removeAccountCallout: this._bind(removeAccountCallout),
|
|
1778
|
+
listAccountSitelinks: this._bind(listAccountSitelinks),
|
|
1779
|
+
addAccountSitelinks: this._bind(addAccountSitelinks),
|
|
1780
|
+
updateAccountSitelinks: this._bind(updateAccountSitelinks),
|
|
1781
|
+
removeAccountSitelink: this._bind(removeAccountSitelink),
|
|
1782
|
+
listAccountStructuredSnippets: this._bind(listAccountStructuredSnippets),
|
|
1783
|
+
addAccountStructuredSnippets: this._bind(addAccountStructuredSnippets),
|
|
1784
|
+
updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
|
|
1785
|
+
removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
|
|
1742
1786
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
1743
1787
|
listAdAccounts: this._bind(listAdAccounts),
|
|
1744
1788
|
updateAdAccount: this._bind(updateAdAccount),
|
|
@@ -1991,8 +2035,22 @@ export class Zernio {
|
|
|
1991
2035
|
deleteAd: this._bind(deleteAd),
|
|
1992
2036
|
/** @deprecated Use `zernio.adcampaigns.updateAdStatus` instead. */
|
|
1993
2037
|
updateAdStatus: this._bind(updateAdStatus),
|
|
2038
|
+
/** @deprecated Use `zernio.adcampaigns.listCampaignAssets` instead. */
|
|
2039
|
+
listCampaignAssets: this._bind(listCampaignAssets),
|
|
1994
2040
|
/** @deprecated Use `zernio.adcampaigns.attachCampaignAssets` instead. */
|
|
1995
2041
|
attachCampaignAssets: this._bind(attachCampaignAssets),
|
|
2042
|
+
/** @deprecated Use `zernio.adcampaigns.updateCampaignAssets` instead. */
|
|
2043
|
+
updateCampaignAssets: this._bind(updateCampaignAssets),
|
|
2044
|
+
/** @deprecated Use `zernio.adcampaigns.removeCampaignAssets` instead. */
|
|
2045
|
+
removeCampaignAssets: this._bind(removeCampaignAssets),
|
|
2046
|
+
/** @deprecated Use `zernio.adcampaigns.listAdGroupAssets` instead. */
|
|
2047
|
+
listAdGroupAssets: this._bind(listAdGroupAssets),
|
|
2048
|
+
/** @deprecated Use `zernio.adcampaigns.attachAdGroupAssets` instead. */
|
|
2049
|
+
attachAdGroupAssets: this._bind(attachAdGroupAssets),
|
|
2050
|
+
/** @deprecated Use `zernio.adcampaigns.updateAdGroupAssets` instead. */
|
|
2051
|
+
updateAdGroupAssets: this._bind(updateAdGroupAssets),
|
|
2052
|
+
/** @deprecated Use `zernio.adcampaigns.removeAdGroupAssets` instead. */
|
|
2053
|
+
removeAdGroupAssets: this._bind(removeAdGroupAssets),
|
|
1996
2054
|
/** @deprecated Use `zernio.adcampaigns.listCampaignNegativeKeywordLists` instead. */
|
|
1997
2055
|
listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
|
|
1998
2056
|
/** @deprecated Use `zernio.adcampaigns.replaceCampaignNegativeKeywordLists` instead. */
|
|
@@ -2003,12 +2061,24 @@ export class Zernio {
|
|
|
2003
2061
|
createStandaloneAd: this._bind(createStandaloneAd),
|
|
2004
2062
|
/** @deprecated Use `zernio.adaccounts.getAdComments` instead. */
|
|
2005
2063
|
getAdComments: this._bind(getAdComments),
|
|
2064
|
+
/** @deprecated Use `zernio.adaccounts.replyToAdComment` instead. */
|
|
2065
|
+
replyToAdComment: this._bind(replyToAdComment),
|
|
2066
|
+
/** @deprecated Use `zernio.adaccounts.hideAdComment` instead. */
|
|
2067
|
+
hideAdComment: this._bind(hideAdComment),
|
|
2068
|
+
/** @deprecated Use `zernio.adaccounts.deleteAdComment` instead. */
|
|
2069
|
+
deleteAdComment: this._bind(deleteAdComment),
|
|
2006
2070
|
/** @deprecated Use `zernio.adaccounts.listAdsBusinessCenters` instead. */
|
|
2007
2071
|
listAdsBusinessCenters: this._bind(listAdsBusinessCenters),
|
|
2008
2072
|
/** @deprecated Use `zernio.adaccounts.getAdsActivityLog` instead. */
|
|
2009
2073
|
getAdsActivityLog: this._bind(getAdsActivityLog),
|
|
2010
2074
|
/** @deprecated Use `zernio.adaccounts.listAdStudies` instead. */
|
|
2011
2075
|
listAdStudies: this._bind(listAdStudies),
|
|
2076
|
+
/** @deprecated Use `zernio.adaccounts.listAdsInstagramAccounts` instead. */
|
|
2077
|
+
listAdsInstagramAccounts: this._bind(listAdsInstagramAccounts),
|
|
2078
|
+
/** @deprecated Use `zernio.adaccounts.listAdvertisableApplications` instead. */
|
|
2079
|
+
listAdvertisableApplications: this._bind(listAdvertisableApplications),
|
|
2080
|
+
/** @deprecated Use `zernio.adaccounts.getIosFourteenCampaignLimits` instead. */
|
|
2081
|
+
getIosFourteenCampaignLimits: this._bind(getIosFourteenCampaignLimits),
|
|
2012
2082
|
/** @deprecated Use `zernio.adaccounts.listMetaBusinesses` instead. */
|
|
2013
2083
|
listMetaBusinesses: this._bind(listMetaBusinesses),
|
|
2014
2084
|
/** @deprecated Use `zernio.adaccounts.listAdLabels` instead. */
|
|
@@ -2043,8 +2113,26 @@ export class Zernio {
|
|
|
2043
2113
|
listAccountCallouts: this._bind(listAccountCallouts),
|
|
2044
2114
|
/** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
|
|
2045
2115
|
addAccountCallouts: this._bind(addAccountCallouts),
|
|
2116
|
+
/** @deprecated Use `zernio.adaccounts.updateAccountCallouts` instead. */
|
|
2117
|
+
updateAccountCallouts: this._bind(updateAccountCallouts),
|
|
2046
2118
|
/** @deprecated Use `zernio.adaccounts.removeAccountCallout` instead. */
|
|
2047
2119
|
removeAccountCallout: this._bind(removeAccountCallout),
|
|
2120
|
+
/** @deprecated Use `zernio.adaccounts.listAccountSitelinks` instead. */
|
|
2121
|
+
listAccountSitelinks: this._bind(listAccountSitelinks),
|
|
2122
|
+
/** @deprecated Use `zernio.adaccounts.addAccountSitelinks` instead. */
|
|
2123
|
+
addAccountSitelinks: this._bind(addAccountSitelinks),
|
|
2124
|
+
/** @deprecated Use `zernio.adaccounts.updateAccountSitelinks` instead. */
|
|
2125
|
+
updateAccountSitelinks: this._bind(updateAccountSitelinks),
|
|
2126
|
+
/** @deprecated Use `zernio.adaccounts.removeAccountSitelink` instead. */
|
|
2127
|
+
removeAccountSitelink: this._bind(removeAccountSitelink),
|
|
2128
|
+
/** @deprecated Use `zernio.adaccounts.listAccountStructuredSnippets` instead. */
|
|
2129
|
+
listAccountStructuredSnippets: this._bind(listAccountStructuredSnippets),
|
|
2130
|
+
/** @deprecated Use `zernio.adaccounts.addAccountStructuredSnippets` instead. */
|
|
2131
|
+
addAccountStructuredSnippets: this._bind(addAccountStructuredSnippets),
|
|
2132
|
+
/** @deprecated Use `zernio.adaccounts.updateAccountStructuredSnippets` instead. */
|
|
2133
|
+
updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
|
|
2134
|
+
/** @deprecated Use `zernio.adaccounts.removeAccountStructuredSnippet` instead. */
|
|
2135
|
+
removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
|
|
2048
2136
|
/** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
|
|
2049
2137
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
2050
2138
|
/** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */
|