@zernio/node 0.2.730 → 0.2.732

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.730",
39
+ version: "0.2.732",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -3535,6 +3535,24 @@ var getAdComments = (options) => {
3535
3535
  url: "/v1/ads/{adId}/comments"
3536
3536
  });
3537
3537
  };
3538
+ var replyToAdComment = (options) => {
3539
+ return (options?.client ?? client).post({
3540
+ ...options,
3541
+ url: "/v1/ads/{adId}/comments/{commentId}/reply"
3542
+ });
3543
+ };
3544
+ var hideAdComment = (options) => {
3545
+ return (options?.client ?? client).post({
3546
+ ...options,
3547
+ url: "/v1/ads/{adId}/comments/{commentId}/hide"
3548
+ });
3549
+ };
3550
+ var deleteAdComment = (options) => {
3551
+ return (options?.client ?? client).delete({
3552
+ ...options,
3553
+ url: "/v1/ads/{adId}/comments/{commentId}"
3554
+ });
3555
+ };
3538
3556
  var listAdsBusinessCenters = (options) => {
3539
3557
  return (options?.client ?? client).get({
3540
3558
  ...options,
@@ -3577,6 +3595,24 @@ var listAdStudies = (options) => {
3577
3595
  url: "/v1/ads/studies"
3578
3596
  });
3579
3597
  };
3598
+ var listAdsInstagramAccounts = (options) => {
3599
+ return (options?.client ?? client).get({
3600
+ ...options,
3601
+ url: "/v1/ads/instagram-accounts"
3602
+ });
3603
+ };
3604
+ var listAdvertisableApplications = (options) => {
3605
+ return (options?.client ?? client).get({
3606
+ ...options,
3607
+ url: "/v1/ads/advertisable-applications"
3608
+ });
3609
+ };
3610
+ var getIosFourteenCampaignLimits = (options) => {
3611
+ return (options?.client ?? client).get({
3612
+ ...options,
3613
+ url: "/v1/ads/ios-fourteen-campaign-limits"
3614
+ });
3615
+ };
3580
3616
  var listMetaBusinesses = (options) => {
3581
3617
  return (options?.client ?? client).get({
3582
3618
  ...options,
@@ -5454,9 +5490,15 @@ var Zernio = class _Zernio {
5454
5490
  */
5455
5491
  this.adaccounts = {
5456
5492
  getAdComments: this._bind(getAdComments),
5493
+ replyToAdComment: this._bind(replyToAdComment),
5494
+ hideAdComment: this._bind(hideAdComment),
5495
+ deleteAdComment: this._bind(deleteAdComment),
5457
5496
  listAdsBusinessCenters: this._bind(listAdsBusinessCenters),
5458
5497
  getAdsActivityLog: this._bind(getAdsActivityLog),
5459
5498
  listAdStudies: this._bind(listAdStudies),
5499
+ listAdsInstagramAccounts: this._bind(listAdsInstagramAccounts),
5500
+ listAdvertisableApplications: this._bind(listAdvertisableApplications),
5501
+ getIosFourteenCampaignLimits: this._bind(getIosFourteenCampaignLimits),
5460
5502
  listMetaBusinesses: this._bind(listMetaBusinesses),
5461
5503
  listAdLabels: this._bind(listAdLabels),
5462
5504
  listHighDemandPeriods: this._bind(listHighDemandPeriods),
@@ -5728,12 +5770,24 @@ var Zernio = class _Zernio {
5728
5770
  createStandaloneAd: this._bind(createStandaloneAd),
5729
5771
  /** @deprecated Use `zernio.adaccounts.getAdComments` instead. */
5730
5772
  getAdComments: this._bind(getAdComments),
5773
+ /** @deprecated Use `zernio.adaccounts.replyToAdComment` instead. */
5774
+ replyToAdComment: this._bind(replyToAdComment),
5775
+ /** @deprecated Use `zernio.adaccounts.hideAdComment` instead. */
5776
+ hideAdComment: this._bind(hideAdComment),
5777
+ /** @deprecated Use `zernio.adaccounts.deleteAdComment` instead. */
5778
+ deleteAdComment: this._bind(deleteAdComment),
5731
5779
  /** @deprecated Use `zernio.adaccounts.listAdsBusinessCenters` instead. */
5732
5780
  listAdsBusinessCenters: this._bind(listAdsBusinessCenters),
5733
5781
  /** @deprecated Use `zernio.adaccounts.getAdsActivityLog` instead. */
5734
5782
  getAdsActivityLog: this._bind(getAdsActivityLog),
5735
5783
  /** @deprecated Use `zernio.adaccounts.listAdStudies` instead. */
5736
5784
  listAdStudies: this._bind(listAdStudies),
5785
+ /** @deprecated Use `zernio.adaccounts.listAdsInstagramAccounts` instead. */
5786
+ listAdsInstagramAccounts: this._bind(listAdsInstagramAccounts),
5787
+ /** @deprecated Use `zernio.adaccounts.listAdvertisableApplications` instead. */
5788
+ listAdvertisableApplications: this._bind(listAdvertisableApplications),
5789
+ /** @deprecated Use `zernio.adaccounts.getIosFourteenCampaignLimits` instead. */
5790
+ getIosFourteenCampaignLimits: this._bind(getIosFourteenCampaignLimits),
5737
5791
  /** @deprecated Use `zernio.adaccounts.listMetaBusinesses` instead. */
5738
5792
  listMetaBusinesses: this._bind(listMetaBusinesses),
5739
5793
  /** @deprecated Use `zernio.adaccounts.listAdLabels` 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.730",
8
+ version: "0.2.732",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -3504,6 +3504,24 @@ var getAdComments = (options) => {
3504
3504
  url: "/v1/ads/{adId}/comments"
3505
3505
  });
3506
3506
  };
3507
+ var replyToAdComment = (options) => {
3508
+ return (options?.client ?? client).post({
3509
+ ...options,
3510
+ url: "/v1/ads/{adId}/comments/{commentId}/reply"
3511
+ });
3512
+ };
3513
+ var hideAdComment = (options) => {
3514
+ return (options?.client ?? client).post({
3515
+ ...options,
3516
+ url: "/v1/ads/{adId}/comments/{commentId}/hide"
3517
+ });
3518
+ };
3519
+ var deleteAdComment = (options) => {
3520
+ return (options?.client ?? client).delete({
3521
+ ...options,
3522
+ url: "/v1/ads/{adId}/comments/{commentId}"
3523
+ });
3524
+ };
3507
3525
  var listAdsBusinessCenters = (options) => {
3508
3526
  return (options?.client ?? client).get({
3509
3527
  ...options,
@@ -3546,6 +3564,24 @@ var listAdStudies = (options) => {
3546
3564
  url: "/v1/ads/studies"
3547
3565
  });
3548
3566
  };
3567
+ var listAdsInstagramAccounts = (options) => {
3568
+ return (options?.client ?? client).get({
3569
+ ...options,
3570
+ url: "/v1/ads/instagram-accounts"
3571
+ });
3572
+ };
3573
+ var listAdvertisableApplications = (options) => {
3574
+ return (options?.client ?? client).get({
3575
+ ...options,
3576
+ url: "/v1/ads/advertisable-applications"
3577
+ });
3578
+ };
3579
+ var getIosFourteenCampaignLimits = (options) => {
3580
+ return (options?.client ?? client).get({
3581
+ ...options,
3582
+ url: "/v1/ads/ios-fourteen-campaign-limits"
3583
+ });
3584
+ };
3549
3585
  var listMetaBusinesses = (options) => {
3550
3586
  return (options?.client ?? client).get({
3551
3587
  ...options,
@@ -5423,9 +5459,15 @@ var Zernio = class _Zernio {
5423
5459
  */
5424
5460
  this.adaccounts = {
5425
5461
  getAdComments: this._bind(getAdComments),
5462
+ replyToAdComment: this._bind(replyToAdComment),
5463
+ hideAdComment: this._bind(hideAdComment),
5464
+ deleteAdComment: this._bind(deleteAdComment),
5426
5465
  listAdsBusinessCenters: this._bind(listAdsBusinessCenters),
5427
5466
  getAdsActivityLog: this._bind(getAdsActivityLog),
5428
5467
  listAdStudies: this._bind(listAdStudies),
5468
+ listAdsInstagramAccounts: this._bind(listAdsInstagramAccounts),
5469
+ listAdvertisableApplications: this._bind(listAdvertisableApplications),
5470
+ getIosFourteenCampaignLimits: this._bind(getIosFourteenCampaignLimits),
5429
5471
  listMetaBusinesses: this._bind(listMetaBusinesses),
5430
5472
  listAdLabels: this._bind(listAdLabels),
5431
5473
  listHighDemandPeriods: this._bind(listHighDemandPeriods),
@@ -5697,12 +5739,24 @@ var Zernio = class _Zernio {
5697
5739
  createStandaloneAd: this._bind(createStandaloneAd),
5698
5740
  /** @deprecated Use `zernio.adaccounts.getAdComments` instead. */
5699
5741
  getAdComments: this._bind(getAdComments),
5742
+ /** @deprecated Use `zernio.adaccounts.replyToAdComment` instead. */
5743
+ replyToAdComment: this._bind(replyToAdComment),
5744
+ /** @deprecated Use `zernio.adaccounts.hideAdComment` instead. */
5745
+ hideAdComment: this._bind(hideAdComment),
5746
+ /** @deprecated Use `zernio.adaccounts.deleteAdComment` instead. */
5747
+ deleteAdComment: this._bind(deleteAdComment),
5700
5748
  /** @deprecated Use `zernio.adaccounts.listAdsBusinessCenters` instead. */
5701
5749
  listAdsBusinessCenters: this._bind(listAdsBusinessCenters),
5702
5750
  /** @deprecated Use `zernio.adaccounts.getAdsActivityLog` instead. */
5703
5751
  getAdsActivityLog: this._bind(getAdsActivityLog),
5704
5752
  /** @deprecated Use `zernio.adaccounts.listAdStudies` instead. */
5705
5753
  listAdStudies: this._bind(listAdStudies),
5754
+ /** @deprecated Use `zernio.adaccounts.listAdsInstagramAccounts` instead. */
5755
+ listAdsInstagramAccounts: this._bind(listAdsInstagramAccounts),
5756
+ /** @deprecated Use `zernio.adaccounts.listAdvertisableApplications` instead. */
5757
+ listAdvertisableApplications: this._bind(listAdvertisableApplications),
5758
+ /** @deprecated Use `zernio.adaccounts.getIosFourteenCampaignLimits` instead. */
5759
+ getIosFourteenCampaignLimits: this._bind(getIosFourteenCampaignLimits),
5706
5760
  /** @deprecated Use `zernio.adaccounts.listMetaBusinesses` instead. */
5707
5761
  listMetaBusinesses: this._bind(listMetaBusinesses),
5708
5762
  /** @deprecated Use `zernio.adaccounts.listAdLabels` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.730",
3
+ "version": "0.2.732",
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
@@ -117,6 +117,7 @@ import {
117
117
  deleteAd,
118
118
  deleteAdAudience,
119
119
  deleteAdCampaign,
120
+ deleteAdComment,
120
121
  deleteAdCreative,
121
122
  deleteAdNegativeKeywordList,
122
123
  deleteAdSet,
@@ -284,6 +285,7 @@ import {
284
285
  getInstagramIceBreakers,
285
286
  getInstagramPublishingLimit,
286
287
  getInstagramStoryInsights,
288
+ getIosFourteenCampaignLimits,
287
289
  getLeadForm,
288
290
  getLinkedInAggregateAnalytics,
289
291
  getLinkedInBidPricing,
@@ -375,6 +377,7 @@ import {
375
377
  getYoutubeCaptions,
376
378
  getYoutubePlaylists,
377
379
  handleOAuthCallback,
380
+ hideAdComment,
378
381
  hideInboxComment,
379
382
  initiateTelegramConnect,
380
383
  initiateWhatsAppCall,
@@ -398,6 +401,8 @@ import {
398
401
  listAdVideos,
399
402
  listAds,
400
403
  listAdsBusinessCenters,
404
+ listAdsInstagramAccounts,
405
+ listAdvertisableApplications,
401
406
  listApiKeys,
402
407
  listBidStrategies,
403
408
  listBlogArticles,
@@ -524,6 +529,7 @@ import {
524
529
  replaceBusinessAgentBusinessInformation,
525
530
  replaceCampaignNegativeKeywordLists,
526
531
  replaceCampaignNegativeKeywords,
532
+ replyToAdComment,
527
533
  replyToGoogleBusinessReview,
528
534
  replyToInboxPost,
529
535
  replyToInboxReview,
@@ -1718,9 +1724,15 @@ export class Zernio {
1718
1724
  */
1719
1725
  adaccounts = {
1720
1726
  getAdComments: this._bind(getAdComments),
1727
+ replyToAdComment: this._bind(replyToAdComment),
1728
+ hideAdComment: this._bind(hideAdComment),
1729
+ deleteAdComment: this._bind(deleteAdComment),
1721
1730
  listAdsBusinessCenters: this._bind(listAdsBusinessCenters),
1722
1731
  getAdsActivityLog: this._bind(getAdsActivityLog),
1723
1732
  listAdStudies: this._bind(listAdStudies),
1733
+ listAdsInstagramAccounts: this._bind(listAdsInstagramAccounts),
1734
+ listAdvertisableApplications: this._bind(listAdvertisableApplications),
1735
+ getIosFourteenCampaignLimits: this._bind(getIosFourteenCampaignLimits),
1724
1736
  listMetaBusinesses: this._bind(listMetaBusinesses),
1725
1737
  listAdLabels: this._bind(listAdLabels),
1726
1738
  listHighDemandPeriods: this._bind(listHighDemandPeriods),
@@ -2003,12 +2015,24 @@ export class Zernio {
2003
2015
  createStandaloneAd: this._bind(createStandaloneAd),
2004
2016
  /** @deprecated Use `zernio.adaccounts.getAdComments` instead. */
2005
2017
  getAdComments: this._bind(getAdComments),
2018
+ /** @deprecated Use `zernio.adaccounts.replyToAdComment` instead. */
2019
+ replyToAdComment: this._bind(replyToAdComment),
2020
+ /** @deprecated Use `zernio.adaccounts.hideAdComment` instead. */
2021
+ hideAdComment: this._bind(hideAdComment),
2022
+ /** @deprecated Use `zernio.adaccounts.deleteAdComment` instead. */
2023
+ deleteAdComment: this._bind(deleteAdComment),
2006
2024
  /** @deprecated Use `zernio.adaccounts.listAdsBusinessCenters` instead. */
2007
2025
  listAdsBusinessCenters: this._bind(listAdsBusinessCenters),
2008
2026
  /** @deprecated Use `zernio.adaccounts.getAdsActivityLog` instead. */
2009
2027
  getAdsActivityLog: this._bind(getAdsActivityLog),
2010
2028
  /** @deprecated Use `zernio.adaccounts.listAdStudies` instead. */
2011
2029
  listAdStudies: this._bind(listAdStudies),
2030
+ /** @deprecated Use `zernio.adaccounts.listAdsInstagramAccounts` instead. */
2031
+ listAdsInstagramAccounts: this._bind(listAdsInstagramAccounts),
2032
+ /** @deprecated Use `zernio.adaccounts.listAdvertisableApplications` instead. */
2033
+ listAdvertisableApplications: this._bind(listAdvertisableApplications),
2034
+ /** @deprecated Use `zernio.adaccounts.getIosFourteenCampaignLimits` instead. */
2035
+ getIosFourteenCampaignLimits: this._bind(getIosFourteenCampaignLimits),
2012
2036
  /** @deprecated Use `zernio.adaccounts.listMetaBusinesses` instead. */
2013
2037
  listMetaBusinesses: this._bind(listMetaBusinesses),
2014
2038
  /** @deprecated Use `zernio.adaccounts.listAdLabels` instead. */