@oursprivacy/platform-sdk 1.45.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 (178) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +25 -13
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +25 -13
  5. package/client.d.ts.map +1 -1
  6. package/client.js +14 -2
  7. package/client.js.map +1 -1
  8. package/client.mjs +14 -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 +10 -6
  64. package/resources/index.d.mts.map +1 -1
  65. package/resources/index.d.ts +10 -6
  66. package/resources/index.d.ts.map +1 -1
  67. package/resources/index.js +9 -1
  68. package/resources/index.js.map +1 -1
  69. package/resources/index.mjs +4 -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/personalization-properties.d.mts +547 -0
  76. package/resources/personalization-properties.d.mts.map +1 -0
  77. package/resources/personalization-properties.d.ts +547 -0
  78. package/resources/personalization-properties.d.ts.map +1 -0
  79. package/resources/personalization-properties.js +100 -0
  80. package/resources/personalization-properties.js.map +1 -0
  81. package/resources/personalization-properties.mjs +96 -0
  82. package/resources/personalization-properties.mjs.map +1 -0
  83. package/resources/session-replays.d.mts +91 -0
  84. package/resources/session-replays.d.mts.map +1 -0
  85. package/resources/session-replays.d.ts +91 -0
  86. package/resources/session-replays.d.ts.map +1 -0
  87. package/resources/session-replays.js +24 -0
  88. package/resources/session-replays.js.map +1 -0
  89. package/resources/session-replays.mjs +20 -0
  90. package/resources/session-replays.mjs.map +1 -0
  91. package/resources/short-links.d.mts +138 -37
  92. package/resources/short-links.d.mts.map +1 -1
  93. package/resources/short-links.d.ts +138 -37
  94. package/resources/short-links.d.ts.map +1 -1
  95. package/resources/short-links.js +27 -12
  96. package/resources/short-links.js.map +1 -1
  97. package/resources/short-links.mjs +27 -12
  98. package/resources/short-links.mjs.map +1 -1
  99. package/resources/sources.d.mts +10 -6
  100. package/resources/sources.d.mts.map +1 -1
  101. package/resources/sources.d.ts +10 -6
  102. package/resources/sources.d.ts.map +1 -1
  103. package/resources/tag-manager-tags.d.mts +2 -2
  104. package/resources/tag-manager-tags.d.ts +2 -2
  105. package/resources/tag-manager-tags.js +2 -2
  106. package/resources/tag-manager-tags.mjs +2 -2
  107. package/resources/tag-manager-triggers.d.mts +18 -1
  108. package/resources/tag-manager-triggers.d.mts.map +1 -1
  109. package/resources/tag-manager-triggers.d.ts +18 -1
  110. package/resources/tag-manager-triggers.d.ts.map +1 -1
  111. package/resources/translation-widgets.d.mts +62 -0
  112. package/resources/translation-widgets.d.mts.map +1 -0
  113. package/resources/translation-widgets.d.ts +62 -0
  114. package/resources/translation-widgets.d.ts.map +1 -0
  115. package/resources/translation-widgets.js +18 -0
  116. package/resources/translation-widgets.js.map +1 -0
  117. package/resources/translation-widgets.mjs +14 -0
  118. package/resources/translation-widgets.mjs.map +1 -0
  119. package/resources/versions.d.mts +52 -1
  120. package/resources/versions.d.mts.map +1 -1
  121. package/resources/versions.d.ts +52 -1
  122. package/resources/versions.d.ts.map +1 -1
  123. package/resources/versions.js +20 -0
  124. package/resources/versions.js.map +1 -1
  125. package/resources/versions.mjs +20 -0
  126. package/resources/versions.mjs.map +1 -1
  127. package/resources/video-channels.d.mts +17 -17
  128. package/resources/video-channels.d.mts.map +1 -1
  129. package/resources/video-channels.d.ts +17 -17
  130. package/resources/video-channels.d.ts.map +1 -1
  131. package/resources/video-channels.js +17 -16
  132. package/resources/video-channels.js.map +1 -1
  133. package/resources/video-channels.mjs +17 -16
  134. package/resources/video-channels.mjs.map +1 -1
  135. package/resources/web-analytics.d.mts +345 -0
  136. package/resources/web-analytics.d.mts.map +1 -0
  137. package/resources/web-analytics.d.ts +345 -0
  138. package/resources/web-analytics.d.ts.map +1 -0
  139. package/resources/web-analytics.js +61 -0
  140. package/resources/web-analytics.js.map +1 -0
  141. package/resources/web-analytics.mjs +57 -0
  142. package/resources/web-analytics.mjs.map +1 -0
  143. package/resources/web-scanners.d.mts +314 -14
  144. package/resources/web-scanners.d.mts.map +1 -1
  145. package/resources/web-scanners.d.ts +314 -14
  146. package/resources/web-scanners.d.ts.map +1 -1
  147. package/resources/web-scanners.js +139 -13
  148. package/resources/web-scanners.js.map +1 -1
  149. package/resources/web-scanners.mjs +139 -13
  150. package/resources/web-scanners.mjs.map +1 -1
  151. package/src/client.ts +147 -19
  152. package/src/resources/attribution.ts +11 -1
  153. package/src/resources/consent-settings.ts +56 -0
  154. package/src/resources/conversion-journey-summaries.ts +38 -0
  155. package/src/resources/data-governance.ts +5 -5
  156. package/src/resources/destinations.ts +18 -115
  157. package/src/resources/experiment-variants.ts +4 -2
  158. package/src/resources/experiments.ts +812 -101
  159. package/src/resources/funnels.ts +276 -21
  160. package/src/resources/heatmap-pages.ts +49 -14
  161. package/src/resources/index.ts +61 -3
  162. package/src/resources/mappings.ts +2 -2
  163. package/src/resources/personalization-properties.ts +662 -0
  164. package/src/resources/session-replays.ts +138 -0
  165. package/src/resources/short-links.ts +164 -36
  166. package/src/resources/sources.ts +11 -0
  167. package/src/resources/tag-manager-tags.ts +2 -2
  168. package/src/resources/tag-manager-triggers.ts +18 -1
  169. package/src/resources/translation-widgets.ts +97 -0
  170. package/src/resources/versions.ts +95 -0
  171. package/src/resources/video-channels.ts +19 -18
  172. package/src/resources/web-analytics.ts +494 -0
  173. package/src/resources/web-scanners.ts +443 -13
  174. package/src/version.ts +1 -1
  175. package/version.d.mts +1 -1
  176. package/version.d.ts +1 -1
  177. package/version.js +1 -1
  178. 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,
