@oursprivacy/platform-sdk 1.67.0 → 1.69.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.
Files changed (109) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +8 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +8 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/analytics.d.mts +10 -0
  12. package/resources/analytics.d.mts.map +1 -1
  13. package/resources/analytics.d.ts +10 -0
  14. package/resources/analytics.d.ts.map +1 -1
  15. package/resources/dashboards.d.mts +696 -34
  16. package/resources/dashboards.d.mts.map +1 -1
  17. package/resources/dashboards.d.ts +696 -34
  18. package/resources/dashboards.d.ts.map +1 -1
  19. package/resources/destinations.d.mts +7 -7
  20. package/resources/destinations.d.mts.map +1 -1
  21. package/resources/destinations.d.ts +7 -7
  22. package/resources/destinations.d.ts.map +1 -1
  23. package/resources/funnels.d.mts +255 -9
  24. package/resources/funnels.d.mts.map +1 -1
  25. package/resources/funnels.d.ts +255 -9
  26. package/resources/funnels.d.ts.map +1 -1
  27. package/resources/funnels.js +10 -7
  28. package/resources/funnels.js.map +1 -1
  29. package/resources/funnels.mjs +10 -7
  30. package/resources/funnels.mjs.map +1 -1
  31. package/resources/index.d.mts +3 -1
  32. package/resources/index.d.mts.map +1 -1
  33. package/resources/index.d.ts +3 -1
  34. package/resources/index.d.ts.map +1 -1
  35. package/resources/index.js +5 -1
  36. package/resources/index.js.map +1 -1
  37. package/resources/index.mjs +2 -0
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/insights.d.mts +178 -57
  40. package/resources/insights.d.mts.map +1 -1
  41. package/resources/insights.d.ts +178 -57
  42. package/resources/insights.d.ts.map +1 -1
  43. package/resources/insights.js +9 -7
  44. package/resources/insights.js.map +1 -1
  45. package/resources/insights.mjs +9 -7
  46. package/resources/insights.mjs.map +1 -1
  47. package/resources/journey-flows.d.mts +242 -18
  48. package/resources/journey-flows.d.mts.map +1 -1
  49. package/resources/journey-flows.d.ts +242 -18
  50. package/resources/journey-flows.d.ts.map +1 -1
  51. package/resources/journey-flows.js +18 -12
  52. package/resources/journey-flows.js.map +1 -1
  53. package/resources/journey-flows.mjs +18 -12
  54. package/resources/journey-flows.mjs.map +1 -1
  55. package/resources/query-events.d.mts +324 -0
  56. package/resources/query-events.d.mts.map +1 -0
  57. package/resources/query-events.d.ts +324 -0
  58. package/resources/query-events.d.ts.map +1 -0
  59. package/resources/query-events.js +64 -0
  60. package/resources/query-events.js.map +1 -0
  61. package/resources/query-events.mjs +60 -0
  62. package/resources/query-events.mjs.map +1 -0
  63. package/resources/query-visitors.d.mts +127 -0
  64. package/resources/query-visitors.d.mts.map +1 -0
  65. package/resources/query-visitors.d.ts +127 -0
  66. package/resources/query-visitors.d.ts.map +1 -0
  67. package/resources/query-visitors.js +35 -0
  68. package/resources/query-visitors.js.map +1 -0
  69. package/resources/query-visitors.mjs +31 -0
  70. package/resources/query-visitors.mjs.map +1 -0
  71. package/resources/report-branding.d.mts +112 -28
  72. package/resources/report-branding.d.mts.map +1 -1
  73. package/resources/report-branding.d.ts +112 -28
  74. package/resources/report-branding.d.ts.map +1 -1
  75. package/resources/report-branding.js +29 -15
  76. package/resources/report-branding.js.map +1 -1
  77. package/resources/report-branding.mjs +29 -15
  78. package/resources/report-branding.mjs.map +1 -1
  79. package/resources/sources.d.mts +6 -6
  80. package/resources/sources.d.mts.map +1 -1
  81. package/resources/sources.d.ts +6 -6
  82. package/resources/sources.d.ts.map +1 -1
  83. package/resources/test-events.d.mts +28 -0
  84. package/resources/test-events.d.mts.map +1 -1
  85. package/resources/test-events.d.ts +28 -0
  86. package/resources/test-events.d.ts.map +1 -1
  87. package/resources/web-analytics.d.mts +25 -1
  88. package/resources/web-analytics.d.mts.map +1 -1
  89. package/resources/web-analytics.d.ts +25 -1
  90. package/resources/web-analytics.d.ts.map +1 -1
  91. package/src/client.ts +54 -0
  92. package/src/resources/analytics.ts +12 -0
  93. package/src/resources/dashboards.ts +939 -47
  94. package/src/resources/destinations.ts +23 -2
  95. package/src/resources/funnels.ts +334 -9
  96. package/src/resources/index.ts +24 -0
  97. package/src/resources/insights.ts +224 -57
  98. package/src/resources/journey-flows.ts +300 -22
  99. package/src/resources/query-events.ts +459 -0
  100. package/src/resources/query-visitors.ts +190 -0
  101. package/src/resources/report-branding.ts +132 -27
  102. package/src/resources/sources.ts +12 -0
  103. package/src/resources/test-events.ts +33 -0
  104. package/src/resources/web-analytics.ts +41 -1
  105. package/src/version.ts +1 -1
  106. package/version.d.mts +1 -1
  107. package/version.d.ts +1 -1
  108. package/version.js +1 -1
  109. package/version.mjs +1 -1
