@oursprivacy/platform-sdk 1.52.0 → 1.54.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 +12 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -6
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/allowed-events.d.mts +9 -7
- package/resources/allowed-events.d.mts.map +1 -1
- package/resources/allowed-events.d.ts +9 -7
- package/resources/allowed-events.d.ts.map +1 -1
- package/resources/allowed-events.js +9 -7
- package/resources/allowed-events.js.map +1 -1
- package/resources/allowed-events.mjs +9 -7
- package/resources/allowed-events.mjs.map +1 -1
- package/resources/analytics.d.mts +4 -2
- package/resources/analytics.d.mts.map +1 -1
- package/resources/analytics.d.ts +4 -2
- package/resources/analytics.d.ts.map +1 -1
- package/resources/analytics.js +4 -2
- package/resources/analytics.js.map +1 -1
- package/resources/analytics.mjs +4 -2
- package/resources/analytics.mjs.map +1 -1
- package/resources/attribution.d.mts +8 -5
- package/resources/attribution.d.mts.map +1 -1
- package/resources/attribution.d.ts +8 -5
- package/resources/attribution.d.ts.map +1 -1
- package/resources/attribution.js +8 -5
- package/resources/attribution.js.map +1 -1
- package/resources/attribution.mjs +8 -5
- package/resources/attribution.mjs.map +1 -1
- package/resources/audience-conversion-reports.d.mts +11 -9
- package/resources/audience-conversion-reports.d.mts.map +1 -1
- package/resources/audience-conversion-reports.d.ts +11 -9
- package/resources/audience-conversion-reports.d.ts.map +1 -1
- package/resources/audience-conversion-reports.js +11 -9
- package/resources/audience-conversion-reports.js.map +1 -1
- package/resources/audience-conversion-reports.mjs +11 -9
- package/resources/audience-conversion-reports.mjs.map +1 -1
- package/resources/consent-analytics.d.mts +2 -1
- package/resources/consent-analytics.d.mts.map +1 -1
- package/resources/consent-analytics.d.ts +2 -1
- package/resources/consent-analytics.d.ts.map +1 -1
- package/resources/consent-analytics.js +2 -1
- package/resources/consent-analytics.js.map +1 -1
- package/resources/consent-analytics.mjs +2 -1
- package/resources/consent-analytics.mjs.map +1 -1
- package/resources/consent-settings.d.mts +6238 -650
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +6238 -650
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/consent-settings.js +72 -34
- package/resources/consent-settings.js.map +1 -1
- package/resources/consent-settings.mjs +72 -34
- package/resources/consent-settings.mjs.map +1 -1
- package/resources/conversion-journey-summaries.d.mts +10 -5
- package/resources/conversion-journey-summaries.d.mts.map +1 -1
- package/resources/conversion-journey-summaries.d.ts +10 -5
- package/resources/conversion-journey-summaries.d.ts.map +1 -1
- package/resources/conversion-journey-summaries.js +10 -5
- package/resources/conversion-journey-summaries.js.map +1 -1
- package/resources/conversion-journey-summaries.mjs +10 -5
- package/resources/conversion-journey-summaries.mjs.map +1 -1
- package/resources/custom-domains.d.mts +301 -0
- package/resources/custom-domains.d.mts.map +1 -0
- package/resources/custom-domains.d.ts +301 -0
- package/resources/custom-domains.d.ts.map +1 -0
- package/resources/custom-domains.js +55 -0
- package/resources/custom-domains.js.map +1 -0
- package/resources/custom-domains.mjs +51 -0
- package/resources/custom-domains.mjs.map +1 -0
- package/resources/data-governance.d.mts +83 -21
- package/resources/data-governance.d.mts.map +1 -1
- package/resources/data-governance.d.ts +83 -21
- package/resources/data-governance.d.ts.map +1 -1
- package/resources/data-governance.js +8 -6
- package/resources/data-governance.js.map +1 -1
- package/resources/data-governance.mjs +8 -6
- package/resources/data-governance.mjs.map +1 -1
- package/resources/default-mappings.d.mts +213 -8
- package/resources/default-mappings.d.mts.map +1 -1
- package/resources/default-mappings.d.ts +213 -8
- package/resources/default-mappings.d.ts.map +1 -1
- package/resources/default-mappings.js +6 -5
- package/resources/default-mappings.js.map +1 -1
- package/resources/default-mappings.mjs +6 -5
- package/resources/default-mappings.mjs.map +1 -1
- package/resources/destinations.d.mts +45 -20
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +45 -20
- package/resources/destinations.d.ts.map +1 -1
- package/resources/destinations.js +12 -7
- package/resources/destinations.js.map +1 -1
- package/resources/destinations.mjs +12 -7
- package/resources/destinations.mjs.map +1 -1
- package/resources/experiment-settings.d.mts +9 -6
- package/resources/experiment-settings.d.mts.map +1 -1
- package/resources/experiment-settings.d.ts +9 -6
- package/resources/experiment-settings.d.ts.map +1 -1
- package/resources/experiment-settings.js +9 -6
- package/resources/experiment-settings.js.map +1 -1
- package/resources/experiment-settings.mjs +9 -6
- package/resources/experiment-settings.mjs.map +1 -1
- package/resources/experiment-variants.d.mts +126 -19
- package/resources/experiment-variants.d.mts.map +1 -1
- package/resources/experiment-variants.d.ts +126 -19
- package/resources/experiment-variants.d.ts.map +1 -1
- package/resources/experiment-variants.js +9 -5
- package/resources/experiment-variants.js.map +1 -1
- package/resources/experiment-variants.mjs +9 -5
- package/resources/experiment-variants.mjs.map +1 -1
- package/resources/experiments.d.mts +4009 -272
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +4009 -272
- package/resources/experiments.d.ts.map +1 -1
- package/resources/experiments.js +30 -19
- package/resources/experiments.js.map +1 -1
- package/resources/experiments.mjs +30 -19
- package/resources/experiments.mjs.map +1 -1
- package/resources/funnels.d.mts +659 -17
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +659 -17
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +11 -10
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +11 -10
- package/resources/funnels.mjs.map +1 -1
- package/resources/heatmap-pages.d.mts +3 -2
- package/resources/heatmap-pages.d.mts.map +1 -1
- package/resources/heatmap-pages.d.ts +3 -2
- package/resources/heatmap-pages.d.ts.map +1 -1
- package/resources/heatmap-pages.js +3 -2
- package/resources/heatmap-pages.js.map +1 -1
- package/resources/heatmap-pages.mjs +3 -2
- package/resources/heatmap-pages.mjs.map +1 -1
- package/resources/index.d.mts +5 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/journey-flows.d.mts +597 -28
- package/resources/journey-flows.d.mts.map +1 -1
- package/resources/journey-flows.d.ts +597 -28
- package/resources/journey-flows.d.ts.map +1 -1
- package/resources/journey-flows.js +17 -12
- package/resources/journey-flows.js.map +1 -1
- package/resources/journey-flows.mjs +17 -12
- package/resources/journey-flows.mjs.map +1 -1
- package/resources/locations.d.mts +31 -10
- package/resources/locations.d.mts.map +1 -1
- package/resources/locations.d.ts +31 -10
- package/resources/locations.d.ts.map +1 -1
- package/resources/locations.js +6 -5
- package/resources/locations.js.map +1 -1
- package/resources/locations.mjs +6 -5
- package/resources/locations.mjs.map +1 -1
- package/resources/mappings.d.mts +558 -24
- package/resources/mappings.d.mts.map +1 -1
- package/resources/mappings.d.ts +558 -24
- package/resources/mappings.d.ts.map +1 -1
- package/resources/mappings.js +40 -12
- package/resources/mappings.js.map +1 -1
- package/resources/mappings.mjs +40 -12
- package/resources/mappings.mjs.map +1 -1
- package/resources/me.d.mts +29 -0
- package/resources/me.d.mts.map +1 -0
- package/resources/me.d.ts +29 -0
- package/resources/me.d.ts.map +1 -0
- package/resources/me.js +17 -0
- package/resources/me.js.map +1 -0
- package/resources/me.mjs +13 -0
- package/resources/me.mjs.map +1 -0
- package/resources/personalization-properties.d.mts +10 -7
- package/resources/personalization-properties.d.mts.map +1 -1
- package/resources/personalization-properties.d.ts +10 -7
- package/resources/personalization-properties.d.ts.map +1 -1
- package/resources/personalization-properties.js +10 -7
- package/resources/personalization-properties.js.map +1 -1
- package/resources/personalization-properties.mjs +10 -7
- package/resources/personalization-properties.mjs.map +1 -1
- package/resources/replay-settings.d.mts +126 -9
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +126 -9
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/replay-settings.js +9 -6
- package/resources/replay-settings.js.map +1 -1
- package/resources/replay-settings.mjs +9 -6
- package/resources/replay-settings.mjs.map +1 -1
- package/resources/session-replays.d.mts +9 -2
- package/resources/session-replays.d.mts.map +1 -1
- package/resources/session-replays.d.ts +9 -2
- package/resources/session-replays.d.ts.map +1 -1
- package/resources/session-replays.js +4 -2
- package/resources/session-replays.js.map +1 -1
- package/resources/session-replays.mjs +4 -2
- package/resources/session-replays.mjs.map +1 -1
- package/resources/short-links.d.mts +733 -17
- package/resources/short-links.d.mts.map +1 -1
- package/resources/short-links.d.ts +733 -17
- package/resources/short-links.d.ts.map +1 -1
- package/resources/short-links.js +11 -7
- package/resources/short-links.js.map +1 -1
- package/resources/short-links.mjs +11 -7
- package/resources/short-links.mjs.map +1 -1
- package/resources/sources.d.mts +98 -17
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +98 -17
- package/resources/sources.d.ts.map +1 -1
- package/resources/sources.js +12 -6
- package/resources/sources.js.map +1 -1
- package/resources/sources.mjs +12 -6
- package/resources/sources.mjs.map +1 -1
- package/resources/tag-manager-asset-folders.d.mts +2 -1
- package/resources/tag-manager-asset-folders.d.mts.map +1 -1
- package/resources/tag-manager-asset-folders.d.ts +2 -1
- package/resources/tag-manager-asset-folders.d.ts.map +1 -1
- package/resources/tag-manager-asset-folders.js +2 -1
- package/resources/tag-manager-asset-folders.js.map +1 -1
- package/resources/tag-manager-asset-folders.mjs +2 -1
- package/resources/tag-manager-asset-folders.mjs.map +1 -1
- package/resources/tag-manager-folders.d.mts +9 -7
- package/resources/tag-manager-folders.d.mts.map +1 -1
- package/resources/tag-manager-folders.d.ts +9 -7
- package/resources/tag-manager-folders.d.ts.map +1 -1
- package/resources/tag-manager-folders.js +9 -7
- package/resources/tag-manager-folders.js.map +1 -1
- package/resources/tag-manager-folders.mjs +9 -7
- package/resources/tag-manager-folders.mjs.map +1 -1
- package/resources/tag-manager-tags.d.mts +13 -7
- package/resources/tag-manager-tags.d.mts.map +1 -1
- package/resources/tag-manager-tags.d.ts +13 -7
- package/resources/tag-manager-tags.d.ts.map +1 -1
- package/resources/tag-manager-tags.js +10 -6
- package/resources/tag-manager-tags.js.map +1 -1
- package/resources/tag-manager-tags.mjs +10 -6
- package/resources/tag-manager-tags.mjs.map +1 -1
- package/resources/tag-manager-triggers.d.mts +14 -7
- package/resources/tag-manager-triggers.d.mts.map +1 -1
- package/resources/tag-manager-triggers.d.ts +14 -7
- package/resources/tag-manager-triggers.d.ts.map +1 -1
- package/resources/tag-manager-triggers.js +11 -6
- package/resources/tag-manager-triggers.js.map +1 -1
- package/resources/tag-manager-triggers.mjs +11 -6
- package/resources/tag-manager-triggers.mjs.map +1 -1
- package/resources/tag-manager-variables.d.mts +53 -23
- package/resources/tag-manager-variables.d.mts.map +1 -1
- package/resources/tag-manager-variables.d.ts +53 -23
- package/resources/tag-manager-variables.d.ts.map +1 -1
- package/resources/tag-manager-variables.js +10 -6
- package/resources/tag-manager-variables.js.map +1 -1
- package/resources/tag-manager-variables.mjs +10 -6
- package/resources/tag-manager-variables.mjs.map +1 -1
- package/resources/tag-managers.d.mts +24 -6
- package/resources/tag-managers.d.mts.map +1 -1
- package/resources/tag-managers.d.ts +24 -6
- package/resources/tag-managers.d.ts.map +1 -1
- package/resources/tag-managers.js +18 -5
- package/resources/tag-managers.js.map +1 -1
- package/resources/tag-managers.mjs +18 -5
- package/resources/tag-managers.mjs.map +1 -1
- package/resources/test-events.d.mts +73 -15
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +73 -15
- package/resources/test-events.d.ts.map +1 -1
- package/resources/test-events.js +6 -4
- package/resources/test-events.js.map +1 -1
- package/resources/test-events.mjs +6 -4
- package/resources/test-events.mjs.map +1 -1
- package/resources/translation-widgets.d.mts +7 -6
- package/resources/translation-widgets.d.mts.map +1 -1
- package/resources/translation-widgets.d.ts +7 -6
- package/resources/translation-widgets.d.ts.map +1 -1
- package/resources/translation-widgets.js +7 -6
- package/resources/translation-widgets.js.map +1 -1
- package/resources/translation-widgets.mjs +7 -6
- package/resources/translation-widgets.mjs.map +1 -1
- package/resources/versions.d.mts +102 -47
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +102 -47
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +20 -15
- package/resources/versions.js.map +1 -1
- package/resources/versions.mjs +20 -15
- package/resources/versions.mjs.map +1 -1
- package/resources/video-channels.d.mts +47 -13
- package/resources/video-channels.d.mts.map +1 -1
- package/resources/video-channels.d.ts +47 -13
- package/resources/video-channels.d.ts.map +1 -1
- package/resources/video-channels.js +15 -9
- package/resources/video-channels.js.map +1 -1
- package/resources/video-channels.mjs +15 -9
- package/resources/video-channels.mjs.map +1 -1
- package/resources/videos.d.mts +21 -14
- package/resources/videos.d.mts.map +1 -1
- package/resources/videos.d.ts +21 -14
- package/resources/videos.d.ts.map +1 -1
- package/resources/videos.js +21 -14
- package/resources/videos.js.map +1 -1
- package/resources/videos.mjs +21 -14
- package/resources/videos.mjs.map +1 -1
- package/resources/web-analytics.d.mts +14 -9
- package/resources/web-analytics.d.mts.map +1 -1
- package/resources/web-analytics.d.ts +14 -9
- package/resources/web-analytics.d.ts.map +1 -1
- package/resources/web-analytics.js +14 -9
- package/resources/web-analytics.js.map +1 -1
- package/resources/web-analytics.mjs +14 -9
- package/resources/web-analytics.mjs.map +1 -1
- package/resources/web-scanner-rules.d.mts +10 -6
- package/resources/web-scanner-rules.d.mts.map +1 -1
- package/resources/web-scanner-rules.d.ts +10 -6
- package/resources/web-scanner-rules.d.ts.map +1 -1
- package/resources/web-scanner-rules.js +10 -6
- package/resources/web-scanner-rules.js.map +1 -1
- package/resources/web-scanner-rules.mjs +10 -6
- package/resources/web-scanner-rules.mjs.map +1 -1
- package/resources/web-scanners.d.mts +26 -19
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +26 -19
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +25 -18
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +25 -18
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +44 -0
- package/src/resources/allowed-events.ts +9 -7
- package/src/resources/analytics.ts +4 -2
- package/src/resources/attribution.ts +8 -5
- package/src/resources/audience-conversion-reports.ts +11 -9
- package/src/resources/consent-analytics.ts +2 -1
- package/src/resources/consent-settings.ts +7576 -519
- package/src/resources/conversion-journey-summaries.ts +10 -5
- package/src/resources/custom-domains.ts +450 -0
- package/src/resources/data-governance.ts +53 -21
- package/src/resources/default-mappings.ts +309 -8
- package/src/resources/destinations.ts +40 -15
- package/src/resources/experiment-settings.ts +9 -6
- package/src/resources/experiment-variants.ts +140 -19
- package/src/resources/experiments.ts +8051 -462
- package/src/resources/funnels.ts +1366 -17
- package/src/resources/heatmap-pages.ts +3 -2
- package/src/resources/index.ts +19 -0
- package/src/resources/journey-flows.ts +1241 -28
- package/src/resources/locations.ts +41 -10
- package/src/resources/mappings.ts +812 -31
- package/src/resources/me.ts +37 -0
- package/src/resources/personalization-properties.ts +10 -7
- package/src/resources/replay-settings.ts +147 -9
- package/src/resources/session-replays.ts +10 -2
- package/src/resources/short-links.ts +883 -17
- package/src/resources/sources.ts +108 -17
- package/src/resources/tag-manager-asset-folders.ts +2 -1
- package/src/resources/tag-manager-folders.ts +9 -7
- package/src/resources/tag-manager-tags.ts +17 -7
- package/src/resources/tag-manager-triggers.ts +18 -7
- package/src/resources/tag-manager-variables.ts +101 -19
- package/src/resources/tag-managers.ts +35 -5
- package/src/resources/test-events.ts +53 -15
- package/src/resources/translation-widgets.ts +7 -6
- package/src/resources/versions.ts +104 -47
- package/src/resources/video-channels.ts +59 -13
- package/src/resources/videos.ts +21 -14
- package/src/resources/web-analytics.ts +14 -9
- package/src/resources/web-scanner-rules.ts +10 -6
- package/src/resources/web-scanners.ts +26 -19
- 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
|
@@ -11,8 +11,8 @@ class PersonalizationProperties extends resource_1.APIResource {
|
|
|
11
11
|
* `experimentSettingsId` query parameter — properties are always scoped to a
|
|
12
12
|
* single record; list the records with `GET /rest/v1/experiment-settings`.
|
|
13
13
|
* Supports cursor pagination via `limit` and `cursor`; the limit clamp is 1000 so
|
|
14
|
-
* a single request can return the full set. Requires scope
|
|
15
|
-
* experimentSettings:list
|
|
14
|
+
* a single request can return the full set. Requires API-key scope or current
|
|
15
|
+
* OAuth user permission: experimentSettings:list
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
@@ -34,7 +34,8 @@ class PersonalizationProperties extends resource_1.APIResource {
|
|
|
34
34
|
* Create a personalization property on an experiment settings record. The new rule
|
|
35
35
|
* is published automatically and starts accumulating from the next matching event
|
|
36
36
|
* — no separate publish call is needed. `propertyKey` must be unique within the
|
|
37
|
-
* parent record. Requires scope
|
|
37
|
+
* parent record. Requires API-key scope or current OAuth user permission:
|
|
38
|
+
* experimentSettings:update
|
|
38
39
|
*
|
|
39
40
|
* @example
|
|
40
41
|
* ```ts
|
|
@@ -53,7 +54,8 @@ class PersonalizationProperties extends resource_1.APIResource {
|
|
|
53
54
|
}
|
|
54
55
|
/**
|
|
55
56
|
* Find a single personalization property by ID. Returns 404 when no property
|
|
56
|
-
* matches the supplied id. Requires scope
|
|
57
|
+
* matches the supplied id. Requires API-key scope or current OAuth user
|
|
58
|
+
* permission: experimentSettings:find
|
|
57
59
|
*
|
|
58
60
|
* @example
|
|
59
61
|
* ```ts
|
|
@@ -69,8 +71,8 @@ class PersonalizationProperties extends resource_1.APIResource {
|
|
|
69
71
|
* changed, and the update is published automatically. Sending `triggerConditions`
|
|
70
72
|
* replaces the prior list — partial-array merging is not supported. Values already
|
|
71
73
|
* accumulated for visitors are kept; the new rule applies to events from here on.
|
|
72
|
-
* Returns 404 when no property matches the supplied id. Requires scope
|
|
73
|
-
* experimentSettings:update
|
|
74
|
+
* Returns 404 when no property matches the supplied id. Requires API-key scope or
|
|
75
|
+
* current OAuth user permission: experimentSettings:update
|
|
74
76
|
*
|
|
75
77
|
* @example
|
|
76
78
|
* ```ts
|
|
@@ -84,7 +86,8 @@ class PersonalizationProperties extends resource_1.APIResource {
|
|
|
84
86
|
/**
|
|
85
87
|
* Delete a personalization property. The rule stops accumulating immediately;
|
|
86
88
|
* values already recorded for visitors are no longer maintained. Returns 404 when
|
|
87
|
-
* no property matches the supplied id. Requires scope
|
|
89
|
+
* no property matches the supplied id. Requires API-key scope or current OAuth
|
|
90
|
+
* user permission: experimentSettings:update
|
|
88
91
|
*
|
|
89
92
|
* @example
|
|
90
93
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"personalization-properties.js","sourceRoot":"","sources":["../src/resources/personalization-properties.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAE5E,oDAA8C;AAE9C,MAAa,yBAA0B,SAAQ,sBAAW;IACxD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CACF,KAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,qCAAqC,EACrC,CAAA,mBAA2C,CAAA,EAC3C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"personalization-properties.js","sourceRoot":"","sources":["../src/resources/personalization-properties.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAE5E,oDAA8C;AAE9C,MAAa,yBAA0B,SAAQ,sBAAW;IACxD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CACF,KAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,qCAAqC,EACrC,CAAA,mBAA2C,CAAA,EAC3C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qCAAqC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uCAAuC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAU,EACV,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,uCAAuC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,uCAAuC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;CACF;AA/GD,8DA+GC"}
|
|
@@ -8,8 +8,8 @@ export class PersonalizationProperties extends APIResource {
|
|
|
8
8
|
* `experimentSettingsId` query parameter — properties are always scoped to a
|
|
9
9
|
* single record; list the records with `GET /rest/v1/experiment-settings`.
|
|
10
10
|
* Supports cursor pagination via `limit` and `cursor`; the limit clamp is 1000 so
|
|
11
|
-
* a single request can return the full set. Requires scope
|
|
12
|
-
* experimentSettings:list
|
|
11
|
+
* a single request can return the full set. Requires API-key scope or current
|
|
12
|
+
* OAuth user permission: experimentSettings:list
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```ts
|
|
@@ -31,7 +31,8 @@ export class PersonalizationProperties extends APIResource {
|
|
|
31
31
|
* Create a personalization property on an experiment settings record. The new rule
|
|
32
32
|
* is published automatically and starts accumulating from the next matching event
|
|
33
33
|
* — no separate publish call is needed. `propertyKey` must be unique within the
|
|
34
|
-
* parent record. Requires scope
|
|
34
|
+
* parent record. Requires API-key scope or current OAuth user permission:
|
|
35
|
+
* experimentSettings:update
|
|
35
36
|
*
|
|
36
37
|
* @example
|
|
37
38
|
* ```ts
|
|
@@ -50,7 +51,8 @@ export class PersonalizationProperties extends APIResource {
|
|
|
50
51
|
}
|
|
51
52
|
/**
|
|
52
53
|
* Find a single personalization property by ID. Returns 404 when no property
|
|
53
|
-
* matches the supplied id. Requires scope
|
|
54
|
+
* matches the supplied id. Requires API-key scope or current OAuth user
|
|
55
|
+
* permission: experimentSettings:find
|
|
54
56
|
*
|
|
55
57
|
* @example
|
|
56
58
|
* ```ts
|
|
@@ -66,8 +68,8 @@ export class PersonalizationProperties extends APIResource {
|
|
|
66
68
|
* changed, and the update is published automatically. Sending `triggerConditions`
|
|
67
69
|
* replaces the prior list — partial-array merging is not supported. Values already
|
|
68
70
|
* accumulated for visitors are kept; the new rule applies to events from here on.
|
|
69
|
-
* Returns 404 when no property matches the supplied id. Requires scope
|
|
70
|
-
* experimentSettings:update
|
|
71
|
+
* Returns 404 when no property matches the supplied id. Requires API-key scope or
|
|
72
|
+
* current OAuth user permission: experimentSettings:update
|
|
71
73
|
*
|
|
72
74
|
* @example
|
|
73
75
|
* ```ts
|
|
@@ -81,7 +83,8 @@ export class PersonalizationProperties extends APIResource {
|
|
|
81
83
|
/**
|
|
82
84
|
* Delete a personalization property. The rule stops accumulating immediately;
|
|
83
85
|
* values already recorded for visitors are no longer maintained. Returns 404 when
|
|
84
|
-
* no property matches the supplied id. Requires scope
|
|
86
|
+
* no property matches the supplied id. Requires API-key scope or current OAuth
|
|
87
|
+
* user permission: experimentSettings:update
|
|
85
88
|
*
|
|
86
89
|
* @example
|
|
87
90
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"personalization-properties.mjs","sourceRoot":"","sources":["../src/resources/personalization-properties.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,MAAM,EAAkC,+BAA2B;AAE5E,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,yBAA0B,SAAQ,WAAW;IACxD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CACF,KAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,qCAAqC,EACrC,CAAA,MAA2C,CAAA,EAC3C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"personalization-properties.mjs","sourceRoot":"","sources":["../src/resources/personalization-properties.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,MAAM,EAAkC,+BAA2B;AAE5E,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,yBAA0B,SAAQ,WAAW;IACxD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CACF,KAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,qCAAqC,EACrC,CAAA,MAA2C,CAAA,EAC3C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qCAAqC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uCAAuC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAU,EACV,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,uCAAuC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,uCAAuC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;CACF"}
|
|
@@ -6,31 +6,34 @@ export declare class ReplaySettings extends APIResource {
|
|
|
6
6
|
/**
|
|
7
7
|
* List the replay configurations on this account. Supports cursor pagination via
|
|
8
8
|
* `limit` and `cursor`. Replay settings control which domains may capture session
|
|
9
|
-
* replays and where the capture script is hosted. Requires scope
|
|
10
|
-
* replaySettings:list
|
|
9
|
+
* replays and where the capture script is hosted. Requires API-key scope or
|
|
10
|
+
* current OAuth user permission: replaySettings:list
|
|
11
11
|
*/
|
|
12
12
|
list(query?: ReplaySettingListParams | null | undefined, options?: RequestOptions): PagePromise<ReplaySettingListResponsesCursor, ReplaySettingListResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* Create the replay configuration for this account. Each account is limited to one
|
|
15
15
|
* replay configuration — calls made when one already exists return HTTP 409 with
|
|
16
|
-
* the reason in the response `error` field. Requires scope
|
|
16
|
+
* the reason in the response `error` field. Requires API-key scope or current
|
|
17
|
+
* OAuth user permission: replaySettings:create
|
|
17
18
|
*/
|
|
18
19
|
create(body: ReplaySettingCreateParams, options?: RequestOptions): APIPromise<ReplaySettingCreateResponse>;
|
|
19
20
|
/**
|
|
20
21
|
* Fetch a single replay configuration by ID, including its whitelisted domains and
|
|
21
|
-
* custom domain. Requires scope
|
|
22
|
+
* custom domain. Requires API-key scope or current OAuth user permission:
|
|
23
|
+
* replaySettings:find
|
|
22
24
|
*/
|
|
23
25
|
retrieve(id: string, options?: RequestOptions): APIPromise<ReplaySettingRetrieveResponse | null>;
|
|
24
26
|
/**
|
|
25
27
|
* Update one or more fields on an existing replay configuration. Only the fields
|
|
26
28
|
* you send are changed; omitted fields keep their current value. Note that
|
|
27
29
|
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
28
|
-
* Requires scope: replaySettings:update
|
|
30
|
+
* Requires API-key scope or current OAuth user permission: replaySettings:update
|
|
29
31
|
*/
|
|
30
32
|
update(id: string, body: ReplaySettingUpdateParams, options?: RequestOptions): APIPromise<ReplaySettingUpdateResponse>;
|
|
31
33
|
/**
|
|
32
34
|
* Delete the replay configuration. Capture stops immediately for all whitelisted
|
|
33
|
-
* domains. Requires scope
|
|
35
|
+
* domains. Requires API-key scope or current OAuth user permission:
|
|
36
|
+
* replaySettings:delete
|
|
34
37
|
*/
|
|
35
38
|
delete(id: string, options?: RequestOptions): APIPromise<ReplaySettingDeleteResponse>;
|
|
36
39
|
}
|
|
@@ -74,7 +77,45 @@ export interface ReplaySettingListResponse {
|
|
|
74
77
|
export interface ReplaySettingCreateResponse {
|
|
75
78
|
isSuccess: boolean;
|
|
76
79
|
cause?: string | null;
|
|
77
|
-
replaySettings?:
|
|
80
|
+
replaySettings?: ReplaySettingCreateResponse.ReplaySettings | null;
|
|
81
|
+
}
|
|
82
|
+
export declare namespace ReplaySettingCreateResponse {
|
|
83
|
+
interface ReplaySettings {
|
|
84
|
+
/**
|
|
85
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
86
|
+
*/
|
|
87
|
+
id: string;
|
|
88
|
+
/**
|
|
89
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
90
|
+
*/
|
|
91
|
+
createdAt: string;
|
|
92
|
+
/**
|
|
93
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
94
|
+
* be empty.
|
|
95
|
+
*/
|
|
96
|
+
name: string;
|
|
97
|
+
/**
|
|
98
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
99
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
100
|
+
* without losing the configuration.
|
|
101
|
+
*/
|
|
102
|
+
status: 'Disabled' | 'Enabled';
|
|
103
|
+
/**
|
|
104
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
105
|
+
* to use the default Ours Privacy domain.
|
|
106
|
+
*/
|
|
107
|
+
customDomain?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
110
|
+
*/
|
|
111
|
+
updatedAt?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
114
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
115
|
+
* not merged.
|
|
116
|
+
*/
|
|
117
|
+
whitelistDomains?: Array<string> | null;
|
|
118
|
+
}
|
|
78
119
|
}
|
|
79
120
|
export interface ReplaySettingRetrieveResponse {
|
|
80
121
|
/**
|
|
@@ -115,12 +156,88 @@ export interface ReplaySettingRetrieveResponse {
|
|
|
115
156
|
export interface ReplaySettingUpdateResponse {
|
|
116
157
|
isSuccess: boolean;
|
|
117
158
|
cause?: string | null;
|
|
118
|
-
replaySettings?:
|
|
159
|
+
replaySettings?: ReplaySettingUpdateResponse.ReplaySettings | null;
|
|
160
|
+
}
|
|
161
|
+
export declare namespace ReplaySettingUpdateResponse {
|
|
162
|
+
interface ReplaySettings {
|
|
163
|
+
/**
|
|
164
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
165
|
+
*/
|
|
166
|
+
id: string;
|
|
167
|
+
/**
|
|
168
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
169
|
+
*/
|
|
170
|
+
createdAt: string;
|
|
171
|
+
/**
|
|
172
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
173
|
+
* be empty.
|
|
174
|
+
*/
|
|
175
|
+
name: string;
|
|
176
|
+
/**
|
|
177
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
178
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
179
|
+
* without losing the configuration.
|
|
180
|
+
*/
|
|
181
|
+
status: 'Disabled' | 'Enabled';
|
|
182
|
+
/**
|
|
183
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
184
|
+
* to use the default Ours Privacy domain.
|
|
185
|
+
*/
|
|
186
|
+
customDomain?: string | null;
|
|
187
|
+
/**
|
|
188
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
189
|
+
*/
|
|
190
|
+
updatedAt?: string | null;
|
|
191
|
+
/**
|
|
192
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
193
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
194
|
+
* not merged.
|
|
195
|
+
*/
|
|
196
|
+
whitelistDomains?: Array<string> | null;
|
|
197
|
+
}
|
|
119
198
|
}
|
|
120
199
|
export interface ReplaySettingDeleteResponse {
|
|
121
200
|
isSuccess: boolean;
|
|
122
201
|
cause?: string | null;
|
|
123
|
-
replaySettings?:
|
|
202
|
+
replaySettings?: ReplaySettingDeleteResponse.ReplaySettings | null;
|
|
203
|
+
}
|
|
204
|
+
export declare namespace ReplaySettingDeleteResponse {
|
|
205
|
+
interface ReplaySettings {
|
|
206
|
+
/**
|
|
207
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
208
|
+
*/
|
|
209
|
+
id: string;
|
|
210
|
+
/**
|
|
211
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
212
|
+
*/
|
|
213
|
+
createdAt: string;
|
|
214
|
+
/**
|
|
215
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
216
|
+
* be empty.
|
|
217
|
+
*/
|
|
218
|
+
name: string;
|
|
219
|
+
/**
|
|
220
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
221
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
222
|
+
* without losing the configuration.
|
|
223
|
+
*/
|
|
224
|
+
status: 'Disabled' | 'Enabled';
|
|
225
|
+
/**
|
|
226
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
227
|
+
* to use the default Ours Privacy domain.
|
|
228
|
+
*/
|
|
229
|
+
customDomain?: string | null;
|
|
230
|
+
/**
|
|
231
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
232
|
+
*/
|
|
233
|
+
updatedAt?: string | null;
|
|
234
|
+
/**
|
|
235
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
236
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
237
|
+
* not merged.
|
|
238
|
+
*/
|
|
239
|
+
whitelistDomains?: Array<string> | null;
|
|
240
|
+
}
|
|
124
241
|
}
|
|
125
242
|
export interface ReplaySettingListParams extends CursorParams {
|
|
126
243
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-settings.d.mts","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,+BAA2B;AAC5E,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gCAAgC,EAAE,yBAAyB,CAA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configurations on this account. Supports cursor pagination via
|
|
8
8
|
* `limit` and `cursor`. Replay settings control which domains may capture session
|
|
9
|
-
* replays and where the capture script is hosted. Requires scope
|
|
10
|
-
* replaySettings:list
|
|
9
|
+
* replays and where the capture script is hosted. Requires API-key scope or
|
|
10
|
+
* current OAuth user permission: replaySettings:list
|
|
11
11
|
*/
|
|
12
12
|
list(query?: ReplaySettingListParams | null | undefined, options?: RequestOptions): PagePromise<ReplaySettingListResponsesCursor, ReplaySettingListResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* Create the replay configuration for this account. Each account is limited to one
|
|
15
15
|
* replay configuration — calls made when one already exists return HTTP 409 with
|
|
16
|
-
* the reason in the response `error` field. Requires scope
|
|
16
|
+
* the reason in the response `error` field. Requires API-key scope or current
|
|
17
|
+
* OAuth user permission: replaySettings:create
|
|
17
18
|
*/
|
|
18
19
|
create(body: ReplaySettingCreateParams, options?: RequestOptions): APIPromise<ReplaySettingCreateResponse>;
|
|
19
20
|
/**
|
|
20
21
|
* Fetch a single replay configuration by ID, including its whitelisted domains and
|
|
21
|
-
* custom domain. Requires scope
|
|
22
|
+
* custom domain. Requires API-key scope or current OAuth user permission:
|
|
23
|
+
* replaySettings:find
|
|
22
24
|
*/
|
|
23
25
|
retrieve(id: string, options?: RequestOptions): APIPromise<ReplaySettingRetrieveResponse | null>;
|
|
24
26
|
/**
|
|
25
27
|
* Update one or more fields on an existing replay configuration. Only the fields
|
|
26
28
|
* you send are changed; omitted fields keep their current value. Note that
|
|
27
29
|
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
28
|
-
* Requires scope: replaySettings:update
|
|
30
|
+
* Requires API-key scope or current OAuth user permission: replaySettings:update
|
|
29
31
|
*/
|
|
30
32
|
update(id: string, body: ReplaySettingUpdateParams, options?: RequestOptions): APIPromise<ReplaySettingUpdateResponse>;
|
|
31
33
|
/**
|
|
32
34
|
* Delete the replay configuration. Capture stops immediately for all whitelisted
|
|
33
|
-
* domains. Requires scope
|
|
35
|
+
* domains. Requires API-key scope or current OAuth user permission:
|
|
36
|
+
* replaySettings:delete
|
|
34
37
|
*/
|
|
35
38
|
delete(id: string, options?: RequestOptions): APIPromise<ReplaySettingDeleteResponse>;
|
|
36
39
|
}
|
|
@@ -74,7 +77,45 @@ export interface ReplaySettingListResponse {
|
|
|
74
77
|
export interface ReplaySettingCreateResponse {
|
|
75
78
|
isSuccess: boolean;
|
|
76
79
|
cause?: string | null;
|
|
77
|
-
replaySettings?:
|
|
80
|
+
replaySettings?: ReplaySettingCreateResponse.ReplaySettings | null;
|
|
81
|
+
}
|
|
82
|
+
export declare namespace ReplaySettingCreateResponse {
|
|
83
|
+
interface ReplaySettings {
|
|
84
|
+
/**
|
|
85
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
86
|
+
*/
|
|
87
|
+
id: string;
|
|
88
|
+
/**
|
|
89
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
90
|
+
*/
|
|
91
|
+
createdAt: string;
|
|
92
|
+
/**
|
|
93
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
94
|
+
* be empty.
|
|
95
|
+
*/
|
|
96
|
+
name: string;
|
|
97
|
+
/**
|
|
98
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
99
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
100
|
+
* without losing the configuration.
|
|
101
|
+
*/
|
|
102
|
+
status: 'Disabled' | 'Enabled';
|
|
103
|
+
/**
|
|
104
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
105
|
+
* to use the default Ours Privacy domain.
|
|
106
|
+
*/
|
|
107
|
+
customDomain?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
110
|
+
*/
|
|
111
|
+
updatedAt?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
114
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
115
|
+
* not merged.
|
|
116
|
+
*/
|
|
117
|
+
whitelistDomains?: Array<string> | null;
|
|
118
|
+
}
|
|
78
119
|
}
|
|
79
120
|
export interface ReplaySettingRetrieveResponse {
|
|
80
121
|
/**
|
|
@@ -115,12 +156,88 @@ export interface ReplaySettingRetrieveResponse {
|
|
|
115
156
|
export interface ReplaySettingUpdateResponse {
|
|
116
157
|
isSuccess: boolean;
|
|
117
158
|
cause?: string | null;
|
|
118
|
-
replaySettings?:
|
|
159
|
+
replaySettings?: ReplaySettingUpdateResponse.ReplaySettings | null;
|
|
160
|
+
}
|
|
161
|
+
export declare namespace ReplaySettingUpdateResponse {
|
|
162
|
+
interface ReplaySettings {
|
|
163
|
+
/**
|
|
164
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
165
|
+
*/
|
|
166
|
+
id: string;
|
|
167
|
+
/**
|
|
168
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
169
|
+
*/
|
|
170
|
+
createdAt: string;
|
|
171
|
+
/**
|
|
172
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
173
|
+
* be empty.
|
|
174
|
+
*/
|
|
175
|
+
name: string;
|
|
176
|
+
/**
|
|
177
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
178
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
179
|
+
* without losing the configuration.
|
|
180
|
+
*/
|
|
181
|
+
status: 'Disabled' | 'Enabled';
|
|
182
|
+
/**
|
|
183
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
184
|
+
* to use the default Ours Privacy domain.
|
|
185
|
+
*/
|
|
186
|
+
customDomain?: string | null;
|
|
187
|
+
/**
|
|
188
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
189
|
+
*/
|
|
190
|
+
updatedAt?: string | null;
|
|
191
|
+
/**
|
|
192
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
193
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
194
|
+
* not merged.
|
|
195
|
+
*/
|
|
196
|
+
whitelistDomains?: Array<string> | null;
|
|
197
|
+
}
|
|
119
198
|
}
|
|
120
199
|
export interface ReplaySettingDeleteResponse {
|
|
121
200
|
isSuccess: boolean;
|
|
122
201
|
cause?: string | null;
|
|
123
|
-
replaySettings?:
|
|
202
|
+
replaySettings?: ReplaySettingDeleteResponse.ReplaySettings | null;
|
|
203
|
+
}
|
|
204
|
+
export declare namespace ReplaySettingDeleteResponse {
|
|
205
|
+
interface ReplaySettings {
|
|
206
|
+
/**
|
|
207
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
208
|
+
*/
|
|
209
|
+
id: string;
|
|
210
|
+
/**
|
|
211
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
212
|
+
*/
|
|
213
|
+
createdAt: string;
|
|
214
|
+
/**
|
|
215
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
216
|
+
* be empty.
|
|
217
|
+
*/
|
|
218
|
+
name: string;
|
|
219
|
+
/**
|
|
220
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
221
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
222
|
+
* without losing the configuration.
|
|
223
|
+
*/
|
|
224
|
+
status: 'Disabled' | 'Enabled';
|
|
225
|
+
/**
|
|
226
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
227
|
+
* to use the default Ours Privacy domain.
|
|
228
|
+
*/
|
|
229
|
+
customDomain?: string | null;
|
|
230
|
+
/**
|
|
231
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
232
|
+
*/
|
|
233
|
+
updatedAt?: string | null;
|
|
234
|
+
/**
|
|
235
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
236
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
237
|
+
* not merged.
|
|
238
|
+
*/
|
|
239
|
+
whitelistDomains?: Array<string> | null;
|
|
240
|
+
}
|
|
124
241
|
}
|
|
125
242
|
export interface ReplaySettingListParams extends CursorParams {
|
|
126
243
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-settings.d.ts","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,8BAA2B;AAC5E,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gCAAgC,EAAE,yBAAyB,CAAC;IAO3E
|
|
1
|
+
{"version":3,"file":"replay-settings.d.ts","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,8BAA2B;AAC5E,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gCAAgC,EAAE,yBAAyB,CAAC;IAO3E;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI1G;;;;OAIG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,U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AIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CACzC;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -9,8 +9,8 @@ class ReplaySettings extends resource_1.APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* List the replay configurations on this account. Supports cursor pagination via
|
|
11
11
|
* `limit` and `cursor`. Replay settings control which domains may capture session
|
|
12
|
-
* replays and where the capture script is hosted. Requires scope
|
|
13
|
-
* replaySettings:list
|
|
12
|
+
* replays and where the capture script is hosted. Requires API-key scope or
|
|
13
|
+
* current OAuth user permission: replaySettings:list
|
|
14
14
|
*/
|
|
15
15
|
list(query = {}, options) {
|
|
16
16
|
return this._client.getAPIList('/rest/v1/replay-settings', (pagination_1.Cursor), {
|
|
@@ -21,14 +21,16 @@ class ReplaySettings extends resource_1.APIResource {
|
|
|
21
21
|
/**
|
|
22
22
|
* Create the replay configuration for this account. Each account is limited to one
|
|
23
23
|
* replay configuration — calls made when one already exists return HTTP 409 with
|
|
24
|
-
* the reason in the response `error` field. Requires scope
|
|
24
|
+
* the reason in the response `error` field. Requires API-key scope or current
|
|
25
|
+
* OAuth user permission: replaySettings:create
|
|
25
26
|
*/
|
|
26
27
|
create(body, options) {
|
|
27
28
|
return this._client.post('/rest/v1/replay-settings', { body, ...options });
|
|
28
29
|
}
|
|
29
30
|
/**
|
|
30
31
|
* Fetch a single replay configuration by ID, including its whitelisted domains and
|
|
31
|
-
* custom domain. Requires scope
|
|
32
|
+
* custom domain. Requires API-key scope or current OAuth user permission:
|
|
33
|
+
* replaySettings:find
|
|
32
34
|
*/
|
|
33
35
|
retrieve(id, options) {
|
|
34
36
|
return this._client.get((0, path_1.path) `/rest/v1/replay-settings/${id}`, options);
|
|
@@ -37,14 +39,15 @@ class ReplaySettings extends resource_1.APIResource {
|
|
|
37
39
|
* Update one or more fields on an existing replay configuration. Only the fields
|
|
38
40
|
* you send are changed; omitted fields keep their current value. Note that
|
|
39
41
|
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
40
|
-
* Requires scope: replaySettings:update
|
|
42
|
+
* Requires API-key scope or current OAuth user permission: replaySettings:update
|
|
41
43
|
*/
|
|
42
44
|
update(id, body, options) {
|
|
43
45
|
return this._client.patch((0, path_1.path) `/rest/v1/replay-settings/${id}`, { body, ...options });
|
|
44
46
|
}
|
|
45
47
|
/**
|
|
46
48
|
* Delete the replay configuration. Capture stops immediately for all whitelisted
|
|
47
|
-
* domains. Requires scope
|
|
49
|
+
* domains. Requires API-key scope or current OAuth user permission:
|
|
50
|
+
* replaySettings:delete
|
|
48
51
|
*/
|
|
49
52
|
delete(id, options) {
|
|
50
53
|
return this._client.delete((0, path_1.path) `/rest/v1/replay-settings/${id}`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-settings.js","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAE5E,oDAA8C;AAE9C,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,0BAA0B,EAAE,CAAA,mBAAiC,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"replay-settings.js","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAE5E,oDAA8C;AAE9C,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,0BAA0B,EAAE,CAAA,mBAAiC,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,IAA+B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;OAIG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;OAKG;IACH,MAAM,CACJ,EAAU,EACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF;AA1DD,wCA0DC"}
|
|
@@ -6,8 +6,8 @@ export class ReplaySettings extends APIResource {
|
|
|
6
6
|
/**
|
|
7
7
|
* List the replay configurations on this account. Supports cursor pagination via
|
|
8
8
|
* `limit` and `cursor`. Replay settings control which domains may capture session
|
|
9
|
-
* replays and where the capture script is hosted. Requires scope
|
|
10
|
-
* replaySettings:list
|
|
9
|
+
* replays and where the capture script is hosted. Requires API-key scope or
|
|
10
|
+
* current OAuth user permission: replaySettings:list
|
|
11
11
|
*/
|
|
12
12
|
list(query = {}, options) {
|
|
13
13
|
return this._client.getAPIList('/rest/v1/replay-settings', (Cursor), {
|
|
@@ -18,14 +18,16 @@ export class ReplaySettings extends APIResource {
|
|
|
18
18
|
/**
|
|
19
19
|
* Create the replay configuration for this account. Each account is limited to one
|
|
20
20
|
* replay configuration — calls made when one already exists return HTTP 409 with
|
|
21
|
-
* the reason in the response `error` field. Requires scope
|
|
21
|
+
* the reason in the response `error` field. Requires API-key scope or current
|
|
22
|
+
* OAuth user permission: replaySettings:create
|
|
22
23
|
*/
|
|
23
24
|
create(body, options) {
|
|
24
25
|
return this._client.post('/rest/v1/replay-settings', { body, ...options });
|
|
25
26
|
}
|
|
26
27
|
/**
|
|
27
28
|
* Fetch a single replay configuration by ID, including its whitelisted domains and
|
|
28
|
-
* custom domain. Requires scope
|
|
29
|
+
* custom domain. Requires API-key scope or current OAuth user permission:
|
|
30
|
+
* replaySettings:find
|
|
29
31
|
*/
|
|
30
32
|
retrieve(id, options) {
|
|
31
33
|
return this._client.get(path `/rest/v1/replay-settings/${id}`, options);
|
|
@@ -34,14 +36,15 @@ export class ReplaySettings extends APIResource {
|
|
|
34
36
|
* Update one or more fields on an existing replay configuration. Only the fields
|
|
35
37
|
* you send are changed; omitted fields keep their current value. Note that
|
|
36
38
|
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
37
|
-
* Requires scope: replaySettings:update
|
|
39
|
+
* Requires API-key scope or current OAuth user permission: replaySettings:update
|
|
38
40
|
*/
|
|
39
41
|
update(id, body, options) {
|
|
40
42
|
return this._client.patch(path `/rest/v1/replay-settings/${id}`, { body, ...options });
|
|
41
43
|
}
|
|
42
44
|
/**
|
|
43
45
|
* Delete the replay configuration. Capture stops immediately for all whitelisted
|
|
44
|
-
* domains. Requires scope
|
|
46
|
+
* domains. Requires API-key scope or current OAuth user permission:
|
|
47
|
+
* replaySettings:delete
|
|
45
48
|
*/
|
|
46
49
|
delete(id, options) {
|
|
47
50
|
return this._client.delete(path `/rest/v1/replay-settings/${id}`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-settings.mjs","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,MAAM,EAAkC,+BAA2B;AAE5E,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,0BAA0B,EAAE,CAAA,MAAiC,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"replay-settings.mjs","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,MAAM,EAAkC,+BAA2B;AAE5E,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,0BAA0B,EAAE,CAAA,MAAiC,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,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