@getlatedev/node 0.2.1726 → 0.2.1728

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.1726",
39
+ version: "0.2.1728",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -6624,6 +6624,12 @@ var getConversionPaths = (options) => {
6624
6624
  url: "/v1/events/paths"
6625
6625
  });
6626
6626
  };
6627
+ var getLtvCohorts = (options) => {
6628
+ return (options?.client ?? client).get({
6629
+ ...options,
6630
+ url: "/v1/events/ltv"
6631
+ });
6632
+ };
6627
6633
  var getEventsOverview = (options) => {
6628
6634
  return (options?.client ?? client).get({
6629
6635
  ...options,
@@ -9850,6 +9856,7 @@ var Zernio = class _Zernio {
9850
9856
  listEvents: this._bind(listEvents),
9851
9857
  sendEvents: this._bind(sendEvents),
9852
9858
  getConversionPaths: this._bind(getConversionPaths),
9859
+ getLtvCohorts: this._bind(getLtvCohorts),
9853
9860
  getEventsOverview: this._bind(getEventsOverview),
9854
9861
  getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
9855
9862
  listEventNames: this._bind(listEventNames),
@@ -10538,6 +10545,8 @@ var Zernio = class _Zernio {
10538
10545
  sendEvents: this._bind(sendEvents),
10539
10546
  /** @deprecated Use `zernio.conversions.getConversionPaths` instead. */
10540
10547
  getConversionPaths: this._bind(getConversionPaths),
10548
+ /** @deprecated Use `zernio.conversions.getLtvCohorts` instead. */
10549
+ getLtvCohorts: this._bind(getLtvCohorts),
10541
10550
  /** @deprecated Use `zernio.conversions.getEventsOverview` instead. */
10542
10551
  getEventsOverview: this._bind(getEventsOverview),
10543
10552
  /** @deprecated Use `zernio.conversions.getEventsOverviewDaily` 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.1726",
8
+ version: "0.2.1728",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -6593,6 +6593,12 @@ var getConversionPaths = (options) => {
6593
6593
  url: "/v1/events/paths"
6594
6594
  });
6595
6595
  };
6596
+ var getLtvCohorts = (options) => {
6597
+ return (options?.client ?? client).get({
6598
+ ...options,
6599
+ url: "/v1/events/ltv"
6600
+ });
6601
+ };
6596
6602
  var getEventsOverview = (options) => {
6597
6603
  return (options?.client ?? client).get({
6598
6604
  ...options,
@@ -9819,6 +9825,7 @@ var Zernio = class _Zernio {
9819
9825
  listEvents: this._bind(listEvents),
9820
9826
  sendEvents: this._bind(sendEvents),
9821
9827
  getConversionPaths: this._bind(getConversionPaths),
9828
+ getLtvCohorts: this._bind(getLtvCohorts),
9822
9829
  getEventsOverview: this._bind(getEventsOverview),
9823
9830
  getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
9824
9831
  listEventNames: this._bind(listEventNames),
@@ -10507,6 +10514,8 @@ var Zernio = class _Zernio {
10507
10514
  sendEvents: this._bind(sendEvents),
10508
10515
  /** @deprecated Use `zernio.conversions.getConversionPaths` instead. */
10509
10516
  getConversionPaths: this._bind(getConversionPaths),
10517
+ /** @deprecated Use `zernio.conversions.getLtvCohorts` instead. */
10518
+ getLtvCohorts: this._bind(getLtvCohorts),
10510
10519
  /** @deprecated Use `zernio.conversions.getEventsOverview` instead. */
10511
10520
  getEventsOverview: this._bind(getEventsOverview),
10512
10521
  /** @deprecated Use `zernio.conversions.getEventsOverviewDaily` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1726",
3
+ "version": "0.2.1728",
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
@@ -556,6 +556,7 @@ import {
556
556
  getLinkedInPostAnalytics,
557
557
  getLinkedInPostReactions,
558
558
  getLinkedInSupplyForecast,
559
+ getLtvCohorts,
559
560
  getMediaPresignedUrl,
560
561
  getMessageAttachment,
561
562
  getMessengerGetStarted,
@@ -3027,6 +3028,7 @@ export class Zernio {
3027
3028
  listEvents: this._bind(listEvents),
3028
3029
  sendEvents: this._bind(sendEvents),
3029
3030
  getConversionPaths: this._bind(getConversionPaths),
3031
+ getLtvCohorts: this._bind(getLtvCohorts),
3030
3032
  getEventsOverview: this._bind(getEventsOverview),
3031
3033
  getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
3032
3034
  listEventNames: this._bind(listEventNames),
@@ -3724,6 +3726,8 @@ export class Zernio {
3724
3726
  sendEvents: this._bind(sendEvents),
3725
3727
  /** @deprecated Use `zernio.conversions.getConversionPaths` instead. */
3726
3728
  getConversionPaths: this._bind(getConversionPaths),
3729
+ /** @deprecated Use `zernio.conversions.getLtvCohorts` instead. */
3730
+ getLtvCohorts: this._bind(getLtvCohorts),
3727
3731
  /** @deprecated Use `zernio.conversions.getEventsOverview` instead. */
3728
3732
  getEventsOverview: this._bind(getEventsOverview),
3729
3733
  /** @deprecated Use `zernio.conversions.getEventsOverviewDaily` instead. */