@zernio/node 0.2.732 → 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/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.732",
39
+ version: "0.2.733",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -3451,12 +3451,54 @@ var updateAdStatus = (options) => {
3451
3451
  url: "/v1/ads/{adId}/status"
3452
3452
  });
3453
3453
  };
3454
+ var listCampaignAssets = (options) => {
3455
+ return (options?.client ?? client).get({
3456
+ ...options,
3457
+ url: "/v1/ads/campaigns/{campaignId}/assets"
3458
+ });
3459
+ };
3454
3460
  var attachCampaignAssets = (options) => {
3455
3461
  return (options?.client ?? client).post({
3456
3462
  ...options,
3457
3463
  url: "/v1/ads/campaigns/{campaignId}/assets"
3458
3464
  });
3459
3465
  };
3466
+ var updateCampaignAssets = (options) => {
3467
+ return (options?.client ?? client).put({
3468
+ ...options,
3469
+ url: "/v1/ads/campaigns/{campaignId}/assets"
3470
+ });
3471
+ };
3472
+ var removeCampaignAssets = (options) => {
3473
+ return (options?.client ?? client).delete({
3474
+ ...options,
3475
+ url: "/v1/ads/campaigns/{campaignId}/assets"
3476
+ });
3477
+ };
3478
+ var listAdGroupAssets = (options) => {
3479
+ return (options?.client ?? client).get({
3480
+ ...options,
3481
+ url: "/v1/ads/ad-sets/{adSetId}/assets"
3482
+ });
3483
+ };
3484
+ var attachAdGroupAssets = (options) => {
3485
+ return (options?.client ?? client).post({
3486
+ ...options,
3487
+ url: "/v1/ads/ad-sets/{adSetId}/assets"
3488
+ });
3489
+ };
3490
+ var updateAdGroupAssets = (options) => {
3491
+ return (options?.client ?? client).put({
3492
+ ...options,
3493
+ url: "/v1/ads/ad-sets/{adSetId}/assets"
3494
+ });
3495
+ };
3496
+ var removeAdGroupAssets = (options) => {
3497
+ return (options?.client ?? client).delete({
3498
+ ...options,
3499
+ url: "/v1/ads/ad-sets/{adSetId}/assets"
3500
+ });
3501
+ };
3460
3502
  var getCampaignAnalytics = (options) => {
3461
3503
  return (options?.client ?? client).get({
3462
3504
  ...options,
@@ -3757,12 +3799,66 @@ var addAccountCallouts = (options) => {
3757
3799
  url: "/v1/ads/accounts/callouts"
3758
3800
  });
3759
3801
  };
3802
+ var updateAccountCallouts = (options) => {
3803
+ return (options?.client ?? client).put({
3804
+ ...options,
3805
+ url: "/v1/ads/accounts/callouts"
3806
+ });
3807
+ };
3760
3808
  var removeAccountCallout = (options) => {
3761
3809
  return (options?.client ?? client).delete({
3762
3810
  ...options,
3763
3811
  url: "/v1/ads/accounts/callouts"
3764
3812
  });
3765
3813
  };
3814
+ var listAccountSitelinks = (options) => {
3815
+ return (options?.client ?? client).get({
3816
+ ...options,
3817
+ url: "/v1/ads/accounts/sitelinks"
3818
+ });
3819
+ };
3820
+ var addAccountSitelinks = (options) => {
3821
+ return (options?.client ?? client).post({
3822
+ ...options,
3823
+ url: "/v1/ads/accounts/sitelinks"
3824
+ });
3825
+ };
3826
+ var updateAccountSitelinks = (options) => {
3827
+ return (options?.client ?? client).put({
3828
+ ...options,
3829
+ url: "/v1/ads/accounts/sitelinks"
3830
+ });
3831
+ };
3832
+ var removeAccountSitelink = (options) => {
3833
+ return (options?.client ?? client).delete({
3834
+ ...options,
3835
+ url: "/v1/ads/accounts/sitelinks"
3836
+ });
3837
+ };
3838
+ var listAccountStructuredSnippets = (options) => {
3839
+ return (options?.client ?? client).get({
3840
+ ...options,
3841
+ url: "/v1/ads/accounts/structured-snippets"
3842
+ });
3843
+ };
3844
+ var addAccountStructuredSnippets = (options) => {
3845
+ return (options?.client ?? client).post({
3846
+ ...options,
3847
+ url: "/v1/ads/accounts/structured-snippets"
3848
+ });
3849
+ };
3850
+ var updateAccountStructuredSnippets = (options) => {
3851
+ return (options?.client ?? client).put({
3852
+ ...options,
3853
+ url: "/v1/ads/accounts/structured-snippets"
3854
+ });
3855
+ };
3856
+ var removeAccountStructuredSnippet = (options) => {
3857
+ return (options?.client ?? client).delete({
3858
+ ...options,
3859
+ url: "/v1/ads/accounts/structured-snippets"
3860
+ });
3861
+ };
3766
3862
  var getAdAccountFinance = (options) => {
3767
3863
  return (options?.client ?? client).get({
3768
3864
  ...options,
@@ -5429,7 +5525,14 @@ var Zernio = class _Zernio {
5429
5525
  updateAd: this._bind(updateAd),
5430
5526
  deleteAd: this._bind(deleteAd),
5431
5527
  updateAdStatus: this._bind(updateAdStatus),
5528
+ listCampaignAssets: this._bind(listCampaignAssets),
5432
5529
  attachCampaignAssets: this._bind(attachCampaignAssets),
5530
+ updateCampaignAssets: this._bind(updateCampaignAssets),
5531
+ removeCampaignAssets: this._bind(removeCampaignAssets),
5532
+ listAdGroupAssets: this._bind(listAdGroupAssets),
5533
+ attachAdGroupAssets: this._bind(attachAdGroupAssets),
5534
+ updateAdGroupAssets: this._bind(updateAdGroupAssets),
5535
+ removeAdGroupAssets: this._bind(removeAdGroupAssets),
5433
5536
  listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
5434
5537
  replaceCampaignNegativeKeywordLists: this._bind(replaceCampaignNegativeKeywordLists),
5435
5538
  boostPost: this._bind(boostPost),
@@ -5516,7 +5619,16 @@ var Zernio = class _Zernio {
5516
5619
  replaceAdNegativeKeywordListKeywords: this._bind(replaceAdNegativeKeywordListKeywords),
5517
5620
  listAccountCallouts: this._bind(listAccountCallouts),
5518
5621
  addAccountCallouts: this._bind(addAccountCallouts),
5622
+ updateAccountCallouts: this._bind(updateAccountCallouts),
5519
5623
  removeAccountCallout: this._bind(removeAccountCallout),
5624
+ listAccountSitelinks: this._bind(listAccountSitelinks),
5625
+ addAccountSitelinks: this._bind(addAccountSitelinks),
5626
+ updateAccountSitelinks: this._bind(updateAccountSitelinks),
5627
+ removeAccountSitelink: this._bind(removeAccountSitelink),
5628
+ listAccountStructuredSnippets: this._bind(listAccountStructuredSnippets),
5629
+ addAccountStructuredSnippets: this._bind(addAccountStructuredSnippets),
5630
+ updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
5631
+ removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
5520
5632
  getAdAccountFinance: this._bind(getAdAccountFinance),
5521
5633
  listAdAccounts: this._bind(listAdAccounts),
5522
5634
  updateAdAccount: this._bind(updateAdAccount),
@@ -5758,8 +5870,22 @@ var Zernio = class _Zernio {
5758
5870
  deleteAd: this._bind(deleteAd),
5759
5871
  /** @deprecated Use `zernio.adcampaigns.updateAdStatus` instead. */
5760
5872
  updateAdStatus: this._bind(updateAdStatus),
5873
+ /** @deprecated Use `zernio.adcampaigns.listCampaignAssets` instead. */
5874
+ listCampaignAssets: this._bind(listCampaignAssets),
5761
5875
  /** @deprecated Use `zernio.adcampaigns.attachCampaignAssets` instead. */
5762
5876
  attachCampaignAssets: this._bind(attachCampaignAssets),
5877
+ /** @deprecated Use `zernio.adcampaigns.updateCampaignAssets` instead. */
5878
+ updateCampaignAssets: this._bind(updateCampaignAssets),
5879
+ /** @deprecated Use `zernio.adcampaigns.removeCampaignAssets` instead. */
5880
+ removeCampaignAssets: this._bind(removeCampaignAssets),
5881
+ /** @deprecated Use `zernio.adcampaigns.listAdGroupAssets` instead. */
5882
+ listAdGroupAssets: this._bind(listAdGroupAssets),
5883
+ /** @deprecated Use `zernio.adcampaigns.attachAdGroupAssets` instead. */
5884
+ attachAdGroupAssets: this._bind(attachAdGroupAssets),
5885
+ /** @deprecated Use `zernio.adcampaigns.updateAdGroupAssets` instead. */
5886
+ updateAdGroupAssets: this._bind(updateAdGroupAssets),
5887
+ /** @deprecated Use `zernio.adcampaigns.removeAdGroupAssets` instead. */
5888
+ removeAdGroupAssets: this._bind(removeAdGroupAssets),
5763
5889
  /** @deprecated Use `zernio.adcampaigns.listCampaignNegativeKeywordLists` instead. */
5764
5890
  listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
5765
5891
  /** @deprecated Use `zernio.adcampaigns.replaceCampaignNegativeKeywordLists` instead. */
@@ -5822,8 +5948,26 @@ var Zernio = class _Zernio {
5822
5948
  listAccountCallouts: this._bind(listAccountCallouts),
5823
5949
  /** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
5824
5950
  addAccountCallouts: this._bind(addAccountCallouts),
5951
+ /** @deprecated Use `zernio.adaccounts.updateAccountCallouts` instead. */
5952
+ updateAccountCallouts: this._bind(updateAccountCallouts),
5825
5953
  /** @deprecated Use `zernio.adaccounts.removeAccountCallout` instead. */
5826
5954
  removeAccountCallout: this._bind(removeAccountCallout),
5955
+ /** @deprecated Use `zernio.adaccounts.listAccountSitelinks` instead. */
5956
+ listAccountSitelinks: this._bind(listAccountSitelinks),
5957
+ /** @deprecated Use `zernio.adaccounts.addAccountSitelinks` instead. */
5958
+ addAccountSitelinks: this._bind(addAccountSitelinks),
5959
+ /** @deprecated Use `zernio.adaccounts.updateAccountSitelinks` instead. */
5960
+ updateAccountSitelinks: this._bind(updateAccountSitelinks),
5961
+ /** @deprecated Use `zernio.adaccounts.removeAccountSitelink` instead. */
5962
+ removeAccountSitelink: this._bind(removeAccountSitelink),
5963
+ /** @deprecated Use `zernio.adaccounts.listAccountStructuredSnippets` instead. */
5964
+ listAccountStructuredSnippets: this._bind(listAccountStructuredSnippets),
5965
+ /** @deprecated Use `zernio.adaccounts.addAccountStructuredSnippets` instead. */
5966
+ addAccountStructuredSnippets: this._bind(addAccountStructuredSnippets),
5967
+ /** @deprecated Use `zernio.adaccounts.updateAccountStructuredSnippets` instead. */
5968
+ updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
5969
+ /** @deprecated Use `zernio.adaccounts.removeAccountStructuredSnippet` instead. */
5970
+ removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
5827
5971
  /** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
5828
5972
  getAdAccountFinance: this._bind(getAdAccountFinance),
5829
5973
  /** @deprecated Use `zernio.adaccounts.listAdAccounts` 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.732",
8
+ version: "0.2.733",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -3420,12 +3420,54 @@ var updateAdStatus = (options) => {
3420
3420
  url: "/v1/ads/{adId}/status"
3421
3421
  });
3422
3422
  };
3423
+ var listCampaignAssets = (options) => {
3424
+ return (options?.client ?? client).get({
3425
+ ...options,
3426
+ url: "/v1/ads/campaigns/{campaignId}/assets"
3427
+ });
3428
+ };
3423
3429
  var attachCampaignAssets = (options) => {
3424
3430
  return (options?.client ?? client).post({
3425
3431
  ...options,
3426
3432
  url: "/v1/ads/campaigns/{campaignId}/assets"
3427
3433
  });
3428
3434
  };
3435
+ var updateCampaignAssets = (options) => {
3436
+ return (options?.client ?? client).put({
3437
+ ...options,
3438
+ url: "/v1/ads/campaigns/{campaignId}/assets"
3439
+ });
3440
+ };
3441
+ var removeCampaignAssets = (options) => {
3442
+ return (options?.client ?? client).delete({
3443
+ ...options,
3444
+ url: "/v1/ads/campaigns/{campaignId}/assets"
3445
+ });
3446
+ };
3447
+ var listAdGroupAssets = (options) => {
3448
+ return (options?.client ?? client).get({
3449
+ ...options,
3450
+ url: "/v1/ads/ad-sets/{adSetId}/assets"
3451
+ });
3452
+ };
3453
+ var attachAdGroupAssets = (options) => {
3454
+ return (options?.client ?? client).post({
3455
+ ...options,
3456
+ url: "/v1/ads/ad-sets/{adSetId}/assets"
3457
+ });
3458
+ };
3459
+ var updateAdGroupAssets = (options) => {
3460
+ return (options?.client ?? client).put({
3461
+ ...options,
3462
+ url: "/v1/ads/ad-sets/{adSetId}/assets"
3463
+ });
3464
+ };
3465
+ var removeAdGroupAssets = (options) => {
3466
+ return (options?.client ?? client).delete({
3467
+ ...options,
3468
+ url: "/v1/ads/ad-sets/{adSetId}/assets"
3469
+ });
3470
+ };
3429
3471
  var getCampaignAnalytics = (options) => {
3430
3472
  return (options?.client ?? client).get({
3431
3473
  ...options,
@@ -3726,12 +3768,66 @@ var addAccountCallouts = (options) => {
3726
3768
  url: "/v1/ads/accounts/callouts"
3727
3769
  });
3728
3770
  };
3771
+ var updateAccountCallouts = (options) => {
3772
+ return (options?.client ?? client).put({
3773
+ ...options,
3774
+ url: "/v1/ads/accounts/callouts"
3775
+ });
3776
+ };
3729
3777
  var removeAccountCallout = (options) => {
3730
3778
  return (options?.client ?? client).delete({
3731
3779
  ...options,
3732
3780
  url: "/v1/ads/accounts/callouts"
3733
3781
  });
3734
3782
  };
3783
+ var listAccountSitelinks = (options) => {
3784
+ return (options?.client ?? client).get({
3785
+ ...options,
3786
+ url: "/v1/ads/accounts/sitelinks"
3787
+ });
3788
+ };
3789
+ var addAccountSitelinks = (options) => {
3790
+ return (options?.client ?? client).post({
3791
+ ...options,
3792
+ url: "/v1/ads/accounts/sitelinks"
3793
+ });
3794
+ };
3795
+ var updateAccountSitelinks = (options) => {
3796
+ return (options?.client ?? client).put({
3797
+ ...options,
3798
+ url: "/v1/ads/accounts/sitelinks"
3799
+ });
3800
+ };
3801
+ var removeAccountSitelink = (options) => {
3802
+ return (options?.client ?? client).delete({
3803
+ ...options,
3804
+ url: "/v1/ads/accounts/sitelinks"
3805
+ });
3806
+ };
3807
+ var listAccountStructuredSnippets = (options) => {
3808
+ return (options?.client ?? client).get({
3809
+ ...options,
3810
+ url: "/v1/ads/accounts/structured-snippets"
3811
+ });
3812
+ };
3813
+ var addAccountStructuredSnippets = (options) => {
3814
+ return (options?.client ?? client).post({
3815
+ ...options,
3816
+ url: "/v1/ads/accounts/structured-snippets"
3817
+ });
3818
+ };
3819
+ var updateAccountStructuredSnippets = (options) => {
3820
+ return (options?.client ?? client).put({
3821
+ ...options,
3822
+ url: "/v1/ads/accounts/structured-snippets"
3823
+ });
3824
+ };
3825
+ var removeAccountStructuredSnippet = (options) => {
3826
+ return (options?.client ?? client).delete({
3827
+ ...options,
3828
+ url: "/v1/ads/accounts/structured-snippets"
3829
+ });
3830
+ };
3735
3831
  var getAdAccountFinance = (options) => {
3736
3832
  return (options?.client ?? client).get({
3737
3833
  ...options,
@@ -5398,7 +5494,14 @@ var Zernio = class _Zernio {
5398
5494
  updateAd: this._bind(updateAd),
5399
5495
  deleteAd: this._bind(deleteAd),
5400
5496
  updateAdStatus: this._bind(updateAdStatus),
5497
+ listCampaignAssets: this._bind(listCampaignAssets),
5401
5498
  attachCampaignAssets: this._bind(attachCampaignAssets),
5499
+ updateCampaignAssets: this._bind(updateCampaignAssets),
5500
+ removeCampaignAssets: this._bind(removeCampaignAssets),
5501
+ listAdGroupAssets: this._bind(listAdGroupAssets),
5502
+ attachAdGroupAssets: this._bind(attachAdGroupAssets),
5503
+ updateAdGroupAssets: this._bind(updateAdGroupAssets),
5504
+ removeAdGroupAssets: this._bind(removeAdGroupAssets),
5402
5505
  listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
5403
5506
  replaceCampaignNegativeKeywordLists: this._bind(replaceCampaignNegativeKeywordLists),
5404
5507
  boostPost: this._bind(boostPost),
@@ -5485,7 +5588,16 @@ var Zernio = class _Zernio {
5485
5588
  replaceAdNegativeKeywordListKeywords: this._bind(replaceAdNegativeKeywordListKeywords),
5486
5589
  listAccountCallouts: this._bind(listAccountCallouts),
5487
5590
  addAccountCallouts: this._bind(addAccountCallouts),
5591
+ updateAccountCallouts: this._bind(updateAccountCallouts),
5488
5592
  removeAccountCallout: this._bind(removeAccountCallout),
5593
+ listAccountSitelinks: this._bind(listAccountSitelinks),
5594
+ addAccountSitelinks: this._bind(addAccountSitelinks),
5595
+ updateAccountSitelinks: this._bind(updateAccountSitelinks),
5596
+ removeAccountSitelink: this._bind(removeAccountSitelink),
5597
+ listAccountStructuredSnippets: this._bind(listAccountStructuredSnippets),
5598
+ addAccountStructuredSnippets: this._bind(addAccountStructuredSnippets),
5599
+ updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
5600
+ removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
5489
5601
  getAdAccountFinance: this._bind(getAdAccountFinance),
5490
5602
  listAdAccounts: this._bind(listAdAccounts),
5491
5603
  updateAdAccount: this._bind(updateAdAccount),
@@ -5727,8 +5839,22 @@ var Zernio = class _Zernio {
5727
5839
  deleteAd: this._bind(deleteAd),
5728
5840
  /** @deprecated Use `zernio.adcampaigns.updateAdStatus` instead. */
5729
5841
  updateAdStatus: this._bind(updateAdStatus),
5842
+ /** @deprecated Use `zernio.adcampaigns.listCampaignAssets` instead. */
5843
+ listCampaignAssets: this._bind(listCampaignAssets),
5730
5844
  /** @deprecated Use `zernio.adcampaigns.attachCampaignAssets` instead. */
5731
5845
  attachCampaignAssets: this._bind(attachCampaignAssets),
5846
+ /** @deprecated Use `zernio.adcampaigns.updateCampaignAssets` instead. */
5847
+ updateCampaignAssets: this._bind(updateCampaignAssets),
5848
+ /** @deprecated Use `zernio.adcampaigns.removeCampaignAssets` instead. */
5849
+ removeCampaignAssets: this._bind(removeCampaignAssets),
5850
+ /** @deprecated Use `zernio.adcampaigns.listAdGroupAssets` instead. */
5851
+ listAdGroupAssets: this._bind(listAdGroupAssets),
5852
+ /** @deprecated Use `zernio.adcampaigns.attachAdGroupAssets` instead. */
5853
+ attachAdGroupAssets: this._bind(attachAdGroupAssets),
5854
+ /** @deprecated Use `zernio.adcampaigns.updateAdGroupAssets` instead. */
5855
+ updateAdGroupAssets: this._bind(updateAdGroupAssets),
5856
+ /** @deprecated Use `zernio.adcampaigns.removeAdGroupAssets` instead. */
5857
+ removeAdGroupAssets: this._bind(removeAdGroupAssets),
5732
5858
  /** @deprecated Use `zernio.adcampaigns.listCampaignNegativeKeywordLists` instead. */
5733
5859
  listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
5734
5860
  /** @deprecated Use `zernio.adcampaigns.replaceCampaignNegativeKeywordLists` instead. */
@@ -5791,8 +5917,26 @@ var Zernio = class _Zernio {
5791
5917
  listAccountCallouts: this._bind(listAccountCallouts),
5792
5918
  /** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
5793
5919
  addAccountCallouts: this._bind(addAccountCallouts),
5920
+ /** @deprecated Use `zernio.adaccounts.updateAccountCallouts` instead. */
5921
+ updateAccountCallouts: this._bind(updateAccountCallouts),
5794
5922
  /** @deprecated Use `zernio.adaccounts.removeAccountCallout` instead. */
5795
5923
  removeAccountCallout: this._bind(removeAccountCallout),
5924
+ /** @deprecated Use `zernio.adaccounts.listAccountSitelinks` instead. */
5925
+ listAccountSitelinks: this._bind(listAccountSitelinks),
5926
+ /** @deprecated Use `zernio.adaccounts.addAccountSitelinks` instead. */
5927
+ addAccountSitelinks: this._bind(addAccountSitelinks),
5928
+ /** @deprecated Use `zernio.adaccounts.updateAccountSitelinks` instead. */
5929
+ updateAccountSitelinks: this._bind(updateAccountSitelinks),
5930
+ /** @deprecated Use `zernio.adaccounts.removeAccountSitelink` instead. */
5931
+ removeAccountSitelink: this._bind(removeAccountSitelink),
5932
+ /** @deprecated Use `zernio.adaccounts.listAccountStructuredSnippets` instead. */
5933
+ listAccountStructuredSnippets: this._bind(listAccountStructuredSnippets),
5934
+ /** @deprecated Use `zernio.adaccounts.addAccountStructuredSnippets` instead. */
5935
+ addAccountStructuredSnippets: this._bind(addAccountStructuredSnippets),
5936
+ /** @deprecated Use `zernio.adaccounts.updateAccountStructuredSnippets` instead. */
5937
+ updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
5938
+ /** @deprecated Use `zernio.adaccounts.removeAccountStructuredSnippet` instead. */
5939
+ removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
5796
5940
  /** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
5797
5941
  getAdAccountFinance: this._bind(getAdAccountFinance),
5798
5942
  /** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.732",
3
+ "version": "0.2.733",
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
@@ -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,
@@ -385,6 +388,8 @@ import {
385
388
  likePost,
386
389
  listAccountCallouts,
387
390
  listAccountGroups,
391
+ listAccountSitelinks,
392
+ listAccountStructuredSnippets,
388
393
  listAccounts,
389
394
  listAdAccounts,
390
395
  listAdAudiences,
@@ -392,6 +397,7 @@ import {
392
397
  listAdCatalogProductSets,
393
398
  listAdCatalogs,
394
399
  listAdCreatives,
400
+ listAdGroupAssets,
395
401
  listAdImages,
396
402
  listAdKeywords,
397
403
  listAdLabels,
@@ -419,6 +425,7 @@ import {
419
425
  listBusinessAgentUiSkills,
420
426
  listBusinessAgentWebsites,
421
427
  listCalls,
428
+ listCampaignAssets,
422
429
  listCampaignNegativeKeywordLists,
423
430
  listCampaignNegativeKeywords,
424
431
  listCommentAutomationLogs,
@@ -515,9 +522,13 @@ import {
515
522
  remediatePhoneNumber,
516
523
  remediateWhatsAppNumber,
517
524
  removeAccountCallout,
525
+ removeAccountSitelink,
526
+ removeAccountStructuredSnippet,
527
+ removeAdGroupAssets,
518
528
  removeAdKeyword,
519
529
  removeBookmark,
520
530
  removeBusinessAgentAllowlistEntry,
531
+ removeCampaignAssets,
521
532
  removeConversionAssociations,
522
533
  removeDiscordMemberRole,
523
534
  removeMessageReaction,
@@ -609,13 +620,17 @@ import {
609
620
  unpinDiscordMessage,
610
621
  unpublishPost,
611
622
  updateAccount,
623
+ updateAccountCallouts,
612
624
  updateAccountGroup,
625
+ updateAccountSitelinks,
626
+ updateAccountStructuredSnippets,
613
627
  updateAd,
614
628
  updateAdAccount,
615
629
  updateAdAudience,
616
630
  updateAdCampaign,
617
631
  updateAdCampaignStatus,
618
632
  updateAdCreative,
633
+ updateAdGroupAssets,
619
634
  updateAdKeyword,
620
635
  updateAdNegativeKeywordList,
621
636
  updateAdSet,
@@ -634,6 +649,7 @@ import {
634
649
  updateBusinessAgentSkill,
635
650
  updateBusinessAgentUiSkill,
636
651
  updateBusinessAgentWebsite,
652
+ updateCampaignAssets,
637
653
  updateCampaignTargeting,
638
654
  updateCommentAutomation,
639
655
  updateContact,
@@ -1659,7 +1675,14 @@ export class Zernio {
1659
1675
  updateAd: this._bind(updateAd),
1660
1676
  deleteAd: this._bind(deleteAd),
1661
1677
  updateAdStatus: this._bind(updateAdStatus),
1678
+ listCampaignAssets: this._bind(listCampaignAssets),
1662
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),
1663
1686
  listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
1664
1687
  replaceCampaignNegativeKeywordLists: this._bind(replaceCampaignNegativeKeywordLists),
1665
1688
  boostPost: this._bind(boostPost),
@@ -1750,7 +1773,16 @@ export class Zernio {
1750
1773
  replaceAdNegativeKeywordListKeywords: this._bind(replaceAdNegativeKeywordListKeywords),
1751
1774
  listAccountCallouts: this._bind(listAccountCallouts),
1752
1775
  addAccountCallouts: this._bind(addAccountCallouts),
1776
+ updateAccountCallouts: this._bind(updateAccountCallouts),
1753
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),
1754
1786
  getAdAccountFinance: this._bind(getAdAccountFinance),
1755
1787
  listAdAccounts: this._bind(listAdAccounts),
1756
1788
  updateAdAccount: this._bind(updateAdAccount),
@@ -2003,8 +2035,22 @@ export class Zernio {
2003
2035
  deleteAd: this._bind(deleteAd),
2004
2036
  /** @deprecated Use `zernio.adcampaigns.updateAdStatus` instead. */
2005
2037
  updateAdStatus: this._bind(updateAdStatus),
2038
+ /** @deprecated Use `zernio.adcampaigns.listCampaignAssets` instead. */
2039
+ listCampaignAssets: this._bind(listCampaignAssets),
2006
2040
  /** @deprecated Use `zernio.adcampaigns.attachCampaignAssets` instead. */
2007
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),
2008
2054
  /** @deprecated Use `zernio.adcampaigns.listCampaignNegativeKeywordLists` instead. */
2009
2055
  listCampaignNegativeKeywordLists: this._bind(listCampaignNegativeKeywordLists),
2010
2056
  /** @deprecated Use `zernio.adcampaigns.replaceCampaignNegativeKeywordLists` instead. */
@@ -2067,8 +2113,26 @@ export class Zernio {
2067
2113
  listAccountCallouts: this._bind(listAccountCallouts),
2068
2114
  /** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
2069
2115
  addAccountCallouts: this._bind(addAccountCallouts),
2116
+ /** @deprecated Use `zernio.adaccounts.updateAccountCallouts` instead. */
2117
+ updateAccountCallouts: this._bind(updateAccountCallouts),
2070
2118
  /** @deprecated Use `zernio.adaccounts.removeAccountCallout` instead. */
2071
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),
2072
2136
  /** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
2073
2137
  getAdAccountFinance: this._bind(getAdAccountFinance),
2074
2138
  /** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */