@contentful/optimization-api-client 2.2.0 → 2.2.2

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.
@@ -12,13 +12,7 @@ import * as z from 'zod/mini';
12
12
  * @public
13
13
  */
14
14
  export declare const App: z.ZodMiniOptional<z.ZodMiniObject<{
15
- /**
16
- * Name of the application.
17
- */
18
15
  name: z.ZodMiniString<string>;
19
- /**
20
- * Version of the application.
21
- */
22
16
  version: z.ZodMiniString<string>;
23
17
  }, z.core.$strip>>;
24
18
 
@@ -157,9 +151,7 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
157
151
  entityId: z.ZodMiniString<string>;
158
152
  entityKind: z.ZodMiniEnum<{
159
153
  Experience: "Experience";
160
- Fragment: "Fragment";
161
- InlineFragment: "InlineFragment";
162
- InlineComponent: "InlineComponent";
154
+ ExperienceFragment: "ExperienceFragment";
163
155
  }>;
164
156
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
165
157
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -170,7 +162,7 @@ export declare const BatchExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMin
170
162
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
171
163
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
172
164
  type: z.ZodMiniLiteral<"exo_node_view">;
173
- viewDurationMs: z.ZodMiniNumberFormat;
165
+ viewDurationMs: z.ZodMiniInt;
174
166
  viewId: z.ZodMiniString<string>;
175
167
  anonymousId: z.ZodMiniString<string>;
