@contentful/optimization-api-client 2.0.1 → 2.2.0
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 +71 -13
- package/dist/api-schemas.cjs +6 -2
- package/dist/api-schemas.cjs.map +1 -1
- package/dist/api-schemas.d.cts +60 -4
- package/dist/api-schemas.d.mts +60 -4
- package/dist/api-schemas.d.ts +60 -4
- package/dist/api-schemas.mjs +6 -2
- package/dist/api-schemas.mjs.map +1 -1
- package/dist/index.cjs +7 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +92 -2
- package/dist/index.d.mts +92 -2
- package/dist/index.d.ts +92 -2
- package/dist/index.mjs +7 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/api-schemas.d.cts
CHANGED
|
@@ -166,6 +166,7 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
166
166
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
167
167
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
168
168
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
169
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
169
170
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
170
171
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
171
172
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -541,6 +542,7 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
541
542
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
542
543
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
543
544
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
545
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
544
546
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
545
547
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
546
548
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -925,6 +927,7 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
925
927
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
926
928
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
927
929
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
930
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
928
931
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
929
932
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
930
933
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -1160,7 +1163,7 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
1160
1163
|
anonymousId: z.ZodMiniString<string>;
|
|
1161
1164
|
}, z.core.$strip>], "type">>;
|
|
1162
1165
|
/**
|
|
1163
|
-
* Optional configuration
|
|
1166
|
+
* Optional feature configuration. Batch locations belong in each event's `context.location`.
|
|
1164
1167
|
*/
|
|
1165
1168
|
options: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1166
1169
|
features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
@@ -1564,6 +1567,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1564
1567
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1565
1568
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
1566
1569
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1570
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1567
1571
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1568
1572
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1569
1573
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -1635,6 +1639,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1635
1639
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1636
1640
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
1637
1641
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1642
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1638
1643
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1639
1644
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1640
1645
|
type: z.ZodMiniLiteral<"exo_node_click">;
|
|
@@ -1704,6 +1709,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1704
1709
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1705
1710
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
1706
1711
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1712
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1707
1713
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1708
1714
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1709
1715
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
@@ -1988,6 +1994,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1988
1994
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1989
1995
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
1990
1996
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1997
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1991
1998
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1992
1999
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1993
2000
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -2059,6 +2066,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
2059
2066
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2060
2067
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2061
2068
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2069
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2062
2070
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2063
2071
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2064
2072
|
type: z.ZodMiniLiteral<"exo_node_click">;
|
|
@@ -2128,6 +2136,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
2128
2136
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2129
2137
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2130
2138
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2139
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2131
2140
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2132
2141
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2133
2142
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
@@ -2566,6 +2575,7 @@ export declare const ExoClickEvent: z.ZodMiniObject<{
|
|
|
2566
2575
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2567
2576
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2568
2577
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2578
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2569
2579
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2570
2580
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2571
2581
|
type: z.ZodMiniLiteral<"exo_node_click">;
|
|
@@ -2668,6 +2678,7 @@ export declare const ExoEventProperties: z.ZodMiniObject<{
|
|
|
2668
2678
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2669
2679
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2670
2680
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2681
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2671
2682
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2672
2683
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2673
2684
|
}, z.core.$strip>;
|
|
@@ -2750,6 +2761,7 @@ export declare const ExoHoverEvent: z.ZodMiniObject<{
|
|
|
2750
2761
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2751
2762
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2752
2763
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2764
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2753
2765
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2754
2766
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2755
2767
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
@@ -2835,6 +2847,7 @@ export declare const ExoViewEvent: z.ZodMiniObject<{
|
|
|
2835
2847
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2836
2848
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2837
2849
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2850
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2838
2851
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2839
2852
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2840
2853
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -3112,6 +3125,7 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3112
3125
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3113
3126
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
3114
3127
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3128
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3115
3129
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3116
3130
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3117
3131
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -3481,6 +3495,7 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3481
3495
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3482
3496
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
3483
3497
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3498
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3484
3499
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3485
3500
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3486
3501
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -3868,6 +3883,7 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3868
3883
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3869
3884
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
3870
3885
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3886
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3871
3887
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3872
3888
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3873
3889
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -4105,6 +4121,23 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
4105
4121
|
* Features or capabilities to enable for this request.
|
|
4106
4122
|
*/
|
|
4107
4123
|
features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
4124
|
+
/**
|
|
4125
|
+
* Location default for singular profile requests. Event `context.location` fields override it.
|
|
4126
|
+
*/
|
|
4127
|
+
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4128
|
+
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4129
|
+
latitude: z.ZodMiniNumber<number>;
|
|
4130
|
+
longitude: z.ZodMiniNumber<number>;
|
|
4131
|
+
}, z.core.$strip>>;
|
|
4132
|
+
city: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4133
|
+
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4134
|
+
region: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4135
|
+
regionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4136
|
+
country: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4137
|
+
countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4138
|
+
continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4139
|
+
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4140
|
+
}, z.core.$strip>>;
|
|
4108
4141
|
}, z.core.$strip>>;
|
|
4109
4142
|
}, z.core.$strip>;
|
|
4110
4143
|
|
|
@@ -4119,8 +4152,8 @@ export declare type ExperienceRequestData = z.infer<typeof ExperienceRequestData
|
|
|
4119
4152
|
* Zod schema describing optional configuration for an experience request.
|
|
4120
4153
|
*
|
|
4121
4154
|
* @remarks
|
|
4122
|
-
* These options
|
|
4123
|
-
* evaluating experiences.
|
|
4155
|
+
* These options configure feature flags and the request location default when
|
|
4156
|
+
* evaluating experiences through singular profile requests.
|
|
4124
4157
|
*
|
|
4125
4158
|
* @public
|
|
4126
4159
|
*/
|
|
@@ -4129,6 +4162,23 @@ export declare const ExperienceRequestOptions: z.ZodMiniObject<{
|
|
|
4129
4162
|
* Features or capabilities to enable for this request.
|
|
4130
4163
|
*/
|
|
4131
4164
|
features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
4165
|
+
/**
|
|
4166
|
+
* Location default for singular profile requests. Event `context.location` fields override it.
|
|
4167
|
+
*/
|
|
4168
|
+
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4169
|
+
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4170
|
+
latitude: z.ZodMiniNumber<number>;
|
|
4171
|
+
longitude: z.ZodMiniNumber<number>;
|
|
4172
|
+
}, z.core.$strip>>;
|
|
4173
|
+
city: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4174
|
+
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4175
|
+
region: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4176
|
+
regionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4177
|
+
country: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4178
|
+
countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4179
|
+
continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4180
|
+
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4181
|
+
}, z.core.$strip>>;
|
|
4132
4182
|
}, z.core.$strip>;
|
|
4133
4183
|
|
|
4134
4184
|
/**
|
|
@@ -4278,7 +4328,7 @@ export declare const FragmentChange: z.ZodMiniObject<{
|
|
|
4278
4328
|
export declare type FragmentChange = z.infer<typeof FragmentChange>;
|
|
4279
4329
|
|
|
4280
4330
|
/**
|
|
4281
|
-
* Zod schema describing geo-location properties
|
|
4331
|
+
* Zod schema describing geo-location properties for an event or singular profile request.
|
|
4282
4332
|
*
|
|
4283
4333
|
* @remarks
|
|
4284
4334
|
* All properties are optional and can be derived from IP or device data.
|
|
@@ -4759,6 +4809,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4759
4809
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4760
4810
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
4761
4811
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4812
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4762
4813
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4763
4814
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4764
4815
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -4830,6 +4881,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4830
4881
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4831
4882
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
4832
4883
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4884
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4833
4885
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4834
4886
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4835
4887
|
type: z.ZodMiniLiteral<"exo_node_click">;
|
|
@@ -4899,6 +4951,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4899
4951
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4900
4952
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
4901
4953
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4954
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4902
4955
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4903
4956
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4904
4957
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
@@ -5165,6 +5218,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5165
5218
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5166
5219
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
5167
5220
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5221
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5168
5222
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5169
5223
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
5170
5224
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -5236,6 +5290,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5236
5290
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5237
5291
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
5238
5292
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5293
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5239
5294
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5240
5295
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
5241
5296
|
type: z.ZodMiniLiteral<"exo_node_click">;
|
|
@@ -5305,6 +5360,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5305
5360
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5306
5361
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
5307
5362
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5363
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5308
5364
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5309
5365
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
5310
5366
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
package/dist/api-schemas.d.mts
CHANGED
|
@@ -166,6 +166,7 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
|
|
|
166
166
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
167
167
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
168
168
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
169
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
169
170
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
170
171
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
171
172
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -541,6 +542,7 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
|
|
|
541
542
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
542
543
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
543
544
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
545
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
544
546
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
545
547
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
546
548
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -925,6 +927,7 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
925
927
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
926
928
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
927
929
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
930
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
928
931
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
929
932
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
930
933
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -1160,7 +1163,7 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
|
|
|
1160
1163
|
anonymousId: z.ZodMiniString<string>;
|
|
1161
1164
|
}, z.core.$strip>], "type">>;
|
|
1162
1165
|
/**
|
|
1163
|
-
* Optional configuration
|
|
1166
|
+
* Optional feature configuration. Batch locations belong in each event's `context.location`.
|
|
1164
1167
|
*/
|
|
1165
1168
|
options: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1166
1169
|
features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
@@ -1564,6 +1567,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1564
1567
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1565
1568
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
1566
1569
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1570
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1567
1571
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1568
1572
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1569
1573
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -1635,6 +1639,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1635
1639
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1636
1640
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
1637
1641
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1642
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1638
1643
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1639
1644
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1640
1645
|
type: z.ZodMiniLiteral<"exo_node_click">;
|
|
@@ -1704,6 +1709,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
|
|
|
1704
1709
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1705
1710
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
1706
1711
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1712
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1707
1713
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1708
1714
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1709
1715
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
@@ -1988,6 +1994,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
1988
1994
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1989
1995
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
1990
1996
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1997
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1991
1998
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1992
1999
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1993
2000
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -2059,6 +2066,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
2059
2066
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2060
2067
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2061
2068
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2069
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2062
2070
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2063
2071
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2064
2072
|
type: z.ZodMiniLiteral<"exo_node_click">;
|
|
@@ -2128,6 +2136,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
|
|
|
2128
2136
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2129
2137
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2130
2138
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2139
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2131
2140
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2132
2141
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2133
2142
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
@@ -2566,6 +2575,7 @@ export declare const ExoClickEvent: z.ZodMiniObject<{
|
|
|
2566
2575
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2567
2576
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2568
2577
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2578
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2569
2579
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2570
2580
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2571
2581
|
type: z.ZodMiniLiteral<"exo_node_click">;
|
|
@@ -2668,6 +2678,7 @@ export declare const ExoEventProperties: z.ZodMiniObject<{
|
|
|
2668
2678
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2669
2679
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2670
2680
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2681
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2671
2682
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2672
2683
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2673
2684
|
}, z.core.$strip>;
|
|
@@ -2750,6 +2761,7 @@ export declare const ExoHoverEvent: z.ZodMiniObject<{
|
|
|
2750
2761
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2751
2762
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2752
2763
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2764
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2753
2765
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2754
2766
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2755
2767
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
@@ -2835,6 +2847,7 @@ export declare const ExoViewEvent: z.ZodMiniObject<{
|
|
|
2835
2847
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2836
2848
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
2837
2849
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2850
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2838
2851
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2839
2852
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
2840
2853
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -3112,6 +3125,7 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
|
|
|
3112
3125
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3113
3126
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
3114
3127
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3128
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3115
3129
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3116
3130
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3117
3131
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -3481,6 +3495,7 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
|
|
|
3481
3495
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3482
3496
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
3483
3497
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3498
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3484
3499
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3485
3500
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3486
3501
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -3868,6 +3883,7 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
3868
3883
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3869
3884
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
3870
3885
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3886
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3871
3887
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
3872
3888
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
3873
3889
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -4105,6 +4121,23 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
|
|
|
4105
4121
|
* Features or capabilities to enable for this request.
|
|
4106
4122
|
*/
|
|
4107
4123
|
features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
4124
|
+
/**
|
|
4125
|
+
* Location default for singular profile requests. Event `context.location` fields override it.
|
|
4126
|
+
*/
|
|
4127
|
+
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4128
|
+
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4129
|
+
latitude: z.ZodMiniNumber<number>;
|
|
4130
|
+
longitude: z.ZodMiniNumber<number>;
|
|
4131
|
+
}, z.core.$strip>>;
|
|
4132
|
+
city: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4133
|
+
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4134
|
+
region: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4135
|
+
regionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4136
|
+
country: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4137
|
+
countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4138
|
+
continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4139
|
+
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4140
|
+
}, z.core.$strip>>;
|
|
4108
4141
|
}, z.core.$strip>>;
|
|
4109
4142
|
}, z.core.$strip>;
|
|
4110
4143
|
|
|
@@ -4119,8 +4152,8 @@ export declare type ExperienceRequestData = z.infer<typeof ExperienceRequestData
|
|
|
4119
4152
|
* Zod schema describing optional configuration for an experience request.
|
|
4120
4153
|
*
|
|
4121
4154
|
* @remarks
|
|
4122
|
-
* These options
|
|
4123
|
-
* evaluating experiences.
|
|
4155
|
+
* These options configure feature flags and the request location default when
|
|
4156
|
+
* evaluating experiences through singular profile requests.
|
|
4124
4157
|
*
|
|
4125
4158
|
* @public
|
|
4126
4159
|
*/
|
|
@@ -4129,6 +4162,23 @@ export declare const ExperienceRequestOptions: z.ZodMiniObject<{
|
|
|
4129
4162
|
* Features or capabilities to enable for this request.
|
|
4130
4163
|
*/
|
|
4131
4164
|
features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
4165
|
+
/**
|
|
4166
|
+
* Location default for singular profile requests. Event `context.location` fields override it.
|
|
4167
|
+
*/
|
|
4168
|
+
location: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4169
|
+
coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
4170
|
+
latitude: z.ZodMiniNumber<number>;
|
|
4171
|
+
longitude: z.ZodMiniNumber<number>;
|
|
4172
|
+
}, z.core.$strip>>;
|
|
4173
|
+
city: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4174
|
+
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4175
|
+
region: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4176
|
+
regionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4177
|
+
country: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4178
|
+
countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4179
|
+
continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4180
|
+
timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4181
|
+
}, z.core.$strip>>;
|
|
4132
4182
|
}, z.core.$strip>;
|
|
4133
4183
|
|
|
4134
4184
|
/**
|
|
@@ -4278,7 +4328,7 @@ export declare const FragmentChange: z.ZodMiniObject<{
|
|
|
4278
4328
|
export declare type FragmentChange = z.infer<typeof FragmentChange>;
|
|
4279
4329
|
|
|
4280
4330
|
/**
|
|
4281
|
-
* Zod schema describing geo-location properties
|
|
4331
|
+
* Zod schema describing geo-location properties for an event or singular profile request.
|
|
4282
4332
|
*
|
|
4283
4333
|
* @remarks
|
|
4284
4334
|
* All properties are optional and can be derived from IP or device data.
|
|
@@ -4759,6 +4809,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4759
4809
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4760
4810
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
4761
4811
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4812
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4762
4813
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4763
4814
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4764
4815
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -4830,6 +4881,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4830
4881
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4831
4882
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
4832
4883
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4884
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4833
4885
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4834
4886
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4835
4887
|
type: z.ZodMiniLiteral<"exo_node_click">;
|
|
@@ -4899,6 +4951,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
|
|
|
4899
4951
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4900
4952
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
4901
4953
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4954
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4902
4955
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
4903
4956
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4904
4957
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|
|
@@ -5165,6 +5218,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5165
5218
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5166
5219
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
5167
5220
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5221
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5168
5222
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5169
5223
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
5170
5224
|
type: z.ZodMiniLiteral<"exo_node_view">;
|
|
@@ -5236,6 +5290,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5236
5290
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5237
5291
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
5238
5292
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5293
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5239
5294
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5240
5295
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
5241
5296
|
type: z.ZodMiniLiteral<"exo_node_click">;
|
|
@@ -5305,6 +5360,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
|
|
|
5305
5360
|
optimizationId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5306
5361
|
parameters: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>>;
|
|
5307
5362
|
parentExperienceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5363
|
+
parentVariantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5308
5364
|
variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
5309
5365
|
variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
5310
5366
|
type: z.ZodMiniLiteral<"exo_node_hover">;
|