@oursprivacy/platform-sdk 1.46.0 → 1.47.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 (160) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/client.d.mts +20 -11
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +20 -11
  5. package/client.d.ts.map +1 -1
  6. package/client.js +11 -2
  7. package/client.js.map +1 -1
  8. package/client.mjs +11 -2
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/attribution.d.mts +9 -1
  12. package/resources/attribution.d.mts.map +1 -1
  13. package/resources/attribution.d.ts +9 -1
  14. package/resources/attribution.d.ts.map +1 -1
  15. package/resources/consent-settings.d.mts +48 -0
  16. package/resources/consent-settings.d.mts.map +1 -1
  17. package/resources/consent-settings.d.ts +48 -0
  18. package/resources/consent-settings.d.ts.map +1 -1
  19. package/resources/conversion-journey-summaries.d.mts +38 -0
  20. package/resources/conversion-journey-summaries.d.mts.map +1 -1
  21. package/resources/conversion-journey-summaries.d.ts +38 -0
  22. package/resources/conversion-journey-summaries.d.ts.map +1 -1
  23. package/resources/conversion-journey-summaries.js +38 -0
  24. package/resources/conversion-journey-summaries.js.map +1 -1
  25. package/resources/conversion-journey-summaries.mjs +38 -0
  26. package/resources/conversion-journey-summaries.mjs.map +1 -1
  27. package/resources/data-governance.d.mts +5 -5
  28. package/resources/data-governance.d.mts.map +1 -1
  29. package/resources/data-governance.d.ts +5 -5
  30. package/resources/data-governance.d.ts.map +1 -1
  31. package/resources/destinations.d.mts +7 -27
  32. package/resources/destinations.d.mts.map +1 -1
  33. package/resources/destinations.d.ts +7 -27
  34. package/resources/destinations.d.ts.map +1 -1
  35. package/resources/experiment-variants.d.mts +4 -2
  36. package/resources/experiment-variants.d.mts.map +1 -1
  37. package/resources/experiment-variants.d.ts +4 -2
  38. package/resources/experiment-variants.d.ts.map +1 -1
  39. package/resources/experiments.d.mts +677 -102
  40. package/resources/experiments.d.mts.map +1 -1
  41. package/resources/experiments.d.ts +677 -102
  42. package/resources/experiments.d.ts.map +1 -1
  43. package/resources/experiments.js +32 -2
  44. package/resources/experiments.js.map +1 -1
  45. package/resources/experiments.mjs +32 -2
  46. package/resources/experiments.mjs.map +1 -1
  47. package/resources/funnels.d.mts +172 -22
  48. package/resources/funnels.d.mts.map +1 -1
  49. package/resources/funnels.d.ts +172 -22
  50. package/resources/funnels.d.ts.map +1 -1
  51. package/resources/funnels.js +10 -2
  52. package/resources/funnels.js.map +1 -1
  53. package/resources/funnels.mjs +10 -2
  54. package/resources/funnels.mjs.map +1 -1
  55. package/resources/heatmap-pages.d.mts +42 -14
  56. package/resources/heatmap-pages.d.mts.map +1 -1
  57. package/resources/heatmap-pages.d.ts +42 -14
  58. package/resources/heatmap-pages.d.ts.map +1 -1
  59. package/resources/heatmap-pages.js +11 -7
  60. package/resources/heatmap-pages.js.map +1 -1
  61. package/resources/heatmap-pages.mjs +11 -7
  62. package/resources/heatmap-pages.mjs.map +1 -1
  63. package/resources/index.d.mts +8 -5
  64. package/resources/index.d.mts.map +1 -1
  65. package/resources/index.d.ts +8 -5
  66. package/resources/index.d.ts.map +1 -1
  67. package/resources/index.js +7 -1
  68. package/resources/index.js.map +1 -1
  69. package/resources/index.mjs +3 -0
  70. package/resources/index.mjs.map +1 -1
  71. package/resources/mappings.d.mts +2 -2
  72. package/resources/mappings.d.mts.map +1 -1
  73. package/resources/mappings.d.ts +2 -2
  74. package/resources/mappings.d.ts.map +1 -1
  75. package/resources/session-replays.d.mts +91 -0
  76. package/resources/session-replays.d.mts.map +1 -0
  77. package/resources/session-replays.d.ts +91 -0
  78. package/resources/session-replays.d.ts.map +1 -0
  79. package/resources/session-replays.js +24 -0
  80. package/resources/session-replays.js.map +1 -0
  81. package/resources/session-replays.mjs +20 -0
  82. package/resources/session-replays.mjs.map +1 -0
  83. package/resources/short-links.d.mts +138 -37
  84. package/resources/short-links.d.mts.map +1 -1
  85. package/resources/short-links.d.ts +138 -37
  86. package/resources/short-links.d.ts.map +1 -1
  87. package/resources/short-links.js +27 -12
  88. package/resources/short-links.js.map +1 -1
  89. package/resources/short-links.mjs +27 -12
  90. package/resources/short-links.mjs.map +1 -1
  91. package/resources/sources.d.mts +10 -6
  92. package/resources/sources.d.mts.map +1 -1
  93. package/resources/sources.d.ts +10 -6
  94. package/resources/sources.d.ts.map +1 -1
  95. package/resources/tag-manager-tags.d.mts +2 -2
  96. package/resources/tag-manager-tags.d.ts +2 -2
  97. package/resources/tag-manager-tags.js +2 -2
  98. package/resources/tag-manager-tags.mjs +2 -2
  99. package/resources/tag-manager-triggers.d.mts +18 -1
  100. package/resources/tag-manager-triggers.d.mts.map +1 -1
  101. package/resources/tag-manager-triggers.d.ts +18 -1
  102. package/resources/tag-manager-triggers.d.ts.map +1 -1
  103. package/resources/translation-widgets.d.mts +62 -0
  104. package/resources/translation-widgets.d.mts.map +1 -0
  105. package/resources/translation-widgets.d.ts +62 -0
  106. package/resources/translation-widgets.d.ts.map +1 -0
  107. package/resources/translation-widgets.js +18 -0
  108. package/resources/translation-widgets.js.map +1 -0
  109. package/resources/translation-widgets.mjs +14 -0
  110. package/resources/translation-widgets.mjs.map +1 -0
  111. package/resources/video-channels.d.mts +17 -17
  112. package/resources/video-channels.d.mts.map +1 -1
  113. package/resources/video-channels.d.ts +17 -17
  114. package/resources/video-channels.d.ts.map +1 -1
  115. package/resources/video-channels.js +17 -16
  116. package/resources/video-channels.js.map +1 -1
  117. package/resources/video-channels.mjs +17 -16
  118. package/resources/video-channels.mjs.map +1 -1
  119. package/resources/web-analytics.d.mts +345 -0
  120. package/resources/web-analytics.d.mts.map +1 -0
  121. package/resources/web-analytics.d.ts +345 -0
  122. package/resources/web-analytics.d.ts.map +1 -0
  123. package/resources/web-analytics.js +61 -0
  124. package/resources/web-analytics.js.map +1 -0
  125. package/resources/web-analytics.mjs +57 -0
  126. package/resources/web-analytics.mjs.map +1 -0
  127. package/resources/web-scanners.d.mts +314 -14
  128. package/resources/web-scanners.d.mts.map +1 -1
  129. package/resources/web-scanners.d.ts +314 -14
  130. package/resources/web-scanners.d.ts.map +1 -1
  131. package/resources/web-scanners.js +139 -13
  132. package/resources/web-scanners.js.map +1 -1
  133. package/resources/web-scanners.mjs +139 -13
  134. package/resources/web-scanners.mjs.map +1 -1
  135. package/src/client.ts +116 -19
  136. package/src/resources/attribution.ts +11 -1
  137. package/src/resources/consent-settings.ts +56 -0
  138. package/src/resources/conversion-journey-summaries.ts +38 -0
  139. package/src/resources/data-governance.ts +5 -5
  140. package/src/resources/destinations.ts +18 -115
  141. package/src/resources/experiment-variants.ts +4 -2
  142. package/src/resources/experiments.ts +812 -101
  143. package/src/resources/funnels.ts +276 -21
  144. package/src/resources/heatmap-pages.ts +49 -14
  145. package/src/resources/index.ts +47 -3
  146. package/src/resources/mappings.ts +2 -2
  147. package/src/resources/session-replays.ts +138 -0
  148. package/src/resources/short-links.ts +164 -36
  149. package/src/resources/sources.ts +11 -0
  150. package/src/resources/tag-manager-tags.ts +2 -2
  151. package/src/resources/tag-manager-triggers.ts +18 -1
  152. package/src/resources/translation-widgets.ts +97 -0
  153. package/src/resources/video-channels.ts +19 -18
  154. package/src/resources/web-analytics.ts +494 -0
  155. package/src/resources/web-scanners.ts +443 -13
  156. package/src/version.ts +1 -1
  157. package/version.d.mts +1 -1
  158. package/version.d.ts +1 -1
  159. package/version.js +1 -1
  160. package/version.mjs +1 -1
