@oursprivacy/platform-sdk 1.46.0 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/client.d.mts +20 -11
- package/client.d.mts.map +1 -1
- package/client.d.ts +20 -11
- package/client.d.ts.map +1 -1
- package/client.js +11 -2
- package/client.js.map +1 -1
- package/client.mjs +11 -2
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/attribution.d.mts +9 -1
- package/resources/attribution.d.mts.map +1 -1
- package/resources/attribution.d.ts +9 -1
- package/resources/attribution.d.ts.map +1 -1
- package/resources/consent-settings.d.mts +48 -0
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +48 -0
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/conversion-journey-summaries.d.mts +38 -0
- package/resources/conversion-journey-summaries.d.mts.map +1 -1
- package/resources/conversion-journey-summaries.d.ts +38 -0
- package/resources/conversion-journey-summaries.d.ts.map +1 -1
- package/resources/conversion-journey-summaries.js +38 -0
- package/resources/conversion-journey-summaries.js.map +1 -1
- package/resources/conversion-journey-summaries.mjs +38 -0
- package/resources/conversion-journey-summaries.mjs.map +1 -1
- package/resources/data-governance.d.mts +5 -5
- package/resources/data-governance.d.mts.map +1 -1
- package/resources/data-governance.d.ts +5 -5
- package/resources/data-governance.d.ts.map +1 -1
- package/resources/destinations.d.mts +7 -27
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +7 -27
- package/resources/destinations.d.ts.map +1 -1
- package/resources/experiment-variants.d.mts +4 -2
- package/resources/experiment-variants.d.mts.map +1 -1
- package/resources/experiment-variants.d.ts +4 -2
- package/resources/experiment-variants.d.ts.map +1 -1
- package/resources/experiments.d.mts +677 -102
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +677 -102
- package/resources/experiments.d.ts.map +1 -1
- package/resources/experiments.js +32 -2
- package/resources/experiments.js.map +1 -1
- package/resources/experiments.mjs +32 -2
- package/resources/experiments.mjs.map +1 -1
- package/resources/funnels.d.mts +172 -22
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +172 -22
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +10 -2
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +10 -2
- package/resources/funnels.mjs.map +1 -1
- package/resources/heatmap-pages.d.mts +42 -14
- package/resources/heatmap-pages.d.mts.map +1 -1
- package/resources/heatmap-pages.d.ts +42 -14
- package/resources/heatmap-pages.d.ts.map +1 -1
- package/resources/heatmap-pages.js +11 -7
- package/resources/heatmap-pages.js.map +1 -1
- package/resources/heatmap-pages.mjs +11 -7
- package/resources/heatmap-pages.mjs.map +1 -1
- package/resources/index.d.mts +8 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/mappings.d.mts +2 -2
- package/resources/mappings.d.mts.map +1 -1
- package/resources/mappings.d.ts +2 -2
- package/resources/mappings.d.ts.map +1 -1
- package/resources/session-replays.d.mts +91 -0
- package/resources/session-replays.d.mts.map +1 -0
- package/resources/session-replays.d.ts +91 -0
- package/resources/session-replays.d.ts.map +1 -0
- package/resources/session-replays.js +24 -0
- package/resources/session-replays.js.map +1 -0
- package/resources/session-replays.mjs +20 -0
- package/resources/session-replays.mjs.map +1 -0
- package/resources/short-links.d.mts +138 -37
- package/resources/short-links.d.mts.map +1 -1
- package/resources/short-links.d.ts +138 -37
- package/resources/short-links.d.ts.map +1 -1
- package/resources/short-links.js +27 -12
- package/resources/short-links.js.map +1 -1
- package/resources/short-links.mjs +27 -12
- package/resources/short-links.mjs.map +1 -1
- package/resources/sources.d.mts +10 -6
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +10 -6
- package/resources/sources.d.ts.map +1 -1
- package/resources/tag-manager-tags.d.mts +2 -2
- package/resources/tag-manager-tags.d.ts +2 -2
- package/resources/tag-manager-tags.js +2 -2
- package/resources/tag-manager-tags.mjs +2 -2
- package/resources/tag-manager-triggers.d.mts +18 -1
- package/resources/tag-manager-triggers.d.mts.map +1 -1
- package/resources/tag-manager-triggers.d.ts +18 -1
- package/resources/tag-manager-triggers.d.ts.map +1 -1
- package/resources/translation-widgets.d.mts +355 -0
- package/resources/translation-widgets.d.mts.map +1 -0
- package/resources/translation-widgets.d.ts +355 -0
- package/resources/translation-widgets.d.ts.map +1 -0
- package/resources/translation-widgets.js +72 -0
- package/resources/translation-widgets.js.map +1 -0
- package/resources/translation-widgets.mjs +68 -0
- package/resources/translation-widgets.mjs.map +1 -0
- package/resources/video-channels.d.mts +17 -17
- package/resources/video-channels.d.mts.map +1 -1
- package/resources/video-channels.d.ts +17 -17
- package/resources/video-channels.d.ts.map +1 -1
- package/resources/video-channels.js +17 -16
- package/resources/video-channels.js.map +1 -1
- package/resources/video-channels.mjs +17 -16
- package/resources/video-channels.mjs.map +1 -1
- package/resources/web-analytics.d.mts +345 -0
- package/resources/web-analytics.d.mts.map +1 -0
- package/resources/web-analytics.d.ts +345 -0
- package/resources/web-analytics.d.ts.map +1 -0
- package/resources/web-analytics.js +61 -0
- package/resources/web-analytics.js.map +1 -0
- package/resources/web-analytics.mjs +57 -0
- package/resources/web-analytics.mjs.map +1 -0
- package/resources/web-scanners.d.mts +314 -14
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +314 -14
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +139 -13
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +139 -13
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +124 -19
- package/src/resources/attribution.ts +11 -1
- package/src/resources/consent-settings.ts +56 -0
- package/src/resources/conversion-journey-summaries.ts +38 -0
- package/src/resources/data-governance.ts +5 -5
- package/src/resources/destinations.ts +18 -115
- package/src/resources/experiment-variants.ts +4 -2
- package/src/resources/experiments.ts +812 -101
- package/src/resources/funnels.ts +276 -21
- package/src/resources/heatmap-pages.ts +49 -14
- package/src/resources/index.ts +51 -3
- package/src/resources/mappings.ts +2 -2
- package/src/resources/session-replays.ts +138 -0
- package/src/resources/short-links.ts +164 -36
- package/src/resources/sources.ts +11 -0
- package/src/resources/tag-manager-tags.ts +2 -2
- package/src/resources/tag-manager-triggers.ts +18 -1
- package/src/resources/translation-widgets.ts +528 -0
- package/src/resources/video-channels.ts +19 -18
- package/src/resources/web-analytics.ts +494 -0
- package/src/resources/web-scanners.ts +443 -13
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- 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,15 @@ import {
|
|
|
340
352
|
TagManagerUpdateResponse,
|
|
341
353
|
TagManagers,
|
|
342
354
|
} from './resources/tag-managers';
|
|
355
|
+
import {
|
|
356
|
+
TranslationWidgetAnalyticsParams,
|
|
357
|
+
TranslationWidgetAnalyticsResponse,
|
|
358
|
+
TranslationWidgetCreateParams,
|
|
359
|
+
TranslationWidgetCreateResponse,
|
|
360
|
+
TranslationWidgetListResponse,
|
|
361
|
+
TranslationWidgetRetrieveResponse,
|
|
362
|
+
TranslationWidgets,
|
|
363
|
+
} from './resources/translation-widgets';
|
|
343
364
|
import {
|
|
344
365
|
VersionAbandonResponse,
|
|
345
366
|
VersionCreateParams,
|
|
@@ -396,8 +417,27 @@ import {
|
|
|
396
417
|
VideoUpdateResponse,
|
|
397
418
|
VideoUpdateTranscriptParams,
|
|
398
419
|
VideoUpdateTranscriptResponse,
|
|
420
|
+
VideoUploadParams,
|
|
421
|
+
VideoUploadResponse,
|
|
399
422
|
Videos,
|
|
400
423
|
} from './resources/videos';
|
|
424
|
+
import {
|
|
425
|
+
WebAnalytics,
|
|
426
|
+
WebAnalyticsCurrentVisitorsParams,
|
|
427
|
+
WebAnalyticsCurrentVisitorsResponse,
|
|
428
|
+
WebAnalyticsDevicesParams,
|
|
429
|
+
WebAnalyticsDevicesResponse,
|
|
430
|
+
WebAnalyticsJourneyParams,
|
|
431
|
+
WebAnalyticsJourneyResponse,
|
|
432
|
+
WebAnalyticsLocationsParams,
|
|
433
|
+
WebAnalyticsLocationsResponse,
|
|
434
|
+
WebAnalyticsOverviewParams,
|
|
435
|
+
WebAnalyticsOverviewResponse,
|
|
436
|
+
WebAnalyticsPagesParams,
|
|
437
|
+
WebAnalyticsPagesResponse,
|
|
438
|
+
WebAnalyticsSourcesParams,
|
|
439
|
+
WebAnalyticsSourcesResponse,
|
|
440
|
+
} from './resources/web-analytics';
|
|
401
441
|
import {
|
|
402
442
|
WebScannerRuleCreateParams,
|
|
403
443
|
WebScannerRuleCreateResponse,
|
|
@@ -410,6 +450,8 @@ import {
|
|
|
410
450
|
WebScannerRules,
|
|
411
451
|
} from './resources/web-scanner-rules';
|
|
412
452
|
import {
|
|
453
|
+
WebScannerAuthenticatedScanParams,
|
|
454
|
+
WebScannerAuthenticatedScanResponse,
|
|
413
455
|
WebScannerCookiesParams,
|
|
414
456
|
WebScannerCookiesResponse,
|
|
415
457
|
WebScannerCreateParams,
|
|
@@ -421,9 +463,15 @@ import {
|
|
|
421
463
|
WebScannerRetrieveResponse,
|
|
422
464
|
WebScannerSummaryParams,
|
|
423
465
|
WebScannerSummaryResponse,
|
|
466
|
+
WebScannerTargetedScanParams,
|
|
467
|
+
WebScannerTargetedScanResponse,
|
|
424
468
|
WebScannerTriggerResponse,
|
|
425
469
|
WebScannerUpdateParams,
|
|
426
470
|
WebScannerUpdateResponse,
|
|
471
|
+
WebScannerVerificationRunParams,
|
|
472
|
+
WebScannerVerificationRunResponse,
|
|
473
|
+
WebScannerVerificationRunsParams,
|
|
474
|
+
WebScannerVerificationRunsResponse,
|
|
427
475
|
WebScanners,
|
|
428
476
|
} from './resources/web-scanners';
|
|
429
477
|
import { type Fetch } from './internal/builtin-types';
|
|
@@ -1187,6 +1235,7 @@ export class OursPrivacyPlatform {
|
|
|
1187
1235
|
locations: API.Locations = new API.Locations(this);
|
|
1188
1236
|
mappings: API.Mappings = new API.Mappings(this);
|
|
1189
1237
|
replaySettings: API.ReplaySettings = new API.ReplaySettings(this);
|
|
1238
|
+
sessionReplays: API.SessionReplays = new API.SessionReplays(this);
|
|
1190
1239
|
shortLinks: API.ShortLinks = new API.ShortLinks(this);
|
|
1191
1240
|
sources: API.Sources = new API.Sources(this);
|
|
1192
1241
|
tagManagers: API.TagManagers = new API.TagManagers(this);
|
|
@@ -1195,9 +1244,11 @@ export class OursPrivacyPlatform {
|
|
|
1195
1244
|
tagManagerVariables: API.TagManagerVariables = new API.TagManagerVariables(this);
|
|
1196
1245
|
tagManagerFolders: API.TagManagerFolders = new API.TagManagerFolders(this);
|
|
1197
1246
|
tagManagerAssetFolders: API.TagManagerAssetFolders = new API.TagManagerAssetFolders(this);
|
|
1247
|
+
translationWidgets: API.TranslationWidgets = new API.TranslationWidgets(this);
|
|
1198
1248
|
versions: API.Versions = new API.Versions(this);
|
|
1199
|
-
videoChannels: API.VideoChannels = new API.VideoChannels(this);
|
|
1200
1249
|
videos: API.Videos = new API.Videos(this);
|
|
1250
|
+
videoChannels: API.VideoChannels = new API.VideoChannels(this);
|
|
1251
|
+
webAnalytics: API.WebAnalytics = new API.WebAnalytics(this);
|
|
1201
1252
|
webScannerRules: API.WebScannerRules = new API.WebScannerRules(this);
|
|
1202
1253
|
webScanners: API.WebScanners = new API.WebScanners(this);
|
|
1203
1254
|
personalizationProperties: API.PersonalizationProperties = new API.PersonalizationProperties(this);
|
|
@@ -1220,6 +1271,7 @@ OursPrivacyPlatform.HeatmapPages = HeatmapPages;
|
|
|
1220
1271
|
OursPrivacyPlatform.Locations = Locations;
|
|
1221
1272
|
OursPrivacyPlatform.Mappings = Mappings;
|
|
1222
1273
|
OursPrivacyPlatform.ReplaySettings = ReplaySettings;
|
|
1274
|
+
OursPrivacyPlatform.SessionReplays = SessionReplays;
|
|
1223
1275
|
OursPrivacyPlatform.ShortLinks = ShortLinks;
|
|
1224
1276
|
OursPrivacyPlatform.Sources = Sources;
|
|
1225
1277
|
OursPrivacyPlatform.TagManagers = TagManagers;
|
|
@@ -1228,9 +1280,11 @@ OursPrivacyPlatform.TagManagerTriggers = TagManagerTriggers;
|
|
|
1228
1280
|
OursPrivacyPlatform.TagManagerVariables = TagManagerVariables;
|
|
1229
1281
|
OursPrivacyPlatform.TagManagerFolders = TagManagerFolders;
|
|
1230
1282
|
OursPrivacyPlatform.TagManagerAssetFolders = TagManagerAssetFolders;
|
|
1283
|
+
OursPrivacyPlatform.TranslationWidgets = TranslationWidgets;
|
|
1231
1284
|
OursPrivacyPlatform.Versions = Versions;
|
|
1232
|
-
OursPrivacyPlatform.VideoChannels = VideoChannels;
|
|
1233
1285
|
OursPrivacyPlatform.Videos = Videos;
|
|
1286
|
+
OursPrivacyPlatform.VideoChannels = VideoChannels;
|
|
1287
|
+
OursPrivacyPlatform.WebAnalytics = WebAnalytics;
|
|
1234
1288
|
OursPrivacyPlatform.WebScannerRules = WebScannerRules;
|
|
1235
1289
|
OursPrivacyPlatform.WebScanners = WebScanners;
|
|
1236
1290
|
OursPrivacyPlatform.PersonalizationProperties = PersonalizationProperties;
|
|
@@ -1383,6 +1437,7 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1383
1437
|
type ExperimentRetrieveResponse as ExperimentRetrieveResponse,
|
|
1384
1438
|
type ExperimentUpdateResponse as ExperimentUpdateResponse,
|
|
1385
1439
|
type ExperimentDeleteResponse as ExperimentDeleteResponse,
|
|
1440
|
+
type ExperimentDuplicateResponse as ExperimentDuplicateResponse,
|
|
1386
1441
|
type ExperimentStartResponse as ExperimentStartResponse,
|
|
1387
1442
|
type ExperimentStopResponse as ExperimentStopResponse,
|
|
1388
1443
|
type ExperimentRolloutResponse as ExperimentRolloutResponse,
|
|
@@ -1391,6 +1446,7 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1391
1446
|
type ExperimentPauseResponse as ExperimentPauseResponse,
|
|
1392
1447
|
type ExperimentResumeResponse as ExperimentResumeResponse,
|
|
1393
1448
|
type ExperimentResultsResponse as ExperimentResultsResponse,
|
|
1449
|
+
type ExperimentAnalysisResponse as ExperimentAnalysisResponse,
|
|
1394
1450
|
type ExperimentResultsTimeSeriesResponse as ExperimentResultsTimeSeriesResponse,
|
|
1395
1451
|
type ExperimentSessionReplaysResponse as ExperimentSessionReplaysResponse,
|
|
1396
1452
|
type ExperimentListResponsesCursor as ExperimentListResponsesCursor,
|
|
@@ -1404,6 +1460,7 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1404
1460
|
type ExperimentPauseParams as ExperimentPauseParams,
|
|
1405
1461
|
type ExperimentResumeParams as ExperimentResumeParams,
|
|
1406
1462
|
type ExperimentResultsParams as ExperimentResultsParams,
|
|
1463
|
+
type ExperimentAnalysisParams as ExperimentAnalysisParams,
|
|
1407
1464
|
type ExperimentResultsTimeSeriesParams as ExperimentResultsTimeSeriesParams,
|
|
1408
1465
|
type ExperimentSessionReplaysParams as ExperimentSessionReplaysParams,
|
|
1409
1466
|
};
|
|
@@ -1415,6 +1472,7 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1415
1472
|
type FunnelRetrieveResponse as FunnelRetrieveResponse,
|
|
1416
1473
|
type FunnelUpdateResponse as FunnelUpdateResponse,
|
|
1417
1474
|
type FunnelDeleteResponse as FunnelDeleteResponse,
|
|
1475
|
+
type FunnelDuplicateResponse as FunnelDuplicateResponse,
|
|
1418
1476
|
type FunnelResultsResponse as FunnelResultsResponse,
|
|
1419
1477
|
type FunnelCreateParams as FunnelCreateParams,
|
|
1420
1478
|
type FunnelUpdateParams as FunnelUpdateParams,
|
|
@@ -1474,6 +1532,14 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1474
1532
|
type ReplaySettingUpdateParams as ReplaySettingUpdateParams,
|
|
1475
1533
|
};
|
|
1476
1534
|
|
|
1535
|
+
export {
|
|
1536
|
+
SessionReplays as SessionReplays,
|
|
1537
|
+
type SessionReplayListResponse as SessionReplayListResponse,
|
|
1538
|
+
type SessionReplayOverviewResponse as SessionReplayOverviewResponse,
|
|
1539
|
+
type SessionReplayListParams as SessionReplayListParams,
|
|
1540
|
+
type SessionReplayOverviewParams as SessionReplayOverviewParams,
|
|
1541
|
+
};
|
|
1542
|
+
|
|
1477
1543
|
export {
|
|
1478
1544
|
ShortLinks as ShortLinks,
|
|
1479
1545
|
type ShortLinkListResponse as ShortLinkListResponse,
|
|
@@ -1481,6 +1547,7 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1481
1547
|
type ShortLinkRetrieveResponse as ShortLinkRetrieveResponse,
|
|
1482
1548
|
type ShortLinkUpdateResponse as ShortLinkUpdateResponse,
|
|
1483
1549
|
type ShortLinkDeleteResponse as ShortLinkDeleteResponse,
|
|
1550
|
+
type ShortLinkCloneResponse as ShortLinkCloneResponse,
|
|
1484
1551
|
type ShortLinkResultsResponse as ShortLinkResultsResponse,
|
|
1485
1552
|
type ShortLinkListResponsesCursor as ShortLinkListResponsesCursor,
|
|
1486
1553
|
type ShortLinkListParams as ShortLinkListParams,
|
|
@@ -1575,6 +1642,16 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1575
1642
|
type TagManagerAssetFolderCreateParams as TagManagerAssetFolderCreateParams,
|
|
1576
1643
|
};
|
|
1577
1644
|
|
|
1645
|
+
export {
|
|
1646
|
+
TranslationWidgets as TranslationWidgets,
|
|
1647
|
+
type TranslationWidgetListResponse as TranslationWidgetListResponse,
|
|
1648
|
+
type TranslationWidgetCreateResponse as TranslationWidgetCreateResponse,
|
|
1649
|
+
type TranslationWidgetRetrieveResponse as TranslationWidgetRetrieveResponse,
|
|
1650
|
+
type TranslationWidgetAnalyticsResponse as TranslationWidgetAnalyticsResponse,
|
|
1651
|
+
type TranslationWidgetCreateParams as TranslationWidgetCreateParams,
|
|
1652
|
+
type TranslationWidgetAnalyticsParams as TranslationWidgetAnalyticsParams,
|
|
1653
|
+
};
|
|
1654
|
+
|
|
1578
1655
|
export {
|
|
1579
1656
|
Versions as Versions,
|
|
1580
1657
|
type VersionListResponse as VersionListResponse,
|
|
@@ -1596,6 +1673,28 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1596
1673
|
type VersionRevertParams as VersionRevertParams,
|
|
1597
1674
|
};
|
|
1598
1675
|
|
|
1676
|
+
export {
|
|
1677
|
+
Videos as Videos,
|
|
1678
|
+
type VideoListResponse as VideoListResponse,
|
|
1679
|
+
type VideoCreateResponse as VideoCreateResponse,
|
|
1680
|
+
type VideoRetrieveResponse as VideoRetrieveResponse,
|
|
1681
|
+
type VideoUpdateResponse as VideoUpdateResponse,
|
|
1682
|
+
type VideoDeleteResponse as VideoDeleteResponse,
|
|
1683
|
+
type VideoUploadResponse as VideoUploadResponse,
|
|
1684
|
+
type VideoTranscriptResponse as VideoTranscriptResponse,
|
|
1685
|
+
type VideoUpdateTranscriptResponse as VideoUpdateTranscriptResponse,
|
|
1686
|
+
type VideoAnalyticsResponse as VideoAnalyticsResponse,
|
|
1687
|
+
type VideoAnalyticsTimeseriesResponse as VideoAnalyticsTimeseriesResponse,
|
|
1688
|
+
type VideoListResponsesCursor as VideoListResponsesCursor,
|
|
1689
|
+
type VideoListParams as VideoListParams,
|
|
1690
|
+
type VideoCreateParams as VideoCreateParams,
|
|
1691
|
+
type VideoUpdateParams as VideoUpdateParams,
|
|
1692
|
+
type VideoUploadParams as VideoUploadParams,
|
|
1693
|
+
type VideoUpdateTranscriptParams as VideoUpdateTranscriptParams,
|
|
1694
|
+
type VideoAnalyticsParams as VideoAnalyticsParams,
|
|
1695
|
+
type VideoAnalyticsTimeseriesParams as VideoAnalyticsTimeseriesParams,
|
|
1696
|
+
};
|
|
1697
|
+
|
|
1599
1698
|
export {
|
|
1600
1699
|
VideoChannels as VideoChannels,
|
|
1601
1700
|
type VideoChannelListResponse as VideoChannelListResponse,
|
|
@@ -1617,23 +1716,21 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1617
1716
|
};
|
|
1618
1717
|
|
|
1619
1718
|
export {
|
|
1620
|
-
|
|
1621
|
-
type
|
|
1622
|
-
type
|
|
1623
|
-
type
|
|
1624
|
-
type
|
|
1625
|
-
type
|
|
1626
|
-
type
|
|
1627
|
-
type
|
|
1628
|
-
type
|
|
1629
|
-
type
|
|
1630
|
-
type
|
|
1631
|
-
type
|
|
1632
|
-
type
|
|
1633
|
-
type
|
|
1634
|
-
type
|
|
1635
|
-
type VideoAnalyticsTimeseriesParams as VideoAnalyticsTimeseriesParams,
|
|
1636
|
-
type VideoUpdateTranscriptParams as VideoUpdateTranscriptParams,
|
|
1719
|
+
WebAnalytics as WebAnalytics,
|
|
1720
|
+
type WebAnalyticsOverviewResponse as WebAnalyticsOverviewResponse,
|
|
1721
|
+
type WebAnalyticsSourcesResponse as WebAnalyticsSourcesResponse,
|
|
1722
|
+
type WebAnalyticsPagesResponse as WebAnalyticsPagesResponse,
|
|
1723
|
+
type WebAnalyticsLocationsResponse as WebAnalyticsLocationsResponse,
|
|
1724
|
+
type WebAnalyticsDevicesResponse as WebAnalyticsDevicesResponse,
|
|
1725
|
+
type WebAnalyticsCurrentVisitorsResponse as WebAnalyticsCurrentVisitorsResponse,
|
|
1726
|
+
type WebAnalyticsJourneyResponse as WebAnalyticsJourneyResponse,
|
|
1727
|
+
type WebAnalyticsOverviewParams as WebAnalyticsOverviewParams,
|
|
1728
|
+
type WebAnalyticsSourcesParams as WebAnalyticsSourcesParams,
|
|
1729
|
+
type WebAnalyticsPagesParams as WebAnalyticsPagesParams,
|
|
1730
|
+
type WebAnalyticsLocationsParams as WebAnalyticsLocationsParams,
|
|
1731
|
+
type WebAnalyticsDevicesParams as WebAnalyticsDevicesParams,
|
|
1732
|
+
type WebAnalyticsCurrentVisitorsParams as WebAnalyticsCurrentVisitorsParams,
|
|
1733
|
+
type WebAnalyticsJourneyParams as WebAnalyticsJourneyParams,
|
|
1637
1734
|
};
|
|
1638
1735
|
|
|
1639
1736
|
export {
|
|
@@ -1656,11 +1753,19 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1656
1753
|
type WebScannerUpdateResponse as WebScannerUpdateResponse,
|
|
1657
1754
|
type WebScannerDeleteResponse as WebScannerDeleteResponse,
|
|
1658
1755
|
type WebScannerTriggerResponse as WebScannerTriggerResponse,
|
|
1756
|
+
type WebScannerAuthenticatedScanResponse as WebScannerAuthenticatedScanResponse,
|
|
1757
|
+
type WebScannerTargetedScanResponse as WebScannerTargetedScanResponse,
|
|
1758
|
+
type WebScannerVerificationRunResponse as WebScannerVerificationRunResponse,
|
|
1759
|
+
type WebScannerVerificationRunsResponse as WebScannerVerificationRunsResponse,
|
|
1659
1760
|
type WebScannerFindingsResponse as WebScannerFindingsResponse,
|
|
1660
1761
|
type WebScannerCookiesResponse as WebScannerCookiesResponse,
|
|
1661
1762
|
type WebScannerSummaryResponse as WebScannerSummaryResponse,
|
|
1662
1763
|
type WebScannerCreateParams as WebScannerCreateParams,
|
|
1663
1764
|
type WebScannerUpdateParams as WebScannerUpdateParams,
|
|
1765
|
+
type WebScannerAuthenticatedScanParams as WebScannerAuthenticatedScanParams,
|
|
1766
|
+
type WebScannerTargetedScanParams as WebScannerTargetedScanParams,
|
|
1767
|
+
type WebScannerVerificationRunParams as WebScannerVerificationRunParams,
|
|
1768
|
+
type WebScannerVerificationRunsParams as WebScannerVerificationRunsParams,
|
|
1664
1769
|
type WebScannerFindingsParams as WebScannerFindingsParams,
|
|
1665
1770
|
type WebScannerCookiesParams as WebScannerCookiesParams,
|
|
1666
1771
|
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' | '
|
|
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.
|