@getlatedev/node 0.2.1330 → 0.2.1332

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.1330",
39
+ version: "0.2.1332",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -5334,6 +5334,30 @@ var removeCustomConversionGoal = (options) => {
5334
5334
  url: "/v1/ads/conversions/custom-goals/{goalId}"
5335
5335
  });
5336
5336
  };
5337
+ var sendEvents = (options) => {
5338
+ return (options?.client ?? client).post({
5339
+ ...options,
5340
+ url: "/v1/events"
5341
+ });
5342
+ };
5343
+ var listEventDestinations = (options) => {
5344
+ return (options?.client ?? client).get({
5345
+ ...options,
5346
+ url: "/v1/events/destinations"
5347
+ });
5348
+ };
5349
+ var createEventDestination = (options) => {
5350
+ return (options?.client ?? client).post({
5351
+ ...options,
5352
+ url: "/v1/events/destinations"
5353
+ });
5354
+ };
5355
+ var deleteEventDestination = (options) => {
5356
+ return (options?.client ?? client).delete({
5357
+ ...options,
5358
+ url: "/v1/events/destinations/{destinationId}"
5359
+ });
5360
+ };
5337
5361
  var getCampaignConversionGoals = (options) => {
5338
5362
  return (options?.client ?? client).get({
5339
5363
  ...options,
@@ -7803,6 +7827,10 @@ var Zernio = class _Zernio {
7803
7827
  createCustomConversionGoal: this._bind(createCustomConversionGoal),
7804
7828
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
7805
7829
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
7830
+ sendEvents: this._bind(sendEvents),
7831
+ listEventDestinations: this._bind(listEventDestinations),
7832
+ createEventDestination: this._bind(createEventDestination),
7833
+ deleteEventDestination: this._bind(deleteEventDestination),
7806
7834
  listConversionDestinations: this._bind(listConversionDestinations),
7807
7835
  createConversionDestination: this._bind(createConversionDestination),
7808
7836
  getConversionDestination: this._bind(getConversionDestination),
@@ -8393,6 +8421,14 @@ var Zernio = class _Zernio {
8393
8421
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
8394
8422
  /** @deprecated Use `zernio.conversions.removeCustomConversionGoal` instead. */
8395
8423
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
8424
+ /** @deprecated Use `zernio.conversions.sendEvents` instead. */
8425
+ sendEvents: this._bind(sendEvents),
8426
+ /** @deprecated Use `zernio.conversions.listEventDestinations` instead. */
8427
+ listEventDestinations: this._bind(listEventDestinations),
8428
+ /** @deprecated Use `zernio.conversions.createEventDestination` instead. */
8429
+ createEventDestination: this._bind(createEventDestination),
8430
+ /** @deprecated Use `zernio.conversions.deleteEventDestination` instead. */
8431
+ deleteEventDestination: this._bind(deleteEventDestination),
8396
8432
  /** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
8397
8433
  listConversionDestinations: this._bind(listConversionDestinations),
8398
8434
  /** @deprecated Use `zernio.conversions.createConversionDestination` 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.1330",
8
+ version: "0.2.1332",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -5303,6 +5303,30 @@ var removeCustomConversionGoal = (options) => {
5303
5303
  url: "/v1/ads/conversions/custom-goals/{goalId}"
5304
5304
  });
5305
5305
  };
5306
+ var sendEvents = (options) => {
5307
+ return (options?.client ?? client).post({
5308
+ ...options,
5309
+ url: "/v1/events"
5310
+ });
5311
+ };
5312
+ var listEventDestinations = (options) => {
5313
+ return (options?.client ?? client).get({
5314
+ ...options,
5315
+ url: "/v1/events/destinations"
5316
+ });
5317
+ };
5318
+ var createEventDestination = (options) => {
5319
+ return (options?.client ?? client).post({
5320
+ ...options,
5321
+ url: "/v1/events/destinations"
5322
+ });
5323
+ };
5324
+ var deleteEventDestination = (options) => {
5325
+ return (options?.client ?? client).delete({
5326
+ ...options,
5327
+ url: "/v1/events/destinations/{destinationId}"
5328
+ });
5329
+ };
5306
5330
  var getCampaignConversionGoals = (options) => {
5307
5331
  return (options?.client ?? client).get({
5308
5332
  ...options,
@@ -7772,6 +7796,10 @@ var Zernio = class _Zernio {
7772
7796
  createCustomConversionGoal: this._bind(createCustomConversionGoal),
7773
7797
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
7774
7798
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
7799
+ sendEvents: this._bind(sendEvents),
7800
+ listEventDestinations: this._bind(listEventDestinations),
7801
+ createEventDestination: this._bind(createEventDestination),
7802
+ deleteEventDestination: this._bind(deleteEventDestination),
7775
7803
  listConversionDestinations: this._bind(listConversionDestinations),
7776
7804
  createConversionDestination: this._bind(createConversionDestination),
7777
7805
  getConversionDestination: this._bind(getConversionDestination),
@@ -8362,6 +8390,14 @@ var Zernio = class _Zernio {
8362
8390
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
8363
8391
  /** @deprecated Use `zernio.conversions.removeCustomConversionGoal` instead. */
8364
8392
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
8393
+ /** @deprecated Use `zernio.conversions.sendEvents` instead. */
8394
+ sendEvents: this._bind(sendEvents),
8395
+ /** @deprecated Use `zernio.conversions.listEventDestinations` instead. */
8396
+ listEventDestinations: this._bind(listEventDestinations),
8397
+ /** @deprecated Use `zernio.conversions.createEventDestination` instead. */
8398
+ createEventDestination: this._bind(createEventDestination),
8399
+ /** @deprecated Use `zernio.conversions.deleteEventDestination` instead. */
8400
+ deleteEventDestination: this._bind(deleteEventDestination),
8365
8401
  /** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
8366
8402
  listConversionDestinations: this._bind(listConversionDestinations),
8367
8403
  /** @deprecated Use `zernio.conversions.createConversionDestination` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1330",
3
+ "version": "0.2.1332",
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
@@ -129,6 +129,7 @@ import {
129
129
  createDiscordGuildRole,
130
130
  createDiscordScheduledEvent,
131
131
  createDiscordThread,
132
+ createEventDestination,
132
133
  createGoogleAssetGroup,
133
134
  createGoogleBusinessMedia,
134
135
  createGoogleBusinessPlaceAction,
@@ -221,6 +222,7 @@ import {
221
222
  deleteDiscordGuildRole,
222
223
  deleteDiscordMessage,
223
224
  deleteDiscordScheduledEvent,
225
+ deleteEventDestination,
224
226
  deleteGoogleBusinessMedia,
225
227
  deleteGoogleBusinessPlaceAction,
226
228
  deleteGoogleBusinessReviewReply,
@@ -633,6 +635,7 @@ import {
633
635
  listDiscordGuildRoles,
634
636
  listDiscordPinnedMessages,
635
637
  listDiscordScheduledEvents,
638
+ listEventDestinations,
636
639
  listFacebookPages,
637
640
  listFacebookTaggedPosts,
638
641
  listFacebookVisitorPosts,
@@ -838,6 +841,7 @@ import {
838
841
  sendBusinessAgentTestMessage,
839
842
  sendConversions,
840
843
  sendDiscordDirectMessage,
844
+ sendEvents,
841
845
  sendInboxMessage,
842
846
  sendPrivateReplyToComment,
843
847
  sendRcsMessage,
@@ -2432,6 +2436,10 @@ export class Zernio {
2432
2436
  createCustomConversionGoal: this._bind(createCustomConversionGoal),
2433
2437
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
2434
2438
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
2439
+ sendEvents: this._bind(sendEvents),
2440
+ listEventDestinations: this._bind(listEventDestinations),
2441
+ createEventDestination: this._bind(createEventDestination),
2442
+ deleteEventDestination: this._bind(deleteEventDestination),
2435
2443
  listConversionDestinations: this._bind(listConversionDestinations),
2436
2444
  createConversionDestination: this._bind(createConversionDestination),
2437
2445
  getConversionDestination: this._bind(getConversionDestination),
@@ -3031,6 +3039,14 @@ export class Zernio {
3031
3039
  updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
3032
3040
  /** @deprecated Use `zernio.conversions.removeCustomConversionGoal` instead. */
3033
3041
  removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
3042
+ /** @deprecated Use `zernio.conversions.sendEvents` instead. */
3043
+ sendEvents: this._bind(sendEvents),
3044
+ /** @deprecated Use `zernio.conversions.listEventDestinations` instead. */
3045
+ listEventDestinations: this._bind(listEventDestinations),
3046
+ /** @deprecated Use `zernio.conversions.createEventDestination` instead. */
3047
+ createEventDestination: this._bind(createEventDestination),
3048
+ /** @deprecated Use `zernio.conversions.deleteEventDestination` instead. */
3049
+ deleteEventDestination: this._bind(deleteEventDestination),
3034
3050
  /** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
3035
3051
  listConversionDestinations: this._bind(listConversionDestinations),
3036
3052
  /** @deprecated Use `zernio.conversions.createConversionDestination` instead. */