@getlatedev/node 0.2.1791 → 0.2.1792

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.d.mts CHANGED
@@ -80281,10 +80281,13 @@ type SendEventsData = {
80281
80281
  events: Array<ConversionEvent>;
80282
80282
  /**
80283
80283
  * Send to these destinations instead of the saved ones (every event goes to each).
80284
+ *
80285
+ * A Google Analytics stream is sent to with the Measurement Protocol API secret saved on a forwarding rule for the same account and stream: the rule of this `profileId`, else the most recently changed one in your other profiles. With none saved, the destination's `error` says how to save one.
80286
+ *
80284
80287
  */
80285
80288
  destinations?: Array<{
80286
80289
  /**
80287
- * Connected ads account ID (metaads, googleads, linkedinads, tiktokads, openaiads, pinterestads or redditads).
80290
+ * ID of the connected account that owns the destination (metaads, googleads, googleanalytics or any other account POST /v1/events sends to).
80288
80291
  */
80289
80292
  accountId: string;
80290
80293
  /**
package/dist/index.d.ts CHANGED
@@ -80281,10 +80281,13 @@ type SendEventsData = {
80281
80281
  events: Array<ConversionEvent>;
80282
80282
  /**
80283
80283
  * Send to these destinations instead of the saved ones (every event goes to each).
80284
+ *
80285
+ * A Google Analytics stream is sent to with the Measurement Protocol API secret saved on a forwarding rule for the same account and stream: the rule of this `profileId`, else the most recently changed one in your other profiles. With none saved, the destination's `error` says how to save one.
80286
+ *
80284
80287
  */
80285
80288
  destinations?: Array<{
80286
80289
  /**
80287
- * Connected ads account ID (metaads, googleads, linkedinads, tiktokads, openaiads, pinterestads or redditads).
80290
+ * ID of the connected account that owns the destination (metaads, googleads, googleanalytics or any other account POST /v1/events sends to).
80288
80291
  */
80289
80292
  accountId: string;
80290
80293
  /**
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.1791",
39
+ version: "0.2.1792",
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.1791",
8
+ version: "0.2.1792",
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.1791",
3
+ "version": "0.2.1792",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -21849,7 +21849,9 @@ export const createForwardingRule = <ThrowOnError extends boolean = false>(optio
21849
21849
  * Update a forwarding rule
21850
21850
  * Changes the fields you send and keeps the others. Send `eventNameMap: null` to stop renaming, `valueOverride: { "mode": "original" }` to send the event's own value again, and `valueCondition: null` to forward whatever the value. `eventValues` replaces the whole map; `null` or `{}` clears it.
21851
21851
  *
21852
- * `apiSecret` replaces the secret of a rule whose destination needs one, such as a Google Analytics data stream's Measurement Protocol API secret. Before saving, Zernio sends one hit to Google's validation server; Google does not confirm the secret itself, so check GA4 Realtime after the next events.
21852
+ * `apiSecret` replaces the secret of a rule whose destination needs one, such as a Google Analytics data stream's Measurement Protocol API secret. Events that name the stream in `destinations` on `POST /v1/events` use it too.
21853
+ *
21854
+ * Before saving, Zernio sends one hit to Google's validation server; Google does not confirm the secret itself, so check GA4 Realtime after the next events.
21853
21855
  *
21854
21856
  */
21855
21857
  export const updateForwardingRule = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateForwardingRuleData, ThrowOnError>) => {
@@ -82282,10 +82282,13 @@ export type SendEventsData = {
82282
82282
  events: Array<ConversionEvent>;
82283
82283
  /**
82284
82284
  * Send to these destinations instead of the saved ones (every event goes to each).
82285
+ *
82286
+ * A Google Analytics stream is sent to with the Measurement Protocol API secret saved on a forwarding rule for the same account and stream: the rule of this `profileId`, else the most recently changed one in your other profiles. With none saved, the destination's `error` says how to save one.
82287
+ *
82285
82288
  */
82286
82289
  destinations?: Array<{
82287
82290
  /**
82288
- * Connected ads account ID (metaads, googleads, linkedinads, tiktokads, openaiads, pinterestads or redditads).
82291
+ * ID of the connected account that owns the destination (metaads, googleads, googleanalytics or any other account POST /v1/events sends to).
82289
82292
  */
82290
82293
  accountId: string;
82291
82294
  /**