@zernio/node 0.2.739 → 0.2.741

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.739",
39
+ version: "0.2.741",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -4663,6 +4663,30 @@ var checkVerification = (options) => {
4663
4663
  url: "/v1/verify/verifications/{verificationId}/check"
4664
4664
  });
4665
4665
  };
4666
+ var listTikTokAdPixels = (options) => {
4667
+ return (options?.client ?? client).get({
4668
+ ...options,
4669
+ url: "/v1/ads/pixels"
4670
+ });
4671
+ };
4672
+ var listPartnershipAdContent = (options) => {
4673
+ return (options?.client ?? client).get({
4674
+ ...options,
4675
+ url: "/v1/ads/partnership-content"
4676
+ });
4677
+ };
4678
+ var listPartnershipAdPermissions = (options) => {
4679
+ return (options?.client ?? client).get({
4680
+ ...options,
4681
+ url: "/v1/ads/partnership-permissions"
4682
+ });
4683
+ };
4684
+ var setPartnershipAdPermission = (options) => {
4685
+ return (options?.client ?? client).post({
4686
+ ...options,
4687
+ url: "/v1/ads/partnership-permissions"
4688
+ });
4689
+ };
4666
4690
 
4667
4691
  // src/errors.ts
4668
4692
  var ZernioApiError = class _ZernioApiError extends Error {
@@ -5591,7 +5615,10 @@ var Zernio = class _Zernio {
5591
5615
  listAdVideos: this._bind(listAdVideos),
5592
5616
  deleteAdVideo: this._bind(deleteAdVideo),
5593
5617
  listAdCatalogs: this._bind(listAdCatalogs),
5594
- listAdCatalogProductSets: this._bind(listAdCatalogProductSets)
5618
+ listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
5619
+ listPartnershipAdContent: this._bind(listPartnershipAdContent),
5620
+ listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
5621
+ setPartnershipAdPermission: this._bind(setPartnershipAdPermission)
5595
5622
  };
5596
5623
  /**
5597
5624
  * trackingtags API
@@ -5656,7 +5683,8 @@ var Zernio = class _Zernio {
5656
5683
  getDsaDefaults: this._bind(getDsaDefaults),
5657
5684
  getDsaRecommendations: this._bind(getDsaRecommendations),
5658
5685
  listCustomConversions: this._bind(listCustomConversions),
5659
- createCustomConversion: this._bind(createCustomConversion)
5686
+ createCustomConversion: this._bind(createCustomConversion),
5687
+ listTikTokAdPixels: this._bind(listTikTokAdPixels)
5660
5688
  };
5661
5689
  /**
5662
5690
  * reachandfrequency API
@@ -6007,6 +6035,8 @@ var Zernio = class _Zernio {
6007
6035
  listCustomConversions: this._bind(listCustomConversions),
6008
6036
  /** @deprecated Use `zernio.adaccounts.createCustomConversion` instead. */
6009
6037
  createCustomConversion: this._bind(createCustomConversion),
6038
+ /** @deprecated Use `zernio.adaccounts.listTikTokAdPixels` instead. */
6039
+ listTikTokAdPixels: this._bind(listTikTokAdPixels),
6010
6040
  /** @deprecated Use `zernio.adcreatives.generateAdPreviews` instead. */
6011
6041
  generateAdPreviews: this._bind(generateAdPreviews),
6012
6042
  /** @deprecated Use `zernio.adcreatives.getAdPreviews` instead. */
@@ -6037,6 +6067,12 @@ var Zernio = class _Zernio {
6037
6067
  listAdCatalogs: this._bind(listAdCatalogs),
6038
6068
  /** @deprecated Use `zernio.adcreatives.listAdCatalogProductSets` instead. */
6039
6069
  listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
6070
+ /** @deprecated Use `zernio.adcreatives.listPartnershipAdContent` instead. */
6071
+ listPartnershipAdContent: this._bind(listPartnershipAdContent),
6072
+ /** @deprecated Use `zernio.adcreatives.listPartnershipAdPermissions` instead. */
6073
+ listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
6074
+ /** @deprecated Use `zernio.adcreatives.setPartnershipAdPermission` instead. */
6075
+ setPartnershipAdPermission: this._bind(setPartnershipAdPermission),
6040
6076
  /** @deprecated Use `zernio.adaudiences.listAdAudiences` instead. */
6041
6077
  listAdAudiences: this._bind(listAdAudiences),
6042
6078
  /** @deprecated Use `zernio.adaudiences.createAdAudience` 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.739",
8
+ version: "0.2.741",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -4632,6 +4632,30 @@ var checkVerification = (options) => {
4632
4632
  url: "/v1/verify/verifications/{verificationId}/check"
4633
4633
  });
4634
4634
  };
4635
+ var listTikTokAdPixels = (options) => {
4636
+ return (options?.client ?? client).get({
4637
+ ...options,
4638
+ url: "/v1/ads/pixels"
4639
+ });
4640
+ };
4641
+ var listPartnershipAdContent = (options) => {
4642
+ return (options?.client ?? client).get({
4643
+ ...options,
4644
+ url: "/v1/ads/partnership-content"
4645
+ });
4646
+ };
4647
+ var listPartnershipAdPermissions = (options) => {
4648
+ return (options?.client ?? client).get({
4649
+ ...options,
4650
+ url: "/v1/ads/partnership-permissions"
4651
+ });
4652
+ };
4653
+ var setPartnershipAdPermission = (options) => {
4654
+ return (options?.client ?? client).post({
4655
+ ...options,
4656
+ url: "/v1/ads/partnership-permissions"
4657
+ });
4658
+ };
4635
4659
 
4636
4660
  // src/errors.ts
4637
4661
  var ZernioApiError = class _ZernioApiError extends Error {
@@ -5560,7 +5584,10 @@ var Zernio = class _Zernio {
5560
5584
  listAdVideos: this._bind(listAdVideos),
5561
5585
  deleteAdVideo: this._bind(deleteAdVideo),
5562
5586
  listAdCatalogs: this._bind(listAdCatalogs),
5563
- listAdCatalogProductSets: this._bind(listAdCatalogProductSets)
5587
+ listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
5588
+ listPartnershipAdContent: this._bind(listPartnershipAdContent),
5589
+ listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
5590
+ setPartnershipAdPermission: this._bind(setPartnershipAdPermission)
5564
5591
  };
5565
5592
  /**
5566
5593
  * trackingtags API
@@ -5625,7 +5652,8 @@ var Zernio = class _Zernio {
5625
5652
  getDsaDefaults: this._bind(getDsaDefaults),
5626
5653
  getDsaRecommendations: this._bind(getDsaRecommendations),
5627
5654
  listCustomConversions: this._bind(listCustomConversions),
5628
- createCustomConversion: this._bind(createCustomConversion)
5655
+ createCustomConversion: this._bind(createCustomConversion),
5656
+ listTikTokAdPixels: this._bind(listTikTokAdPixels)
5629
5657
  };
5630
5658
  /**
5631
5659
  * reachandfrequency API
@@ -5976,6 +6004,8 @@ var Zernio = class _Zernio {
5976
6004
  listCustomConversions: this._bind(listCustomConversions),
5977
6005
  /** @deprecated Use `zernio.adaccounts.createCustomConversion` instead. */
5978
6006
  createCustomConversion: this._bind(createCustomConversion),
6007
+ /** @deprecated Use `zernio.adaccounts.listTikTokAdPixels` instead. */
6008
+ listTikTokAdPixels: this._bind(listTikTokAdPixels),
5979
6009
  /** @deprecated Use `zernio.adcreatives.generateAdPreviews` instead. */
5980
6010
  generateAdPreviews: this._bind(generateAdPreviews),
5981
6011
  /** @deprecated Use `zernio.adcreatives.getAdPreviews` instead. */
@@ -6006,6 +6036,12 @@ var Zernio = class _Zernio {
6006
6036
  listAdCatalogs: this._bind(listAdCatalogs),
6007
6037
  /** @deprecated Use `zernio.adcreatives.listAdCatalogProductSets` instead. */
6008
6038
  listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
6039
+ /** @deprecated Use `zernio.adcreatives.listPartnershipAdContent` instead. */
6040
+ listPartnershipAdContent: this._bind(listPartnershipAdContent),
6041
+ /** @deprecated Use `zernio.adcreatives.listPartnershipAdPermissions` instead. */
6042
+ listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
6043
+ /** @deprecated Use `zernio.adcreatives.setPartnershipAdPermission` instead. */
6044
+ setPartnershipAdPermission: this._bind(setPartnershipAdPermission),
6009
6045
  /** @deprecated Use `zernio.adaudiences.listAdAudiences` instead. */
6010
6046
  listAdAudiences: this._bind(listAdAudiences),
6011
6047
  /** @deprecated Use `zernio.adaudiences.createAdAudience` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.739",
3
+ "version": "0.2.741",
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
@@ -464,6 +464,8 @@ import {
464
464
  listLocalServicesLeads,
465
465
  listLogs,
466
466
  listMetaBusinesses,
467
+ listPartnershipAdContent,
468
+ listPartnershipAdPermissions,
467
469
  listPhoneNumberCountries,
468
470
  listPhoneNumberPortIns,
469
471
  listPhoneNumberStockWatches,
@@ -481,6 +483,7 @@ import {
481
483
  listSmsRegistrations,
482
484
  listSmsSenderIds,
483
485
  listSnapchatProfiles,
486
+ listTikTokAdPixels,
484
487
  listTrackingTagSharedAccounts,
485
488
  listTrackingTags,
486
489
  listUsers,
@@ -598,6 +601,7 @@ import {
598
601
  setConversationThreadControl,
599
602
  setInstagramIceBreakers,
600
603
  setMessengerMenu,
604
+ setPartnershipAdPermission,
601
605
  setRedditPostFlair,
602
606
  setTelegramCommands,
603
607
  setWhatsAppFlowsEncryptionKey,
@@ -1729,6 +1733,9 @@ export class Zernio {
1729
1733
  deleteAdVideo: this._bind(deleteAdVideo),
1730
1734
  listAdCatalogs: this._bind(listAdCatalogs),
1731
1735
  listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
1736
+ listPartnershipAdContent: this._bind(listPartnershipAdContent),
1737
+ listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
1738
+ setPartnershipAdPermission: this._bind(setPartnershipAdPermission),
1732
1739
  };
1733
1740
 
1734
1741
  /**
@@ -1796,6 +1803,7 @@ export class Zernio {
1796
1803
  getDsaRecommendations: this._bind(getDsaRecommendations),
1797
1804
  listCustomConversions: this._bind(listCustomConversions),
1798
1805
  createCustomConversion: this._bind(createCustomConversion),
1806
+ listTikTokAdPixels: this._bind(listTikTokAdPixels),
1799
1807
  };
1800
1808
 
1801
1809
  /**
@@ -2157,6 +2165,8 @@ export class Zernio {
2157
2165
  listCustomConversions: this._bind(listCustomConversions),
2158
2166
  /** @deprecated Use `zernio.adaccounts.createCustomConversion` instead. */
2159
2167
  createCustomConversion: this._bind(createCustomConversion),
2168
+ /** @deprecated Use `zernio.adaccounts.listTikTokAdPixels` instead. */
2169
+ listTikTokAdPixels: this._bind(listTikTokAdPixels),
2160
2170
  /** @deprecated Use `zernio.adcreatives.generateAdPreviews` instead. */
2161
2171
  generateAdPreviews: this._bind(generateAdPreviews),
2162
2172
  /** @deprecated Use `zernio.adcreatives.getAdPreviews` instead. */
@@ -2187,6 +2197,12 @@ export class Zernio {
2187
2197
  listAdCatalogs: this._bind(listAdCatalogs),
2188
2198
  /** @deprecated Use `zernio.adcreatives.listAdCatalogProductSets` instead. */
2189
2199
  listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
2200
+ /** @deprecated Use `zernio.adcreatives.listPartnershipAdContent` instead. */
2201
+ listPartnershipAdContent: this._bind(listPartnershipAdContent),
2202
+ /** @deprecated Use `zernio.adcreatives.listPartnershipAdPermissions` instead. */
2203
+ listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
2204
+ /** @deprecated Use `zernio.adcreatives.setPartnershipAdPermission` instead. */
2205
+ setPartnershipAdPermission: this._bind(setPartnershipAdPermission),
2190
2206
  /** @deprecated Use `zernio.adaudiences.listAdAudiences` instead. */
2191
2207
  listAdAudiences: this._bind(listAdAudiences),
2192
2208
  /** @deprecated Use `zernio.adaudiences.createAdAudience` instead. */