@oursprivacy/platform-sdk 1.34.0 → 1.36.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 +17 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/consent-settings.d.mts +15 -0
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +15 -0
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/experiments.d.mts +872 -195
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +872 -195
- package/resources/experiments.d.ts.map +1 -1
- package/resources/experiments.js +48 -1
- package/resources/experiments.js.map +1 -1
- package/resources/experiments.mjs +48 -1
- package/resources/experiments.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/web-scanners.d.mts +2 -2
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +2 -2
- package/resources/web-scanners.d.ts.map +1 -1
- package/src/client.ts +10 -0
- package/src/resources/consent-settings.ts +17 -0
- package/src/resources/experiments.ts +993 -193
- package/src/resources/index.ts +5 -0
- package/src/resources/web-scanners.ts +2 -0
- 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
|
@@ -3664,6 +3664,23 @@ export interface ConsentSettingAnalyticsParams {
|
|
|
3664
3664
|
*/
|
|
3665
3665
|
compareWithPreviousPeriod?: boolean;
|
|
3666
3666
|
|
|
3667
|
+
/**
|
|
3668
|
+
* Optional custom comparison-window lower bound, as a UTC calendar day in
|
|
3669
|
+
* `YYYY-MM-DD` format. Provide together with `comparisonTo`; the window between
|
|
3670
|
+
* them must be the same length as `from`–`to` (a mismatch returns `400`). When
|
|
3671
|
+
* omitted (with `compareWithPreviousPeriod=true`), the immediately preceding
|
|
3672
|
+
* equal-length period is used.
|
|
3673
|
+
*/
|
|
3674
|
+
comparisonFrom?: string;
|
|
3675
|
+
|
|
3676
|
+
/**
|
|
3677
|
+
* Optional custom comparison-window upper bound, as a UTC calendar day in
|
|
3678
|
+
* `YYYY-MM-DD` format. Provide together with `comparisonFrom`; the window must
|
|
3679
|
+
* match the `from`–`to` length. Ignored unless both comparison bounds are
|
|
3680
|
+
* supplied.
|
|
3681
|
+
*/
|
|
3682
|
+
comparisonTo?: string;
|
|
3683
|
+
|
|
3667
3684
|
/**
|
|
3668
3685
|
* Bucket size for the time-series rollup. `DAILY` (default) buckets per UTC day;
|
|
3669
3686
|
* `HOURLY` buckets per UTC hour and limits the window to 14 days.
|