@oursprivacy/platform-sdk 1.16.0 → 1.18.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 +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/heatmap-pages.d.mts +193 -0
- package/resources/heatmap-pages.d.mts.map +1 -0
- package/resources/heatmap-pages.d.ts +193 -0
- package/resources/heatmap-pages.d.ts.map +1 -0
- package/resources/heatmap-pages.js +41 -0
- package/resources/heatmap-pages.js.map +1 -0
- package/resources/heatmap-pages.mjs +37 -0
- package/resources/heatmap-pages.mjs.map +1 -0
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/src/client.ts +19 -0
- package/src/resources/heatmap-pages.ts +259 -0
- package/src/resources/index.ts +8 -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
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { Cursor, type CursorParams, PagePromise } from "../core/pagination.mjs";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
|
+
export declare class HeatmapPages extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List pages with heatmap coverage in a date window, ranked for triage. Each
|
|
8
|
+
* entity is identified by `pageKey` (origin + pathname, query string stripped);
|
|
9
|
+
* use that value to drill into `GET /rest/v1/heatmap-pages/summary`. Supports
|
|
10
|
+
* cursor pagination — the underlying store uses offset internally, so cursors are
|
|
11
|
+
* bounded to roughly 10,000 entries deep; if you need pages beyond that, narrow
|
|
12
|
+
* `from`/`to` or add filters rather than paginating further. `from`/`to` are UTC
|
|
13
|
+
* calendar days in `YYYY-MM-DD`; the window must be 60 days or fewer. Requires
|
|
14
|
+
* scope: web-analytics:view
|
|
15
|
+
*/
|
|
16
|
+
list(query: HeatmapPageListParams, options?: RequestOptions): PagePromise<HeatmapPageListResponsesCursor, HeatmapPageListResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Bundled per-page heatmap rollup: click bins, dead clicks, rage clicks, scroll
|
|
19
|
+
* depth, and up to 5 curated in-app replay URLs in a single payload. Designed as a
|
|
20
|
+
* one-call diagnosis surface for an AI assistant or marketer — answers "what is
|
|
21
|
+
* happening on this page?" without fanning out across five endpoints. `pageKey`
|
|
22
|
+
* comes from `GET /rest/v1/heatmap-pages`. The endpoint is identified by query
|
|
23
|
+
* params rather than a path id because heatmap pages are not stored entities; this
|
|
24
|
+
* is a documented derived-read exception. `breakpoint` scopes the bin/scroll
|
|
25
|
+
* aggregations; replays are returned across all breakpoints regardless of
|
|
26
|
+
* `breakpoint` (weighted to cover multiple viewports) so callers can compare
|
|
27
|
+
* devices. Requires scope: web-analytics:view
|
|
28
|
+
*/
|
|
29
|
+
summary(query: HeatmapPageSummaryParams, options?: RequestOptions): APIPromise<HeatmapPageSummaryResponse>;
|
|
30
|
+
}
|
|
31
|
+
export type HeatmapPageListResponsesCursor = Cursor<HeatmapPageListResponse>;
|
|
32
|
+
export interface HeatmapPageListResponse {
|
|
33
|
+
breakpoints: Array<HeatmapPageListResponse.Breakpoint>;
|
|
34
|
+
deadClicks: number;
|
|
35
|
+
deadRate: number;
|
|
36
|
+
issueScore: number;
|
|
37
|
+
/**
|
|
38
|
+
* Stable per-page identifier (origin + pathname, query string stripped). Use this
|
|
39
|
+
* as the `pageKey` argument to `GET /rest/v1/heatmap-pages/summary` and the
|
|
40
|
+
* heatmap MCP tools.
|
|
41
|
+
*/
|
|
42
|
+
pageKey: string;
|
|
43
|
+
rageClicks: number;
|
|
44
|
+
rageRate: number;
|
|
45
|
+
totalClicks: number;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace HeatmapPageListResponse {
|
|
48
|
+
interface Breakpoint {
|
|
49
|
+
breakpoint: string;
|
|
50
|
+
clicks: number;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
export interface HeatmapPageSummaryResponse {
|
|
54
|
+
/**
|
|
55
|
+
* Aggregated click positions for the requested breakpoint, bucketed into a 64×64
|
|
56
|
+
* grid normalized to the page viewport.
|
|
57
|
+
*/
|
|
58
|
+
clickBins: Array<HeatmapPageSummaryResponse.ClickBin>;
|
|
59
|
+
/**
|
|
60
|
+
* Click positions where no interactive element was hit. `topElement` is the
|
|
61
|
+
* most-frequently-clicked non-interactive ancestor tag at that bucket, if
|
|
62
|
+
* attributable.
|
|
63
|
+
*/
|
|
64
|
+
deadClicks: Array<HeatmapPageSummaryResponse.DeadClick>;
|
|
65
|
+
/**
|
|
66
|
+
* Click positions where repeated clicks were detected within a short window.
|
|
67
|
+
*/
|
|
68
|
+
rageClicks: Array<HeatmapPageSummaryResponse.RageClick>;
|
|
69
|
+
/**
|
|
70
|
+
* Up to 5 curated replay links for this page, ranked by engagement and weighted to
|
|
71
|
+
* cover multiple viewport breakpoints when possible. Each entry is an absolute URL
|
|
72
|
+
* into the OursPrivacy web app — open it to view the recorded session.
|
|
73
|
+
*/
|
|
74
|
+
replays: Array<HeatmapPageSummaryResponse.Replay>;
|
|
75
|
+
/**
|
|
76
|
+
* Distribution of how far visitors scrolled, bucketed in percent of page height.
|
|
77
|
+
* `sessions` is the count of distinct sessions that reached at least that bucket.
|
|
78
|
+
*/
|
|
79
|
+
scrollDepth: Array<HeatmapPageSummaryResponse.ScrollDepth>;
|
|
80
|
+
}
|
|
81
|
+
export declare namespace HeatmapPageSummaryResponse {
|
|
82
|
+
interface ClickBin {
|
|
83
|
+
binX: number;
|
|
84
|
+
binY: number;
|
|
85
|
+
clicks: number;
|
|
86
|
+
}
|
|
87
|
+
interface DeadClick {
|
|
88
|
+
binX: number;
|
|
89
|
+
binY: number;
|
|
90
|
+
deadClicks: number;
|
|
91
|
+
topElement?: string | null;
|
|
92
|
+
}
|
|
93
|
+
interface RageClick {
|
|
94
|
+
binX: number;
|
|
95
|
+
binY: number;
|
|
96
|
+
rageEvents: number;
|
|
97
|
+
totalClicks: number;
|
|
98
|
+
}
|
|
99
|
+
interface Replay {
|
|
100
|
+
/**
|
|
101
|
+
* Viewport bucket the session was recorded under.
|
|
102
|
+
*/
|
|
103
|
+
breakpoint: 'desktop' | 'mobile' | 'tablet';
|
|
104
|
+
/**
|
|
105
|
+
* Absolute link to view the session replay in the OursPrivacy web app. Opens the
|
|
106
|
+
* replayer pre-scoped to this session, visitor, and date.
|
|
107
|
+
*/
|
|
108
|
+
url: string;
|
|
109
|
+
}
|
|
110
|
+
interface ScrollDepth {
|
|
111
|
+
bucket: number;
|
|
112
|
+
sessions: number;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
export interface HeatmapPageListParams extends CursorParams {
|
|
116
|
+
/**
|
|
117
|
+
* Inclusive lower bound of the heatmap window, as a UTC calendar day in
|
|
118
|
+
* `YYYY-MM-DD` format. The window between `from` and `to` must be 60 days or
|
|
119
|
+
* fewer.
|
|
120
|
+
*/
|
|
121
|
+
from: string;
|
|
122
|
+
/**
|
|
123
|
+
* Inclusive upper bound of the heatmap window, as a UTC calendar day in
|
|
124
|
+
* `YYYY-MM-DD` format. The window between `from` and `to` must be 60 days or
|
|
125
|
+
* fewer.
|
|
126
|
+
*/
|
|
127
|
+
to: string;
|
|
128
|
+
/**
|
|
129
|
+
* Filter by browser name as captured on events.
|
|
130
|
+
*/
|
|
131
|
+
browserName?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Filter by visitor country (ISO country name or code as stored on events).
|
|
134
|
+
*/
|
|
135
|
+
country?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Filter by visitor region (state/province as stored on events).
|
|
138
|
+
*/
|
|
139
|
+
region?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Case-insensitive substring match against `pageKey`.
|
|
142
|
+
*/
|
|
143
|
+
search?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Sort key. Defaults to `CLICKS` (descending).
|
|
146
|
+
*/
|
|
147
|
+
sortBy?: 'CLICKS' | 'DEAD_RATE' | 'ISSUE_SCORE' | 'RAGE_RATE';
|
|
148
|
+
/**
|
|
149
|
+
* Sort direction. Defaults to `DESC`.
|
|
150
|
+
*/
|
|
151
|
+
sortDir?: 'ASC' | 'DESC';
|
|
152
|
+
}
|
|
153
|
+
export interface HeatmapPageSummaryParams {
|
|
154
|
+
/**
|
|
155
|
+
* Viewport bucket the click, dead-click, rage, and scroll-depth aggregations are
|
|
156
|
+
* computed for. Replays are returned for all breakpoints regardless of this value
|
|
157
|
+
* so callers can compare across devices.
|
|
158
|
+
*/
|
|
159
|
+
breakpoint: 'desktop' | 'mobile' | 'tablet';
|
|
160
|
+
/**
|
|
161
|
+
* Inclusive lower bound of the heatmap window, as a UTC calendar day in
|
|
162
|
+
* `YYYY-MM-DD` format. The window between `from` and `to` must be 60 days or
|
|
163
|
+
* fewer.
|
|
164
|
+
*/
|
|
165
|
+
from: string;
|
|
166
|
+
/**
|
|
167
|
+
* Page identifier returned by `GET /rest/v1/heatmap-pages`. Origin + pathname with
|
|
168
|
+
* the query string stripped (e.g. `https://example.com/pricing`).
|
|
169
|
+
*/
|
|
170
|
+
pageKey: string;
|
|
171
|
+
/**
|
|
172
|
+
* Inclusive upper bound of the heatmap window, as a UTC calendar day in
|
|
173
|
+
* `YYYY-MM-DD` format. The window between `from` and `to` must be 60 days or
|
|
174
|
+
* fewer.
|
|
175
|
+
*/
|
|
176
|
+
to: string;
|
|
177
|
+
/**
|
|
178
|
+
* Filter by browser name as captured on events.
|
|
179
|
+
*/
|
|
180
|
+
browserName?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Filter by visitor country (ISO country name or code as stored on events).
|
|
183
|
+
*/
|
|
184
|
+
country?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Filter by visitor region (state/province as stored on events).
|
|
187
|
+
*/
|
|
188
|
+
region?: string;
|
|
189
|
+
}
|
|
190
|
+
export declare namespace HeatmapPages {
|
|
191
|
+
export { type HeatmapPageListResponse as HeatmapPageListResponse, type HeatmapPageSummaryResponse as HeatmapPageSummaryResponse, type HeatmapPageListResponsesCursor as HeatmapPageListResponsesCursor, type HeatmapPageListParams as HeatmapPageListParams, type HeatmapPageSummaryParams as HeatmapPageSummaryParams, };
|
|
192
|
+
}
|
|
193
|
+
//# sourceMappingURL=heatmap-pages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heatmap-pages.d.mts","sourceRoot":"","sources":["../src/resources/heatmap-pages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,8BAA8B,EAAE,uBAAuB,CAAC;IAOvE;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAG3G;AAED,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAE7E,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC;IAEvD,UAAU,EAAE,MAAM,CAAC;IAEnB,QAAQ,EAAE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nD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { Cursor, type CursorParams, PagePromise } from "../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
export declare class HeatmapPages extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List pages with heatmap coverage in a date window, ranked for triage. Each
|
|
8
|
+
* entity is identified by `pageKey` (origin + pathname, query string stripped);
|
|
9
|
+
* use that value to drill into `GET /rest/v1/heatmap-pages/summary`. Supports
|
|
10
|
+
* cursor pagination — the underlying store uses offset internally, so cursors are
|
|
11
|
+
* bounded to roughly 10,000 entries deep; if you need pages beyond that, narrow
|
|
12
|
+
* `from`/`to` or add filters rather than paginating further. `from`/`to` are UTC
|
|
13
|
+
* calendar days in `YYYY-MM-DD`; the window must be 60 days or fewer. Requires
|
|
14
|
+
* scope: web-analytics:view
|
|
15
|
+
*/
|
|
16
|
+
list(query: HeatmapPageListParams, options?: RequestOptions): PagePromise<HeatmapPageListResponsesCursor, HeatmapPageListResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Bundled per-page heatmap rollup: click bins, dead clicks, rage clicks, scroll
|
|
19
|
+
* depth, and up to 5 curated in-app replay URLs in a single payload. Designed as a
|
|
20
|
+
* one-call diagnosis surface for an AI assistant or marketer — answers "what is
|
|
21
|
+
* happening on this page?" without fanning out across five endpoints. `pageKey`
|
|
22
|
+
* comes from `GET /rest/v1/heatmap-pages`. The endpoint is identified by query
|
|
23
|
+
* params rather than a path id because heatmap pages are not stored entities; this
|
|
24
|
+
* is a documented derived-read exception. `breakpoint` scopes the bin/scroll
|
|
25
|
+
* aggregations; replays are returned across all breakpoints regardless of
|
|
26
|
+
* `breakpoint` (weighted to cover multiple viewports) so callers can compare
|
|
27
|
+
* devices. Requires scope: web-analytics:view
|
|
28
|
+
*/
|
|
29
|
+
summary(query: HeatmapPageSummaryParams, options?: RequestOptions): APIPromise<HeatmapPageSummaryResponse>;
|
|
30
|
+
}
|
|
31
|
+
export type HeatmapPageListResponsesCursor = Cursor<HeatmapPageListResponse>;
|
|
32
|
+
export interface HeatmapPageListResponse {
|
|
33
|
+
breakpoints: Array<HeatmapPageListResponse.Breakpoint>;
|
|
34
|
+
deadClicks: number;
|
|
35
|
+
deadRate: number;
|
|
36
|
+
issueScore: number;
|
|
37
|
+
/**
|
|
38
|
+
* Stable per-page identifier (origin + pathname, query string stripped). Use this
|
|
39
|
+
* as the `pageKey` argument to `GET /rest/v1/heatmap-pages/summary` and the
|
|
40
|
+
* heatmap MCP tools.
|
|
41
|
+
*/
|
|
42
|
+
pageKey: string;
|
|
43
|
+
rageClicks: number;
|
|
44
|
+
rageRate: number;
|
|
45
|
+
totalClicks: number;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace HeatmapPageListResponse {
|
|
48
|
+
interface Breakpoint {
|
|
49
|
+
breakpoint: string;
|
|
50
|
+
clicks: number;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
export interface HeatmapPageSummaryResponse {
|
|
54
|
+
/**
|
|
55
|
+
* Aggregated click positions for the requested breakpoint, bucketed into a 64×64
|
|
56
|
+
* grid normalized to the page viewport.
|
|
57
|
+
*/
|
|
58
|
+
clickBins: Array<HeatmapPageSummaryResponse.ClickBin>;
|
|
59
|
+
/**
|
|
60
|
+
* Click positions where no interactive element was hit. `topElement` is the
|
|
61
|
+
* most-frequently-clicked non-interactive ancestor tag at that bucket, if
|
|
62
|
+
* attributable.
|
|
63
|
+
*/
|
|
64
|
+
deadClicks: Array<HeatmapPageSummaryResponse.DeadClick>;
|
|
65
|
+
/**
|
|
66
|
+
* Click positions where repeated clicks were detected within a short window.
|
|
67
|
+
*/
|
|
68
|
+
rageClicks: Array<HeatmapPageSummaryResponse.RageClick>;
|
|
69
|
+
/**
|
|
70
|
+
* Up to 5 curated replay links for this page, ranked by engagement and weighted to
|
|
71
|
+
* cover multiple viewport breakpoints when possible. Each entry is an absolute URL
|
|
72
|
+
* into the OursPrivacy web app — open it to view the recorded session.
|
|
73
|
+
*/
|
|
74
|
+
replays: Array<HeatmapPageSummaryResponse.Replay>;
|
|
75
|
+
/**
|
|
76
|
+
* Distribution of how far visitors scrolled, bucketed in percent of page height.
|
|
77
|
+
* `sessions` is the count of distinct sessions that reached at least that bucket.
|
|
78
|
+
*/
|
|
79
|
+
scrollDepth: Array<HeatmapPageSummaryResponse.ScrollDepth>;
|
|
80
|
+
}
|
|
81
|
+
export declare namespace HeatmapPageSummaryResponse {
|
|
82
|
+
interface ClickBin {
|
|
83
|
+
binX: number;
|
|
84
|
+
binY: number;
|
|
85
|
+
clicks: number;
|
|
86
|
+
}
|
|
87
|
+
interface DeadClick {
|
|
88
|
+
binX: number;
|
|
89
|
+
binY: number;
|
|
90
|
+
deadClicks: number;
|
|
91
|
+
topElement?: string | null;
|
|
92
|
+
}
|
|
93
|
+
interface RageClick {
|
|
94
|
+
binX: number;
|
|
95
|
+
binY: number;
|
|
96
|
+
rageEvents: number;
|
|
97
|
+
totalClicks: number;
|
|
98
|
+
}
|
|
99
|
+
interface Replay {
|
|
100
|
+
/**
|
|
101
|
+
* Viewport bucket the session was recorded under.
|
|
102
|
+
*/
|
|
103
|
+
breakpoint: 'desktop' | 'mobile' | 'tablet';
|
|
104
|
+
/**
|
|
105
|
+
* Absolute link to view the session replay in the OursPrivacy web app. Opens the
|
|
106
|
+
* replayer pre-scoped to this session, visitor, and date.
|
|
107
|
+
*/
|
|
108
|
+
url: string;
|
|
109
|
+
}
|
|
110
|
+
interface ScrollDepth {
|
|
111
|
+
bucket: number;
|
|
112
|
+
sessions: number;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
export interface HeatmapPageListParams extends CursorParams {
|
|
116
|
+
/**
|
|
117
|
+
* Inclusive lower bound of the heatmap window, as a UTC calendar day in
|
|
118
|
+
* `YYYY-MM-DD` format. The window between `from` and `to` must be 60 days or
|
|
119
|
+
* fewer.
|
|
120
|
+
*/
|
|
121
|
+
from: string;
|
|
122
|
+
/**
|
|
123
|
+
* Inclusive upper bound of the heatmap window, as a UTC calendar day in
|
|
124
|
+
* `YYYY-MM-DD` format. The window between `from` and `to` must be 60 days or
|
|
125
|
+
* fewer.
|
|
126
|
+
*/
|
|
127
|
+
to: string;
|
|
128
|
+
/**
|
|
129
|
+
* Filter by browser name as captured on events.
|
|
130
|
+
*/
|
|
131
|
+
browserName?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Filter by visitor country (ISO country name or code as stored on events).
|
|
134
|
+
*/
|
|
135
|
+
country?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Filter by visitor region (state/province as stored on events).
|
|
138
|
+
*/
|
|
139
|
+
region?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Case-insensitive substring match against `pageKey`.
|
|
142
|
+
*/
|
|
143
|
+
search?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Sort key. Defaults to `CLICKS` (descending).
|
|
146
|
+
*/
|
|
147
|
+
sortBy?: 'CLICKS' | 'DEAD_RATE' | 'ISSUE_SCORE' | 'RAGE_RATE';
|
|
148
|
+
/**
|
|
149
|
+
* Sort direction. Defaults to `DESC`.
|
|
150
|
+
*/
|
|
151
|
+
sortDir?: 'ASC' | 'DESC';
|
|
152
|
+
}
|
|
153
|
+
export interface HeatmapPageSummaryParams {
|
|
154
|
+
/**
|
|
155
|
+
* Viewport bucket the click, dead-click, rage, and scroll-depth aggregations are
|
|
156
|
+
* computed for. Replays are returned for all breakpoints regardless of this value
|
|
157
|
+
* so callers can compare across devices.
|
|
158
|
+
*/
|
|
159
|
+
breakpoint: 'desktop' | 'mobile' | 'tablet';
|
|
160
|
+
/**
|
|
161
|
+
* Inclusive lower bound of the heatmap window, as a UTC calendar day in
|
|
162
|
+
* `YYYY-MM-DD` format. The window between `from` and `to` must be 60 days or
|
|
163
|
+
* fewer.
|
|
164
|
+
*/
|
|
165
|
+
from: string;
|
|
166
|
+
/**
|
|
167
|
+
* Page identifier returned by `GET /rest/v1/heatmap-pages`. Origin + pathname with
|
|
168
|
+
* the query string stripped (e.g. `https://example.com/pricing`).
|
|
169
|
+
*/
|
|
170
|
+
pageKey: string;
|
|
171
|
+
/**
|
|
172
|
+
* Inclusive upper bound of the heatmap window, as a UTC calendar day in
|
|
173
|
+
* `YYYY-MM-DD` format. The window between `from` and `to` must be 60 days or
|
|
174
|
+
* fewer.
|
|
175
|
+
*/
|
|
176
|
+
to: string;
|
|
177
|
+
/**
|
|
178
|
+
* Filter by browser name as captured on events.
|
|
179
|
+
*/
|
|
180
|
+
browserName?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Filter by visitor country (ISO country name or code as stored on events).
|
|
183
|
+
*/
|
|
184
|
+
country?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Filter by visitor region (state/province as stored on events).
|
|
187
|
+
*/
|
|
188
|
+
region?: string;
|
|
189
|
+
}
|
|
190
|
+
export declare namespace HeatmapPages {
|
|
191
|
+
export { type HeatmapPageListResponse as HeatmapPageListResponse, type HeatmapPageSummaryResponse as HeatmapPageSummaryResponse, type HeatmapPageListResponsesCursor as HeatmapPageListResponsesCursor, type HeatmapPageListParams as HeatmapPageListParams, type HeatmapPageSummaryParams as HeatmapPageSummaryParams, };
|
|
192
|
+
}
|
|
193
|
+
//# sourceMappingURL=heatmap-pages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heatmap-pages.d.ts","sourceRoot":"","sources":["../src/resources/heatmap-pages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,EAAE,qB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IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.HeatmapPages = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
class HeatmapPages extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* List pages with heatmap coverage in a date window, ranked for triage. Each
|
|
10
|
+
* entity is identified by `pageKey` (origin + pathname, query string stripped);
|
|
11
|
+
* use that value to drill into `GET /rest/v1/heatmap-pages/summary`. Supports
|
|
12
|
+
* cursor pagination — the underlying store uses offset internally, so cursors are
|
|
13
|
+
* bounded to roughly 10,000 entries deep; if you need pages beyond that, narrow
|
|
14
|
+
* `from`/`to` or add filters rather than paginating further. `from`/`to` are UTC
|
|
15
|
+
* calendar days in `YYYY-MM-DD`; the window must be 60 days or fewer. Requires
|
|
16
|
+
* scope: web-analytics:view
|
|
17
|
+
*/
|
|
18
|
+
list(query, options) {
|
|
19
|
+
return this._client.getAPIList('/rest/v1/heatmap-pages', (pagination_1.Cursor), {
|
|
20
|
+
query,
|
|
21
|
+
...options,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Bundled per-page heatmap rollup: click bins, dead clicks, rage clicks, scroll
|
|
26
|
+
* depth, and up to 5 curated in-app replay URLs in a single payload. Designed as a
|
|
27
|
+
* one-call diagnosis surface for an AI assistant or marketer — answers "what is
|
|
28
|
+
* happening on this page?" without fanning out across five endpoints. `pageKey`
|
|
29
|
+
* comes from `GET /rest/v1/heatmap-pages`. The endpoint is identified by query
|
|
30
|
+
* params rather than a path id because heatmap pages are not stored entities; this
|
|
31
|
+
* is a documented derived-read exception. `breakpoint` scopes the bin/scroll
|
|
32
|
+
* aggregations; replays are returned across all breakpoints regardless of
|
|
33
|
+
* `breakpoint` (weighted to cover multiple viewports) so callers can compare
|
|
34
|
+
* devices. Requires scope: web-analytics:view
|
|
35
|
+
*/
|
|
36
|
+
summary(query, options) {
|
|
37
|
+
return this._client.get('/rest/v1/heatmap-pages/summary', { query, ...options });
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.HeatmapPages = HeatmapPages;
|
|
41
|
+
//# sourceMappingURL=heatmap-pages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heatmap-pages.js","sourceRoot":"","sources":["../src/resources/heatmap-pages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAG5E,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CACF,KAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAA,mBAA+B,CAAA,EAAE;YACxF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,KAA+B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;CACF;AApCD,oCAoCC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { Cursor } from "../core/pagination.mjs";
|
|
4
|
+
export class HeatmapPages extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List pages with heatmap coverage in a date window, ranked for triage. Each
|
|
7
|
+
* entity is identified by `pageKey` (origin + pathname, query string stripped);
|
|
8
|
+
* use that value to drill into `GET /rest/v1/heatmap-pages/summary`. Supports
|
|
9
|
+
* cursor pagination — the underlying store uses offset internally, so cursors are
|
|
10
|
+
* bounded to roughly 10,000 entries deep; if you need pages beyond that, narrow
|
|
11
|
+
* `from`/`to` or add filters rather than paginating further. `from`/`to` are UTC
|
|
12
|
+
* calendar days in `YYYY-MM-DD`; the window must be 60 days or fewer. Requires
|
|
13
|
+
* scope: web-analytics:view
|
|
14
|
+
*/
|
|
15
|
+
list(query, options) {
|
|
16
|
+
return this._client.getAPIList('/rest/v1/heatmap-pages', (Cursor), {
|
|
17
|
+
query,
|
|
18
|
+
...options,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Bundled per-page heatmap rollup: click bins, dead clicks, rage clicks, scroll
|
|
23
|
+
* depth, and up to 5 curated in-app replay URLs in a single payload. Designed as a
|
|
24
|
+
* one-call diagnosis surface for an AI assistant or marketer — answers "what is
|
|
25
|
+
* happening on this page?" without fanning out across five endpoints. `pageKey`
|
|
26
|
+
* comes from `GET /rest/v1/heatmap-pages`. The endpoint is identified by query
|
|
27
|
+
* params rather than a path id because heatmap pages are not stored entities; this
|
|
28
|
+
* is a documented derived-read exception. `breakpoint` scopes the bin/scroll
|
|
29
|
+
* aggregations; replays are returned across all breakpoints regardless of
|
|
30
|
+
* `breakpoint` (weighted to cover multiple viewports) so callers can compare
|
|
31
|
+
* devices. Requires scope: web-analytics:view
|
|
32
|
+
*/
|
|
33
|
+
summary(query, options) {
|
|
34
|
+
return this._client.get('/rest/v1/heatmap-pages/summary', { query, ...options });
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=heatmap-pages.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heatmap-pages.mjs","sourceRoot":"","sources":["../src/resources/heatmap-pages.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,MAAM,EAAkC;AAGjD,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CACF,KAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAA,MAA+B,CAAA,EAAE;YACxF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,KAA+B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -5,6 +5,7 @@ export { ExperimentSettings, type ExperimentSettingListResponse, type Experiment
|
|
|
5
5
|
export { ExperimentVariants, type ExperimentVariantListResponse, type ExperimentVariantCreateResponse, type ExperimentVariantRetrieveResponse, type ExperimentVariantUpdateResponse, type ExperimentVariantDeleteResponse, type ExperimentVariantListParams, type ExperimentVariantCreateParams, type ExperimentVariantUpdateParams, type ExperimentVariantListResponsesCursor, } from "./experiment-variants.mjs";
|
|
6
6
|
export { Experiments, type ExperimentListResponse, type ExperimentCreateResponse, type ExperimentRetrieveResponse, type ExperimentUpdateResponse, type ExperimentDeleteResponse, type ExperimentStartResponse, type ExperimentStopResponse, type ExperimentPauseResponse, type ExperimentResumeResponse, type ExperimentResultsResponse, type ExperimentResultsTimeSeriesResponse, type ExperimentSessionReplaysResponse, type ExperimentListParams, type ExperimentCreateParams, type ExperimentUpdateParams, type ExperimentStartParams, type ExperimentStopParams, type ExperimentPauseParams, type ExperimentResumeParams, type ExperimentResultsParams, type ExperimentResultsTimeSeriesParams, type ExperimentSessionReplaysParams, type ExperimentListResponsesCursor, } from "./experiments.mjs";
|
|
7
7
|
export { GlobalDispatchCenters, type GlobalDispatchCenterListResponse, type GlobalDispatchCenterCreateResponse, type GlobalDispatchCenterRetrieveResponse, type GlobalDispatchCenterUpdateResponse, type GlobalDispatchCenterDeleteResponse, type GlobalDispatchCenterListParams, type GlobalDispatchCenterCreateParams, type GlobalDispatchCenterUpdateParams, type GlobalDispatchCenterListResponsesCursor, } from "./global-dispatch-centers.mjs";
|
|
8
|
+
export { HeatmapPages, type HeatmapPageListResponse, type HeatmapPageSummaryResponse, type HeatmapPageListParams, type HeatmapPageSummaryParams, type HeatmapPageListResponsesCursor, } from "./heatmap-pages.mjs";
|
|
8
9
|
export { Mappings, type MappingListResponse, type MappingCreateResponse, type MappingRetrieveResponse, type MappingUpdateResponse, type MappingDeleteResponse, type MappingListParams, type MappingCreateParams, type MappingUpdateParams, type MappingListResponsesCursor, } from "./mappings.mjs";
|
|
9
10
|
export { ReplaySettings, type ReplaySettingListResponse, type ReplaySettingCreateResponse, type ReplaySettingRetrieveResponse, type ReplaySettingUpdateResponse, type ReplaySettingDeleteResponse, type ReplaySettingListParams, type ReplaySettingCreateParams, type ReplaySettingUpdateParams, type ReplaySettingListResponsesCursor, } from "./replay-settings.mjs";
|
|
10
11
|
export { Sources, type SourceListResponse, type SourceCreateResponse, type SourceRetrieveResponse, type SourceUpdateResponse, type SourceDeleteResponse, type SourceTokensResponse, type SourceCreateParams, type SourceUpdateParams, } from "./sources.mjs";
|
|
@@ -1 +1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AK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,GAChC"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B;OACM,EACL,eAAe,EACf,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,GAChC;OACM,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B;OACM,EACL,kBAAkB,EAClB,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,GACnC;OACM,EACL,kBAAkB,EAClB,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,oCAAoC,GAC1C;OACM,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC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kB,GACxB;OACM,EACL,QAAQ,EACR,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,GAChC"}
|
package/resources/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { ExperimentSettings, type ExperimentSettingListResponse, type Experiment
|
|
|
5
5
|
export { ExperimentVariants, type ExperimentVariantListResponse, type ExperimentVariantCreateResponse, type ExperimentVariantRetrieveResponse, type ExperimentVariantUpdateResponse, type ExperimentVariantDeleteResponse, type ExperimentVariantListParams, type ExperimentVariantCreateParams, type ExperimentVariantUpdateParams, type ExperimentVariantListResponsesCursor, } from "./experiment-variants.js";
|
|
6
6
|
export { Experiments, type ExperimentListResponse, type ExperimentCreateResponse, type ExperimentRetrieveResponse, type ExperimentUpdateResponse, type ExperimentDeleteResponse, type ExperimentStartResponse, type ExperimentStopResponse, type ExperimentPauseResponse, type ExperimentResumeResponse, type ExperimentResultsResponse, type ExperimentResultsTimeSeriesResponse, type ExperimentSessionReplaysResponse, type ExperimentListParams, type ExperimentCreateParams, type ExperimentUpdateParams, type ExperimentStartParams, type ExperimentStopParams, type ExperimentPauseParams, type ExperimentResumeParams, type ExperimentResultsParams, type ExperimentResultsTimeSeriesParams, type ExperimentSessionReplaysParams, type ExperimentListResponsesCursor, } from "./experiments.js";
|
|
7
7
|
export { GlobalDispatchCenters, type GlobalDispatchCenterListResponse, type GlobalDispatchCenterCreateResponse, type GlobalDispatchCenterRetrieveResponse, type GlobalDispatchCenterUpdateResponse, type GlobalDispatchCenterDeleteResponse, type GlobalDispatchCenterListParams, type GlobalDispatchCenterCreateParams, type GlobalDispatchCenterUpdateParams, type GlobalDispatchCenterListResponsesCursor, } from "./global-dispatch-centers.js";
|
|
8
|
+
export { HeatmapPages, type HeatmapPageListResponse, type HeatmapPageSummaryResponse, type HeatmapPageListParams, type HeatmapPageSummaryParams, type HeatmapPageListResponsesCursor, } from "./heatmap-pages.js";
|
|
8
9
|
export { Mappings, type MappingListResponse, type MappingCreateResponse, type MappingRetrieveResponse, type MappingUpdateResponse, type MappingDeleteResponse, type MappingListParams, type MappingCreateParams, type MappingUpdateParams, type MappingListResponsesCursor, } from "./mappings.js";
|
|
9
10
|
export { ReplaySettings, type ReplaySettingListResponse, type ReplaySettingCreateResponse, type ReplaySettingRetrieveResponse, type ReplaySettingUpdateResponse, type ReplaySettingDeleteResponse, type ReplaySettingListParams, type ReplaySettingCreateParams, type ReplaySettingUpdateParams, type ReplaySettingListResponsesCursor, } from "./replay-settings.js";
|
|
10
11
|
export { Sources, type SourceListResponse, type SourceCreateResponse, type SourceRetrieveResponse, type SourceUpdateResponse, type SourceDeleteResponse, type SourceTokensResponse, type SourceCreateParams, type SourceUpdateParams, } from "./sources.js";
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B;OACM,EACL,eAAe,EACf,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,GAChC;OACM,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,u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EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,GAChC;OACM,EACL,cAAc,EACd,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,GACtC;OACM,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EACL,QAAQ,EACR,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,GAChC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B;OACM,EACL,eAAe,EACf,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,GAChC;OACM,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EACh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K,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,GACpC;OACM,EACL,QAAQ,EACR,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,GAChC;OACM,EACL,cAAc,EACd,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,GACtC;OACM,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EACL,QAAQ,EACR,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,GAChC"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Versions = exports.Sources = exports.ReplaySettings = exports.Mappings = exports.GlobalDispatchCenters = exports.Experiments = exports.ExperimentVariants = exports.ExperimentSettings = exports.Destinations = exports.ConsentSettings = exports.AllowedEvents = void 0;
|
|
4
|
+
exports.Versions = exports.Sources = exports.ReplaySettings = exports.Mappings = exports.HeatmapPages = exports.GlobalDispatchCenters = exports.Experiments = exports.ExperimentVariants = exports.ExperimentSettings = exports.Destinations = exports.ConsentSettings = exports.AllowedEvents = void 0;
|
|
5
5
|
var allowed_events_1 = require("./allowed-events.js");
|
|
6
6
|
Object.defineProperty(exports, "AllowedEvents", { enumerable: true, get: function () { return allowed_events_1.AllowedEvents; } });
|
|
7
7
|
var consent_settings_1 = require("./consent-settings.js");
|
|
@@ -16,6 +16,8 @@ var experiments_1 = require("./experiments.js");
|
|
|
16
16
|
Object.defineProperty(exports, "Experiments", { enumerable: true, get: function () { return experiments_1.Experiments; } });
|
|
17
17
|
var global_dispatch_centers_1 = require("./global-dispatch-centers.js");
|
|
18
18
|
Object.defineProperty(exports, "GlobalDispatchCenters", { enumerable: true, get: function () { return global_dispatch_centers_1.GlobalDispatchCenters; } });
|
|
19
|
+
var heatmap_pages_1 = require("./heatmap-pages.js");
|
|
20
|
+
Object.defineProperty(exports, "HeatmapPages", { enumerable: true, get: function () { return heatmap_pages_1.HeatmapPages; } });
|
|
19
21
|
var mappings_1 = require("./mappings.js");
|
|
20
22
|
Object.defineProperty(exports, "Mappings", { enumerable: true, get: function () { return mappings_1.Mappings; } });
|
|
21
23
|
var replay_settings_1 = require("./replay-settings.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAO0B;AANxB,+GAAA,aAAa,OAAA;AAOf,0DAU4B;AAT1B,mHAAA,eAAe,OAAA;AAUjB,kDASwB;AARtB,4GAAA,YAAY,OAAA;AASd,gEAS+B;AAR7B,yHAAA,kBAAkB,OAAA;AASpB,gEAW+B;AAV7B,yHAAA,kBAAkB,OAAA;AAWpB,gDAyBuB;AAxBrB,0GAAA,WAAW,OAAA;AAyBb,wEAWmC;AAVjC,gIAAA,qBAAqB,OAAA;AAWvB,0CAWoB;AAVlB,oGAAA,QAAQ,OAAA;AAWV,wDAW2B;AAVzB,iHAAA,cAAc,OAAA;AAWhB,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,0CAcoB;AAblB,oGAAA,QAAQ,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAO0B;AANxB,+GAAA,aAAa,OAAA;AAOf,0DAU4B;AAT1B,mHAAA,eAAe,OAAA;AAUjB,kDASwB;AARtB,4GAAA,YAAY,OAAA;AASd,gEAS+B;AAR7B,yHAAA,kBAAkB,OAAA;AASpB,gEAW+B;AAV7B,yHAAA,kBAAkB,OAAA;AAWpB,gDAyBuB;AAxBrB,0GAAA,WAAW,OAAA;AAyBb,wEAWmC;AAVjC,gIAAA,qBAAqB,OAAA;AAWvB,oDAOyB;AANvB,6GAAA,YAAY,OAAA;AAOd,0CAWoB;AAVlB,oGAAA,QAAQ,OAAA;AAWV,wDAW2B;AAVzB,iHAAA,cAAc,OAAA;AAWhB,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,0CAcoB;AAblB,oGAAA,QAAQ,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -6,6 +6,7 @@ export { ExperimentSettings, } from "./experiment-settings.mjs";
|
|
|
6
6
|
export { ExperimentVariants, } from "./experiment-variants.mjs";
|
|
7
7
|
export { Experiments, } from "./experiments.mjs";
|
|
8
8
|
export { GlobalDispatchCenters, } from "./global-dispatch-centers.mjs";
|
|
9
|
+
export { HeatmapPages, } from "./heatmap-pages.mjs";
|
|
9
10
|
export { Mappings, } from "./mappings.mjs";
|
|
10
11
|
export { ReplaySettings, } from "./replay-settings.mjs";
|
|
11
12
|
export { Sources, } from "./sources.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,aAAa,GAMd;OACM,EACL,eAAe,GAShB;OACM,EACL,YAAY,GAQb;OACM,EACL,kBAAkB,GAQnB;OACM,EACL,kBAAkB,GAUnB;OACM,EACL,WAAW,GAwBZ;OACM,EACL,qBAAqB,GAUtB;OACM,EACL,QAAQ,GAUT;OACM,EACL,cAAc,GAUf;OACM,EACL,OAAO,GASR;OACM,EACL,QAAQ,GAaT"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,aAAa,GAMd;OACM,EACL,eAAe,GAShB;OACM,EACL,YAAY,GAQb;OACM,EACL,kBAAkB,GAQnB;OACM,EACL,kBAAkB,GAUnB;OACM,EACL,WAAW,GAwBZ;OACM,EACL,qBAAqB,GAUtB;OACM,EACL,YAAY,GAMb;OACM,EACL,QAAQ,GAUT;OACM,EACL,cAAc,GAUf;OACM,EACL,OAAO,GASR;OACM,EACL,QAAQ,GAaT"}
|
package/src/client.ts
CHANGED
|
@@ -108,6 +108,14 @@ import {
|
|
|
108
108
|
GlobalDispatchCenterUpdateResponse,
|
|
109
109
|
GlobalDispatchCenters,
|
|
110
110
|
} from './resources/global-dispatch-centers';
|
|
111
|
+
import {
|
|
112
|
+
HeatmapPageListParams,
|
|
113
|
+
HeatmapPageListResponse,
|
|
114
|
+
HeatmapPageListResponsesCursor,
|
|
115
|
+
HeatmapPageSummaryParams,
|
|
116
|
+
HeatmapPageSummaryResponse,
|
|
117
|
+
HeatmapPages,
|
|
118
|
+
} from './resources/heatmap-pages';
|
|
111
119
|
import {
|
|
112
120
|
MappingCreateParams,
|
|
113
121
|
MappingCreateResponse,
|
|
@@ -901,6 +909,7 @@ export class OursPrivacyPlatform {
|
|
|
901
909
|
experimentVariants: API.ExperimentVariants = new API.ExperimentVariants(this);
|
|
902
910
|
experiments: API.Experiments = new API.Experiments(this);
|
|
903
911
|
globalDispatchCenters: API.GlobalDispatchCenters = new API.GlobalDispatchCenters(this);
|
|
912
|
+
heatmapPages: API.HeatmapPages = new API.HeatmapPages(this);
|
|
904
913
|
mappings: API.Mappings = new API.Mappings(this);
|
|
905
914
|
replaySettings: API.ReplaySettings = new API.ReplaySettings(this);
|
|
906
915
|
sources: API.Sources = new API.Sources(this);
|
|
@@ -914,6 +923,7 @@ OursPrivacyPlatform.ExperimentSettings = ExperimentSettings;
|
|
|
914
923
|
OursPrivacyPlatform.ExperimentVariants = ExperimentVariants;
|
|
915
924
|
OursPrivacyPlatform.Experiments = Experiments;
|
|
916
925
|
OursPrivacyPlatform.GlobalDispatchCenters = GlobalDispatchCenters;
|
|
926
|
+
OursPrivacyPlatform.HeatmapPages = HeatmapPages;
|
|
917
927
|
OursPrivacyPlatform.Mappings = Mappings;
|
|
918
928
|
OursPrivacyPlatform.ReplaySettings = ReplaySettings;
|
|
919
929
|
OursPrivacyPlatform.Sources = Sources;
|
|
@@ -1021,6 +1031,15 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1021
1031
|
type GlobalDispatchCenterUpdateParams as GlobalDispatchCenterUpdateParams,
|
|
1022
1032
|
};
|
|
1023
1033
|
|
|
1034
|
+
export {
|
|
1035
|
+
HeatmapPages as HeatmapPages,
|
|
1036
|
+
type HeatmapPageListResponse as HeatmapPageListResponse,
|
|
1037
|
+
type HeatmapPageSummaryResponse as HeatmapPageSummaryResponse,
|
|
1038
|
+
type HeatmapPageListResponsesCursor as HeatmapPageListResponsesCursor,
|
|
1039
|
+
type HeatmapPageListParams as HeatmapPageListParams,
|
|
1040
|
+
type HeatmapPageSummaryParams as HeatmapPageSummaryParams,
|
|
1041
|
+
};
|
|
1042
|
+
|
|
1024
1043
|
export {
|
|
1025
1044
|
Mappings as Mappings,
|
|
1026
1045
|
type MappingListResponse as MappingListResponse,
|