@@ -143,12 +143,14 @@ export interface DestinationListResponse {
143
143
  | 'GooglePubSub'
144
144
  | 'GoogleStorage'
145
145
  | 'GravityCAPI'
146
+ | 'GrowthChannel'
146
147
  | 'HTTPCustomRequest'
147
148
  | 'HTTPDestination'
148
149
  | 'Hubspot'
149
150
  | 'IHeartMediaMagellan'
150
151
  | 'Impact'
151
152
  | 'Iterable'
153
+ | 'Katalys'
152
154
  | 'Klaviyo'
153
155
  | 'LeadSquared'
154
156
  | 'LinkedInAdsCAPI'
@@ -173,6 +175,7 @@ export interface DestinationListResponse {
173
175
  | 'QuoraAds'
174
176
  | 'Reddit'
175
177
  | 'RedditCapiV3'
178
+ | 'Renshu'
176
179
  | 'Rokt'
177
180
  | 'RokuCAPI'
178
181
  | 'SnapchatAdsCapi'
@@ -270,12 +273,14 @@ export interface DestinationCreateResponse {
270
273
  | 'GooglePubSub'
271
274
  | 'GoogleStorage'
272
275
  | 'GravityCAPI'
276
+ | 'GrowthChannel'
273
277
  | 'HTTPCustomRequest'
274
278
  | 'HTTPDestination'
275
279
  | 'Hubspot'
276
280
  | 'IHeartMediaMagellan'
277
281
  | 'Impact'
278
282
  | 'Iterable'
283
+ | 'Katalys'
279
284
  | 'Klaviyo'
280
285
  | 'LeadSquared'
281
286
  | 'LinkedInAdsCAPI'
@@ -300,6 +305,7 @@ export interface DestinationCreateResponse {
300
305
  | 'QuoraAds'
301
306
  | 'Reddit'
302
307
  | 'RedditCapiV3'
308
+ | 'Renshu'
303
309
  | 'Rokt'
304
310
  | 'RokuCAPI'
305
311
  | 'SnapchatAdsCapi'
@@ -397,12 +403,14 @@ export interface DestinationRetrieveResponse {
397
403
  | 'GooglePubSub'
398
404
  | 'GoogleStorage'
399
405
  | 'GravityCAPI'
406
+ | 'GrowthChannel'
400
407
  | 'HTTPCustomRequest'
401
408
  | 'HTTPDestination'
402
409
  | 'Hubspot'
403
410
  | 'IHeartMediaMagellan'
404
411
  | 'Impact'
405
412
  | 'Iterable'
413
+ | 'Katalys'
406
414
  | 'Klaviyo'
407
415
  | 'LeadSquared'
408
416
  | 'LinkedInAdsCAPI'
@@ -427,6 +435,7 @@ export interface DestinationRetrieveResponse {
427
435
  | 'QuoraAds'
428
436
  | 'Reddit'
429
437
  | 'RedditCapiV3'
438
+ | 'Renshu'
430
439
  | 'Rokt'
431
440
  | 'RokuCAPI'
432
441
  | 'SnapchatAdsCapi'
@@ -524,12 +533,14 @@ export interface DestinationUpdateResponse {
524
533
  | 'GooglePubSub'
525
534
  | 'GoogleStorage'
526
535
  | 'GravityCAPI'
536
+ | 'GrowthChannel'
527
537
  | 'HTTPCustomRequest'
528
538
  | 'HTTPDestination'
529
539
  | 'Hubspot'
530
540
  | 'IHeartMediaMagellan'
531
541
  | 'Impact'
532
542
  | 'Iterable'
543
+ | 'Katalys'
533
544
  | 'Klaviyo'
534
545
  | 'LeadSquared'
535
546
  | 'LinkedInAdsCAPI'
@@ -554,6 +565,7 @@ export interface DestinationUpdateResponse {
554
565
  | 'QuoraAds'
555
566
  | 'Reddit'
556
567
  | 'RedditCapiV3'
568
+ | 'Renshu'
557
569
  | 'Rokt'
558
570
  | 'RokuCAPI'
559
571
  | 'SnapchatAdsCapi'
@@ -686,7 +698,10 @@ export namespace DestinationTypesResponse {
686
698
  | 'GravityCAPI'
687
699
  | 'LeadSquared'
688
700
  | 'Trybe'
689
- | 'Affiliatly';
701
+ | 'Affiliatly'
702
+ | 'Katalys'
703
+ | 'GrowthChannel'
704
+ | 'Renshu';
690
705
 
691
706
  capabilities: Entity.Capabilities;
692
707
 
@@ -894,12 +909,14 @@ export interface DestinationListParams extends CursorParams {
894
909
  | 'GooglePubSub'
895
910
  | 'GoogleStorage'
896
911
  | 'GravityCAPI'
912
+ | 'GrowthChannel'
897
913
  | 'HTTPCustomRequest'
898
914
  | 'HTTPDestination'
899
915
  | 'Hubspot'
900
916
  | 'IHeartMediaMagellan'
901
917
  | 'Impact'
902
918
  | 'Iterable'
919
+ | 'Katalys'
903
920
  | 'Klaviyo'
904
921
  | 'LeadSquared'
905
922
  | 'LinkedInAdsCAPI'
@@ -924,6 +941,7 @@ export interface DestinationListParams extends CursorParams {
924
941
  | 'QuoraAds'
925
942
  | 'Reddit'
926
943
  | 'RedditCapiV3'
944
+ | 'Renshu'
927
945
  | 'Rokt'
928
946
  | 'RokuCAPI'
929
947
  | 'SnapchatAdsCapi'
@@ -1044,7 +1062,10 @@ export interface DestinationCreateParams {
1044
1062
  | 'GravityCAPI'
1045
1063
  | 'LeadSquared'
1046
1064
  | 'Trybe'
1047
- | 'Affiliatly';
1065
+ | 'Affiliatly'
1066
+ | 'Katalys'
1067
+ | 'GrowthChannel'
1068
+ | 'Renshu';
1048
1069
 
1049
1070
  /**
1050
1071
  * Restrict dispatch to these source IDs. Omit on create or send `null` to accept
@@ -67,13 +67,16 @@ export class Funnels extends APIResource {
67
67
  /**
68
68
  * Compute funnel step analytics from the funnel’s saved `queryDefinition` over a
69
69
  * requested date window. Returns per-step visitor counts, conversion rates,
70
- * drop-off rates, average time to next step, sample session IDs for replay, and
71
- * the resolved entry/observation scope. Results are computed on demand from event
72
- * data at request time; ad hoc filter, saved-scope, and web-source overrides are
73
- * not accepted. Observation completeness is null when the source coverage
74
- * watermark is unavailable. `to` must be on or after `from`, and the window may
75
- * span at most 91 days including both endpoints. Requires API-key scope or current
76
- * OAuth user permission: web-analytics:view
70
+ * drop-off rates, average time to next step, sample session IDs for replay (omit
71
+ * them with `includeSamples=false`), and the resolved entry/observation scope.
72
+ * Pass `breakdown` to split the funnel by one property (top values plus Other and
73
+ * (not set)) and `comparison` to add the same metrics for other dates. Neither is
74
+ * saved with the funnel. Ad hoc filter, saved-scope, and web-source overrides are
75
+ * not accepted. Results may be served from a recent cache; pass `refresh=true` to
76
+ * recompute. Observation completeness is null when the source coverage watermark
77
+ * is unavailable. `to` must be on or after `from`, and the window may span at most
78
+ * 93 days including both endpoints. Requires API-key scope or current OAuth user
79
+ * permission: web-analytics:view
77
80
  */
78
81
  results(
79
82
  id: string,
@@ -1279,6 +1282,16 @@ export interface FunnelResultsResponse {
1279
1282
  */
1280
1283
  totalVisitors: number;
1281
1284
 
1285
+ /**
1286
+ * Per-segment results when `breakdown` was requested; null otherwise.
1287
+ */
1288
+ breakdown?: FunnelResultsResponse.Breakdown | null;
1289
+
1290
+ /**
1291
+ * Results for the compared dates when `comparison` was requested; null otherwise.
1292
+ */
1293
+ comparison?: FunnelResultsResponse.Comparison | null;
1294
+
1282
1295
  /**
1283
1296
  * Average time from first step to last step in seconds. Null when no completions.
1284
1297
  */
@@ -1348,6 +1361,291 @@ export namespace FunnelResultsResponse {
1348
1361
  */
1349
1362
  avgTimeToNextStep?: number | null;
1350
1363
  }
1364
+
1365
+ /**
1366
+ * Per-segment results when `breakdown` was requested; null otherwise.
1367
+ */
1368
+ export interface Breakdown {
1369
+ scope: Breakdown.Scope;
1370
+
1371
+ /**
1372
+ * Segments in rank order.
1373
+ */
1374
+ segments: Array<Breakdown.Segment>;
1375
+ }
1376
+
1377
+ export namespace Breakdown {
1378
+ export interface Scope {
1379
+ atAnchorId: string | null;
1380
+
1381
+ limit: number;
1382
+
1383
+ property: Scope.Property;
1384
+
1385
+ stepNumber: number | null;
1386
+
1387
+ truncated: boolean;
1388
+
1389
+ /**
1390
+ * Distinct values seen.
1391
+ */
1392
+ valueCount: number;
1393
+ }
1394
+
1395
+ export namespace Scope {
1396
+ export interface Property {
1397
+ property: string;
1398
+
1399
+ type: 'string' | 'number' | 'boolean';
1400
+
1401
+ path?: Array<string>;
1402
+ }
1403
+ }
1404
+
1405
+ export interface Segment {
1406
+ /**
1407
+ * Ratio of last-step to first-step volume in this segment, as a percentage.
1408
+ */
1409
+ overallConversionRate: number;
1410
+
1411
+ segment: Segment.Segment;
1412
+
1413
+ /**
1414
+ * Per-step results for this segment.
1415
+ */
1416
+ steps: Array<Segment.Step>;
1417
+
1418
+ /**
1419
+ * First-step volume in this segment.
1420
+ */
1421
+ totalVisitors: number;
1422
+
1423
+ /**
1424
+ * Average time from first step to last step in seconds. Null when no completions.
1425
+ */
1426
+ overallAvgTimeToConversion?: number | null;
1427
+ }
1428
+
1429
+ export namespace Segment {
1430
+ export interface Segment {
1431
+ /**
1432
+ * Segment key: v:<value>, $other, or $none.
1433
+ */
1434
+ key: string;
1435
+
1436
+ kind: 'value' | 'other' | 'not_set';
1437
+
1438
+ label: string;
1439
+
1440
+ rank: number;
1441
+
1442
+ /**
1443
+ * Null for other and not_set.
1444
+ */
1445
+ value: string | null;
1446
+ }
1447
+
1448
+ export interface Step {
1449
+ conversionCount: number;
1450
+
1451
+ /**
1452
+ * Step ratio as a percentage. Event-counting ratios may exceed 100%.
1453
+ */
1454
+ conversionRate: number;
1455
+
1456
+ /**
1457
+ * Drop-off percentage for participant counting; zero when the previous step volume
1458
+ * is zero. Not a participant loss measure for event counting.
1459
+ */
1460
+ dropOffRate: number;
1461
+
1462
+ dropOffSessionIds: Array<string>;
1463
+
1464
+ dropOffVisitorIds: Array<string>;
1465
+
1466
+ /**
1467
+ * Ratio to first-step volume as a percentage. Event-counting ratios may exceed
1468
+ * 100%.
1469
+ */
1470
+ overallConversionRate: number;
1471
+
1472
+ sessionIds: Array<string>;
1473
+
1474
+ stepNumber: number;
1475
+
1476
+ /**
1477
+ * Step volume using the saved counting method: unique people, sessions, or events.
1478
+ */
1479
+ visitorCount: number;
1480
+
1481
+ visitorIds: Array<string>;
1482
+
1483
+ /**
1484
+ * Average incoming hop time from the previous step to this step, in seconds.
1485
+ */
1486
+ avgTimeToNextStep?: number | null;
1487
+ }
1488
+ }
1489
+ }
1490
+
1491
+ /**
1492
+ * Results for the compared dates when `comparison` was requested; null otherwise.
1493
+ */
1494
+ export interface Comparison {
1495
+ overallConversionRate: number;
1496
+
1497
+ scope: Comparison.Scope;
1498
+
1499
+ /**
1500
+ * Same keys and order as `breakdown.segments`.
1501
+ */
1502
+ segments: Array<Comparison.Segment>;
1503
+
1504
+ /**
1505
+ * Per-step results for the compared dates. Sample ID arrays are empty.
1506
+ */
1507
+ steps: Array<Comparison.Step>;
1508
+
1509
+ totalVisitors: number;
1510
+
1511
+ overallAvgTimeToConversion?: number | null;
1512
+ }
1513
+
1514
+ export namespace Comparison {
1515
+ export interface Scope {
1516
+ from: string;
1517
+
1518
+ kind: 'previous_period' | 'previous_year' | 'custom';
1519
+
1520
+ to: string;
1521
+ }
1522
+
1523
+ export interface Segment {
1524
+ /**
1525
+ * Ratio of last-step to first-step volume in this segment, as a percentage.
1526
+ */
1527
+ overallConversionRate: number;
1528
+
1529
+ segment: Segment.Segment;
1530
+
1531
+ /**
1532
+ * Per-step results for this segment.
1533
+ */
1534
+ steps: Array<Segment.Step>;
1535
+
1536
+ /**
1537
+ * First-step volume in this segment.
1538
+ */
1539
+ totalVisitors: number;
1540
+
1541
+ /**
1542
+ * Average time from first step to last step in seconds. Null when no completions.
1543
+ */
1544
+ overallAvgTimeToConversion?: number | null;
1545
+ }
1546
+
1547
+ export namespace Segment {
1548
+ export interface Segment {
1549
+ /**
1550
+ * Segment key: v:<value>, $other, or $none.
1551
+ */
1552
+ key: string;
1553
+
1554
+ kind: 'value' | 'other' | 'not_set';
1555
+
1556
+ label: string;
1557
+
1558
+ rank: number;
1559
+
1560
+ /**
1561
+ * Null for other and not_set.
1562
+ */
1563
+ value: string | null;
1564
+ }
1565
+
1566
+ export interface Step {
1567
+ conversionCount: number;
1568
+
1569
+ /**
1570
+ * Step ratio as a percentage. Event-counting ratios may exceed 100%.
1571
+ */
1572
+ conversionRate: number;
1573
+
1574
+ /**
1575
+ * Drop-off percentage for participant counting; zero when the previous step volume
1576
+ * is zero. Not a participant loss measure for event counting.
1577
+ */
1578
+ dropOffRate: number;
1579
+
1580
+ dropOffSessionIds: Array<string>;
1581
+
1582
+ dropOffVisitorIds: Array<string>;
1583
+
1584
+ /**
1585
+ * Ratio to first-step volume as a percentage. Event-counting ratios may exceed
1586
+ * 100%.
1587
+ */
1588
+ overallConversionRate: number;
1589
+
1590
+ sessionIds: Array<string>;
1591
+
1592
+ stepNumber: number;
1593
+
1594
+ /**
1595
+ * Step volume using the saved counting method: unique people, sessions, or events.
1596
+ */
1597
+ visitorCount: number;
1598
+
1599
+ visitorIds: Array<string>;
1600
+
1601
+ /**
1602
+ * Average incoming hop time from the previous step to this step, in seconds.
1603
+ */
1604
+ avgTimeToNextStep?: number | null;
1605
+ }
1606
+ }
1607
+
1608
+ export interface Step {
1609
+ conversionCount: number;
1610
+
1611
+ /**
1612
+ * Step ratio as a percentage. Event-counting ratios may exceed 100%.
1613
+ */
1614
+ conversionRate: number;
1615
+
1616
+ /**
1617
+ * Drop-off percentage for participant counting; zero when the previous step volume
1618
+ * is zero. Not a participant loss measure for event counting.
1619
+ */
1620
+ dropOffRate: number;
1621
+
1622
+ dropOffSessionIds: Array<string>;
1623
+
1624
+ dropOffVisitorIds: Array<string>;
1625
+
1626
+ /**
1627
+ * Ratio to first-step volume as a percentage. Event-counting ratios may exceed
1628
+ * 100%.
1629
+ */
1630
+ overallConversionRate: number;
1631
+
1632
+ sessionIds: Array<string>;
1633
+
1634
+ stepNumber: number;
1635
+
1636
+ /**
1637
+ * Step volume using the saved counting method: unique people, sessions, or events.
1638
+ */
1639
+ visitorCount: number;
1640
+
1641
+ visitorIds: Array<string>;
1642
+
1643
+ /**
1644
+ * Average incoming hop time from the previous step to this step, in seconds.
1645
+ */
1646
+ avgTimeToNextStep?: number | null;
1647
+ }
1648
+ }
1351
1649
  }
1352
1650
 
1353
1651
  export interface FunnelCreateParams {
@@ -1787,7 +2085,7 @@ export namespace FunnelUpdateParams {
1787
2085
  export interface FunnelResultsParams {
1788
2086
  /**
1789
2087
  * Inclusive lower bound of the analysis window, as a UTC calendar day in
1790
- * `YYYY-MM-DD` format. The window may span at most 91 days including both
2088
+ * `YYYY-MM-DD` format. The window may span at most 93 days including both
1791
2089
  * endpoints.
1792
2090
  */
1793
2091
  from: string;
@@ -1795,10 +2093,27 @@ export interface FunnelResultsParams {
1795
2093
  /**
1796
2094
  * Inclusive upper bound of the analysis window, as a UTC calendar day in
1797
2095
  * `YYYY-MM-DD` format. Must be on or after `from`, and the window may span at most
1798
- * 91 days including both endpoints.
2096
+ * 93 days including both endpoints.
1799
2097
  */
1800
2098
  to: string;
1801
2099
 
2100
+ /**
2101
+ * Split results by a property. JSON object
2102
+ * {property:{property,path?,type},limit?}. type is string, number or boolean;
2103
+ * limit is 1–10 (default 5). Properties come from GET
2104
+ * /rest/v1/analytics/query-catalog. Optional stepNumber (default 1) is the step
2105
+ * whose event supplies the value; any-order funnels accept only 1. Example:
2106
+ * {"property":{"property":"event.properties","path":["plan"],"type":"string"},"stepNumber":2}
2107
+ */
2108
+ breakdown?: string;
2109
+
2110
+ /**
2111
+ * Compare with another range of the same length. JSON object {kind,from?}: kind is
2112
+ * previous_period, previous_year or custom; custom requires from (YYYY-MM-DD).
2113
+ * Example: {"kind":"previous_period"}
2114
+ */
2115
+ comparison?: string;
2116
+
1802
2117
  /**
1803
2118
  * Use the saved funnel response's updatedAt from GET /funnels/{id} (MCP:
1804
2119
  * get_funnel.updatedAt) to require that definition revision. Results return the
@@ -1806,6 +2121,16 @@ export interface FunnelResultsParams {
1806
2121
  * changed; omit to use the latest saved definition.
1807
2122
  */
1808
2123
  expectedDefinitionUpdatedAt?: string;
2124
+
2125
+ /**
2126
+ * Include sample visitor and session IDs; defaults to true.
2127
+ */
2128
+ includeSamples?: boolean;
2129
+
2130
+ /**
2131
+ * Results may be served from a recent cache; pass refresh=true to recompute.
2132
+ */
2133
+ refresh?: boolean;
1809
2134
  }
1810
2135
 
1811
2136
  export declare namespace Funnels {
@@ -328,6 +328,28 @@ export {
328
328
  type PersonalizationPropertyUpdateParams,
329
329
  type PersonalizationPropertyListResponsesCursor,
330
330
  } from './personalization-properties';
331
+ export {
332
+ QueryEvents,
333
+ type QueryEventListResponse,
334
+ type QueryEventCapabilitiesResponse,
335
+ type QueryEventCatalogResponse,
336
+ type QueryEventPropertySuggestionsResponse,
337
+ type QueryEventEventNamesResponse,
338
+ type QueryEventOccurrenceResponse,
339
+ type QueryEventExportResponse,
340
+ type QueryEventListParams,
341
+ type QueryEventPropertySuggestionsParams,
342
+ type QueryEventOccurrenceParams,
343
+ type QueryEventExportParams,
344
+ } from './query-events';
345
+ export {
346
+ QueryVisitors,
347
+ type QueryVisitorListResponse,
348
+ type QueryVisitorCapabilitiesResponse,
349
+ type QueryVisitorProfileSearchResponse,
350
+ type QueryVisitorListParams,
351
+ type QueryVisitorProfileSearchParams,
352
+ } from './query-visitors';
331
353
  export {
332
354
  ReplaySettings,
333
355
  type ReplaySettingListResponse,
@@ -345,8 +367,10 @@ export {
345
367
  type ReportBrandingRetrieveResponse,
346
368
  type ReportBrandingReplaceResponse,
347
369
  type ReportBrandingDeleteResponse,
370
+ type ReportBrandingUpdateResponse,
348
371
  type ReportBrandingRetrieveParams,
349
372
  type ReportBrandingReplaceParams,
373
+ type ReportBrandingUpdateParams,
350
374
  } from './report-branding';
351
375
  export {
352
376
  SessionReplays,