@getlatedev/node 0.2.1665 → 0.2.1667

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.1665",
39
+ version: "0.2.1667",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
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.1665",
8
+ version: "0.2.1667",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1665",
3
+ "version": "0.2.1667",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -19473,8 +19473,10 @@ export const getConversionsQuality = <ThrowOnError extends boolean = false>(opti
19473
19473
  };
19474
19474
 
19475
19475
  /**
19476
- * Send conversion events
19477
- * Sends conversion events, such as purchases or leads, from your server to an ad platform so it can attribute and optimize ads.
19476
+ * Send conversion events to one destination (legacy)
19477
+ * Legacy: use [`POST /v1/events`](/conversions/send-events) instead. It sends each event once to every saved destination, retries failures, stores the event and reports what each platform answered. This endpoint keeps working and is not being removed.
19478
+ *
19479
+ * Sends conversion events, such as purchases or leads, from your server to one ad platform destination so it can attribute and optimize ads.
19478
19480
  *
19479
19481
  * Relays one or more events to the target ad platform's native Conversions API. The platform is inferred from the provided `accountId`. Requires the Ads add-on.
19480
19482
  *
@@ -19813,7 +19815,7 @@ export const listEvents = <ThrowOnError extends boolean = false>(options?: Optio
19813
19815
 
19814
19816
  /**
19815
19817
  * Send events to every destination
19816
- * Sends conversion events once and forwards them to every ad platform destination saved for the profile (see `POST /v1/events/destinations`), or to the `destinations` given in the request. Requires the Ads add-on.
19818
+ * The recommended way to send conversions. Sends conversion events once and forwards them to every ad platform destination saved for the profile (see `POST /v1/events/destinations`), or to the `destinations` given in the request. Requires the Ads add-on.
19817
19819
  *
19818
19820
  * ### Forwarding
19819
19821
  *
@@ -20123,8 +20125,8 @@ export const updateCampaignConversionGoals = <ThrowOnError extends boolean = fal
20123
20125
  *
20124
20126
  * Returns the list of pixels (Meta), conversion actions (Google),
20125
20127
  * conversion rules (LinkedIn), pixels (OpenAI Ads, Reddit) or ad accounts
20126
- * (Pinterest) accessible to the connected ads account. Use the returned `id` as `destinationId` when
20127
- * posting to `POST /v1/ads/conversions`.
20128
+ * (Pinterest) accessible to the connected ads account. Save the returned `id` as a destination with
20129
+ * `POST /v1/events/destinations` (or pass it in `destinations` on `POST /v1/events`).
20128
20130
  *
20129
20131
  * For Google and LinkedIn, each destination's `type` reflects the
20130
20132
  * conversion type (PURCHASE, LEAD, SIGN_UP, etc.), and the event type is