package/src/client.ts CHANGED
@@ -144,9 +144,12 @@ import {
144
144
  ExperimentVariants,
145
145
  } from './resources/experiment-variants';
146
146
  import {
147
+ ExperimentAnalysisParams,
148
+ ExperimentAnalysisResponse,
147
149
  ExperimentCreateParams,
148
150
  ExperimentCreateResponse,
149
151
  ExperimentDeleteResponse,
152
+ ExperimentDuplicateResponse,
150
153
  ExperimentEndRolloutResponse,
151
154
  ExperimentListParams,
152
155
  ExperimentListResponse,
@@ -178,6 +181,7 @@ import {
178
181
  FunnelCreateParams,
179
182
  FunnelCreateResponse,
180
183
  FunnelDeleteResponse,
184
+ FunnelDuplicateResponse,
181
185
  FunnelListResponse,
182
186
  FunnelResultsParams,
183
187
  FunnelResultsResponse,
@@ -248,6 +252,14 @@ import {
248
252
  ReplaySettings,
249
253
  } from './resources/replay-settings';
250
254
  import {
255
+ SessionReplayListParams,
256
+ SessionReplayListResponse,
257
+ SessionReplayOverviewParams,
258
+ SessionReplayOverviewResponse,
259
+ SessionReplays,
260
+ } from './resources/session-replays';
261
+ import {
262
+ ShortLinkCloneResponse,
251
263
  ShortLinkCreateParams,
252
264
  ShortLinkCreateResponse,
253
265
  ShortLinkDeleteResponse,
@@ -340,6 +352,11 @@ import {
340
352
  TagManagerUpdateResponse,
341
353
  TagManagers,
342
354
  } from './resources/tag-managers';
355
+ import {
356
+ TranslationWidgetAnalyticsParams,
357
+ TranslationWidgetAnalyticsResponse,
358
+ TranslationWidgets,
359
+ } from './resources/translation-widgets';
343
360
  import {
344
361
  VersionAbandonResponse,
345
362
  VersionCreateParams,
@@ -396,8 +413,27 @@ import {
396
413
  VideoUpdateResponse,
397
414
  VideoUpdateTranscriptParams,
398
415
  VideoUpdateTranscriptResponse,
416
+ VideoUploadParams,
417
+ VideoUploadResponse,
399
418
  Videos,
400
419
  } from './resources/videos';
420
+ import {
421
+ WebAnalytics,
422
+ WebAnalyticsCurrentVisitorsParams,
423
+ WebAnalyticsCurrentVisitorsResponse,
424
+ WebAnalyticsDevicesParams,
425
+ WebAnalyticsDevicesResponse,
426
+ WebAnalyticsJourneyParams,
427
+ WebAnalyticsJourneyResponse,
428
+ WebAnalyticsLocationsParams,
429
+ WebAnalyticsLocationsResponse,
430
+ WebAnalyticsOverviewParams,
431
+ WebAnalyticsOverviewResponse,
432
+ WebAnalyticsPagesParams,
433
+ WebAnalyticsPagesResponse,
434
+ WebAnalyticsSourcesParams,
435
+ WebAnalyticsSourcesResponse,
436
+ } from './resources/web-analytics';
401
437
  import {
402
438
  WebScannerRuleCreateParams,
403
439
  WebScannerRuleCreateResponse,
@@ -410,6 +446,8 @@ import {
410
446
  WebScannerRules,
411
447
  } from './resources/web-scanner-rules';
412
448
  import {
449
+ WebScannerAuthenticatedScanParams,
450
+ WebScannerAuthenticatedScanResponse,
413
451
  WebScannerCookiesParams,
414
452
  WebScannerCookiesResponse,
415
453
  WebScannerCreateParams,
@@ -421,9 +459,15 @@ import {
421
459
  WebScannerRetrieveResponse,
422
460
  WebScannerSummaryParams,
423
461
  WebScannerSummaryResponse,
462
+ WebScannerTargetedScanParams,
463
+ WebScannerTargetedScanResponse,
424
464
  WebScannerTriggerResponse,
425
465
  WebScannerUpdateParams,
426
466
  WebScannerUpdateResponse,
467
+ WebScannerVerificationRunParams,
468
+ WebScannerVerificationRunResponse,
469
+ WebScannerVerificationRunsParams,
470
+ WebScannerVerificationRunsResponse,
427
471
  WebScanners,
428
472
  } from './resources/web-scanners';
429
473
  import { type Fetch } from './internal/builtin-types';
@@ -1187,6 +1231,7 @@ export class OursPrivacyPlatform {
1187
1231
  locations: API.Locations = new API.Locations(this);
1188
1232
  mappings: API.Mappings = new API.Mappings(this);
1189
1233
  replaySettings: API.ReplaySettings = new API.ReplaySettings(this);
1234
+ sessionReplays: API.SessionReplays = new API.SessionReplays(this);
1190
1235
  shortLinks: API.ShortLinks = new API.ShortLinks(this);
1191
1236
  sources: API.Sources = new API.Sources(this);
1192
1237
  tagManagers: API.TagManagers = new API.TagManagers(this);
@@ -1195,9 +1240,11 @@ export class OursPrivacyPlatform {
1195
1240
  tagManagerVariables: API.TagManagerVariables = new API.TagManagerVariables(this);
1196
1241
  tagManagerFolders: API.TagManagerFolders = new API.TagManagerFolders(this);
1197
1242
  tagManagerAssetFolders: API.TagManagerAssetFolders = new API.TagManagerAssetFolders(this);
1243
+ translationWidgets: API.TranslationWidgets = new API.TranslationWidgets(this);
1198
1244
  versions: API.Versions = new API.Versions(this);
1199
- videoChannels: API.VideoChannels = new API.VideoChannels(this);
1200
1245
  videos: API.Videos = new API.Videos(this);
1246
+ videoChannels: API.VideoChannels = new API.VideoChannels(this);
1247
+ webAnalytics: API.WebAnalytics = new API.WebAnalytics(this);
1201
1248
  webScannerRules: API.WebScannerRules = new API.WebScannerRules(this);
1202
1249
  webScanners: API.WebScanners = new API.WebScanners(this);
1203
1250
  personalizationProperties: API.PersonalizationProperties = new API.PersonalizationProperties(this);
@@ -1220,6 +1267,7 @@ OursPrivacyPlatform.HeatmapPages = HeatmapPages;
1220
1267
  OursPrivacyPlatform.Locations = Locations;
1221
1268
  OursPrivacyPlatform.Mappings = Mappings;
1222
1269
  OursPrivacyPlatform.ReplaySettings = ReplaySettings;
1270
+ OursPrivacyPlatform.SessionReplays = SessionReplays;
1223
1271
  OursPrivacyPlatform.ShortLinks = ShortLinks;
1224
1272
  OursPrivacyPlatform.Sources = Sources;
1225
1273
  OursPrivacyPlatform.TagManagers = TagManagers;
@@ -1228,9 +1276,11 @@ OursPrivacyPlatform.TagManagerTriggers = TagManagerTriggers;
1228
1276
  OursPrivacyPlatform.TagManagerVariables = TagManagerVariables;
1229
1277
  OursPrivacyPlatform.TagManagerFolders = TagManagerFolders;
1230
1278
  OursPrivacyPlatform.TagManagerAssetFolders = TagManagerAssetFolders;
1279
+ OursPrivacyPlatform.TranslationWidgets = TranslationWidgets;
1231
1280
  OursPrivacyPlatform.Versions = Versions;
1232
- OursPrivacyPlatform.VideoChannels = VideoChannels;
1233
1281
  OursPrivacyPlatform.Videos = Videos;
1282
+ OursPrivacyPlatform.VideoChannels = VideoChannels;
1283
+ OursPrivacyPlatform.WebAnalytics = WebAnalytics;
1234
1284
  OursPrivacyPlatform.WebScannerRules = WebScannerRules;
1235
1285
  OursPrivacyPlatform.WebScanners = WebScanners;
1236
1286
  OursPrivacyPlatform.PersonalizationProperties = PersonalizationProperties;
@@ -1383,6 +1433,7 @@ export declare namespace OursPrivacyPlatform {
1383
1433
  type ExperimentRetrieveResponse as ExperimentRetrieveResponse,
1384
1434
  type ExperimentUpdateResponse as ExperimentUpdateResponse,
1385
1435
  type ExperimentDeleteResponse as ExperimentDeleteResponse,
1436
+ type ExperimentDuplicateResponse as ExperimentDuplicateResponse,
1386
1437
  type ExperimentStartResponse as ExperimentStartResponse,
1387
1438
  type ExperimentStopResponse as ExperimentStopResponse,
1388
1439
  type ExperimentRolloutResponse as ExperimentRolloutResponse,
@@ -1391,6 +1442,7 @@ export declare namespace OursPrivacyPlatform {
1391
1442
  type ExperimentPauseResponse as ExperimentPauseResponse,
1392
1443
  type ExperimentResumeResponse as ExperimentResumeResponse,
1393
1444
  type ExperimentResultsResponse as ExperimentResultsResponse,
1445
+ type ExperimentAnalysisResponse as ExperimentAnalysisResponse,
1394
1446
  type ExperimentResultsTimeSeriesResponse as ExperimentResultsTimeSeriesResponse,
1395
1447
  type ExperimentSessionReplaysResponse as ExperimentSessionReplaysResponse,
1396
1448
  type ExperimentListResponsesCursor as ExperimentListResponsesCursor,
@@ -1404,6 +1456,7 @@ export declare namespace OursPrivacyPlatform {
1404
1456
  type ExperimentPauseParams as ExperimentPauseParams,
1405
1457
  type ExperimentResumeParams as ExperimentResumeParams,
1406
1458
  type ExperimentResultsParams as ExperimentResultsParams,
1459
+ type ExperimentAnalysisParams as ExperimentAnalysisParams,
1407
1460
  type ExperimentResultsTimeSeriesParams as ExperimentResultsTimeSeriesParams,
1408
1461
  type ExperimentSessionReplaysParams as ExperimentSessionReplaysParams,
1409
1462
  };
@@ -1415,6 +1468,7 @@ export declare namespace OursPrivacyPlatform {
1415
1468
  type FunnelRetrieveResponse as FunnelRetrieveResponse,
1416
1469
  type FunnelUpdateResponse as FunnelUpdateResponse,
1417
1470
  type FunnelDeleteResponse as FunnelDeleteResponse,
1471
+ type FunnelDuplicateResponse as FunnelDuplicateResponse,
1418
1472
  type FunnelResultsResponse as FunnelResultsResponse,
1419
1473
  type FunnelCreateParams as FunnelCreateParams,
1420
1474
  type FunnelUpdateParams as FunnelUpdateParams,
@@ -1474,6 +1528,14 @@ export declare namespace OursPrivacyPlatform {
1474
1528
  type ReplaySettingUpdateParams as ReplaySettingUpdateParams,
1475
1529
  };
1476
1530
 
1531
+ export {
1532
+ SessionReplays as SessionReplays,
1533
+ type SessionReplayListResponse as SessionReplayListResponse,
1534
+ type SessionReplayOverviewResponse as SessionReplayOverviewResponse,
1535
+ type SessionReplayListParams as SessionReplayListParams,
1536
+ type SessionReplayOverviewParams as SessionReplayOverviewParams,
1537
+ };
1538
+
1477
1539
  export {
1478
1540
  ShortLinks as ShortLinks,
1479
1541
  type ShortLinkListResponse as ShortLinkListResponse,
@@ -1481,6 +1543,7 @@ export declare namespace OursPrivacyPlatform {
1481
1543
  type ShortLinkRetrieveResponse as ShortLinkRetrieveResponse,
1482
1544
  type ShortLinkUpdateResponse as ShortLinkUpdateResponse,
1483
1545
  type ShortLinkDeleteResponse as ShortLinkDeleteResponse,
1546
+ type ShortLinkCloneResponse as ShortLinkCloneResponse,
1484
1547
  type ShortLinkResultsResponse as ShortLinkResultsResponse,
1485
1548
  type ShortLinkListResponsesCursor as ShortLinkListResponsesCursor,
1486
1549
  type ShortLinkListParams as ShortLinkListParams,
@@ -1575,6 +1638,12 @@ export declare namespace OursPrivacyPlatform {
1575
1638
  type TagManagerAssetFolderCreateParams as TagManagerAssetFolderCreateParams,
1576
1639
  };
1577
1640
 
1641
+ export {
1642
+ TranslationWidgets as TranslationWidgets,
1643
+ type TranslationWidgetAnalyticsResponse as TranslationWidgetAnalyticsResponse,
1644
+ type TranslationWidgetAnalyticsParams as TranslationWidgetAnalyticsParams,
1645
+ };
1646
+
1578
1647
  export {
1579
1648
  Versions as Versions,
1580
1649
  type VersionListResponse as VersionListResponse,
@@ -1596,6 +1665,28 @@ export declare namespace OursPrivacyPlatform {
1596
1665
  type VersionRevertParams as VersionRevertParams,
1597
1666
  };
1598
1667
 
1668
+ export {
1669
+ Videos as Videos,
1670
+ type VideoListResponse as VideoListResponse,
1671
+ type VideoCreateResponse as VideoCreateResponse,
1672
+ type VideoRetrieveResponse as VideoRetrieveResponse,
1673
+ type VideoUpdateResponse as VideoUpdateResponse,
1674
+ type VideoDeleteResponse as VideoDeleteResponse,
1675
+ type VideoUploadResponse as VideoUploadResponse,
1676
+ type VideoTranscriptResponse as VideoTranscriptResponse,
1677
+ type VideoUpdateTranscriptResponse as VideoUpdateTranscriptResponse,
1678
+ type VideoAnalyticsResponse as VideoAnalyticsResponse,
1679
+ type VideoAnalyticsTimeseriesResponse as VideoAnalyticsTimeseriesResponse,
1680
+ type VideoListResponsesCursor as VideoListResponsesCursor,
1681
+ type VideoListParams as VideoListParams,
1682
+ type VideoCreateParams as VideoCreateParams,
1683
+ type VideoUpdateParams as VideoUpdateParams,
1684
+ type VideoUploadParams as VideoUploadParams,
1685
+ type VideoUpdateTranscriptParams as VideoUpdateTranscriptParams,
1686
+ type VideoAnalyticsParams as VideoAnalyticsParams,
1687
+ type VideoAnalyticsTimeseriesParams as VideoAnalyticsTimeseriesParams,
1688
+ };
1689
+
1599
1690
  export {
1600
1691
  VideoChannels as VideoChannels,
1601
1692
  type VideoChannelListResponse as VideoChannelListResponse,
@@ -1617,23 +1708,21 @@ export declare namespace OursPrivacyPlatform {
1617
1708
  };
1618
1709
 
1619
1710
  export {
1620
- Videos as Videos,
1621
- type VideoListResponse as VideoListResponse,
1622
- type VideoCreateResponse as VideoCreateResponse,
1623
- type VideoRetrieveResponse as VideoRetrieveResponse,
1624
- type VideoUpdateResponse as VideoUpdateResponse,
1625
- type VideoDeleteResponse as VideoDeleteResponse,
1626
- type VideoAnalyticsResponse as VideoAnalyticsResponse,
1627
- type VideoAnalyticsTimeseriesResponse as VideoAnalyticsTimeseriesResponse,
1628
- type VideoTranscriptResponse as VideoTranscriptResponse,
1629
- type VideoUpdateTranscriptResponse as VideoUpdateTranscriptResponse,
1630
- type VideoListResponsesCursor as VideoListResponsesCursor,
1631
- type VideoListParams as VideoListParams,
1632
- type VideoCreateParams as VideoCreateParams,
1633
- type VideoUpdateParams as VideoUpdateParams,
1634
- type VideoAnalyticsParams as VideoAnalyticsParams,
1635
- type VideoAnalyticsTimeseriesParams as VideoAnalyticsTimeseriesParams,
1636
- type VideoUpdateTranscriptParams as VideoUpdateTranscriptParams,
1711
+ WebAnalytics as WebAnalytics,
1712
+ type WebAnalyticsOverviewResponse as WebAnalyticsOverviewResponse,
1713
+ type WebAnalyticsSourcesResponse as WebAnalyticsSourcesResponse,
1714
+ type WebAnalyticsPagesResponse as WebAnalyticsPagesResponse,
1715
+ type WebAnalyticsLocationsResponse as WebAnalyticsLocationsResponse,
1716
+ type WebAnalyticsDevicesResponse as WebAnalyticsDevicesResponse,
1717
+ type WebAnalyticsCurrentVisitorsResponse as WebAnalyticsCurrentVisitorsResponse,
1718
+ type WebAnalyticsJourneyResponse as WebAnalyticsJourneyResponse,
1719
+ type WebAnalyticsOverviewParams as WebAnalyticsOverviewParams,
1720
+ type WebAnalyticsSourcesParams as WebAnalyticsSourcesParams,
1721
+ type WebAnalyticsPagesParams as WebAnalyticsPagesParams,
1722
+ type WebAnalyticsLocationsParams as WebAnalyticsLocationsParams,
1723
+ type WebAnalyticsDevicesParams as WebAnalyticsDevicesParams,
1724
+ type WebAnalyticsCurrentVisitorsParams as WebAnalyticsCurrentVisitorsParams,
1725
+ type WebAnalyticsJourneyParams as WebAnalyticsJourneyParams,
1637
1726
  };
1638
1727
 
1639
1728
  export {
@@ -1656,11 +1745,19 @@ export declare namespace OursPrivacyPlatform {
1656
1745
  type WebScannerUpdateResponse as WebScannerUpdateResponse,
1657
1746
  type WebScannerDeleteResponse as WebScannerDeleteResponse,
1658
1747
  type WebScannerTriggerResponse as WebScannerTriggerResponse,
1748
+ type WebScannerAuthenticatedScanResponse as WebScannerAuthenticatedScanResponse,
1749
+ type WebScannerTargetedScanResponse as WebScannerTargetedScanResponse,
1750
+ type WebScannerVerificationRunResponse as WebScannerVerificationRunResponse,
1751
+ type WebScannerVerificationRunsResponse as WebScannerVerificationRunsResponse,
1659
1752
  type WebScannerFindingsResponse as WebScannerFindingsResponse,
1660
1753
  type WebScannerCookiesResponse as WebScannerCookiesResponse,
1661
1754
  type WebScannerSummaryResponse as WebScannerSummaryResponse,
1662
1755
  type WebScannerCreateParams as WebScannerCreateParams,
1663
1756
  type WebScannerUpdateParams as WebScannerUpdateParams,
1757
+ type WebScannerAuthenticatedScanParams as WebScannerAuthenticatedScanParams,
1758
+ type WebScannerTargetedScanParams as WebScannerTargetedScanParams,
1759
+ type WebScannerVerificationRunParams as WebScannerVerificationRunParams,
1760
+ type WebScannerVerificationRunsParams as WebScannerVerificationRunsParams,
1664
1761
  type WebScannerFindingsParams as WebScannerFindingsParams,
1665
1762
  type WebScannerCookiesParams as WebScannerCookiesParams,
1666
1763
  type WebScannerSummaryParams as WebScannerSummaryParams,
@@ -474,7 +474,7 @@ export interface AttributionConversionParams {
474
474
  /**
475
475
  * Attribution model to apply to multi-touch conversion paths.
476
476
  */
477
- attributionModel: 'FIRST_TOUCH' | 'LAST_TOUCH' | 'LINEAR' | 'POSITION_BASED';
477
+ attributionModel: 'FIRST_TOUCH' | 'LAST_TOUCH' | 'LINEAR' | 'U_SHAPED' | 'J_SHAPED' | 'TIME_DECAY';
478
478
 
479
479
  /**
480
480
  * Conversion event to attribute. Must be a selectable conversion event.
@@ -545,10 +545,20 @@ export interface AttributionAudienceConversionParams {
545
545
  */
546
546
  attributionWindow?: string;
547
547
 
548
+ /**
549
+ * Exclude bot sessions. Defaults to `true`.
550
+ */
551
+ excludeBots?: 'true' | 'false';
552
+
548
553
  /**
549
554
  * Event property to sum as conversion value.
550
555
  */
551
556
  valueProperty?: string;
557
+
558
+ /**
559
+ * Filter results to a specific web source by its UUID.
560
+ */
561
+ webSourceId?: string;
552
562
  }
553
563
 
554
564
  export interface AttributionUtmComparisonParams {
@@ -396,6 +396,13 @@ export namespace ConsentSettingListResponse {
396
396
  * overlap with another rule's regions.
397
397
  */
398
398
  additionalRegions?: Array<string> | null;
399
+
400
+ /**
401
+ * Optional label for this override group, e.g. "CCPA States". Shown in the
402
+ * dashboard instead of the region codes. Pass null to clear it and fall back to
403
+ * the codes.
404
+ */
405
+ name?: string | null;
399
406
  }
400
407
 
401
408
  export namespace Region {
@@ -829,6 +836,13 @@ export namespace ConsentSettingCreateResponse {
829
836
  * overlap with another rule's regions.
830
837
  */
831
838
  additionalRegions?: Array<string> | null;
839
+
840
+ /**
841
+ * Optional label for this override group, e.g. "CCPA States". Shown in the
842
+ * dashboard instead of the region codes. Pass null to clear it and fall back to
843
+ * the codes.
844
+ */
845
+ name?: string | null;
832
846
  }
833
847
 
834
848
  export namespace Region {
@@ -1261,6 +1275,13 @@ export namespace ConsentSettingRetrieveResponse {
1261
1275
  * overlap with another rule's regions.
1262
1276
  */
1263
1277
  additionalRegions?: Array<string> | null;
1278
+
1279
+ /**
1280
+ * Optional label for this override group, e.g. "CCPA States". Shown in the
1281
+ * dashboard instead of the region codes. Pass null to clear it and fall back to
1282
+ * the codes.
1283
+ */
1284
+ name?: string | null;
1264
1285
  }
1265
1286
 
1266
1287
  export namespace Region {
@@ -1693,6 +1714,13 @@ export namespace ConsentSettingReplaceResponse {
1693
1714
  * overlap with another rule's regions.
1694
1715
  */
1695
1716
  additionalRegions?: Array<string> | null;
1717
+
1718
+ /**
1719
+ * Optional label for this override group, e.g. "CCPA States". Shown in the
1720
+ * dashboard instead of the region codes. Pass null to clear it and fall back to
1721
+ * the codes.
1722
+ */
1723
+ name?: string | null;
1696
1724
  }
1697
1725
 
1698
1726
  export namespace Region {
@@ -2125,6 +2153,13 @@ export namespace ConsentSettingUpdateResponse {
2125
2153
  * overlap with another rule's regions.
2126
2154
  */
2127
2155
  additionalRegions?: Array<string> | null;
2156
+
2157
+ /**
2158
+ * Optional label for this override group, e.g. "CCPA States". Shown in the
2159
+ * dashboard instead of the region codes. Pass null to clear it and fall back to
2160
+ * the codes.
2161
+ */
2162
+ name?: string | null;
2128
2163
  }
2129
2164
 
2130
2165
  export namespace Region {
@@ -2557,6 +2592,13 @@ export namespace ConsentSettingDeleteResponse {
2557
2592
  * overlap with another rule's regions.
2558
2593
  */
2559
2594
  additionalRegions?: Array<string> | null;
2595
+
2596
+ /**
2597
+ * Optional label for this override group, e.g. "CCPA States". Shown in the
2598
+ * dashboard instead of the region codes. Pass null to clear it and fall back to
2599
+ * the codes.
2600
+ */
2601
+ name?: string | null;
2560
2602
  }
2561
2603
 
2562
2604
  export namespace Region {
@@ -3072,6 +3114,13 @@ export namespace ConsentSettingReplaceParams {
3072
3114
  * overlap with another rule's regions.
3073
3115
  */
3074
3116
  additionalRegions?: Array<string> | null;
3117
+
3118
+ /**
3119
+ * Optional label for this override group, e.g. "CCPA States". Shown in the
3120
+ * dashboard instead of the region codes. Pass null to clear it and fall back to
3121
+ * the codes.
3122
+ */
3123
+ name?: string | null;
3075
3124
  }
3076
3125
 
3077
3126
  export namespace Region {
@@ -3476,6 +3525,13 @@ export namespace ConsentSettingUpdateParams {
3476
3525
  * overlap with another rule's regions.
3477
3526
  */
3478
3527
  additionalRegions?: Array<string> | null;
3528
+
3529
+ /**
3530
+ * Optional label for this override group, e.g. "CCPA States". Shown in the
3531
+ * dashboard instead of the region codes. Pass null to clear it and fall back to
3532
+ * the codes.
3533
+ */
3534
+ name?: string | null;
3479
3535
  }
3480
3536
 
3481
3537
  export namespace Region {
@@ -12,6 +12,14 @@ export class ConversionJourneySummaries extends APIResource {
12
12
  * first. Supports cursor pagination. Each result contains the conversion event,
13
13
  * analysis window, attribution window, filters, and bot/source settings needed to
14
14
  * reopen the saved analysis. Requires scope: web-analytics:view
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * // Automatically fetches more pages as needed.
19
+ * for await (const conversionJourneySummaryListResponse of client.conversionJourneySummaries.list()) {
20
+ * // ...
21
+ * }
22
+ * ```
15
23
  */
16
24
  list(
17
25
  query: ConversionJourneySummaryListParams | null | undefined = {},
@@ -28,6 +36,18 @@ export class ConversionJourneySummaries extends APIResource {
28
36
  * Save a named Conversion Journey Summary configuration. Returns the full saved
29
37
  * summary so callers can reopen the same analysis without a follow-up request.
30
38
  * Each account can save up to 100 summaries. Requires scope: web-analytics:write
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const conversionJourneySummary =
43
+ * await client.conversionJourneySummaries.create({
44
+ * dateFrom: '2026-06-01',
45
+ * dateTo: '2026-06-30',
46
+ * eventName: 'x',
47
+ * name: 'x',
48
+ * windowDays: 1,
49
+ * });
50
+ * ```
31
51
  */
32
52
  create(
33
53
  body: ConversionJourneySummaryCreateParams,
@@ -39,6 +59,12 @@ export class ConversionJourneySummaries extends APIResource {
39
59
  /**
40
60
  * Fetch a saved Conversion Journey Summary by its id. Returns 404 when it does not
41
61
  * exist. Requires scope: web-analytics:view
62
+ *
63
+ * @example
64
+ * ```ts
65
+ * const conversionJourneySummary =
66
+ * await client.conversionJourneySummaries.retrieve('id');
67
+ * ```
42
68
  */
43
69
  retrieve(id: string, options?: RequestOptions): APIPromise<ConversionJourneySummaryRetrieveResponse> {
44
70
  return this._client.get(path`/rest/v1/conversion-journey-summaries/${id}`, options);
@@ -49,6 +75,12 @@ export class ConversionJourneySummaries extends APIResource {
49
75
  * remain unchanged. When provided, `filters` replaces the complete saved filter
50
76
  * list. Send `null` for `webSourceId` or `excludeBots` to clear that optional
51
77
  * setting. Requires scope: web-analytics:write
78
+ *
79
+ * @example
80
+ * ```ts
81
+ * const conversionJourneySummary =
82
+ * await client.conversionJourneySummaries.update('id');
83
+ * ```
52
84
  */
53
85
  update(
54
86
  id: string,
@@ -61,6 +93,12 @@ export class ConversionJourneySummaries extends APIResource {
61
93
  /**
62
94
  * Delete a saved Conversion Journey Summary. The underlying analytics data is
63
95
  * unaffected. Requires scope: web-analytics:write
96
+ *
97
+ * @example
98
+ * ```ts
99
+ * const conversionJourneySummary =
100
+ * await client.conversionJourneySummaries.delete('id');
101
+ * ```
64
102
  */
65
103
  delete(id: string, options?: RequestOptions): APIPromise<ConversionJourneySummaryDeleteResponse> {
66
104
  return this._client.delete(path`/rest/v1/conversion-journey-summaries/${id}`, options);
@@ -200,7 +200,7 @@ export namespace DataGovernanceListResponse {
200
200
  */
201
201
  AND?: Array<unknown> | null;
202
202
 
203
- condition?: Logic.Condition;
203
+ condition?: Logic.Condition | null;
204
204
 
205
205
  /**
206
206
  * Negates a single child logic node.
@@ -395,7 +395,7 @@ export namespace DataGovernanceCreateResponse {
395
395
  */
396
396
  AND?: Array<unknown> | null;
397
397
 
398
- condition?: Logic.Condition;
398
+ condition?: Logic.Condition | null;
399
399
 
400
400
  /**
401
401
  * Negates a single child logic node.
@@ -590,7 +590,7 @@ export namespace DataGovernanceRetrieveResponse {
590
590
  */
591
591
  AND?: Array<unknown> | null;
592
592
 
593
- condition?: Logic.Condition;
593
+ condition?: Logic.Condition | null;
594
594
 
595
595
  /**
596
596
  * Negates a single child logic node.
@@ -785,7 +785,7 @@ export namespace DataGovernanceUpdateResponse {
785
785
  */
786
786
  AND?: Array<unknown> | null;
787
787
 
788
- condition?: Logic.Condition;
788
+ condition?: Logic.Condition | null;
789
789
 
790
790
  /**
791
791
  * Negates a single child logic node.
@@ -997,7 +997,7 @@ export namespace DataGovernanceUpdateParams {
997
997
  */
998
998
  AND?: Array<unknown> | null;
999
999
 
1000
- condition?: Logic.Condition;
1000
+ condition?: Logic.Condition | null;
1001
1001
 
1002
1002
  /**
1003
1003
  * Negates a single child logic node.