@@ -223,6 +227,18 @@ import {
223
227
  MappingUpdateResponse,
224
228
  Mappings,
225
229
  } from './resources/mappings';
230
+ import {
231
+ PersonalizationProperties,
232
+ PersonalizationPropertyCreateParams,
233
+ PersonalizationPropertyCreateResponse,
234
+ PersonalizationPropertyDeleteResponse,
235
+ PersonalizationPropertyListParams,
236
+ PersonalizationPropertyListResponse,
237
+ PersonalizationPropertyListResponsesCursor,
238
+ PersonalizationPropertyRetrieveResponse,
239
+ PersonalizationPropertyUpdateParams,
240
+ PersonalizationPropertyUpdateResponse,
241
+ } from './resources/personalization-properties';
226
242
  import {
227
243
  ReplaySettingCreateParams,
228
244
  ReplaySettingCreateResponse,
@@ -236,6 +252,14 @@ import {
236
252
  ReplaySettings,
237
253
  } from './resources/replay-settings';
238
254
  import {
255
+ SessionReplayListParams,
256
+ SessionReplayListResponse,
257
+ SessionReplayOverviewParams,
258
+ SessionReplayOverviewResponse,
259
+ SessionReplays,
260
+ } from './resources/session-replays';
261
+ import {
262
+ ShortLinkCloneResponse,
239
263
  ShortLinkCreateParams,
240
264
  ShortLinkCreateResponse,
241
265
  ShortLinkDeleteResponse,
@@ -328,6 +352,11 @@ import {
328
352
  TagManagerUpdateResponse,
329
353
  TagManagers,
330
354
  } from './resources/tag-managers';
355
+ import {
356
+ TranslationWidgetAnalyticsParams,
357
+ TranslationWidgetAnalyticsResponse,
358
+ TranslationWidgets,
359
+ } from './resources/translation-widgets';
331
360
  import {
332
361
  VersionAbandonResponse,
333
362
  VersionCreateParams,
@@ -342,6 +371,8 @@ import {
342
371
  VersionRevertParams,
343
372
  VersionRevertResponse,
344
373
  VersionSnapshotResponse,
374
+ VersionStatusParams,
375
+ VersionStatusResponse,
345
376
  VersionUpdateParams,
346
377
  VersionUpdateResponse,
347
378
  Versions,
@@ -382,8 +413,27 @@ import {
382
413
  VideoUpdateResponse,
383
414
  VideoUpdateTranscriptParams,
384
415
  VideoUpdateTranscriptResponse,
416
+ VideoUploadParams,
417
+ VideoUploadResponse,
385
418
  Videos,
386
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';
387
437
  import {
388
438
  WebScannerRuleCreateParams,
389
439
  WebScannerRuleCreateResponse,
@@ -396,6 +446,8 @@ import {
396
446
  WebScannerRules,
397
447
  } from './resources/web-scanner-rules';
398
448
  import {
449
+ WebScannerAuthenticatedScanParams,
450
+ WebScannerAuthenticatedScanResponse,
399
451
  WebScannerCookiesParams,
400
452
  WebScannerCookiesResponse,
401
453
  WebScannerCreateParams,
@@ -407,9 +459,15 @@ import {
407
459
  WebScannerRetrieveResponse,
408
460
  WebScannerSummaryParams,
409
461
  WebScannerSummaryResponse,
462
+ WebScannerTargetedScanParams,
463
+ WebScannerTargetedScanResponse,
410
464
  WebScannerTriggerResponse,
411
465
  WebScannerUpdateParams,
412
466
  WebScannerUpdateResponse,
467
+ WebScannerVerificationRunParams,
468
+ WebScannerVerificationRunResponse,
469
+ WebScannerVerificationRunsParams,
470
+ WebScannerVerificationRunsResponse,
413
471
  WebScanners,
414
472
  } from './resources/web-scanners';
415
473
  import { type Fetch } from './internal/builtin-types';
@@ -1173,6 +1231,7 @@ export class OursPrivacyPlatform {
1173
1231
  locations: API.Locations = new API.Locations(this);
1174
1232
  mappings: API.Mappings = new API.Mappings(this);
1175
1233
  replaySettings: API.ReplaySettings = new API.ReplaySettings(this);
1234
+ sessionReplays: API.SessionReplays = new API.SessionReplays(this);
1176
1235
  shortLinks: API.ShortLinks = new API.ShortLinks(this);
1177
1236
  sources: API.Sources = new API.Sources(this);
1178
1237
  tagManagers: API.TagManagers = new API.TagManagers(this);
@@ -1181,11 +1240,14 @@ export class OursPrivacyPlatform {
1181
1240
  tagManagerVariables: API.TagManagerVariables = new API.TagManagerVariables(this);
1182
1241
  tagManagerFolders: API.TagManagerFolders = new API.TagManagerFolders(this);
1183
1242
  tagManagerAssetFolders: API.TagManagerAssetFolders = new API.TagManagerAssetFolders(this);
1243
+ translationWidgets: API.TranslationWidgets = new API.TranslationWidgets(this);
1184
1244
  versions: API.Versions = new API.Versions(this);
1185
- videoChannels: API.VideoChannels = new API.VideoChannels(this);
1186
1245
  videos: API.Videos = new API.Videos(this);
1246
+ videoChannels: API.VideoChannels = new API.VideoChannels(this);
1247
+ webAnalytics: API.WebAnalytics = new API.WebAnalytics(this);
1187
1248
  webScannerRules: API.WebScannerRules = new API.WebScannerRules(this);
1188
1249
  webScanners: API.WebScanners = new API.WebScanners(this);
1250
+ personalizationProperties: API.PersonalizationProperties = new API.PersonalizationProperties(this);
1189
1251
  }
1190
1252
 
1191
1253
  OursPrivacyPlatform.AllowedEvents = AllowedEvents;
@@ -1205,6 +1267,7 @@ OursPrivacyPlatform.HeatmapPages = HeatmapPages;
1205
1267
  OursPrivacyPlatform.Locations = Locations;
1206
1268
  OursPrivacyPlatform.Mappings = Mappings;
1207
1269
  OursPrivacyPlatform.ReplaySettings = ReplaySettings;
1270
+ OursPrivacyPlatform.SessionReplays = SessionReplays;
1208
1271
  OursPrivacyPlatform.ShortLinks = ShortLinks;
1209
1272
  OursPrivacyPlatform.Sources = Sources;
1210
1273
  OursPrivacyPlatform.TagManagers = TagManagers;
@@ -1213,11 +1276,14 @@ OursPrivacyPlatform.TagManagerTriggers = TagManagerTriggers;
1213
1276
  OursPrivacyPlatform.TagManagerVariables = TagManagerVariables;
1214
1277
  OursPrivacyPlatform.TagManagerFolders = TagManagerFolders;
1215
1278
  OursPrivacyPlatform.TagManagerAssetFolders = TagManagerAssetFolders;
1279
+ OursPrivacyPlatform.TranslationWidgets = TranslationWidgets;
1216
1280
  OursPrivacyPlatform.Versions = Versions;
1217
- OursPrivacyPlatform.VideoChannels = VideoChannels;
1218
1281
  OursPrivacyPlatform.Videos = Videos;
1282
+ OursPrivacyPlatform.VideoChannels = VideoChannels;
1283
+ OursPrivacyPlatform.WebAnalytics = WebAnalytics;
1219
1284
  OursPrivacyPlatform.WebScannerRules = WebScannerRules;
1220
1285
  OursPrivacyPlatform.WebScanners = WebScanners;
1286
+ OursPrivacyPlatform.PersonalizationProperties = PersonalizationProperties;
1221
1287
 
1222
1288
  export declare namespace OursPrivacyPlatform {
1223
1289
  export type RequestOptions = Opts.RequestOptions;
@@ -1367,6 +1433,7 @@ export declare namespace OursPrivacyPlatform {
1367
1433
  type ExperimentRetrieveResponse as ExperimentRetrieveResponse,
1368
1434
  type ExperimentUpdateResponse as ExperimentUpdateResponse,
1369
1435
  type ExperimentDeleteResponse as ExperimentDeleteResponse,
1436
+ type ExperimentDuplicateResponse as ExperimentDuplicateResponse,
1370
1437
  type ExperimentStartResponse as ExperimentStartResponse,
1371
1438
  type ExperimentStopResponse as ExperimentStopResponse,
1372
1439
  type ExperimentRolloutResponse as ExperimentRolloutResponse,
@@ -1375,6 +1442,7 @@ export declare namespace OursPrivacyPlatform {
1375
1442
  type ExperimentPauseResponse as ExperimentPauseResponse,
1376
1443
  type ExperimentResumeResponse as ExperimentResumeResponse,
1377
1444
  type ExperimentResultsResponse as ExperimentResultsResponse,
1445
+ type ExperimentAnalysisResponse as ExperimentAnalysisResponse,
1378
1446
  type ExperimentResultsTimeSeriesResponse as ExperimentResultsTimeSeriesResponse,
1379
1447
  type ExperimentSessionReplaysResponse as ExperimentSessionReplaysResponse,
1380
1448
  type ExperimentListResponsesCursor as ExperimentListResponsesCursor,
@@ -1388,6 +1456,7 @@ export declare namespace OursPrivacyPlatform {
1388
1456
  type ExperimentPauseParams as ExperimentPauseParams,
1389
1457
  type ExperimentResumeParams as ExperimentResumeParams,
1390
1458
  type ExperimentResultsParams as ExperimentResultsParams,
1459
+ type ExperimentAnalysisParams as ExperimentAnalysisParams,
1391
1460
  type ExperimentResultsTimeSeriesParams as ExperimentResultsTimeSeriesParams,
1392
1461
  type ExperimentSessionReplaysParams as ExperimentSessionReplaysParams,
1393
1462
  };
@@ -1399,6 +1468,7 @@ export declare namespace OursPrivacyPlatform {
1399
1468
  type FunnelRetrieveResponse as FunnelRetrieveResponse,
1400
1469
  type FunnelUpdateResponse as FunnelUpdateResponse,
1401
1470
  type FunnelDeleteResponse as FunnelDeleteResponse,
1471
+ type FunnelDuplicateResponse as FunnelDuplicateResponse,
1402
1472
  type FunnelResultsResponse as FunnelResultsResponse,
1403
1473
  type FunnelCreateParams as FunnelCreateParams,
1404
1474
  type FunnelUpdateParams as FunnelUpdateParams,
@@ -1458,6 +1528,14 @@ export declare namespace OursPrivacyPlatform {
1458
1528
  type ReplaySettingUpdateParams as ReplaySettingUpdateParams,
1459
1529
  };
1460
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
+
1461
1539
  export {
1462
1540
  ShortLinks as ShortLinks,
1463
1541
  type ShortLinkListResponse as ShortLinkListResponse,
@@ -1465,6 +1543,7 @@ export declare namespace OursPrivacyPlatform {
1465
1543
  type ShortLinkRetrieveResponse as ShortLinkRetrieveResponse,
1466
1544
  type ShortLinkUpdateResponse as ShortLinkUpdateResponse,
1467
1545
  type ShortLinkDeleteResponse as ShortLinkDeleteResponse,
1546
+ type ShortLinkCloneResponse as ShortLinkCloneResponse,
1468
1547
  type ShortLinkResultsResponse as ShortLinkResultsResponse,
1469
1548
  type ShortLinkListResponsesCursor as ShortLinkListResponsesCursor,
1470
1549
  type ShortLinkListParams as ShortLinkListParams,
@@ -1559,6 +1638,12 @@ export declare namespace OursPrivacyPlatform {
1559
1638
  type TagManagerAssetFolderCreateParams as TagManagerAssetFolderCreateParams,
1560
1639
  };
1561
1640
 
1641
+ export {
1642
+ TranslationWidgets as TranslationWidgets,
1643
+ type TranslationWidgetAnalyticsResponse as TranslationWidgetAnalyticsResponse,
1644
+ type TranslationWidgetAnalyticsParams as TranslationWidgetAnalyticsParams,
1645
+ };
1646
+
1562
1647
  export {
1563
1648
  Versions as Versions,
1564
1649
  type VersionListResponse as VersionListResponse,
@@ -1568,6 +1653,7 @@ export declare namespace OursPrivacyPlatform {
1568
1653
  type VersionPublishResponse as VersionPublishResponse,
1569
1654
  type VersionSnapshotResponse as VersionSnapshotResponse,
1570
1655
  type VersionDiffResponse as VersionDiffResponse,
1656
+ type VersionStatusResponse as VersionStatusResponse,
1571
1657
  type VersionRevertResponse as VersionRevertResponse,
1572
1658
  type VersionAbandonResponse as VersionAbandonResponse,
1573
1659
  type VersionListResponsesCursor as VersionListResponsesCursor,
@@ -1575,9 +1661,32 @@ export declare namespace OursPrivacyPlatform {
1575
1661
  type VersionCreateParams as VersionCreateParams,
1576
1662
  type VersionUpdateParams as VersionUpdateParams,
1577
1663
  type VersionDiffParams as VersionDiffParams,
1664
+ type VersionStatusParams as VersionStatusParams,
1578
1665
  type VersionRevertParams as VersionRevertParams,
1579
1666
  };
1580
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
+
1581
1690
  export {
1582
1691
  VideoChannels as VideoChannels,
1583
1692
  type VideoChannelListResponse as VideoChannelListResponse,
@@ -1599,23 +1708,21 @@ export declare namespace OursPrivacyPlatform {
1599
1708
  };
1600
1709
 
1601
1710
  export {
1602
- Videos as Videos,
1603
- type VideoListResponse as VideoListResponse,
1604
- type VideoCreateResponse as VideoCreateResponse,
1605
- type VideoRetrieveResponse as VideoRetrieveResponse,
1606
- type VideoUpdateResponse as VideoUpdateResponse,
1607
- type VideoDeleteResponse as VideoDeleteResponse,
1608
- type VideoAnalyticsResponse as VideoAnalyticsResponse,
1609
- type VideoAnalyticsTimeseriesResponse as VideoAnalyticsTimeseriesResponse,
1610
- type VideoTranscriptResponse as VideoTranscriptResponse,
1611
- type VideoUpdateTranscriptResponse as VideoUpdateTranscriptResponse,
1612
- type VideoListResponsesCursor as VideoListResponsesCursor,
1613
- type VideoListParams as VideoListParams,
1614
- type VideoCreateParams as VideoCreateParams,
1615
- type VideoUpdateParams as VideoUpdateParams,
1616
- type VideoAnalyticsParams as VideoAnalyticsParams,
1617
- type VideoAnalyticsTimeseriesParams as VideoAnalyticsTimeseriesParams,
1618
- 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,
1619
1726
  };
1620
1727
 
1621
1728
  export {
@@ -1638,13 +1745,34 @@ export declare namespace OursPrivacyPlatform {
1638
1745
  type WebScannerUpdateResponse as WebScannerUpdateResponse,
1639
1746
  type WebScannerDeleteResponse as WebScannerDeleteResponse,
1640
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,
1641
1752
  type WebScannerFindingsResponse as WebScannerFindingsResponse,
1642
1753
  type WebScannerCookiesResponse as WebScannerCookiesResponse,
1643
1754
  type WebScannerSummaryResponse as WebScannerSummaryResponse,
1644
1755
  type WebScannerCreateParams as WebScannerCreateParams,
1645
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,
1646
1761
  type WebScannerFindingsParams as WebScannerFindingsParams,
1647
1762
  type WebScannerCookiesParams as WebScannerCookiesParams,
1648
1763
  type WebScannerSummaryParams as WebScannerSummaryParams,
1649
1764
  };
1765
+
1766
+ export {
1767
+ PersonalizationProperties as PersonalizationProperties,
1768
+ type PersonalizationPropertyListResponse as PersonalizationPropertyListResponse,
1769
+ type PersonalizationPropertyCreateResponse as PersonalizationPropertyCreateResponse,
1770
+ type PersonalizationPropertyRetrieveResponse as PersonalizationPropertyRetrieveResponse,
1771
+ type PersonalizationPropertyUpdateResponse as PersonalizationPropertyUpdateResponse,
1772
+ type PersonalizationPropertyDeleteResponse as PersonalizationPropertyDeleteResponse,
1773
+ type PersonalizationPropertyListResponsesCursor as PersonalizationPropertyListResponsesCursor,
1774
+ type PersonalizationPropertyListParams as PersonalizationPropertyListParams,
1775
+ type PersonalizationPropertyCreateParams as PersonalizationPropertyCreateParams,
1776
+ type PersonalizationPropertyUpdateParams as PersonalizationPropertyUpdateParams,
1777
+ };
1650
1778
  }
@@ -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.