@getlatedev/node 0.2.1711 → 0.2.1713
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 +46 -25
- package/dist/index.d.ts +46 -25
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -0
- package/src/generated/types.gen.ts +46 -25
package/dist/index.d.mts
CHANGED
|
@@ -21656,7 +21656,24 @@ type TrackingSite = {
|
|
|
21656
21656
|
* Signs the visitor's IP and country your proxy forwards. Only on reading or updating one site.
|
|
21657
21657
|
*/
|
|
21658
21658
|
secret?: (string) | null;
|
|
21659
|
+
/**
|
|
21660
|
+
* The loader of each of `googleTagIds` on the site's own domain. Use `src` in place of the tag's googletagmanager.com address.
|
|
21661
|
+
*/
|
|
21662
|
+
googleTags?: Array<{
|
|
21663
|
+
/**
|
|
21664
|
+
* The Google tag id, such as `GTM-XXXXXXX` or `G-XXXXXXXXXX`.
|
|
21665
|
+
*/
|
|
21666
|
+
id?: string;
|
|
21667
|
+
/**
|
|
21668
|
+
* Such as `https://brand.com/zt/gtg/<hex>/?id=GTM-XXXXXXX`.
|
|
21669
|
+
*/
|
|
21670
|
+
src?: string;
|
|
21671
|
+
}>;
|
|
21659
21672
|
} | null;
|
|
21673
|
+
/**
|
|
21674
|
+
* The site's own Google tags (Tag Manager, GA4, Google Ads) its own-domain path relays to Google, so they load and measure from the site's domain.
|
|
21675
|
+
*/
|
|
21676
|
+
googleTagIds?: Array<(string)>;
|
|
21660
21677
|
consentMode?: TrackingSiteConsentMode;
|
|
21661
21678
|
/**
|
|
21662
21679
|
* One per setup step: `script` for the install, then one per ad account the site sends to, keyed by its platform and ids.
|
|
@@ -30174,7 +30191,7 @@ type GetAnalyticsError = ({
|
|
|
30174
30191
|
currentCount?: number;
|
|
30175
30192
|
limit?: number;
|
|
30176
30193
|
retryAfterSeconds?: number;
|
|
30177
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
30194
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
30178
30195
|
window?: string;
|
|
30179
30196
|
};
|
|
30180
30197
|
});
|
|
@@ -30213,7 +30230,7 @@ type GetAnalyticsDeltaError = (ErrorResponse | {
|
|
|
30213
30230
|
currentCount?: number;
|
|
30214
30231
|
limit?: number;
|
|
30215
30232
|
retryAfterSeconds?: number;
|
|
30216
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
30233
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
30217
30234
|
window?: string;
|
|
30218
30235
|
};
|
|
30219
30236
|
});
|
|
@@ -31099,7 +31116,7 @@ type GetDailyMetricsError = (ErrorResponse | {
|
|
|
31099
31116
|
currentCount?: number;
|
|
31100
31117
|
limit?: number;
|
|
31101
31118
|
retryAfterSeconds?: number;
|
|
31102
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
31119
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
31103
31120
|
window?: string;
|
|
31104
31121
|
};
|
|
31105
31122
|
});
|
|
@@ -31174,7 +31191,7 @@ type GetAnalyticsDashboardError = (ErrorResponse | unknown | {
|
|
|
31174
31191
|
currentCount?: number;
|
|
31175
31192
|
limit?: number;
|
|
31176
31193
|
retryAfterSeconds?: number;
|
|
31177
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
31194
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
31178
31195
|
window?: string;
|
|
31179
31196
|
};
|
|
31180
31197
|
});
|
|
@@ -31227,7 +31244,7 @@ type GetBestTimeToPostError = (ErrorResponse | {
|
|
|
31227
31244
|
currentCount?: number;
|
|
31228
31245
|
limit?: number;
|
|
31229
31246
|
retryAfterSeconds?: number;
|
|
31230
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
31247
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
31231
31248
|
window?: string;
|
|
31232
31249
|
};
|
|
31233
31250
|
});
|
|
@@ -31280,7 +31297,7 @@ type GetContentDecayError = (unknown | ErrorResponse | {
|
|
|
31280
31297
|
currentCount?: number;
|
|
31281
31298
|
limit?: number;
|
|
31282
31299
|
retryAfterSeconds?: number;
|
|
31283
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
31300
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
31284
31301
|
window?: string;
|
|
31285
31302
|
};
|
|
31286
31303
|
});
|
|
@@ -31334,7 +31351,7 @@ type GetPostingFrequencyError = (ErrorResponse | {
|
|
|
31334
31351
|
currentCount?: number;
|
|
31335
31352
|
limit?: number;
|
|
31336
31353
|
retryAfterSeconds?: number;
|
|
31337
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
31354
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
31338
31355
|
window?: string;
|
|
31339
31356
|
};
|
|
31340
31357
|
});
|
|
@@ -33029,7 +33046,7 @@ type GetPostTimelineError = ({
|
|
|
33029
33046
|
currentCount?: number;
|
|
33030
33047
|
limit?: number;
|
|
33031
33048
|
retryAfterSeconds?: number;
|
|
33032
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33049
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33033
33050
|
window?: string;
|
|
33034
33051
|
};
|
|
33035
33052
|
});
|
|
@@ -33338,7 +33355,7 @@ type ListTrackingWindowsError = (ErrorResponse | {
|
|
|
33338
33355
|
currentCount?: number;
|
|
33339
33356
|
limit?: number;
|
|
33340
33357
|
retryAfterSeconds?: number;
|
|
33341
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33358
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33342
33359
|
window?: string;
|
|
33343
33360
|
};
|
|
33344
33361
|
});
|
|
@@ -33357,7 +33374,7 @@ type GetTrackingWindowError = (ErrorResponse | {
|
|
|
33357
33374
|
currentCount?: number;
|
|
33358
33375
|
limit?: number;
|
|
33359
33376
|
retryAfterSeconds?: number;
|
|
33360
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33377
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33361
33378
|
window?: string;
|
|
33362
33379
|
};
|
|
33363
33380
|
});
|
|
@@ -33407,7 +33424,7 @@ type GetPostSamplesError = (ErrorResponse | {
|
|
|
33407
33424
|
currentCount?: number;
|
|
33408
33425
|
limit?: number;
|
|
33409
33426
|
retryAfterSeconds?: number;
|
|
33410
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33427
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33411
33428
|
window?: string;
|
|
33412
33429
|
};
|
|
33413
33430
|
});
|
|
@@ -33642,7 +33659,7 @@ type GetInboxVolumeError = ({
|
|
|
33642
33659
|
currentCount?: number;
|
|
33643
33660
|
limit?: number;
|
|
33644
33661
|
retryAfterSeconds?: number;
|
|
33645
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33662
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33646
33663
|
window?: string;
|
|
33647
33664
|
};
|
|
33648
33665
|
});
|
|
@@ -33686,7 +33703,7 @@ type GetInboxHeatmapError = ({
|
|
|
33686
33703
|
currentCount?: number;
|
|
33687
33704
|
limit?: number;
|
|
33688
33705
|
retryAfterSeconds?: number;
|
|
33689
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33706
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33690
33707
|
window?: string;
|
|
33691
33708
|
};
|
|
33692
33709
|
});
|
|
@@ -33727,7 +33744,7 @@ type GetInboxSourceBreakdownError = ({
|
|
|
33727
33744
|
currentCount?: number;
|
|
33728
33745
|
limit?: number;
|
|
33729
33746
|
retryAfterSeconds?: number;
|
|
33730
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33747
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33731
33748
|
window?: string;
|
|
33732
33749
|
};
|
|
33733
33750
|
});
|
|
@@ -33777,7 +33794,7 @@ type GetInboxResponseTimeError = ({
|
|
|
33777
33794
|
currentCount?: number;
|
|
33778
33795
|
limit?: number;
|
|
33779
33796
|
retryAfterSeconds?: number;
|
|
33780
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33797
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33781
33798
|
window?: string;
|
|
33782
33799
|
};
|
|
33783
33800
|
});
|
|
@@ -33828,7 +33845,7 @@ type GetInboxTopAccountsError = ({
|
|
|
33828
33845
|
currentCount?: number;
|
|
33829
33846
|
limit?: number;
|
|
33830
33847
|
retryAfterSeconds?: number;
|
|
33831
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33848
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33832
33849
|
window?: string;
|
|
33833
33850
|
};
|
|
33834
33851
|
});
|
|
@@ -33895,7 +33912,7 @@ type ListInboxConversationAnalyticsError = ({
|
|
|
33895
33912
|
currentCount?: number;
|
|
33896
33913
|
limit?: number;
|
|
33897
33914
|
retryAfterSeconds?: number;
|
|
33898
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33915
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33899
33916
|
window?: string;
|
|
33900
33917
|
};
|
|
33901
33918
|
});
|
|
@@ -33959,7 +33976,7 @@ type GetInboxConversationAnalyticsError = ({
|
|
|
33959
33976
|
currentCount?: number;
|
|
33960
33977
|
limit?: number;
|
|
33961
33978
|
retryAfterSeconds?: number;
|
|
33962
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33979
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33963
33980
|
window?: string;
|
|
33964
33981
|
};
|
|
33965
33982
|
});
|
|
@@ -59425,7 +59442,7 @@ type ListAdsError = (ErrorResponse | unknown | {
|
|
|
59425
59442
|
currentCount?: number;
|
|
59426
59443
|
limit?: number;
|
|
59427
59444
|
retryAfterSeconds?: number;
|
|
59428
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
59445
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
59429
59446
|
window?: string;
|
|
59430
59447
|
};
|
|
59431
59448
|
});
|
|
@@ -61250,7 +61267,7 @@ type ListAdCampaignsError = (ErrorResponse | unknown | {
|
|
|
61250
61267
|
currentCount?: number;
|
|
61251
61268
|
limit?: number;
|
|
61252
61269
|
retryAfterSeconds?: number;
|
|
61253
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
61270
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
61254
61271
|
window?: string;
|
|
61255
61272
|
};
|
|
61256
61273
|
});
|
|
@@ -63195,7 +63212,7 @@ type GetAdTreeError = (ErrorResponse | unknown | {
|
|
|
63195
63212
|
currentCount?: number;
|
|
63196
63213
|
limit?: number;
|
|
63197
63214
|
retryAfterSeconds?: number;
|
|
63198
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
63215
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
63199
63216
|
window?: string;
|
|
63200
63217
|
};
|
|
63201
63218
|
});
|
|
@@ -63243,7 +63260,7 @@ type ListAdsByPerformanceError = (ErrorResponse | unknown | {
|
|
|
63243
63260
|
currentCount?: number;
|
|
63244
63261
|
limit?: number;
|
|
63245
63262
|
retryAfterSeconds?: number;
|
|
63246
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
63263
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
63247
63264
|
window?: string;
|
|
63248
63265
|
};
|
|
63249
63266
|
});
|
|
@@ -63287,7 +63304,7 @@ type GetAdsTimelineError = (ErrorResponse | unknown | {
|
|
|
63287
63304
|
currentCount?: number;
|
|
63288
63305
|
limit?: number;
|
|
63289
63306
|
retryAfterSeconds?: number;
|
|
63290
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
63307
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
63291
63308
|
window?: string;
|
|
63292
63309
|
};
|
|
63293
63310
|
});
|
|
@@ -64738,7 +64755,7 @@ type GetAdAnalyticsError = (ErrorResponse | unknown | {
|
|
|
64738
64755
|
currentCount?: number;
|
|
64739
64756
|
limit?: number;
|
|
64740
64757
|
retryAfterSeconds?: number;
|
|
64741
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
64758
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
64742
64759
|
window?: string;
|
|
64743
64760
|
};
|
|
64744
64761
|
});
|
|
@@ -65081,7 +65098,7 @@ type ListAdsAlertsError = (ErrorResponse | unknown | {
|
|
|
65081
65098
|
currentCount?: number;
|
|
65082
65099
|
limit?: number;
|
|
65083
65100
|
retryAfterSeconds?: number;
|
|
65084
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
65101
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
65085
65102
|
window?: string;
|
|
65086
65103
|
};
|
|
65087
65104
|
});
|
|
@@ -73798,6 +73815,10 @@ type UpdateTrackingSiteData = {
|
|
|
73798
73815
|
* The path your server forwards to the collector, such as `/zt`. `null` removes it.
|
|
73799
73816
|
*/
|
|
73800
73817
|
proxyPath?: (string) | null;
|
|
73818
|
+
/**
|
|
73819
|
+
* Google tag ids such as `GTM-XXXXXXX`, `G-XXXXXXXXXX` or `AW-XXXXXXXXXX`, up to 10. `null` or `[]` removes them.
|
|
73820
|
+
*/
|
|
73821
|
+
googleTagIds?: Array<(string)> | null;
|
|
73801
73822
|
};
|
|
73802
73823
|
path: {
|
|
73803
73824
|
siteId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -21656,7 +21656,24 @@ type TrackingSite = {
|
|
|
21656
21656
|
* Signs the visitor's IP and country your proxy forwards. Only on reading or updating one site.
|
|
21657
21657
|
*/
|
|
21658
21658
|
secret?: (string) | null;
|
|
21659
|
+
/**
|
|
21660
|
+
* The loader of each of `googleTagIds` on the site's own domain. Use `src` in place of the tag's googletagmanager.com address.
|
|
21661
|
+
*/
|
|
21662
|
+
googleTags?: Array<{
|
|
21663
|
+
/**
|
|
21664
|
+
* The Google tag id, such as `GTM-XXXXXXX` or `G-XXXXXXXXXX`.
|
|
21665
|
+
*/
|
|
21666
|
+
id?: string;
|
|
21667
|
+
/**
|
|
21668
|
+
* Such as `https://brand.com/zt/gtg/<hex>/?id=GTM-XXXXXXX`.
|
|
21669
|
+
*/
|
|
21670
|
+
src?: string;
|
|
21671
|
+
}>;
|
|
21659
21672
|
} | null;
|
|
21673
|
+
/**
|
|
21674
|
+
* The site's own Google tags (Tag Manager, GA4, Google Ads) its own-domain path relays to Google, so they load and measure from the site's domain.
|
|
21675
|
+
*/
|
|
21676
|
+
googleTagIds?: Array<(string)>;
|
|
21660
21677
|
consentMode?: TrackingSiteConsentMode;
|
|
21661
21678
|
/**
|
|
21662
21679
|
* One per setup step: `script` for the install, then one per ad account the site sends to, keyed by its platform and ids.
|
|
@@ -30174,7 +30191,7 @@ type GetAnalyticsError = ({
|
|
|
30174
30191
|
currentCount?: number;
|
|
30175
30192
|
limit?: number;
|
|
30176
30193
|
retryAfterSeconds?: number;
|
|
30177
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
30194
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
30178
30195
|
window?: string;
|
|
30179
30196
|
};
|
|
30180
30197
|
});
|
|
@@ -30213,7 +30230,7 @@ type GetAnalyticsDeltaError = (ErrorResponse | {
|
|
|
30213
30230
|
currentCount?: number;
|
|
30214
30231
|
limit?: number;
|
|
30215
30232
|
retryAfterSeconds?: number;
|
|
30216
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
30233
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
30217
30234
|
window?: string;
|
|
30218
30235
|
};
|
|
30219
30236
|
});
|
|
@@ -31099,7 +31116,7 @@ type GetDailyMetricsError = (ErrorResponse | {
|
|
|
31099
31116
|
currentCount?: number;
|
|
31100
31117
|
limit?: number;
|
|
31101
31118
|
retryAfterSeconds?: number;
|
|
31102
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
31119
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
31103
31120
|
window?: string;
|
|
31104
31121
|
};
|
|
31105
31122
|
});
|
|
@@ -31174,7 +31191,7 @@ type GetAnalyticsDashboardError = (ErrorResponse | unknown | {
|
|
|
31174
31191
|
currentCount?: number;
|
|
31175
31192
|
limit?: number;
|
|
31176
31193
|
retryAfterSeconds?: number;
|
|
31177
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
31194
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
31178
31195
|
window?: string;
|
|
31179
31196
|
};
|
|
31180
31197
|
});
|
|
@@ -31227,7 +31244,7 @@ type GetBestTimeToPostError = (ErrorResponse | {
|
|
|
31227
31244
|
currentCount?: number;
|
|
31228
31245
|
limit?: number;
|
|
31229
31246
|
retryAfterSeconds?: number;
|
|
31230
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
31247
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
31231
31248
|
window?: string;
|
|
31232
31249
|
};
|
|
31233
31250
|
});
|
|
@@ -31280,7 +31297,7 @@ type GetContentDecayError = (unknown | ErrorResponse | {
|
|
|
31280
31297
|
currentCount?: number;
|
|
31281
31298
|
limit?: number;
|
|
31282
31299
|
retryAfterSeconds?: number;
|
|
31283
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
31300
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
31284
31301
|
window?: string;
|
|
31285
31302
|
};
|
|
31286
31303
|
});
|
|
@@ -31334,7 +31351,7 @@ type GetPostingFrequencyError = (ErrorResponse | {
|
|
|
31334
31351
|
currentCount?: number;
|
|
31335
31352
|
limit?: number;
|
|
31336
31353
|
retryAfterSeconds?: number;
|
|
31337
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
31354
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
31338
31355
|
window?: string;
|
|
31339
31356
|
};
|
|
31340
31357
|
});
|
|
@@ -33029,7 +33046,7 @@ type GetPostTimelineError = ({
|
|
|
33029
33046
|
currentCount?: number;
|
|
33030
33047
|
limit?: number;
|
|
33031
33048
|
retryAfterSeconds?: number;
|
|
33032
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33049
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33033
33050
|
window?: string;
|
|
33034
33051
|
};
|
|
33035
33052
|
});
|
|
@@ -33338,7 +33355,7 @@ type ListTrackingWindowsError = (ErrorResponse | {
|
|
|
33338
33355
|
currentCount?: number;
|
|
33339
33356
|
limit?: number;
|
|
33340
33357
|
retryAfterSeconds?: number;
|
|
33341
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33358
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33342
33359
|
window?: string;
|
|
33343
33360
|
};
|
|
33344
33361
|
});
|
|
@@ -33357,7 +33374,7 @@ type GetTrackingWindowError = (ErrorResponse | {
|
|
|
33357
33374
|
currentCount?: number;
|
|
33358
33375
|
limit?: number;
|
|
33359
33376
|
retryAfterSeconds?: number;
|
|
33360
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33377
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33361
33378
|
window?: string;
|
|
33362
33379
|
};
|
|
33363
33380
|
});
|
|
@@ -33407,7 +33424,7 @@ type GetPostSamplesError = (ErrorResponse | {
|
|
|
33407
33424
|
currentCount?: number;
|
|
33408
33425
|
limit?: number;
|
|
33409
33426
|
retryAfterSeconds?: number;
|
|
33410
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33427
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33411
33428
|
window?: string;
|
|
33412
33429
|
};
|
|
33413
33430
|
});
|
|
@@ -33642,7 +33659,7 @@ type GetInboxVolumeError = ({
|
|
|
33642
33659
|
currentCount?: number;
|
|
33643
33660
|
limit?: number;
|
|
33644
33661
|
retryAfterSeconds?: number;
|
|
33645
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33662
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33646
33663
|
window?: string;
|
|
33647
33664
|
};
|
|
33648
33665
|
});
|
|
@@ -33686,7 +33703,7 @@ type GetInboxHeatmapError = ({
|
|
|
33686
33703
|
currentCount?: number;
|
|
33687
33704
|
limit?: number;
|
|
33688
33705
|
retryAfterSeconds?: number;
|
|
33689
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33706
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33690
33707
|
window?: string;
|
|
33691
33708
|
};
|
|
33692
33709
|
});
|
|
@@ -33727,7 +33744,7 @@ type GetInboxSourceBreakdownError = ({
|
|
|
33727
33744
|
currentCount?: number;
|
|
33728
33745
|
limit?: number;
|
|
33729
33746
|
retryAfterSeconds?: number;
|
|
33730
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33747
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33731
33748
|
window?: string;
|
|
33732
33749
|
};
|
|
33733
33750
|
});
|
|
@@ -33777,7 +33794,7 @@ type GetInboxResponseTimeError = ({
|
|
|
33777
33794
|
currentCount?: number;
|
|
33778
33795
|
limit?: number;
|
|
33779
33796
|
retryAfterSeconds?: number;
|
|
33780
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33797
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33781
33798
|
window?: string;
|
|
33782
33799
|
};
|
|
33783
33800
|
});
|
|
@@ -33828,7 +33845,7 @@ type GetInboxTopAccountsError = ({
|
|
|
33828
33845
|
currentCount?: number;
|
|
33829
33846
|
limit?: number;
|
|
33830
33847
|
retryAfterSeconds?: number;
|
|
33831
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33848
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33832
33849
|
window?: string;
|
|
33833
33850
|
};
|
|
33834
33851
|
});
|
|
@@ -33895,7 +33912,7 @@ type ListInboxConversationAnalyticsError = ({
|
|
|
33895
33912
|
currentCount?: number;
|
|
33896
33913
|
limit?: number;
|
|
33897
33914
|
retryAfterSeconds?: number;
|
|
33898
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33915
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33899
33916
|
window?: string;
|
|
33900
33917
|
};
|
|
33901
33918
|
});
|
|
@@ -33959,7 +33976,7 @@ type GetInboxConversationAnalyticsError = ({
|
|
|
33959
33976
|
currentCount?: number;
|
|
33960
33977
|
limit?: number;
|
|
33961
33978
|
retryAfterSeconds?: number;
|
|
33962
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
33979
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
33963
33980
|
window?: string;
|
|
33964
33981
|
};
|
|
33965
33982
|
});
|
|
@@ -59425,7 +59442,7 @@ type ListAdsError = (ErrorResponse | unknown | {
|
|
|
59425
59442
|
currentCount?: number;
|
|
59426
59443
|
limit?: number;
|
|
59427
59444
|
retryAfterSeconds?: number;
|
|
59428
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
59445
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
59429
59446
|
window?: string;
|
|
59430
59447
|
};
|
|
59431
59448
|
});
|
|
@@ -61250,7 +61267,7 @@ type ListAdCampaignsError = (ErrorResponse | unknown | {
|
|
|
61250
61267
|
currentCount?: number;
|
|
61251
61268
|
limit?: number;
|
|
61252
61269
|
retryAfterSeconds?: number;
|
|
61253
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
61270
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
61254
61271
|
window?: string;
|
|
61255
61272
|
};
|
|
61256
61273
|
});
|
|
@@ -63195,7 +63212,7 @@ type GetAdTreeError = (ErrorResponse | unknown | {
|
|
|
63195
63212
|
currentCount?: number;
|
|
63196
63213
|
limit?: number;
|
|
63197
63214
|
retryAfterSeconds?: number;
|
|
63198
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
63215
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
63199
63216
|
window?: string;
|
|
63200
63217
|
};
|
|
63201
63218
|
});
|
|
@@ -63243,7 +63260,7 @@ type ListAdsByPerformanceError = (ErrorResponse | unknown | {
|
|
|
63243
63260
|
currentCount?: number;
|
|
63244
63261
|
limit?: number;
|
|
63245
63262
|
retryAfterSeconds?: number;
|
|
63246
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
63263
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
63247
63264
|
window?: string;
|
|
63248
63265
|
};
|
|
63249
63266
|
});
|
|
@@ -63287,7 +63304,7 @@ type GetAdsTimelineError = (ErrorResponse | unknown | {
|
|
|
63287
63304
|
currentCount?: number;
|
|
63288
63305
|
limit?: number;
|
|
63289
63306
|
retryAfterSeconds?: number;
|
|
63290
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
63307
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
63291
63308
|
window?: string;
|
|
63292
63309
|
};
|
|
63293
63310
|
});
|
|
@@ -64738,7 +64755,7 @@ type GetAdAnalyticsError = (ErrorResponse | unknown | {
|
|
|
64738
64755
|
currentCount?: number;
|
|
64739
64756
|
limit?: number;
|
|
64740
64757
|
retryAfterSeconds?: number;
|
|
64741
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
64758
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
64742
64759
|
window?: string;
|
|
64743
64760
|
};
|
|
64744
64761
|
});
|
|
@@ -65081,7 +65098,7 @@ type ListAdsAlertsError = (ErrorResponse | unknown | {
|
|
|
65081
65098
|
currentCount?: number;
|
|
65082
65099
|
limit?: number;
|
|
65083
65100
|
retryAfterSeconds?: number;
|
|
65084
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
65101
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
65085
65102
|
window?: string;
|
|
65086
65103
|
};
|
|
65087
65104
|
});
|
|
@@ -73798,6 +73815,10 @@ type UpdateTrackingSiteData = {
|
|
|
73798
73815
|
* The path your server forwards to the collector, such as `/zt`. `null` removes it.
|
|
73799
73816
|
*/
|
|
73800
73817
|
proxyPath?: (string) | null;
|
|
73818
|
+
/**
|
|
73819
|
+
* Google tag ids such as `GTM-XXXXXXX`, `G-XXXXXXXXXX` or `AW-XXXXXXXXXX`, up to 10. `null` or `[]` removes them.
|
|
73820
|
+
*/
|
|
73821
|
+
googleTagIds?: Array<(string)> | null;
|
|
73801
73822
|
};
|
|
73802
73823
|
path: {
|
|
73803
73824
|
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.1713",
|
|
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.1713",
|
|
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
|
@@ -20461,6 +20461,8 @@ export const getTrackingSite = <ThrowOnError extends boolean = false>(options: O
|
|
|
20461
20461
|
*
|
|
20462
20462
|
* `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.
|
|
20463
20463
|
*
|
|
20464
|
+
* `googleTagIds` lists the site's own Google tags that the same proxy relays to Google's tag gateway. Load each from its `proxy.googleTags[].src` instead of googletagmanager.com. `null` or an empty list removes them.
|
|
20465
|
+
*
|
|
20464
20466
|
*/
|
|
20465
20467
|
export const updateTrackingSite = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateTrackingSiteData, ThrowOnError>) => {
|
|
20466
20468
|
return (options?.client ?? client).patch<UpdateTrackingSiteResponse, UpdateTrackingSiteError, ThrowOnError>({
|
|
@@ -19999,7 +19999,24 @@ export type TrackingSite = {
|
|
|
19999
19999
|
* Signs the visitor's IP and country your proxy forwards. Only on reading or updating one site.
|
|
20000
20000
|
*/
|
|
20001
20001
|
secret?: (string) | null;
|
|
20002
|
+
/**
|
|
20003
|
+
* The loader of each of `googleTagIds` on the site's own domain. Use `src` in place of the tag's googletagmanager.com address.
|
|
20004
|
+
*/
|
|
20005
|
+
googleTags?: Array<{
|
|
20006
|
+
/**
|
|
20007
|
+
* The Google tag id, such as `GTM-XXXXXXX` or `G-XXXXXXXXXX`.
|
|
20008
|
+
*/
|
|
20009
|
+
id?: string;
|
|
20010
|
+
/**
|
|
20011
|
+
* Such as `https://brand.com/zt/gtg/<hex>/?id=GTM-XXXXXXX`.
|
|
20012
|
+
*/
|
|
20013
|
+
src?: string;
|
|
20014
|
+
}>;
|
|
20002
20015
|
} | null;
|
|
20016
|
+
/**
|
|
20017
|
+
* The site's own Google tags (Tag Manager, GA4, Google Ads) its own-domain path relays to Google, so they load and measure from the site's domain.
|
|
20018
|
+
*/
|
|
20019
|
+
googleTagIds?: Array<(string)>;
|
|
20003
20020
|
consentMode?: TrackingSiteConsentMode;
|
|
20004
20021
|
/**
|
|
20005
20022
|
* One per setup step: `script` for the install, then one per ad account the site sends to, keyed by its platform and ids.
|
|
@@ -28898,7 +28915,7 @@ export type GetAnalyticsError = ({
|
|
|
28898
28915
|
currentCount?: number;
|
|
28899
28916
|
limit?: number;
|
|
28900
28917
|
retryAfterSeconds?: number;
|
|
28901
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
28918
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
28902
28919
|
window?: string;
|
|
28903
28920
|
};
|
|
28904
28921
|
});
|
|
@@ -28940,7 +28957,7 @@ export type GetAnalyticsDeltaError = (ErrorResponse | {
|
|
|
28940
28957
|
currentCount?: number;
|
|
28941
28958
|
limit?: number;
|
|
28942
28959
|
retryAfterSeconds?: number;
|
|
28943
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
28960
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
28944
28961
|
window?: string;
|
|
28945
28962
|
};
|
|
28946
28963
|
});
|
|
@@ -29877,7 +29894,7 @@ export type GetDailyMetricsError = (ErrorResponse | {
|
|
|
29877
29894
|
currentCount?: number;
|
|
29878
29895
|
limit?: number;
|
|
29879
29896
|
retryAfterSeconds?: number;
|
|
29880
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
29897
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
29881
29898
|
window?: string;
|
|
29882
29899
|
};
|
|
29883
29900
|
});
|
|
@@ -29955,7 +29972,7 @@ export type GetAnalyticsDashboardError = (ErrorResponse | unknown | {
|
|
|
29955
29972
|
currentCount?: number;
|
|
29956
29973
|
limit?: number;
|
|
29957
29974
|
retryAfterSeconds?: number;
|
|
29958
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
29975
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
29959
29976
|
window?: string;
|
|
29960
29977
|
};
|
|
29961
29978
|
});
|
|
@@ -30011,7 +30028,7 @@ export type GetBestTimeToPostError = (ErrorResponse | {
|
|
|
30011
30028
|
currentCount?: number;
|
|
30012
30029
|
limit?: number;
|
|
30013
30030
|
retryAfterSeconds?: number;
|
|
30014
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
30031
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
30015
30032
|
window?: string;
|
|
30016
30033
|
};
|
|
30017
30034
|
});
|
|
@@ -30067,7 +30084,7 @@ export type GetContentDecayError = (unknown | ErrorResponse | {
|
|
|
30067
30084
|
currentCount?: number;
|
|
30068
30085
|
limit?: number;
|
|
30069
30086
|
retryAfterSeconds?: number;
|
|
30070
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
30087
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
30071
30088
|
window?: string;
|
|
30072
30089
|
};
|
|
30073
30090
|
});
|
|
@@ -30124,7 +30141,7 @@ export type GetPostingFrequencyError = (ErrorResponse | {
|
|
|
30124
30141
|
currentCount?: number;
|
|
30125
30142
|
limit?: number;
|
|
30126
30143
|
retryAfterSeconds?: number;
|
|
30127
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
30144
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
30128
30145
|
window?: string;
|
|
30129
30146
|
};
|
|
30130
30147
|
});
|
|
@@ -31922,7 +31939,7 @@ export type GetPostTimelineError = ({
|
|
|
31922
31939
|
currentCount?: number;
|
|
31923
31940
|
limit?: number;
|
|
31924
31941
|
retryAfterSeconds?: number;
|
|
31925
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
31942
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
31926
31943
|
window?: string;
|
|
31927
31944
|
};
|
|
31928
31945
|
});
|
|
@@ -32255,7 +32272,7 @@ export type ListTrackingWindowsError = (ErrorResponse | {
|
|
|
32255
32272
|
currentCount?: number;
|
|
32256
32273
|
limit?: number;
|
|
32257
32274
|
retryAfterSeconds?: number;
|
|
32258
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
32275
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
32259
32276
|
window?: string;
|
|
32260
32277
|
};
|
|
32261
32278
|
});
|
|
@@ -32277,7 +32294,7 @@ export type GetTrackingWindowError = (ErrorResponse | {
|
|
|
32277
32294
|
currentCount?: number;
|
|
32278
32295
|
limit?: number;
|
|
32279
32296
|
retryAfterSeconds?: number;
|
|
32280
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
32297
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
32281
32298
|
window?: string;
|
|
32282
32299
|
};
|
|
32283
32300
|
});
|
|
@@ -32333,7 +32350,7 @@ export type GetPostSamplesError = (ErrorResponse | {
|
|
|
32333
32350
|
currentCount?: number;
|
|
32334
32351
|
limit?: number;
|
|
32335
32352
|
retryAfterSeconds?: number;
|
|
32336
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
32353
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
32337
32354
|
window?: string;
|
|
32338
32355
|
};
|
|
32339
32356
|
});
|
|
@@ -32583,7 +32600,7 @@ export type GetInboxVolumeError = ({
|
|
|
32583
32600
|
currentCount?: number;
|
|
32584
32601
|
limit?: number;
|
|
32585
32602
|
retryAfterSeconds?: number;
|
|
32586
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
32603
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
32587
32604
|
window?: string;
|
|
32588
32605
|
};
|
|
32589
32606
|
});
|
|
@@ -32630,7 +32647,7 @@ export type GetInboxHeatmapError = ({
|
|
|
32630
32647
|
currentCount?: number;
|
|
32631
32648
|
limit?: number;
|
|
32632
32649
|
retryAfterSeconds?: number;
|
|
32633
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
32650
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
32634
32651
|
window?: string;
|
|
32635
32652
|
};
|
|
32636
32653
|
});
|
|
@@ -32674,7 +32691,7 @@ export type GetInboxSourceBreakdownError = ({
|
|
|
32674
32691
|
currentCount?: number;
|
|
32675
32692
|
limit?: number;
|
|
32676
32693
|
retryAfterSeconds?: number;
|
|
32677
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
32694
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
32678
32695
|
window?: string;
|
|
32679
32696
|
};
|
|
32680
32697
|
});
|
|
@@ -32727,7 +32744,7 @@ export type GetInboxResponseTimeError = ({
|
|
|
32727
32744
|
currentCount?: number;
|
|
32728
32745
|
limit?: number;
|
|
32729
32746
|
retryAfterSeconds?: number;
|
|
32730
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
32747
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
32731
32748
|
window?: string;
|
|
32732
32749
|
};
|
|
32733
32750
|
});
|
|
@@ -32781,7 +32798,7 @@ export type GetInboxTopAccountsError = ({
|
|
|
32781
32798
|
currentCount?: number;
|
|
32782
32799
|
limit?: number;
|
|
32783
32800
|
retryAfterSeconds?: number;
|
|
32784
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
32801
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
32785
32802
|
window?: string;
|
|
32786
32803
|
};
|
|
32787
32804
|
});
|
|
@@ -32851,7 +32868,7 @@ export type ListInboxConversationAnalyticsError = ({
|
|
|
32851
32868
|
currentCount?: number;
|
|
32852
32869
|
limit?: number;
|
|
32853
32870
|
retryAfterSeconds?: number;
|
|
32854
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
32871
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
32855
32872
|
window?: string;
|
|
32856
32873
|
};
|
|
32857
32874
|
});
|
|
@@ -32918,7 +32935,7 @@ export type GetInboxConversationAnalyticsError = ({
|
|
|
32918
32935
|
currentCount?: number;
|
|
32919
32936
|
limit?: number;
|
|
32920
32937
|
retryAfterSeconds?: number;
|
|
32921
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
32938
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
32922
32939
|
window?: string;
|
|
32923
32940
|
};
|
|
32924
32941
|
});
|
|
@@ -60381,7 +60398,7 @@ export type ListAdsError = (ErrorResponse | unknown | {
|
|
|
60381
60398
|
currentCount?: number;
|
|
60382
60399
|
limit?: number;
|
|
60383
60400
|
retryAfterSeconds?: number;
|
|
60384
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
60401
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
60385
60402
|
window?: string;
|
|
60386
60403
|
};
|
|
60387
60404
|
});
|
|
@@ -62400,7 +62417,7 @@ export type ListAdCampaignsError = (ErrorResponse | unknown | {
|
|
|
62400
62417
|
currentCount?: number;
|
|
62401
62418
|
limit?: number;
|
|
62402
62419
|
retryAfterSeconds?: number;
|
|
62403
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
62420
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
62404
62421
|
window?: string;
|
|
62405
62422
|
};
|
|
62406
62423
|
});
|
|
@@ -64417,7 +64434,7 @@ export type GetAdTreeError = (ErrorResponse | unknown | {
|
|
|
64417
64434
|
currentCount?: number;
|
|
64418
64435
|
limit?: number;
|
|
64419
64436
|
retryAfterSeconds?: number;
|
|
64420
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
64437
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
64421
64438
|
window?: string;
|
|
64422
64439
|
};
|
|
64423
64440
|
});
|
|
@@ -64468,7 +64485,7 @@ export type ListAdsByPerformanceError = (ErrorResponse | unknown | {
|
|
|
64468
64485
|
currentCount?: number;
|
|
64469
64486
|
limit?: number;
|
|
64470
64487
|
retryAfterSeconds?: number;
|
|
64471
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
64488
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
64472
64489
|
window?: string;
|
|
64473
64490
|
};
|
|
64474
64491
|
});
|
|
@@ -64515,7 +64532,7 @@ export type GetAdsTimelineError = (ErrorResponse | unknown | {
|
|
|
64515
64532
|
currentCount?: number;
|
|
64516
64533
|
limit?: number;
|
|
64517
64534
|
retryAfterSeconds?: number;
|
|
64518
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
64535
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
64519
64536
|
window?: string;
|
|
64520
64537
|
};
|
|
64521
64538
|
});
|
|
@@ -66038,7 +66055,7 @@ export type GetAdAnalyticsError = (ErrorResponse | unknown | {
|
|
|
66038
66055
|
currentCount?: number;
|
|
66039
66056
|
limit?: number;
|
|
66040
66057
|
retryAfterSeconds?: number;
|
|
66041
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
66058
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
66042
66059
|
window?: string;
|
|
66043
66060
|
};
|
|
66044
66061
|
});
|
|
@@ -66405,7 +66422,7 @@ export type ListAdsAlertsError = (ErrorResponse | unknown | {
|
|
|
66405
66422
|
currentCount?: number;
|
|
66406
66423
|
limit?: number;
|
|
66407
66424
|
retryAfterSeconds?: number;
|
|
66408
|
-
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
|
|
66425
|
+
scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
|
|
66409
66426
|
window?: string;
|
|
66410
66427
|
};
|
|
66411
66428
|
});
|
|
@@ -75624,6 +75641,10 @@ export type UpdateTrackingSiteData = {
|
|
|
75624
75641
|
* The path your server forwards to the collector, such as `/zt`. `null` removes it.
|
|
75625
75642
|
*/
|
|
75626
75643
|
proxyPath?: (string) | null;
|
|
75644
|
+
/**
|
|
75645
|
+
* Google tag ids such as `GTM-XXXXXXX`, `G-XXXXXXXXXX` or `AW-XXXXXXXXXX`, up to 10. `null` or `[]` removes them.
|
|
75646
|
+
*/
|
|
75647
|
+
googleTagIds?: Array<(string)> | null;
|
|
75627
75648
|
};
|
|
75628
75649
|
path: {
|
|
75629
75650
|
siteId: string;
|