Skip to content

Commit f98d03e

Browse files
DmytroConvertConvert Bot
authored andcommitted
feat: automated TS Serving API update
1 parent 095b70f commit f98d03e

1 file changed

Lines changed: 33 additions & 7 deletions

File tree

packages/types/src/config/types.gen.ts

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type ConfigAudience = {
1111
/**
1212
* Audience unique key
1313
*/
14-
key?: string;
14+
key?: (string) | null;
1515
/**
1616
* Audience Name
1717
*/
@@ -849,6 +849,12 @@ export type VisitorInsightsBase = {
849849
*
850850
*/
851851
sampling_rate?: 5 | 10 | 20 | 30 | 40 | 50;
852+
/**
853+
* Maximum number of visits per variation used when generating a heatmap for this project.
854+
* Applies to newly created heatmaps when an experience is activated.
855+
*
856+
*/
857+
heatmap_visits_limit?: 2500 | 5000 | 10000 | 15000;
852858
};
853859

854860
/**
@@ -865,6 +871,18 @@ export enum sampling_rate {
865871
'_50' = 50
866872
}
867873

874+
/**
875+
* Maximum number of visits per variation used when generating a heatmap for this project.
876+
* Applies to newly created heatmaps when an experience is activated.
877+
*
878+
*/
879+
export enum heatmap_visits_limit {
880+
'_2500' = 2500,
881+
'_5000' = 5000,
882+
'_10000' = 10000,
883+
'_15000' = 15000
884+
}
885+
868886
/**
869887
* The method used for detecting and handling order outliers in revenue or product count tracking:
870888
* - `none`: No outlier detection is applied.
@@ -1627,7 +1645,7 @@ export type ConfigExperience = {
16271645
/**
16281646
* Experience readable key that uniquely identifies this experience
16291647
*/
1630-
key?: string;
1648+
key?: (string) | null;
16311649
/**
16321650
* List of locations IDs on which this experience is presented. Either this or **site_area** is given but should not be both.
16331651
*/
@@ -1769,7 +1787,7 @@ export type ExperienceVariationConfig = {
17691787
/**
17701788
* Variation Key
17711789
*/
1772-
key?: string;
1790+
key?: (string) | null;
17731791
/**
17741792
* Percentage of traffic allocation for this variation, as a number from 0 to 10000.
17751793
* For an experience, the sum of the traffic allocations for all variations cannot be greater than 10000.
@@ -1827,7 +1845,7 @@ export type ConfigFeature = {
18271845
/**
18281846
* A unique per project level identifier
18291847
*/
1830-
key?: string;
1848+
key?: (string) | null;
18311849
/**
18321850
* An array of user-defined variables of a feature.
18331851
*/
@@ -1874,7 +1892,7 @@ export type ConfigGoalBase = {
18741892
/**
18751893
* Goal Key
18761894
*/
1877-
key?: string;
1895+
key?: (string) | null;
18781896
/**
18791897
* List of goal types to be returned
18801898
*/
@@ -2165,7 +2183,7 @@ export type ConfigLocation = {
21652183
/**
21662184
* Location unique key
21672185
*/
2168-
key?: string;
2186+
key?: (string) | null;
21692187
/**
21702188
* Location Name
21712189
*/
@@ -2391,6 +2409,10 @@ export type ProjectGASettingsBase = GA_SettingsBase & {
23912409
* Attempt to pull revenue data from Google Analytics Revenue Tracking code.
23922410
*/
23932411
auto_revenue_tracking?: boolean;
2412+
/**
2413+
* When enabled, the experience_impression event is sent only the first time a visitor is exposed to an experience, instead of on every subsequent qualifying page view. Opt-in and disabled by default.
2414+
*/
2415+
track_first_exposure_only?: boolean;
23942416
};
23952417

23962418
export type ProjectIntegrationGA3 = ProjectGASettingsBase & IntegrationGA3;
@@ -2415,7 +2437,7 @@ export type ConfigSegment = {
24152437
/**
24162438
* Segment unique key
24172439
*/
2418-
key?: string;
2440+
key?: (string) | null;
24192441
/**
24202442
* Segment Name
24212443
*/
@@ -2558,6 +2580,10 @@ export type VisitorSegments = {
25582580
* Campaign string
25592581
*/
25602582
campaign?: string;
2583+
/**
2584+
* Content string (ad-creative identifier from utm_content)
2585+
*/
2586+
content?: string;
25612587
/**
25622588
* Type of the visitor
25632589
*/

0 commit comments

Comments
 (0)