@getlatedev/node 0.2.1723 → 0.2.1725
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/README.md +1 -0
- package/dist/index.d.mts +43 -2
- package/dist/index.d.ts +43 -2
- package/dist/index.js +10 -1
- package/dist/index.mjs +10 -1
- package/package.json +1 -1
- package/src/client.ts +4 -0
- package/src/generated/sdk.gen.ts +15 -1
- package/src/generated/types.gen.ts +42 -1
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.1725",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -6618,6 +6618,12 @@ var sendEvents = (options) => {
|
|
|
6618
6618
|
url: "/v1/events"
|
|
6619
6619
|
});
|
|
6620
6620
|
};
|
|
6621
|
+
var getConversionPaths = (options) => {
|
|
6622
|
+
return (options?.client ?? client).get({
|
|
6623
|
+
...options,
|
|
6624
|
+
url: "/v1/events/paths"
|
|
6625
|
+
});
|
|
6626
|
+
};
|
|
6621
6627
|
var getEventsOverview = (options) => {
|
|
6622
6628
|
return (options?.client ?? client).get({
|
|
6623
6629
|
...options,
|
|
@@ -9843,6 +9849,7 @@ var Zernio = class _Zernio {
|
|
|
9843
9849
|
removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
|
|
9844
9850
|
listEvents: this._bind(listEvents),
|
|
9845
9851
|
sendEvents: this._bind(sendEvents),
|
|
9852
|
+
getConversionPaths: this._bind(getConversionPaths),
|
|
9846
9853
|
getEventsOverview: this._bind(getEventsOverview),
|
|
9847
9854
|
getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
|
|
9848
9855
|
listEventNames: this._bind(listEventNames),
|
|
@@ -10529,6 +10536,8 @@ var Zernio = class _Zernio {
|
|
|
10529
10536
|
listEvents: this._bind(listEvents),
|
|
10530
10537
|
/** @deprecated Use `zernio.conversions.sendEvents` instead. */
|
|
10531
10538
|
sendEvents: this._bind(sendEvents),
|
|
10539
|
+
/** @deprecated Use `zernio.conversions.getConversionPaths` instead. */
|
|
10540
|
+
getConversionPaths: this._bind(getConversionPaths),
|
|
10532
10541
|
/** @deprecated Use `zernio.conversions.getEventsOverview` instead. */
|
|
10533
10542
|
getEventsOverview: this._bind(getEventsOverview),
|
|
10534
10543
|
/** @deprecated Use `zernio.conversions.getEventsOverviewDaily` 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.
|
|
8
|
+
version: "0.2.1725",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -6587,6 +6587,12 @@ var sendEvents = (options) => {
|
|
|
6587
6587
|
url: "/v1/events"
|
|
6588
6588
|
});
|
|
6589
6589
|
};
|
|
6590
|
+
var getConversionPaths = (options) => {
|
|
6591
|
+
return (options?.client ?? client).get({
|
|
6592
|
+
...options,
|
|
6593
|
+
url: "/v1/events/paths"
|
|
6594
|
+
});
|
|
6595
|
+
};
|
|
6590
6596
|
var getEventsOverview = (options) => {
|
|
6591
6597
|
return (options?.client ?? client).get({
|
|
6592
6598
|
...options,
|
|
@@ -9812,6 +9818,7 @@ var Zernio = class _Zernio {
|
|
|
9812
9818
|
removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
|
|
9813
9819
|
listEvents: this._bind(listEvents),
|
|
9814
9820
|
sendEvents: this._bind(sendEvents),
|
|
9821
|
+
getConversionPaths: this._bind(getConversionPaths),
|
|
9815
9822
|
getEventsOverview: this._bind(getEventsOverview),
|
|
9816
9823
|
getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
|
|
9817
9824
|
listEventNames: this._bind(listEventNames),
|
|
@@ -10498,6 +10505,8 @@ var Zernio = class _Zernio {
|
|
|
10498
10505
|
listEvents: this._bind(listEvents),
|
|
10499
10506
|
/** @deprecated Use `zernio.conversions.sendEvents` instead. */
|
|
10500
10507
|
sendEvents: this._bind(sendEvents),
|
|
10508
|
+
/** @deprecated Use `zernio.conversions.getConversionPaths` instead. */
|
|
10509
|
+
getConversionPaths: this._bind(getConversionPaths),
|
|
10501
10510
|
/** @deprecated Use `zernio.conversions.getEventsOverview` instead. */
|
|
10502
10511
|
getEventsOverview: this._bind(getEventsOverview),
|
|
10503
10512
|
/** @deprecated Use `zernio.conversions.getEventsOverviewDaily` instead. */
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -472,6 +472,7 @@ import {
|
|
|
472
472
|
getContentRetention,
|
|
473
473
|
getConversionDestination,
|
|
474
474
|
getConversionMetrics,
|
|
475
|
+
getConversionPaths,
|
|
475
476
|
getConversionsQuality,
|
|
476
477
|
getCreatorCampaign,
|
|
477
478
|
getCreatorPayoutStatement,
|
|
@@ -3025,6 +3026,7 @@ export class Zernio {
|
|
|
3025
3026
|
removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
|
|
3026
3027
|
listEvents: this._bind(listEvents),
|
|
3027
3028
|
sendEvents: this._bind(sendEvents),
|
|
3029
|
+
getConversionPaths: this._bind(getConversionPaths),
|
|
3028
3030
|
getEventsOverview: this._bind(getEventsOverview),
|
|
3029
3031
|
getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
|
|
3030
3032
|
listEventNames: this._bind(listEventNames),
|
|
@@ -3720,6 +3722,8 @@ export class Zernio {
|
|
|
3720
3722
|
listEvents: this._bind(listEvents),
|
|
3721
3723
|
/** @deprecated Use `zernio.conversions.sendEvents` instead. */
|
|
3722
3724
|
sendEvents: this._bind(sendEvents),
|
|
3725
|
+
/** @deprecated Use `zernio.conversions.getConversionPaths` instead. */
|
|
3726
|
+
getConversionPaths: this._bind(getConversionPaths),
|
|
3723
3727
|
/** @deprecated Use `zernio.conversions.getEventsOverview` instead. */
|
|
3724
3728
|
getEventsOverview: this._bind(getEventsOverview),
|
|
3725
3729
|
/** @deprecated Use `zernio.conversions.getEventsOverviewDaily` instead. */
|