176
168
  }, z.core.$strip>, z.ZodMiniObject<{
@@ -533,9 +525,7 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
533
525
  entityId: z.ZodMiniString<string>;
534
526
  entityKind: z.ZodMiniEnum<{
535
527
  Experience: "Experience";
536
- Fragment: "Fragment";
537
- InlineFragment: "InlineFragment";
538
- InlineComponent: "InlineComponent";
528
+ ExperienceFragment: "ExperienceFragment";
539
529
  }>;
540
530
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
541
531
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -546,7 +536,7 @@ export declare const BatchExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscrimi
546
536
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
547
537
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
548
538
  type: z.ZodMiniLiteral<"exo_node_view">;
549
- viewDurationMs: z.ZodMiniNumberFormat;
539
+ viewDurationMs: z.ZodMiniInt;
550
540
  viewId: z.ZodMiniString<string>;
551
541
  anonymousId: z.ZodMiniString<string>;
552
542
  }, z.core.$strip>, z.ZodMiniObject<{
@@ -793,12 +783,6 @@ export declare type BatchExperienceEventArray = z.infer<typeof BatchExperienceEv
793
783
  * least one event.
794
784
  */
795
785
  export declare const BatchExperienceRequestData: z.ZodMiniObject<{
796
- /**
797
- * Batch experience events for the Experience API to evaluate.
798
- *
799
- * @remarks
800
- * Must contain at least one event.
801
- */
802
786
  events: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
803
787
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
804
788
  context: z.ZodMiniObject<{
@@ -918,9 +902,7 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
918
902
  entityId: z.ZodMiniString<string>;
919
903
  entityKind: z.ZodMiniEnum<{
920
904
  Experience: "Experience";
921
- Fragment: "Fragment";
922
- InlineFragment: "InlineFragment";
923
- InlineComponent: "InlineComponent";
905
+ ExperienceFragment: "ExperienceFragment";
924
906
  }>;
925
907
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
926
908
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -931,7 +913,7 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
931
913
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
932
914
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
933
915
  type: z.ZodMiniLiteral<"exo_node_view">;
934
- viewDurationMs: z.ZodMiniNumberFormat;
916
+ viewDurationMs: z.ZodMiniInt;
935
917
  viewId: z.ZodMiniString<string>;
936
918
  anonymousId: z.ZodMiniString<string>;
937
919
  }, z.core.$strip>, z.ZodMiniObject<{
@@ -1162,9 +1144,6 @@ export declare const BatchExperienceRequestData: z.ZodMiniObject<{
1162
1144
  properties: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
1163
1145
  anonymousId: z.ZodMiniString<string>;
1164
1146
  }, z.core.$strip>], "type">>;
1165
- /**
1166
- * Optional feature configuration. Batch locations belong in each event's `context.location`.
1167
- */
1168
1147
  options: z.ZodMiniOptional<z.ZodMiniObject<{
1169
1148
  features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1170
1149
  }, z.core.$strip>>;
@@ -1190,9 +1169,6 @@ export declare const BatchExperienceResponse: z.ZodMiniObject<{
1190
1169
  code: z.ZodMiniString<string>;
1191
1170
  }, z.core.$strip>>;
1192
1171
  data: z.ZodMiniObject<{
1193
- /**
1194
- * Profiles evaluated or affected by the batch experience request.
1195
- */
1196
1172
  profiles: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1197
1173
  id: z.ZodMiniString<string>;
1198
1174
  stableId: z.ZodMiniString<string>;
@@ -1249,9 +1225,6 @@ export declare type BatchExperienceResponse = z.infer<typeof BatchExperienceResp
1249
1225
  * @public
1250
1226
  */
1251
1227
  export declare const BatchExperienceResponseData: z.ZodMiniObject<{
1252
- /**
1253
- * Profiles evaluated or affected by the batch experience request.
1254
- */
1255
1228
  profiles: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1256
1229
  id: z.ZodMiniString<string>;
1257
1230
  stableId: z.ZodMiniString<string>;
@@ -1307,19 +1280,9 @@ export declare type BatchExperienceResponseData = z.infer<typeof BatchExperience
1307
1280
  * @public
1308
1281
  */
1309
1282
  export declare const BatchInsightsEvent: z.ZodMiniObject<{
1310
- /**
1311
- * Partial profile information used to associate events with a user.
1312
- *
1313
- * @see {@link PartialProfile}
1314
- */
1315
1283
  profile: z.ZodMiniObject<{
1316
1284
  id: z.ZodMiniString<string>;
1317
1285
  }, z.core.$catchall<z.ZodMiniJSONSchema>>;
1318
- /**
1319
- * Insights events to record for this profile.
1320
- *
1321
- * @see {@link InsightsEventArray}
1322
- */
1323
1286
  events: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1324
1287
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
1325
1288
  context: z.ZodMiniObject<{
@@ -1558,9 +1521,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
1558
1521
  entityId: z.ZodMiniString<string>;
1559
1522
  entityKind: z.ZodMiniEnum<{
1560
1523
  Experience: "Experience";
1561
- Fragment: "Fragment";
1562
- InlineFragment: "InlineFragment";
1563
- InlineComponent: "InlineComponent";
1524
+ ExperienceFragment: "ExperienceFragment";
1564
1525
  }>;
1565
1526
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1566
1527
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -1571,7 +1532,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
1571
1532
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1572
1533
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1573
1534
  type: z.ZodMiniLiteral<"exo_node_view">;
1574
- viewDurationMs: z.ZodMiniNumberFormat;
1535
+ viewDurationMs: z.ZodMiniInt;
1575
1536
  viewId: z.ZodMiniString<string>;
1576
1537
  }, z.core.$strip>, z.ZodMiniObject<{
1577
1538
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
@@ -1630,9 +1591,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
1630
1591
  entityId: z.ZodMiniString<string>;
1631
1592
  entityKind: z.ZodMiniEnum<{
1632
1593
  Experience: "Experience";
1633
- Fragment: "Fragment";
1634
- InlineFragment: "InlineFragment";
1635
- InlineComponent: "InlineComponent";
1594
+ ExperienceFragment: "ExperienceFragment";
1636
1595
  }>;
1637
1596
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1638
1597
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -1700,9 +1659,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
1700
1659
  entityId: z.ZodMiniString<string>;
1701
1660
  entityKind: z.ZodMiniEnum<{
1702
1661
  Experience: "Experience";
1703
- Fragment: "Fragment";
1704
- InlineFragment: "InlineFragment";
1705
- InlineComponent: "InlineComponent";
1662
+ ExperienceFragment: "ExperienceFragment";
1706
1663
  }>;
1707
1664
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1708
1665
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -1713,7 +1670,7 @@ export declare const BatchInsightsEvent: z.ZodMiniObject<{
1713
1670
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1714
1671
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1715
1672
  type: z.ZodMiniLiteral<"exo_node_hover">;
1716
- hoverDurationMs: z.ZodMiniNumberFormat;
1673
+ hoverDurationMs: z.ZodMiniInt;
1717
1674
  hoverId: z.ZodMiniString<string>;
1718
1675
  }, z.core.$strip>], "type">>;
1719
1676
  }, z.core.$strip>;
@@ -1734,19 +1691,9 @@ export declare type BatchInsightsEvent = z.infer<typeof BatchInsightsEvent>;
1734
1691
  * @public
1735
1692
  */
1736
1693
  export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
1737
- /**
1738
- * Partial profile information used to associate events with a user.
1739
- *
1740
- * @see {@link PartialProfile}
1741
- */
1742
1694
  profile: z.ZodMiniObject<{
1743
1695
  id: z.ZodMiniString<string>;
1744
1696
  }, z.core.$catchall<z.ZodMiniJSONSchema>>;
1745
- /**
1746
- * Insights events to record for this profile.
1747
- *
1748
- * @see {@link InsightsEventArray}
1749
- */
1750
1697
  events: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1751
1698
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
1752
1699
  context: z.ZodMiniObject<{
@@ -1985,9 +1932,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
1985
1932
  entityId: z.ZodMiniString<string>;
1986
1933
  entityKind: z.ZodMiniEnum<{
1987
1934
  Experience: "Experience";
1988
- Fragment: "Fragment";
1989
- InlineFragment: "InlineFragment";
1990
- InlineComponent: "InlineComponent";
1935
+ ExperienceFragment: "ExperienceFragment";
1991
1936
  }>;
1992
1937
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1993
1938
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -1998,7 +1943,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
1998
1943
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1999
1944
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2000
1945
  type: z.ZodMiniLiteral<"exo_node_view">;
2001
- viewDurationMs: z.ZodMiniNumberFormat;
1946
+ viewDurationMs: z.ZodMiniInt;
2002
1947
  viewId: z.ZodMiniString<string>;
2003
1948
  }, z.core.$strip>, z.ZodMiniObject<{
2004
1949
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
@@ -2057,9 +2002,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
2057
2002
  entityId: z.ZodMiniString<string>;
2058
2003
  entityKind: z.ZodMiniEnum<{
2059
2004
  Experience: "Experience";
2060
- Fragment: "Fragment";
2061
- InlineFragment: "InlineFragment";
2062
- InlineComponent: "InlineComponent";
2005
+ ExperienceFragment: "ExperienceFragment";
2063
2006
  }>;
2064
2007
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2065
2008
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -2127,9 +2070,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
2127
2070
  entityId: z.ZodMiniString<string>;
2128
2071
  entityKind: z.ZodMiniEnum<{
2129
2072
  Experience: "Experience";
2130
- Fragment: "Fragment";
2131
- InlineFragment: "InlineFragment";
2132
- InlineComponent: "InlineComponent";
2073
+ ExperienceFragment: "ExperienceFragment";
2133
2074
  }>;
2134
2075
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2135
2076
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -2140,7 +2081,7 @@ export declare const BatchInsightsEventArray: z.ZodMiniArray<z.ZodMiniObject<{
2140
2081
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2141
2082
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2142
2083
  type: z.ZodMiniLiteral<"exo_node_hover">;
2143
- hoverDurationMs: z.ZodMiniNumberFormat;
2084
+ hoverDurationMs: z.ZodMiniInt;
2144
2085
  hoverId: z.ZodMiniString<string>;
2145
2086
  }, z.core.$strip>], "type">>;
2146
2087
  }, z.core.$strip>>;
@@ -2161,25 +2102,10 @@ export declare type BatchInsightsEventArray = z.infer<typeof BatchInsightsEventA
2161
2102
  * @public
2162
2103
  */
2163
2104
  export declare const Campaign: z.ZodMiniObject<{
2164
- /**
2165
- * Name of the campaign (e.g., `utm_campaign`).
2166
- */
2167
2105
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
2168
- /**
2169
- * Campaign source (e.g., `utm_source`).
2170
- */
2171
2106
  source: z.ZodMiniOptional<z.ZodMiniString<string>>;
2172
- /**
2173
- * Campaign medium (e.g., `utm_medium`).
2174
- */
2175
2107
  medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
2176
- /**
2177
- * Campaign term (e.g., `utm_term`).
2178
- */
2179
2108
  term: z.ZodMiniOptional<z.ZodMiniString<string>>;
2180
- /**
2181
- * Campaign content (e.g., `utm_content`).
2182
- */
2183
2109
  content: z.ZodMiniOptional<z.ZodMiniString<string>>;
2184
2110
  }, z.core.$strip>;
2185
2111
 
@@ -2198,16 +2124,7 @@ export declare type Campaign = z.infer<typeof Campaign>;
2198
2124
  export declare const Change: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
2199
2125
  key: z.ZodMiniString<string>;
2200
2126
  meta: z.ZodMiniObject<{
2201
- /**
2202
- * Identifier of the personalization or experiment experience.
2203
- */
2204
2127
  experienceId: z.ZodMiniString<string>;
2205
- /**
2206
- * Index of the variant within the experience configuration.
2207
- *
2208
- * @remarks
2209
- * Typically corresponds to the array index in the experience's distribution.
2210
- */
2211
2128
  variantIndex: z.ZodMiniNumber<number>;
2212
2129
  }, z.core.$strip>;
2213
2130
  type: z.ZodMiniLiteral<"Variable">;
@@ -2216,13 +2133,7 @@ export declare const Change: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
2216
2133
  id: z.ZodMiniString<string>;
2217
2134
  variantId: z.ZodMiniString<string>;
2218
2135
  meta: z.ZodMiniObject<{
2219
- /**
2220
- * Identifier of the optimization that produced this change.
2221
- */
2222
2136
  optimizationId: z.ZodMiniString<string>;
2223
- /**
2224
- * Index of the variant within the optimization's distribution.
2225
- */
2226
2137
  variantIndex: z.ZodMiniNumber<number>;
2227
2138
  }, z.core.$strip>;
2228
2139
  type: z.ZodMiniLiteral<"Experience">;
@@ -2230,13 +2141,7 @@ export declare const Change: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
2230
2141
  id: z.ZodMiniString<string>;
2231
2142
  variantId: z.ZodMiniString<string>;
2232
2143
  meta: z.ZodMiniObject<{
2233
- /**
2234
- * Identifier of the optimization that produced this change.
2235
- */
2236
2144
  optimizationId: z.ZodMiniString<string>;
2237
- /**
2238
- * Index of the variant within the optimization's distribution.
2239
- */
2240
2145
  variantIndex: z.ZodMiniNumber<number>;
2241
2146
  }, z.core.$strip>;
2242
2147
  type: z.ZodMiniLiteral<"Fragment">;
@@ -2257,16 +2162,7 @@ export declare type Change = z.infer<typeof Change>;
2257
2162
  export declare const ChangeArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
2258
2163
  key: z.ZodMiniString<string>;
2259
2164
  meta: z.ZodMiniObject<{
2260
- /**
2261
- * Identifier of the personalization or experiment experience.
2262
- */
2263
2165
  experienceId: z.ZodMiniString<string>;
2264
- /**
2265
- * Index of the variant within the experience configuration.
2266
- *
2267
- * @remarks
2268
- * Typically corresponds to the array index in the experience's distribution.
2269
- */
2270
2166
  variantIndex: z.ZodMiniNumber<number>;
2271
2167
  }, z.core.$strip>;
2272
2168
  type: z.ZodMiniLiteral<"Variable">;
@@ -2275,13 +2171,7 @@ export declare const ChangeArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.
2275
2171
  id: z.ZodMiniString<string>;
2276
2172
  variantId: z.ZodMiniString<string>;
2277
2173
  meta: z.ZodMiniObject<{
2278
- /**
2279
- * Identifier of the optimization that produced this change.
2280
- */
2281
2174
  optimizationId: z.ZodMiniString<string>;
2282
- /**
2283
- * Index of the variant within the optimization's distribution.
2284
- */
2285
2175
  variantIndex: z.ZodMiniNumber<number>;
2286
2176
  }, z.core.$strip>;
2287
2177
  type: z.ZodMiniLiteral<"Experience">;
@@ -2289,13 +2179,7 @@ export declare const ChangeArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.
2289
2179
  id: z.ZodMiniString<string>;
2290
2180
  variantId: z.ZodMiniString<string>;
2291
2181
  meta: z.ZodMiniObject<{
2292
- /**
2293
- * Identifier of the optimization that produced this change.
2294
- */
2295
2182
  optimizationId: z.ZodMiniString<string>;
2296
- /**
2297
- * Index of the variant within the optimization's distribution.
2298
- */
2299
2183
  variantIndex: z.ZodMiniNumber<number>;
2300
2184
  }, z.core.$strip>;
2301
2185
  type: z.ZodMiniLiteral<"Fragment">;
@@ -2317,35 +2201,14 @@ export declare type ChangeArray = z.infer<typeof ChangeArray>;
2317
2201
  * @internal
2318
2202
  */
2319
2203
  export declare const ChangeBase: z.ZodMiniObject<{
2320
- /**
2321
- * Key identifying the subject of the change.
2322
- */
2323
2204
  key: z.ZodMiniString<string>;
2324
- /**
2325
- * Discriminator for the change type.
2326
- *
2327
- * @remarks
2328
- * Can be one of {@link ChangeType} or an arbitrary string for unknown types.
2329
- */
2330
2205
  type: z.ZodMiniUnion<readonly [z.ZodMiniEnum<{
2331
2206
  Experience: "Experience";
2332
- Fragment: "Fragment";
2333
2207
  Variable: "Variable";
2208
+ Fragment: "Fragment";
2334
2209
  }>, z.ZodMiniString<string>]>;
2335
- /**
2336
- * Metadata describing the originating experience and variant index.
2337
- */
2338
2210
  meta: z.ZodMiniObject<{
2339
- /**
2340
- * Identifier of the personalization or experiment experience.
2341
- */
2342
2211
  experienceId: z.ZodMiniString<string>;
2343
- /**
2344
- * Index of the variant within the experience configuration.
2345
- *
2346
- * @remarks
2347
- * Typically corresponds to the array index in the experience's distribution.
2348
- */
2349
2212
  variantIndex: z.ZodMiniNumber<number>;
2350
2213
  }, z.core.$strip>;
2351
2214
  }, z.core.$strip>;
@@ -2481,25 +2344,10 @@ export declare type Dictionary = z.infer<typeof Dictionary>;
2481
2344
  * @internal
2482
2345
  */
2483
2346
  export declare const EntityChangeBase: z.ZodMiniObject<{
2484
- /**
2485
- * Identifier of the entity affected by the change.
2486
- */
2487
2347
  id: z.ZodMiniString<string>;
2488
- /**
2489
- * Identifier of the selected variant.
2490
- */
2491
2348
  variantId: z.ZodMiniString<string>;
2492
- /**
2493
- * Metadata describing the originating optimization and variant index.
2494
- */
2495
2349
  meta: z.ZodMiniObject<{
2496
- /**
2497
- * Identifier of the optimization that produced this change.
2498
- */
2499
2350
  optimizationId: z.ZodMiniString<string>;
2500
- /**
2501
- * Index of the variant within the optimization's distribution.
2502
- */
2503
2351
  variantIndex: z.ZodMiniNumber<number>;
2504
2352
  }, z.core.$strip>;
2505
2353
  }, z.core.$strip>;
@@ -2566,9 +2414,7 @@ export declare const ExoClickEvent: z.ZodMiniObject<{
2566
2414
  entityId: z.ZodMiniString<string>;
2567
2415
  entityKind: z.ZodMiniEnum<{
2568
2416
  Experience: "Experience";
2569
- Fragment: "Fragment";
2570
- InlineFragment: "InlineFragment";
2571
- InlineComponent: "InlineComponent";
2417
+ ExperienceFragment: "ExperienceFragment";
2572
2418
  }>;
2573
2419
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2574
2420
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -2595,9 +2441,7 @@ export declare type ExoClickEvent = z.infer<typeof ExoClickEvent>;
2595
2441
  */
2596
2442
  export declare const ExoEntityKind: z.ZodMiniEnum<{
2597
2443
  Experience: "Experience";
2598
- Fragment: "Fragment";
2599
- InlineFragment: "InlineFragment";
2600
- InlineComponent: "InlineComponent";
2444
+ ExperienceFragment: "ExperienceFragment";
2601
2445
  }>;
2602
2446
 
2603
2447
  /**
@@ -2669,9 +2513,7 @@ export declare const ExoEventProperties: z.ZodMiniObject<{
2669
2513
  entityId: z.ZodMiniString<string>;
2670
2514
  entityKind: z.ZodMiniEnum<{
2671
2515
  Experience: "Experience";
2672
- Fragment: "Fragment";
2673
- InlineFragment: "InlineFragment";
2674
- InlineComponent: "InlineComponent";
2516
+ ExperienceFragment: "ExperienceFragment";
2675
2517
  }>;
2676
2518
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2677
2519
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -2752,9 +2594,7 @@ export declare const ExoHoverEvent: z.ZodMiniObject<{
2752
2594
  entityId: z.ZodMiniString<string>;
2753
2595
  entityKind: z.ZodMiniEnum<{
2754
2596
  Experience: "Experience";
2755
- Fragment: "Fragment";
2756
- InlineFragment: "InlineFragment";
2757
- InlineComponent: "InlineComponent";
2597
+ ExperienceFragment: "ExperienceFragment";
2758
2598
  }>;
2759
2599
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2760
2600
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -2765,7 +2605,7 @@ export declare const ExoHoverEvent: z.ZodMiniObject<{
2765
2605
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2766
2606
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2767
2607
  type: z.ZodMiniLiteral<"exo_node_hover">;
2768
- hoverDurationMs: z.ZodMiniNumberFormat;
2608
+ hoverDurationMs: z.ZodMiniInt;
2769
2609
  hoverId: z.ZodMiniString<string>;
2770
2610
  }, z.core.$strip>;
2771
2611
 
@@ -2838,9 +2678,7 @@ export declare const ExoViewEvent: z.ZodMiniObject<{
2838
2678
  entityId: z.ZodMiniString<string>;
2839
2679
  entityKind: z.ZodMiniEnum<{
2840
2680
  Experience: "Experience";
2841
- Fragment: "Fragment";
2842
- InlineFragment: "InlineFragment";
2843
- InlineComponent: "InlineComponent";
2681
+ ExperienceFragment: "ExperienceFragment";
2844
2682
  }>;
2845
2683
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2846
2684
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -2851,7 +2689,7 @@ export declare const ExoViewEvent: z.ZodMiniObject<{
2851
2689
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2852
2690
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2853
2691
  type: z.ZodMiniLiteral<"exo_node_view">;
2854
- viewDurationMs: z.ZodMiniNumberFormat;
2692
+ viewDurationMs: z.ZodMiniInt;
2855
2693
  viewId: z.ZodMiniString<string>;
2856
2694
  }, z.core.$strip>;
2857
2695
 
@@ -2871,13 +2709,7 @@ export declare const ExperienceChange: z.ZodMiniObject<{
2871
2709
  id: z.ZodMiniString<string>;
2872
2710
  variantId: z.ZodMiniString<string>;
2873
2711
  meta: z.ZodMiniObject<{
2874
- /**
2875
- * Identifier of the optimization that produced this change.
2876
- */
2877
2712
  optimizationId: z.ZodMiniString<string>;
2878
- /**
2879
- * Index of the variant within the optimization's distribution.
2880
- */
2881
2713
  variantIndex: z.ZodMiniNumber<number>;
2882
2714
  }, z.core.$strip>;
2883
2715
  type: z.ZodMiniLiteral<"Experience">;
@@ -2900,9 +2732,6 @@ export declare type ExperienceChange = z.infer<typeof ExperienceChange>;
2900
2732
  * @public
2901
2733
  */
2902
2734
  export declare const ExperienceData: z.ZodMiniObject<{
2903
- /**
2904
- * Profile associated with the evaluated events.
2905
- */
2906
2735
  profile: z.ZodMiniObject<{
2907
2736
  id: z.ZodMiniString<string>;
2908
2737
  stableId: z.ZodMiniString<string>;
@@ -2939,22 +2768,12 @@ export declare const ExperienceData: z.ZodMiniObject<{
2939
2768
  averageSessionLength: z.ZodMiniNumber<number>;
2940
2769
  }, z.core.$strip>;
2941
2770
  }, z.core.$strip>;
2942
- /**
2943
- * Selected experiences and variants for the profile.
2944
- *
2945
- * @see {@link SelectedOptimizationArray}
2946
- */
2947
2771
  experiences: z.ZodMiniArray<z.ZodMiniObject<{
2948
2772
  experienceId: z.ZodMiniString<string>;
2949
2773
  variantIndex: z.ZodMiniNumber<number>;
2950
2774
  variants: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
2951
2775
  sticky: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniBoolean<boolean>>>;
2952
2776
  }, z.core.$strip>>;
2953
- /**
2954
- * Used for Custom Flags.
2955
- *
2956
- * @see {@link ChangeArray}
2957
- */
2958
2777
  changes: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
2959
2778
  key: z.ZodMiniString<string>;
2960
2779
  meta: z.ZodMiniObject<{
@@ -3116,9 +2935,7 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
3116
2935
  entityId: z.ZodMiniString<string>;
3117
2936
  entityKind: z.ZodMiniEnum<{
3118
2937
  Experience: "Experience";
3119
- Fragment: "Fragment";
3120
- InlineFragment: "InlineFragment";
3121
- InlineComponent: "InlineComponent";
2938
+ ExperienceFragment: "ExperienceFragment";
3122
2939
  }>;
3123
2940
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
3124
2941
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -3129,7 +2946,7 @@ export declare const ExperienceEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObje
3129
2946
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
3130
2947
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
3131
2948
  type: z.ZodMiniLiteral<"exo_node_view">;
3132
- viewDurationMs: z.ZodMiniNumberFormat;
2949
+ viewDurationMs: z.ZodMiniInt;
3133
2950
  viewId: z.ZodMiniString<string>;
3134
2951
  }, z.core.$strip>, z.ZodMiniObject<{
3135
2952
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
@@ -3486,9 +3303,7 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
3486
3303
  entityId: z.ZodMiniString<string>;
3487
3304
  entityKind: z.ZodMiniEnum<{
3488
3305
  Experience: "Experience";
3489
- Fragment: "Fragment";
3490
- InlineFragment: "InlineFragment";
3491
- InlineComponent: "InlineComponent";
3306
+ ExperienceFragment: "ExperienceFragment";
3492
3307
  }>;
3493
3308
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
3494
3309
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -3499,7 +3314,7 @@ export declare const ExperienceEventArray: z.ZodMiniArray<z.ZodMiniDiscriminated
3499
3314
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
3500
3315
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
3501
3316
  type: z.ZodMiniLiteral<"exo_node_view">;
3502
- viewDurationMs: z.ZodMiniNumberFormat;
3317
+ viewDurationMs: z.ZodMiniInt;
3503
3318
  viewId: z.ZodMiniString<string>;
3504
3319
  }, z.core.$strip>, z.ZodMiniObject<{
3505
3320
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
@@ -3750,12 +3565,6 @@ export declare type ExperienceEventType = ExperienceEvent['type'];
3750
3565
  * @public
3751
3566
  */
3752
3567
  export declare const ExperienceRequestData: z.ZodMiniObject<{
3753
- /**
3754
- * Experience events for the Experience API to evaluate.
3755
- *
3756
- * @remarks
3757
- * Must contain at least one event.
3758
- */
3759
3568
  events: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
3760
3569
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
3761
3570
  context: z.ZodMiniObject<{
@@ -3874,9 +3683,7 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
3874
3683
  entityId: z.ZodMiniString<string>;
3875
3684
  entityKind: z.ZodMiniEnum<{
3876
3685
  Experience: "Experience";
3877
- Fragment: "Fragment";
3878
- InlineFragment: "InlineFragment";
3879
- InlineComponent: "InlineComponent";
3686
+ ExperienceFragment: "ExperienceFragment";
3880
3687
  }>;
3881
3688
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
3882
3689
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -3887,7 +3694,7 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
3887
3694
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
3888
3695
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
3889
3696
  type: z.ZodMiniLiteral<"exo_node_view">;
3890
- viewDurationMs: z.ZodMiniNumberFormat;
3697
+ viewDurationMs: z.ZodMiniInt;
3891
3698
  viewId: z.ZodMiniString<string>;
3892
3699
  }, z.core.$strip>, z.ZodMiniObject<{
3893
3700
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
@@ -4113,17 +3920,8 @@ export declare const ExperienceRequestData: z.ZodMiniObject<{
4113
3920
  event: z.ZodMiniString<string>;
4114
3921
  properties: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
4115
3922
  }, z.core.$strip>], "type">>;
4116
- /**
4117
- * Optional configuration for this experience request.
4118
- */
4119
3923
  options: z.ZodMiniOptional<z.ZodMiniObject<{
4120
- /**
4121
- * Features or capabilities to enable for this request.
4122
- */
4123
3924
  features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4124
- /**
4125
- * Location default for singular profile requests. Event `context.location` fields override it.
4126
- */
4127
3925
  location: z.ZodMiniOptional<z.ZodMiniObject<{
4128
3926
  coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
4129
3927
  latitude: z.ZodMiniNumber<number>;
@@ -4158,13 +3956,7 @@ export declare type ExperienceRequestData = z.infer<typeof ExperienceRequestData
4158
3956
  * @public
4159
3957
  */
4160
3958
  export declare const ExperienceRequestOptions: z.ZodMiniObject<{
4161
- /**
4162
- * Features or capabilities to enable for this request.
4163
- */
4164
3959
  features: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4165
- /**
4166
- * Location default for singular profile requests. Event `context.location` fields override it.
4167
- */
4168
3960
  location: z.ZodMiniOptional<z.ZodMiniObject<{
4169
3961
  coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
4170
3962
  latitude: z.ZodMiniNumber<number>;
@@ -4202,9 +3994,6 @@ export declare const ExperienceResponse: z.ZodMiniObject<{
4202
3994
  code: z.ZodMiniString<string>;
4203
3995
  }, z.core.$strip>>;
4204
3996
  data: z.ZodMiniObject<{
4205
- /**
4206
- * Profile associated with the evaluated events.
4207
- */
4208
3997
  profile: z.ZodMiniObject<{
4209
3998
  id: z.ZodMiniString<string>;
4210
3999
  stableId: z.ZodMiniString<string>;
@@ -4241,22 +4030,12 @@ export declare const ExperienceResponse: z.ZodMiniObject<{
4241
4030
  averageSessionLength: z.ZodMiniNumber<number>;
4242
4031
  }, z.core.$strip>;
4243
4032
  }, z.core.$strip>;
4244
- /**
4245
- * Selected experiences and variants for the profile.
4246
- *
4247
- * @see {@link SelectedOptimizationArray}
4248
- */
4249
4033
  experiences: z.ZodMiniArray<z.ZodMiniObject<{
4250
4034
  experienceId: z.ZodMiniString<string>;
4251
4035
  variantIndex: z.ZodMiniNumber<number>;
4252
4036
  variants: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
4253
4037
  sticky: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniBoolean<boolean>>>;
4254
4038
  }, z.core.$strip>>;
4255
- /**
4256
- * Used for Custom Flags.
4257
- *
4258
- * @see {@link ChangeArray}
4259
- */
4260
4039
  changes: z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
4261
4040
  key: z.ZodMiniString<string>;
4262
4041
  meta: z.ZodMiniObject<{
@@ -4308,13 +4087,7 @@ export declare const FragmentChange: z.ZodMiniObject<{
4308
4087
  id: z.ZodMiniString<string>;
4309
4088
  variantId: z.ZodMiniString<string>;
4310
4089
  meta: z.ZodMiniObject<{
4311
- /**
4312
- * Identifier of the optimization that produced this change.
4313
- */
4314
4090
  optimizationId: z.ZodMiniString<string>;
4315
- /**
4316
- * Index of the variant within the optimization's distribution.
4317
- */
4318
4091
  variantIndex: z.ZodMiniNumber<number>;
4319
4092
  }, z.core.$strip>;
4320
4093
  type: z.ZodMiniLiteral<"Fragment">;
@@ -4336,57 +4109,17 @@ export declare type FragmentChange = z.infer<typeof FragmentChange>;
4336
4109
  * @public
4337
4110
  */
4338
4111
  export declare const GeoLocation: z.ZodMiniObject<{
4339
- /**
4340
- * Geographical coordinates for the location.
4341
- */
4342
4112
  coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
4343
- /**
4344
- * Latitude component of the coordinates.
4345
- */
4346
4113
  latitude: z.ZodMiniNumber<number>;
4347
- /**
4348
- * Longitude component of the coordinates.
4349
- */
4350
4114
  longitude: z.ZodMiniNumber<number>;
4351
4115
  }, z.core.$strip>>;
4352
- /**
4353
- * City name associated with the location.
4354
- */
4355
4116
  city: z.ZodMiniOptional<z.ZodMiniString<string>>;
4356
- /**
4357
- * Postal or ZIP code associated with the location.
4358
- */
4359
4117
  postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
4360
- /**
4361
- * Region or state name associated with the location.
4362
- */
4363
4118
  region: z.ZodMiniOptional<z.ZodMiniString<string>>;
4364
- /**
4365
- * Region or state code associated with the location.
4366
- */
4367
4119
  regionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
4368
- /**
4369
- * Country name associated with the location.
4370
- */
4371
4120
  country: z.ZodMiniOptional<z.ZodMiniString<string>>;
4372
- /**
4373
- * Country code associated with the location.
4374
- *
4375
- * @remarks
4376
- * Validated to exactly COUNTRY_CODE_LENGTH characters, typically
4377
- * an ISO 3166-1 alpha-2 code.
4378
- */
4379
4121
  countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
4380
- /**
4381
- * Continent name associated with the location.
4382
- */
4383
4122
  continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
4384
- /**
4385
- * Time zone identifier associated with the location.
4386
- *
4387
- * @remarks
4388
- * Typically an IANA time zone string (e.g., `"Europe/Berlin"`).
4389
- */
4390
4123
  timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
4391
4124
  }, z.core.$strip>;
4392
4125
 
@@ -4800,9 +4533,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
4800
4533
  entityId: z.ZodMiniString<string>;
4801
4534
  entityKind: z.ZodMiniEnum<{
4802
4535
  Experience: "Experience";
4803
- Fragment: "Fragment";
4804
- InlineFragment: "InlineFragment";
4805
- InlineComponent: "InlineComponent";
4536
+ ExperienceFragment: "ExperienceFragment";
4806
4537
  }>;
4807
4538
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
4808
4539
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -4813,7 +4544,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
4813
4544
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
4814
4545
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
4815
4546
  type: z.ZodMiniLiteral<"exo_node_view">;
4816
- viewDurationMs: z.ZodMiniNumberFormat;
4547
+ viewDurationMs: z.ZodMiniInt;
4817
4548
  viewId: z.ZodMiniString<string>;
4818
4549
  }, z.core.$strip>, z.ZodMiniObject<{
4819
4550
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
@@ -4872,9 +4603,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
4872
4603
  entityId: z.ZodMiniString<string>;
4873
4604
  entityKind: z.ZodMiniEnum<{
4874
4605
  Experience: "Experience";
4875
- Fragment: "Fragment";
4876
- InlineFragment: "InlineFragment";
4877
- InlineComponent: "InlineComponent";
4606
+ ExperienceFragment: "ExperienceFragment";
4878
4607
  }>;
4879
4608
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
4880
4609
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -4942,9 +4671,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
4942
4671
  entityId: z.ZodMiniString<string>;
4943
4672
  entityKind: z.ZodMiniEnum<{
4944
4673
  Experience: "Experience";
4945
- Fragment: "Fragment";
4946
- InlineFragment: "InlineFragment";
4947
- InlineComponent: "InlineComponent";
4674
+ ExperienceFragment: "ExperienceFragment";
4948
4675
  }>;
4949
4676
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
4950
4677
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -4955,7 +4682,7 @@ export declare const InsightsEvent: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject
4955
4682
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
4956
4683
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
4957
4684
  type: z.ZodMiniLiteral<"exo_node_hover">;
4958
- hoverDurationMs: z.ZodMiniNumberFormat;
4685
+ hoverDurationMs: z.ZodMiniInt;
4959
4686
  hoverId: z.ZodMiniString<string>;
4960
4687
  }, z.core.$strip>], "type">;
4961
4688
 
@@ -5209,9 +4936,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
5209
4936
  entityId: z.ZodMiniString<string>;
5210
4937
  entityKind: z.ZodMiniEnum<{
5211
4938
  Experience: "Experience";
5212
- Fragment: "Fragment";
5213
- InlineFragment: "InlineFragment";
5214
- InlineComponent: "InlineComponent";
4939
+ ExperienceFragment: "ExperienceFragment";
5215
4940
  }>;
5216
4941
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
5217
4942
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -5222,7 +4947,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
5222
4947
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
5223
4948
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
5224
4949
  type: z.ZodMiniLiteral<"exo_node_view">;
5225
- viewDurationMs: z.ZodMiniNumberFormat;
4950
+ viewDurationMs: z.ZodMiniInt;
5226
4951
  viewId: z.ZodMiniString<string>;
5227
4952
  }, z.core.$strip>, z.ZodMiniObject<{
5228
4953
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
@@ -5281,9 +5006,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
5281
5006
  entityId: z.ZodMiniString<string>;
5282
5007
  entityKind: z.ZodMiniEnum<{
5283
5008
  Experience: "Experience";
5284
- Fragment: "Fragment";
5285
- InlineFragment: "InlineFragment";
5286
- InlineComponent: "InlineComponent";
5009
+ ExperienceFragment: "ExperienceFragment";
5287
5010
  }>;
5288
5011
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
5289
5012
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -5351,9 +5074,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
5351
5074
  entityId: z.ZodMiniString<string>;
5352
5075
  entityKind: z.ZodMiniEnum<{
5353
5076
  Experience: "Experience";
5354
- Fragment: "Fragment";
5355
- InlineFragment: "InlineFragment";
5356
- InlineComponent: "InlineComponent";
5077
+ ExperienceFragment: "ExperienceFragment";
5357
5078
  }>;
5358
5079
  entityKindId: z.ZodMiniOptional<z.ZodMiniString<string>>;
5359
5080
  entryIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -5364,7 +5085,7 @@ export declare const InsightsEventArray: z.ZodMiniArray<z.ZodMiniDiscriminatedUn
5364
5085
  variantId: z.ZodMiniOptional<z.ZodMiniString<string>>;
5365
5086
  variantIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
5366
5087
  type: z.ZodMiniLiteral<"exo_node_hover">;
5367
- hoverDurationMs: z.ZodMiniNumberFormat;
5088
+ hoverDurationMs: z.ZodMiniInt;
5368
5089
  hoverId: z.ZodMiniString<string>;
5369
5090
  }, z.core.$strip>], "type">>;
5370
5091
 
@@ -5480,13 +5201,7 @@ export declare type Json = z.infer<typeof z.json>;
5480
5201
  * @public
5481
5202
  */
5482
5203
  export declare const Library: z.ZodMiniObject<{
5483
- /**
5484
- * Name of the SDK/library (e.g., `"@contentful/optimization-web"`).
5485
- */
5486
5204
  name: z.ZodMiniString<string>;
5487
- /**
5488
- * Version of the analytics library.
5489
- */
5490
5205
  version: z.ZodMiniString<string>;
5491
5206
  }, z.core.$strip>;
5492
5207
 
@@ -5523,29 +5238,11 @@ export declare type OptimizationData = Omit<ExperienceData, 'experiences'> & {
5523
5238
  * @public
5524
5239
  */
5525
5240
  export declare const Page: z.ZodMiniObject<{
5526
- /**
5527
- * Path component of the page URL (e.g., `/products/123`).
5528
- */
5529
5241
  path: z.ZodMiniString<string>;
5530
- /**
5531
- * Parsed query parameters for the page.
5532
- */
5533
5242
  query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
5534
- /**
5535
- * Referrer URL that led to the current page.
5536
- */
5537
5243
  referrer: z.ZodMiniString<string>;
5538
- /**
5539
- * Raw search string including the leading `?` (e.g., `"?q=test"`).
5540
- */
5541
5244
  search: z.ZodMiniString<string>;
5542
- /**
5543
- * Title of the page as seen by the user.
5544
- */
5545
5245
  title: z.ZodMiniOptional<z.ZodMiniString<string>>;
5546
- /**
5547
- * Full URL of the page.
5548
- */
5549
5246
  url: z.ZodMiniString<string>;
5550
5247
  }, z.core.$catchall<z.ZodMiniJSONSchema>>;
5551
5248
 
@@ -5707,12 +5404,6 @@ export declare function parseWithFriendlyError<T extends z.ZodMiniType>(schema:
5707
5404
  * @public
5708
5405
  */
5709
5406
  export declare const PartialProfile: z.ZodMiniObject<{
5710
- /**
5711
- * Identifier of the profile.
5712
- *
5713
- * @remarks
5714
- * Used to associate events with an existing profile.
5715
- */
5716
5407
  id: z.ZodMiniString<string>;
5717
5408
  }, z.core.$catchall<z.ZodMiniJSONSchema>>;
5718
5409
 
@@ -5733,40 +5424,11 @@ export declare type PartialProfile = z.infer<typeof PartialProfile>;
5733
5424
  * @public
5734
5425
  */
5735
5426
  export declare const Profile: z.ZodMiniObject<{
5736
- /**
5737
- * Primary identifier of the profile.
5738
- */
5739
5427
  id: z.ZodMiniString<string>;
5740
- /**
5741
- * Stable, long-lived identifier of the profile.
5742
- *
5743
- * @remarks
5744
- * Intended to remain constant across sessions and devices when possible.
5745
- * Usually equal to `id`.
5746
- */
5747
5428
  stableId: z.ZodMiniString<string>;
5748
- /**
5749
- * Random value associated with the profile.
5750
- *
5751
- * @remarks
5752
- * Often used for deterministic bucketing (e.g., in experiments).
5753
- */
5754
5429
  random: z.ZodMiniNumber<number>;
5755
- /**
5756
- * List of audience identifiers that this profile belongs to.
5757
- */
5758
5430
  audiences: z.ZodMiniArray<z.ZodMiniString<string>>;
5759
- /**
5760
- * Traits describing the profile (user-level attributes).
5761
- *
5762
- * @see {@link Traits}
5763
- */
5764
5431
  traits: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniJSONSchema>;
5765
- /**
5766
- * Geo-location information associated with the profile.
5767
- *
5768
- * @see {@link GeoLocation}
5769
- */
5770
5432
  location: z.ZodMiniObject<{
5771
5433
  coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
5772
5434
  latitude: z.ZodMiniNumber<number>;
@@ -5781,11 +5443,6 @@ export declare const Profile: z.ZodMiniObject<{
5781
5443
  continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
5782
5444
  timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
5783
5445
  }, z.core.$strip>;
5784
- /**
5785
- * Aggregated session statistics for the profile.
5786
- *
5787
- * @see {@link SessionStatistics}
5788
- */
5789
5446
  session: z.ZodMiniObject<{
5790
5447
  id: z.ZodMiniString<string>;
5791
5448
  isReturningVisitor: z.ZodMiniBoolean<boolean>;
@@ -5838,21 +5495,8 @@ export declare type Properties = z.infer<typeof Properties>;
5838
5495
  * @public
5839
5496
  */
5840
5497
  export declare const ResponseEnvelope: z.ZodMiniObject<{
5841
- /**
5842
- * Response payload.
5843
- *
5844
- * @remarks
5845
- * The base schema uses an empty object; specific responses extend this
5846
- * with more detailed structures.
5847
- */
5848
- data: z.ZodMiniObject<Record<never, z.core.SomeType>, z.core.$strip>;
5849
- /**
5850
- * Human-readable message accompanying the response.
5851
- */
5498
+ data: z.ZodMiniObject<{}, z.core.$strip>;
5852
5499
  message: z.ZodMiniString<string>;
5853
- /**
5854
- * Error details, or `null` when the request succeeded.
5855
- */
5856
5500
  error: z.ZodMiniNullable<z.ZodMiniObject<{
5857
5501
  code: z.ZodMiniString<string>;
5858
5502
  }, z.core.$strip>>;
@@ -5875,9 +5519,6 @@ export declare type ResponseEnvelope = z.infer<typeof ResponseEnvelope>;
5875
5519
  * @public
5876
5520
  */
5877
5521
  declare const Screen_2: z.ZodMiniObject<{
5878
- /**
5879
- * Name or label for the screen.
5880
- */
5881
5522
  name: z.ZodMiniString<string>;
5882
5523
  }, z.core.$catchall<z.ZodMiniJSONSchema>>;
5883
5524
 
@@ -6021,34 +5662,9 @@ export declare type ScreenViewEvent = z.infer<typeof ScreenViewEvent>;
6021
5662
  * @public
6022
5663
  */
6023
5664
  export declare const SelectedOptimization: z.ZodMiniObject<{
6024
- /**
6025
- * Identifier of the personalization or experiment experience.
6026
- */
6027
5665
  experienceId: z.ZodMiniString<string>;
6028
- /**
6029
- * Index of the selected variant within the experience configuration.
6030
- *
6031
- * @remarks
6032
- * Typically corresponds to the index of the selected `OptimizationConfig` entry.
6033
- */
6034
5666
  variantIndex: z.ZodMiniNumber<number>;
6035
- /**
6036
- * Mapping of baseline entry IDs to their selected variant entry IDs.
6037
- *
6038
- * @remarks
6039
- * The keys are component identifiers and the values are the
6040
- * identifiers of the selected variant for that component.
6041
- */
6042
5667
  variants: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
6043
- /**
6044
- * Indicates whether this optimization selection is sticky for the user.
6045
- *
6046
- * @defaultValue false
6047
- *
6048
- * @remarks
6049
- * Reuse sticky selections on subsequent requests for the same user rather
6050
- * than re-allocating a new variant.
6051
- */
6052
5668
  sticky: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniBoolean<boolean>>>;
6053
5669
  }, z.core.$strip>;
6054
5670
 
@@ -6068,34 +5684,9 @@ export declare type SelectedOptimization = z.infer<typeof SelectedOptimization>;
6068
5684
  * @public
6069
5685
  */
6070
5686
  export declare const SelectedOptimizationArray: z.ZodMiniArray<z.ZodMiniObject<{
6071
- /**
6072
- * Identifier of the personalization or experiment experience.
6073
- */
6074
5687
  experienceId: z.ZodMiniString<string>;
6075
- /**
6076
- * Index of the selected variant within the experience configuration.
6077
- *
6078
- * @remarks
6079
- * Typically corresponds to the index of the selected `OptimizationConfig` entry.
6080
- */
6081
5688
  variantIndex: z.ZodMiniNumber<number>;
6082
- /**
6083
- * Mapping of baseline entry IDs to their selected variant entry IDs.
6084
- *
6085
- * @remarks
6086
- * The keys are component identifiers and the values are the
6087
- * identifiers of the selected variant for that component.
6088
- */
6089
5689
  variants: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
6090
- /**
6091
- * Indicates whether this optimization selection is sticky for the user.
6092
- *
6093
- * @defaultValue false
6094
- *
6095
- * @remarks
6096
- * Reuse sticky selections on subsequent requests for the same user rather
6097
- * than re-allocating a new variant.
6098
- */
6099
5690
  sticky: z.ZodMiniOptional<z.ZodMiniPrefault<z.ZodMiniBoolean<boolean>>>;
6100
5691
  }, z.core.$strip>>;
6101
5692
 
@@ -6116,25 +5707,8 @@ export declare type SelectedOptimizationArray = z.infer<typeof SelectedOptimizat
6116
5707
  * @public
6117
5708
  */
6118
5709
  export declare const SessionStatistics: z.ZodMiniObject<{
6119
- /**
6120
- * Unique identifier for this session statistics record.
6121
- */
6122
5710
  id: z.ZodMiniString<string>;
6123
- /**
6124
- * Indicates whether the visitor has been seen before.
6125
- *
6126
- * @remarks
6127
- * `true` typically means the visitor has at least one prior session.
6128
- */
6129
5711
  isReturningVisitor: z.ZodMiniBoolean<boolean>;
6130
- /**
6131
- * Landing page for the session.
6132
- *
6133
- * @remarks
6134
- * Represents the first page the user visited in this session.
6135
- *
6136
- * @see {@link Page}
6137
- */
6138
5712
  landingPage: z.ZodMiniObject<{
6139
5713
  path: z.ZodMiniString<string>;
6140
5714
  query: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
@@ -6143,23 +5717,8 @@ export declare const SessionStatistics: z.ZodMiniObject<{
6143
5717
  title: z.ZodMiniOptional<z.ZodMiniString<string>>;
6144
5718
  url: z.ZodMiniString<string>;
6145
5719
  }, z.core.$catchall<z.ZodMiniJSONSchema>>;
6146
- /**
6147
- * Number of sessions associated with this profile or identifier.
6148
- *
6149
- * @remarks
6150
- * Often used in combination with `SessionStatistics.averageSessionLength`.
6151
- */
6152
5720
  count: z.ZodMiniNumber<number>;
6153
- /**
6154
- * Duration of the active session.
6155
- */
6156
5721
  activeSessionLength: z.ZodMiniNumber<number>;
6157
- /**
6158
- * Average session duration across all sessions represented by this record.
6159
- *
6160
- * @remarks
6161
- * The unit must match `SessionStatistics.activeSessionLength`.
6162
- */
6163
5722
  averageSessionLength: z.ZodMiniNumber<number>;
6164
5723
  }, z.core.$strip>;
6165
5724
 
@@ -6277,16 +5836,10 @@ export declare type Traits = z.infer<typeof Traits>;
6277
5836
  * @public
6278
5837
  */
6279
5838
  export declare const UniversalEventContext: z.ZodMiniObject<{
6280
- /**
6281
- * Application-level metadata.
6282
- */
6283
5839
  app: z.ZodMiniOptional<z.ZodMiniObject<{
6284
5840
  name: z.ZodMiniString<string>;
6285
5841
  version: z.ZodMiniString<string>;
6286
5842
  }, z.core.$strip>>;
6287
- /**
6288
- * Campaign attribution metadata.
6289
- */
6290
5843
  campaign: z.ZodMiniObject<{
6291
5844
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
6292
5845
  source: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -6294,29 +5847,14 @@ export declare const UniversalEventContext: z.ZodMiniObject<{
6294
5847
  term: z.ZodMiniOptional<z.ZodMiniString<string>>;
6295
5848
  content: z.ZodMiniOptional<z.ZodMiniString<string>>;
6296
5849
  }, z.core.$strip>;
6297
- /**
6298
- * GDPR-related consent information.
6299
- */
6300
5850
  gdpr: z.ZodMiniObject<{
6301
- /**
6302
- * Indicates whether the user has given consent.
6303
- */
6304
5851
  isConsentGiven: z.ZodMiniBoolean<boolean>;
6305
5852
  }, z.core.$strip>;
6306
- /**
6307
- * Analytics library metadata.
6308
- */
6309
5853
  library: z.ZodMiniObject<{
6310
5854
  name: z.ZodMiniString<string>;
6311
5855
  version: z.ZodMiniString<string>;
6312
5856
  }, z.core.$strip>;
6313
- /**
6314
- * Locale identifier of the event (e.g., `"en-US"`).
6315
- */
6316
5857
  locale: z.ZodMiniString<string>;
6317
- /**
6318
- * Optional geo-location information associated with the event.
6319
- */
6320
5858
  location: z.ZodMiniOptional<z.ZodMiniObject<{
6321
5859
  coordinates: z.ZodMiniOptional<z.ZodMiniObject<{
6322
5860
  latitude: z.ZodMiniNumber<number>;
@@ -6331,9 +5869,6 @@ export declare const UniversalEventContext: z.ZodMiniObject<{
6331
5869
  continent: z.ZodMiniOptional<z.ZodMiniString<string>>;
6332
5870
  timezone: z.ZodMiniOptional<z.ZodMiniString<string>>;
6333
5871
  }, z.core.$strip>>;
6334
- /**
6335
- * User agent string of the client, if available.
6336
- */
6337
5872
  userAgent: z.ZodMiniOptional<z.ZodMiniString<string>>;
6338
5873
  }, z.core.$strip>;
6339
5874
 
@@ -6354,15 +5889,7 @@ export declare type UniversalEventContext = z.infer<typeof UniversalEventContext
6354
5889
  * @public
6355
5890
  */
6356
5891
  export declare const UniversalEventProperties: z.ZodMiniObject<{
6357
- /**
6358
- * Channel from which the event originated.
6359
- *
6360
- * @see {@link Channel}
6361
- */
6362
5892
  channel: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mobile">, z.ZodMiniLiteral<"server">, z.ZodMiniLiteral<"web">]>;
6363
- /**
6364
- * Context object carrying environment and client metadata.
6365
- */
6366
5893
  context: z.ZodMiniObject<{
6367
5894
  app: z.ZodMiniOptional<z.ZodMiniObject<{
6368
5895
  name: z.ZodMiniString<string>;
@@ -6376,9 +5903,6 @@ export declare const UniversalEventProperties: z.ZodMiniObject<{
6376
5903
  content: z.ZodMiniOptional<z.ZodMiniString<string>>;
6377
5904
  }, z.core.$strip>;
6378
5905
  gdpr: z.ZodMiniObject<{
6379
- /**
6380
- * Indicates whether the user has given consent.
6381
- */
6382
5906
  isConsentGiven: z.ZodMiniBoolean<boolean>;
6383
5907
  }, z.core.$strip>;
6384
5908
  library: z.ZodMiniObject<{
@@ -6413,37 +5937,10 @@ export declare const UniversalEventProperties: z.ZodMiniObject<{
6413
5937
  name: z.ZodMiniString<string>;
6414
5938
  }, z.core.$catchall<z.ZodMiniJSONSchema>>>;
6415
5939
  }, z.core.$strip>;
6416
- /**
6417
- * Unique identifier for this message.
6418
- *
6419
- * @remarks
6420
- * Used to deduplicate events across retries and transports.
6421
- */
6422
5940
  messageId: z.ZodMiniString<string>;
6423
- /**
6424
- * Timestamp when the event originally occurred.
6425
- *
6426
- * @remarks
6427
- * ISO 8601 datetime string.
6428
- */
6429
5941
  originalTimestamp: z.iso.ZodMiniISODateTime;
6430
- /**
6431
- * Timestamp when the event payload was sent.
6432
- *
6433
- * @remarks
6434
- * ISO 8601 datetime string.
6435
- */
6436
5942
  sentAt: z.iso.ZodMiniISODateTime;
6437
- /**
6438
- * Timestamp when the event was recorded or processed.
6439
- *
6440
- * @remarks
6441
- * ISO 8601 datetime string.
6442
- */
6443
5943
  timestamp: z.iso.ZodMiniISODateTime;
6444
- /**
6445
- * Identifier of the authenticated user, if known.
6446
- */
6447
5944
  userId: z.ZodMiniOptional<z.ZodMiniString<string>>;
6448
5945
  }, z.core.$strip>;
6449
5946
 
@@ -6466,16 +5963,7 @@ export declare type UniversalEventProperties = z.infer<typeof UniversalEventProp
6466
5963
  export declare const UnknownChange: z.ZodMiniObject<{
6467
5964
  key: z.ZodMiniString<string>;
6468
5965
  meta: z.ZodMiniObject<{
6469
- /**
6470
- * Identifier of the personalization or experiment experience.
6471
- */
6472
5966
  experienceId: z.ZodMiniString<string>;
6473
- /**
6474
- * Index of the variant within the experience configuration.
6475
- *
6476
- * @remarks
6477
- * Typically corresponds to the array index in the experience's distribution.
6478
- */
6479
5967
  variantIndex: z.ZodMiniNumber<number>;
6480
5968
  }, z.core.$strip>;
6481
5969
  type: z.ZodMiniString<string>;
@@ -6500,16 +5988,7 @@ export declare type UnknownChange = z.infer<typeof UnknownChange>;
6500
5988
  export declare const VariableChange: z.ZodMiniObject<{
6501
5989
  key: z.ZodMiniString<string>;
6502
5990
  meta: z.ZodMiniObject<{
6503
- /**
6504
- * Identifier of the personalization or experiment experience.
6505
- */
6506
5991
  experienceId: z.ZodMiniString<string>;
6507
- /**
6508
- * Index of the variant within the experience configuration.
6509
- *
6510
- * @remarks
6511
- * Typically corresponds to the array index in the experience's distribution.
6512
- */
6513
5992
  variantIndex: z.ZodMiniNumber<number>;
6514
5993
  }, z.core.$strip>;
6515
5994
  type: z.ZodMiniLiteral<"Variable">;