@zernio/node 0.2.718 → 0.2.720

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.718",
39
+ version: "0.2.720",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -3217,6 +3217,24 @@ var getAdsSearchTerms = (options) => {
3217
3217
  url: "/v1/ads/search-terms"
3218
3218
  });
3219
3219
  };
3220
+ var listBidStrategies = (options) => {
3221
+ return (options?.client ?? client).get({
3222
+ ...options,
3223
+ url: "/v1/ads/bid-strategies"
3224
+ });
3225
+ };
3226
+ var createBidStrategy = (options) => {
3227
+ return (options?.client ?? client).post({
3228
+ ...options,
3229
+ url: "/v1/ads/bid-strategies"
3230
+ });
3231
+ };
3232
+ var updateBidStrategy = (options) => {
3233
+ return (options?.client ?? client).patch({
3234
+ ...options,
3235
+ url: "/v1/ads/bid-strategies/{strategyId}"
3236
+ });
3237
+ };
3220
3238
  var listLocalServicesLeads = (options) => {
3221
3239
  return (options?.client ?? client).get({
3222
3240
  ...options,
@@ -3271,6 +3289,12 @@ var updateAdCampaignStatus = (options) => {
3271
3289
  url: "/v1/ads/campaigns/{campaignId}/status"
3272
3290
  });
3273
3291
  };
3292
+ var getCampaignBidding = (options) => {
3293
+ return (options?.client ?? client).get({
3294
+ ...options,
3295
+ url: "/v1/ads/campaigns/{campaignId}/bidding"
3296
+ });
3297
+ };
3274
3298
  var updateAdCampaign = (options) => {
3275
3299
  return (options?.client ?? client).put({
3276
3300
  ...options,
@@ -4930,6 +4954,9 @@ var Zernio = class _Zernio {
4930
4954
  */
4931
4955
  this.adcampaigns = {
4932
4956
  listAds: this._bind(listAds),
4957
+ listBidStrategies: this._bind(listBidStrategies),
4958
+ createBidStrategy: this._bind(createBidStrategy),
4959
+ updateBidStrategy: this._bind(updateBidStrategy),
4933
4960
  listAdKeywords: this._bind(listAdKeywords),
4934
4961
  addAdKeywords: this._bind(addAdKeywords),
4935
4962
  updateAdKeyword: this._bind(updateAdKeyword),
@@ -4937,6 +4964,7 @@ var Zernio = class _Zernio {
4937
4964
  listAdCampaigns: this._bind(listAdCampaigns),
4938
4965
  createAdCampaign: this._bind(createAdCampaign),
4939
4966
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
4967
+ getCampaignBidding: this._bind(getCampaignBidding),
4940
4968
  updateAdCampaign: this._bind(updateAdCampaign),
4941
4969
  deleteAdCampaign: this._bind(deleteAdCampaign),
4942
4970
  listCampaignNegativeKeywords: this._bind(listCampaignNegativeKeywords),
@@ -5148,6 +5176,12 @@ var Zernio = class _Zernio {
5148
5176
  this.ads = {
5149
5177
  /** @deprecated Use `zernio.adcampaigns.listAds` instead. */
5150
5178
  listAds: this._bind(listAds),
5179
+ /** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
5180
+ listBidStrategies: this._bind(listBidStrategies),
5181
+ /** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
5182
+ createBidStrategy: this._bind(createBidStrategy),
5183
+ /** @deprecated Use `zernio.adcampaigns.updateBidStrategy` instead. */
5184
+ updateBidStrategy: this._bind(updateBidStrategy),
5151
5185
  /** @deprecated Use `zernio.adcampaigns.listAdKeywords` instead. */
5152
5186
  listAdKeywords: this._bind(listAdKeywords),
5153
5187
  /** @deprecated Use `zernio.adcampaigns.addAdKeywords` instead. */
@@ -5162,6 +5196,8 @@ var Zernio = class _Zernio {
5162
5196
  createAdCampaign: this._bind(createAdCampaign),
5163
5197
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaignStatus` instead. */
5164
5198
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
5199
+ /** @deprecated Use `zernio.adcampaigns.getCampaignBidding` instead. */
5200
+ getCampaignBidding: this._bind(getCampaignBidding),
5165
5201
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaign` instead. */
5166
5202
  updateAdCampaign: this._bind(updateAdCampaign),
5167
5203
  /** @deprecated Use `zernio.adcampaigns.deleteAdCampaign` 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.718",
8
+ version: "0.2.720",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -3186,6 +3186,24 @@ var getAdsSearchTerms = (options) => {
3186
3186
  url: "/v1/ads/search-terms"
3187
3187
  });
3188
3188
  };
3189
+ var listBidStrategies = (options) => {
3190
+ return (options?.client ?? client).get({
3191
+ ...options,
3192
+ url: "/v1/ads/bid-strategies"
3193
+ });
3194
+ };
3195
+ var createBidStrategy = (options) => {
3196
+ return (options?.client ?? client).post({
3197
+ ...options,
3198
+ url: "/v1/ads/bid-strategies"
3199
+ });
3200
+ };
3201
+ var updateBidStrategy = (options) => {
3202
+ return (options?.client ?? client).patch({
3203
+ ...options,
3204
+ url: "/v1/ads/bid-strategies/{strategyId}"
3205
+ });
3206
+ };
3189
3207
  var listLocalServicesLeads = (options) => {
3190
3208
  return (options?.client ?? client).get({
3191
3209
  ...options,
@@ -3240,6 +3258,12 @@ var updateAdCampaignStatus = (options) => {
3240
3258
  url: "/v1/ads/campaigns/{campaignId}/status"
3241
3259
  });
3242
3260
  };
3261
+ var getCampaignBidding = (options) => {
3262
+ return (options?.client ?? client).get({
3263
+ ...options,
3264
+ url: "/v1/ads/campaigns/{campaignId}/bidding"
3265
+ });
3266
+ };
3243
3267
  var updateAdCampaign = (options) => {
3244
3268
  return (options?.client ?? client).put({
3245
3269
  ...options,
@@ -4899,6 +4923,9 @@ var Zernio = class _Zernio {
4899
4923
  */
4900
4924
  this.adcampaigns = {
4901
4925
  listAds: this._bind(listAds),
4926
+ listBidStrategies: this._bind(listBidStrategies),
4927
+ createBidStrategy: this._bind(createBidStrategy),
4928
+ updateBidStrategy: this._bind(updateBidStrategy),
4902
4929
  listAdKeywords: this._bind(listAdKeywords),
4903
4930
  addAdKeywords: this._bind(addAdKeywords),
4904
4931
  updateAdKeyword: this._bind(updateAdKeyword),
@@ -4906,6 +4933,7 @@ var Zernio = class _Zernio {
4906
4933
  listAdCampaigns: this._bind(listAdCampaigns),
4907
4934
  createAdCampaign: this._bind(createAdCampaign),
4908
4935
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
4936
+ getCampaignBidding: this._bind(getCampaignBidding),
4909
4937
  updateAdCampaign: this._bind(updateAdCampaign),
4910
4938
  deleteAdCampaign: this._bind(deleteAdCampaign),
4911
4939
  listCampaignNegativeKeywords: this._bind(listCampaignNegativeKeywords),
@@ -5117,6 +5145,12 @@ var Zernio = class _Zernio {
5117
5145
  this.ads = {
5118
5146
  /** @deprecated Use `zernio.adcampaigns.listAds` instead. */
5119
5147
  listAds: this._bind(listAds),
5148
+ /** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
5149
+ listBidStrategies: this._bind(listBidStrategies),
5150
+ /** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
5151
+ createBidStrategy: this._bind(createBidStrategy),
5152
+ /** @deprecated Use `zernio.adcampaigns.updateBidStrategy` instead. */
5153
+ updateBidStrategy: this._bind(updateBidStrategy),
5120
5154
  /** @deprecated Use `zernio.adcampaigns.listAdKeywords` instead. */
5121
5155
  listAdKeywords: this._bind(listAdKeywords),
5122
5156
  /** @deprecated Use `zernio.adcampaigns.addAdKeywords` instead. */
@@ -5131,6 +5165,8 @@ var Zernio = class _Zernio {
5131
5165
  createAdCampaign: this._bind(createAdCampaign),
5132
5166
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaignStatus` instead. */
5133
5167
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
5168
+ /** @deprecated Use `zernio.adcampaigns.getCampaignBidding` instead. */
5169
+ getCampaignBidding: this._bind(getCampaignBidding),
5134
5170
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaign` instead. */
5135
5171
  updateAdCampaign: this._bind(updateAdCampaign),
5136
5172
  /** @deprecated Use `zernio.adcampaigns.deleteAdCampaign` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.718",
3
+ "version": "0.2.720",
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
  createAdInsightsReport,
54
54
  createAdSet,
55
55
  createApiKey,
56
+ createBidStrategy,
56
57
  createBlog,
57
58
  createBlogArticle,
58
59
  createBroadcast,
@@ -204,6 +205,7 @@ import {
204
205
  getCallRecording,
205
206
  getCallsUsage,
206
207
  getCampaignAnalytics,
208
+ getCampaignBidding,
207
209
  getCampaignTargeting,
208
210
  getCommentAutomation,
209
211
  getConnectUrl,
@@ -366,6 +368,7 @@ import {
366
368
  listAds,
367
369
  listAdsBusinessCenters,
368
370
  listApiKeys,
371
+ listBidStrategies,
369
372
  listBlogArticles,
370
373
  listBlogs,
371
374
  listBroadcastRecipients,
@@ -555,6 +558,7 @@ import {
555
558
  updateAdSetStatus,
556
559
  updateAdStatus,
557
560
  updateAdTrackingTags,
561
+ updateBidStrategy,
558
562
  updateBlog,
559
563
  updateBlogArticle,
560
564
  updateBlueskySettings,
@@ -1545,6 +1549,9 @@ export class Zernio {
1545
1549
  */
1546
1550
  adcampaigns = {
1547
1551
  listAds: this._bind(listAds),
1552
+ listBidStrategies: this._bind(listBidStrategies),
1553
+ createBidStrategy: this._bind(createBidStrategy),
1554
+ updateBidStrategy: this._bind(updateBidStrategy),
1548
1555
  listAdKeywords: this._bind(listAdKeywords),
1549
1556
  addAdKeywords: this._bind(addAdKeywords),
1550
1557
  updateAdKeyword: this._bind(updateAdKeyword),
@@ -1552,6 +1559,7 @@ export class Zernio {
1552
1559
  listAdCampaigns: this._bind(listAdCampaigns),
1553
1560
  createAdCampaign: this._bind(createAdCampaign),
1554
1561
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
1562
+ getCampaignBidding: this._bind(getCampaignBidding),
1555
1563
  updateAdCampaign: this._bind(updateAdCampaign),
1556
1564
  deleteAdCampaign: this._bind(deleteAdCampaign),
1557
1565
  listCampaignNegativeKeywords: this._bind(listCampaignNegativeKeywords),
@@ -1777,6 +1785,12 @@ export class Zernio {
1777
1785
  ads = {
1778
1786
  /** @deprecated Use `zernio.adcampaigns.listAds` instead. */
1779
1787
  listAds: this._bind(listAds),
1788
+ /** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
1789
+ listBidStrategies: this._bind(listBidStrategies),
1790
+ /** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
1791
+ createBidStrategy: this._bind(createBidStrategy),
1792
+ /** @deprecated Use `zernio.adcampaigns.updateBidStrategy` instead. */
1793
+ updateBidStrategy: this._bind(updateBidStrategy),
1780
1794
  /** @deprecated Use `zernio.adcampaigns.listAdKeywords` instead. */
1781
1795
  listAdKeywords: this._bind(listAdKeywords),
1782
1796
  /** @deprecated Use `zernio.adcampaigns.addAdKeywords` instead. */
@@ -1791,6 +1805,8 @@ export class Zernio {
1791
1805
  createAdCampaign: this._bind(createAdCampaign),
1792
1806
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaignStatus` instead. */
1793
1807
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
1808
+ /** @deprecated Use `zernio.adcampaigns.getCampaignBidding` instead. */
1809
+ getCampaignBidding: this._bind(getCampaignBidding),
1794
1810
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaign` instead. */
1795
1811
  updateAdCampaign: this._bind(updateAdCampaign),
1796
1812
  /** @deprecated Use `zernio.adcampaigns.deleteAdCampaign` instead. */