@getlatedev/node 0.2.1691 → 0.2.1692
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 +17 -0
- package/dist/index.d.ts +17 -0
- 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 +17 -0
package/dist/index.d.mts
CHANGED
|
@@ -21339,6 +21339,19 @@ type TrackingSite = {
|
|
|
21339
21339
|
target?: string;
|
|
21340
21340
|
};
|
|
21341
21341
|
} | null;
|
|
21342
|
+
/**
|
|
21343
|
+
* The path your server forwards to the collector, so the tag runs from the site's own domain. Null when it has none.
|
|
21344
|
+
*/
|
|
21345
|
+
proxy?: {
|
|
21346
|
+
/**
|
|
21347
|
+
* Such as `/zt`: the snippet loads `https://<first domain>/zt/z.js`.
|
|
21348
|
+
*/
|
|
21349
|
+
path?: string;
|
|
21350
|
+
/**
|
|
21351
|
+
* Signs the visitor's IP and country your proxy forwards. Only on reading or updating one site.
|
|
21352
|
+
*/
|
|
21353
|
+
secret?: (string) | null;
|
|
21354
|
+
} | null;
|
|
21342
21355
|
consentMode?: TrackingSiteConsentMode;
|
|
21343
21356
|
/**
|
|
21344
21357
|
* One per setup step: `script` for the install, then one per ad account the site sends to, keyed by its platform and ids.
|
|
@@ -72614,6 +72627,10 @@ type UpdateTrackingSiteData = {
|
|
|
72614
72627
|
* A subdomain of one of the site's domains, never the domain itself. `null` removes it.
|
|
72615
72628
|
*/
|
|
72616
72629
|
customHostname?: (string) | null;
|
|
72630
|
+
/**
|
|
72631
|
+
* The path your server forwards to the collector, such as `/zt`. `null` removes it.
|
|
72632
|
+
*/
|
|
72633
|
+
proxyPath?: (string) | null;
|
|
72617
72634
|
};
|
|
72618
72635
|
path: {
|
|
72619
72636
|
siteId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -21339,6 +21339,19 @@ type TrackingSite = {
|
|
|
21339
21339
|
target?: string;
|
|
21340
21340
|
};
|
|
21341
21341
|
} | null;
|
|
21342
|
+
/**
|
|
21343
|
+
* The path your server forwards to the collector, so the tag runs from the site's own domain. Null when it has none.
|
|
21344
|
+
*/
|
|
21345
|
+
proxy?: {
|
|
21346
|
+
/**
|
|
21347
|
+
* Such as `/zt`: the snippet loads `https://<first domain>/zt/z.js`.
|
|
21348
|
+
*/
|
|
21349
|
+
path?: string;
|
|
21350
|
+
/**
|
|
21351
|
+
* Signs the visitor's IP and country your proxy forwards. Only on reading or updating one site.
|
|
21352
|
+
*/
|
|
21353
|
+
secret?: (string) | null;
|
|
21354
|
+
} | null;
|
|
21342
21355
|
consentMode?: TrackingSiteConsentMode;
|
|
21343
21356
|
/**
|
|
21344
21357
|
* One per setup step: `script` for the install, then one per ad account the site sends to, keyed by its platform and ids.
|
|
@@ -72614,6 +72627,10 @@ type UpdateTrackingSiteData = {
|
|
|
72614
72627
|
* A subdomain of one of the site's domains, never the domain itself. `null` removes it.
|
|
72615
72628
|
*/
|
|
72616
72629
|
customHostname?: (string) | null;
|
|
72630
|
+
/**
|
|
72631
|
+
* The path your server forwards to the collector, such as `/zt`. `null` removes it.
|
|
72632
|
+
*/
|
|
72633
|
+
proxyPath?: (string) | null;
|
|
72617
72634
|
};
|
|
72618
72635
|
path: {
|
|
72619
72636
|
siteId: string;
|
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.1692",
|
|
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.1692",
|
|
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
|
@@ -20115,10 +20115,12 @@ export const getTrackingSite = <ThrowOnError extends boolean = false>(options: O
|
|
|
20115
20115
|
|
|
20116
20116
|
/**
|
|
20117
20117
|
* Update a tracking site
|
|
20118
|
-
* Changes the site's name, domains, consent mode or
|
|
20118
|
+
* Changes the site's name, domains, consent mode, custom subdomain or own-domain path. Send at least one field.
|
|
20119
20119
|
*
|
|
20120
20120
|
* `customHostname` sets a subdomain of the site, such as `t.brand.com`; create the CNAME in `customHostname.dnsRecord`. The snippet switches to it once its status is `active`. `null` removes it.
|
|
20121
20121
|
*
|
|
20122
|
+
* `proxyPath` serves the tag from a path of the site itself, such as `brand.com/zt`, through a proxy on your server. The response's `proxy.secret` signs what the proxy forwards. `null` removes it.
|
|
20123
|
+
*
|
|
20122
20124
|
*/
|
|
20123
20125
|
export const updateTrackingSite = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateTrackingSiteData, ThrowOnError>) => {
|
|
20124
20126
|
return (options?.client ?? client).patch<UpdateTrackingSiteResponse, UpdateTrackingSiteError, ThrowOnError>({
|
|
@@ -19686,6 +19686,19 @@ export type TrackingSite = {
|
|
|
19686
19686
|
target?: string;
|
|
19687
19687
|
};
|
|
19688
19688
|
} | null;
|
|
19689
|
+
/**
|
|
19690
|
+
* The path your server forwards to the collector, so the tag runs from the site's own domain. Null when it has none.
|
|
19691
|
+
*/
|
|
19692
|
+
proxy?: {
|
|
19693
|
+
/**
|
|
19694
|
+
* Such as `/zt`: the snippet loads `https://<first domain>/zt/z.js`.
|
|
19695
|
+
*/
|
|
19696
|
+
path?: string;
|
|
19697
|
+
/**
|
|
19698
|
+
* Signs the visitor's IP and country your proxy forwards. Only on reading or updating one site.
|
|
19699
|
+
*/
|
|
19700
|
+
secret?: (string) | null;
|
|
19701
|
+
} | null;
|
|
19689
19702
|
consentMode?: TrackingSiteConsentMode;
|
|
19690
19703
|
/**
|
|
19691
19704
|
* One per setup step: `script` for the install, then one per ad account the site sends to, keyed by its platform and ids.
|
|
@@ -74384,6 +74397,10 @@ export type UpdateTrackingSiteData = {
|
|
|
74384
74397
|
* A subdomain of one of the site's domains, never the domain itself. `null` removes it.
|
|
74385
74398
|
*/
|
|
74386
74399
|
customHostname?: (string) | null;
|
|
74400
|
+
/**
|
|
74401
|
+
* The path your server forwards to the collector, such as `/zt`. `null` removes it.
|
|
74402
|
+
*/
|
|
74403
|
+
proxyPath?: (string) | null;
|
|
74387
74404
|
};
|
|
74388
74405
|
path: {
|
|
74389
74406
|
siteId: string;
|