@getlatedev/node 0.2.1664 → 0.2.1665
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 +2 -0
- package/dist/index.d.mts +128 -1
- package/dist/index.d.ts +128 -1
- package/dist/index.js +19 -1
- package/dist/index.mjs +19 -1
- package/package.json +1 -1
- package/src/client.ts +8 -0
- package/src/generated/sdk.gen.ts +30 -1
- package/src/generated/types.gen.ts +128 -0
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.1665",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -6486,6 +6486,18 @@ var getEventsOverview = (options) => {
|
|
|
6486
6486
|
url: "/v1/events/overview"
|
|
6487
6487
|
});
|
|
6488
6488
|
};
|
|
6489
|
+
var getEventsOverviewDaily = (options) => {
|
|
6490
|
+
return (options?.client ?? client).get({
|
|
6491
|
+
...options,
|
|
6492
|
+
url: "/v1/events/overview/daily"
|
|
6493
|
+
});
|
|
6494
|
+
};
|
|
6495
|
+
var listEventNames = (options) => {
|
|
6496
|
+
return (options?.client ?? client).get({
|
|
6497
|
+
...options,
|
|
6498
|
+
url: "/v1/events/names"
|
|
6499
|
+
});
|
|
6500
|
+
};
|
|
6489
6501
|
var getEvent = (options) => {
|
|
6490
6502
|
return (options?.client ?? client).get({
|
|
6491
6503
|
...options,
|
|
@@ -9666,6 +9678,8 @@ var Zernio = class _Zernio {
|
|
|
9666
9678
|
listEvents: this._bind(listEvents),
|
|
9667
9679
|
sendEvents: this._bind(sendEvents),
|
|
9668
9680
|
getEventsOverview: this._bind(getEventsOverview),
|
|
9681
|
+
getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
|
|
9682
|
+
listEventNames: this._bind(listEventNames),
|
|
9669
9683
|
getEvent: this._bind(getEvent),
|
|
9670
9684
|
restateEvent: this._bind(restateEvent),
|
|
9671
9685
|
retractEvent: this._bind(retractEvent),
|
|
@@ -10351,6 +10365,10 @@ var Zernio = class _Zernio {
|
|
|
10351
10365
|
sendEvents: this._bind(sendEvents),
|
|
10352
10366
|
/** @deprecated Use `zernio.conversions.getEventsOverview` instead. */
|
|
10353
10367
|
getEventsOverview: this._bind(getEventsOverview),
|
|
10368
|
+
/** @deprecated Use `zernio.conversions.getEventsOverviewDaily` instead. */
|
|
10369
|
+
getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
|
|
10370
|
+
/** @deprecated Use `zernio.conversions.listEventNames` instead. */
|
|
10371
|
+
listEventNames: this._bind(listEventNames),
|
|
10354
10372
|
/** @deprecated Use `zernio.conversions.getEvent` instead. */
|
|
10355
10373
|
getEvent: this._bind(getEvent),
|
|
10356
10374
|
/** @deprecated Use `zernio.conversions.restateEvent` 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.1665",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -6455,6 +6455,18 @@ var getEventsOverview = (options) => {
|
|
|
6455
6455
|
url: "/v1/events/overview"
|
|
6456
6456
|
});
|
|
6457
6457
|
};
|
|
6458
|
+
var getEventsOverviewDaily = (options) => {
|
|
6459
|
+
return (options?.client ?? client).get({
|
|
6460
|
+
...options,
|
|
6461
|
+
url: "/v1/events/overview/daily"
|
|
6462
|
+
});
|
|
6463
|
+
};
|
|
6464
|
+
var listEventNames = (options) => {
|
|
6465
|
+
return (options?.client ?? client).get({
|
|
6466
|
+
...options,
|
|
6467
|
+
url: "/v1/events/names"
|
|
6468
|
+
});
|
|
6469
|
+
};
|
|
6458
6470
|
var getEvent = (options) => {
|
|
6459
6471
|
return (options?.client ?? client).get({
|
|
6460
6472
|
...options,
|
|
@@ -9635,6 +9647,8 @@ var Zernio = class _Zernio {
|
|
|
9635
9647
|
listEvents: this._bind(listEvents),
|
|
9636
9648
|
sendEvents: this._bind(sendEvents),
|
|
9637
9649
|
getEventsOverview: this._bind(getEventsOverview),
|
|
9650
|
+
getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
|
|
9651
|
+
listEventNames: this._bind(listEventNames),
|
|
9638
9652
|
getEvent: this._bind(getEvent),
|
|
9639
9653
|
restateEvent: this._bind(restateEvent),
|
|
9640
9654
|
retractEvent: this._bind(retractEvent),
|
|
@@ -10320,6 +10334,10 @@ var Zernio = class _Zernio {
|
|
|
10320
10334
|
sendEvents: this._bind(sendEvents),
|
|
10321
10335
|
/** @deprecated Use `zernio.conversions.getEventsOverview` instead. */
|
|
10322
10336
|
getEventsOverview: this._bind(getEventsOverview),
|
|
10337
|
+
/** @deprecated Use `zernio.conversions.getEventsOverviewDaily` instead. */
|
|
10338
|
+
getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
|
|
10339
|
+
/** @deprecated Use `zernio.conversions.listEventNames` instead. */
|
|
10340
|
+
listEventNames: this._bind(listEventNames),
|
|
10323
10341
|
/** @deprecated Use `zernio.conversions.getEvent` instead. */
|
|
10324
10342
|
getEvent: this._bind(getEvent),
|
|
10325
10343
|
/** @deprecated Use `zernio.conversions.restateEvent` instead. */
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -487,6 +487,7 @@ import {
|
|
|
487
487
|
getEmailThread,
|
|
488
488
|
getEvent,
|
|
489
489
|
getEventsOverview,
|
|
490
|
+
getEventsOverviewDaily,
|
|
490
491
|
getFacebookDemographics,
|
|
491
492
|
getFacebookPageInfo,
|
|
492
493
|
getFacebookPageInsights,
|
|
@@ -816,6 +817,7 @@ import {
|
|
|
816
817
|
listEmailSignatures,
|
|
817
818
|
listEmailThreads,
|
|
818
819
|
listEventDestinations,
|
|
820
|
+
listEventNames,
|
|
819
821
|
listEvents,
|
|
820
822
|
listFacebookPages,
|
|
821
823
|
listFacebookTaggedPosts,
|
|
@@ -2972,6 +2974,8 @@ export class Zernio {
|
|
|
2972
2974
|
listEvents: this._bind(listEvents),
|
|
2973
2975
|
sendEvents: this._bind(sendEvents),
|
|
2974
2976
|
getEventsOverview: this._bind(getEventsOverview),
|
|
2977
|
+
getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
|
|
2978
|
+
listEventNames: this._bind(listEventNames),
|
|
2975
2979
|
getEvent: this._bind(getEvent),
|
|
2976
2980
|
restateEvent: this._bind(restateEvent),
|
|
2977
2981
|
retractEvent: this._bind(retractEvent),
|
|
@@ -3666,6 +3670,10 @@ export class Zernio {
|
|
|
3666
3670
|
sendEvents: this._bind(sendEvents),
|
|
3667
3671
|
/** @deprecated Use `zernio.conversions.getEventsOverview` instead. */
|
|
3668
3672
|
getEventsOverview: this._bind(getEventsOverview),
|
|
3673
|
+
/** @deprecated Use `zernio.conversions.getEventsOverviewDaily` instead. */
|
|
3674
|
+
getEventsOverviewDaily: this._bind(getEventsOverviewDaily),
|
|
3675
|
+
/** @deprecated Use `zernio.conversions.listEventNames` instead. */
|
|
3676
|
+
listEventNames: this._bind(listEventNames),
|
|
3669
3677
|
/** @deprecated Use `zernio.conversions.getEvent` instead. */
|
|
3670
3678
|
getEvent: this._bind(getEvent),
|
|
3671
3679
|
/** @deprecated Use `zernio.conversions.restateEvent` instead. */
|