@getlatedev/node 0.2.1088 → 0.2.1090

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: "@getlatedev/node",
39
- version: "0.2.1088",
39
+ version: "0.2.1090",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -4494,6 +4494,12 @@ var getAdAccountFinance = (options) => {
4494
4494
  url: "/v1/ads/accounts/finance"
4495
4495
  });
4496
4496
  };
4497
+ var getAdAccountLiveEntities = (options) => {
4498
+ return (options?.client ?? client).get({
4499
+ ...options,
4500
+ url: "/v1/ads/accounts/live"
4501
+ });
4502
+ };
4497
4503
  var createAdAccount = (options) => {
4498
4504
  return (options?.client ?? client).post({
4499
4505
  ...options,
@@ -4650,6 +4656,12 @@ var listAdVideos = (options) => {
4650
4656
  url: "/v1/ads/videos"
4651
4657
  });
4652
4658
  };
4659
+ var getAdVideoStatus = (options) => {
4660
+ return (options?.client ?? client).get({
4661
+ ...options,
4662
+ url: "/v1/ads/videos/{videoId}"
4663
+ });
4664
+ };
4653
4665
  var deleteAdVideo = (options) => {
4654
4666
  return (options?.client ?? client).delete({
4655
4667
  ...options,
@@ -7102,6 +7114,7 @@ var Zernio = class _Zernio {
7102
7114
  listAdImages: this._bind(listAdImages),
7103
7115
  uploadAdVideo: this._bind(uploadAdVideo),
7104
7116
  listAdVideos: this._bind(listAdVideos),
7117
+ getAdVideoStatus: this._bind(getAdVideoStatus),
7105
7118
  deleteAdVideo: this._bind(deleteAdVideo),
7106
7119
  listPartnershipAdContent: this._bind(listPartnershipAdContent),
7107
7120
  listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
@@ -7192,6 +7205,7 @@ var Zernio = class _Zernio {
7192
7205
  assignAdAccountUser: this._bind(assignAdAccountUser),
7193
7206
  removeAdAccountUser: this._bind(removeAdAccountUser),
7194
7207
  getAdAccountFinance: this._bind(getAdAccountFinance),
7208
+ getAdAccountLiveEntities: this._bind(getAdAccountLiveEntities),
7195
7209
  createAdAccount: this._bind(createAdAccount),
7196
7210
  listAdAccounts: this._bind(listAdAccounts),
7197
7211
  updateAdAccount: this._bind(updateAdAccount),
@@ -7729,6 +7743,8 @@ var Zernio = class _Zernio {
7729
7743
  removeAdAccountUser: this._bind(removeAdAccountUser),
7730
7744
  /** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
7731
7745
  getAdAccountFinance: this._bind(getAdAccountFinance),
7746
+ /** @deprecated Use `zernio.adaccounts.getAdAccountLiveEntities` instead. */
7747
+ getAdAccountLiveEntities: this._bind(getAdAccountLiveEntities),
7732
7748
  /** @deprecated Use `zernio.adaccounts.createAdAccount` instead. */
7733
7749
  createAdAccount: this._bind(createAdAccount),
7734
7750
  /** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */
@@ -7771,6 +7787,8 @@ var Zernio = class _Zernio {
7771
7787
  uploadAdVideo: this._bind(uploadAdVideo),
7772
7788
  /** @deprecated Use `zernio.adcreatives.listAdVideos` instead. */
7773
7789
  listAdVideos: this._bind(listAdVideos),
7790
+ /** @deprecated Use `zernio.adcreatives.getAdVideoStatus` instead. */
7791
+ getAdVideoStatus: this._bind(getAdVideoStatus),
7774
7792
  /** @deprecated Use `zernio.adcreatives.deleteAdVideo` instead. */
7775
7793
  deleteAdVideo: this._bind(deleteAdVideo),
7776
7794
  /** @deprecated Use `zernio.adcreatives.listPartnershipAdContent` 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: "@getlatedev/node",
8
- version: "0.2.1088",
8
+ version: "0.2.1090",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -4463,6 +4463,12 @@ var getAdAccountFinance = (options) => {
4463
4463
  url: "/v1/ads/accounts/finance"
4464
4464
  });
4465
4465
  };
4466
+ var getAdAccountLiveEntities = (options) => {
4467
+ return (options?.client ?? client).get({
4468
+ ...options,
4469
+ url: "/v1/ads/accounts/live"
4470
+ });
4471
+ };
4466
4472
  var createAdAccount = (options) => {
4467
4473
  return (options?.client ?? client).post({
4468
4474
  ...options,
@@ -4619,6 +4625,12 @@ var listAdVideos = (options) => {
4619
4625
  url: "/v1/ads/videos"
4620
4626
  });
4621
4627
  };
4628
+ var getAdVideoStatus = (options) => {
4629
+ return (options?.client ?? client).get({
4630
+ ...options,
4631
+ url: "/v1/ads/videos/{videoId}"
4632
+ });
4633
+ };
4622
4634
  var deleteAdVideo = (options) => {
4623
4635
  return (options?.client ?? client).delete({
4624
4636
  ...options,
@@ -7071,6 +7083,7 @@ var Zernio = class _Zernio {
7071
7083
  listAdImages: this._bind(listAdImages),
7072
7084
  uploadAdVideo: this._bind(uploadAdVideo),
7073
7085
  listAdVideos: this._bind(listAdVideos),
7086
+ getAdVideoStatus: this._bind(getAdVideoStatus),
7074
7087
  deleteAdVideo: this._bind(deleteAdVideo),
7075
7088
  listPartnershipAdContent: this._bind(listPartnershipAdContent),
7076
7089
  listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
@@ -7161,6 +7174,7 @@ var Zernio = class _Zernio {
7161
7174
  assignAdAccountUser: this._bind(assignAdAccountUser),
7162
7175
  removeAdAccountUser: this._bind(removeAdAccountUser),
7163
7176
  getAdAccountFinance: this._bind(getAdAccountFinance),
7177
+ getAdAccountLiveEntities: this._bind(getAdAccountLiveEntities),
7164
7178
  createAdAccount: this._bind(createAdAccount),
7165
7179
  listAdAccounts: this._bind(listAdAccounts),
7166
7180
  updateAdAccount: this._bind(updateAdAccount),
@@ -7698,6 +7712,8 @@ var Zernio = class _Zernio {
7698
7712
  removeAdAccountUser: this._bind(removeAdAccountUser),
7699
7713
  /** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
7700
7714
  getAdAccountFinance: this._bind(getAdAccountFinance),
7715
+ /** @deprecated Use `zernio.adaccounts.getAdAccountLiveEntities` instead. */
7716
+ getAdAccountLiveEntities: this._bind(getAdAccountLiveEntities),
7701
7717
  /** @deprecated Use `zernio.adaccounts.createAdAccount` instead. */
7702
7718
  createAdAccount: this._bind(createAdAccount),
7703
7719
  /** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */
@@ -7740,6 +7756,8 @@ var Zernio = class _Zernio {
7740
7756
  uploadAdVideo: this._bind(uploadAdVideo),
7741
7757
  /** @deprecated Use `zernio.adcreatives.listAdVideos` instead. */
7742
7758
  listAdVideos: this._bind(listAdVideos),
7759
+ /** @deprecated Use `zernio.adcreatives.getAdVideoStatus` instead. */
7760
+ getAdVideoStatus: this._bind(getAdVideoStatus),
7743
7761
  /** @deprecated Use `zernio.adcreatives.deleteAdVideo` instead. */
7744
7762
  deleteAdVideo: this._bind(deleteAdVideo),
7745
7763
  /** @deprecated Use `zernio.adcreatives.listPartnershipAdContent` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1088",
3
+ "version": "0.2.1090",
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
@@ -277,6 +277,7 @@ import {
277
277
  getAd,
278
278
  getAdAccountFinance,
279
279
  getAdAccountHierarchy,
280
+ getAdAccountLiveEntities,
280
281
  getAdAnalytics,
281
282
  getAdAudience,
282
283
  getAdCampaignDetails,
@@ -293,6 +294,7 @@ import {
293
294
  getAdSetDetails,
294
295
  getAdTrackingTags,
295
296
  getAdTree,
297
+ getAdVideoStatus,
296
298
  getAdsActivityLog,
297
299
  getAdsSearchTerms,
298
300
  getAdsTimeline,
@@ -2076,6 +2078,7 @@ export class Zernio {
2076
2078
  listAdImages: this._bind(listAdImages),
2077
2079
  uploadAdVideo: this._bind(uploadAdVideo),
2078
2080
  listAdVideos: this._bind(listAdVideos),
2081
+ getAdVideoStatus: this._bind(getAdVideoStatus),
2079
2082
  deleteAdVideo: this._bind(deleteAdVideo),
2080
2083
  listPartnershipAdContent: this._bind(listPartnershipAdContent),
2081
2084
  listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
@@ -2168,6 +2171,7 @@ export class Zernio {
2168
2171
  assignAdAccountUser: this._bind(assignAdAccountUser),
2169
2172
  removeAdAccountUser: this._bind(removeAdAccountUser),
2170
2173
  getAdAccountFinance: this._bind(getAdAccountFinance),
2174
+ getAdAccountLiveEntities: this._bind(getAdAccountLiveEntities),
2171
2175
  createAdAccount: this._bind(createAdAccount),
2172
2176
  listAdAccounts: this._bind(listAdAccounts),
2173
2177
  updateAdAccount: this._bind(updateAdAccount),
@@ -2721,6 +2725,8 @@ export class Zernio {
2721
2725
  removeAdAccountUser: this._bind(removeAdAccountUser),
2722
2726
  /** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
2723
2727
  getAdAccountFinance: this._bind(getAdAccountFinance),
2728
+ /** @deprecated Use `zernio.adaccounts.getAdAccountLiveEntities` instead. */
2729
+ getAdAccountLiveEntities: this._bind(getAdAccountLiveEntities),
2724
2730
  /** @deprecated Use `zernio.adaccounts.createAdAccount` instead. */
2725
2731
  createAdAccount: this._bind(createAdAccount),
2726
2732
  /** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */
@@ -2763,6 +2769,8 @@ export class Zernio {
2763
2769
  uploadAdVideo: this._bind(uploadAdVideo),
2764
2770
  /** @deprecated Use `zernio.adcreatives.listAdVideos` instead. */
2765
2771
  listAdVideos: this._bind(listAdVideos),
2772
+ /** @deprecated Use `zernio.adcreatives.getAdVideoStatus` instead. */
2773
+ getAdVideoStatus: this._bind(getAdVideoStatus),
2766
2774
  /** @deprecated Use `zernio.adcreatives.deleteAdVideo` instead. */
2767
2775
  deleteAdVideo: this._bind(deleteAdVideo),
2768
2776
  /** @deprecated Use `zernio.adcreatives.listPartnershipAdContent` instead. */