@getlatedev/node 0.2.1357 → 0.2.1359

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.1357",
39
+ version: "0.2.1359",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -5574,6 +5574,12 @@ var removeCustomConversionGoal = (options) => {
5574
5574
  url: "/v1/ads/conversions/custom-goals/{goalId}"
5575
5575
  });
5576
5576
  };
5577
+ var listEvents = (options) => {
5578
+ return (options?.client ?? client).get({
5579
+ ...options,
5580
+ url: "/v1/events"
5581
+ });
5582
+ };
5577
5583
  var sendEvents = (options) => {
5578
5584
  return (options?.client ?? client).post({
5579
5585
  ...options,
@@ -8122,6 +8128,7 @@ var Zernio = class _Zernio {
8122
8128
  createCustomConversionGoal: this._bind(createCustomConversionGoal),
8123
8129
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
8124
8130
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
8131
+ listEvents: this._bind(listEvents),
8125
8132
  sendEvents: this._bind(sendEvents),
8126
8133
  listEventDestinations: this._bind(listEventDestinations),
8127
8134
  createEventDestination: this._bind(createEventDestination),
@@ -8722,6 +8729,8 @@ var Zernio = class _Zernio {
8722
8729
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
8723
8730
  /** @deprecated Use `zernio.conversions.removeCustomConversionGoal` instead. */
8724
8731
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
8732
+ /** @deprecated Use `zernio.conversions.listEvents` instead. */
8733
+ listEvents: this._bind(listEvents),
8725
8734
  /** @deprecated Use `zernio.conversions.sendEvents` instead. */
8726
8735
  sendEvents: this._bind(sendEvents),
8727
8736
  /** @deprecated Use `zernio.conversions.listEventDestinations` 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.1357",
8
+ version: "0.2.1359",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -5543,6 +5543,12 @@ var removeCustomConversionGoal = (options) => {
5543
5543
  url: "/v1/ads/conversions/custom-goals/{goalId}"
5544
5544
  });
5545
5545
  };
5546
+ var listEvents = (options) => {
5547
+ return (options?.client ?? client).get({
5548
+ ...options,
5549
+ url: "/v1/events"
5550
+ });
5551
+ };
5546
5552
  var sendEvents = (options) => {
5547
5553
  return (options?.client ?? client).post({
5548
5554
  ...options,
@@ -8091,6 +8097,7 @@ var Zernio = class _Zernio {
8091
8097
  createCustomConversionGoal: this._bind(createCustomConversionGoal),
8092
8098
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
8093
8099
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
8100
+ listEvents: this._bind(listEvents),
8094
8101
  sendEvents: this._bind(sendEvents),
8095
8102
  listEventDestinations: this._bind(listEventDestinations),
8096
8103
  createEventDestination: this._bind(createEventDestination),
@@ -8691,6 +8698,8 @@ var Zernio = class _Zernio {
8691
8698
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
8692
8699
  /** @deprecated Use `zernio.conversions.removeCustomConversionGoal` instead. */
8693
8700
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
8701
+ /** @deprecated Use `zernio.conversions.listEvents` instead. */
8702
+ listEvents: this._bind(listEvents),
8694
8703
  /** @deprecated Use `zernio.conversions.sendEvents` instead. */
8695
8704
  sendEvents: this._bind(sendEvents),
8696
8705
  /** @deprecated Use `zernio.conversions.listEventDestinations` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1357",
3
+ "version": "0.2.1359",
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
@@ -660,6 +660,7 @@ import {
660
660
  listEmailMessages,
661
661
  listEmailThreads,
662
662
  listEventDestinations,
663
+ listEvents,
663
664
  listFacebookPages,
664
665
  listFacebookTaggedPosts,
665
666
  listFacebookVisitorPosts,
@@ -2534,6 +2535,7 @@ export class Zernio {
2534
2535
  createCustomConversionGoal: this._bind(createCustomConversionGoal),
2535
2536
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
2536
2537
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
2538
+ listEvents: this._bind(listEvents),
2537
2539
  sendEvents: this._bind(sendEvents),
2538
2540
  listEventDestinations: this._bind(listEventDestinations),
2539
2541
  createEventDestination: this._bind(createEventDestination),
@@ -3143,6 +3145,8 @@ export class Zernio {
3143
3145
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
3144
3146
  /** @deprecated Use `zernio.conversions.removeCustomConversionGoal` instead. */
3145
3147
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
3148
+ /** @deprecated Use `zernio.conversions.listEvents` instead. */
3149
+ listEvents: this._bind(listEvents),
3146
3150
  /** @deprecated Use `zernio.conversions.sendEvents` instead. */
3147
3151
  sendEvents: this._bind(sendEvents),
3148
3152
  /** @deprecated Use `zernio.conversions.listEventDestinations` instead. */