@zernio/node 0.2.728 → 0.2.730

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/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.728",
39
+ version: "0.2.730",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -3661,6 +3661,54 @@ var deleteValueRuleSet = (options) => {
3661
3661
  url: "/v1/ads/value-rule-sets/{valueRuleSetId}"
3662
3662
  });
3663
3663
  };
3664
+ var listAdNegativeKeywordLists = (options) => {
3665
+ return (options?.client ?? client).get({
3666
+ ...options,
3667
+ url: "/v1/ads/accounts/negative-keyword-lists"
3668
+ });
3669
+ };
3670
+ var createAdNegativeKeywordList = (options) => {
3671
+ return (options?.client ?? client).post({
3672
+ ...options,
3673
+ url: "/v1/ads/accounts/negative-keyword-lists"
3674
+ });
3675
+ };
3676
+ var getAdNegativeKeywordList = (options) => {
3677
+ return (options?.client ?? client).get({
3678
+ ...options,
3679
+ url: "/v1/ads/accounts/negative-keyword-lists/{listId}"
3680
+ });
3681
+ };
3682
+ var updateAdNegativeKeywordList = (options) => {
3683
+ return (options?.client ?? client).put({
3684
+ ...options,
3685
+ url: "/v1/ads/accounts/negative-keyword-lists/{listId}"
3686
+ });
3687
+ };
3688
+ var deleteAdNegativeKeywordList = (options) => {
3689
+ return (options?.client ?? client).delete({
3690
+ ...options,
3691
+ url: "/v1/ads/accounts/negative-keyword-lists/{listId}"
3692
+ });
3693
+ };
3694
+ var replaceAdNegativeKeywordListKeywords = (options) => {
3695
+ return (options?.client ?? client).put({
3696
+ ...options,
3697
+ url: "/v1/ads/accounts/negative-keyword-lists/{listId}/keywords"
3698
+ });
3699
+ };
3700
+ var listCampaignNegativeKeywordLists = (options) => {
3701
+ return (options?.client ?? client).get({
3702
+ ...options,
3703
+ url: "/v1/ads/campaigns/{campaignId}/negative-keyword-lists"
3704
+ });
3705
+ };
3706
+ var replaceCampaignNegativeKeywordLists = (options) => {
3707
+ return (options?.client ?? client).put({
3708
+ ...options,
3709
+ url: "/v1/ads/campaigns/{campaignId}/negative-keyword-lists"
3710
+ });
3711
+ };
3664
3712
  var listAccountCallouts = (options) => {
3665
3713
  return (options?.client ?? client).get({
3666
3714
  ...options,
@@ -5346,6 +5394,8 @@ var Zernio = class _Zernio {
5346
5394
  deleteAd: this._bind(deleteAd),
5347
5395
  updateAdStatus: this._bind(updateAdStatus),
5348
5396
  attachCampaignAssets: this._bind(attachCampaignAssets),
5397
+ listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
5398
+ replaceCampaignNegativeKeywordLists: this._bind(replaceCampaignNegativeKeywordLists),
5349
5399
  boostPost: this._bind(boostPost),
5350
5400
  createStandaloneAd: this._bind(createStandaloneAd)
5351
5401
  };
@@ -5416,6 +5466,12 @@ var Zernio = class _Zernio {
5416
5466
  getValueRuleSet: this._bind(getValueRuleSet),
5417
5467
  updateValueRuleSet: this._bind(updateValueRuleSet),
5418
5468
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
5469
+ listAdNegativeKeywordLists: this._bind(listAdNegativeKeywordLists),
5470
+ createAdNegativeKeywordList: this._bind(createAdNegativeKeywordList),
5471
+ getAdNegativeKeywordList: this._bind(getAdNegativeKeywordList),
5472
+ updateAdNegativeKeywordList: this._bind(updateAdNegativeKeywordList),
5473
+ deleteAdNegativeKeywordList: this._bind(deleteAdNegativeKeywordList),
5474
+ replaceAdNegativeKeywordListKeywords: this._bind(replaceAdNegativeKeywordListKeywords),
5419
5475
  listAccountCallouts: this._bind(listAccountCallouts),
5420
5476
  addAccountCallouts: this._bind(addAccountCallouts),
5421
5477
  removeAccountCallout: this._bind(removeAccountCallout),
@@ -5662,6 +5718,10 @@ var Zernio = class _Zernio {
5662
5718
  updateAdStatus: this._bind(updateAdStatus),
5663
5719
  /** @deprecated Use `zernio.adcampaigns.attachCampaignAssets` instead. */
5664
5720
  attachCampaignAssets: this._bind(attachCampaignAssets),
5721
+ /** @deprecated Use `zernio.adcampaigns.listCampaignNegativeKeywordLists` instead. */
5722
+ listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
5723
+ /** @deprecated Use `zernio.adcampaigns.replaceCampaignNegativeKeywordLists` instead. */
5724
+ replaceCampaignNegativeKeywordLists: this._bind(replaceCampaignNegativeKeywordLists),
5665
5725
  /** @deprecated Use `zernio.adcampaigns.boostPost` instead. */
5666
5726
  boostPost: this._bind(boostPost),
5667
5727
  /** @deprecated Use `zernio.adcampaigns.createStandaloneAd` instead. */
@@ -5692,6 +5752,18 @@ var Zernio = class _Zernio {
5692
5752
  updateValueRuleSet: this._bind(updateValueRuleSet),
5693
5753
  /** @deprecated Use `zernio.adaccounts.deleteValueRuleSet` instead. */
5694
5754
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
5755
+ /** @deprecated Use `zernio.adaccounts.listAdNegativeKeywordLists` instead. */
5756
+ listAdNegativeKeywordLists: this._bind(listAdNegativeKeywordLists),
5757
+ /** @deprecated Use `zernio.adaccounts.createAdNegativeKeywordList` instead. */
5758
+ createAdNegativeKeywordList: this._bind(createAdNegativeKeywordList),
5759
+ /** @deprecated Use `zernio.adaccounts.getAdNegativeKeywordList` instead. */
5760
+ getAdNegativeKeywordList: this._bind(getAdNegativeKeywordList),
5761
+ /** @deprecated Use `zernio.adaccounts.updateAdNegativeKeywordList` instead. */
5762
+ updateAdNegativeKeywordList: this._bind(updateAdNegativeKeywordList),
5763
+ /** @deprecated Use `zernio.adaccounts.deleteAdNegativeKeywordList` instead. */
5764
+ deleteAdNegativeKeywordList: this._bind(deleteAdNegativeKeywordList),
5765
+ /** @deprecated Use `zernio.adaccounts.replaceAdNegativeKeywordListKeywords` instead. */
5766
+ replaceAdNegativeKeywordListKeywords: this._bind(replaceAdNegativeKeywordListKeywords),
5695
5767
  /** @deprecated Use `zernio.adaccounts.listAccountCallouts` instead. */
5696
5768
  listAccountCallouts: this._bind(listAccountCallouts),
5697
5769
  /** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.728",
8
+ version: "0.2.730",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -3630,6 +3630,54 @@ var deleteValueRuleSet = (options) => {
3630
3630
  url: "/v1/ads/value-rule-sets/{valueRuleSetId}"
3631
3631
  });
3632
3632
  };
3633
+ var listAdNegativeKeywordLists = (options) => {
3634
+ return (options?.client ?? client).get({
3635
+ ...options,
3636
+ url: "/v1/ads/accounts/negative-keyword-lists"
3637
+ });
3638
+ };
3639
+ var createAdNegativeKeywordList = (options) => {
3640
+ return (options?.client ?? client).post({
3641
+ ...options,
3642
+ url: "/v1/ads/accounts/negative-keyword-lists"
3643
+ });
3644
+ };
3645
+ var getAdNegativeKeywordList = (options) => {
3646
+ return (options?.client ?? client).get({
3647
+ ...options,
3648
+ url: "/v1/ads/accounts/negative-keyword-lists/{listId}"
3649
+ });
3650
+ };
3651
+ var updateAdNegativeKeywordList = (options) => {
3652
+ return (options?.client ?? client).put({
3653
+ ...options,
3654
+ url: "/v1/ads/accounts/negative-keyword-lists/{listId}"
3655
+ });
3656
+ };
3657
+ var deleteAdNegativeKeywordList = (options) => {
3658
+ return (options?.client ?? client).delete({
3659
+ ...options,
3660
+ url: "/v1/ads/accounts/negative-keyword-lists/{listId}"
3661
+ });
3662
+ };
3663
+ var replaceAdNegativeKeywordListKeywords = (options) => {
3664
+ return (options?.client ?? client).put({
3665
+ ...options,
3666
+ url: "/v1/ads/accounts/negative-keyword-lists/{listId}/keywords"
3667
+ });
3668
+ };
3669
+ var listCampaignNegativeKeywordLists = (options) => {
3670
+ return (options?.client ?? client).get({
3671
+ ...options,
3672
+ url: "/v1/ads/campaigns/{campaignId}/negative-keyword-lists"
3673
+ });
3674
+ };
3675
+ var replaceCampaignNegativeKeywordLists = (options) => {
3676
+ return (options?.client ?? client).put({
3677
+ ...options,
3678
+ url: "/v1/ads/campaigns/{campaignId}/negative-keyword-lists"
3679
+ });
3680
+ };
3633
3681
  var listAccountCallouts = (options) => {
3634
3682
  return (options?.client ?? client).get({
3635
3683
  ...options,
@@ -5315,6 +5363,8 @@ var Zernio = class _Zernio {
5315
5363
  deleteAd: this._bind(deleteAd),
5316
5364
  updateAdStatus: this._bind(updateAdStatus),
5317
5365
  attachCampaignAssets: this._bind(attachCampaignAssets),
5366
+ listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
5367
+ replaceCampaignNegativeKeywordLists: this._bind(replaceCampaignNegativeKeywordLists),
5318
5368
  boostPost: this._bind(boostPost),
5319
5369
  createStandaloneAd: this._bind(createStandaloneAd)
5320
5370
  };
@@ -5385,6 +5435,12 @@ var Zernio = class _Zernio {
5385
5435
  getValueRuleSet: this._bind(getValueRuleSet),
5386
5436
  updateValueRuleSet: this._bind(updateValueRuleSet),
5387
5437
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
5438
+ listAdNegativeKeywordLists: this._bind(listAdNegativeKeywordLists),
5439
+ createAdNegativeKeywordList: this._bind(createAdNegativeKeywordList),
5440
+ getAdNegativeKeywordList: this._bind(getAdNegativeKeywordList),
5441
+ updateAdNegativeKeywordList: this._bind(updateAdNegativeKeywordList),
5442
+ deleteAdNegativeKeywordList: this._bind(deleteAdNegativeKeywordList),
5443
+ replaceAdNegativeKeywordListKeywords: this._bind(replaceAdNegativeKeywordListKeywords),
5388
5444
  listAccountCallouts: this._bind(listAccountCallouts),
5389
5445
  addAccountCallouts: this._bind(addAccountCallouts),
5390
5446
  removeAccountCallout: this._bind(removeAccountCallout),
@@ -5631,6 +5687,10 @@ var Zernio = class _Zernio {
5631
5687
  updateAdStatus: this._bind(updateAdStatus),
5632
5688
  /** @deprecated Use `zernio.adcampaigns.attachCampaignAssets` instead. */
5633
5689
  attachCampaignAssets: this._bind(attachCampaignAssets),
5690
+ /** @deprecated Use `zernio.adcampaigns.listCampaignNegativeKeywordLists` instead. */
5691
+ listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
5692
+ /** @deprecated Use `zernio.adcampaigns.replaceCampaignNegativeKeywordLists` instead. */
5693
+ replaceCampaignNegativeKeywordLists: this._bind(replaceCampaignNegativeKeywordLists),
5634
5694
  /** @deprecated Use `zernio.adcampaigns.boostPost` instead. */
5635
5695
  boostPost: this._bind(boostPost),
5636
5696
  /** @deprecated Use `zernio.adcampaigns.createStandaloneAd` instead. */
@@ -5661,6 +5721,18 @@ var Zernio = class _Zernio {
5661
5721
  updateValueRuleSet: this._bind(updateValueRuleSet),
5662
5722
  /** @deprecated Use `zernio.adaccounts.deleteValueRuleSet` instead. */
5663
5723
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
5724
+ /** @deprecated Use `zernio.adaccounts.listAdNegativeKeywordLists` instead. */
5725
+ listAdNegativeKeywordLists: this._bind(listAdNegativeKeywordLists),
5726
+ /** @deprecated Use `zernio.adaccounts.createAdNegativeKeywordList` instead. */
5727
+ createAdNegativeKeywordList: this._bind(createAdNegativeKeywordList),
5728
+ /** @deprecated Use `zernio.adaccounts.getAdNegativeKeywordList` instead. */
5729
+ getAdNegativeKeywordList: this._bind(getAdNegativeKeywordList),
5730
+ /** @deprecated Use `zernio.adaccounts.updateAdNegativeKeywordList` instead. */
5731
+ updateAdNegativeKeywordList: this._bind(updateAdNegativeKeywordList),
5732
+ /** @deprecated Use `zernio.adaccounts.deleteAdNegativeKeywordList` instead. */
5733
+ deleteAdNegativeKeywordList: this._bind(deleteAdNegativeKeywordList),
5734
+ /** @deprecated Use `zernio.adaccounts.replaceAdNegativeKeywordListKeywords` instead. */
5735
+ replaceAdNegativeKeywordListKeywords: this._bind(replaceAdNegativeKeywordListKeywords),
5664
5736
  /** @deprecated Use `zernio.adaccounts.listAccountCallouts` instead. */
5665
5737
  listAccountCallouts: this._bind(listAccountCallouts),
5666
5738
  /** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.728",
3
+ "version": "0.2.730",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/client.ts CHANGED
@@ -53,6 +53,7 @@ import {
53
53
  createAdCampaign,
54
54
  createAdCreative,
55
55
  createAdInsightsReport,
56
+ createAdNegativeKeywordList,
56
57
  createAdSet,
57
58
  createApiKey,
58
59
  createBidStrategy,
@@ -117,6 +118,7 @@ import {
117
118
  deleteAdAudience,
118
119
  deleteAdCampaign,
119
120
  deleteAdCreative,
121
+ deleteAdNegativeKeywordList,
120
122
  deleteAdSet,
121
123
  deleteAdVideo,
122
124
  deleteApiKey,
@@ -199,6 +201,7 @@ import {
199
201
  getAdCreative,
200
202
  getAdInsightsReport,
201
203
  getAdMedia,
204
+ getAdNegativeKeywordList,
202
205
  getAdPreviews,
203
206
  getAdSetDetails,
204
207
  getAdTrackingTags,
@@ -389,6 +392,7 @@ import {
389
392
  listAdImages,
390
393
  listAdKeywords,
391
394
  listAdLabels,
395
+ listAdNegativeKeywordLists,
392
396
  listAdSets,
393
397
  listAdStudies,
394
398
  listAdVideos,
@@ -410,6 +414,7 @@ import {
410
414
  listBusinessAgentUiSkills,
411
415
  listBusinessAgentWebsites,
412
416
  listCalls,
417
+ listCampaignNegativeKeywordLists,
413
418
  listCampaignNegativeKeywords,
414
419
  listCommentAutomationLogs,
415
420
  listCommentAutomations,
@@ -514,8 +519,10 @@ import {
514
519
  removeTrackingTagSharedAccount,
515
520
  removeWhatsAppGroupParticipants,
516
521
  replaceAdAudienceCompanies,
522
+ replaceAdNegativeKeywordListKeywords,
517
523
  replaceBusinessAgentBudget,
518
524
  replaceBusinessAgentBusinessInformation,
525
+ replaceCampaignNegativeKeywordLists,
519
526
  replaceCampaignNegativeKeywords,
520
527
  replyToGoogleBusinessReview,
521
528
  replyToInboxPost,
@@ -604,6 +611,7 @@ import {
604
611
  updateAdCampaignStatus,
605
612
  updateAdCreative,
606
613
  updateAdKeyword,
614
+ updateAdNegativeKeywordList,
607
615
  updateAdSet,
608
616
  updateAdSetStatus,
609
617
  updateAdStatus,
@@ -1646,6 +1654,8 @@ export class Zernio {
1646
1654
  deleteAd: this._bind(deleteAd),
1647
1655
  updateAdStatus: this._bind(updateAdStatus),
1648
1656
  attachCampaignAssets: this._bind(attachCampaignAssets),
1657
+ listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
1658
+ replaceCampaignNegativeKeywordLists: this._bind(replaceCampaignNegativeKeywordLists),
1649
1659
  boostPost: this._bind(boostPost),
1650
1660
  createStandaloneAd: this._bind(createStandaloneAd),
1651
1661
  };
@@ -1720,6 +1730,12 @@ export class Zernio {
1720
1730
  getValueRuleSet: this._bind(getValueRuleSet),
1721
1731
  updateValueRuleSet: this._bind(updateValueRuleSet),
1722
1732
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
1733
+ listAdNegativeKeywordLists: this._bind(listAdNegativeKeywordLists),
1734
+ createAdNegativeKeywordList: this._bind(createAdNegativeKeywordList),
1735
+ getAdNegativeKeywordList: this._bind(getAdNegativeKeywordList),
1736
+ updateAdNegativeKeywordList: this._bind(updateAdNegativeKeywordList),
1737
+ deleteAdNegativeKeywordList: this._bind(deleteAdNegativeKeywordList),
1738
+ replaceAdNegativeKeywordListKeywords: this._bind(replaceAdNegativeKeywordListKeywords),
1723
1739
  listAccountCallouts: this._bind(listAccountCallouts),
1724
1740
  addAccountCallouts: this._bind(addAccountCallouts),
1725
1741
  removeAccountCallout: this._bind(removeAccountCallout),
@@ -1977,6 +1993,10 @@ export class Zernio {
1977
1993
  updateAdStatus: this._bind(updateAdStatus),
1978
1994
  /** @deprecated Use `zernio.adcampaigns.attachCampaignAssets` instead. */
1979
1995
  attachCampaignAssets: this._bind(attachCampaignAssets),
1996
+ /** @deprecated Use `zernio.adcampaigns.listCampaignNegativeKeywordLists` instead. */
1997
+ listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
1998
+ /** @deprecated Use `zernio.adcampaigns.replaceCampaignNegativeKeywordLists` instead. */
1999
+ replaceCampaignNegativeKeywordLists: this._bind(replaceCampaignNegativeKeywordLists),
1980
2000
  /** @deprecated Use `zernio.adcampaigns.boostPost` instead. */
1981
2001
  boostPost: this._bind(boostPost),
1982
2002
  /** @deprecated Use `zernio.adcampaigns.createStandaloneAd` instead. */
@@ -2007,6 +2027,18 @@ export class Zernio {
2007
2027
  updateValueRuleSet: this._bind(updateValueRuleSet),
2008
2028
  /** @deprecated Use `zernio.adaccounts.deleteValueRuleSet` instead. */
2009
2029
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
2030
+ /** @deprecated Use `zernio.adaccounts.listAdNegativeKeywordLists` instead. */
2031
+ listAdNegativeKeywordLists: this._bind(listAdNegativeKeywordLists),
2032
+ /** @deprecated Use `zernio.adaccounts.createAdNegativeKeywordList` instead. */
2033
+ createAdNegativeKeywordList: this._bind(createAdNegativeKeywordList),
2034
+ /** @deprecated Use `zernio.adaccounts.getAdNegativeKeywordList` instead. */
2035
+ getAdNegativeKeywordList: this._bind(getAdNegativeKeywordList),
2036
+ /** @deprecated Use `zernio.adaccounts.updateAdNegativeKeywordList` instead. */
2037
+ updateAdNegativeKeywordList: this._bind(updateAdNegativeKeywordList),
2038
+ /** @deprecated Use `zernio.adaccounts.deleteAdNegativeKeywordList` instead. */
2039
+ deleteAdNegativeKeywordList: this._bind(deleteAdNegativeKeywordList),
2040
+ /** @deprecated Use `zernio.adaccounts.replaceAdNegativeKeywordListKeywords` instead. */
2041
+ replaceAdNegativeKeywordListKeywords: this._bind(replaceAdNegativeKeywordListKeywords),
2010
2042
  /** @deprecated Use `zernio.adaccounts.listAccountCallouts` instead. */
2011
2043
  listAccountCallouts: this._bind(listAccountCallouts),
2012
2044
  /** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */