@getlatedev/node 0.2.1725 → 0.2.1727
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 +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +20 -0
package/dist/index.d.mts
CHANGED
|
@@ -61146,6 +61146,10 @@ type ListCampaignResultsData = {
|
|
|
61146
61146
|
* Campaigns per page.
|
|
61147
61147
|
*/
|
|
61148
61148
|
limit?: number;
|
|
61149
|
+
/**
|
|
61150
|
+
* Attribution model your stored sales and leads count under. `last_click` (default) counts each event whole for the campaign it matched. The others split it across the campaigns of its earlier touches, so counts and revenue can be fractional. Uploads read the same under every model.
|
|
61151
|
+
*/
|
|
61152
|
+
model?: 'last_click' | 'first_touch' | 'last_non_direct' | 'linear' | 'position_based' | 'time_decay';
|
|
61149
61153
|
/**
|
|
61150
61154
|
* Inclusive. At most 400 days after `fromDate`.
|
|
61151
61155
|
*/
|
|
@@ -61155,6 +61159,10 @@ type ListCampaignResultsData = {
|
|
|
61155
61159
|
type ListCampaignResultsResponse = ({
|
|
61156
61160
|
fromDate: string;
|
|
61157
61161
|
toDate: string;
|
|
61162
|
+
/**
|
|
61163
|
+
* The attribution model the results are counted under.
|
|
61164
|
+
*/
|
|
61165
|
+
model: string;
|
|
61158
61166
|
campaigns: Array<{
|
|
61159
61167
|
platform: string;
|
|
61160
61168
|
adAccountId: string;
|
|
@@ -61206,6 +61214,10 @@ type GetCampaignResultsTotalsData = {
|
|
|
61206
61214
|
*/
|
|
61207
61215
|
adAccountIds?: string;
|
|
61208
61216
|
fromDate: string;
|
|
61217
|
+
/**
|
|
61218
|
+
* Attribution model your stored sales and leads count under. `last_click` (default) counts each event whole for the campaign it matched. The others split it across the campaigns of its earlier touches, so counts and revenue can be fractional. Uploads read the same under every model.
|
|
61219
|
+
*/
|
|
61220
|
+
model?: 'last_click' | 'first_touch' | 'last_non_direct' | 'linear' | 'position_based' | 'time_decay';
|
|
61209
61221
|
/**
|
|
61210
61222
|
* Inclusive. At most 400 days after `fromDate`.
|
|
61211
61223
|
*/
|
|
@@ -61215,6 +61227,10 @@ type GetCampaignResultsTotalsData = {
|
|
|
61215
61227
|
type GetCampaignResultsTotalsResponse = ({
|
|
61216
61228
|
fromDate: string;
|
|
61217
61229
|
toDate: string;
|
|
61230
|
+
/**
|
|
61231
|
+
* The attribution model the results are counted under.
|
|
61232
|
+
*/
|
|
61233
|
+
model: string;
|
|
61218
61234
|
totals: {
|
|
61219
61235
|
[key: string]: (number);
|
|
61220
61236
|
};
|
|
@@ -63223,6 +63239,10 @@ type GetAdTreeData = {
|
|
|
63223
63239
|
* Return only campaigns whose spend between `fromDate` and `toDate` reaches this amount. Expressed in each campaign's OWN currency (the `currency` field on the campaign node): spend is stored per ad account in its native currency and one response can span several. Implies `hasDelivery`; `minSpend=0` applies no filter.
|
|
63224
63240
|
*/
|
|
63225
63241
|
minSpend?: number;
|
|
63242
|
+
/**
|
|
63243
|
+
* With `results=true`: the attribution model your stored sales and leads count under in `results`. Uploaded values are the same under every model.
|
|
63244
|
+
*/
|
|
63245
|
+
model?: 'last_click' | 'first_touch' | 'last_non_direct' | 'linear' | 'position_based' | 'time_decay';
|
|
63226
63246
|
/**
|
|
63227
63247
|
* Page number (1-based)
|
|
63228
63248
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -61146,6 +61146,10 @@ type ListCampaignResultsData = {
|
|
|
61146
61146
|
* Campaigns per page.
|
|
61147
61147
|
*/
|
|
61148
61148
|
limit?: number;
|
|
61149
|
+
/**
|
|
61150
|
+
* Attribution model your stored sales and leads count under. `last_click` (default) counts each event whole for the campaign it matched. The others split it across the campaigns of its earlier touches, so counts and revenue can be fractional. Uploads read the same under every model.
|
|
61151
|
+
*/
|
|
61152
|
+
model?: 'last_click' | 'first_touch' | 'last_non_direct' | 'linear' | 'position_based' | 'time_decay';
|
|
61149
61153
|
/**
|
|
61150
61154
|
* Inclusive. At most 400 days after `fromDate`.
|
|
61151
61155
|
*/
|
|
@@ -61155,6 +61159,10 @@ type ListCampaignResultsData = {
|
|
|
61155
61159
|
type ListCampaignResultsResponse = ({
|
|
61156
61160
|
fromDate: string;
|
|
61157
61161
|
toDate: string;
|
|
61162
|
+
/**
|
|
61163
|
+
* The attribution model the results are counted under.
|
|
61164
|
+
*/
|
|
61165
|
+
model: string;
|
|
61158
61166
|
campaigns: Array<{
|
|
61159
61167
|
platform: string;
|
|
61160
61168
|
adAccountId: string;
|
|
@@ -61206,6 +61214,10 @@ type GetCampaignResultsTotalsData = {
|
|
|
61206
61214
|
*/
|
|
61207
61215
|
adAccountIds?: string;
|
|
61208
61216
|
fromDate: string;
|
|
61217
|
+
/**
|
|
61218
|
+
* Attribution model your stored sales and leads count under. `last_click` (default) counts each event whole for the campaign it matched. The others split it across the campaigns of its earlier touches, so counts and revenue can be fractional. Uploads read the same under every model.
|
|
61219
|
+
*/
|
|
61220
|
+
model?: 'last_click' | 'first_touch' | 'last_non_direct' | 'linear' | 'position_based' | 'time_decay';
|
|
61209
61221
|
/**
|
|
61210
61222
|
* Inclusive. At most 400 days after `fromDate`.
|
|
61211
61223
|
*/
|
|
@@ -61215,6 +61227,10 @@ type GetCampaignResultsTotalsData = {
|
|
|
61215
61227
|
type GetCampaignResultsTotalsResponse = ({
|
|
61216
61228
|
fromDate: string;
|
|
61217
61229
|
toDate: string;
|
|
61230
|
+
/**
|
|
61231
|
+
* The attribution model the results are counted under.
|
|
61232
|
+
*/
|
|
61233
|
+
model: string;
|
|
61218
61234
|
totals: {
|
|
61219
61235
|
[key: string]: (number);
|
|
61220
61236
|
};
|
|
@@ -63223,6 +63239,10 @@ type GetAdTreeData = {
|
|
|
63223
63239
|
* Return only campaigns whose spend between `fromDate` and `toDate` reaches this amount. Expressed in each campaign's OWN currency (the `currency` field on the campaign node): spend is stored per ad account in its native currency and one response can span several. Implies `hasDelivery`; `minSpend=0` applies no filter.
|
|
63224
63240
|
*/
|
|
63225
63241
|
minSpend?: number;
|
|
63242
|
+
/**
|
|
63243
|
+
* With `results=true`: the attribution model your stored sales and leads count under in `results`. Uploaded values are the same under every model.
|
|
63244
|
+
*/
|
|
63245
|
+
model?: 'last_click' | 'first_touch' | 'last_non_direct' | 'linear' | 'position_based' | 'time_decay';
|
|
63226
63246
|
/**
|
|
63227
63247
|
* Page number (1-based)
|
|
63228
63248
|
*/
|
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.1727",
|
|
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.1727",
|
|
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
|
@@ -62275,6 +62275,10 @@ export type ListCampaignResultsData = {
|
|
|
62275
62275
|
* Campaigns per page.
|
|
62276
62276
|
*/
|
|
62277
62277
|
limit?: number;
|
|
62278
|
+
/**
|
|
62279
|
+
* Attribution model your stored sales and leads count under. `last_click` (default) counts each event whole for the campaign it matched. The others split it across the campaigns of its earlier touches, so counts and revenue can be fractional. Uploads read the same under every model.
|
|
62280
|
+
*/
|
|
62281
|
+
model?: 'last_click' | 'first_touch' | 'last_non_direct' | 'linear' | 'position_based' | 'time_decay';
|
|
62278
62282
|
/**
|
|
62279
62283
|
* Inclusive. At most 400 days after `fromDate`.
|
|
62280
62284
|
*/
|
|
@@ -62285,6 +62289,10 @@ export type ListCampaignResultsData = {
|
|
|
62285
62289
|
export type ListCampaignResultsResponse = ({
|
|
62286
62290
|
fromDate: string;
|
|
62287
62291
|
toDate: string;
|
|
62292
|
+
/**
|
|
62293
|
+
* The attribution model the results are counted under.
|
|
62294
|
+
*/
|
|
62295
|
+
model: string;
|
|
62288
62296
|
campaigns: Array<{
|
|
62289
62297
|
platform: string;
|
|
62290
62298
|
adAccountId: string;
|
|
@@ -62341,6 +62349,10 @@ export type GetCampaignResultsTotalsData = {
|
|
|
62341
62349
|
*/
|
|
62342
62350
|
adAccountIds?: string;
|
|
62343
62351
|
fromDate: string;
|
|
62352
|
+
/**
|
|
62353
|
+
* Attribution model your stored sales and leads count under. `last_click` (default) counts each event whole for the campaign it matched. The others split it across the campaigns of its earlier touches, so counts and revenue can be fractional. Uploads read the same under every model.
|
|
62354
|
+
*/
|
|
62355
|
+
model?: 'last_click' | 'first_touch' | 'last_non_direct' | 'linear' | 'position_based' | 'time_decay';
|
|
62344
62356
|
/**
|
|
62345
62357
|
* Inclusive. At most 400 days after `fromDate`.
|
|
62346
62358
|
*/
|
|
@@ -62351,6 +62363,10 @@ export type GetCampaignResultsTotalsData = {
|
|
|
62351
62363
|
export type GetCampaignResultsTotalsResponse = ({
|
|
62352
62364
|
fromDate: string;
|
|
62353
62365
|
toDate: string;
|
|
62366
|
+
/**
|
|
62367
|
+
* The attribution model the results are counted under.
|
|
62368
|
+
*/
|
|
62369
|
+
model: string;
|
|
62354
62370
|
totals: {
|
|
62355
62371
|
[key: string]: (number);
|
|
62356
62372
|
};
|
|
@@ -64443,6 +64459,10 @@ export type GetAdTreeData = {
|
|
|
64443
64459
|
* Return only campaigns whose spend between `fromDate` and `toDate` reaches this amount. Expressed in each campaign's OWN currency (the `currency` field on the campaign node): spend is stored per ad account in its native currency and one response can span several. Implies `hasDelivery`; `minSpend=0` applies no filter.
|
|
64444
64460
|
*/
|
|
64445
64461
|
minSpend?: number;
|
|
64462
|
+
/**
|
|
64463
|
+
* With `results=true`: the attribution model your stored sales and leads count under in `results`. Uploaded values are the same under every model.
|
|
64464
|
+
*/
|
|
64465
|
+
model?: 'last_click' | 'first_touch' | 'last_non_direct' | 'linear' | 'position_based' | 'time_decay';
|
|
64446
64466
|
/**
|
|
64447
64467
|
* Page number (1-based)
|
|
64448
64468
|
*/
|