@getlatedev/node 0.2.1790 → 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 +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -1
- package/src/generated/types.gen.ts +8 -1
package/dist/index.d.mts
CHANGED
|
@@ -40726,6 +40726,10 @@ type VerifyCredentialResponse = ({
|
|
|
40726
40726
|
* Granted OAuth scopes, space-separated. Null for API keys.
|
|
40727
40727
|
*/
|
|
40728
40728
|
scope?: (string) | null;
|
|
40729
|
+
/**
|
|
40730
|
+
* Resource the OAuth token was issued for (RFC 8707), for example https://mcp.zernio.com/mcp. Null for API keys and for tokens issued without one.
|
|
40731
|
+
*/
|
|
40732
|
+
audience?: (string) | null;
|
|
40729
40733
|
});
|
|
40730
40734
|
type VerifyCredentialError = (ErrorResponse);
|
|
40731
40735
|
type SubmitFeedbackData = {
|
|
@@ -80277,10 +80281,13 @@ type SendEventsData = {
|
|
|
80277
80281
|
events: Array<ConversionEvent>;
|
|
80278
80282
|
/**
|
|
80279
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
|
+
*
|
|
80280
80287
|
*/
|
|
80281
80288
|
destinations?: Array<{
|
|
80282
80289
|
/**
|
|
80283
|
-
*
|
|
80290
|
+
* ID of the connected account that owns the destination (metaads, googleads, googleanalytics or any other account POST /v1/events sends to).
|
|
80284
80291
|
*/
|
|
80285
80292
|
accountId: string;
|
|
80286
80293
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -40726,6 +40726,10 @@ type VerifyCredentialResponse = ({
|
|
|
40726
40726
|
* Granted OAuth scopes, space-separated. Null for API keys.
|
|
40727
40727
|
*/
|
|
40728
40728
|
scope?: (string) | null;
|
|
40729
|
+
/**
|
|
40730
|
+
* Resource the OAuth token was issued for (RFC 8707), for example https://mcp.zernio.com/mcp. Null for API keys and for tokens issued without one.
|
|
40731
|
+
*/
|
|
40732
|
+
audience?: (string) | null;
|
|
40729
40733
|
});
|
|
40730
40734
|
type VerifyCredentialError = (ErrorResponse);
|
|
40731
40735
|
type SubmitFeedbackData = {
|
|
@@ -80277,10 +80281,13 @@ type SendEventsData = {
|
|
|
80277
80281
|
events: Array<ConversionEvent>;
|
|
80278
80282
|
/**
|
|
80279
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
|
+
*
|
|
80280
80287
|
*/
|
|
80281
80288
|
destinations?: Array<{
|
|
80282
80289
|
/**
|
|
80283
|
-
*
|
|
80290
|
+
* ID of the connected account that owns the destination (metaads, googleads, googleanalytics or any other account POST /v1/events sends to).
|
|
80284
80291
|
*/
|
|
80285
80292
|
accountId: string;
|
|
80286
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.
|
|
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.
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -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.
|
|
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>) => {
|
|
@@ -39920,6 +39920,10 @@ export type VerifyCredentialResponse = ({
|
|
|
39920
39920
|
* Granted OAuth scopes, space-separated. Null for API keys.
|
|
39921
39921
|
*/
|
|
39922
39922
|
scope?: (string) | null;
|
|
39923
|
+
/**
|
|
39924
|
+
* Resource the OAuth token was issued for (RFC 8707), for example https://mcp.zernio.com/mcp. Null for API keys and for tokens issued without one.
|
|
39925
|
+
*/
|
|
39926
|
+
audience?: (string) | null;
|
|
39923
39927
|
});
|
|
39924
39928
|
|
|
39925
39929
|
export type VerifyCredentialError = (ErrorResponse);
|
|
@@ -82278,10 +82282,13 @@ export type SendEventsData = {
|
|
|
82278
82282
|
events: Array<ConversionEvent>;
|
|
82279
82283
|
/**
|
|
82280
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
|
+
*
|
|
82281
82288
|
*/
|
|
82282
82289
|
destinations?: Array<{
|
|
82283
82290
|
/**
|
|
82284
|
-
*
|
|
82291
|
+
* ID of the connected account that owns the destination (metaads, googleads, googleanalytics or any other account POST /v1/events sends to).
|
|
82285
82292
|
*/
|
|
82286
82293
|
accountId: string;
|
|
82287
82294
|
/**
|